public static final class Distribution.BucketOptions.Explicit.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder> implements Distribution.BucketOptions.ExplicitOrBuilder
Specifies a set of buckets with arbitrary widths.
There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following
boundaries:
Upper bound (0 <= i < N-1): bounds[i]
Lower bound (1 <= i < N); bounds[i - 1]
The `bounds` field must contain at least one element. If `bounds` has
only one element, then there are no finite buckets, and that single
element is the common boundary of the overflow and underflow buckets.
Protobuf type google.api.Distribution.BucketOptions.Explicit| Modifier and Type | Method and Description |
|---|---|
Distribution.BucketOptions.Explicit.Builder |
addAllBounds(java.lang.Iterable<? extends java.lang.Double> values)
The values must be monotonically increasing.
|
Distribution.BucketOptions.Explicit.Builder |
addBounds(double value)
The values must be monotonically increasing.
|
Distribution.BucketOptions.Explicit.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Distribution.BucketOptions.Explicit |
build() |
Distribution.BucketOptions.Explicit |
buildPartial() |
Distribution.BucketOptions.Explicit.Builder |
clear() |
Distribution.BucketOptions.Explicit.Builder |
clearBounds()
The values must be monotonically increasing.
|
Distribution.BucketOptions.Explicit.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Distribution.BucketOptions.Explicit.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Distribution.BucketOptions.Explicit.Builder |
clone() |
double |
getBounds(int index)
The values must be monotonically increasing.
|
int |
getBoundsCount()
The values must be monotonically increasing.
|
java.util.List<java.lang.Double> |
getBoundsList()
The values must be monotonically increasing.
|
Distribution.BucketOptions.Explicit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Distribution.BucketOptions.Explicit.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Distribution.BucketOptions.Explicit.Builder |
mergeFrom(Distribution.BucketOptions.Explicit other) |
Distribution.BucketOptions.Explicit.Builder |
mergeFrom(com.google.protobuf.Message other) |
Distribution.BucketOptions.Explicit.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Distribution.BucketOptions.Explicit.Builder |
setBounds(int index,
double value)
The values must be monotonically increasing.
|
Distribution.BucketOptions.Explicit.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Distribution.BucketOptions.Explicit.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Distribution.BucketOptions.Explicit.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>public Distribution.BucketOptions.Explicit.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.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.GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>public Distribution.BucketOptions.Explicit getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Distribution.BucketOptions.Explicit build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Distribution.BucketOptions.Explicit buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Distribution.BucketOptions.Explicit.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>public Distribution.BucketOptions.Explicit.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.GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>public Distribution.BucketOptions.Explicit.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>public Distribution.BucketOptions.Explicit.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>public Distribution.BucketOptions.Explicit.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.GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>public Distribution.BucketOptions.Explicit.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.GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>public Distribution.BucketOptions.Explicit.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Distribution.BucketOptions.Explicit.Builder>public Distribution.BucketOptions.Explicit.Builder mergeFrom(Distribution.BucketOptions.Explicit other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>public Distribution.BucketOptions.Explicit.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.Explicit.Builder>java.io.IOExceptionpublic java.util.List<java.lang.Double> getBoundsList()
The values must be monotonically increasing.
repeated double bounds = 1;getBoundsList in interface Distribution.BucketOptions.ExplicitOrBuilderpublic int getBoundsCount()
The values must be monotonically increasing.
repeated double bounds = 1;getBoundsCount in interface Distribution.BucketOptions.ExplicitOrBuilderpublic double getBounds(int index)
The values must be monotonically increasing.
repeated double bounds = 1;getBounds in interface Distribution.BucketOptions.ExplicitOrBuilderpublic Distribution.BucketOptions.Explicit.Builder setBounds(int index, double value)
The values must be monotonically increasing.
repeated double bounds = 1;public Distribution.BucketOptions.Explicit.Builder addBounds(double value)
The values must be monotonically increasing.
repeated double bounds = 1;public Distribution.BucketOptions.Explicit.Builder addAllBounds(java.lang.Iterable<? extends java.lang.Double> values)
The values must be monotonically increasing.
repeated double bounds = 1;public Distribution.BucketOptions.Explicit.Builder clearBounds()
The values must be monotonically increasing.
repeated double bounds = 1;public final Distribution.BucketOptions.Explicit.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>public final Distribution.BucketOptions.Explicit.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>