Interface DistributionValueOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    DistributionValue, DistributionValue.Builder

    public interface DistributionValueOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getCount

        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;
        Returns:
        The count.
      • getSum

        double getSum()
         The sum of the values in the population. If count is zero then this field
         must be zero.
         
        double sum = 2;
        Returns:
        The sum.
      • getSumOfSquaredDeviation

        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;
        Returns:
        The sumOfSquaredDeviation.
      • hasBucketOptions

        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;
        Returns:
        Whether the bucketOptions field is set.
      • getBucketOptions

        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;
        Returns:
        The bucketOptions.
      • getBucketOptionsOrBuilder

        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;
      • getBucketsList

        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;
      • getBuckets

        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;
      • getBucketsCount

        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;
      • getBucketsOrBuilderList

        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;
      • getBucketsOrBuilder

        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;