public static final class Pdpb.AskSplitResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.AskSplitResponse.Builder> implements Pdpb.AskSplitResponseOrBuilder
pdpb.AskSplitResponse
Modifier and Type | Method and Description |
---|---|
Pdpb.AskSplitResponse.Builder |
addAllNewPeerIds(Iterable<? extends Long> values)
The peer ids for the new split region.
|
Pdpb.AskSplitResponse.Builder |
addNewPeerIds(long value)
The peer ids for the new split region.
|
Pdpb.AskSplitResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Pdpb.AskSplitResponse |
build() |
Pdpb.AskSplitResponse |
buildPartial() |
Pdpb.AskSplitResponse.Builder |
clear() |
Pdpb.AskSplitResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Pdpb.AskSplitResponse.Builder |
clearHeader()
.pdpb.ResponseHeader header = 1; |
Pdpb.AskSplitResponse.Builder |
clearNewPeerIds()
The peer ids for the new split region.
|
Pdpb.AskSplitResponse.Builder |
clearNewRegionId()
We split the region into two, first uses the origin
parent region id, and the second uses the new_region_id.
|
Pdpb.AskSplitResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Pdpb.AskSplitResponse.Builder |
clone() |
Pdpb.AskSplitResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Pdpb.ResponseHeader |
getHeader()
.pdpb.ResponseHeader header = 1; |
Pdpb.ResponseHeader.Builder |
getHeaderBuilder()
.pdpb.ResponseHeader header = 1; |
Pdpb.ResponseHeaderOrBuilder |
getHeaderOrBuilder()
.pdpb.ResponseHeader header = 1; |
long |
getNewPeerIds(int index)
The peer ids for the new split region.
|
int |
getNewPeerIdsCount()
The peer ids for the new split region.
|
List<Long> |
getNewPeerIdsList()
The peer ids for the new split region.
|
long |
getNewRegionId()
We split the region into two, first uses the origin
parent region id, and the second uses the new_region_id.
|
boolean |
hasHeader()
.pdpb.ResponseHeader header = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Pdpb.AskSplitResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Pdpb.AskSplitResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
Pdpb.AskSplitResponse.Builder |
mergeFrom(Pdpb.AskSplitResponse other) |
Pdpb.AskSplitResponse.Builder |
mergeHeader(Pdpb.ResponseHeader value)
.pdpb.ResponseHeader header = 1; |
Pdpb.AskSplitResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Pdpb.AskSplitResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Pdpb.AskSplitResponse.Builder |
setHeader(Pdpb.ResponseHeader.Builder builderForValue)
.pdpb.ResponseHeader header = 1; |
Pdpb.AskSplitResponse.Builder |
setHeader(Pdpb.ResponseHeader value)
.pdpb.ResponseHeader header = 1; |
Pdpb.AskSplitResponse.Builder |
setNewPeerIds(int index,
long value)
The peer ids for the new split region.
|
Pdpb.AskSplitResponse.Builder |
setNewRegionId(long value)
We split the region into two, first uses the origin
parent region id, and the second uses the new_region_id.
|
Pdpb.AskSplitResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Pdpb.AskSplitResponse.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.AskSplitResponse.Builder>
public Pdpb.AskSplitResponse.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.AskSplitResponse.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.AskSplitResponse.Builder>
public Pdpb.AskSplitResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Pdpb.AskSplitResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Pdpb.AskSplitResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Pdpb.AskSplitResponse.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.AskSplitResponse.Builder>
public Pdpb.AskSplitResponse.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.AskSplitResponse.Builder>
public Pdpb.AskSplitResponse.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.AskSplitResponse.Builder>
public Pdpb.AskSplitResponse.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.AskSplitResponse.Builder>
public Pdpb.AskSplitResponse.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.AskSplitResponse.Builder>
public Pdpb.AskSplitResponse.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.AskSplitResponse.Builder>
public Pdpb.AskSplitResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Pdpb.AskSplitResponse.Builder>
public Pdpb.AskSplitResponse.Builder mergeFrom(Pdpb.AskSplitResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.AskSplitResponse.Builder>
public Pdpb.AskSplitResponse.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.AskSplitResponse.Builder>
IOException
public boolean hasHeader()
.pdpb.ResponseHeader header = 1;
hasHeader
in interface Pdpb.AskSplitResponseOrBuilder
public Pdpb.ResponseHeader getHeader()
.pdpb.ResponseHeader header = 1;
getHeader
in interface Pdpb.AskSplitResponseOrBuilder
public Pdpb.AskSplitResponse.Builder setHeader(Pdpb.ResponseHeader value)
.pdpb.ResponseHeader header = 1;
public Pdpb.AskSplitResponse.Builder setHeader(Pdpb.ResponseHeader.Builder builderForValue)
.pdpb.ResponseHeader header = 1;
public Pdpb.AskSplitResponse.Builder mergeHeader(Pdpb.ResponseHeader value)
.pdpb.ResponseHeader header = 1;
public Pdpb.AskSplitResponse.Builder clearHeader()
.pdpb.ResponseHeader header = 1;
public Pdpb.ResponseHeader.Builder getHeaderBuilder()
.pdpb.ResponseHeader header = 1;
public Pdpb.ResponseHeaderOrBuilder getHeaderOrBuilder()
.pdpb.ResponseHeader header = 1;
getHeaderOrBuilder
in interface Pdpb.AskSplitResponseOrBuilder
public long getNewRegionId()
We split the region into two, first uses the origin parent region id, and the second uses the new_region_id. We must guarantee that the new_region_id is global unique.
uint64 new_region_id = 2;
getNewRegionId
in interface Pdpb.AskSplitResponseOrBuilder
public Pdpb.AskSplitResponse.Builder setNewRegionId(long value)
We split the region into two, first uses the origin parent region id, and the second uses the new_region_id. We must guarantee that the new_region_id is global unique.
uint64 new_region_id = 2;
value
- The newRegionId to set.public Pdpb.AskSplitResponse.Builder clearNewRegionId()
We split the region into two, first uses the origin parent region id, and the second uses the new_region_id. We must guarantee that the new_region_id is global unique.
uint64 new_region_id = 2;
public List<Long> getNewPeerIdsList()
The peer ids for the new split region.
repeated uint64 new_peer_ids = 3;
getNewPeerIdsList
in interface Pdpb.AskSplitResponseOrBuilder
public int getNewPeerIdsCount()
The peer ids for the new split region.
repeated uint64 new_peer_ids = 3;
getNewPeerIdsCount
in interface Pdpb.AskSplitResponseOrBuilder
public long getNewPeerIds(int index)
The peer ids for the new split region.
repeated uint64 new_peer_ids = 3;
getNewPeerIds
in interface Pdpb.AskSplitResponseOrBuilder
index
- The index of the element to return.public Pdpb.AskSplitResponse.Builder setNewPeerIds(int index, long value)
The peer ids for the new split region.
repeated uint64 new_peer_ids = 3;
index
- The index to set the value at.value
- The newPeerIds to set.public Pdpb.AskSplitResponse.Builder addNewPeerIds(long value)
The peer ids for the new split region.
repeated uint64 new_peer_ids = 3;
value
- The newPeerIds to add.public Pdpb.AskSplitResponse.Builder addAllNewPeerIds(Iterable<? extends Long> values)
The peer ids for the new split region.
repeated uint64 new_peer_ids = 3;
values
- The newPeerIds to add.public Pdpb.AskSplitResponse.Builder clearNewPeerIds()
The peer ids for the new split region.
repeated uint64 new_peer_ids = 3;
public final Pdpb.AskSplitResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.AskSplitResponse.Builder>
public final Pdpb.AskSplitResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.AskSplitResponse.Builder>
Copyright © 2024 PingCAP. All rights reserved.