public static final class Pdpb.ScatterRegionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.ScatterRegionRequest.Builder> implements Pdpb.ScatterRegionRequestOrBuilder
pdpb.ScatterRegionRequest
Modifier and Type | Method and Description |
---|---|
Pdpb.ScatterRegionRequest.Builder |
addAllRegionsId(Iterable<? extends Long> values)
If regions_id is defined, the region_id would be ignored.
|
Pdpb.ScatterRegionRequest.Builder |
addRegionsId(long value)
If regions_id is defined, the region_id would be ignored.
|
Pdpb.ScatterRegionRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Pdpb.ScatterRegionRequest |
build() |
Pdpb.ScatterRegionRequest |
buildPartial() |
Pdpb.ScatterRegionRequest.Builder |
clear() |
Pdpb.ScatterRegionRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Pdpb.ScatterRegionRequest.Builder |
clearGroup()
If group is defined, the regions with the same group would be scattered as a whole group.
|
Pdpb.ScatterRegionRequest.Builder |
clearHeader()
.pdpb.RequestHeader header = 1; |
Pdpb.ScatterRegionRequest.Builder |
clearLeader()
.metapb.Peer leader = 4; |
Pdpb.ScatterRegionRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Pdpb.ScatterRegionRequest.Builder |
clearRegion()
PD will use these region information if it can't find the region.
|
Pdpb.ScatterRegionRequest.Builder |
clearRegionId()
Deprecated.
|
Pdpb.ScatterRegionRequest.Builder |
clearRegionsId()
If regions_id is defined, the region_id would be ignored.
|
Pdpb.ScatterRegionRequest.Builder |
clearRetryLimit()
uint64 retry_limit = 7; |
Pdpb.ScatterRegionRequest.Builder |
clone() |
Pdpb.ScatterRegionRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getGroup()
If group is defined, the regions with the same group would be scattered as a whole group.
|
com.google.protobuf.ByteString |
getGroupBytes()
If group is defined, the regions with the same group would be scattered as a whole group.
|
Pdpb.RequestHeader |
getHeader()
.pdpb.RequestHeader header = 1; |
Pdpb.RequestHeader.Builder |
getHeaderBuilder()
.pdpb.RequestHeader header = 1; |
Pdpb.RequestHeaderOrBuilder |
getHeaderOrBuilder()
.pdpb.RequestHeader header = 1; |
Metapb.Peer |
getLeader()
.metapb.Peer leader = 4; |
Metapb.Peer.Builder |
getLeaderBuilder()
.metapb.Peer leader = 4; |
Metapb.PeerOrBuilder |
getLeaderOrBuilder()
.metapb.Peer leader = 4; |
Metapb.Region |
getRegion()
PD will use these region information if it can't find the region.
|
Metapb.Region.Builder |
getRegionBuilder()
PD will use these region information if it can't find the region.
|
long |
getRegionId()
Deprecated.
|
Metapb.RegionOrBuilder |
getRegionOrBuilder()
PD will use these region information if it can't find the region.
|
long |
getRegionsId(int index)
If regions_id is defined, the region_id would be ignored.
|
int |
getRegionsIdCount()
If regions_id is defined, the region_id would be ignored.
|
List<Long> |
getRegionsIdList()
If regions_id is defined, the region_id would be ignored.
|
long |
getRetryLimit()
uint64 retry_limit = 7; |
boolean |
hasHeader()
.pdpb.RequestHeader header = 1; |
boolean |
hasLeader()
.metapb.Peer leader = 4; |
boolean |
hasRegion()
PD will use these region information if it can't find the region.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Pdpb.ScatterRegionRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Pdpb.ScatterRegionRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Pdpb.ScatterRegionRequest.Builder |
mergeFrom(Pdpb.ScatterRegionRequest other) |
Pdpb.ScatterRegionRequest.Builder |
mergeHeader(Pdpb.RequestHeader value)
.pdpb.RequestHeader header = 1; |
Pdpb.ScatterRegionRequest.Builder |
mergeLeader(Metapb.Peer value)
.metapb.Peer leader = 4; |
Pdpb.ScatterRegionRequest.Builder |
mergeRegion(Metapb.Region value)
PD will use these region information if it can't find the region.
|
Pdpb.ScatterRegionRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Pdpb.ScatterRegionRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Pdpb.ScatterRegionRequest.Builder |
setGroup(String value)
If group is defined, the regions with the same group would be scattered as a whole group.
|
Pdpb.ScatterRegionRequest.Builder |
setGroupBytes(com.google.protobuf.ByteString value)
If group is defined, the regions with the same group would be scattered as a whole group.
|
Pdpb.ScatterRegionRequest.Builder |
setHeader(Pdpb.RequestHeader.Builder builderForValue)
.pdpb.RequestHeader header = 1; |
Pdpb.ScatterRegionRequest.Builder |
setHeader(Pdpb.RequestHeader value)
.pdpb.RequestHeader header = 1; |
Pdpb.ScatterRegionRequest.Builder |
setLeader(Metapb.Peer.Builder builderForValue)
.metapb.Peer leader = 4; |
Pdpb.ScatterRegionRequest.Builder |
setLeader(Metapb.Peer value)
.metapb.Peer leader = 4; |
Pdpb.ScatterRegionRequest.Builder |
setRegion(Metapb.Region.Builder builderForValue)
PD will use these region information if it can't find the region.
|
Pdpb.ScatterRegionRequest.Builder |
setRegion(Metapb.Region value)
PD will use these region information if it can't find the region.
|
Pdpb.ScatterRegionRequest.Builder |
setRegionId(long value)
Deprecated.
|
Pdpb.ScatterRegionRequest.Builder |
setRegionsId(int index,
long value)
If regions_id is defined, the region_id would be ignored.
|
Pdpb.ScatterRegionRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Pdpb.ScatterRegionRequest.Builder |
setRetryLimit(long value)
uint64 retry_limit = 7; |
Pdpb.ScatterRegionRequest.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.ScatterRegionRequest.Builder>
public Pdpb.ScatterRegionRequest.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.ScatterRegionRequest.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.ScatterRegionRequest.Builder>
public Pdpb.ScatterRegionRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Pdpb.ScatterRegionRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Pdpb.ScatterRegionRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Pdpb.ScatterRegionRequest.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.ScatterRegionRequest.Builder>
public Pdpb.ScatterRegionRequest.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.ScatterRegionRequest.Builder>
public Pdpb.ScatterRegionRequest.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.ScatterRegionRequest.Builder>
public Pdpb.ScatterRegionRequest.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.ScatterRegionRequest.Builder>
public Pdpb.ScatterRegionRequest.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.ScatterRegionRequest.Builder>
public Pdpb.ScatterRegionRequest.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.ScatterRegionRequest.Builder>
public Pdpb.ScatterRegionRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Pdpb.ScatterRegionRequest.Builder>
public Pdpb.ScatterRegionRequest.Builder mergeFrom(Pdpb.ScatterRegionRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.ScatterRegionRequest.Builder>
public Pdpb.ScatterRegionRequest.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.ScatterRegionRequest.Builder>
IOException
public boolean hasHeader()
.pdpb.RequestHeader header = 1;
hasHeader
in interface Pdpb.ScatterRegionRequestOrBuilder
public Pdpb.RequestHeader getHeader()
.pdpb.RequestHeader header = 1;
getHeader
in interface Pdpb.ScatterRegionRequestOrBuilder
public Pdpb.ScatterRegionRequest.Builder setHeader(Pdpb.RequestHeader value)
.pdpb.RequestHeader header = 1;
public Pdpb.ScatterRegionRequest.Builder setHeader(Pdpb.RequestHeader.Builder builderForValue)
.pdpb.RequestHeader header = 1;
public Pdpb.ScatterRegionRequest.Builder mergeHeader(Pdpb.RequestHeader value)
.pdpb.RequestHeader header = 1;
public Pdpb.ScatterRegionRequest.Builder clearHeader()
.pdpb.RequestHeader header = 1;
public Pdpb.RequestHeader.Builder getHeaderBuilder()
.pdpb.RequestHeader header = 1;
public Pdpb.RequestHeaderOrBuilder getHeaderOrBuilder()
.pdpb.RequestHeader header = 1;
getHeaderOrBuilder
in interface Pdpb.ScatterRegionRequestOrBuilder
@Deprecated public long getRegionId()
uint64 region_id = 2 [deprecated = true];
getRegionId
in interface Pdpb.ScatterRegionRequestOrBuilder
@Deprecated public Pdpb.ScatterRegionRequest.Builder setRegionId(long value)
uint64 region_id = 2 [deprecated = true];
value
- The regionId to set.@Deprecated public Pdpb.ScatterRegionRequest.Builder clearRegionId()
uint64 region_id = 2 [deprecated = true];
public boolean hasRegion()
PD will use these region information if it can't find the region. For example, the region is just split and hasn't report to PD yet.
.metapb.Region region = 3;
hasRegion
in interface Pdpb.ScatterRegionRequestOrBuilder
public Metapb.Region getRegion()
PD will use these region information if it can't find the region. For example, the region is just split and hasn't report to PD yet.
.metapb.Region region = 3;
getRegion
in interface Pdpb.ScatterRegionRequestOrBuilder
public Pdpb.ScatterRegionRequest.Builder setRegion(Metapb.Region value)
PD will use these region information if it can't find the region. For example, the region is just split and hasn't report to PD yet.
.metapb.Region region = 3;
public Pdpb.ScatterRegionRequest.Builder setRegion(Metapb.Region.Builder builderForValue)
PD will use these region information if it can't find the region. For example, the region is just split and hasn't report to PD yet.
.metapb.Region region = 3;
public Pdpb.ScatterRegionRequest.Builder mergeRegion(Metapb.Region value)
PD will use these region information if it can't find the region. For example, the region is just split and hasn't report to PD yet.
.metapb.Region region = 3;
public Pdpb.ScatterRegionRequest.Builder clearRegion()
PD will use these region information if it can't find the region. For example, the region is just split and hasn't report to PD yet.
.metapb.Region region = 3;
public Metapb.Region.Builder getRegionBuilder()
PD will use these region information if it can't find the region. For example, the region is just split and hasn't report to PD yet.
.metapb.Region region = 3;
public Metapb.RegionOrBuilder getRegionOrBuilder()
PD will use these region information if it can't find the region. For example, the region is just split and hasn't report to PD yet.
.metapb.Region region = 3;
getRegionOrBuilder
in interface Pdpb.ScatterRegionRequestOrBuilder
public boolean hasLeader()
.metapb.Peer leader = 4;
hasLeader
in interface Pdpb.ScatterRegionRequestOrBuilder
public Metapb.Peer getLeader()
.metapb.Peer leader = 4;
getLeader
in interface Pdpb.ScatterRegionRequestOrBuilder
public Pdpb.ScatterRegionRequest.Builder setLeader(Metapb.Peer value)
.metapb.Peer leader = 4;
public Pdpb.ScatterRegionRequest.Builder setLeader(Metapb.Peer.Builder builderForValue)
.metapb.Peer leader = 4;
public Pdpb.ScatterRegionRequest.Builder mergeLeader(Metapb.Peer value)
.metapb.Peer leader = 4;
public Pdpb.ScatterRegionRequest.Builder clearLeader()
.metapb.Peer leader = 4;
public Metapb.Peer.Builder getLeaderBuilder()
.metapb.Peer leader = 4;
public Metapb.PeerOrBuilder getLeaderOrBuilder()
.metapb.Peer leader = 4;
getLeaderOrBuilder
in interface Pdpb.ScatterRegionRequestOrBuilder
public String getGroup()
If group is defined, the regions with the same group would be scattered as a whole group. If not defined, the regions would be scattered in a cluster level.
string group = 5;
getGroup
in interface Pdpb.ScatterRegionRequestOrBuilder
public com.google.protobuf.ByteString getGroupBytes()
If group is defined, the regions with the same group would be scattered as a whole group. If not defined, the regions would be scattered in a cluster level.
string group = 5;
getGroupBytes
in interface Pdpb.ScatterRegionRequestOrBuilder
public Pdpb.ScatterRegionRequest.Builder setGroup(String value)
If group is defined, the regions with the same group would be scattered as a whole group. If not defined, the regions would be scattered in a cluster level.
string group = 5;
value
- The group to set.public Pdpb.ScatterRegionRequest.Builder clearGroup()
If group is defined, the regions with the same group would be scattered as a whole group. If not defined, the regions would be scattered in a cluster level.
string group = 5;
public Pdpb.ScatterRegionRequest.Builder setGroupBytes(com.google.protobuf.ByteString value)
If group is defined, the regions with the same group would be scattered as a whole group. If not defined, the regions would be scattered in a cluster level.
string group = 5;
value
- The bytes for group to set.public List<Long> getRegionsIdList()
If regions_id is defined, the region_id would be ignored.
repeated uint64 regions_id = 6;
getRegionsIdList
in interface Pdpb.ScatterRegionRequestOrBuilder
public int getRegionsIdCount()
If regions_id is defined, the region_id would be ignored.
repeated uint64 regions_id = 6;
getRegionsIdCount
in interface Pdpb.ScatterRegionRequestOrBuilder
public long getRegionsId(int index)
If regions_id is defined, the region_id would be ignored.
repeated uint64 regions_id = 6;
getRegionsId
in interface Pdpb.ScatterRegionRequestOrBuilder
index
- The index of the element to return.public Pdpb.ScatterRegionRequest.Builder setRegionsId(int index, long value)
If regions_id is defined, the region_id would be ignored.
repeated uint64 regions_id = 6;
index
- The index to set the value at.value
- The regionsId to set.public Pdpb.ScatterRegionRequest.Builder addRegionsId(long value)
If regions_id is defined, the region_id would be ignored.
repeated uint64 regions_id = 6;
value
- The regionsId to add.public Pdpb.ScatterRegionRequest.Builder addAllRegionsId(Iterable<? extends Long> values)
If regions_id is defined, the region_id would be ignored.
repeated uint64 regions_id = 6;
values
- The regionsId to add.public Pdpb.ScatterRegionRequest.Builder clearRegionsId()
If regions_id is defined, the region_id would be ignored.
repeated uint64 regions_id = 6;
public long getRetryLimit()
uint64 retry_limit = 7;
getRetryLimit
in interface Pdpb.ScatterRegionRequestOrBuilder
public Pdpb.ScatterRegionRequest.Builder setRetryLimit(long value)
uint64 retry_limit = 7;
value
- The retryLimit to set.public Pdpb.ScatterRegionRequest.Builder clearRetryLimit()
uint64 retry_limit = 7;
public final Pdpb.ScatterRegionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.ScatterRegionRequest.Builder>
public final Pdpb.ScatterRegionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.ScatterRegionRequest.Builder>
Copyright © 2024 PingCAP. All rights reserved.