Send feedback
Class Distribution.BucketOptions.Exponential.Builder (2.7.4)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.7.4 keyboard_arrow_down
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
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Distribution . BucketOptions . Exponential . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public Distribution . BucketOptions . Exponential build ()
Returns
buildPartial()
public Distribution . BucketOptions . Exponential buildPartial ()
Returns
clear()
public Distribution . BucketOptions . Exponential . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Distribution . BucketOptions . Exponential . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearGrowthFactor()
public Distribution . BucketOptions . Exponential . Builder clearGrowthFactor ()
Must be greater than 1.
double growth_factor = 2;
Returns
clearNumFiniteBuckets()
public Distribution . BucketOptions . Exponential . Builder clearNumFiniteBuckets ()
Must be greater than 0.
int32 num_finite_buckets = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Distribution . BucketOptions . Exponential . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearScale()
public Distribution . BucketOptions . Exponential . Builder clearScale ()
Must be greater than 0.
double scale = 3;
Returns
clone()
public Distribution . BucketOptions . Exponential . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public Distribution . BucketOptions . Exponential getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getGrowthFactor()
public double getGrowthFactor ()
Must be greater than 1.
double growth_factor = 2;
Returns
Type Description double The growthFactor.
getNumFiniteBuckets()
public int getNumFiniteBuckets ()
Must be greater than 0.
int32 num_finite_buckets = 1;
Returns
Type Description int The numFiniteBuckets.
getScale()
Must be greater than 0.
double scale = 3;
Returns
Type Description double The scale.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(Distribution.BucketOptions.Exponential other)
public Distribution . BucketOptions . Exponential . Builder mergeFrom ( Distribution . BucketOptions . Exponential other )
Parameter
Returns
public Distribution . BucketOptions . Exponential . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Distribution . BucketOptions . Exponential . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Distribution . BucketOptions . Exponential . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Distribution . BucketOptions . Exponential . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setGrowthFactor(double value)
public Distribution . BucketOptions . Exponential . Builder setGrowthFactor ( double value )
Must be greater than 1.
double growth_factor = 2;
Parameter
Name Description value double
The growthFactor to set.
Returns
setNumFiniteBuckets(int value)
public Distribution . BucketOptions . Exponential . Builder setNumFiniteBuckets ( int value )
Must be greater than 0.
int32 num_finite_buckets = 1;
Parameter
Name Description value int
The numFiniteBuckets to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Distribution . BucketOptions . Exponential . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setScale(double value)
public Distribution . BucketOptions . Exponential . Builder setScale ( double value )
Must be greater than 0.
double scale = 3;
Parameter
Name Description value double
The scale to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Distribution . BucketOptions . Exponential . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-06 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-06 UTC."],[],[]]