Package | Description |
---|---|
org.tikv.kvproto |
Modifier and Type | Method and Description |
---|---|
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.clear() |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.clearAppliedIndex()
Read requests can be responsed directly after the Raft applys to `applied_index`.
|
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.clearFlagData()
bytes flag_data = 11; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.clearFlags()
Custom flags for this raft request.
|
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.clearPeer()
.metapb.Peer peer = 2; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.clearReadQuorum()
true for read linearization
|
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.clearRegionEpoch()
.metapb.RegionEpoch region_epoch = 5; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.clearRegionId()
uint64 region_id = 1; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.clearReplicaRead()
bool replica_read = 8; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.clearSyncLog()
bool sync_log = 7; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.clearTerm()
uint64 term = 6; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.clearUuid()
16 bytes, to distinguish request.
|
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.clone() |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftCmdRequest.Builder.getHeaderBuilder()
.raft_cmdpb.RaftRequestHeader header = 1; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.mergeFrom(com.google.protobuf.Message other) |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.mergeFrom(RaftCmdpb.RaftRequestHeader other) |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.mergePeer(Metapb.Peer value)
.metapb.Peer peer = 2; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.mergeRegionEpoch(Metapb.RegionEpoch value)
.metapb.RegionEpoch region_epoch = 5; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.newBuilder() |
static RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.newBuilder(RaftCmdpb.RaftRequestHeader prototype) |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.newBuilderForType() |
protected RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.setAppliedIndex(long value)
Read requests can be responsed directly after the Raft applys to `applied_index`.
|
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.setFlagData(com.google.protobuf.ByteString value)
bytes flag_data = 11; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.setFlags(long value)
Custom flags for this raft request.
|
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.setPeer(Metapb.Peer.Builder builderForValue)
.metapb.Peer peer = 2; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.setPeer(Metapb.Peer value)
.metapb.Peer peer = 2; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.setReadQuorum(boolean value)
true for read linearization
|
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.setRegionEpoch(Metapb.RegionEpoch.Builder builderForValue)
.metapb.RegionEpoch region_epoch = 5; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.setRegionEpoch(Metapb.RegionEpoch value)
.metapb.RegionEpoch region_epoch = 5; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.setRegionId(long value)
uint64 region_id = 1; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.setReplicaRead(boolean value)
bool replica_read = 8; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.setSyncLog(boolean value)
bool sync_log = 7; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.setTerm(long value)
uint64 term = 6; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.setUuid(com.google.protobuf.ByteString value)
16 bytes, to distinguish request.
|
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.toBuilder() |
Modifier and Type | Method and Description |
---|---|
RaftCmdpb.RaftCmdRequest.Builder |
RaftCmdpb.RaftCmdRequest.Builder.setHeader(RaftCmdpb.RaftRequestHeader.Builder builderForValue)
.raft_cmdpb.RaftRequestHeader header = 1; |
Copyright © 2024 PingCAP. All rights reserved.