public static final class Kvrpcpb.SplitRegionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.SplitRegionRequest.Builder> implements Kvrpcpb.SplitRegionRequestOrBuilder
Sent from PD to a TiKV node.Protobuf type
kvrpcpb.SplitRegionRequest
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.SplitRegionRequest.Builder |
addAllSplitKeys(Iterable<? extends com.google.protobuf.ByteString> values)
when use it to do batch split, `split_key` should be empty.
|
Kvrpcpb.SplitRegionRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.SplitRegionRequest.Builder |
addSplitKeys(com.google.protobuf.ByteString value)
when use it to do batch split, `split_key` should be empty.
|
Kvrpcpb.SplitRegionRequest |
build() |
Kvrpcpb.SplitRegionRequest |
buildPartial() |
Kvrpcpb.SplitRegionRequest.Builder |
clear() |
Kvrpcpb.SplitRegionRequest.Builder |
clearContext()
.kvrpcpb.Context context = 1; |
Kvrpcpb.SplitRegionRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kvrpcpb.SplitRegionRequest.Builder |
clearIsRawKv()
Once enabled, the split_key will not be encoded.
|
Kvrpcpb.SplitRegionRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kvrpcpb.SplitRegionRequest.Builder |
clearSplitKey()
Deprecated.
|
Kvrpcpb.SplitRegionRequest.Builder |
clearSplitKeys()
when use it to do batch split, `split_key` should be empty.
|
Kvrpcpb.SplitRegionRequest.Builder |
clone() |
Kvrpcpb.Context |
getContext()
.kvrpcpb.Context context = 1; |
Kvrpcpb.Context.Builder |
getContextBuilder()
.kvrpcpb.Context context = 1; |
Kvrpcpb.ContextOrBuilder |
getContextOrBuilder()
.kvrpcpb.Context context = 1; |
Kvrpcpb.SplitRegionRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getIsRawKv()
Once enabled, the split_key will not be encoded.
|
com.google.protobuf.ByteString |
getSplitKey()
Deprecated.
|
com.google.protobuf.ByteString |
getSplitKeys(int index)
when use it to do batch split, `split_key` should be empty.
|
int |
getSplitKeysCount()
when use it to do batch split, `split_key` should be empty.
|
List<com.google.protobuf.ByteString> |
getSplitKeysList()
when use it to do batch split, `split_key` should be empty.
|
boolean |
hasContext()
.kvrpcpb.Context context = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Kvrpcpb.SplitRegionRequest.Builder |
mergeContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1; |
Kvrpcpb.SplitRegionRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kvrpcpb.SplitRegionRequest.Builder |
mergeFrom(Kvrpcpb.SplitRegionRequest other) |
Kvrpcpb.SplitRegionRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Kvrpcpb.SplitRegionRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.SplitRegionRequest.Builder |
setContext(Kvrpcpb.Context.Builder builderForValue)
.kvrpcpb.Context context = 1; |
Kvrpcpb.SplitRegionRequest.Builder |
setContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1; |
Kvrpcpb.SplitRegionRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.SplitRegionRequest.Builder |
setIsRawKv(boolean value)
Once enabled, the split_key will not be encoded.
|
Kvrpcpb.SplitRegionRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kvrpcpb.SplitRegionRequest.Builder |
setSplitKey(com.google.protobuf.ByteString value)
Deprecated.
|
Kvrpcpb.SplitRegionRequest.Builder |
setSplitKeys(int index,
com.google.protobuf.ByteString value)
when use it to do batch split, `split_key` should be empty.
|
Kvrpcpb.SplitRegionRequest.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<Kvrpcpb.SplitRegionRequest.Builder>
public Kvrpcpb.SplitRegionRequest.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<Kvrpcpb.SplitRegionRequest.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<Kvrpcpb.SplitRegionRequest.Builder>
public Kvrpcpb.SplitRegionRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Kvrpcpb.SplitRegionRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.SplitRegionRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.SplitRegionRequest.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<Kvrpcpb.SplitRegionRequest.Builder>
public Kvrpcpb.SplitRegionRequest.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<Kvrpcpb.SplitRegionRequest.Builder>
public Kvrpcpb.SplitRegionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.SplitRegionRequest.Builder>
public Kvrpcpb.SplitRegionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.SplitRegionRequest.Builder>
public Kvrpcpb.SplitRegionRequest.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<Kvrpcpb.SplitRegionRequest.Builder>
public Kvrpcpb.SplitRegionRequest.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<Kvrpcpb.SplitRegionRequest.Builder>
public Kvrpcpb.SplitRegionRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Kvrpcpb.SplitRegionRequest.Builder>
public Kvrpcpb.SplitRegionRequest.Builder mergeFrom(Kvrpcpb.SplitRegionRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.SplitRegionRequest.Builder>
public Kvrpcpb.SplitRegionRequest.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<Kvrpcpb.SplitRegionRequest.Builder>
IOException
public boolean hasContext()
.kvrpcpb.Context context = 1;
hasContext
in interface Kvrpcpb.SplitRegionRequestOrBuilder
public Kvrpcpb.Context getContext()
.kvrpcpb.Context context = 1;
getContext
in interface Kvrpcpb.SplitRegionRequestOrBuilder
public Kvrpcpb.SplitRegionRequest.Builder setContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1;
public Kvrpcpb.SplitRegionRequest.Builder setContext(Kvrpcpb.Context.Builder builderForValue)
.kvrpcpb.Context context = 1;
public Kvrpcpb.SplitRegionRequest.Builder mergeContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1;
public Kvrpcpb.SplitRegionRequest.Builder clearContext()
.kvrpcpb.Context context = 1;
public Kvrpcpb.Context.Builder getContextBuilder()
.kvrpcpb.Context context = 1;
public Kvrpcpb.ContextOrBuilder getContextOrBuilder()
.kvrpcpb.Context context = 1;
getContextOrBuilder
in interface Kvrpcpb.SplitRegionRequestOrBuilder
@Deprecated public com.google.protobuf.ByteString getSplitKey()
bytes split_key = 2 [deprecated = true];
getSplitKey
in interface Kvrpcpb.SplitRegionRequestOrBuilder
@Deprecated public Kvrpcpb.SplitRegionRequest.Builder setSplitKey(com.google.protobuf.ByteString value)
bytes split_key = 2 [deprecated = true];
value
- The splitKey to set.@Deprecated public Kvrpcpb.SplitRegionRequest.Builder clearSplitKey()
bytes split_key = 2 [deprecated = true];
public List<com.google.protobuf.ByteString> getSplitKeysList()
when use it to do batch split, `split_key` should be empty.
repeated bytes split_keys = 3;
getSplitKeysList
in interface Kvrpcpb.SplitRegionRequestOrBuilder
public int getSplitKeysCount()
when use it to do batch split, `split_key` should be empty.
repeated bytes split_keys = 3;
getSplitKeysCount
in interface Kvrpcpb.SplitRegionRequestOrBuilder
public com.google.protobuf.ByteString getSplitKeys(int index)
when use it to do batch split, `split_key` should be empty.
repeated bytes split_keys = 3;
getSplitKeys
in interface Kvrpcpb.SplitRegionRequestOrBuilder
index
- The index of the element to return.public Kvrpcpb.SplitRegionRequest.Builder setSplitKeys(int index, com.google.protobuf.ByteString value)
when use it to do batch split, `split_key` should be empty.
repeated bytes split_keys = 3;
index
- The index to set the value at.value
- The splitKeys to set.public Kvrpcpb.SplitRegionRequest.Builder addSplitKeys(com.google.protobuf.ByteString value)
when use it to do batch split, `split_key` should be empty.
repeated bytes split_keys = 3;
value
- The splitKeys to add.public Kvrpcpb.SplitRegionRequest.Builder addAllSplitKeys(Iterable<? extends com.google.protobuf.ByteString> values)
when use it to do batch split, `split_key` should be empty.
repeated bytes split_keys = 3;
values
- The splitKeys to add.public Kvrpcpb.SplitRegionRequest.Builder clearSplitKeys()
when use it to do batch split, `split_key` should be empty.
repeated bytes split_keys = 3;
public boolean getIsRawKv()
Once enabled, the split_key will not be encoded.
bool is_raw_kv = 4;
getIsRawKv
in interface Kvrpcpb.SplitRegionRequestOrBuilder
public Kvrpcpb.SplitRegionRequest.Builder setIsRawKv(boolean value)
Once enabled, the split_key will not be encoded.
bool is_raw_kv = 4;
value
- The isRawKv to set.public Kvrpcpb.SplitRegionRequest.Builder clearIsRawKv()
Once enabled, the split_key will not be encoded.
bool is_raw_kv = 4;
public final Kvrpcpb.SplitRegionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.SplitRegionRequest.Builder>
public final Kvrpcpb.SplitRegionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.SplitRegionRequest.Builder>
Copyright © 2024 PingCAP. All rights reserved.