public static final class DistributionValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DistributionValue.Builder> implements DistributionValueOrBuilder
Distribution contains summary statistics for a population of values. It optionally contains a histogram representing the distribution of those values across a set of buckets.Protobuf type
opencensus.proto.metrics.v1.DistributionValue| Modifier and Type | Method and Description |
|---|---|
DistributionValue.Builder |
addAllBuckets(Iterable<? extends DistributionValue.Bucket> values)
If the distribution does not have a histogram, then omit this field.
|
DistributionValue.Builder |
addBuckets(DistributionValue.Bucket.Builder builderForValue)
If the distribution does not have a histogram, then omit this field.
|
DistributionValue.Builder |
addBuckets(DistributionValue.Bucket value)
If the distribution does not have a histogram, then omit this field.
|
DistributionValue.Builder |
addBuckets(int index,
DistributionValue.Bucket.Builder builderForValue)
If the distribution does not have a histogram, then omit this field.
|
DistributionValue.Builder |
addBuckets(int index,
DistributionValue.Bucket value)
If the distribution does not have a histogram, then omit this field.
|
DistributionValue.Bucket.Builder |
addBucketsBuilder()
If the distribution does not have a histogram, then omit this field.
|
DistributionValue.Bucket.Builder |
addBucketsBuilder(int index)
If the distribution does not have a histogram, then omit this field.
|
DistributionValue.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DistributionValue |
build() |
DistributionValue |
buildPartial() |
DistributionValue.Builder |
clear() |
DistributionValue.Builder |
clearBucketOptions()
Don't change bucket boundaries within a TimeSeries if your backend doesn't
support this.
|
DistributionValue.Builder |
clearBuckets()
If the distribution does not have a histogram, then omit this field.
|
DistributionValue.Builder |
clearCount()
The number of values in the population.
|
DistributionValue.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DistributionValue.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DistributionValue.Builder |
clearSum()
The sum of the values in the population.
|
DistributionValue.Builder |
clearSumOfSquaredDeviation()
The sum of squared deviations from the mean of the values in the
population.
|
DistributionValue.Builder |
clone() |
DistributionValue.BucketOptions |
getBucketOptions()
Don't change bucket boundaries within a TimeSeries if your backend doesn't
support this.
|
DistributionValue.BucketOptions.Builder |
getBucketOptionsBuilder()
Don't change bucket boundaries within a TimeSeries if your backend doesn't
support this.
|
DistributionValue.BucketOptionsOrBuilder |
getBucketOptionsOrBuilder()
Don't change bucket boundaries within a TimeSeries if your backend doesn't
support this.
|
DistributionValue.Bucket |
getBuckets(int index)
If the distribution does not have a histogram, then omit this field.
|
DistributionValue.Bucket.Builder |
getBucketsBuilder(int index)
If the distribution does not have a histogram, then omit this field.
|
List<DistributionValue.Bucket.Builder> |
getBucketsBuilderList()
If the distribution does not have a histogram, then omit this field.
|
int |
getBucketsCount()
If the distribution does not have a histogram, then omit this field.
|
List<DistributionValue.Bucket> |
getBucketsList()
If the distribution does not have a histogram, then omit this field.
|
DistributionValue.BucketOrBuilder |
getBucketsOrBuilder(int index)
If the distribution does not have a histogram, then omit this field.
|
List<? extends DistributionValue.BucketOrBuilder> |
getBucketsOrBuilderList()
If the distribution does not have a histogram, then omit this field.
|
long |
getCount()
The number of values in the population.
|
DistributionValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getSum()
The sum of the values in the population.
|
double |
getSumOfSquaredDeviation()
The sum of squared deviations from the mean of the values in the
population.
|
boolean |
hasBucketOptions()
Don't change bucket boundaries within a TimeSeries if your backend doesn't
support this.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DistributionValue.Builder |
mergeBucketOptions(DistributionValue.BucketOptions value)
Don't change bucket boundaries within a TimeSeries if your backend doesn't
support this.
|
DistributionValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DistributionValue.Builder |
mergeFrom(DistributionValue other) |
DistributionValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
DistributionValue.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DistributionValue.Builder |
removeBuckets(int index)
If the distribution does not have a histogram, then omit this field.
|
DistributionValue.Builder |
setBucketOptions(DistributionValue.BucketOptions.Builder builderForValue)
Don't change bucket boundaries within a TimeSeries if your backend doesn't
support this.
|
DistributionValue.Builder |
setBucketOptions(DistributionValue.BucketOptions value)
Don't change bucket boundaries within a TimeSeries if your backend doesn't
support this.
|
DistributionValue.Builder |
setBuckets(int index,
DistributionValue.Bucket.Builder builderForValue)
If the distribution does not have a histogram, then omit this field.
|
DistributionValue.Builder |
setBuckets(int index,
DistributionValue.Bucket value)
If the distribution does not have a histogram, then omit this field.
|
DistributionValue.Builder |
setCount(long value)
The number of values in the population.
|
DistributionValue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DistributionValue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DistributionValue.Builder |
setSum(double value)
The sum of the values in the population.
|
DistributionValue.Builder |
setSumOfSquaredDeviation(double value)
The sum of squared deviations from the mean of the values in the
population.
|
DistributionValue.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionValue.Builder>public DistributionValue.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionValue.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionValue.Builder>public DistributionValue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DistributionValue build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DistributionValue buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DistributionValue.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionValue.Builder>public DistributionValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionValue.Builder>public DistributionValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionValue.Builder>public DistributionValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionValue.Builder>public DistributionValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionValue.Builder>public DistributionValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionValue.Builder>public DistributionValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DistributionValue.Builder>public DistributionValue.Builder mergeFrom(DistributionValue other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionValue.Builder>public DistributionValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DistributionValue.Builder>IOExceptionpublic long getCount()
The number of values in the population. Must be non-negative. This value must equal the sum of the values in bucket_counts if a histogram is provided.
int64 count = 1;getCount in interface DistributionValueOrBuilderpublic DistributionValue.Builder setCount(long value)
The number of values in the population. Must be non-negative. This value must equal the sum of the values in bucket_counts if a histogram is provided.
int64 count = 1;public DistributionValue.Builder clearCount()
The number of values in the population. Must be non-negative. This value must equal the sum of the values in bucket_counts if a histogram is provided.
int64 count = 1;public double getSum()
The sum of the values in the population. If count is zero then this field must be zero.
double sum = 2;getSum in interface DistributionValueOrBuilderpublic DistributionValue.Builder setSum(double value)
The sum of the values in the population. If count is zero then this field must be zero.
double sum = 2;public DistributionValue.Builder clearSum()
The sum of the values in the population. If count is zero then this field must be zero.
double sum = 2;public double getSumOfSquaredDeviation()
The sum of squared deviations from the mean of the values in the
population. For values x_i this is:
Sum[i=1..n]((x_i - mean)^2)
Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
describes Welford's method for accumulating this sum in one pass.
If count is zero then this field must be zero.
double sum_of_squared_deviation = 3;getSumOfSquaredDeviation in interface DistributionValueOrBuilderpublic DistributionValue.Builder setSumOfSquaredDeviation(double value)
The sum of squared deviations from the mean of the values in the
population. For values x_i this is:
Sum[i=1..n]((x_i - mean)^2)
Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
describes Welford's method for accumulating this sum in one pass.
If count is zero then this field must be zero.
double sum_of_squared_deviation = 3;public DistributionValue.Builder clearSumOfSquaredDeviation()
The sum of squared deviations from the mean of the values in the
population. For values x_i this is:
Sum[i=1..n]((x_i - mean)^2)
Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
describes Welford's method for accumulating this sum in one pass.
If count is zero then this field must be zero.
double sum_of_squared_deviation = 3;public boolean hasBucketOptions()
Don't change bucket boundaries within a TimeSeries if your backend doesn't support this. TODO(issue #152): consider not required to send bucket options for optimization.
.opencensus.proto.metrics.v1.DistributionValue.BucketOptions bucket_options = 4;hasBucketOptions in interface DistributionValueOrBuilderpublic DistributionValue.BucketOptions getBucketOptions()
Don't change bucket boundaries within a TimeSeries if your backend doesn't support this. TODO(issue #152): consider not required to send bucket options for optimization.
.opencensus.proto.metrics.v1.DistributionValue.BucketOptions bucket_options = 4;getBucketOptions in interface DistributionValueOrBuilderpublic DistributionValue.Builder setBucketOptions(DistributionValue.BucketOptions value)
Don't change bucket boundaries within a TimeSeries if your backend doesn't support this. TODO(issue #152): consider not required to send bucket options for optimization.
.opencensus.proto.metrics.v1.DistributionValue.BucketOptions bucket_options = 4;public DistributionValue.Builder setBucketOptions(DistributionValue.BucketOptions.Builder builderForValue)
Don't change bucket boundaries within a TimeSeries if your backend doesn't support this. TODO(issue #152): consider not required to send bucket options for optimization.
.opencensus.proto.metrics.v1.DistributionValue.BucketOptions bucket_options = 4;public DistributionValue.Builder mergeBucketOptions(DistributionValue.BucketOptions value)
Don't change bucket boundaries within a TimeSeries if your backend doesn't support this. TODO(issue #152): consider not required to send bucket options for optimization.
.opencensus.proto.metrics.v1.DistributionValue.BucketOptions bucket_options = 4;public DistributionValue.Builder clearBucketOptions()
Don't change bucket boundaries within a TimeSeries if your backend doesn't support this. TODO(issue #152): consider not required to send bucket options for optimization.
.opencensus.proto.metrics.v1.DistributionValue.BucketOptions bucket_options = 4;public DistributionValue.BucketOptions.Builder getBucketOptionsBuilder()
Don't change bucket boundaries within a TimeSeries if your backend doesn't support this. TODO(issue #152): consider not required to send bucket options for optimization.
.opencensus.proto.metrics.v1.DistributionValue.BucketOptions bucket_options = 4;public DistributionValue.BucketOptionsOrBuilder getBucketOptionsOrBuilder()
Don't change bucket boundaries within a TimeSeries if your backend doesn't support this. TODO(issue #152): consider not required to send bucket options for optimization.
.opencensus.proto.metrics.v1.DistributionValue.BucketOptions bucket_options = 4;getBucketOptionsOrBuilder in interface DistributionValueOrBuilderpublic List<DistributionValue.Bucket> getBucketsList()
If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in the Bucket counts must equal the value in the count field of the distribution.
repeated .opencensus.proto.metrics.v1.DistributionValue.Bucket buckets = 5;getBucketsList in interface DistributionValueOrBuilderpublic int getBucketsCount()
If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in the Bucket counts must equal the value in the count field of the distribution.
repeated .opencensus.proto.metrics.v1.DistributionValue.Bucket buckets = 5;getBucketsCount in interface DistributionValueOrBuilderpublic DistributionValue.Bucket getBuckets(int index)
If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in the Bucket counts must equal the value in the count field of the distribution.
repeated .opencensus.proto.metrics.v1.DistributionValue.Bucket buckets = 5;getBuckets in interface DistributionValueOrBuilderpublic DistributionValue.Builder setBuckets(int index, DistributionValue.Bucket value)
If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in the Bucket counts must equal the value in the count field of the distribution.
repeated .opencensus.proto.metrics.v1.DistributionValue.Bucket buckets = 5;public DistributionValue.Builder setBuckets(int index, DistributionValue.Bucket.Builder builderForValue)
If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in the Bucket counts must equal the value in the count field of the distribution.
repeated .opencensus.proto.metrics.v1.DistributionValue.Bucket buckets = 5;public DistributionValue.Builder addBuckets(DistributionValue.Bucket value)
If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in the Bucket counts must equal the value in the count field of the distribution.
repeated .opencensus.proto.metrics.v1.DistributionValue.Bucket buckets = 5;public DistributionValue.Builder addBuckets(int index, DistributionValue.Bucket value)
If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in the Bucket counts must equal the value in the count field of the distribution.
repeated .opencensus.proto.metrics.v1.DistributionValue.Bucket buckets = 5;public DistributionValue.Builder addBuckets(DistributionValue.Bucket.Builder builderForValue)
If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in the Bucket counts must equal the value in the count field of the distribution.
repeated .opencensus.proto.metrics.v1.DistributionValue.Bucket buckets = 5;public DistributionValue.Builder addBuckets(int index, DistributionValue.Bucket.Builder builderForValue)
If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in the Bucket counts must equal the value in the count field of the distribution.
repeated .opencensus.proto.metrics.v1.DistributionValue.Bucket buckets = 5;public DistributionValue.Builder addAllBuckets(Iterable<? extends DistributionValue.Bucket> values)
If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in the Bucket counts must equal the value in the count field of the distribution.
repeated .opencensus.proto.metrics.v1.DistributionValue.Bucket buckets = 5;public DistributionValue.Builder clearBuckets()
If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in the Bucket counts must equal the value in the count field of the distribution.
repeated .opencensus.proto.metrics.v1.DistributionValue.Bucket buckets = 5;public DistributionValue.Builder removeBuckets(int index)
If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in the Bucket counts must equal the value in the count field of the distribution.
repeated .opencensus.proto.metrics.v1.DistributionValue.Bucket buckets = 5;public DistributionValue.Bucket.Builder getBucketsBuilder(int index)
If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in the Bucket counts must equal the value in the count field of the distribution.
repeated .opencensus.proto.metrics.v1.DistributionValue.Bucket buckets = 5;public DistributionValue.BucketOrBuilder getBucketsOrBuilder(int index)
If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in the Bucket counts must equal the value in the count field of the distribution.
repeated .opencensus.proto.metrics.v1.DistributionValue.Bucket buckets = 5;getBucketsOrBuilder in interface DistributionValueOrBuilderpublic List<? extends DistributionValue.BucketOrBuilder> getBucketsOrBuilderList()
If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in the Bucket counts must equal the value in the count field of the distribution.
repeated .opencensus.proto.metrics.v1.DistributionValue.Bucket buckets = 5;getBucketsOrBuilderList in interface DistributionValueOrBuilderpublic DistributionValue.Bucket.Builder addBucketsBuilder()
If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in the Bucket counts must equal the value in the count field of the distribution.
repeated .opencensus.proto.metrics.v1.DistributionValue.Bucket buckets = 5;public DistributionValue.Bucket.Builder addBucketsBuilder(int index)
If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in the Bucket counts must equal the value in the count field of the distribution.
repeated .opencensus.proto.metrics.v1.DistributionValue.Bucket buckets = 5;public List<DistributionValue.Bucket.Builder> getBucketsBuilderList()
If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in the Bucket counts must equal the value in the count field of the distribution.
repeated .opencensus.proto.metrics.v1.DistributionValue.Bucket buckets = 5;public final DistributionValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionValue.Builder>public final DistributionValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionValue.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.