public static final class RaftServerpb.RegionLocalState.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RegionLocalState.Builder> implements RaftServerpb.RegionLocalStateOrBuilder
raft_serverpb.RegionLocalState
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.RegionLocalState.Builder>
public RaftServerpb.RegionLocalState.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.RegionLocalState.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.RegionLocalState.Builder>
public RaftServerpb.RegionLocalState getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RaftServerpb.RegionLocalState build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RaftServerpb.RegionLocalState buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RaftServerpb.RegionLocalState.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.RegionLocalState.Builder>
public RaftServerpb.RegionLocalState.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.RegionLocalState.Builder>
public RaftServerpb.RegionLocalState.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.RegionLocalState.Builder>
public RaftServerpb.RegionLocalState.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.RegionLocalState.Builder>
public RaftServerpb.RegionLocalState.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.RegionLocalState.Builder>
public RaftServerpb.RegionLocalState.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.RegionLocalState.Builder>
public RaftServerpb.RegionLocalState.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RaftServerpb.RegionLocalState.Builder>
public RaftServerpb.RegionLocalState.Builder mergeFrom(RaftServerpb.RegionLocalState other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RegionLocalState.Builder>
public RaftServerpb.RegionLocalState.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.RegionLocalState.Builder>
IOException
public int getStateValue()
.raft_serverpb.PeerState state = 1;
getStateValue
in interface RaftServerpb.RegionLocalStateOrBuilder
public RaftServerpb.RegionLocalState.Builder setStateValue(int value)
.raft_serverpb.PeerState state = 1;
value
- The enum numeric value on the wire for state to set.public RaftServerpb.PeerState getState()
.raft_serverpb.PeerState state = 1;
getState
in interface RaftServerpb.RegionLocalStateOrBuilder
public RaftServerpb.RegionLocalState.Builder setState(RaftServerpb.PeerState value)
.raft_serverpb.PeerState state = 1;
value
- The state to set.public RaftServerpb.RegionLocalState.Builder clearState()
.raft_serverpb.PeerState state = 1;
public boolean hasRegion()
.metapb.Region region = 2;
hasRegion
in interface RaftServerpb.RegionLocalStateOrBuilder
public Metapb.Region getRegion()
.metapb.Region region = 2;
getRegion
in interface RaftServerpb.RegionLocalStateOrBuilder
public RaftServerpb.RegionLocalState.Builder setRegion(Metapb.Region value)
.metapb.Region region = 2;
public RaftServerpb.RegionLocalState.Builder setRegion(Metapb.Region.Builder builderForValue)
.metapb.Region region = 2;
public RaftServerpb.RegionLocalState.Builder mergeRegion(Metapb.Region value)
.metapb.Region region = 2;
public RaftServerpb.RegionLocalState.Builder clearRegion()
.metapb.Region region = 2;
public Metapb.Region.Builder getRegionBuilder()
.metapb.Region region = 2;
public Metapb.RegionOrBuilder getRegionOrBuilder()
.metapb.Region region = 2;
getRegionOrBuilder
in interface RaftServerpb.RegionLocalStateOrBuilder
public boolean hasMergeState()
.raft_serverpb.MergeState merge_state = 3;
hasMergeState
in interface RaftServerpb.RegionLocalStateOrBuilder
public RaftServerpb.MergeState getMergeState()
.raft_serverpb.MergeState merge_state = 3;
getMergeState
in interface RaftServerpb.RegionLocalStateOrBuilder
public RaftServerpb.RegionLocalState.Builder setMergeState(RaftServerpb.MergeState value)
.raft_serverpb.MergeState merge_state = 3;
public RaftServerpb.RegionLocalState.Builder setMergeState(RaftServerpb.MergeState.Builder builderForValue)
.raft_serverpb.MergeState merge_state = 3;
public RaftServerpb.RegionLocalState.Builder mergeMergeState(RaftServerpb.MergeState value)
.raft_serverpb.MergeState merge_state = 3;
public RaftServerpb.RegionLocalState.Builder clearMergeState()
.raft_serverpb.MergeState merge_state = 3;
public RaftServerpb.MergeState.Builder getMergeStateBuilder()
.raft_serverpb.MergeState merge_state = 3;
public RaftServerpb.MergeStateOrBuilder getMergeStateOrBuilder()
.raft_serverpb.MergeState merge_state = 3;
getMergeStateOrBuilder
in interface RaftServerpb.RegionLocalStateOrBuilder
public final RaftServerpb.RegionLocalState.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RegionLocalState.Builder>
public final RaftServerpb.RegionLocalState.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RegionLocalState.Builder>
Copyright © 2024 PingCAP. All rights reserved.