com.google.api.servicecontrol.v1.DistributionOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of endpoints-management-protos Show documentation
Show all versions of endpoints-management-protos Show documentation
Contains the generated protocol buffer surface used by Endpoints
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/servicecontrol/v1/distribution.proto
package com.google.api.servicecontrol.v1;
public interface DistributionOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.api.servicecontrol.v1.Distribution)
com.google.protobuf.MessageOrBuilder {
/**
*
* The total number of samples in the distribution. Must be >= 0.
*
*
* optional int64 count = 1;
*/
long getCount();
/**
*
* The arithmetic mean of the samples in the distribution. If `count` is
* zero then this field must be zero.
*
*
* optional double mean = 2;
*/
double getMean();
/**
*
* The minimum of the population of values. Ignored if `count` is zero.
*
*
* optional double minimum = 3;
*/
double getMinimum();
/**
*
* The maximum of the population of values. Ignored if `count` is zero.
*
*
* optional double maximum = 4;
*/
double getMaximum();
/**
*
* The sum of squared deviations from the mean:
* Sum[i=1..count]((x_i - mean)^2)
* where each x_i is a sample values. If `count` is zero then this field
* must be zero, otherwise validation of the request fails.
*
*
* optional double sum_of_squared_deviation = 5;
*/
double getSumOfSquaredDeviation();
/**
*
* The number of samples in each histogram bucket. `bucket_counts` are
* optional. If present, they must sum to the `count` value.
* The buckets are defined below in `bucket_option`. There are N buckets.
* `bucket_counts[0]` is the number of samples in the underflow bucket.
* `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples
* in each of the finite buckets. And `bucket_counts[N] is the number
* of samples in the overflow bucket. See the comments of `bucket_option`
* below for more details.
* Any suffix of trailing zeros may be omitted.
*
*
* repeated int64 bucket_counts = 6;
*/
java.util.List getBucketCountsList();
/**
*
* The number of samples in each histogram bucket. `bucket_counts` are
* optional. If present, they must sum to the `count` value.
* The buckets are defined below in `bucket_option`. There are N buckets.
* `bucket_counts[0]` is the number of samples in the underflow bucket.
* `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples
* in each of the finite buckets. And `bucket_counts[N] is the number
* of samples in the overflow bucket. See the comments of `bucket_option`
* below for more details.
* Any suffix of trailing zeros may be omitted.
*
*
* repeated int64 bucket_counts = 6;
*/
int getBucketCountsCount();
/**
*
* The number of samples in each histogram bucket. `bucket_counts` are
* optional. If present, they must sum to the `count` value.
* The buckets are defined below in `bucket_option`. There are N buckets.
* `bucket_counts[0]` is the number of samples in the underflow bucket.
* `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples
* in each of the finite buckets. And `bucket_counts[N] is the number
* of samples in the overflow bucket. See the comments of `bucket_option`
* below for more details.
* Any suffix of trailing zeros may be omitted.
*
*
* repeated int64 bucket_counts = 6;
*/
long getBucketCounts(int index);
/**
*
* Buckets with constant width.
*
*
* optional .google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
*/
com.google.api.servicecontrol.v1.Distribution.LinearBuckets getLinearBuckets();
/**
*
* Buckets with constant width.
*
*
* optional .google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
*/
com.google.api.servicecontrol.v1.Distribution.LinearBucketsOrBuilder getLinearBucketsOrBuilder();
/**
*
* Buckets with exponentially growing width.
*
*
* optional .google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
*/
com.google.api.servicecontrol.v1.Distribution.ExponentialBuckets getExponentialBuckets();
/**
*
* Buckets with exponentially growing width.
*
*
* optional .google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
*/
com.google.api.servicecontrol.v1.Distribution.ExponentialBucketsOrBuilder getExponentialBucketsOrBuilder();
/**
*
* Buckets with arbitrary user-provided width.
*
*
* optional .google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
*/
com.google.api.servicecontrol.v1.Distribution.ExplicitBuckets getExplicitBuckets();
/**
*
* Buckets with arbitrary user-provided width.
*
*
* optional .google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
*/
com.google.api.servicecontrol.v1.Distribution.ExplicitBucketsOrBuilder getExplicitBucketsOrBuilder();
public com.google.api.servicecontrol.v1.Distribution.BucketOptionCase getBucketOptionCase();
}