All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.opencensus.proto.metrics.v1.DistributionValueOrBuilder Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: opencensus/proto/metrics/v1/metrics.proto

package io.opencensus.proto.metrics.v1;

public interface DistributionValueOrBuilder extends
    // @@protoc_insertion_point(interface_extends:opencensus.proto.metrics.v1.DistributionValue)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * 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; * @return The count. */ long getCount(); /** *
   * The sum of the values in the population. If count is zero then this field
   * must be zero.
   * 
* * double sum = 2; * @return The sum. */ double getSum(); /** *
   * 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; * @return The sumOfSquaredDeviation. */ double getSumOfSquaredDeviation(); /** *
   * 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; * @return Whether the bucketOptions field is set. */ 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; * @return The bucketOptions. */ io.opencensus.proto.metrics.v1.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; */ io.opencensus.proto.metrics.v1.DistributionValue.BucketOptionsOrBuilder getBucketOptionsOrBuilder(); /** *
   * 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; */ java.util.List 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; */ io.opencensus.proto.metrics.v1.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; */ java.util.List 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; */ io.opencensus.proto.metrics.v1.DistributionValue.BucketOrBuilder getBucketsOrBuilder( int index); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy