public static final class Distribution.BucketOptions.Exponential.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder> implements Distribution.BucketOptions.ExponentialOrBuilder
Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket. There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the following boundaries: Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).Protobuf type
google.api.Distribution.BucketOptions.Exponential
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Distribution.BucketOptions.Exponential build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Distribution.BucketOptions.Exponential buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Distribution.BucketOptions.Exponential.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential.Builder mergeFrom(Distribution.BucketOptions.Exponential other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Distribution.BucketOptions.Exponential.Builder>
java.io.IOException
public int getNumFiniteBuckets()
Must be greater than 0.
int32 num_finite_buckets = 1;
getNumFiniteBuckets
in interface Distribution.BucketOptions.ExponentialOrBuilder
public Distribution.BucketOptions.Exponential.Builder setNumFiniteBuckets(int value)
Must be greater than 0.
int32 num_finite_buckets = 1;
public Distribution.BucketOptions.Exponential.Builder clearNumFiniteBuckets()
Must be greater than 0.
int32 num_finite_buckets = 1;
public double getGrowthFactor()
Must be greater than 1.
double growth_factor = 2;
getGrowthFactor
in interface Distribution.BucketOptions.ExponentialOrBuilder
public Distribution.BucketOptions.Exponential.Builder setGrowthFactor(double value)
Must be greater than 1.
double growth_factor = 2;
public Distribution.BucketOptions.Exponential.Builder clearGrowthFactor()
Must be greater than 1.
double growth_factor = 2;
public double getScale()
Must be greater than 0.
double scale = 3;
getScale
in interface Distribution.BucketOptions.ExponentialOrBuilder
public Distribution.BucketOptions.Exponential.Builder setScale(double value)
Must be greater than 0.
double scale = 3;
public Distribution.BucketOptions.Exponential.Builder clearScale()
Must be greater than 0.
double scale = 3;
public final Distribution.BucketOptions.Exponential.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public final Distribution.BucketOptions.Exponential.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>