public static final class Metapb.Region.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Metapb.Region.Builder> implements Metapb.RegionOrBuilder
metapb.Region
Modifier and Type | Method and Description |
---|---|
Metapb.Region.Builder |
addAllPeers(Iterable<? extends Metapb.Peer> values)
repeated .metapb.Peer peers = 5; |
Metapb.Region.Builder |
addPeers(int index,
Metapb.Peer.Builder builderForValue)
repeated .metapb.Peer peers = 5; |
Metapb.Region.Builder |
addPeers(int index,
Metapb.Peer value)
repeated .metapb.Peer peers = 5; |
Metapb.Region.Builder |
addPeers(Metapb.Peer.Builder builderForValue)
repeated .metapb.Peer peers = 5; |
Metapb.Region.Builder |
addPeers(Metapb.Peer value)
repeated .metapb.Peer peers = 5; |
Metapb.Peer.Builder |
addPeersBuilder()
repeated .metapb.Peer peers = 5; |
Metapb.Peer.Builder |
addPeersBuilder(int index)
repeated .metapb.Peer peers = 5; |
Metapb.Region.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Metapb.Region |
build() |
Metapb.Region |
buildPartial() |
Metapb.Region.Builder |
clear() |
Metapb.Region.Builder |
clearEncryptionMeta()
Encryption metadata for start_key and end_key.
|
Metapb.Region.Builder |
clearEndKey()
bytes end_key = 3; |
Metapb.Region.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Metapb.Region.Builder |
clearId()
uint64 id = 1; |
Metapb.Region.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Metapb.Region.Builder |
clearPeers()
repeated .metapb.Peer peers = 5; |
Metapb.Region.Builder |
clearRegionEpoch()
.metapb.RegionEpoch region_epoch = 4; |
Metapb.Region.Builder |
clearStartKey()
Region key range [start_key, end_key).
|
Metapb.Region.Builder |
clone() |
Metapb.Region |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Encryptionpb.EncryptionMeta |
getEncryptionMeta()
Encryption metadata for start_key and end_key.
|
Encryptionpb.EncryptionMeta.Builder |
getEncryptionMetaBuilder()
Encryption metadata for start_key and end_key.
|
Encryptionpb.EncryptionMetaOrBuilder |
getEncryptionMetaOrBuilder()
Encryption metadata for start_key and end_key.
|
com.google.protobuf.ByteString |
getEndKey()
bytes end_key = 3; |
long |
getId()
uint64 id = 1; |
Metapb.Peer |
getPeers(int index)
repeated .metapb.Peer peers = 5; |
Metapb.Peer.Builder |
getPeersBuilder(int index)
repeated .metapb.Peer peers = 5; |
List<Metapb.Peer.Builder> |
getPeersBuilderList()
repeated .metapb.Peer peers = 5; |
int |
getPeersCount()
repeated .metapb.Peer peers = 5; |
List<Metapb.Peer> |
getPeersList()
repeated .metapb.Peer peers = 5; |
Metapb.PeerOrBuilder |
getPeersOrBuilder(int index)
repeated .metapb.Peer peers = 5; |
List<? extends Metapb.PeerOrBuilder> |
getPeersOrBuilderList()
repeated .metapb.Peer peers = 5; |
Metapb.RegionEpoch |
getRegionEpoch()
.metapb.RegionEpoch region_epoch = 4; |
Metapb.RegionEpoch.Builder |
getRegionEpochBuilder()
.metapb.RegionEpoch region_epoch = 4; |
Metapb.RegionEpochOrBuilder |
getRegionEpochOrBuilder()
.metapb.RegionEpoch region_epoch = 4; |
com.google.protobuf.ByteString |
getStartKey()
Region key range [start_key, end_key).
|
boolean |
hasEncryptionMeta()
Encryption metadata for start_key and end_key.
|
boolean |
hasRegionEpoch()
.metapb.RegionEpoch region_epoch = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Metapb.Region.Builder |
mergeEncryptionMeta(Encryptionpb.EncryptionMeta value)
Encryption metadata for start_key and end_key.
|
Metapb.Region.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Metapb.Region.Builder |
mergeFrom(com.google.protobuf.Message other) |
Metapb.Region.Builder |
mergeFrom(Metapb.Region other) |
Metapb.Region.Builder |
mergeRegionEpoch(Metapb.RegionEpoch value)
.metapb.RegionEpoch region_epoch = 4; |
Metapb.Region.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Metapb.Region.Builder |
removePeers(int index)
repeated .metapb.Peer peers = 5; |
Metapb.Region.Builder |
setEncryptionMeta(Encryptionpb.EncryptionMeta.Builder builderForValue)
Encryption metadata for start_key and end_key.
|
Metapb.Region.Builder |
setEncryptionMeta(Encryptionpb.EncryptionMeta value)
Encryption metadata for start_key and end_key.
|
Metapb.Region.Builder |
setEndKey(com.google.protobuf.ByteString value)
bytes end_key = 3; |
Metapb.Region.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Metapb.Region.Builder |
setId(long value)
uint64 id = 1; |
Metapb.Region.Builder |
setPeers(int index,
Metapb.Peer.Builder builderForValue)
repeated .metapb.Peer peers = 5; |
Metapb.Region.Builder |
setPeers(int index,
Metapb.Peer value)
repeated .metapb.Peer peers = 5; |
Metapb.Region.Builder |
setRegionEpoch(Metapb.RegionEpoch.Builder builderForValue)
.metapb.RegionEpoch region_epoch = 4; |
Metapb.Region.Builder |
setRegionEpoch(Metapb.RegionEpoch value)
.metapb.RegionEpoch region_epoch = 4; |
Metapb.Region.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Metapb.Region.Builder |
setStartKey(com.google.protobuf.ByteString value)
Region key range [start_key, end_key).
|
Metapb.Region.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<Metapb.Region.Builder>
public Metapb.Region.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<Metapb.Region.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<Metapb.Region.Builder>
public Metapb.Region getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Metapb.Region build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Metapb.Region buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Metapb.Region.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<Metapb.Region.Builder>
public Metapb.Region.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<Metapb.Region.Builder>
public Metapb.Region.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Metapb.Region.Builder>
public Metapb.Region.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Metapb.Region.Builder>
public Metapb.Region.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<Metapb.Region.Builder>
public Metapb.Region.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<Metapb.Region.Builder>
public Metapb.Region.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Metapb.Region.Builder>
public Metapb.Region.Builder mergeFrom(Metapb.Region other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Metapb.Region.Builder>
public Metapb.Region.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<Metapb.Region.Builder>
IOException
public long getId()
uint64 id = 1;
getId
in interface Metapb.RegionOrBuilder
public Metapb.Region.Builder setId(long value)
uint64 id = 1;
value
- The id to set.public Metapb.Region.Builder clearId()
uint64 id = 1;
public com.google.protobuf.ByteString getStartKey()
Region key range [start_key, end_key).
bytes start_key = 2;
getStartKey
in interface Metapb.RegionOrBuilder
public Metapb.Region.Builder setStartKey(com.google.protobuf.ByteString value)
Region key range [start_key, end_key).
bytes start_key = 2;
value
- The startKey to set.public Metapb.Region.Builder clearStartKey()
Region key range [start_key, end_key).
bytes start_key = 2;
public com.google.protobuf.ByteString getEndKey()
bytes end_key = 3;
getEndKey
in interface Metapb.RegionOrBuilder
public Metapb.Region.Builder setEndKey(com.google.protobuf.ByteString value)
bytes end_key = 3;
value
- The endKey to set.public Metapb.Region.Builder clearEndKey()
bytes end_key = 3;
public boolean hasRegionEpoch()
.metapb.RegionEpoch region_epoch = 4;
hasRegionEpoch
in interface Metapb.RegionOrBuilder
public Metapb.RegionEpoch getRegionEpoch()
.metapb.RegionEpoch region_epoch = 4;
getRegionEpoch
in interface Metapb.RegionOrBuilder
public Metapb.Region.Builder setRegionEpoch(Metapb.RegionEpoch value)
.metapb.RegionEpoch region_epoch = 4;
public Metapb.Region.Builder setRegionEpoch(Metapb.RegionEpoch.Builder builderForValue)
.metapb.RegionEpoch region_epoch = 4;
public Metapb.Region.Builder mergeRegionEpoch(Metapb.RegionEpoch value)
.metapb.RegionEpoch region_epoch = 4;
public Metapb.Region.Builder clearRegionEpoch()
.metapb.RegionEpoch region_epoch = 4;
public Metapb.RegionEpoch.Builder getRegionEpochBuilder()
.metapb.RegionEpoch region_epoch = 4;
public Metapb.RegionEpochOrBuilder getRegionEpochOrBuilder()
.metapb.RegionEpoch region_epoch = 4;
getRegionEpochOrBuilder
in interface Metapb.RegionOrBuilder
public List<Metapb.Peer> getPeersList()
repeated .metapb.Peer peers = 5;
getPeersList
in interface Metapb.RegionOrBuilder
public int getPeersCount()
repeated .metapb.Peer peers = 5;
getPeersCount
in interface Metapb.RegionOrBuilder
public Metapb.Peer getPeers(int index)
repeated .metapb.Peer peers = 5;
getPeers
in interface Metapb.RegionOrBuilder
public Metapb.Region.Builder setPeers(int index, Metapb.Peer value)
repeated .metapb.Peer peers = 5;
public Metapb.Region.Builder setPeers(int index, Metapb.Peer.Builder builderForValue)
repeated .metapb.Peer peers = 5;
public Metapb.Region.Builder addPeers(Metapb.Peer value)
repeated .metapb.Peer peers = 5;
public Metapb.Region.Builder addPeers(int index, Metapb.Peer value)
repeated .metapb.Peer peers = 5;
public Metapb.Region.Builder addPeers(Metapb.Peer.Builder builderForValue)
repeated .metapb.Peer peers = 5;
public Metapb.Region.Builder addPeers(int index, Metapb.Peer.Builder builderForValue)
repeated .metapb.Peer peers = 5;
public Metapb.Region.Builder addAllPeers(Iterable<? extends Metapb.Peer> values)
repeated .metapb.Peer peers = 5;
public Metapb.Region.Builder clearPeers()
repeated .metapb.Peer peers = 5;
public Metapb.Region.Builder removePeers(int index)
repeated .metapb.Peer peers = 5;
public Metapb.Peer.Builder getPeersBuilder(int index)
repeated .metapb.Peer peers = 5;
public Metapb.PeerOrBuilder getPeersOrBuilder(int index)
repeated .metapb.Peer peers = 5;
getPeersOrBuilder
in interface Metapb.RegionOrBuilder
public List<? extends Metapb.PeerOrBuilder> getPeersOrBuilderList()
repeated .metapb.Peer peers = 5;
getPeersOrBuilderList
in interface Metapb.RegionOrBuilder
public Metapb.Peer.Builder addPeersBuilder()
repeated .metapb.Peer peers = 5;
public Metapb.Peer.Builder addPeersBuilder(int index)
repeated .metapb.Peer peers = 5;
public List<Metapb.Peer.Builder> getPeersBuilderList()
repeated .metapb.Peer peers = 5;
public boolean hasEncryptionMeta()
Encryption metadata for start_key and end_key. encryption_meta.iv is IV for start_key. IV for end_key is calculated from (encryption_meta.iv + len(start_key)). The field is only used by PD and should be ignored otherwise. If encryption_meta is empty (i.e. nil), it means start_key and end_key are unencrypted.
.encryptionpb.EncryptionMeta encryption_meta = 6;
hasEncryptionMeta
in interface Metapb.RegionOrBuilder
public Encryptionpb.EncryptionMeta getEncryptionMeta()
Encryption metadata for start_key and end_key. encryption_meta.iv is IV for start_key. IV for end_key is calculated from (encryption_meta.iv + len(start_key)). The field is only used by PD and should be ignored otherwise. If encryption_meta is empty (i.e. nil), it means start_key and end_key are unencrypted.
.encryptionpb.EncryptionMeta encryption_meta = 6;
getEncryptionMeta
in interface Metapb.RegionOrBuilder
public Metapb.Region.Builder setEncryptionMeta(Encryptionpb.EncryptionMeta value)
Encryption metadata for start_key and end_key. encryption_meta.iv is IV for start_key. IV for end_key is calculated from (encryption_meta.iv + len(start_key)). The field is only used by PD and should be ignored otherwise. If encryption_meta is empty (i.e. nil), it means start_key and end_key are unencrypted.
.encryptionpb.EncryptionMeta encryption_meta = 6;
public Metapb.Region.Builder setEncryptionMeta(Encryptionpb.EncryptionMeta.Builder builderForValue)
Encryption metadata for start_key and end_key. encryption_meta.iv is IV for start_key. IV for end_key is calculated from (encryption_meta.iv + len(start_key)). The field is only used by PD and should be ignored otherwise. If encryption_meta is empty (i.e. nil), it means start_key and end_key are unencrypted.
.encryptionpb.EncryptionMeta encryption_meta = 6;
public Metapb.Region.Builder mergeEncryptionMeta(Encryptionpb.EncryptionMeta value)
Encryption metadata for start_key and end_key. encryption_meta.iv is IV for start_key. IV for end_key is calculated from (encryption_meta.iv + len(start_key)). The field is only used by PD and should be ignored otherwise. If encryption_meta is empty (i.e. nil), it means start_key and end_key are unencrypted.
.encryptionpb.EncryptionMeta encryption_meta = 6;
public Metapb.Region.Builder clearEncryptionMeta()
Encryption metadata for start_key and end_key. encryption_meta.iv is IV for start_key. IV for end_key is calculated from (encryption_meta.iv + len(start_key)). The field is only used by PD and should be ignored otherwise. If encryption_meta is empty (i.e. nil), it means start_key and end_key are unencrypted.
.encryptionpb.EncryptionMeta encryption_meta = 6;
public Encryptionpb.EncryptionMeta.Builder getEncryptionMetaBuilder()
Encryption metadata for start_key and end_key. encryption_meta.iv is IV for start_key. IV for end_key is calculated from (encryption_meta.iv + len(start_key)). The field is only used by PD and should be ignored otherwise. If encryption_meta is empty (i.e. nil), it means start_key and end_key are unencrypted.
.encryptionpb.EncryptionMeta encryption_meta = 6;
public Encryptionpb.EncryptionMetaOrBuilder getEncryptionMetaOrBuilder()
Encryption metadata for start_key and end_key. encryption_meta.iv is IV for start_key. IV for end_key is calculated from (encryption_meta.iv + len(start_key)). The field is only used by PD and should be ignored otherwise. If encryption_meta is empty (i.e. nil), it means start_key and end_key are unencrypted.
.encryptionpb.EncryptionMeta encryption_meta = 6;
getEncryptionMetaOrBuilder
in interface Metapb.RegionOrBuilder
public final Metapb.Region.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Metapb.Region.Builder>
public final Metapb.Region.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Metapb.Region.Builder>
Copyright © 2024 PingCAP. All rights reserved.