public static final class Distribution.ExponentialBuckets.Builder extends com.google.protobuf.GeneratedMessage.Builder<Distribution.ExponentialBuckets.Builder> implements Distribution.ExponentialBucketsOrBuilder
Describing buckets with exponentially growing width.Protobuf type
google.api.servicecontrol.v1.Distribution.ExponentialBuckets| Modifier and Type | Method and Description |
|---|---|
Distribution.ExponentialBuckets.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Distribution.ExponentialBuckets |
build() |
Distribution.ExponentialBuckets |
buildPartial() |
Distribution.ExponentialBuckets.Builder |
clear() |
Distribution.ExponentialBuckets.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Distribution.ExponentialBuckets.Builder |
clearGrowthFactor()
The i'th exponential bucket covers the interval
[scale * growth_factor^(i-1), scale * growth_factor^i)
where i ranges from 1 to num_finite_buckets inclusive.
|
Distribution.ExponentialBuckets.Builder |
clearNumFiniteBuckets()
The number of finite buckets.
|
Distribution.ExponentialBuckets.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Distribution.ExponentialBuckets.Builder |
clearScale()
The i'th exponential bucket covers the interval
[scale * growth_factor^(i-1), scale * growth_factor^i)
where i ranges from 1 to num_finite_buckets inclusive.
|
Distribution.ExponentialBuckets.Builder |
clone() |
Distribution.ExponentialBuckets |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getGrowthFactor()
The i'th exponential bucket covers the interval
[scale * growth_factor^(i-1), scale * growth_factor^i)
where i ranges from 1 to num_finite_buckets inclusive.
|
int |
getNumFiniteBuckets()
The number of finite buckets.
|
double |
getScale()
The i'th exponential bucket covers the interval
[scale * growth_factor^(i-1), scale * growth_factor^i)
where i ranges from 1 to num_finite_buckets inclusive.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Distribution.ExponentialBuckets.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Distribution.ExponentialBuckets.Builder |
mergeFrom(Distribution.ExponentialBuckets other) |
Distribution.ExponentialBuckets.Builder |
mergeFrom(com.google.protobuf.Message other) |
Distribution.ExponentialBuckets.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Distribution.ExponentialBuckets.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Distribution.ExponentialBuckets.Builder |
setGrowthFactor(double value)
The i'th exponential bucket covers the interval
[scale * growth_factor^(i-1), scale * growth_factor^i)
where i ranges from 1 to num_finite_buckets inclusive.
|
Distribution.ExponentialBuckets.Builder |
setNumFiniteBuckets(int value)
The number of finite buckets.
|
Distribution.ExponentialBuckets.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Distribution.ExponentialBuckets.Builder |
setScale(double value)
The i'th exponential bucket covers the interval
[scale * growth_factor^(i-1), scale * growth_factor^i)
where i ranges from 1 to num_finite_buckets inclusive.
|
Distribution.ExponentialBuckets.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Distribution.ExponentialBuckets.Builder>public Distribution.ExponentialBuckets.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Distribution.ExponentialBuckets.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Distribution.ExponentialBuckets.Builder>public Distribution.ExponentialBuckets getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Distribution.ExponentialBuckets build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Distribution.ExponentialBuckets buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Distribution.ExponentialBuckets.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<Distribution.ExponentialBuckets.Builder>public Distribution.ExponentialBuckets.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessage.Builder<Distribution.ExponentialBuckets.Builder>public Distribution.ExponentialBuckets.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessage.Builder<Distribution.ExponentialBuckets.Builder>public Distribution.ExponentialBuckets.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessage.Builder<Distribution.ExponentialBuckets.Builder>public Distribution.ExponentialBuckets.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessage.Builder<Distribution.ExponentialBuckets.Builder>public Distribution.ExponentialBuckets.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessage.Builder<Distribution.ExponentialBuckets.Builder>public Distribution.ExponentialBuckets.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Distribution.ExponentialBuckets.Builder>public Distribution.ExponentialBuckets.Builder mergeFrom(Distribution.ExponentialBuckets other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Distribution.ExponentialBuckets.Builder>public Distribution.ExponentialBuckets.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Distribution.ExponentialBuckets.Builder>java.io.IOExceptionpublic int getNumFiniteBuckets()
The number of finite buckets. With the underflow and overflow buckets, the total number of buckets is `num_finite_buckets` + 2. See comments on `bucket_options` for details.
optional int32 num_finite_buckets = 1;getNumFiniteBuckets in interface Distribution.ExponentialBucketsOrBuilderpublic Distribution.ExponentialBuckets.Builder setNumFiniteBuckets(int value)
The number of finite buckets. With the underflow and overflow buckets, the total number of buckets is `num_finite_buckets` + 2. See comments on `bucket_options` for details.
optional int32 num_finite_buckets = 1;public Distribution.ExponentialBuckets.Builder clearNumFiniteBuckets()
The number of finite buckets. With the underflow and overflow buckets, the total number of buckets is `num_finite_buckets` + 2. See comments on `bucket_options` for details.
optional int32 num_finite_buckets = 1;public double getGrowthFactor()
The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be larger than 1.0.
optional double growth_factor = 2;getGrowthFactor in interface Distribution.ExponentialBucketsOrBuilderpublic Distribution.ExponentialBuckets.Builder setGrowthFactor(double value)
The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be larger than 1.0.
optional double growth_factor = 2;public Distribution.ExponentialBuckets.Builder clearGrowthFactor()
The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be larger than 1.0.
optional double growth_factor = 2;public double getScale()
The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be > 0.
optional double scale = 3;getScale in interface Distribution.ExponentialBucketsOrBuilderpublic Distribution.ExponentialBuckets.Builder setScale(double value)
The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be > 0.
optional double scale = 3;public Distribution.ExponentialBuckets.Builder clearScale()
The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be > 0.
optional double scale = 3;public final Distribution.ExponentialBuckets.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessage.Builder<Distribution.ExponentialBuckets.Builder>public final Distribution.ExponentialBuckets.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessage.Builder<Distribution.ExponentialBuckets.Builder>