public static final class RaftCmdpb.BatchSplitRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.BatchSplitRequest.Builder> implements RaftCmdpb.BatchSplitRequestOrBuilder
raft_cmdpb.BatchSplitRequest
Modifier and Type | Method and Description |
---|---|
RaftCmdpb.BatchSplitRequest.Builder |
addAllRequests(Iterable<? extends RaftCmdpb.SplitRequest> values)
repeated .raft_cmdpb.SplitRequest requests = 1; |
RaftCmdpb.BatchSplitRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RaftCmdpb.BatchSplitRequest.Builder |
addRequests(int index,
RaftCmdpb.SplitRequest.Builder builderForValue)
repeated .raft_cmdpb.SplitRequest requests = 1; |
RaftCmdpb.BatchSplitRequest.Builder |
addRequests(int index,
RaftCmdpb.SplitRequest value)
repeated .raft_cmdpb.SplitRequest requests = 1; |
RaftCmdpb.BatchSplitRequest.Builder |
addRequests(RaftCmdpb.SplitRequest.Builder builderForValue)
repeated .raft_cmdpb.SplitRequest requests = 1; |
RaftCmdpb.BatchSplitRequest.Builder |
addRequests(RaftCmdpb.SplitRequest value)
repeated .raft_cmdpb.SplitRequest requests = 1; |
RaftCmdpb.SplitRequest.Builder |
addRequestsBuilder()
repeated .raft_cmdpb.SplitRequest requests = 1; |
RaftCmdpb.SplitRequest.Builder |
addRequestsBuilder(int index)
repeated .raft_cmdpb.SplitRequest requests = 1; |
RaftCmdpb.BatchSplitRequest |
build() |
RaftCmdpb.BatchSplitRequest |
buildPartial() |
RaftCmdpb.BatchSplitRequest.Builder |
clear() |
RaftCmdpb.BatchSplitRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RaftCmdpb.BatchSplitRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RaftCmdpb.BatchSplitRequest.Builder |
clearRequests()
repeated .raft_cmdpb.SplitRequest requests = 1; |
RaftCmdpb.BatchSplitRequest.Builder |
clearRightDerive()
If true, the last region derive the origin region_id,
other regions use new ids.
|
RaftCmdpb.BatchSplitRequest.Builder |
clone() |
RaftCmdpb.BatchSplitRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RaftCmdpb.SplitRequest |
getRequests(int index)
repeated .raft_cmdpb.SplitRequest requests = 1; |
RaftCmdpb.SplitRequest.Builder |
getRequestsBuilder(int index)
repeated .raft_cmdpb.SplitRequest requests = 1; |
List<RaftCmdpb.SplitRequest.Builder> |
getRequestsBuilderList()
repeated .raft_cmdpb.SplitRequest requests = 1; |
int |
getRequestsCount()
repeated .raft_cmdpb.SplitRequest requests = 1; |
List<RaftCmdpb.SplitRequest> |
getRequestsList()
repeated .raft_cmdpb.SplitRequest requests = 1; |
RaftCmdpb.SplitRequestOrBuilder |
getRequestsOrBuilder(int index)
repeated .raft_cmdpb.SplitRequest requests = 1; |
List<? extends RaftCmdpb.SplitRequestOrBuilder> |
getRequestsOrBuilderList()
repeated .raft_cmdpb.SplitRequest requests = 1; |
boolean |
getRightDerive()
If true, the last region derive the origin region_id,
other regions use new ids.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RaftCmdpb.BatchSplitRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RaftCmdpb.BatchSplitRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
RaftCmdpb.BatchSplitRequest.Builder |
mergeFrom(RaftCmdpb.BatchSplitRequest other) |
RaftCmdpb.BatchSplitRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RaftCmdpb.BatchSplitRequest.Builder |
removeRequests(int index)
repeated .raft_cmdpb.SplitRequest requests = 1; |
RaftCmdpb.BatchSplitRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RaftCmdpb.BatchSplitRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RaftCmdpb.BatchSplitRequest.Builder |
setRequests(int index,
RaftCmdpb.SplitRequest.Builder builderForValue)
repeated .raft_cmdpb.SplitRequest requests = 1; |
RaftCmdpb.BatchSplitRequest.Builder |
setRequests(int index,
RaftCmdpb.SplitRequest value)
repeated .raft_cmdpb.SplitRequest requests = 1; |
RaftCmdpb.BatchSplitRequest.Builder |
setRightDerive(boolean value)
If true, the last region derive the origin region_id,
other regions use new ids.
|
RaftCmdpb.BatchSplitRequest.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<RaftCmdpb.BatchSplitRequest.Builder>
public RaftCmdpb.BatchSplitRequest.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<RaftCmdpb.BatchSplitRequest.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<RaftCmdpb.BatchSplitRequest.Builder>
public RaftCmdpb.BatchSplitRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RaftCmdpb.BatchSplitRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RaftCmdpb.BatchSplitRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RaftCmdpb.BatchSplitRequest.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<RaftCmdpb.BatchSplitRequest.Builder>
public RaftCmdpb.BatchSplitRequest.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<RaftCmdpb.BatchSplitRequest.Builder>
public RaftCmdpb.BatchSplitRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.BatchSplitRequest.Builder>
public RaftCmdpb.BatchSplitRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.BatchSplitRequest.Builder>
public RaftCmdpb.BatchSplitRequest.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<RaftCmdpb.BatchSplitRequest.Builder>
public RaftCmdpb.BatchSplitRequest.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<RaftCmdpb.BatchSplitRequest.Builder>
public RaftCmdpb.BatchSplitRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RaftCmdpb.BatchSplitRequest.Builder>
public RaftCmdpb.BatchSplitRequest.Builder mergeFrom(RaftCmdpb.BatchSplitRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.BatchSplitRequest.Builder>
public RaftCmdpb.BatchSplitRequest.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<RaftCmdpb.BatchSplitRequest.Builder>
IOException
public List<RaftCmdpb.SplitRequest> getRequestsList()
repeated .raft_cmdpb.SplitRequest requests = 1;
getRequestsList
in interface RaftCmdpb.BatchSplitRequestOrBuilder
public int getRequestsCount()
repeated .raft_cmdpb.SplitRequest requests = 1;
getRequestsCount
in interface RaftCmdpb.BatchSplitRequestOrBuilder
public RaftCmdpb.SplitRequest getRequests(int index)
repeated .raft_cmdpb.SplitRequest requests = 1;
getRequests
in interface RaftCmdpb.BatchSplitRequestOrBuilder
public RaftCmdpb.BatchSplitRequest.Builder setRequests(int index, RaftCmdpb.SplitRequest value)
repeated .raft_cmdpb.SplitRequest requests = 1;
public RaftCmdpb.BatchSplitRequest.Builder setRequests(int index, RaftCmdpb.SplitRequest.Builder builderForValue)
repeated .raft_cmdpb.SplitRequest requests = 1;
public RaftCmdpb.BatchSplitRequest.Builder addRequests(RaftCmdpb.SplitRequest value)
repeated .raft_cmdpb.SplitRequest requests = 1;
public RaftCmdpb.BatchSplitRequest.Builder addRequests(int index, RaftCmdpb.SplitRequest value)
repeated .raft_cmdpb.SplitRequest requests = 1;
public RaftCmdpb.BatchSplitRequest.Builder addRequests(RaftCmdpb.SplitRequest.Builder builderForValue)
repeated .raft_cmdpb.SplitRequest requests = 1;
public RaftCmdpb.BatchSplitRequest.Builder addRequests(int index, RaftCmdpb.SplitRequest.Builder builderForValue)
repeated .raft_cmdpb.SplitRequest requests = 1;
public RaftCmdpb.BatchSplitRequest.Builder addAllRequests(Iterable<? extends RaftCmdpb.SplitRequest> values)
repeated .raft_cmdpb.SplitRequest requests = 1;
public RaftCmdpb.BatchSplitRequest.Builder clearRequests()
repeated .raft_cmdpb.SplitRequest requests = 1;
public RaftCmdpb.BatchSplitRequest.Builder removeRequests(int index)
repeated .raft_cmdpb.SplitRequest requests = 1;
public RaftCmdpb.SplitRequest.Builder getRequestsBuilder(int index)
repeated .raft_cmdpb.SplitRequest requests = 1;
public RaftCmdpb.SplitRequestOrBuilder getRequestsOrBuilder(int index)
repeated .raft_cmdpb.SplitRequest requests = 1;
getRequestsOrBuilder
in interface RaftCmdpb.BatchSplitRequestOrBuilder
public List<? extends RaftCmdpb.SplitRequestOrBuilder> getRequestsOrBuilderList()
repeated .raft_cmdpb.SplitRequest requests = 1;
getRequestsOrBuilderList
in interface RaftCmdpb.BatchSplitRequestOrBuilder
public RaftCmdpb.SplitRequest.Builder addRequestsBuilder()
repeated .raft_cmdpb.SplitRequest requests = 1;
public RaftCmdpb.SplitRequest.Builder addRequestsBuilder(int index)
repeated .raft_cmdpb.SplitRequest requests = 1;
public List<RaftCmdpb.SplitRequest.Builder> getRequestsBuilderList()
repeated .raft_cmdpb.SplitRequest requests = 1;
public boolean getRightDerive()
If true, the last region derive the origin region_id, other regions use new ids.
bool right_derive = 2;
getRightDerive
in interface RaftCmdpb.BatchSplitRequestOrBuilder
public RaftCmdpb.BatchSplitRequest.Builder setRightDerive(boolean value)
If true, the last region derive the origin region_id, other regions use new ids.
bool right_derive = 2;
value
- The rightDerive to set.public RaftCmdpb.BatchSplitRequest.Builder clearRightDerive()
If true, the last region derive the origin region_id, other regions use new ids.
bool right_derive = 2;
public final RaftCmdpb.BatchSplitRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.BatchSplitRequest.Builder>
public final RaftCmdpb.BatchSplitRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.BatchSplitRequest.Builder>
Copyright © 2024 PingCAP. All rights reserved.