public static final class Distribution.BucketOptions.Builder extends com.google.protobuf.GeneratedMessage.Builder<Distribution.BucketOptions.Builder> implements Distribution.BucketOptionsOrBuilder
A Distribution may optionally contain a histogram of the values in the population. The histogram is given in `bucket_counts` as counts of values that fall into one of a sequence of non-overlapping buckets. The sequence of buckets is described by `bucket_options`. A bucket specifies an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket is 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. `BucketOptions` describes bucket boundaries in one of three ways. Two describe the boundaries by giving parameters for a formula to generate boundaries and one gives the bucket boundaries explicitly. If `bucket_boundaries` is not given, then no `bucket_counts` may be given.Protobuf type
google.api.Distribution.BucketOptionsgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Distribution.BucketOptions.Builder>public Distribution.BucketOptions.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Distribution.BucketOptions.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Distribution.BucketOptions.Builder>public Distribution.BucketOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Distribution.BucketOptions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Distribution.BucketOptions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Distribution.BucketOptions.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<Distribution.BucketOptions.Builder>public Distribution.BucketOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessage.Builder<Distribution.BucketOptions.Builder>public Distribution.BucketOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessage.Builder<Distribution.BucketOptions.Builder>public Distribution.BucketOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessage.Builder<Distribution.BucketOptions.Builder>public Distribution.BucketOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessage.Builder<Distribution.BucketOptions.Builder>public Distribution.BucketOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessage.Builder<Distribution.BucketOptions.Builder>public Distribution.BucketOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Distribution.BucketOptions.Builder>public Distribution.BucketOptions.Builder mergeFrom(Distribution.BucketOptions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Distribution.BucketOptions.Builder>public Distribution.BucketOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Distribution.BucketOptions.Builder>java.io.IOExceptionpublic Distribution.BucketOptions.OptionsCase getOptionsCase()
getOptionsCase in interface Distribution.BucketOptionsOrBuilderpublic Distribution.BucketOptions.Builder clearOptions()
public Distribution.BucketOptions.Linear getLinearBuckets()
The linear bucket.
optional .google.api.Distribution.BucketOptions.Linear linear_buckets = 1;getLinearBuckets in interface Distribution.BucketOptionsOrBuilderpublic Distribution.BucketOptions.Builder setLinearBuckets(Distribution.BucketOptions.Linear value)
The linear bucket.
optional .google.api.Distribution.BucketOptions.Linear linear_buckets = 1;public Distribution.BucketOptions.Builder setLinearBuckets(Distribution.BucketOptions.Linear.Builder builderForValue)
The linear bucket.
optional .google.api.Distribution.BucketOptions.Linear linear_buckets = 1;public Distribution.BucketOptions.Builder mergeLinearBuckets(Distribution.BucketOptions.Linear value)
The linear bucket.
optional .google.api.Distribution.BucketOptions.Linear linear_buckets = 1;public Distribution.BucketOptions.Builder clearLinearBuckets()
The linear bucket.
optional .google.api.Distribution.BucketOptions.Linear linear_buckets = 1;public Distribution.BucketOptions.Linear.Builder getLinearBucketsBuilder()
The linear bucket.
optional .google.api.Distribution.BucketOptions.Linear linear_buckets = 1;public Distribution.BucketOptions.LinearOrBuilder getLinearBucketsOrBuilder()
The linear bucket.
optional .google.api.Distribution.BucketOptions.Linear linear_buckets = 1;getLinearBucketsOrBuilder in interface Distribution.BucketOptionsOrBuilderpublic Distribution.BucketOptions.Exponential getExponentialBuckets()
The exponential buckets.
optional .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;getExponentialBuckets in interface Distribution.BucketOptionsOrBuilderpublic Distribution.BucketOptions.Builder setExponentialBuckets(Distribution.BucketOptions.Exponential value)
The exponential buckets.
optional .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;public Distribution.BucketOptions.Builder setExponentialBuckets(Distribution.BucketOptions.Exponential.Builder builderForValue)
The exponential buckets.
optional .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;public Distribution.BucketOptions.Builder mergeExponentialBuckets(Distribution.BucketOptions.Exponential value)
The exponential buckets.
optional .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;public Distribution.BucketOptions.Builder clearExponentialBuckets()
The exponential buckets.
optional .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;public Distribution.BucketOptions.Exponential.Builder getExponentialBucketsBuilder()
The exponential buckets.
optional .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;public Distribution.BucketOptions.ExponentialOrBuilder getExponentialBucketsOrBuilder()
The exponential buckets.
optional .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;getExponentialBucketsOrBuilder in interface Distribution.BucketOptionsOrBuilderpublic Distribution.BucketOptions.Explicit getExplicitBuckets()
The explicit buckets.
optional .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;getExplicitBuckets in interface Distribution.BucketOptionsOrBuilderpublic Distribution.BucketOptions.Builder setExplicitBuckets(Distribution.BucketOptions.Explicit value)
The explicit buckets.
optional .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;public Distribution.BucketOptions.Builder setExplicitBuckets(Distribution.BucketOptions.Explicit.Builder builderForValue)
The explicit buckets.
optional .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;public Distribution.BucketOptions.Builder mergeExplicitBuckets(Distribution.BucketOptions.Explicit value)
The explicit buckets.
optional .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;public Distribution.BucketOptions.Builder clearExplicitBuckets()
The explicit buckets.
optional .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;public Distribution.BucketOptions.Explicit.Builder getExplicitBucketsBuilder()
The explicit buckets.
optional .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;public Distribution.BucketOptions.ExplicitOrBuilder getExplicitBucketsOrBuilder()
The explicit buckets.
optional .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;getExplicitBucketsOrBuilder in interface Distribution.BucketOptionsOrBuilderpublic final Distribution.BucketOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessage.Builder<Distribution.BucketOptions.Builder>public final Distribution.BucketOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessage.Builder<Distribution.BucketOptions.Builder>