public static final class Distribution.BucketOptions.Builder extends GeneratedMessageV3.Builder<Distribution.BucketOptions.Builder> implements Distribution.BucketOptionsOrBuilder
`BucketOptions` describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. `BucketOptions` does not include the number of values in each bucket. A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.Protobuf type
google.api.Distribution.BucketOptions
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.Builder>
public Distribution.BucketOptions.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Builder>
public Distribution.BucketOptions getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Distribution.BucketOptions build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Distribution.BucketOptions buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Distribution.BucketOptions.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Builder>
public Distribution.BucketOptions.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Builder>
public Distribution.BucketOptions.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Builder>
public Distribution.BucketOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Builder>
public Distribution.BucketOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Builder>
public Distribution.BucketOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Builder>
public Distribution.BucketOptions.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Distribution.BucketOptions.Builder>
public Distribution.BucketOptions.Builder mergeFrom(Distribution.BucketOptions other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Builder>
public Distribution.BucketOptions.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.Builder>
java.io.IOException
public Distribution.BucketOptions.OptionsCase getOptionsCase()
getOptionsCase
in interface Distribution.BucketOptionsOrBuilder
public Distribution.BucketOptions.Builder clearOptions()
public boolean hasLinearBuckets()
The linear bucket.
.google.api.Distribution.BucketOptions.Linear linear_buckets = 1;
hasLinearBuckets
in interface Distribution.BucketOptionsOrBuilder
public Distribution.BucketOptions.Linear getLinearBuckets()
The linear bucket.
.google.api.Distribution.BucketOptions.Linear linear_buckets = 1;
getLinearBuckets
in interface Distribution.BucketOptionsOrBuilder
public Distribution.BucketOptions.Builder setLinearBuckets(Distribution.BucketOptions.Linear value)
The linear bucket.
.google.api.Distribution.BucketOptions.Linear linear_buckets = 1;
public Distribution.BucketOptions.Builder setLinearBuckets(Distribution.BucketOptions.Linear.Builder builderForValue)
The linear bucket.
.google.api.Distribution.BucketOptions.Linear linear_buckets = 1;
public Distribution.BucketOptions.Builder mergeLinearBuckets(Distribution.BucketOptions.Linear value)
The linear bucket.
.google.api.Distribution.BucketOptions.Linear linear_buckets = 1;
public Distribution.BucketOptions.Builder clearLinearBuckets()
The linear bucket.
.google.api.Distribution.BucketOptions.Linear linear_buckets = 1;
public Distribution.BucketOptions.Linear.Builder getLinearBucketsBuilder()
The linear bucket.
.google.api.Distribution.BucketOptions.Linear linear_buckets = 1;
public Distribution.BucketOptions.LinearOrBuilder getLinearBucketsOrBuilder()
The linear bucket.
.google.api.Distribution.BucketOptions.Linear linear_buckets = 1;
getLinearBucketsOrBuilder
in interface Distribution.BucketOptionsOrBuilder
public boolean hasExponentialBuckets()
The exponential buckets.
.google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;
hasExponentialBuckets
in interface Distribution.BucketOptionsOrBuilder
public Distribution.BucketOptions.Exponential getExponentialBuckets()
The exponential buckets.
.google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;
getExponentialBuckets
in interface Distribution.BucketOptionsOrBuilder
public Distribution.BucketOptions.Builder setExponentialBuckets(Distribution.BucketOptions.Exponential value)
The exponential buckets.
.google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;
public Distribution.BucketOptions.Builder setExponentialBuckets(Distribution.BucketOptions.Exponential.Builder builderForValue)
The exponential buckets.
.google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;
public Distribution.BucketOptions.Builder mergeExponentialBuckets(Distribution.BucketOptions.Exponential value)
The exponential buckets.
.google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;
public Distribution.BucketOptions.Builder clearExponentialBuckets()
The exponential buckets.
.google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;
public Distribution.BucketOptions.Exponential.Builder getExponentialBucketsBuilder()
The exponential buckets.
.google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;
public Distribution.BucketOptions.ExponentialOrBuilder getExponentialBucketsOrBuilder()
The exponential buckets.
.google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;
getExponentialBucketsOrBuilder
in interface Distribution.BucketOptionsOrBuilder
public boolean hasExplicitBuckets()
The explicit buckets.
.google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;
hasExplicitBuckets
in interface Distribution.BucketOptionsOrBuilder
public Distribution.BucketOptions.Explicit getExplicitBuckets()
The explicit buckets.
.google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;
getExplicitBuckets
in interface Distribution.BucketOptionsOrBuilder
public Distribution.BucketOptions.Builder setExplicitBuckets(Distribution.BucketOptions.Explicit value)
The explicit buckets.
.google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;
public Distribution.BucketOptions.Builder setExplicitBuckets(Distribution.BucketOptions.Explicit.Builder builderForValue)
The explicit buckets.
.google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;
public Distribution.BucketOptions.Builder mergeExplicitBuckets(Distribution.BucketOptions.Explicit value)
The explicit buckets.
.google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;
public Distribution.BucketOptions.Builder clearExplicitBuckets()
The explicit buckets.
.google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;
public Distribution.BucketOptions.Explicit.Builder getExplicitBucketsBuilder()
The explicit buckets.
.google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;
public Distribution.BucketOptions.ExplicitOrBuilder getExplicitBucketsOrBuilder()
The explicit buckets.
.google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;
getExplicitBucketsOrBuilder
in interface Distribution.BucketOptionsOrBuilder
public final Distribution.BucketOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Builder>
public final Distribution.BucketOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Builder>