Package com.google.api.servicecontrol.v1
Class Distribution.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Distribution.Builder>
-
- com.google.api.servicecontrol.v1.Distribution.Builder
-
- All Implemented Interfaces:
DistributionOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Distribution
public static final class Distribution.Builder extends com.google.protobuf.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 typegoogle.api.servicecontrol.v1.Distribution
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Distribution.Builder
addAllBucketCounts(Iterable<? extends Long> values)
The number of samples in each histogram bucket.Distribution.Builder
addAllExemplars(Iterable<? extends com.google.api.Distribution.Exemplar> values)
Example points.Distribution.Builder
addBucketCounts(long value)
The number of samples in each histogram bucket.Distribution.Builder
addExemplars(int index, com.google.api.Distribution.Exemplar value)
Example points.Distribution.Builder
addExemplars(int index, com.google.api.Distribution.Exemplar.Builder builderForValue)
Example points.Distribution.Builder
addExemplars(com.google.api.Distribution.Exemplar value)
Example points.Distribution.Builder
addExemplars(com.google.api.Distribution.Exemplar.Builder builderForValue)
Example points.com.google.api.Distribution.Exemplar.Builder
addExemplarsBuilder()
Example points.com.google.api.Distribution.Exemplar.Builder
addExemplarsBuilder(int index)
Example points.Distribution.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Distribution
build()
Distribution
buildPartial()
Distribution.Builder
clear()
Distribution.Builder
clearBucketCounts()
The number of samples in each histogram bucket.Distribution.Builder
clearBucketOption()
Distribution.Builder
clearCount()
The total number of samples in the distribution.Distribution.Builder
clearExemplars()
Example points.Distribution.Builder
clearExplicitBuckets()
Buckets with arbitrary user-provided width.Distribution.Builder
clearExponentialBuckets()
Buckets with exponentially growing width.Distribution.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Distribution.Builder
clearLinearBuckets()
Buckets with constant width.Distribution.Builder
clearMaximum()
The maximum of the population of values.Distribution.Builder
clearMean()
The arithmetic mean of the samples in the distribution.Distribution.Builder
clearMinimum()
The minimum of the population of values.Distribution.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Distribution.Builder
clearSumOfSquaredDeviation()
The sum of squared deviations from the mean: Sum[i=1..count]((x_i - mean)^2) where each x_i is a sample values.Distribution.Builder
clone()
long
getBucketCounts(int index)
The number of samples in each histogram bucket.int
getBucketCountsCount()
The number of samples in each histogram bucket.List<Long>
getBucketCountsList()
The number of samples in each histogram bucket.Distribution.BucketOptionCase
getBucketOptionCase()
long
getCount()
The total number of samples in the distribution.Distribution
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.api.Distribution.Exemplar
getExemplars(int index)
Example points.com.google.api.Distribution.Exemplar.Builder
getExemplarsBuilder(int index)
Example points.List<com.google.api.Distribution.Exemplar.Builder>
getExemplarsBuilderList()
Example points.int
getExemplarsCount()
Example points.List<com.google.api.Distribution.Exemplar>
getExemplarsList()
Example points.com.google.api.Distribution.ExemplarOrBuilder
getExemplarsOrBuilder(int index)
Example points.List<? extends com.google.api.Distribution.ExemplarOrBuilder>
getExemplarsOrBuilderList()
Example points.Distribution.ExplicitBuckets
getExplicitBuckets()
Buckets with arbitrary user-provided width.Distribution.ExplicitBuckets.Builder
getExplicitBucketsBuilder()
Buckets with arbitrary user-provided width.Distribution.ExplicitBucketsOrBuilder
getExplicitBucketsOrBuilder()
Buckets with arbitrary user-provided width.Distribution.ExponentialBuckets
getExponentialBuckets()
Buckets with exponentially growing width.Distribution.ExponentialBuckets.Builder
getExponentialBucketsBuilder()
Buckets with exponentially growing width.Distribution.ExponentialBucketsOrBuilder
getExponentialBucketsOrBuilder()
Buckets with exponentially growing width.Distribution.LinearBuckets
getLinearBuckets()
Buckets with constant width.Distribution.LinearBuckets.Builder
getLinearBucketsBuilder()
Buckets with constant width.Distribution.LinearBucketsOrBuilder
getLinearBucketsOrBuilder()
Buckets with constant width.double
getMaximum()
The maximum of the population of values.double
getMean()
The arithmetic mean of the samples in the distribution.double
getMinimum()
The minimum of the population of values.double
getSumOfSquaredDeviation()
The sum of squared deviations from the mean: Sum[i=1..count]((x_i - mean)^2) where each x_i is a sample values.boolean
hasExplicitBuckets()
Buckets with arbitrary user-provided width.boolean
hasExponentialBuckets()
Buckets with exponentially growing width.boolean
hasLinearBuckets()
Buckets with constant width.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Distribution.Builder
mergeExplicitBuckets(Distribution.ExplicitBuckets value)
Buckets with arbitrary user-provided width.Distribution.Builder
mergeExponentialBuckets(Distribution.ExponentialBuckets value)
Buckets with exponentially growing width.Distribution.Builder
mergeFrom(Distribution other)
Distribution.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Distribution.Builder
mergeFrom(com.google.protobuf.Message other)
Distribution.Builder
mergeLinearBuckets(Distribution.LinearBuckets value)
Buckets with constant width.Distribution.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Distribution.Builder
removeExemplars(int index)
Example points.Distribution.Builder
setBucketCounts(int index, long value)
The number of samples in each histogram bucket.Distribution.Builder
setCount(long value)
The total number of samples in the distribution.Distribution.Builder
setExemplars(int index, com.google.api.Distribution.Exemplar value)
Example points.Distribution.Builder
setExemplars(int index, com.google.api.Distribution.Exemplar.Builder builderForValue)
Example points.Distribution.Builder
setExplicitBuckets(Distribution.ExplicitBuckets value)
Buckets with arbitrary user-provided width.Distribution.Builder
setExplicitBuckets(Distribution.ExplicitBuckets.Builder builderForValue)
Buckets with arbitrary user-provided width.Distribution.Builder
setExponentialBuckets(Distribution.ExponentialBuckets value)
Buckets with exponentially growing width.Distribution.Builder
setExponentialBuckets(Distribution.ExponentialBuckets.Builder builderForValue)
Buckets with exponentially growing width.Distribution.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Distribution.Builder
setLinearBuckets(Distribution.LinearBuckets value)
Buckets with constant width.Distribution.Builder
setLinearBuckets(Distribution.LinearBuckets.Builder builderForValue)
Buckets with constant width.Distribution.Builder
setMaximum(double value)
The maximum of the population of values.Distribution.Builder
setMean(double value)
The arithmetic mean of the samples in the distribution.Distribution.Builder
setMinimum(double value)
The minimum of the population of values.Distribution.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Distribution.Builder
setSumOfSquaredDeviation(double value)
The sum of squared deviations from the mean: Sum[i=1..count]((x_i - mean)^2) where each x_i is a sample values.Distribution.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Distribution.Builder>
-
clear
public Distribution.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Distribution.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Distribution.Builder>
-
getDefaultInstanceForType
public Distribution getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Distribution build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Distribution buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Distribution.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Distribution.Builder>
-
setField
public Distribution.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Distribution.Builder>
-
clearField
public Distribution.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Distribution.Builder>
-
clearOneof
public Distribution.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Distribution.Builder>
-
setRepeatedField
public Distribution.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Distribution.Builder>
-
addRepeatedField
public Distribution.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Distribution.Builder>
-
mergeFrom
public Distribution.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Distribution.Builder>
-
mergeFrom
public Distribution.Builder mergeFrom(Distribution other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Distribution.Builder>
-
mergeFrom
public Distribution.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Distribution.Builder>
- Throws:
IOException
-
getBucketOptionCase
public Distribution.BucketOptionCase getBucketOptionCase()
- Specified by:
getBucketOptionCase
in interfaceDistributionOrBuilder
-
clearBucketOption
public Distribution.Builder clearBucketOption()
-
getCount
public long getCount()
The total number of samples in the distribution. Must be >= 0.
int64 count = 1;
- Specified by:
getCount
in interfaceDistributionOrBuilder
- Returns:
- The count.
-
setCount
public Distribution.Builder setCount(long value)
The total number of samples in the distribution. Must be >= 0.
int64 count = 1;
- Parameters:
value
- The count to set.- Returns:
- This builder for chaining.
-
clearCount
public Distribution.Builder clearCount()
The total number of samples in the distribution. Must be >= 0.
int64 count = 1;
- Returns:
- This builder for chaining.
-
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;
- Specified by:
getMean
in interfaceDistributionOrBuilder
- Returns:
- The mean.
-
setMean
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;
- Parameters:
value
- The mean to set.- Returns:
- 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;
- Returns:
- This builder for chaining.
-
getMinimum
public double getMinimum()
The minimum of the population of values. Ignored if `count` is zero.
double minimum = 3;
- Specified by:
getMinimum
in interfaceDistributionOrBuilder
- Returns:
- The minimum.
-
setMinimum
public Distribution.Builder setMinimum(double value)
The minimum of the population of values. Ignored if `count` is zero.
double minimum = 3;
- Parameters:
value
- The minimum to set.- Returns:
- This builder for chaining.
-
clearMinimum
public Distribution.Builder clearMinimum()
The minimum of the population of values. Ignored if `count` is zero.
double minimum = 3;
- Returns:
- This builder for chaining.
-
getMaximum
public double getMaximum()
The maximum of the population of values. Ignored if `count` is zero.
double maximum = 4;
- Specified by:
getMaximum
in interfaceDistributionOrBuilder
- Returns:
- The maximum.
-
setMaximum
public Distribution.Builder setMaximum(double value)
The maximum of the population of values. Ignored if `count` is zero.
double maximum = 4;
- Parameters:
value
- The maximum to set.- Returns:
- This builder for chaining.
-
clearMaximum
public Distribution.Builder clearMaximum()
The maximum of the population of values. Ignored if `count` is zero.
double maximum = 4;
- Returns:
- This builder for chaining.
-
getSumOfSquaredDeviation
public double getSumOfSquaredDeviation()
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.
double sum_of_squared_deviation = 5;
- Specified by:
getSumOfSquaredDeviation
in interfaceDistributionOrBuilder
- Returns:
- The sumOfSquaredDeviation.
-
setSumOfSquaredDeviation
public Distribution.Builder setSumOfSquaredDeviation(double value)
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.
double sum_of_squared_deviation = 5;
- Parameters:
value
- The sumOfSquaredDeviation to set.- Returns:
- This builder for chaining.
-
clearSumOfSquaredDeviation
public Distribution.Builder clearSumOfSquaredDeviation()
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.
double sum_of_squared_deviation = 5;
- Returns:
- This builder for chaining.
-
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;
- Specified by:
getBucketCountsList
in interfaceDistributionOrBuilder
- Returns:
- A list containing the bucketCounts.
-
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;
- Specified by:
getBucketCountsCount
in interfaceDistributionOrBuilder
- Returns:
- The count of bucketCounts.
-
getBucketCounts
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;
- Specified by:
getBucketCounts
in interfaceDistributionOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The bucketCounts at the given index.
-
setBucketCounts
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;
- Parameters:
index
- The index to set the value at.value
- The bucketCounts to set.- Returns:
- This builder for chaining.
-
addBucketCounts
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;
- Parameters:
value
- The bucketCounts to add.- Returns:
- This builder for chaining.
-
addAllBucketCounts
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;
- Parameters:
values
- The bucketCounts to add.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
hasLinearBuckets
public boolean hasLinearBuckets()
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
- Specified by:
hasLinearBuckets
in interfaceDistributionOrBuilder
- Returns:
- Whether the linearBuckets field is set.
-
getLinearBuckets
public Distribution.LinearBuckets getLinearBuckets()
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
- Specified by:
getLinearBuckets
in interfaceDistributionOrBuilder
- Returns:
- The linearBuckets.
-
setLinearBuckets
public Distribution.Builder setLinearBuckets(Distribution.LinearBuckets value)
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
-
setLinearBuckets
public Distribution.Builder setLinearBuckets(Distribution.LinearBuckets.Builder builderForValue)
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
-
mergeLinearBuckets
public Distribution.Builder mergeLinearBuckets(Distribution.LinearBuckets value)
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
-
clearLinearBuckets
public Distribution.Builder clearLinearBuckets()
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
-
getLinearBucketsBuilder
public Distribution.LinearBuckets.Builder getLinearBucketsBuilder()
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
-
getLinearBucketsOrBuilder
public Distribution.LinearBucketsOrBuilder getLinearBucketsOrBuilder()
Buckets with constant width.
.google.api.servicecontrol.v1.Distribution.LinearBuckets linear_buckets = 7;
- Specified by:
getLinearBucketsOrBuilder
in interfaceDistributionOrBuilder
-
hasExponentialBuckets
public boolean hasExponentialBuckets()
Buckets with exponentially growing width.
.google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
- Specified by:
hasExponentialBuckets
in interfaceDistributionOrBuilder
- Returns:
- Whether the exponentialBuckets field is set.
-
getExponentialBuckets
public Distribution.ExponentialBuckets getExponentialBuckets()
Buckets with exponentially growing width.
.google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
- Specified by:
getExponentialBuckets
in interfaceDistributionOrBuilder
- Returns:
- The exponentialBuckets.
-
setExponentialBuckets
public Distribution.Builder setExponentialBuckets(Distribution.ExponentialBuckets value)
Buckets with exponentially growing width.
.google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
-
setExponentialBuckets
public Distribution.Builder setExponentialBuckets(Distribution.ExponentialBuckets.Builder builderForValue)
Buckets with exponentially growing width.
.google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
-
mergeExponentialBuckets
public Distribution.Builder mergeExponentialBuckets(Distribution.ExponentialBuckets value)
Buckets with exponentially growing width.
.google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
-
clearExponentialBuckets
public Distribution.Builder clearExponentialBuckets()
Buckets with exponentially growing width.
.google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
-
getExponentialBucketsBuilder
public Distribution.ExponentialBuckets.Builder getExponentialBucketsBuilder()
Buckets with exponentially growing width.
.google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
-
getExponentialBucketsOrBuilder
public Distribution.ExponentialBucketsOrBuilder getExponentialBucketsOrBuilder()
Buckets with exponentially growing width.
.google.api.servicecontrol.v1.Distribution.ExponentialBuckets exponential_buckets = 8;
- Specified by:
getExponentialBucketsOrBuilder
in interfaceDistributionOrBuilder
-
hasExplicitBuckets
public boolean hasExplicitBuckets()
Buckets with arbitrary user-provided width.
.google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
- Specified by:
hasExplicitBuckets
in interfaceDistributionOrBuilder
- Returns:
- Whether the explicitBuckets field is set.
-
getExplicitBuckets
public Distribution.ExplicitBuckets getExplicitBuckets()
Buckets with arbitrary user-provided width.
.google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
- Specified by:
getExplicitBuckets
in interfaceDistributionOrBuilder
- Returns:
- The explicitBuckets.
-
setExplicitBuckets
public Distribution.Builder setExplicitBuckets(Distribution.ExplicitBuckets value)
Buckets with arbitrary user-provided width.
.google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
-
setExplicitBuckets
public Distribution.Builder setExplicitBuckets(Distribution.ExplicitBuckets.Builder builderForValue)
Buckets with arbitrary user-provided width.
.google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
-
mergeExplicitBuckets
public Distribution.Builder mergeExplicitBuckets(Distribution.ExplicitBuckets value)
Buckets with arbitrary user-provided width.
.google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
-
clearExplicitBuckets
public Distribution.Builder clearExplicitBuckets()
Buckets with arbitrary user-provided width.
.google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
-
getExplicitBucketsBuilder
public Distribution.ExplicitBuckets.Builder getExplicitBucketsBuilder()
Buckets with arbitrary user-provided width.
.google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
-
getExplicitBucketsOrBuilder
public Distribution.ExplicitBucketsOrBuilder getExplicitBucketsOrBuilder()
Buckets with arbitrary user-provided width.
.google.api.servicecontrol.v1.Distribution.ExplicitBuckets explicit_buckets = 9;
- Specified by:
getExplicitBucketsOrBuilder
in interfaceDistributionOrBuilder
-
getExemplarsList
public List<com.google.api.Distribution.Exemplar> getExemplarsList()
Example points. Must be in increasing order of `value` field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
- Specified by:
getExemplarsList
in interfaceDistributionOrBuilder
-
getExemplarsCount
public int getExemplarsCount()
Example points. Must be in increasing order of `value` field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
- Specified by:
getExemplarsCount
in interfaceDistributionOrBuilder
-
getExemplars
public com.google.api.Distribution.Exemplar getExemplars(int index)
Example points. Must be in increasing order of `value` field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
- Specified by:
getExemplars
in interfaceDistributionOrBuilder
-
setExemplars
public Distribution.Builder setExemplars(int index, com.google.api.Distribution.Exemplar value)
Example points. Must be in increasing order of `value` field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
-
setExemplars
public Distribution.Builder setExemplars(int index, com.google.api.Distribution.Exemplar.Builder builderForValue)
Example points. Must be in increasing order of `value` field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
-
addExemplars
public Distribution.Builder addExemplars(com.google.api.Distribution.Exemplar value)
Example points. Must be in increasing order of `value` field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
-
addExemplars
public Distribution.Builder addExemplars(int index, com.google.api.Distribution.Exemplar value)
Example points. Must be in increasing order of `value` field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
-
addExemplars
public Distribution.Builder addExemplars(com.google.api.Distribution.Exemplar.Builder builderForValue)
Example points. Must be in increasing order of `value` field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
-
addExemplars
public Distribution.Builder addExemplars(int index, com.google.api.Distribution.Exemplar.Builder builderForValue)
Example points. Must be in increasing order of `value` field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
-
addAllExemplars
public Distribution.Builder addAllExemplars(Iterable<? extends com.google.api.Distribution.Exemplar> values)
Example points. Must be in increasing order of `value` field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
-
clearExemplars
public Distribution.Builder clearExemplars()
Example points. Must be in increasing order of `value` field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
-
removeExemplars
public Distribution.Builder removeExemplars(int index)
Example points. Must be in increasing order of `value` field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
-
getExemplarsBuilder
public com.google.api.Distribution.Exemplar.Builder getExemplarsBuilder(int index)
Example points. Must be in increasing order of `value` field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
-
getExemplarsOrBuilder
public com.google.api.Distribution.ExemplarOrBuilder getExemplarsOrBuilder(int index)
Example points. Must be in increasing order of `value` field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
- Specified by:
getExemplarsOrBuilder
in interfaceDistributionOrBuilder
-
getExemplarsOrBuilderList
public List<? extends com.google.api.Distribution.ExemplarOrBuilder> getExemplarsOrBuilderList()
Example points. Must be in increasing order of `value` field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
- Specified by:
getExemplarsOrBuilderList
in interfaceDistributionOrBuilder
-
addExemplarsBuilder
public com.google.api.Distribution.Exemplar.Builder addExemplarsBuilder()
Example points. Must be in increasing order of `value` field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
-
addExemplarsBuilder
public com.google.api.Distribution.Exemplar.Builder addExemplarsBuilder(int index)
Example points. Must be in increasing order of `value` field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
-
getExemplarsBuilderList
public List<com.google.api.Distribution.Exemplar.Builder> getExemplarsBuilderList()
Example points. Must be in increasing order of `value` field.
repeated .google.api.Distribution.Exemplar exemplars = 10;
-
setUnknownFields
public final Distribution.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Distribution.Builder>
-
mergeUnknownFields
public final Distribution.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Distribution.Builder>
-
-