public static final class RaftCmdpb.AdminResponse extends com.google.protobuf.GeneratedMessageV3 implements RaftCmdpb.AdminResponseOrBuilder
raft_cmdpb.AdminResponse
Modifier and Type | Class and Description |
---|---|
static class |
RaftCmdpb.AdminResponse.Builder
Protobuf type
raft_cmdpb.AdminResponse |
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 |
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.ChangePeerResponse |
getChangePeer()
.raft_cmdpb.ChangePeerResponse change_peer = 2; |
RaftCmdpb.ChangePeerResponseOrBuilder |
getChangePeerOrBuilder()
.raft_cmdpb.ChangePeerResponse change_peer = 2; |
RaftCmdpb.ChangePeerV2Response |
getChangePeerV2()
.raft_cmdpb.ChangePeerV2Response change_peer_v2 = 11; |
RaftCmdpb.ChangePeerV2ResponseOrBuilder |
getChangePeerV2OrBuilder()
.raft_cmdpb.ChangePeerV2Response change_peer_v2 = 11; |
RaftCmdpb.AdminCmdType |
getCmdType()
.raft_cmdpb.AdminCmdType cmd_type = 1; |
int |
getCmdTypeValue()
.raft_cmdpb.AdminCmdType cmd_type = 1; |
RaftCmdpb.CommitMergeResponse |
getCommitMerge()
.raft_cmdpb.CommitMergeResponse commit_merge = 8; |
RaftCmdpb.CommitMergeResponseOrBuilder |
getCommitMergeOrBuilder()
.raft_cmdpb.CommitMergeResponse commit_merge = 8; |
RaftCmdpb.CompactLogResponse |
getCompactLog()
.raft_cmdpb.CompactLogResponse compact_log = 4; |
RaftCmdpb.CompactLogResponseOrBuilder |
getCompactLogOrBuilder()
.raft_cmdpb.CompactLogResponse compact_log = 4; |
static RaftCmdpb.AdminResponse |
getDefaultInstance() |
RaftCmdpb.AdminResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<RaftCmdpb.AdminResponse> |
getParserForType() |
RaftCmdpb.PrepareMergeResponse |
getPrepareMerge()
.raft_cmdpb.PrepareMergeResponse prepare_merge = 7; |
RaftCmdpb.PrepareMergeResponseOrBuilder |
getPrepareMergeOrBuilder()
.raft_cmdpb.PrepareMergeResponse prepare_merge = 7; |
RaftCmdpb.RollbackMergeResponse |
getRollbackMerge()
.raft_cmdpb.RollbackMergeResponse rollback_merge = 9; |
RaftCmdpb.RollbackMergeResponseOrBuilder |
getRollbackMergeOrBuilder()
.raft_cmdpb.RollbackMergeResponse rollback_merge = 9; |
int |
getSerializedSize() |
RaftCmdpb.SplitResponse |
getSplit()
Deprecated.
|
RaftCmdpb.SplitResponseOrBuilder |
getSplitOrBuilder()
Deprecated.
|
RaftCmdpb.BatchSplitResponse |
getSplits()
.raft_cmdpb.BatchSplitResponse splits = 10; |
RaftCmdpb.BatchSplitResponseOrBuilder |
getSplitsOrBuilder()
.raft_cmdpb.BatchSplitResponse splits = 10; |
RaftCmdpb.TransferLeaderResponse |
getTransferLeader()
.raft_cmdpb.TransferLeaderResponse transfer_leader = 5; |
RaftCmdpb.TransferLeaderResponseOrBuilder |
getTransferLeaderOrBuilder()
.raft_cmdpb.TransferLeaderResponse transfer_leader = 5; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
RaftCmdpb.VerifyHashResponse |
getVerifyHash()
.raft_cmdpb.VerifyHashResponse verify_hash = 6; |
RaftCmdpb.VerifyHashResponseOrBuilder |
getVerifyHashOrBuilder()
.raft_cmdpb.VerifyHashResponse verify_hash = 6; |
boolean |
hasChangePeer()
.raft_cmdpb.ChangePeerResponse change_peer = 2; |
boolean |
hasChangePeerV2()
.raft_cmdpb.ChangePeerV2Response change_peer_v2 = 11; |
boolean |
hasCommitMerge()
.raft_cmdpb.CommitMergeResponse commit_merge = 8; |
boolean |
hasCompactLog()
.raft_cmdpb.CompactLogResponse compact_log = 4; |
int |
hashCode() |
boolean |
hasPrepareMerge()
.raft_cmdpb.PrepareMergeResponse prepare_merge = 7; |
boolean |
hasRollbackMerge()
.raft_cmdpb.RollbackMergeResponse rollback_merge = 9; |
boolean |
hasSplit()
Deprecated.
|
boolean |
hasSplits()
.raft_cmdpb.BatchSplitResponse splits = 10; |
boolean |
hasTransferLeader()
.raft_cmdpb.TransferLeaderResponse transfer_leader = 5; |
boolean |
hasVerifyHash()
.raft_cmdpb.VerifyHashResponse verify_hash = 6; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RaftCmdpb.AdminResponse.Builder |
newBuilder() |
static RaftCmdpb.AdminResponse.Builder |
newBuilder(RaftCmdpb.AdminResponse prototype) |
RaftCmdpb.AdminResponse.Builder |
newBuilderForType() |
protected RaftCmdpb.AdminResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RaftCmdpb.AdminResponse |
parseDelimitedFrom(InputStream input) |
static RaftCmdpb.AdminResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.AdminResponse |
parseFrom(byte[] data) |
static RaftCmdpb.AdminResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.AdminResponse |
parseFrom(ByteBuffer data) |
static RaftCmdpb.AdminResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.AdminResponse |
parseFrom(com.google.protobuf.ByteString data) |
static RaftCmdpb.AdminResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.AdminResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RaftCmdpb.AdminResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.AdminResponse |
parseFrom(InputStream input) |
static RaftCmdpb.AdminResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RaftCmdpb.AdminResponse> |
parser() |
RaftCmdpb.AdminResponse.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
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.AdminResponseOrBuilder
public RaftCmdpb.AdminCmdType getCmdType()
.raft_cmdpb.AdminCmdType cmd_type = 1;
getCmdType
in interface RaftCmdpb.AdminResponseOrBuilder
public boolean hasChangePeer()
.raft_cmdpb.ChangePeerResponse change_peer = 2;
hasChangePeer
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.ChangePeerResponse getChangePeer()
.raft_cmdpb.ChangePeerResponse change_peer = 2;
getChangePeer
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.ChangePeerResponseOrBuilder getChangePeerOrBuilder()
.raft_cmdpb.ChangePeerResponse change_peer = 2;
getChangePeerOrBuilder
in interface RaftCmdpb.AdminResponseOrBuilder
@Deprecated public boolean hasSplit()
.raft_cmdpb.SplitResponse split = 3 [deprecated = true];
hasSplit
in interface RaftCmdpb.AdminResponseOrBuilder
@Deprecated public RaftCmdpb.SplitResponse getSplit()
.raft_cmdpb.SplitResponse split = 3 [deprecated = true];
getSplit
in interface RaftCmdpb.AdminResponseOrBuilder
@Deprecated public RaftCmdpb.SplitResponseOrBuilder getSplitOrBuilder()
.raft_cmdpb.SplitResponse split = 3 [deprecated = true];
getSplitOrBuilder
in interface RaftCmdpb.AdminResponseOrBuilder
public boolean hasCompactLog()
.raft_cmdpb.CompactLogResponse compact_log = 4;
hasCompactLog
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.CompactLogResponse getCompactLog()
.raft_cmdpb.CompactLogResponse compact_log = 4;
getCompactLog
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.CompactLogResponseOrBuilder getCompactLogOrBuilder()
.raft_cmdpb.CompactLogResponse compact_log = 4;
getCompactLogOrBuilder
in interface RaftCmdpb.AdminResponseOrBuilder
public boolean hasTransferLeader()
.raft_cmdpb.TransferLeaderResponse transfer_leader = 5;
hasTransferLeader
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.TransferLeaderResponse getTransferLeader()
.raft_cmdpb.TransferLeaderResponse transfer_leader = 5;
getTransferLeader
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.TransferLeaderResponseOrBuilder getTransferLeaderOrBuilder()
.raft_cmdpb.TransferLeaderResponse transfer_leader = 5;
getTransferLeaderOrBuilder
in interface RaftCmdpb.AdminResponseOrBuilder
public boolean hasVerifyHash()
.raft_cmdpb.VerifyHashResponse verify_hash = 6;
hasVerifyHash
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.VerifyHashResponse getVerifyHash()
.raft_cmdpb.VerifyHashResponse verify_hash = 6;
getVerifyHash
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.VerifyHashResponseOrBuilder getVerifyHashOrBuilder()
.raft_cmdpb.VerifyHashResponse verify_hash = 6;
getVerifyHashOrBuilder
in interface RaftCmdpb.AdminResponseOrBuilder
public boolean hasPrepareMerge()
.raft_cmdpb.PrepareMergeResponse prepare_merge = 7;
hasPrepareMerge
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.PrepareMergeResponse getPrepareMerge()
.raft_cmdpb.PrepareMergeResponse prepare_merge = 7;
getPrepareMerge
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.PrepareMergeResponseOrBuilder getPrepareMergeOrBuilder()
.raft_cmdpb.PrepareMergeResponse prepare_merge = 7;
getPrepareMergeOrBuilder
in interface RaftCmdpb.AdminResponseOrBuilder
public boolean hasCommitMerge()
.raft_cmdpb.CommitMergeResponse commit_merge = 8;
hasCommitMerge
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.CommitMergeResponse getCommitMerge()
.raft_cmdpb.CommitMergeResponse commit_merge = 8;
getCommitMerge
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.CommitMergeResponseOrBuilder getCommitMergeOrBuilder()
.raft_cmdpb.CommitMergeResponse commit_merge = 8;
getCommitMergeOrBuilder
in interface RaftCmdpb.AdminResponseOrBuilder
public boolean hasRollbackMerge()
.raft_cmdpb.RollbackMergeResponse rollback_merge = 9;
hasRollbackMerge
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.RollbackMergeResponse getRollbackMerge()
.raft_cmdpb.RollbackMergeResponse rollback_merge = 9;
getRollbackMerge
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.RollbackMergeResponseOrBuilder getRollbackMergeOrBuilder()
.raft_cmdpb.RollbackMergeResponse rollback_merge = 9;
getRollbackMergeOrBuilder
in interface RaftCmdpb.AdminResponseOrBuilder
public boolean hasSplits()
.raft_cmdpb.BatchSplitResponse splits = 10;
hasSplits
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.BatchSplitResponse getSplits()
.raft_cmdpb.BatchSplitResponse splits = 10;
getSplits
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.BatchSplitResponseOrBuilder getSplitsOrBuilder()
.raft_cmdpb.BatchSplitResponse splits = 10;
getSplitsOrBuilder
in interface RaftCmdpb.AdminResponseOrBuilder
public boolean hasChangePeerV2()
.raft_cmdpb.ChangePeerV2Response change_peer_v2 = 11;
hasChangePeerV2
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.ChangePeerV2Response getChangePeerV2()
.raft_cmdpb.ChangePeerV2Response change_peer_v2 = 11;
getChangePeerV2
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.ChangePeerV2ResponseOrBuilder getChangePeerV2OrBuilder()
.raft_cmdpb.ChangePeerV2Response change_peer_v2 = 11;
getChangePeerV2OrBuilder
in interface RaftCmdpb.AdminResponseOrBuilder
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.AdminResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.AdminResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.AdminResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.AdminResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.AdminResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.AdminResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.AdminResponse parseFrom(InputStream input) throws IOException
IOException
public static RaftCmdpb.AdminResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RaftCmdpb.AdminResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RaftCmdpb.AdminResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RaftCmdpb.AdminResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RaftCmdpb.AdminResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public RaftCmdpb.AdminResponse.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RaftCmdpb.AdminResponse.Builder newBuilder()
public static RaftCmdpb.AdminResponse.Builder newBuilder(RaftCmdpb.AdminResponse prototype)
public RaftCmdpb.AdminResponse.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RaftCmdpb.AdminResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static RaftCmdpb.AdminResponse getDefaultInstance()
public static com.google.protobuf.Parser<RaftCmdpb.AdminResponse> parser()
public com.google.protobuf.Parser<RaftCmdpb.AdminResponse> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public RaftCmdpb.AdminResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.