public static final class RaftServerpb.RaftMessage.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftMessage.Builder> implements RaftServerpb.RaftMessageOrBuilder
raft_serverpb.RaftMessage
Modifier and Type | Method and Description |
---|---|
RaftServerpb.RaftMessage.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RaftServerpb.RaftMessage |
build() |
RaftServerpb.RaftMessage |
buildPartial() |
RaftServerpb.RaftMessage.Builder |
clear() |
RaftServerpb.RaftMessage.Builder |
clearDiskUsage()
.disk_usage.DiskUsage disk_usage = 12; |
RaftServerpb.RaftMessage.Builder |
clearEndKey()
bytes end_key = 8; |
RaftServerpb.RaftMessage.Builder |
clearExtraCtx()
bytes extra_ctx = 11; |
RaftServerpb.RaftMessage.Builder |
clearExtraMsg()
.raft_serverpb.ExtraMessage extra_msg = 10; |
RaftServerpb.RaftMessage.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RaftServerpb.RaftMessage.Builder |
clearFromPeer()
.metapb.Peer from_peer = 2; |
RaftServerpb.RaftMessage.Builder |
clearIsTombstone()
true means to_peer is a tombstone peer and it should remove itself.
|
RaftServerpb.RaftMessage.Builder |
clearMergeTarget()
If it has value, to_peer should be removed if merge is never going to complete.
|
RaftServerpb.RaftMessage.Builder |
clearMessage()
.eraftpb.Message message = 4; |
RaftServerpb.RaftMessage.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RaftServerpb.RaftMessage.Builder |
clearRegionEpoch()
.metapb.RegionEpoch region_epoch = 5; |
RaftServerpb.RaftMessage.Builder |
clearRegionId()
uint64 region_id = 1; |
RaftServerpb.RaftMessage.Builder |
clearStartKey()
Region key range [start_key, end_key).
|
RaftServerpb.RaftMessage.Builder |
clearToPeer()
.metapb.Peer to_peer = 3; |
RaftServerpb.RaftMessage.Builder |
clone() |
RaftServerpb.RaftMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DiskUsageOuterClass.DiskUsage |
getDiskUsage()
.disk_usage.DiskUsage disk_usage = 12; |
int |
getDiskUsageValue()
.disk_usage.DiskUsage disk_usage = 12; |
com.google.protobuf.ByteString |
getEndKey()
bytes end_key = 8; |
com.google.protobuf.ByteString |
getExtraCtx()
bytes extra_ctx = 11; |
RaftServerpb.ExtraMessage |
getExtraMsg()
.raft_serverpb.ExtraMessage extra_msg = 10; |
RaftServerpb.ExtraMessage.Builder |
getExtraMsgBuilder()
.raft_serverpb.ExtraMessage extra_msg = 10; |
RaftServerpb.ExtraMessageOrBuilder |
getExtraMsgOrBuilder()
.raft_serverpb.ExtraMessage extra_msg = 10; |
Metapb.Peer |
getFromPeer()
.metapb.Peer from_peer = 2; |
Metapb.Peer.Builder |
getFromPeerBuilder()
.metapb.Peer from_peer = 2; |
Metapb.PeerOrBuilder |
getFromPeerOrBuilder()
.metapb.Peer from_peer = 2; |
boolean |
getIsTombstone()
true means to_peer is a tombstone peer and it should remove itself.
|
Metapb.Region |
getMergeTarget()
If it has value, to_peer should be removed if merge is never going to complete.
|
Metapb.Region.Builder |
getMergeTargetBuilder()
If it has value, to_peer should be removed if merge is never going to complete.
|
Metapb.RegionOrBuilder |
getMergeTargetOrBuilder()
If it has value, to_peer should be removed if merge is never going to complete.
|
Eraftpb.Message |
getMessage()
.eraftpb.Message message = 4; |
Eraftpb.Message.Builder |
getMessageBuilder()
.eraftpb.Message message = 4; |
Eraftpb.MessageOrBuilder |
getMessageOrBuilder()
.eraftpb.Message message = 4; |
Metapb.RegionEpoch |
getRegionEpoch()
.metapb.RegionEpoch region_epoch = 5; |
Metapb.RegionEpoch.Builder |
getRegionEpochBuilder()
.metapb.RegionEpoch region_epoch = 5; |
Metapb.RegionEpochOrBuilder |
getRegionEpochOrBuilder()
.metapb.RegionEpoch region_epoch = 5; |
long |
getRegionId()
uint64 region_id = 1; |
com.google.protobuf.ByteString |
getStartKey()
Region key range [start_key, end_key).
|
Metapb.Peer |
getToPeer()
.metapb.Peer to_peer = 3; |
Metapb.Peer.Builder |
getToPeerBuilder()
.metapb.Peer to_peer = 3; |
Metapb.PeerOrBuilder |
getToPeerOrBuilder()
.metapb.Peer to_peer = 3; |
boolean |
hasExtraMsg()
.raft_serverpb.ExtraMessage extra_msg = 10; |
boolean |
hasFromPeer()
.metapb.Peer from_peer = 2; |
boolean |
hasMergeTarget()
If it has value, to_peer should be removed if merge is never going to complete.
|
boolean |
hasMessage()
.eraftpb.Message message = 4; |
boolean |
hasRegionEpoch()
.metapb.RegionEpoch region_epoch = 5; |
boolean |
hasToPeer()
.metapb.Peer to_peer = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RaftServerpb.RaftMessage.Builder |
mergeExtraMsg(RaftServerpb.ExtraMessage value)
.raft_serverpb.ExtraMessage extra_msg = 10; |
RaftServerpb.RaftMessage.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RaftServerpb.RaftMessage.Builder |
mergeFrom(com.google.protobuf.Message other) |
RaftServerpb.RaftMessage.Builder |
mergeFrom(RaftServerpb.RaftMessage other) |
RaftServerpb.RaftMessage.Builder |
mergeFromPeer(Metapb.Peer value)
.metapb.Peer from_peer = 2; |
RaftServerpb.RaftMessage.Builder |
mergeMergeTarget(Metapb.Region value)
If it has value, to_peer should be removed if merge is never going to complete.
|
RaftServerpb.RaftMessage.Builder |
mergeMessage(Eraftpb.Message value)
.eraftpb.Message message = 4; |
RaftServerpb.RaftMessage.Builder |
mergeRegionEpoch(Metapb.RegionEpoch value)
.metapb.RegionEpoch region_epoch = 5; |
RaftServerpb.RaftMessage.Builder |
mergeToPeer(Metapb.Peer value)
.metapb.Peer to_peer = 3; |
RaftServerpb.RaftMessage.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RaftServerpb.RaftMessage.Builder |
setDiskUsage(DiskUsageOuterClass.DiskUsage value)
.disk_usage.DiskUsage disk_usage = 12; |
RaftServerpb.RaftMessage.Builder |
setDiskUsageValue(int value)
.disk_usage.DiskUsage disk_usage = 12; |
RaftServerpb.RaftMessage.Builder |
setEndKey(com.google.protobuf.ByteString value)
bytes end_key = 8; |
RaftServerpb.RaftMessage.Builder |
setExtraCtx(com.google.protobuf.ByteString value)
bytes extra_ctx = 11; |
RaftServerpb.RaftMessage.Builder |
setExtraMsg(RaftServerpb.ExtraMessage.Builder builderForValue)
.raft_serverpb.ExtraMessage extra_msg = 10; |
RaftServerpb.RaftMessage.Builder |
setExtraMsg(RaftServerpb.ExtraMessage value)
.raft_serverpb.ExtraMessage extra_msg = 10; |
RaftServerpb.RaftMessage.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RaftServerpb.RaftMessage.Builder |
setFromPeer(Metapb.Peer.Builder builderForValue)
.metapb.Peer from_peer = 2; |
RaftServerpb.RaftMessage.Builder |
setFromPeer(Metapb.Peer value)
.metapb.Peer from_peer = 2; |
RaftServerpb.RaftMessage.Builder |
setIsTombstone(boolean value)
true means to_peer is a tombstone peer and it should remove itself.
|
RaftServerpb.RaftMessage.Builder |
setMergeTarget(Metapb.Region.Builder builderForValue)
If it has value, to_peer should be removed if merge is never going to complete.
|
RaftServerpb.RaftMessage.Builder |
setMergeTarget(Metapb.Region value)
If it has value, to_peer should be removed if merge is never going to complete.
|
RaftServerpb.RaftMessage.Builder |
setMessage(Eraftpb.Message.Builder builderForValue)
.eraftpb.Message message = 4; |
RaftServerpb.RaftMessage.Builder |
setMessage(Eraftpb.Message value)
.eraftpb.Message message = 4; |
RaftServerpb.RaftMessage.Builder |
setRegionEpoch(Metapb.RegionEpoch.Builder builderForValue)
.metapb.RegionEpoch region_epoch = 5; |
RaftServerpb.RaftMessage.Builder |
setRegionEpoch(Metapb.RegionEpoch value)
.metapb.RegionEpoch region_epoch = 5; |
RaftServerpb.RaftMessage.Builder |
setRegionId(long value)
uint64 region_id = 1; |
RaftServerpb.RaftMessage.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RaftServerpb.RaftMessage.Builder |
setStartKey(com.google.protobuf.ByteString value)
Region key range [start_key, end_key).
|
RaftServerpb.RaftMessage.Builder |
setToPeer(Metapb.Peer.Builder builderForValue)
.metapb.Peer to_peer = 3; |
RaftServerpb.RaftMessage.Builder |
setToPeer(Metapb.Peer value)
.metapb.Peer to_peer = 3; |
RaftServerpb.RaftMessage.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftMessage.Builder>
public RaftServerpb.RaftMessage.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftMessage.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftMessage.Builder>
public RaftServerpb.RaftMessage getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RaftServerpb.RaftMessage build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RaftServerpb.RaftMessage buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RaftServerpb.RaftMessage.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftMessage.Builder>
public RaftServerpb.RaftMessage.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftMessage.Builder>
public RaftServerpb.RaftMessage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftMessage.Builder>
public RaftServerpb.RaftMessage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftMessage.Builder>
public RaftServerpb.RaftMessage.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftMessage.Builder>
public RaftServerpb.RaftMessage.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftMessage.Builder>
public RaftServerpb.RaftMessage.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RaftServerpb.RaftMessage.Builder>
public RaftServerpb.RaftMessage.Builder mergeFrom(RaftServerpb.RaftMessage other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftMessage.Builder>
public RaftServerpb.RaftMessage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RaftServerpb.RaftMessage.Builder>
IOException
public long getRegionId()
uint64 region_id = 1;
getRegionId
in interface RaftServerpb.RaftMessageOrBuilder
public RaftServerpb.RaftMessage.Builder setRegionId(long value)
uint64 region_id = 1;
value
- The regionId to set.public RaftServerpb.RaftMessage.Builder clearRegionId()
uint64 region_id = 1;
public boolean hasFromPeer()
.metapb.Peer from_peer = 2;
hasFromPeer
in interface RaftServerpb.RaftMessageOrBuilder
public Metapb.Peer getFromPeer()
.metapb.Peer from_peer = 2;
getFromPeer
in interface RaftServerpb.RaftMessageOrBuilder
public RaftServerpb.RaftMessage.Builder setFromPeer(Metapb.Peer value)
.metapb.Peer from_peer = 2;
public RaftServerpb.RaftMessage.Builder setFromPeer(Metapb.Peer.Builder builderForValue)
.metapb.Peer from_peer = 2;
public RaftServerpb.RaftMessage.Builder mergeFromPeer(Metapb.Peer value)
.metapb.Peer from_peer = 2;
public RaftServerpb.RaftMessage.Builder clearFromPeer()
.metapb.Peer from_peer = 2;
public Metapb.Peer.Builder getFromPeerBuilder()
.metapb.Peer from_peer = 2;
public Metapb.PeerOrBuilder getFromPeerOrBuilder()
.metapb.Peer from_peer = 2;
getFromPeerOrBuilder
in interface RaftServerpb.RaftMessageOrBuilder
public boolean hasToPeer()
.metapb.Peer to_peer = 3;
hasToPeer
in interface RaftServerpb.RaftMessageOrBuilder
public Metapb.Peer getToPeer()
.metapb.Peer to_peer = 3;
getToPeer
in interface RaftServerpb.RaftMessageOrBuilder
public RaftServerpb.RaftMessage.Builder setToPeer(Metapb.Peer value)
.metapb.Peer to_peer = 3;
public RaftServerpb.RaftMessage.Builder setToPeer(Metapb.Peer.Builder builderForValue)
.metapb.Peer to_peer = 3;
public RaftServerpb.RaftMessage.Builder mergeToPeer(Metapb.Peer value)
.metapb.Peer to_peer = 3;
public RaftServerpb.RaftMessage.Builder clearToPeer()
.metapb.Peer to_peer = 3;
public Metapb.Peer.Builder getToPeerBuilder()
.metapb.Peer to_peer = 3;
public Metapb.PeerOrBuilder getToPeerOrBuilder()
.metapb.Peer to_peer = 3;
getToPeerOrBuilder
in interface RaftServerpb.RaftMessageOrBuilder
public boolean hasMessage()
.eraftpb.Message message = 4;
hasMessage
in interface RaftServerpb.RaftMessageOrBuilder
public Eraftpb.Message getMessage()
.eraftpb.Message message = 4;
getMessage
in interface RaftServerpb.RaftMessageOrBuilder
public RaftServerpb.RaftMessage.Builder setMessage(Eraftpb.Message value)
.eraftpb.Message message = 4;
public RaftServerpb.RaftMessage.Builder setMessage(Eraftpb.Message.Builder builderForValue)
.eraftpb.Message message = 4;
public RaftServerpb.RaftMessage.Builder mergeMessage(Eraftpb.Message value)
.eraftpb.Message message = 4;
public RaftServerpb.RaftMessage.Builder clearMessage()
.eraftpb.Message message = 4;
public Eraftpb.Message.Builder getMessageBuilder()
.eraftpb.Message message = 4;
public Eraftpb.MessageOrBuilder getMessageOrBuilder()
.eraftpb.Message message = 4;
getMessageOrBuilder
in interface RaftServerpb.RaftMessageOrBuilder
public boolean hasRegionEpoch()
.metapb.RegionEpoch region_epoch = 5;
hasRegionEpoch
in interface RaftServerpb.RaftMessageOrBuilder
public Metapb.RegionEpoch getRegionEpoch()
.metapb.RegionEpoch region_epoch = 5;
getRegionEpoch
in interface RaftServerpb.RaftMessageOrBuilder
public RaftServerpb.RaftMessage.Builder setRegionEpoch(Metapb.RegionEpoch value)
.metapb.RegionEpoch region_epoch = 5;
public RaftServerpb.RaftMessage.Builder setRegionEpoch(Metapb.RegionEpoch.Builder builderForValue)
.metapb.RegionEpoch region_epoch = 5;
public RaftServerpb.RaftMessage.Builder mergeRegionEpoch(Metapb.RegionEpoch value)
.metapb.RegionEpoch region_epoch = 5;
public RaftServerpb.RaftMessage.Builder clearRegionEpoch()
.metapb.RegionEpoch region_epoch = 5;
public Metapb.RegionEpoch.Builder getRegionEpochBuilder()
.metapb.RegionEpoch region_epoch = 5;
public Metapb.RegionEpochOrBuilder getRegionEpochOrBuilder()
.metapb.RegionEpoch region_epoch = 5;
getRegionEpochOrBuilder
in interface RaftServerpb.RaftMessageOrBuilder
public boolean getIsTombstone()
true means to_peer is a tombstone peer and it should remove itself.
bool is_tombstone = 6;
getIsTombstone
in interface RaftServerpb.RaftMessageOrBuilder
public RaftServerpb.RaftMessage.Builder setIsTombstone(boolean value)
true means to_peer is a tombstone peer and it should remove itself.
bool is_tombstone = 6;
value
- The isTombstone to set.public RaftServerpb.RaftMessage.Builder clearIsTombstone()
true means to_peer is a tombstone peer and it should remove itself.
bool is_tombstone = 6;
public com.google.protobuf.ByteString getStartKey()
Region key range [start_key, end_key).
bytes start_key = 7;
getStartKey
in interface RaftServerpb.RaftMessageOrBuilder
public RaftServerpb.RaftMessage.Builder setStartKey(com.google.protobuf.ByteString value)
Region key range [start_key, end_key).
bytes start_key = 7;
value
- The startKey to set.public RaftServerpb.RaftMessage.Builder clearStartKey()
Region key range [start_key, end_key).
bytes start_key = 7;
public com.google.protobuf.ByteString getEndKey()
bytes end_key = 8;
getEndKey
in interface RaftServerpb.RaftMessageOrBuilder
public RaftServerpb.RaftMessage.Builder setEndKey(com.google.protobuf.ByteString value)
bytes end_key = 8;
value
- The endKey to set.public RaftServerpb.RaftMessage.Builder clearEndKey()
bytes end_key = 8;
public boolean hasMergeTarget()
If it has value, to_peer should be removed if merge is never going to complete.
.metapb.Region merge_target = 9;
hasMergeTarget
in interface RaftServerpb.RaftMessageOrBuilder
public Metapb.Region getMergeTarget()
If it has value, to_peer should be removed if merge is never going to complete.
.metapb.Region merge_target = 9;
getMergeTarget
in interface RaftServerpb.RaftMessageOrBuilder
public RaftServerpb.RaftMessage.Builder setMergeTarget(Metapb.Region value)
If it has value, to_peer should be removed if merge is never going to complete.
.metapb.Region merge_target = 9;
public RaftServerpb.RaftMessage.Builder setMergeTarget(Metapb.Region.Builder builderForValue)
If it has value, to_peer should be removed if merge is never going to complete.
.metapb.Region merge_target = 9;
public RaftServerpb.RaftMessage.Builder mergeMergeTarget(Metapb.Region value)
If it has value, to_peer should be removed if merge is never going to complete.
.metapb.Region merge_target = 9;
public RaftServerpb.RaftMessage.Builder clearMergeTarget()
If it has value, to_peer should be removed if merge is never going to complete.
.metapb.Region merge_target = 9;
public Metapb.Region.Builder getMergeTargetBuilder()
If it has value, to_peer should be removed if merge is never going to complete.
.metapb.Region merge_target = 9;
public Metapb.RegionOrBuilder getMergeTargetOrBuilder()
If it has value, to_peer should be removed if merge is never going to complete.
.metapb.Region merge_target = 9;
getMergeTargetOrBuilder
in interface RaftServerpb.RaftMessageOrBuilder
public boolean hasExtraMsg()
.raft_serverpb.ExtraMessage extra_msg = 10;
hasExtraMsg
in interface RaftServerpb.RaftMessageOrBuilder
public RaftServerpb.ExtraMessage getExtraMsg()
.raft_serverpb.ExtraMessage extra_msg = 10;
getExtraMsg
in interface RaftServerpb.RaftMessageOrBuilder
public RaftServerpb.RaftMessage.Builder setExtraMsg(RaftServerpb.ExtraMessage value)
.raft_serverpb.ExtraMessage extra_msg = 10;
public RaftServerpb.RaftMessage.Builder setExtraMsg(RaftServerpb.ExtraMessage.Builder builderForValue)
.raft_serverpb.ExtraMessage extra_msg = 10;
public RaftServerpb.RaftMessage.Builder mergeExtraMsg(RaftServerpb.ExtraMessage value)
.raft_serverpb.ExtraMessage extra_msg = 10;
public RaftServerpb.RaftMessage.Builder clearExtraMsg()
.raft_serverpb.ExtraMessage extra_msg = 10;
public RaftServerpb.ExtraMessage.Builder getExtraMsgBuilder()
.raft_serverpb.ExtraMessage extra_msg = 10;
public RaftServerpb.ExtraMessageOrBuilder getExtraMsgOrBuilder()
.raft_serverpb.ExtraMessage extra_msg = 10;
getExtraMsgOrBuilder
in interface RaftServerpb.RaftMessageOrBuilder
public com.google.protobuf.ByteString getExtraCtx()
bytes extra_ctx = 11;
getExtraCtx
in interface RaftServerpb.RaftMessageOrBuilder
public RaftServerpb.RaftMessage.Builder setExtraCtx(com.google.protobuf.ByteString value)
bytes extra_ctx = 11;
value
- The extraCtx to set.public RaftServerpb.RaftMessage.Builder clearExtraCtx()
bytes extra_ctx = 11;
public int getDiskUsageValue()
.disk_usage.DiskUsage disk_usage = 12;
getDiskUsageValue
in interface RaftServerpb.RaftMessageOrBuilder
public RaftServerpb.RaftMessage.Builder setDiskUsageValue(int value)
.disk_usage.DiskUsage disk_usage = 12;
value
- The enum numeric value on the wire for diskUsage to set.public DiskUsageOuterClass.DiskUsage getDiskUsage()
.disk_usage.DiskUsage disk_usage = 12;
getDiskUsage
in interface RaftServerpb.RaftMessageOrBuilder
public RaftServerpb.RaftMessage.Builder setDiskUsage(DiskUsageOuterClass.DiskUsage value)
.disk_usage.DiskUsage disk_usage = 12;
value
- The diskUsage to set.public RaftServerpb.RaftMessage.Builder clearDiskUsage()
.disk_usage.DiskUsage disk_usage = 12;
public final RaftServerpb.RaftMessage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftMessage.Builder>
public final RaftServerpb.RaftMessage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftMessage.Builder>
Copyright © 2024 PingCAP. All rights reserved.