public static final class RaftServerpb.RaftMessage extends com.google.protobuf.GeneratedMessageV3 implements RaftServerpb.RaftMessageOrBuilder
raft_serverpb.RaftMessage
Modifier and Type | Class and Description |
---|---|
static class |
RaftServerpb.RaftMessage.Builder
Protobuf type
raft_serverpb.RaftMessage |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
DISK_USAGE_FIELD_NUMBER |
static int |
END_KEY_FIELD_NUMBER |
static int |
EXTRA_CTX_FIELD_NUMBER |
static int |
EXTRA_MSG_FIELD_NUMBER |
static int |
FROM_PEER_FIELD_NUMBER |
static int |
IS_TOMBSTONE_FIELD_NUMBER |
static int |
MERGE_TARGET_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static int |
REGION_EPOCH_FIELD_NUMBER |
static int |
REGION_ID_FIELD_NUMBER |
static int |
START_KEY_FIELD_NUMBER |
static int |
TO_PEER_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static RaftServerpb.RaftMessage |
getDefaultInstance() |
RaftServerpb.RaftMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.ExtraMessageOrBuilder |
getExtraMsgOrBuilder()
.raft_serverpb.ExtraMessage extra_msg = 10; |
Metapb.Peer |
getFromPeer()
.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.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.MessageOrBuilder |
getMessageOrBuilder()
.eraftpb.Message message = 4; |
com.google.protobuf.Parser<RaftServerpb.RaftMessage> |
getParserForType() |
Metapb.RegionEpoch |
getRegionEpoch()
.metapb.RegionEpoch region_epoch = 5; |
Metapb.RegionEpochOrBuilder |
getRegionEpochOrBuilder()
.metapb.RegionEpoch region_epoch = 5; |
long |
getRegionId()
uint64 region_id = 1; |
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getStartKey()
Region key range [start_key, end_key).
|
Metapb.Peer |
getToPeer()
.metapb.Peer to_peer = 3; |
Metapb.PeerOrBuilder |
getToPeerOrBuilder()
.metapb.Peer to_peer = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasExtraMsg()
.raft_serverpb.ExtraMessage extra_msg = 10; |
boolean |
hasFromPeer()
.metapb.Peer from_peer = 2; |
int |
hashCode() |
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() |
static RaftServerpb.RaftMessage.Builder |
newBuilder() |
static RaftServerpb.RaftMessage.Builder |
newBuilder(RaftServerpb.RaftMessage prototype) |
RaftServerpb.RaftMessage.Builder |
newBuilderForType() |
protected RaftServerpb.RaftMessage.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RaftServerpb.RaftMessage |
parseDelimitedFrom(InputStream input) |
static RaftServerpb.RaftMessage |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftServerpb.RaftMessage |
parseFrom(byte[] data) |
static RaftServerpb.RaftMessage |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftServerpb.RaftMessage |
parseFrom(ByteBuffer data) |
static RaftServerpb.RaftMessage |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftServerpb.RaftMessage |
parseFrom(com.google.protobuf.ByteString data) |
static RaftServerpb.RaftMessage |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftServerpb.RaftMessage |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RaftServerpb.RaftMessage |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftServerpb.RaftMessage |
parseFrom(InputStream input) |
static RaftServerpb.RaftMessage |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RaftServerpb.RaftMessage> |
parser() |
RaftServerpb.RaftMessage.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int REGION_ID_FIELD_NUMBER
public static final int FROM_PEER_FIELD_NUMBER
public static final int TO_PEER_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
public static final int REGION_EPOCH_FIELD_NUMBER
public static final int IS_TOMBSTONE_FIELD_NUMBER
public static final int START_KEY_FIELD_NUMBER
public static final int END_KEY_FIELD_NUMBER
public static final int MERGE_TARGET_FIELD_NUMBER
public static final int EXTRA_MSG_FIELD_NUMBER
public static final int EXTRA_CTX_FIELD_NUMBER
public static final int DISK_USAGE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public long getRegionId()
uint64 region_id = 1;
getRegionId
in interface RaftServerpb.RaftMessageOrBuilder
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 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 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 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 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 com.google.protobuf.ByteString getStartKey()
Region key range [start_key, end_key).
bytes start_key = 7;
getStartKey
in interface RaftServerpb.RaftMessageOrBuilder
public com.google.protobuf.ByteString getEndKey()
bytes end_key = 8;
getEndKey
in interface RaftServerpb.RaftMessageOrBuilder
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 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.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 int getDiskUsageValue()
.disk_usage.DiskUsage disk_usage = 12;
getDiskUsageValue
in interface RaftServerpb.RaftMessageOrBuilder
public DiskUsageOuterClass.DiskUsage getDiskUsage()
.disk_usage.DiskUsage disk_usage = 12;
getDiskUsage
in interface RaftServerpb.RaftMessageOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static RaftServerpb.RaftMessage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftServerpb.RaftMessage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftServerpb.RaftMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftServerpb.RaftMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftServerpb.RaftMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftServerpb.RaftMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftServerpb.RaftMessage parseFrom(InputStream input) throws IOException
IOException
public static RaftServerpb.RaftMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RaftServerpb.RaftMessage parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RaftServerpb.RaftMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RaftServerpb.RaftMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RaftServerpb.RaftMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public RaftServerpb.RaftMessage.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RaftServerpb.RaftMessage.Builder newBuilder()
public static RaftServerpb.RaftMessage.Builder newBuilder(RaftServerpb.RaftMessage prototype)
public RaftServerpb.RaftMessage.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RaftServerpb.RaftMessage.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static RaftServerpb.RaftMessage getDefaultInstance()
public static com.google.protobuf.Parser<RaftServerpb.RaftMessage> parser()
public com.google.protobuf.Parser<RaftServerpb.RaftMessage> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public RaftServerpb.RaftMessage getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.