public static final class RaftCmdpb.AdminResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.AdminResponse.Builder> implements RaftCmdpb.AdminResponseOrBuilder
raft_cmdpb.AdminResponse
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<RaftCmdpb.AdminResponse.Builder>
public RaftCmdpb.AdminResponse.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<RaftCmdpb.AdminResponse.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<RaftCmdpb.AdminResponse.Builder>
public RaftCmdpb.AdminResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RaftCmdpb.AdminResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RaftCmdpb.AdminResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RaftCmdpb.AdminResponse.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<RaftCmdpb.AdminResponse.Builder>
public RaftCmdpb.AdminResponse.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<RaftCmdpb.AdminResponse.Builder>
public RaftCmdpb.AdminResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.AdminResponse.Builder>
public RaftCmdpb.AdminResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.AdminResponse.Builder>
public RaftCmdpb.AdminResponse.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<RaftCmdpb.AdminResponse.Builder>
public RaftCmdpb.AdminResponse.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<RaftCmdpb.AdminResponse.Builder>
public RaftCmdpb.AdminResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RaftCmdpb.AdminResponse.Builder>
public RaftCmdpb.AdminResponse.Builder mergeFrom(RaftCmdpb.AdminResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.AdminResponse.Builder>
public RaftCmdpb.AdminResponse.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<RaftCmdpb.AdminResponse.Builder>
IOException
public int getCmdTypeValue()
.raft_cmdpb.AdminCmdType cmd_type = 1;
getCmdTypeValue
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.AdminResponse.Builder setCmdTypeValue(int value)
.raft_cmdpb.AdminCmdType cmd_type = 1;
value
- The enum numeric value on the wire for cmdType to set.public RaftCmdpb.AdminCmdType getCmdType()
.raft_cmdpb.AdminCmdType cmd_type = 1;
getCmdType
in interface RaftCmdpb.AdminResponseOrBuilder
public RaftCmdpb.AdminResponse.Builder setCmdType(RaftCmdpb.AdminCmdType value)
.raft_cmdpb.AdminCmdType cmd_type = 1;
value
- The cmdType to set.public RaftCmdpb.AdminResponse.Builder clearCmdType()
.raft_cmdpb.AdminCmdType cmd_type = 1;
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.AdminResponse.Builder setChangePeer(RaftCmdpb.ChangePeerResponse value)
.raft_cmdpb.ChangePeerResponse change_peer = 2;
public RaftCmdpb.AdminResponse.Builder setChangePeer(RaftCmdpb.ChangePeerResponse.Builder builderForValue)
.raft_cmdpb.ChangePeerResponse change_peer = 2;
public RaftCmdpb.AdminResponse.Builder mergeChangePeer(RaftCmdpb.ChangePeerResponse value)
.raft_cmdpb.ChangePeerResponse change_peer = 2;
public RaftCmdpb.AdminResponse.Builder clearChangePeer()
.raft_cmdpb.ChangePeerResponse change_peer = 2;
public RaftCmdpb.ChangePeerResponse.Builder getChangePeerBuilder()
.raft_cmdpb.ChangePeerResponse change_peer = 2;
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.AdminResponse.Builder setSplit(RaftCmdpb.SplitResponse value)
.raft_cmdpb.SplitResponse split = 3 [deprecated = true];
@Deprecated public RaftCmdpb.AdminResponse.Builder setSplit(RaftCmdpb.SplitResponse.Builder builderForValue)
.raft_cmdpb.SplitResponse split = 3 [deprecated = true];
@Deprecated public RaftCmdpb.AdminResponse.Builder mergeSplit(RaftCmdpb.SplitResponse value)
.raft_cmdpb.SplitResponse split = 3 [deprecated = true];
@Deprecated public RaftCmdpb.AdminResponse.Builder clearSplit()
.raft_cmdpb.SplitResponse split = 3 [deprecated = true];
@Deprecated public RaftCmdpb.SplitResponse.Builder getSplitBuilder()
.raft_cmdpb.SplitResponse split = 3 [deprecated = true];
@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.AdminResponse.Builder setCompactLog(RaftCmdpb.CompactLogResponse value)
.raft_cmdpb.CompactLogResponse compact_log = 4;
public RaftCmdpb.AdminResponse.Builder setCompactLog(RaftCmdpb.CompactLogResponse.Builder builderForValue)
.raft_cmdpb.CompactLogResponse compact_log = 4;
public RaftCmdpb.AdminResponse.Builder mergeCompactLog(RaftCmdpb.CompactLogResponse value)
.raft_cmdpb.CompactLogResponse compact_log = 4;
public RaftCmdpb.AdminResponse.Builder clearCompactLog()
.raft_cmdpb.CompactLogResponse compact_log = 4;
public RaftCmdpb.CompactLogResponse.Builder getCompactLogBuilder()
.raft_cmdpb.CompactLogResponse compact_log = 4;
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.AdminResponse.Builder setTransferLeader(RaftCmdpb.TransferLeaderResponse value)
.raft_cmdpb.TransferLeaderResponse transfer_leader = 5;
public RaftCmdpb.AdminResponse.Builder setTransferLeader(RaftCmdpb.TransferLeaderResponse.Builder builderForValue)
.raft_cmdpb.TransferLeaderResponse transfer_leader = 5;
public RaftCmdpb.AdminResponse.Builder mergeTransferLeader(RaftCmdpb.TransferLeaderResponse value)
.raft_cmdpb.TransferLeaderResponse transfer_leader = 5;
public RaftCmdpb.AdminResponse.Builder clearTransferLeader()
.raft_cmdpb.TransferLeaderResponse transfer_leader = 5;
public RaftCmdpb.TransferLeaderResponse.Builder getTransferLeaderBuilder()
.raft_cmdpb.TransferLeaderResponse transfer_leader = 5;
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.AdminResponse.Builder setVerifyHash(RaftCmdpb.VerifyHashResponse value)
.raft_cmdpb.VerifyHashResponse verify_hash = 6;
public RaftCmdpb.AdminResponse.Builder setVerifyHash(RaftCmdpb.VerifyHashResponse.Builder builderForValue)
.raft_cmdpb.VerifyHashResponse verify_hash = 6;
public RaftCmdpb.AdminResponse.Builder mergeVerifyHash(RaftCmdpb.VerifyHashResponse value)
.raft_cmdpb.VerifyHashResponse verify_hash = 6;
public RaftCmdpb.AdminResponse.Builder clearVerifyHash()
.raft_cmdpb.VerifyHashResponse verify_hash = 6;
public RaftCmdpb.VerifyHashResponse.Builder getVerifyHashBuilder()
.raft_cmdpb.VerifyHashResponse verify_hash = 6;
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.AdminResponse.Builder setPrepareMerge(RaftCmdpb.PrepareMergeResponse value)
.raft_cmdpb.PrepareMergeResponse prepare_merge = 7;
public RaftCmdpb.AdminResponse.Builder setPrepareMerge(RaftCmdpb.PrepareMergeResponse.Builder builderForValue)
.raft_cmdpb.PrepareMergeResponse prepare_merge = 7;
public RaftCmdpb.AdminResponse.Builder mergePrepareMerge(RaftCmdpb.PrepareMergeResponse value)
.raft_cmdpb.PrepareMergeResponse prepare_merge = 7;
public RaftCmdpb.AdminResponse.Builder clearPrepareMerge()
.raft_cmdpb.PrepareMergeResponse prepare_merge = 7;
public RaftCmdpb.PrepareMergeResponse.Builder getPrepareMergeBuilder()
.raft_cmdpb.PrepareMergeResponse prepare_merge = 7;
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.AdminResponse.Builder setCommitMerge(RaftCmdpb.CommitMergeResponse value)
.raft_cmdpb.CommitMergeResponse commit_merge = 8;
public RaftCmdpb.AdminResponse.Builder setCommitMerge(RaftCmdpb.CommitMergeResponse.Builder builderForValue)
.raft_cmdpb.CommitMergeResponse commit_merge = 8;
public RaftCmdpb.AdminResponse.Builder mergeCommitMerge(RaftCmdpb.CommitMergeResponse value)
.raft_cmdpb.CommitMergeResponse commit_merge = 8;
public RaftCmdpb.AdminResponse.Builder clearCommitMerge()
.raft_cmdpb.CommitMergeResponse commit_merge = 8;
public RaftCmdpb.CommitMergeResponse.Builder getCommitMergeBuilder()
.raft_cmdpb.CommitMergeResponse commit_merge = 8;
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.AdminResponse.Builder setRollbackMerge(RaftCmdpb.RollbackMergeResponse value)
.raft_cmdpb.RollbackMergeResponse rollback_merge = 9;
public RaftCmdpb.AdminResponse.Builder setRollbackMerge(RaftCmdpb.RollbackMergeResponse.Builder builderForValue)
.raft_cmdpb.RollbackMergeResponse rollback_merge = 9;
public RaftCmdpb.AdminResponse.Builder mergeRollbackMerge(RaftCmdpb.RollbackMergeResponse value)
.raft_cmdpb.RollbackMergeResponse rollback_merge = 9;
public RaftCmdpb.AdminResponse.Builder clearRollbackMerge()
.raft_cmdpb.RollbackMergeResponse rollback_merge = 9;
public RaftCmdpb.RollbackMergeResponse.Builder getRollbackMergeBuilder()
.raft_cmdpb.RollbackMergeResponse rollback_merge = 9;
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.AdminResponse.Builder setSplits(RaftCmdpb.BatchSplitResponse value)
.raft_cmdpb.BatchSplitResponse splits = 10;
public RaftCmdpb.AdminResponse.Builder setSplits(RaftCmdpb.BatchSplitResponse.Builder builderForValue)
.raft_cmdpb.BatchSplitResponse splits = 10;
public RaftCmdpb.AdminResponse.Builder mergeSplits(RaftCmdpb.BatchSplitResponse value)
.raft_cmdpb.BatchSplitResponse splits = 10;
public RaftCmdpb.AdminResponse.Builder clearSplits()
.raft_cmdpb.BatchSplitResponse splits = 10;
public RaftCmdpb.BatchSplitResponse.Builder getSplitsBuilder()
.raft_cmdpb.BatchSplitResponse splits = 10;
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.AdminResponse.Builder setChangePeerV2(RaftCmdpb.ChangePeerV2Response value)
.raft_cmdpb.ChangePeerV2Response change_peer_v2 = 11;
public RaftCmdpb.AdminResponse.Builder setChangePeerV2(RaftCmdpb.ChangePeerV2Response.Builder builderForValue)
.raft_cmdpb.ChangePeerV2Response change_peer_v2 = 11;
public RaftCmdpb.AdminResponse.Builder mergeChangePeerV2(RaftCmdpb.ChangePeerV2Response value)
.raft_cmdpb.ChangePeerV2Response change_peer_v2 = 11;
public RaftCmdpb.AdminResponse.Builder clearChangePeerV2()
.raft_cmdpb.ChangePeerV2Response change_peer_v2 = 11;
public RaftCmdpb.ChangePeerV2Response.Builder getChangePeerV2Builder()
.raft_cmdpb.ChangePeerV2Response change_peer_v2 = 11;
public RaftCmdpb.ChangePeerV2ResponseOrBuilder getChangePeerV2OrBuilder()
.raft_cmdpb.ChangePeerV2Response change_peer_v2 = 11;
getChangePeerV2OrBuilder
in interface RaftCmdpb.AdminResponseOrBuilder
public final RaftCmdpb.AdminResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.AdminResponse.Builder>
public final RaftCmdpb.AdminResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.AdminResponse.Builder>
Copyright © 2024 PingCAP. All rights reserved.