- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.1.10
public interface DistributionOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBucketCounts(int index)
public abstract long getBucketCounts(int index)
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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
long | The bucketCounts at the given index. |
getBucketCountsCount()
public abstract 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;
Type | Description |
int | The count of bucketCounts. |
getBucketCountsList()
public abstract List<Long> 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;
Type | Description |
List<Long> | A list containing the bucketCounts. |
getBucketOptionCase()
public abstract Distribution.BucketOptionCase getBucketOptionCase()
Type | Description |
Distribution.BucketOptionCase |
getCount()
public abstract long getCount()
The total number of samples in the distribution. Must be >= 0.
int64 count = 1;
Type | Description |
long | The count. |
getExemplars(int index)
public abstract Distribution.Exemplar getExemplars(int index)
Example points. Must be in increasing order of value
field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
Name | Description |
index | int |
Type | Description |
com.google.api.Distribution.Exemplar |
getExemplarsCount()
public abstract int getExemplarsCount()
Example points. Must be in increasing order of value
field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
Type | Description |
int |
getExemplarsList()
public abstract List<Distribution.Exemplar> getExemplarsList()
Example points. Must be in increasing order of value
field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
Type | Description |
List<com.google.api.Distribution.Exemplar> |
getExemplarsOrBuilder(int index)
public abstract Distribution.ExemplarOrBuilder getExemplarsOrBuilder(int index)
Example points. Must be in increasing order of value
field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
Name | Description |
index | int |
Type | Description |
com.google.api.Distribution.ExemplarOrBuilder |
getExemplarsOrBuilderList()
public abstract List<? extends Distribution.ExemplarOrBuilder> getExemplarsOrBuilderList()
Example points. Must be in increasing order of value
field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
Type | Description |
List<? extends com.google.api.Distribution.ExemplarOrBuilder> |
getExplicitBuckets()
public abstract Distribution.ExplicitBuckets getExplicitBuckets()
Buckets with arbitrary user-provided width.
.google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
Type | Description |
Distribution.ExplicitBuckets | The explicitBuckets. |
getExplicitBucketsOrBuilder()
public abstract Distribution.ExplicitBucketsOrBuilder getExplicitBucketsOrBuilder()
Buckets with arbitrary user-provided width.
.google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
Type | Description |
Distribution.ExplicitBucketsOrBuilder |
getExponentialBuckets()
public abstract Distribution.ExponentialBuckets getExponentialBuckets()
Buckets with exponentially growing width.
.google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
Type | Description |
Distribution.ExponentialBuckets | The exponentialBuckets. |
getExponentialBucketsOrBuilder()
public abstract Distribution.ExponentialBucketsOrBuilder getExponentialBucketsOrBuilder()
Buckets with exponentially growing width.
.google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
Type | Description |
Distribution.ExponentialBucketsOrBuilder |
getLinearBuckets()
public abstract Distribution.LinearBuckets getLinearBuckets()
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
Type | Description |
Distribution.LinearBuckets | The linearBuckets. |
getLinearBucketsOrBuilder()
public abstract Distribution.LinearBucketsOrBuilder getLinearBucketsOrBuilder()
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
Type | Description |
Distribution.LinearBucketsOrBuilder |
getMaximum()
public abstract double getMaximum()
The maximum of the population of values. Ignored if count
is zero.
double maximum = 4;
Type | Description |
double | The maximum. |
getMean()
public abstract double getMean()
The arithmetic mean of the samples in the distribution. If count
is
zero then this field must be zero.
double mean = 2;
Type | Description |
double | The mean. |
getMinimum()
public abstract double getMinimum()
The minimum of the population of values. Ignored if count
is zero.
double minimum = 3;
Type | Description |
double | The minimum. |
getSumOfSquaredDeviation()
public abstract double getSumOfSquaredDeviation()
The sum of squared deviations from the mean:
Sumi=1..count^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.
double sum_of_squared_deviation = 5;
Type | Description |
double | The sumOfSquaredDeviation. |
hasExplicitBuckets()
public abstract boolean hasExplicitBuckets()
Buckets with arbitrary user-provided width.
.google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
Type | Description |
boolean | Whether the explicitBuckets field is set. |
hasExponentialBuckets()
public abstract boolean hasExponentialBuckets()
Buckets with exponentially growing width.
.google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
Type | Description |
boolean | Whether the exponentialBuckets field is set. |
hasLinearBuckets()
public abstract boolean hasLinearBuckets()
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
Type | Description |
boolean | Whether the linearBuckets field is set. |