public static final class Metapb.Buckets.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Metapb.Buckets.Builder> implements Metapb.BucketsOrBuilder
metapb.Buckets
Modifier and Type | Method and Description |
---|---|
Metapb.Buckets.Builder |
addAllKeys(Iterable<? extends com.google.protobuf.ByteString> values)
keys of buckets, include start/end key of region
|
Metapb.Buckets.Builder |
addKeys(com.google.protobuf.ByteString value)
keys of buckets, include start/end key of region
|
Metapb.Buckets.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Metapb.Buckets |
build() |
Metapb.Buckets |
buildPartial() |
Metapb.Buckets.Builder |
clear() |
Metapb.Buckets.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Metapb.Buckets.Builder |
clearKeys()
keys of buckets, include start/end key of region
|
Metapb.Buckets.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Metapb.Buckets.Builder |
clearPeriodInMs()
The period in milliseconds that stats are collected with in
|
Metapb.Buckets.Builder |
clearRegionId()
uint64 region_id = 1; |
Metapb.Buckets.Builder |
clearStats()
bucket stats
|
Metapb.Buckets.Builder |
clearVersion()
A hint indicate if keys have changed.
|
Metapb.Buckets.Builder |
clone() |
Metapb.Buckets |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getKeys(int index)
keys of buckets, include start/end key of region
|
int |
getKeysCount()
keys of buckets, include start/end key of region
|
List<com.google.protobuf.ByteString> |
getKeysList()
keys of buckets, include start/end key of region
|
long |
getPeriodInMs()
The period in milliseconds that stats are collected with in
|
long |
getRegionId()
uint64 region_id = 1; |
Metapb.BucketStats |
getStats()
bucket stats
|
Metapb.BucketStats.Builder |
getStatsBuilder()
bucket stats
|
Metapb.BucketStatsOrBuilder |
getStatsOrBuilder()
bucket stats
|
long |
getVersion()
A hint indicate if keys have changed.
|
boolean |
hasStats()
bucket stats
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Metapb.Buckets.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Metapb.Buckets.Builder |
mergeFrom(com.google.protobuf.Message other) |
Metapb.Buckets.Builder |
mergeFrom(Metapb.Buckets other) |
Metapb.Buckets.Builder |
mergeStats(Metapb.BucketStats value)
bucket stats
|
Metapb.Buckets.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Metapb.Buckets.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Metapb.Buckets.Builder |
setKeys(int index,
com.google.protobuf.ByteString value)
keys of buckets, include start/end key of region
|
Metapb.Buckets.Builder |
setPeriodInMs(long value)
The period in milliseconds that stats are collected with in
|
Metapb.Buckets.Builder |
setRegionId(long value)
uint64 region_id = 1; |
Metapb.Buckets.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Metapb.Buckets.Builder |
setStats(Metapb.BucketStats.Builder builderForValue)
bucket stats
|
Metapb.Buckets.Builder |
setStats(Metapb.BucketStats value)
bucket stats
|
Metapb.Buckets.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Metapb.Buckets.Builder |
setVersion(long value)
A hint indicate if keys have changed.
|
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<Metapb.Buckets.Builder>
public Metapb.Buckets.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<Metapb.Buckets.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<Metapb.Buckets.Builder>
public Metapb.Buckets getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Metapb.Buckets build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Metapb.Buckets buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Metapb.Buckets.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<Metapb.Buckets.Builder>
public Metapb.Buckets.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<Metapb.Buckets.Builder>
public Metapb.Buckets.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Metapb.Buckets.Builder>
public Metapb.Buckets.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Metapb.Buckets.Builder>
public Metapb.Buckets.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<Metapb.Buckets.Builder>
public Metapb.Buckets.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<Metapb.Buckets.Builder>
public Metapb.Buckets.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Metapb.Buckets.Builder>
public Metapb.Buckets.Builder mergeFrom(Metapb.Buckets other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Metapb.Buckets.Builder>
public Metapb.Buckets.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<Metapb.Buckets.Builder>
IOException
public long getRegionId()
uint64 region_id = 1;
getRegionId
in interface Metapb.BucketsOrBuilder
public Metapb.Buckets.Builder setRegionId(long value)
uint64 region_id = 1;
value
- The regionId to set.public Metapb.Buckets.Builder clearRegionId()
uint64 region_id = 1;
public long getVersion()
A hint indicate if keys have changed.
uint64 version = 2;
getVersion
in interface Metapb.BucketsOrBuilder
public Metapb.Buckets.Builder setVersion(long value)
A hint indicate if keys have changed.
uint64 version = 2;
value
- The version to set.public Metapb.Buckets.Builder clearVersion()
A hint indicate if keys have changed.
uint64 version = 2;
public List<com.google.protobuf.ByteString> getKeysList()
keys of buckets, include start/end key of region
repeated bytes keys = 3;
getKeysList
in interface Metapb.BucketsOrBuilder
public int getKeysCount()
keys of buckets, include start/end key of region
repeated bytes keys = 3;
getKeysCount
in interface Metapb.BucketsOrBuilder
public com.google.protobuf.ByteString getKeys(int index)
keys of buckets, include start/end key of region
repeated bytes keys = 3;
getKeys
in interface Metapb.BucketsOrBuilder
index
- The index of the element to return.public Metapb.Buckets.Builder setKeys(int index, com.google.protobuf.ByteString value)
keys of buckets, include start/end key of region
repeated bytes keys = 3;
index
- The index to set the value at.value
- The keys to set.public Metapb.Buckets.Builder addKeys(com.google.protobuf.ByteString value)
keys of buckets, include start/end key of region
repeated bytes keys = 3;
value
- The keys to add.public Metapb.Buckets.Builder addAllKeys(Iterable<? extends com.google.protobuf.ByteString> values)
keys of buckets, include start/end key of region
repeated bytes keys = 3;
values
- The keys to add.public Metapb.Buckets.Builder clearKeys()
keys of buckets, include start/end key of region
repeated bytes keys = 3;
public boolean hasStats()
bucket stats
.metapb.BucketStats stats = 4;
hasStats
in interface Metapb.BucketsOrBuilder
public Metapb.BucketStats getStats()
bucket stats
.metapb.BucketStats stats = 4;
getStats
in interface Metapb.BucketsOrBuilder
public Metapb.Buckets.Builder setStats(Metapb.BucketStats value)
bucket stats
.metapb.BucketStats stats = 4;
public Metapb.Buckets.Builder setStats(Metapb.BucketStats.Builder builderForValue)
bucket stats
.metapb.BucketStats stats = 4;
public Metapb.Buckets.Builder mergeStats(Metapb.BucketStats value)
bucket stats
.metapb.BucketStats stats = 4;
public Metapb.Buckets.Builder clearStats()
bucket stats
.metapb.BucketStats stats = 4;
public Metapb.BucketStats.Builder getStatsBuilder()
bucket stats
.metapb.BucketStats stats = 4;
public Metapb.BucketStatsOrBuilder getStatsOrBuilder()
bucket stats
.metapb.BucketStats stats = 4;
getStatsOrBuilder
in interface Metapb.BucketsOrBuilder
public long getPeriodInMs()
The period in milliseconds that stats are collected with in
uint64 period_in_ms = 5;
getPeriodInMs
in interface Metapb.BucketsOrBuilder
public Metapb.Buckets.Builder setPeriodInMs(long value)
The period in milliseconds that stats are collected with in
uint64 period_in_ms = 5;
value
- The periodInMs to set.public Metapb.Buckets.Builder clearPeriodInMs()
The period in milliseconds that stats are collected with in
uint64 period_in_ms = 5;
public final Metapb.Buckets.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Metapb.Buckets.Builder>
public final Metapb.Buckets.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Metapb.Buckets.Builder>
Copyright © 2024 PingCAP. All rights reserved.