- 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 static final class Distribution.Builder extends GeneratedMessageV3.Builder<Distribution.Builder> implements DistributionOrBuilder
Distribution represents a frequency distribution of double-valued sample points. It contains the size of the population of sample points plus additional optional information:
- the arithmetic mean of the samples
- the minimum and maximum of the samples
- the sum-squared-deviation of the samples, used to compute variance
- a histogram of the values of the sample points
Protobuf type google.api.servicecontrol.v1.Distribution
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Distribution.BuilderImplements
DistributionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllBucketCounts(Iterable<? extends Long> values)
public Distribution.Builder addAllBucketCounts(Iterable<? extends Long> values)
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 |
values | Iterable<? extends java.lang.Long> The bucketCounts to add. |
Type | Description |
Distribution.Builder | This builder for chaining. |
addAllExemplars(Iterable<? extends Distribution.Exemplar> values)
public Distribution.Builder addAllExemplars(Iterable<? extends Distribution.Exemplar> values)
Example points. Must be in increasing order of value
field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
Name | Description |
values | Iterable<? extends com.google.api.Distribution.Exemplar> |
Type | Description |
Distribution.Builder |
addBucketCounts(long value)
public Distribution.Builder addBucketCounts(long value)
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 |
value | long The bucketCounts to add. |
Type | Description |
Distribution.Builder | This builder for chaining. |
addExemplars(Distribution.Exemplar value)
public Distribution.Builder addExemplars(Distribution.Exemplar value)
Example points. Must be in increasing order of value
field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
Name | Description |
value | com.google.api.Distribution.Exemplar |
Type | Description |
Distribution.Builder |
addExemplars(Distribution.Exemplar.Builder builderForValue)
public Distribution.Builder addExemplars(Distribution.Exemplar.Builder builderForValue)
Example points. Must be in increasing order of value
field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
Name | Description |
builderForValue | com.google.api.Distribution.Exemplar.Builder |
Type | Description |
Distribution.Builder |
addExemplars(int index, Distribution.Exemplar value)
public Distribution.Builder addExemplars(int index, Distribution.Exemplar value)
Example points. Must be in increasing order of value
field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
Name | Description |
index | int |
value | com.google.api.Distribution.Exemplar |
Type | Description |
Distribution.Builder |
addExemplars(int index, Distribution.Exemplar.Builder builderForValue)
public Distribution.Builder addExemplars(int index, Distribution.Exemplar.Builder builderForValue)
Example points. Must be in increasing order of value
field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
Name | Description |
index | int |
builderForValue | com.google.api.Distribution.Exemplar.Builder |
Type | Description |
Distribution.Builder |
addExemplarsBuilder()
public Distribution.Exemplar.Builder addExemplarsBuilder()
Example points. Must be in increasing order of value
field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
Type | Description |
com.google.api.Distribution.Exemplar.Builder |
addExemplarsBuilder(int index)
public Distribution.Exemplar.Builder addExemplarsBuilder(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.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Distribution.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Distribution.Builder |
build()
public Distribution build()
Type | Description |
Distribution |
buildPartial()
public Distribution buildPartial()
Type | Description |
Distribution |
clear()
public Distribution.Builder clear()
Type | Description |
Distribution.Builder |
clearBucketCounts()
public Distribution.Builder clearBucketCounts()
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 |
Distribution.Builder | This builder for chaining. |
clearBucketOption()
public Distribution.Builder clearBucketOption()
Type | Description |
Distribution.Builder |
clearCount()
public Distribution.Builder clearCount()
The total number of samples in the distribution. Must be >= 0.
int64 count = 1;
Type | Description |
Distribution.Builder | This builder for chaining. |
clearExemplars()
public Distribution.Builder clearExemplars()
Example points. Must be in increasing order of value
field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
Type | Description |
Distribution.Builder |
clearExplicitBuckets()
public Distribution.Builder clearExplicitBuckets()
Buckets with arbitrary user-provided width.
.google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
Type | Description |
Distribution.Builder |
clearExponentialBuckets()
public Distribution.Builder clearExponentialBuckets()
Buckets with exponentially growing width.
.google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
Type | Description |
Distribution.Builder |
clearField(Descriptors.FieldDescriptor field)
public Distribution.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Distribution.Builder |
clearLinearBuckets()
public Distribution.Builder clearLinearBuckets()
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
Type | Description |
Distribution.Builder |
clearMaximum()
public Distribution.Builder clearMaximum()
The maximum of the population of values. Ignored if count
is zero.
double maximum = 4;
Type | Description |
Distribution.Builder | This builder for chaining. |
clearMean()
public Distribution.Builder clearMean()
The arithmetic mean of the samples in the distribution. If count
is
zero then this field must be zero.
double mean = 2;
Type | Description |
Distribution.Builder | This builder for chaining. |
clearMinimum()
public Distribution.Builder clearMinimum()
The minimum of the population of values. Ignored if count
is zero.
double minimum = 3;
Type | Description |
Distribution.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Distribution.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Distribution.Builder |
clearSumOfSquaredDeviation()
public Distribution.Builder clearSumOfSquaredDeviation()
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 |
Distribution.Builder | This builder for chaining. |
clone()
public Distribution.Builder clone()
Type | Description |
Distribution.Builder |
getBucketCounts(int index)
public 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 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 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 Distribution.BucketOptionCase getBucketOptionCase()
Type | Description |
Distribution.BucketOptionCase |
getCount()
public long getCount()
The total number of samples in the distribution. Must be >= 0.
int64 count = 1;
Type | Description |
long | The count. |
getDefaultInstanceForType()
public Distribution getDefaultInstanceForType()
Type | Description |
Distribution |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getExemplars(int index)
public 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 |
getExemplarsBuilder(int index)
public Distribution.Exemplar.Builder getExemplarsBuilder(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.Builder |
getExemplarsBuilderList()
public List<Distribution.Exemplar.Builder> getExemplarsBuilderList()
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.Builder> |
getExemplarsCount()
public int getExemplarsCount()
Example points. Must be in increasing order of value
field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
Type | Description |
int |
getExemplarsList()
public 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 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 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 Distribution.ExplicitBuckets getExplicitBuckets()
Buckets with arbitrary user-provided width.
.google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
Type | Description |
Distribution.ExplicitBuckets | The explicitBuckets. |
getExplicitBucketsBuilder()
public Distribution.ExplicitBuckets.Builder getExplicitBucketsBuilder()
Buckets with arbitrary user-provided width.
.google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
Type | Description |
Distribution.ExplicitBuckets.Builder |
getExplicitBucketsOrBuilder()
public Distribution.ExplicitBucketsOrBuilder getExplicitBucketsOrBuilder()
Buckets with arbitrary user-provided width.
.google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
Type | Description |
Distribution.ExplicitBucketsOrBuilder |
getExponentialBuckets()
public Distribution.ExponentialBuckets getExponentialBuckets()
Buckets with exponentially growing width.
.google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
Type | Description |
Distribution.ExponentialBuckets | The exponentialBuckets. |
getExponentialBucketsBuilder()
public Distribution.ExponentialBuckets.Builder getExponentialBucketsBuilder()
Buckets with exponentially growing width.
.google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
Type | Description |
Distribution.ExponentialBuckets.Builder |
getExponentialBucketsOrBuilder()
public Distribution.ExponentialBucketsOrBuilder getExponentialBucketsOrBuilder()
Buckets with exponentially growing width.
.google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
Type | Description |
Distribution.ExponentialBucketsOrBuilder |
getLinearBuckets()
public Distribution.LinearBuckets getLinearBuckets()
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
Type | Description |
Distribution.LinearBuckets | The linearBuckets. |
getLinearBucketsBuilder()
public Distribution.LinearBuckets.Builder getLinearBucketsBuilder()
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
Type | Description |
Distribution.LinearBuckets.Builder |
getLinearBucketsOrBuilder()
public Distribution.LinearBucketsOrBuilder getLinearBucketsOrBuilder()
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
Type | Description |
Distribution.LinearBucketsOrBuilder |
getMaximum()
public double getMaximum()
The maximum of the population of values. Ignored if count
is zero.
double maximum = 4;
Type | Description |
double | The maximum. |
getMean()
public 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 double getMinimum()
The minimum of the population of values. Ignored if count
is zero.
double minimum = 3;
Type | Description |
double | The minimum. |
getSumOfSquaredDeviation()
public 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 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 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 boolean hasLinearBuckets()
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
Type | Description |
boolean | Whether the linearBuckets field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeExplicitBuckets(Distribution.ExplicitBuckets value)
public Distribution.Builder mergeExplicitBuckets(Distribution.ExplicitBuckets value)
Buckets with arbitrary user-provided width.
.google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
Name | Description |
value | Distribution.ExplicitBuckets |
Type | Description |
Distribution.Builder |
mergeExponentialBuckets(Distribution.ExponentialBuckets value)
public Distribution.Builder mergeExponentialBuckets(Distribution.ExponentialBuckets value)
Buckets with exponentially growing width.
.google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
Name | Description |
value | Distribution.ExponentialBuckets |
Type | Description |
Distribution.Builder |
mergeFrom(Distribution other)
public Distribution.Builder mergeFrom(Distribution other)
Name | Description |
other | Distribution |
Type | Description |
Distribution.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Distribution.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Distribution.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Distribution.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Distribution.Builder |
mergeLinearBuckets(Distribution.LinearBuckets value)
public Distribution.Builder mergeLinearBuckets(Distribution.LinearBuckets value)
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
Name | Description |
value | Distribution.LinearBuckets |
Type | Description |
Distribution.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Distribution.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Distribution.Builder |
removeExemplars(int index)
public Distribution.Builder removeExemplars(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 |
Distribution.Builder |
setBucketCounts(int index, long value)
public Distribution.Builder setBucketCounts(int index, long value)
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 to set the value at. |
value | long The bucketCounts to set. |
Type | Description |
Distribution.Builder | This builder for chaining. |
setCount(long value)
public Distribution.Builder setCount(long value)
The total number of samples in the distribution. Must be >= 0.
int64 count = 1;
Name | Description |
value | long The count to set. |
Type | Description |
Distribution.Builder | This builder for chaining. |
setExemplars(int index, Distribution.Exemplar value)
public Distribution.Builder setExemplars(int index, Distribution.Exemplar value)
Example points. Must be in increasing order of value
field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
Name | Description |
index | int |
value | com.google.api.Distribution.Exemplar |
Type | Description |
Distribution.Builder |
setExemplars(int index, Distribution.Exemplar.Builder builderForValue)
public Distribution.Builder setExemplars(int index, Distribution.Exemplar.Builder builderForValue)
Example points. Must be in increasing order of value
field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
Name | Description |
index | int |
builderForValue | com.google.api.Distribution.Exemplar.Builder |
Type | Description |
Distribution.Builder |
setExplicitBuckets(Distribution.ExplicitBuckets value)
public Distribution.Builder setExplicitBuckets(Distribution.ExplicitBuckets value)
Buckets with arbitrary user-provided width.
.google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
Name | Description |
value | Distribution.ExplicitBuckets |
Type | Description |
Distribution.Builder |
setExplicitBuckets(Distribution.ExplicitBuckets.Builder builderForValue)
public Distribution.Builder setExplicitBuckets(Distribution.ExplicitBuckets.Builder builderForValue)
Buckets with arbitrary user-provided width.
.google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
Name | Description |
builderForValue | Distribution.ExplicitBuckets.Builder |
Type | Description |
Distribution.Builder |
setExponentialBuckets(Distribution.ExponentialBuckets value)
public Distribution.Builder setExponentialBuckets(Distribution.ExponentialBuckets value)
Buckets with exponentially growing width.
.google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
Name | Description |
value | Distribution.ExponentialBuckets |
Type | Description |
Distribution.Builder |
setExponentialBuckets(Distribution.ExponentialBuckets.Builder builderForValue)
public Distribution.Builder setExponentialBuckets(Distribution.ExponentialBuckets.Builder builderForValue)
Buckets with exponentially growing width.
.google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
Name | Description |
builderForValue | Distribution.ExponentialBuckets.Builder |
Type | Description |
Distribution.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Distribution.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Distribution.Builder |
setLinearBuckets(Distribution.LinearBuckets value)
public Distribution.Builder setLinearBuckets(Distribution.LinearBuckets value)
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
Name | Description |
value | Distribution.LinearBuckets |
Type | Description |
Distribution.Builder |
setLinearBuckets(Distribution.LinearBuckets.Builder builderForValue)
public Distribution.Builder setLinearBuckets(Distribution.LinearBuckets.Builder builderForValue)
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
Name | Description |
builderForValue | Distribution.LinearBuckets.Builder |
Type | Description |
Distribution.Builder |
setMaximum(double value)
public Distribution.Builder setMaximum(double value)
The maximum of the population of values. Ignored if count
is zero.
double maximum = 4;
Name | Description |
value | double The maximum to set. |
Type | Description |
Distribution.Builder | This builder for chaining. |
setMean(double value)
public Distribution.Builder setMean(double value)
The arithmetic mean of the samples in the distribution. If count
is
zero then this field must be zero.
double mean = 2;
Name | Description |
value | double The mean to set. |
Type | Description |
Distribution.Builder | This builder for chaining. |
setMinimum(double value)
public Distribution.Builder setMinimum(double value)
The minimum of the population of values. Ignored if count
is zero.
double minimum = 3;
Name | Description |
value | double The minimum to set. |
Type | Description |
Distribution.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Distribution.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Distribution.Builder |
setSumOfSquaredDeviation(double value)
public Distribution.Builder setSumOfSquaredDeviation(double value)
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;
Name | Description |
value | double The sumOfSquaredDeviation to set. |
Type | Description |
Distribution.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Distribution.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Distribution.Builder |