public static final class Pdpb.SplitRegion.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.SplitRegion.Builder> implements Pdpb.SplitRegionOrBuilder
pdpb.SplitRegion
Modifier and Type | Method and Description |
---|---|
Pdpb.SplitRegion.Builder |
addAllKeys(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes keys = 2; |
Pdpb.SplitRegion.Builder |
addKeys(com.google.protobuf.ByteString value)
repeated bytes keys = 2; |
Pdpb.SplitRegion.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Pdpb.SplitRegion |
build() |
Pdpb.SplitRegion |
buildPartial() |
Pdpb.SplitRegion.Builder |
clear() |
Pdpb.SplitRegion.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Pdpb.SplitRegion.Builder |
clearKeys()
repeated bytes keys = 2; |
Pdpb.SplitRegion.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Pdpb.SplitRegion.Builder |
clearPolicy()
.pdpb.CheckPolicy policy = 1; |
Pdpb.SplitRegion.Builder |
clone() |
Pdpb.SplitRegion |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getKeys(int index)
repeated bytes keys = 2; |
int |
getKeysCount()
repeated bytes keys = 2; |
List<com.google.protobuf.ByteString> |
getKeysList()
repeated bytes keys = 2; |
Pdpb.CheckPolicy |
getPolicy()
.pdpb.CheckPolicy policy = 1; |
int |
getPolicyValue()
.pdpb.CheckPolicy policy = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Pdpb.SplitRegion.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Pdpb.SplitRegion.Builder |
mergeFrom(com.google.protobuf.Message other) |
Pdpb.SplitRegion.Builder |
mergeFrom(Pdpb.SplitRegion other) |
Pdpb.SplitRegion.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Pdpb.SplitRegion.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Pdpb.SplitRegion.Builder |
setKeys(int index,
com.google.protobuf.ByteString value)
repeated bytes keys = 2; |
Pdpb.SplitRegion.Builder |
setPolicy(Pdpb.CheckPolicy value)
.pdpb.CheckPolicy policy = 1; |
Pdpb.SplitRegion.Builder |
setPolicyValue(int value)
.pdpb.CheckPolicy policy = 1; |
Pdpb.SplitRegion.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Pdpb.SplitRegion.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<Pdpb.SplitRegion.Builder>
public Pdpb.SplitRegion.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<Pdpb.SplitRegion.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<Pdpb.SplitRegion.Builder>
public Pdpb.SplitRegion getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Pdpb.SplitRegion build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Pdpb.SplitRegion buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Pdpb.SplitRegion.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<Pdpb.SplitRegion.Builder>
public Pdpb.SplitRegion.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<Pdpb.SplitRegion.Builder>
public Pdpb.SplitRegion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.SplitRegion.Builder>
public Pdpb.SplitRegion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.SplitRegion.Builder>
public Pdpb.SplitRegion.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<Pdpb.SplitRegion.Builder>
public Pdpb.SplitRegion.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<Pdpb.SplitRegion.Builder>
public Pdpb.SplitRegion.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Pdpb.SplitRegion.Builder>
public Pdpb.SplitRegion.Builder mergeFrom(Pdpb.SplitRegion other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.SplitRegion.Builder>
public Pdpb.SplitRegion.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<Pdpb.SplitRegion.Builder>
IOException
public int getPolicyValue()
.pdpb.CheckPolicy policy = 1;
getPolicyValue
in interface Pdpb.SplitRegionOrBuilder
public Pdpb.SplitRegion.Builder setPolicyValue(int value)
.pdpb.CheckPolicy policy = 1;
value
- The enum numeric value on the wire for policy to set.public Pdpb.CheckPolicy getPolicy()
.pdpb.CheckPolicy policy = 1;
getPolicy
in interface Pdpb.SplitRegionOrBuilder
public Pdpb.SplitRegion.Builder setPolicy(Pdpb.CheckPolicy value)
.pdpb.CheckPolicy policy = 1;
value
- The policy to set.public Pdpb.SplitRegion.Builder clearPolicy()
.pdpb.CheckPolicy policy = 1;
public List<com.google.protobuf.ByteString> getKeysList()
repeated bytes keys = 2;
getKeysList
in interface Pdpb.SplitRegionOrBuilder
public int getKeysCount()
repeated bytes keys = 2;
getKeysCount
in interface Pdpb.SplitRegionOrBuilder
public com.google.protobuf.ByteString getKeys(int index)
repeated bytes keys = 2;
getKeys
in interface Pdpb.SplitRegionOrBuilder
index
- The index of the element to return.public Pdpb.SplitRegion.Builder setKeys(int index, com.google.protobuf.ByteString value)
repeated bytes keys = 2;
index
- The index to set the value at.value
- The keys to set.public Pdpb.SplitRegion.Builder addKeys(com.google.protobuf.ByteString value)
repeated bytes keys = 2;
value
- The keys to add.public Pdpb.SplitRegion.Builder addAllKeys(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes keys = 2;
values
- The keys to add.public Pdpb.SplitRegion.Builder clearKeys()
repeated bytes keys = 2;
public final Pdpb.SplitRegion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.SplitRegion.Builder>
public final Pdpb.SplitRegion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.SplitRegion.Builder>
Copyright © 2024 PingCAP. All rights reserved.