public static final class Histogram.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Histogram.Builder> implements HistogramOrBuilder
tipb.Histogram
Modifier and Type | Method and Description |
---|---|
Histogram.Builder |
addAllBuckets(Iterable<? extends Bucket> values)
buckets represents all the buckets.
|
Histogram.Builder |
addBuckets(Bucket.Builder builderForValue)
buckets represents all the buckets.
|
Histogram.Builder |
addBuckets(Bucket value)
buckets represents all the buckets.
|
Histogram.Builder |
addBuckets(int index,
Bucket.Builder builderForValue)
buckets represents all the buckets.
|
Histogram.Builder |
addBuckets(int index,
Bucket value)
buckets represents all the buckets.
|
Bucket.Builder |
addBucketsBuilder()
buckets represents all the buckets.
|
Bucket.Builder |
addBucketsBuilder(int index)
buckets represents all the buckets.
|
Histogram.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Histogram |
build() |
Histogram |
buildPartial() |
Histogram.Builder |
clear() |
Histogram.Builder |
clearBuckets()
buckets represents all the buckets.
|
Histogram.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Histogram.Builder |
clearNdv()
ndv is the number of distinct values.
|
Histogram.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Histogram.Builder |
clone() |
Bucket |
getBuckets(int index)
buckets represents all the buckets.
|
Bucket.Builder |
getBucketsBuilder(int index)
buckets represents all the buckets.
|
List<Bucket.Builder> |
getBucketsBuilderList()
buckets represents all the buckets.
|
int |
getBucketsCount()
buckets represents all the buckets.
|
List<Bucket> |
getBucketsList()
buckets represents all the buckets.
|
BucketOrBuilder |
getBucketsOrBuilder(int index)
buckets represents all the buckets.
|
List<? extends BucketOrBuilder> |
getBucketsOrBuilderList()
buckets represents all the buckets.
|
Histogram |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getNdv()
ndv is the number of distinct values.
|
boolean |
hasNdv()
ndv is the number of distinct values.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Histogram.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Histogram.Builder |
mergeFrom(Histogram other) |
Histogram.Builder |
mergeFrom(com.google.protobuf.Message other) |
Histogram.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Histogram.Builder |
removeBuckets(int index)
buckets represents all the buckets.
|
Histogram.Builder |
setBuckets(int index,
Bucket.Builder builderForValue)
buckets represents all the buckets.
|
Histogram.Builder |
setBuckets(int index,
Bucket value)
buckets represents all the buckets.
|
Histogram.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Histogram.Builder |
setNdv(long value)
ndv is the number of distinct values.
|
Histogram.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Histogram.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<Histogram.Builder>
public Histogram.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<Histogram.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<Histogram.Builder>
public Histogram getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Histogram build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Histogram buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Histogram.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<Histogram.Builder>
public Histogram.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<Histogram.Builder>
public Histogram.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Histogram.Builder>
public Histogram.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Histogram.Builder>
public Histogram.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<Histogram.Builder>
public Histogram.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<Histogram.Builder>
public Histogram.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Histogram.Builder>
public Histogram.Builder mergeFrom(Histogram other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Histogram.Builder>
public Histogram.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<Histogram.Builder>
IOException
public boolean hasNdv()
ndv is the number of distinct values.
optional int64 ndv = 1 [(.gogoproto.nullable) = false];
hasNdv
in interface HistogramOrBuilder
public long getNdv()
ndv is the number of distinct values.
optional int64 ndv = 1 [(.gogoproto.nullable) = false];
getNdv
in interface HistogramOrBuilder
public Histogram.Builder setNdv(long value)
ndv is the number of distinct values.
optional int64 ndv = 1 [(.gogoproto.nullable) = false];
value
- The ndv to set.public Histogram.Builder clearNdv()
ndv is the number of distinct values.
optional int64 ndv = 1 [(.gogoproto.nullable) = false];
public List<Bucket> getBucketsList()
buckets represents all the buckets.
repeated .tipb.Bucket buckets = 2;
getBucketsList
in interface HistogramOrBuilder
public int getBucketsCount()
buckets represents all the buckets.
repeated .tipb.Bucket buckets = 2;
getBucketsCount
in interface HistogramOrBuilder
public Bucket getBuckets(int index)
buckets represents all the buckets.
repeated .tipb.Bucket buckets = 2;
getBuckets
in interface HistogramOrBuilder
public Histogram.Builder setBuckets(int index, Bucket value)
buckets represents all the buckets.
repeated .tipb.Bucket buckets = 2;
public Histogram.Builder setBuckets(int index, Bucket.Builder builderForValue)
buckets represents all the buckets.
repeated .tipb.Bucket buckets = 2;
public Histogram.Builder addBuckets(Bucket value)
buckets represents all the buckets.
repeated .tipb.Bucket buckets = 2;
public Histogram.Builder addBuckets(int index, Bucket value)
buckets represents all the buckets.
repeated .tipb.Bucket buckets = 2;
public Histogram.Builder addBuckets(Bucket.Builder builderForValue)
buckets represents all the buckets.
repeated .tipb.Bucket buckets = 2;
public Histogram.Builder addBuckets(int index, Bucket.Builder builderForValue)
buckets represents all the buckets.
repeated .tipb.Bucket buckets = 2;
public Histogram.Builder addAllBuckets(Iterable<? extends Bucket> values)
buckets represents all the buckets.
repeated .tipb.Bucket buckets = 2;
public Histogram.Builder clearBuckets()
buckets represents all the buckets.
repeated .tipb.Bucket buckets = 2;
public Histogram.Builder removeBuckets(int index)
buckets represents all the buckets.
repeated .tipb.Bucket buckets = 2;
public Bucket.Builder getBucketsBuilder(int index)
buckets represents all the buckets.
repeated .tipb.Bucket buckets = 2;
public BucketOrBuilder getBucketsOrBuilder(int index)
buckets represents all the buckets.
repeated .tipb.Bucket buckets = 2;
getBucketsOrBuilder
in interface HistogramOrBuilder
public List<? extends BucketOrBuilder> getBucketsOrBuilderList()
buckets represents all the buckets.
repeated .tipb.Bucket buckets = 2;
getBucketsOrBuilderList
in interface HistogramOrBuilder
public Bucket.Builder addBucketsBuilder()
buckets represents all the buckets.
repeated .tipb.Bucket buckets = 2;
public Bucket.Builder addBucketsBuilder(int index)
buckets represents all the buckets.
repeated .tipb.Bucket buckets = 2;
public List<Bucket.Builder> getBucketsBuilderList()
buckets represents all the buckets.
repeated .tipb.Bucket buckets = 2;
public final Histogram.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Histogram.Builder>
public final Histogram.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Histogram.Builder>
Copyright © 2024 PingCAP. All rights reserved.