Package com.google.api.servicecontrol.v1
Interface Distribution.ExponentialBucketsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Distribution.ExponentialBuckets
,Distribution.ExponentialBuckets.Builder
- Enclosing class:
- Distribution
public static interface Distribution.ExponentialBucketsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNumFiniteBuckets
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.
int32 num_finite_buckets = 1;
- Returns:
- The numFiniteBuckets.
-
getGrowthFactor
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.
double growth_factor = 2;
- Returns:
- The growthFactor.
-
getScale
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.
double scale = 3;
- Returns:
- The scale.
-
-