public interface DistributionValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
DistributionValue.BucketOptions |
getBucketOptions()
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.
|
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.
|
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoflong 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;double getSum()
The sum of the values in the population. If count is zero then this field must be zero.
double sum = 2;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;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;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;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;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;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;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;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;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;