public static final class Coprocessor.RegionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.RegionInfo.Builder> implements Coprocessor.RegionInfoOrBuilder
coprocessor.RegionInfo
Modifier and Type | Method and Description |
---|---|
Coprocessor.RegionInfo.Builder |
addAllRanges(Iterable<? extends Coprocessor.KeyRange> values)
repeated .coprocessor.KeyRange ranges = 3; |
Coprocessor.RegionInfo.Builder |
addRanges(Coprocessor.KeyRange.Builder builderForValue)
repeated .coprocessor.KeyRange ranges = 3; |
Coprocessor.RegionInfo.Builder |
addRanges(Coprocessor.KeyRange value)
repeated .coprocessor.KeyRange ranges = 3; |
Coprocessor.RegionInfo.Builder |
addRanges(int index,
Coprocessor.KeyRange.Builder builderForValue)
repeated .coprocessor.KeyRange ranges = 3; |
Coprocessor.RegionInfo.Builder |
addRanges(int index,
Coprocessor.KeyRange value)
repeated .coprocessor.KeyRange ranges = 3; |
Coprocessor.KeyRange.Builder |
addRangesBuilder()
repeated .coprocessor.KeyRange ranges = 3; |
Coprocessor.KeyRange.Builder |
addRangesBuilder(int index)
repeated .coprocessor.KeyRange ranges = 3; |
Coprocessor.RegionInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Coprocessor.RegionInfo |
build() |
Coprocessor.RegionInfo |
buildPartial() |
Coprocessor.RegionInfo.Builder |
clear() |
Coprocessor.RegionInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Coprocessor.RegionInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Coprocessor.RegionInfo.Builder |
clearRanges()
repeated .coprocessor.KeyRange ranges = 3; |
Coprocessor.RegionInfo.Builder |
clearRegionEpoch()
.metapb.RegionEpoch region_epoch = 2; |
Coprocessor.RegionInfo.Builder |
clearRegionId()
uint64 region_id = 1; |
Coprocessor.RegionInfo.Builder |
clone() |
Coprocessor.RegionInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Coprocessor.KeyRange |
getRanges(int index)
repeated .coprocessor.KeyRange ranges = 3; |
Coprocessor.KeyRange.Builder |
getRangesBuilder(int index)
repeated .coprocessor.KeyRange ranges = 3; |
List<Coprocessor.KeyRange.Builder> |
getRangesBuilderList()
repeated .coprocessor.KeyRange ranges = 3; |
int |
getRangesCount()
repeated .coprocessor.KeyRange ranges = 3; |
List<Coprocessor.KeyRange> |
getRangesList()
repeated .coprocessor.KeyRange ranges = 3; |
Coprocessor.KeyRangeOrBuilder |
getRangesOrBuilder(int index)
repeated .coprocessor.KeyRange ranges = 3; |
List<? extends Coprocessor.KeyRangeOrBuilder> |
getRangesOrBuilderList()
repeated .coprocessor.KeyRange ranges = 3; |
Metapb.RegionEpoch |
getRegionEpoch()
.metapb.RegionEpoch region_epoch = 2; |
Metapb.RegionEpoch.Builder |
getRegionEpochBuilder()
.metapb.RegionEpoch region_epoch = 2; |
Metapb.RegionEpochOrBuilder |
getRegionEpochOrBuilder()
.metapb.RegionEpoch region_epoch = 2; |
long |
getRegionId()
uint64 region_id = 1; |
boolean |
hasRegionEpoch()
.metapb.RegionEpoch region_epoch = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Coprocessor.RegionInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Coprocessor.RegionInfo.Builder |
mergeFrom(Coprocessor.RegionInfo other) |
Coprocessor.RegionInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Coprocessor.RegionInfo.Builder |
mergeRegionEpoch(Metapb.RegionEpoch value)
.metapb.RegionEpoch region_epoch = 2; |
Coprocessor.RegionInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Coprocessor.RegionInfo.Builder |
removeRanges(int index)
repeated .coprocessor.KeyRange ranges = 3; |
Coprocessor.RegionInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Coprocessor.RegionInfo.Builder |
setRanges(int index,
Coprocessor.KeyRange.Builder builderForValue)
repeated .coprocessor.KeyRange ranges = 3; |
Coprocessor.RegionInfo.Builder |
setRanges(int index,
Coprocessor.KeyRange value)
repeated .coprocessor.KeyRange ranges = 3; |
Coprocessor.RegionInfo.Builder |
setRegionEpoch(Metapb.RegionEpoch.Builder builderForValue)
.metapb.RegionEpoch region_epoch = 2; |
Coprocessor.RegionInfo.Builder |
setRegionEpoch(Metapb.RegionEpoch value)
.metapb.RegionEpoch region_epoch = 2; |
Coprocessor.RegionInfo.Builder |
setRegionId(long value)
uint64 region_id = 1; |
Coprocessor.RegionInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Coprocessor.RegionInfo.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<Coprocessor.RegionInfo.Builder>
public Coprocessor.RegionInfo.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<Coprocessor.RegionInfo.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<Coprocessor.RegionInfo.Builder>
public Coprocessor.RegionInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Coprocessor.RegionInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Coprocessor.RegionInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Coprocessor.RegionInfo.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<Coprocessor.RegionInfo.Builder>
public Coprocessor.RegionInfo.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<Coprocessor.RegionInfo.Builder>
public Coprocessor.RegionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.RegionInfo.Builder>
public Coprocessor.RegionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.RegionInfo.Builder>
public Coprocessor.RegionInfo.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<Coprocessor.RegionInfo.Builder>
public Coprocessor.RegionInfo.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<Coprocessor.RegionInfo.Builder>
public Coprocessor.RegionInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Coprocessor.RegionInfo.Builder>
public Coprocessor.RegionInfo.Builder mergeFrom(Coprocessor.RegionInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.RegionInfo.Builder>
public Coprocessor.RegionInfo.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<Coprocessor.RegionInfo.Builder>
IOException
public long getRegionId()
uint64 region_id = 1;
getRegionId
in interface Coprocessor.RegionInfoOrBuilder
public Coprocessor.RegionInfo.Builder setRegionId(long value)
uint64 region_id = 1;
value
- The regionId to set.public Coprocessor.RegionInfo.Builder clearRegionId()
uint64 region_id = 1;
public boolean hasRegionEpoch()
.metapb.RegionEpoch region_epoch = 2;
hasRegionEpoch
in interface Coprocessor.RegionInfoOrBuilder
public Metapb.RegionEpoch getRegionEpoch()
.metapb.RegionEpoch region_epoch = 2;
getRegionEpoch
in interface Coprocessor.RegionInfoOrBuilder
public Coprocessor.RegionInfo.Builder setRegionEpoch(Metapb.RegionEpoch value)
.metapb.RegionEpoch region_epoch = 2;
public Coprocessor.RegionInfo.Builder setRegionEpoch(Metapb.RegionEpoch.Builder builderForValue)
.metapb.RegionEpoch region_epoch = 2;
public Coprocessor.RegionInfo.Builder mergeRegionEpoch(Metapb.RegionEpoch value)
.metapb.RegionEpoch region_epoch = 2;
public Coprocessor.RegionInfo.Builder clearRegionEpoch()
.metapb.RegionEpoch region_epoch = 2;
public Metapb.RegionEpoch.Builder getRegionEpochBuilder()
.metapb.RegionEpoch region_epoch = 2;
public Metapb.RegionEpochOrBuilder getRegionEpochOrBuilder()
.metapb.RegionEpoch region_epoch = 2;
getRegionEpochOrBuilder
in interface Coprocessor.RegionInfoOrBuilder
public List<Coprocessor.KeyRange> getRangesList()
repeated .coprocessor.KeyRange ranges = 3;
getRangesList
in interface Coprocessor.RegionInfoOrBuilder
public int getRangesCount()
repeated .coprocessor.KeyRange ranges = 3;
getRangesCount
in interface Coprocessor.RegionInfoOrBuilder
public Coprocessor.KeyRange getRanges(int index)
repeated .coprocessor.KeyRange ranges = 3;
getRanges
in interface Coprocessor.RegionInfoOrBuilder
public Coprocessor.RegionInfo.Builder setRanges(int index, Coprocessor.KeyRange value)
repeated .coprocessor.KeyRange ranges = 3;
public Coprocessor.RegionInfo.Builder setRanges(int index, Coprocessor.KeyRange.Builder builderForValue)
repeated .coprocessor.KeyRange ranges = 3;
public Coprocessor.RegionInfo.Builder addRanges(Coprocessor.KeyRange value)
repeated .coprocessor.KeyRange ranges = 3;
public Coprocessor.RegionInfo.Builder addRanges(int index, Coprocessor.KeyRange value)
repeated .coprocessor.KeyRange ranges = 3;
public Coprocessor.RegionInfo.Builder addRanges(Coprocessor.KeyRange.Builder builderForValue)
repeated .coprocessor.KeyRange ranges = 3;
public Coprocessor.RegionInfo.Builder addRanges(int index, Coprocessor.KeyRange.Builder builderForValue)
repeated .coprocessor.KeyRange ranges = 3;
public Coprocessor.RegionInfo.Builder addAllRanges(Iterable<? extends Coprocessor.KeyRange> values)
repeated .coprocessor.KeyRange ranges = 3;
public Coprocessor.RegionInfo.Builder clearRanges()
repeated .coprocessor.KeyRange ranges = 3;
public Coprocessor.RegionInfo.Builder removeRanges(int index)
repeated .coprocessor.KeyRange ranges = 3;
public Coprocessor.KeyRange.Builder getRangesBuilder(int index)
repeated .coprocessor.KeyRange ranges = 3;
public Coprocessor.KeyRangeOrBuilder getRangesOrBuilder(int index)
repeated .coprocessor.KeyRange ranges = 3;
getRangesOrBuilder
in interface Coprocessor.RegionInfoOrBuilder
public List<? extends Coprocessor.KeyRangeOrBuilder> getRangesOrBuilderList()
repeated .coprocessor.KeyRange ranges = 3;
getRangesOrBuilderList
in interface Coprocessor.RegionInfoOrBuilder
public Coprocessor.KeyRange.Builder addRangesBuilder()
repeated .coprocessor.KeyRange ranges = 3;
public Coprocessor.KeyRange.Builder addRangesBuilder(int index)
repeated .coprocessor.KeyRange ranges = 3;
public List<Coprocessor.KeyRange.Builder> getRangesBuilderList()
repeated .coprocessor.KeyRange ranges = 3;
public final Coprocessor.RegionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.RegionInfo.Builder>
public final Coprocessor.RegionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.RegionInfo.Builder>
Copyright © 2024 PingCAP. All rights reserved.