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, 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
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>
public Distribution.BucketOptions.Explicit getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Distribution.BucketOptions.Explicit build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Distribution.BucketOptions.Explicit buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Distribution.BucketOptions.Explicit.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Distribution.BucketOptions.Explicit.Builder>
java.io.IOException
public java.util.List<java.lang.Double> getBoundsList()
The values must be monotonically increasing.
repeated double bounds = 1;
getBoundsList
in interface Distribution.BucketOptions.ExplicitOrBuilder
public int getBoundsCount()
The values must be monotonically increasing.
repeated double bounds = 1;
getBoundsCount
in interface Distribution.BucketOptions.ExplicitOrBuilder
public double getBounds(int index)
The values must be monotonically increasing.
repeated double bounds = 1;
getBounds
in interface Distribution.BucketOptions.ExplicitOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>