public static final class Distribution.BucketOptions.Explicit.Builder extends 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
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.Explicit.Builder>
public Distribution.BucketOptions.Explicit.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>
public Distribution.BucketOptions.Explicit getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Distribution.BucketOptions.Explicit build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Distribution.BucketOptions.Explicit buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Distribution.BucketOptions.Explicit.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>
public Distribution.BucketOptions.Explicit.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>
public Distribution.BucketOptions.Explicit.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>
public Distribution.BucketOptions.Explicit.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>
public Distribution.BucketOptions.Explicit.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>
public Distribution.BucketOptions.Explicit.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>
public Distribution.BucketOptions.Explicit.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Distribution.BucketOptions.Explicit.Builder>
public Distribution.BucketOptions.Explicit.Builder mergeFrom(Distribution.BucketOptions.Explicit other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>
public Distribution.BucketOptions.Explicit.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.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(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>
public final Distribution.BucketOptions.Explicit.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Explicit.Builder>