public static final class RaftCmdpb.AdminRequest extends com.google.protobuf.GeneratedMessageV3 implements RaftCmdpb.AdminRequestOrBuilder
raft_cmdpb.AdminRequest
Modifier and Type | Class and Description |
---|---|
static class |
RaftCmdpb.AdminRequest.Builder
Protobuf type
raft_cmdpb.AdminRequest |
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 |
CHANGE_PEER_FIELD_NUMBER |
static int |
CHANGE_PEER_V2_FIELD_NUMBER |
static int |
CMD_TYPE_FIELD_NUMBER |
static int |
COMMIT_MERGE_FIELD_NUMBER |
static int |
COMPACT_LOG_FIELD_NUMBER |
static int |
COMPUTE_HASH_FIELD_NUMBER |
static int |
PREPARE_MERGE_FIELD_NUMBER |
static int |
ROLLBACK_MERGE_FIELD_NUMBER |
static int |
SPLIT_FIELD_NUMBER |
static int |
SPLITS_FIELD_NUMBER |
static int |
TRANSFER_LEADER_FIELD_NUMBER |
static int |
VERIFY_HASH_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
RaftCmdpb.ChangePeerRequest |
getChangePeer()
.raft_cmdpb.ChangePeerRequest change_peer = 2; |
RaftCmdpb.ChangePeerRequestOrBuilder |
getChangePeerOrBuilder()
.raft_cmdpb.ChangePeerRequest change_peer = 2; |
RaftCmdpb.ChangePeerV2Request |
getChangePeerV2()
.raft_cmdpb.ChangePeerV2Request change_peer_v2 = 11; |
RaftCmdpb.ChangePeerV2RequestOrBuilder |
getChangePeerV2OrBuilder()
.raft_cmdpb.ChangePeerV2Request change_peer_v2 = 11; |
RaftCmdpb.AdminCmdType |
getCmdType()
.raft_cmdpb.AdminCmdType cmd_type = 1; |
int |
getCmdTypeValue()
.raft_cmdpb.AdminCmdType cmd_type = 1; |
RaftCmdpb.CommitMergeRequest |
getCommitMerge()
.raft_cmdpb.CommitMergeRequest commit_merge = 8; |
RaftCmdpb.CommitMergeRequestOrBuilder |
getCommitMergeOrBuilder()
.raft_cmdpb.CommitMergeRequest commit_merge = 8; |
RaftCmdpb.CompactLogRequest |
getCompactLog()
.raft_cmdpb.CompactLogRequest compact_log = 4; |
RaftCmdpb.CompactLogRequestOrBuilder |
getCompactLogOrBuilder()
.raft_cmdpb.CompactLogRequest compact_log = 4; |
RaftCmdpb.ComputeHashRequest |
getComputeHash()
.raft_cmdpb.ComputeHashRequest compute_hash = 12; |
RaftCmdpb.ComputeHashRequestOrBuilder |
getComputeHashOrBuilder()
.raft_cmdpb.ComputeHashRequest compute_hash = 12; |
static RaftCmdpb.AdminRequest |
getDefaultInstance() |
RaftCmdpb.AdminRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<RaftCmdpb.AdminRequest> |
getParserForType() |
RaftCmdpb.PrepareMergeRequest |
getPrepareMerge()
.raft_cmdpb.PrepareMergeRequest prepare_merge = 7; |
RaftCmdpb.PrepareMergeRequestOrBuilder |
getPrepareMergeOrBuilder()
.raft_cmdpb.PrepareMergeRequest prepare_merge = 7; |
RaftCmdpb.RollbackMergeRequest |
getRollbackMerge()
.raft_cmdpb.RollbackMergeRequest rollback_merge = 9; |
RaftCmdpb.RollbackMergeRequestOrBuilder |
getRollbackMergeOrBuilder()
.raft_cmdpb.RollbackMergeRequest rollback_merge = 9; |
int |
getSerializedSize() |
RaftCmdpb.SplitRequest |
getSplit()
Deprecated.
|
RaftCmdpb.SplitRequestOrBuilder |
getSplitOrBuilder()
Deprecated.
|
RaftCmdpb.BatchSplitRequest |
getSplits()
.raft_cmdpb.BatchSplitRequest splits = 10; |
RaftCmdpb.BatchSplitRequestOrBuilder |
getSplitsOrBuilder()
.raft_cmdpb.BatchSplitRequest splits = 10; |
RaftCmdpb.TransferLeaderRequest |
getTransferLeader()
.raft_cmdpb.TransferLeaderRequest transfer_leader = 5; |
RaftCmdpb.TransferLeaderRequestOrBuilder |
getTransferLeaderOrBuilder()
.raft_cmdpb.TransferLeaderRequest transfer_leader = 5; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
RaftCmdpb.VerifyHashRequest |
getVerifyHash()
.raft_cmdpb.VerifyHashRequest verify_hash = 6; |
RaftCmdpb.VerifyHashRequestOrBuilder |
getVerifyHashOrBuilder()
.raft_cmdpb.VerifyHashRequest verify_hash = 6; |
boolean |
hasChangePeer()
.raft_cmdpb.ChangePeerRequest change_peer = 2; |
boolean |
hasChangePeerV2()
.raft_cmdpb.ChangePeerV2Request change_peer_v2 = 11; |
boolean |
hasCommitMerge()
.raft_cmdpb.CommitMergeRequest commit_merge = 8; |
boolean |
hasCompactLog()
.raft_cmdpb.CompactLogRequest compact_log = 4; |
boolean |
hasComputeHash()
.raft_cmdpb.ComputeHashRequest compute_hash = 12; |
int |
hashCode() |
boolean |
hasPrepareMerge()
.raft_cmdpb.PrepareMergeRequest prepare_merge = 7; |
boolean |
hasRollbackMerge()
.raft_cmdpb.RollbackMergeRequest rollback_merge = 9; |
boolean |
hasSplit()
Deprecated.
|
boolean |
hasSplits()
.raft_cmdpb.BatchSplitRequest splits = 10; |
boolean |
hasTransferLeader()
.raft_cmdpb.TransferLeaderRequest transfer_leader = 5; |
boolean |
hasVerifyHash()
.raft_cmdpb.VerifyHashRequest verify_hash = 6; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RaftCmdpb.AdminRequest.Builder |
newBuilder() |
static RaftCmdpb.AdminRequest.Builder |
newBuilder(RaftCmdpb.AdminRequest prototype) |
RaftCmdpb.AdminRequest.Builder |
newBuilderForType() |
protected RaftCmdpb.AdminRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RaftCmdpb.AdminRequest |
parseDelimitedFrom(InputStream input) |
static RaftCmdpb.AdminRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.AdminRequest |
parseFrom(byte[] data) |
static RaftCmdpb.AdminRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.AdminRequest |
parseFrom(ByteBuffer data) |
static RaftCmdpb.AdminRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.AdminRequest |
parseFrom(com.google.protobuf.ByteString data) |
static RaftCmdpb.AdminRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.AdminRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RaftCmdpb.AdminRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.AdminRequest |
parseFrom(InputStream input) |
static RaftCmdpb.AdminRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RaftCmdpb.AdminRequest> |
parser() |
RaftCmdpb.AdminRequest.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 CMD_TYPE_FIELD_NUMBER
public static final int CHANGE_PEER_FIELD_NUMBER
public static final int SPLIT_FIELD_NUMBER
public static final int COMPACT_LOG_FIELD_NUMBER
public static final int TRANSFER_LEADER_FIELD_NUMBER
public static final int VERIFY_HASH_FIELD_NUMBER
public static final int PREPARE_MERGE_FIELD_NUMBER
public static final int COMMIT_MERGE_FIELD_NUMBER
public static final int ROLLBACK_MERGE_FIELD_NUMBER
public static final int SPLITS_FIELD_NUMBER
public static final int CHANGE_PEER_V2_FIELD_NUMBER
public static final int COMPUTE_HASH_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 int getCmdTypeValue()
.raft_cmdpb.AdminCmdType cmd_type = 1;
getCmdTypeValue
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.AdminCmdType getCmdType()
.raft_cmdpb.AdminCmdType cmd_type = 1;
getCmdType
in interface RaftCmdpb.AdminRequestOrBuilder
public boolean hasChangePeer()
.raft_cmdpb.ChangePeerRequest change_peer = 2;
hasChangePeer
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.ChangePeerRequest getChangePeer()
.raft_cmdpb.ChangePeerRequest change_peer = 2;
getChangePeer
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.ChangePeerRequestOrBuilder getChangePeerOrBuilder()
.raft_cmdpb.ChangePeerRequest change_peer = 2;
getChangePeerOrBuilder
in interface RaftCmdpb.AdminRequestOrBuilder
@Deprecated public boolean hasSplit()
.raft_cmdpb.SplitRequest split = 3 [deprecated = true];
hasSplit
in interface RaftCmdpb.AdminRequestOrBuilder
@Deprecated public RaftCmdpb.SplitRequest getSplit()
.raft_cmdpb.SplitRequest split = 3 [deprecated = true];
getSplit
in interface RaftCmdpb.AdminRequestOrBuilder
@Deprecated public RaftCmdpb.SplitRequestOrBuilder getSplitOrBuilder()
.raft_cmdpb.SplitRequest split = 3 [deprecated = true];
getSplitOrBuilder
in interface RaftCmdpb.AdminRequestOrBuilder
public boolean hasCompactLog()
.raft_cmdpb.CompactLogRequest compact_log = 4;
hasCompactLog
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.CompactLogRequest getCompactLog()
.raft_cmdpb.CompactLogRequest compact_log = 4;
getCompactLog
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.CompactLogRequestOrBuilder getCompactLogOrBuilder()
.raft_cmdpb.CompactLogRequest compact_log = 4;
getCompactLogOrBuilder
in interface RaftCmdpb.AdminRequestOrBuilder
public boolean hasTransferLeader()
.raft_cmdpb.TransferLeaderRequest transfer_leader = 5;
hasTransferLeader
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.TransferLeaderRequest getTransferLeader()
.raft_cmdpb.TransferLeaderRequest transfer_leader = 5;
getTransferLeader
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.TransferLeaderRequestOrBuilder getTransferLeaderOrBuilder()
.raft_cmdpb.TransferLeaderRequest transfer_leader = 5;
getTransferLeaderOrBuilder
in interface RaftCmdpb.AdminRequestOrBuilder
public boolean hasVerifyHash()
.raft_cmdpb.VerifyHashRequest verify_hash = 6;
hasVerifyHash
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.VerifyHashRequest getVerifyHash()
.raft_cmdpb.VerifyHashRequest verify_hash = 6;
getVerifyHash
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.VerifyHashRequestOrBuilder getVerifyHashOrBuilder()
.raft_cmdpb.VerifyHashRequest verify_hash = 6;
getVerifyHashOrBuilder
in interface RaftCmdpb.AdminRequestOrBuilder
public boolean hasPrepareMerge()
.raft_cmdpb.PrepareMergeRequest prepare_merge = 7;
hasPrepareMerge
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.PrepareMergeRequest getPrepareMerge()
.raft_cmdpb.PrepareMergeRequest prepare_merge = 7;
getPrepareMerge
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.PrepareMergeRequestOrBuilder getPrepareMergeOrBuilder()
.raft_cmdpb.PrepareMergeRequest prepare_merge = 7;
getPrepareMergeOrBuilder
in interface RaftCmdpb.AdminRequestOrBuilder
public boolean hasCommitMerge()
.raft_cmdpb.CommitMergeRequest commit_merge = 8;
hasCommitMerge
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.CommitMergeRequest getCommitMerge()
.raft_cmdpb.CommitMergeRequest commit_merge = 8;
getCommitMerge
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.CommitMergeRequestOrBuilder getCommitMergeOrBuilder()
.raft_cmdpb.CommitMergeRequest commit_merge = 8;
getCommitMergeOrBuilder
in interface RaftCmdpb.AdminRequestOrBuilder
public boolean hasRollbackMerge()
.raft_cmdpb.RollbackMergeRequest rollback_merge = 9;
hasRollbackMerge
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.RollbackMergeRequest getRollbackMerge()
.raft_cmdpb.RollbackMergeRequest rollback_merge = 9;
getRollbackMerge
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.RollbackMergeRequestOrBuilder getRollbackMergeOrBuilder()
.raft_cmdpb.RollbackMergeRequest rollback_merge = 9;
getRollbackMergeOrBuilder
in interface RaftCmdpb.AdminRequestOrBuilder
public boolean hasSplits()
.raft_cmdpb.BatchSplitRequest splits = 10;
hasSplits
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.BatchSplitRequest getSplits()
.raft_cmdpb.BatchSplitRequest splits = 10;
getSplits
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.BatchSplitRequestOrBuilder getSplitsOrBuilder()
.raft_cmdpb.BatchSplitRequest splits = 10;
getSplitsOrBuilder
in interface RaftCmdpb.AdminRequestOrBuilder
public boolean hasChangePeerV2()
.raft_cmdpb.ChangePeerV2Request change_peer_v2 = 11;
hasChangePeerV2
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.ChangePeerV2Request getChangePeerV2()
.raft_cmdpb.ChangePeerV2Request change_peer_v2 = 11;
getChangePeerV2
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.ChangePeerV2RequestOrBuilder getChangePeerV2OrBuilder()
.raft_cmdpb.ChangePeerV2Request change_peer_v2 = 11;
getChangePeerV2OrBuilder
in interface RaftCmdpb.AdminRequestOrBuilder
public boolean hasComputeHash()
.raft_cmdpb.ComputeHashRequest compute_hash = 12;
hasComputeHash
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.ComputeHashRequest getComputeHash()
.raft_cmdpb.ComputeHashRequest compute_hash = 12;
getComputeHash
in interface RaftCmdpb.AdminRequestOrBuilder
public RaftCmdpb.ComputeHashRequestOrBuilder getComputeHashOrBuilder()
.raft_cmdpb.ComputeHashRequest compute_hash = 12;
getComputeHashOrBuilder
in interface RaftCmdpb.AdminRequestOrBuilder
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 RaftCmdpb.AdminRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.AdminRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.AdminRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.AdminRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.AdminRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.AdminRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.AdminRequest parseFrom(InputStream input) throws IOException
IOException
public static RaftCmdpb.AdminRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RaftCmdpb.AdminRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RaftCmdpb.AdminRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RaftCmdpb.AdminRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RaftCmdpb.AdminRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public RaftCmdpb.AdminRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RaftCmdpb.AdminRequest.Builder newBuilder()
public static RaftCmdpb.AdminRequest.Builder newBuilder(RaftCmdpb.AdminRequest prototype)
public RaftCmdpb.AdminRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RaftCmdpb.AdminRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static RaftCmdpb.AdminRequest getDefaultInstance()
public static com.google.protobuf.Parser<RaftCmdpb.AdminRequest> parser()
public com.google.protobuf.Parser<RaftCmdpb.AdminRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public RaftCmdpb.AdminRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.