public static final class RaftServerpb.MergeState.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.MergeState.Builder> implements RaftServerpb.MergeStateOrBuilder
raft_serverpb.MergeState
Modifier and Type | Method and Description |
---|---|
RaftServerpb.MergeState.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RaftServerpb.MergeState |
build() |
RaftServerpb.MergeState |
buildPartial() |
RaftServerpb.MergeState.Builder |
clear() |
RaftServerpb.MergeState.Builder |
clearCommit()
uint64 commit = 3; |
RaftServerpb.MergeState.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RaftServerpb.MergeState.Builder |
clearMinIndex()
uint64 min_index = 1; |
RaftServerpb.MergeState.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RaftServerpb.MergeState.Builder |
clearTarget()
.metapb.Region target = 2; |
RaftServerpb.MergeState.Builder |
clone() |
long |
getCommit()
uint64 commit = 3; |
RaftServerpb.MergeState |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getMinIndex()
uint64 min_index = 1; |
Metapb.Region |
getTarget()
.metapb.Region target = 2; |
Metapb.Region.Builder |
getTargetBuilder()
.metapb.Region target = 2; |
Metapb.RegionOrBuilder |
getTargetOrBuilder()
.metapb.Region target = 2; |
boolean |
hasTarget()
.metapb.Region target = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RaftServerpb.MergeState.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RaftServerpb.MergeState.Builder |
mergeFrom(com.google.protobuf.Message other) |
RaftServerpb.MergeState.Builder |
mergeFrom(RaftServerpb.MergeState other) |
RaftServerpb.MergeState.Builder |
mergeTarget(Metapb.Region value)
.metapb.Region target = 2; |
RaftServerpb.MergeState.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RaftServerpb.MergeState.Builder |
setCommit(long value)
uint64 commit = 3; |
RaftServerpb.MergeState.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RaftServerpb.MergeState.Builder |
setMinIndex(long value)
uint64 min_index = 1; |
RaftServerpb.MergeState.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RaftServerpb.MergeState.Builder |
setTarget(Metapb.Region.Builder builderForValue)
.metapb.Region target = 2; |
RaftServerpb.MergeState.Builder |
setTarget(Metapb.Region value)
.metapb.Region target = 2; |
RaftServerpb.MergeState.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.MergeState.Builder>
public RaftServerpb.MergeState.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.MergeState.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.MergeState.Builder>
public RaftServerpb.MergeState getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RaftServerpb.MergeState build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RaftServerpb.MergeState buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RaftServerpb.MergeState.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.MergeState.Builder>
public RaftServerpb.MergeState.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.MergeState.Builder>
public RaftServerpb.MergeState.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.MergeState.Builder>
public RaftServerpb.MergeState.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.MergeState.Builder>
public RaftServerpb.MergeState.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.MergeState.Builder>
public RaftServerpb.MergeState.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.MergeState.Builder>
public RaftServerpb.MergeState.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RaftServerpb.MergeState.Builder>
public RaftServerpb.MergeState.Builder mergeFrom(RaftServerpb.MergeState other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.MergeState.Builder>
public RaftServerpb.MergeState.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.MergeState.Builder>
IOException
public long getMinIndex()
uint64 min_index = 1;
getMinIndex
in interface RaftServerpb.MergeStateOrBuilder
public RaftServerpb.MergeState.Builder setMinIndex(long value)
uint64 min_index = 1;
value
- The minIndex to set.public RaftServerpb.MergeState.Builder clearMinIndex()
uint64 min_index = 1;
public boolean hasTarget()
.metapb.Region target = 2;
hasTarget
in interface RaftServerpb.MergeStateOrBuilder
public Metapb.Region getTarget()
.metapb.Region target = 2;
getTarget
in interface RaftServerpb.MergeStateOrBuilder
public RaftServerpb.MergeState.Builder setTarget(Metapb.Region value)
.metapb.Region target = 2;
public RaftServerpb.MergeState.Builder setTarget(Metapb.Region.Builder builderForValue)
.metapb.Region target = 2;
public RaftServerpb.MergeState.Builder mergeTarget(Metapb.Region value)
.metapb.Region target = 2;
public RaftServerpb.MergeState.Builder clearTarget()
.metapb.Region target = 2;
public Metapb.Region.Builder getTargetBuilder()
.metapb.Region target = 2;
public Metapb.RegionOrBuilder getTargetOrBuilder()
.metapb.Region target = 2;
getTargetOrBuilder
in interface RaftServerpb.MergeStateOrBuilder
public long getCommit()
uint64 commit = 3;
getCommit
in interface RaftServerpb.MergeStateOrBuilder
public RaftServerpb.MergeState.Builder setCommit(long value)
uint64 commit = 3;
value
- The commit to set.public RaftServerpb.MergeState.Builder clearCommit()
uint64 commit = 3;
public final RaftServerpb.MergeState.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.MergeState.Builder>
public final RaftServerpb.MergeState.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.MergeState.Builder>
Copyright © 2024 PingCAP. All rights reserved.