public static final class Distribution.BucketOptions.Exponential.Builder extends 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
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Distribution.BucketOptions.Exponential build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Distribution.BucketOptions.Exponential buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Distribution.BucketOptions.Exponential.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential.Builder mergeFrom(Distribution.BucketOptions.Exponential other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public Distribution.BucketOptions.Exponential.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class 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(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>
public final Distribution.BucketOptions.Exponential.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Exponential.Builder>