public static final class Pdpb.SyncRegionResponse extends com.google.protobuf.GeneratedMessageV3 implements Pdpb.SyncRegionResponseOrBuilder
pdpb.SyncRegionResponse
Modifier and Type | Class and Description |
---|---|
static class |
Pdpb.SyncRegionResponse.Builder
Protobuf type
pdpb.SyncRegionResponse |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
BUCKETS_FIELD_NUMBER |
static int |
HEADER_FIELD_NUMBER |
static int |
REGION_LEADERS_FIELD_NUMBER |
static int |
REGION_STATS_FIELD_NUMBER |
static int |
REGIONS_FIELD_NUMBER |
static int |
START_INDEX_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Metapb.Buckets |
getBuckets(int index)
the buckets informations without stats.
|
int |
getBucketsCount()
the buckets informations without stats.
|
List<Metapb.Buckets> |
getBucketsList()
the buckets informations without stats.
|
Metapb.BucketsOrBuilder |
getBucketsOrBuilder(int index)
the buckets informations without stats.
|
List<? extends Metapb.BucketsOrBuilder> |
getBucketsOrBuilderList()
the buckets informations without stats.
|
static Pdpb.SyncRegionResponse |
getDefaultInstance() |
Pdpb.SyncRegionResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Pdpb.ResponseHeader |
getHeader()
.pdpb.ResponseHeader header = 1; |
Pdpb.ResponseHeaderOrBuilder |
getHeaderOrBuilder()
.pdpb.ResponseHeader header = 1; |
com.google.protobuf.Parser<Pdpb.SyncRegionResponse> |
getParserForType() |
Metapb.Peer |
getRegionLeaders(int index)
repeated .metapb.Peer region_leaders = 5; |
int |
getRegionLeadersCount()
repeated .metapb.Peer region_leaders = 5; |
List<Metapb.Peer> |
getRegionLeadersList()
repeated .metapb.Peer region_leaders = 5; |
Metapb.PeerOrBuilder |
getRegionLeadersOrBuilder(int index)
repeated .metapb.Peer region_leaders = 5; |
List<? extends Metapb.PeerOrBuilder> |
getRegionLeadersOrBuilderList()
repeated .metapb.Peer region_leaders = 5; |
Metapb.Region |
getRegions(int index)
the leader PD will send the repsonds include
changed regions records and the index of the first record.
|
int |
getRegionsCount()
the leader PD will send the repsonds include
changed regions records and the index of the first record.
|
List<Metapb.Region> |
getRegionsList()
the leader PD will send the repsonds include
changed regions records and the index of the first record.
|
Metapb.RegionOrBuilder |
getRegionsOrBuilder(int index)
the leader PD will send the repsonds include
changed regions records and the index of the first record.
|
List<? extends Metapb.RegionOrBuilder> |
getRegionsOrBuilderList()
the leader PD will send the repsonds include
changed regions records and the index of the first record.
|
Pdpb.RegionStat |
getRegionStats(int index)
repeated .pdpb.RegionStat region_stats = 4; |
int |
getRegionStatsCount()
repeated .pdpb.RegionStat region_stats = 4; |
List<Pdpb.RegionStat> |
getRegionStatsList()
repeated .pdpb.RegionStat region_stats = 4; |
Pdpb.RegionStatOrBuilder |
getRegionStatsOrBuilder(int index)
repeated .pdpb.RegionStat region_stats = 4; |
List<? extends Pdpb.RegionStatOrBuilder> |
getRegionStatsOrBuilderList()
repeated .pdpb.RegionStat region_stats = 4; |
int |
getSerializedSize() |
long |
getStartIndex()
uint64 start_index = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasHeader()
.pdpb.ResponseHeader header = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Pdpb.SyncRegionResponse.Builder |
newBuilder() |
static Pdpb.SyncRegionResponse.Builder |
newBuilder(Pdpb.SyncRegionResponse prototype) |
Pdpb.SyncRegionResponse.Builder |
newBuilderForType() |
protected Pdpb.SyncRegionResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Pdpb.SyncRegionResponse |
parseDelimitedFrom(InputStream input) |
static Pdpb.SyncRegionResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pdpb.SyncRegionResponse |
parseFrom(byte[] data) |
static Pdpb.SyncRegionResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pdpb.SyncRegionResponse |
parseFrom(ByteBuffer data) |
static Pdpb.SyncRegionResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pdpb.SyncRegionResponse |
parseFrom(com.google.protobuf.ByteString data) |
static Pdpb.SyncRegionResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pdpb.SyncRegionResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Pdpb.SyncRegionResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pdpb.SyncRegionResponse |
parseFrom(InputStream input) |
static Pdpb.SyncRegionResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Pdpb.SyncRegionResponse> |
parser() |
Pdpb.SyncRegionResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int HEADER_FIELD_NUMBER
public static final int REGIONS_FIELD_NUMBER
public static final int START_INDEX_FIELD_NUMBER
public static final int REGION_STATS_FIELD_NUMBER
public static final int REGION_LEADERS_FIELD_NUMBER
public static final int BUCKETS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasHeader()
.pdpb.ResponseHeader header = 1;
hasHeader
in interface Pdpb.SyncRegionResponseOrBuilder
public Pdpb.ResponseHeader getHeader()
.pdpb.ResponseHeader header = 1;
getHeader
in interface Pdpb.SyncRegionResponseOrBuilder
public Pdpb.ResponseHeaderOrBuilder getHeaderOrBuilder()
.pdpb.ResponseHeader header = 1;
getHeaderOrBuilder
in interface Pdpb.SyncRegionResponseOrBuilder
public List<Metapb.Region> getRegionsList()
the leader PD will send the repsonds include changed regions records and the index of the first record.
repeated .metapb.Region regions = 2;
getRegionsList
in interface Pdpb.SyncRegionResponseOrBuilder
public List<? extends Metapb.RegionOrBuilder> getRegionsOrBuilderList()
the leader PD will send the repsonds include changed regions records and the index of the first record.
repeated .metapb.Region regions = 2;
getRegionsOrBuilderList
in interface Pdpb.SyncRegionResponseOrBuilder
public int getRegionsCount()
the leader PD will send the repsonds include changed regions records and the index of the first record.
repeated .metapb.Region regions = 2;
getRegionsCount
in interface Pdpb.SyncRegionResponseOrBuilder
public Metapb.Region getRegions(int index)
the leader PD will send the repsonds include changed regions records and the index of the first record.
repeated .metapb.Region regions = 2;
getRegions
in interface Pdpb.SyncRegionResponseOrBuilder
public Metapb.RegionOrBuilder getRegionsOrBuilder(int index)
the leader PD will send the repsonds include changed regions records and the index of the first record.
repeated .metapb.Region regions = 2;
getRegionsOrBuilder
in interface Pdpb.SyncRegionResponseOrBuilder
public long getStartIndex()
uint64 start_index = 3;
getStartIndex
in interface Pdpb.SyncRegionResponseOrBuilder
public List<Pdpb.RegionStat> getRegionStatsList()
repeated .pdpb.RegionStat region_stats = 4;
getRegionStatsList
in interface Pdpb.SyncRegionResponseOrBuilder
public List<? extends Pdpb.RegionStatOrBuilder> getRegionStatsOrBuilderList()
repeated .pdpb.RegionStat region_stats = 4;
getRegionStatsOrBuilderList
in interface Pdpb.SyncRegionResponseOrBuilder
public int getRegionStatsCount()
repeated .pdpb.RegionStat region_stats = 4;
getRegionStatsCount
in interface Pdpb.SyncRegionResponseOrBuilder
public Pdpb.RegionStat getRegionStats(int index)
repeated .pdpb.RegionStat region_stats = 4;
getRegionStats
in interface Pdpb.SyncRegionResponseOrBuilder
public Pdpb.RegionStatOrBuilder getRegionStatsOrBuilder(int index)
repeated .pdpb.RegionStat region_stats = 4;
getRegionStatsOrBuilder
in interface Pdpb.SyncRegionResponseOrBuilder
public List<Metapb.Peer> getRegionLeadersList()
repeated .metapb.Peer region_leaders = 5;
getRegionLeadersList
in interface Pdpb.SyncRegionResponseOrBuilder
public List<? extends Metapb.PeerOrBuilder> getRegionLeadersOrBuilderList()
repeated .metapb.Peer region_leaders = 5;
getRegionLeadersOrBuilderList
in interface Pdpb.SyncRegionResponseOrBuilder
public int getRegionLeadersCount()
repeated .metapb.Peer region_leaders = 5;
getRegionLeadersCount
in interface Pdpb.SyncRegionResponseOrBuilder
public Metapb.Peer getRegionLeaders(int index)
repeated .metapb.Peer region_leaders = 5;
getRegionLeaders
in interface Pdpb.SyncRegionResponseOrBuilder
public Metapb.PeerOrBuilder getRegionLeadersOrBuilder(int index)
repeated .metapb.Peer region_leaders = 5;
getRegionLeadersOrBuilder
in interface Pdpb.SyncRegionResponseOrBuilder
public List<Metapb.Buckets> getBucketsList()
the buckets informations without stats.
repeated .metapb.Buckets buckets = 6;
getBucketsList
in interface Pdpb.SyncRegionResponseOrBuilder
public List<? extends Metapb.BucketsOrBuilder> getBucketsOrBuilderList()
the buckets informations without stats.
repeated .metapb.Buckets buckets = 6;
getBucketsOrBuilderList
in interface Pdpb.SyncRegionResponseOrBuilder
public int getBucketsCount()
the buckets informations without stats.
repeated .metapb.Buckets buckets = 6;
getBucketsCount
in interface Pdpb.SyncRegionResponseOrBuilder
public Metapb.Buckets getBuckets(int index)
the buckets informations without stats.
repeated .metapb.Buckets buckets = 6;
getBuckets
in interface Pdpb.SyncRegionResponseOrBuilder
public Metapb.BucketsOrBuilder getBucketsOrBuilder(int index)
the buckets informations without stats.
repeated .metapb.Buckets buckets = 6;
getBucketsOrBuilder
in interface Pdpb.SyncRegionResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Pdpb.SyncRegionResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Pdpb.SyncRegionResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Pdpb.SyncRegionResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Pdpb.SyncRegionResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Pdpb.SyncRegionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Pdpb.SyncRegionResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Pdpb.SyncRegionResponse parseFrom(InputStream input) throws IOException
IOException
public static Pdpb.SyncRegionResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Pdpb.SyncRegionResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Pdpb.SyncRegionResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Pdpb.SyncRegionResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Pdpb.SyncRegionResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Pdpb.SyncRegionResponse.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Pdpb.SyncRegionResponse.Builder newBuilder()
public static Pdpb.SyncRegionResponse.Builder newBuilder(Pdpb.SyncRegionResponse prototype)
public Pdpb.SyncRegionResponse.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Pdpb.SyncRegionResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Pdpb.SyncRegionResponse getDefaultInstance()
public static com.google.protobuf.Parser<Pdpb.SyncRegionResponse> parser()
public com.google.protobuf.Parser<Pdpb.SyncRegionResponse> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Pdpb.SyncRegionResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.