Package com.google.api
Interface Distribution.BucketOptions.LinearOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Distribution.BucketOptions.Linear
,Distribution.BucketOptions.Linear.Builder
- Enclosing class:
- Distribution.BucketOptions
public static interface Distribution.BucketOptions.LinearOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionint
Must be greater than 0.double
Lower bound of the first bucket.double
getWidth()
Must be greater than 0.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getNumFiniteBuckets
int getNumFiniteBuckets()Must be greater than 0.
int32 num_finite_buckets = 1;
- Returns:
- The numFiniteBuckets.
-
getWidth
double getWidth()Must be greater than 0.
double width = 2;
- Returns:
- The width.
-
getOffset
double getOffset()Lower bound of the first bucket.
double offset = 3;
- Returns:
- The offset.
-