public static final class Distribution.ExplicitBuckets.Builder extends com.google.protobuf.GeneratedMessage.Builder<Distribution.ExplicitBuckets.Builder> implements Distribution.ExplicitBucketsOrBuilder
Describing buckets with arbitrary user-provided width.Protobuf type
google.api.servicecontrol.v1.Distribution.ExplicitBuckets| Modifier and Type | Method and Description |
|---|---|
Distribution.ExplicitBuckets.Builder |
addAllBounds(java.lang.Iterable<? extends java.lang.Double> values)
'bound' is a list of strictly increasing boundaries between
buckets.
|
Distribution.ExplicitBuckets.Builder |
addBounds(double value)
'bound' is a list of strictly increasing boundaries between
buckets.
|
Distribution.ExplicitBuckets.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Distribution.ExplicitBuckets |
build() |
Distribution.ExplicitBuckets |
buildPartial() |
Distribution.ExplicitBuckets.Builder |
clear() |
Distribution.ExplicitBuckets.Builder |
clearBounds()
'bound' is a list of strictly increasing boundaries between
buckets.
|
Distribution.ExplicitBuckets.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Distribution.ExplicitBuckets.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Distribution.ExplicitBuckets.Builder |
clone() |
double |
getBounds(int index)
'bound' is a list of strictly increasing boundaries between
buckets.
|
int |
getBoundsCount()
'bound' is a list of strictly increasing boundaries between
buckets.
|
java.util.List<java.lang.Double> |
getBoundsList()
'bound' is a list of strictly increasing boundaries between
buckets.
|
Distribution.ExplicitBuckets |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Distribution.ExplicitBuckets.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Distribution.ExplicitBuckets.Builder |
mergeFrom(Distribution.ExplicitBuckets other) |
Distribution.ExplicitBuckets.Builder |
mergeFrom(com.google.protobuf.Message other) |
Distribution.ExplicitBuckets.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Distribution.ExplicitBuckets.Builder |
setBounds(int index,
double value)
'bound' is a list of strictly increasing boundaries between
buckets.
|
Distribution.ExplicitBuckets.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Distribution.ExplicitBuckets.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Distribution.ExplicitBuckets.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, 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.ExplicitBuckets.Builder>public Distribution.ExplicitBuckets.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.ExplicitBuckets.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.ExplicitBuckets.Builder>public Distribution.ExplicitBuckets getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Distribution.ExplicitBuckets build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Distribution.ExplicitBuckets buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Distribution.ExplicitBuckets.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.ExplicitBuckets.Builder>public Distribution.ExplicitBuckets.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.ExplicitBuckets.Builder>public Distribution.ExplicitBuckets.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessage.Builder<Distribution.ExplicitBuckets.Builder>public Distribution.ExplicitBuckets.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessage.Builder<Distribution.ExplicitBuckets.Builder>public Distribution.ExplicitBuckets.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.ExplicitBuckets.Builder>public Distribution.ExplicitBuckets.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.ExplicitBuckets.Builder>public Distribution.ExplicitBuckets.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Distribution.ExplicitBuckets.Builder>public Distribution.ExplicitBuckets.Builder mergeFrom(Distribution.ExplicitBuckets other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Distribution.ExplicitBuckets.Builder>public Distribution.ExplicitBuckets.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.ExplicitBuckets.Builder>java.io.IOExceptionpublic java.util.List<java.lang.Double> getBoundsList()
'bound' is a list of strictly increasing boundaries between buckets. Note that a list of length N-1 defines N buckets because of fenceposting. See comments on `bucket_options` for details. The i'th finite bucket covers the interval [bound[i-1], bound[i]) where i ranges from 1 to bound_size() - 1. Note that there are no finite buckets at all if 'bound' only contains a single element; in that special case the single bound defines the boundary between the underflow and overflow buckets. bucket number lower bound upper bound i == 0 (underflow) -inf bound[i] 0 < i < bound_size() bound[i-1] bound[i] i == bound_size() (overflow) bound[i-1] +inf
repeated double bounds = 1;getBoundsList in interface Distribution.ExplicitBucketsOrBuilderpublic int getBoundsCount()
'bound' is a list of strictly increasing boundaries between buckets. Note that a list of length N-1 defines N buckets because of fenceposting. See comments on `bucket_options` for details. The i'th finite bucket covers the interval [bound[i-1], bound[i]) where i ranges from 1 to bound_size() - 1. Note that there are no finite buckets at all if 'bound' only contains a single element; in that special case the single bound defines the boundary between the underflow and overflow buckets. bucket number lower bound upper bound i == 0 (underflow) -inf bound[i] 0 < i < bound_size() bound[i-1] bound[i] i == bound_size() (overflow) bound[i-1] +inf
repeated double bounds = 1;getBoundsCount in interface Distribution.ExplicitBucketsOrBuilderpublic double getBounds(int index)
'bound' is a list of strictly increasing boundaries between buckets. Note that a list of length N-1 defines N buckets because of fenceposting. See comments on `bucket_options` for details. The i'th finite bucket covers the interval [bound[i-1], bound[i]) where i ranges from 1 to bound_size() - 1. Note that there are no finite buckets at all if 'bound' only contains a single element; in that special case the single bound defines the boundary between the underflow and overflow buckets. bucket number lower bound upper bound i == 0 (underflow) -inf bound[i] 0 < i < bound_size() bound[i-1] bound[i] i == bound_size() (overflow) bound[i-1] +inf
repeated double bounds = 1;getBounds in interface Distribution.ExplicitBucketsOrBuilderpublic Distribution.ExplicitBuckets.Builder setBounds(int index, double value)
'bound' is a list of strictly increasing boundaries between buckets. Note that a list of length N-1 defines N buckets because of fenceposting. See comments on `bucket_options` for details. The i'th finite bucket covers the interval [bound[i-1], bound[i]) where i ranges from 1 to bound_size() - 1. Note that there are no finite buckets at all if 'bound' only contains a single element; in that special case the single bound defines the boundary between the underflow and overflow buckets. bucket number lower bound upper bound i == 0 (underflow) -inf bound[i] 0 < i < bound_size() bound[i-1] bound[i] i == bound_size() (overflow) bound[i-1] +inf
repeated double bounds = 1;public Distribution.ExplicitBuckets.Builder addBounds(double value)
'bound' is a list of strictly increasing boundaries between buckets. Note that a list of length N-1 defines N buckets because of fenceposting. See comments on `bucket_options` for details. The i'th finite bucket covers the interval [bound[i-1], bound[i]) where i ranges from 1 to bound_size() - 1. Note that there are no finite buckets at all if 'bound' only contains a single element; in that special case the single bound defines the boundary between the underflow and overflow buckets. bucket number lower bound upper bound i == 0 (underflow) -inf bound[i] 0 < i < bound_size() bound[i-1] bound[i] i == bound_size() (overflow) bound[i-1] +inf
repeated double bounds = 1;public Distribution.ExplicitBuckets.Builder addAllBounds(java.lang.Iterable<? extends java.lang.Double> values)
'bound' is a list of strictly increasing boundaries between buckets. Note that a list of length N-1 defines N buckets because of fenceposting. See comments on `bucket_options` for details. The i'th finite bucket covers the interval [bound[i-1], bound[i]) where i ranges from 1 to bound_size() - 1. Note that there are no finite buckets at all if 'bound' only contains a single element; in that special case the single bound defines the boundary between the underflow and overflow buckets. bucket number lower bound upper bound i == 0 (underflow) -inf bound[i] 0 < i < bound_size() bound[i-1] bound[i] i == bound_size() (overflow) bound[i-1] +inf
repeated double bounds = 1;public Distribution.ExplicitBuckets.Builder clearBounds()
'bound' is a list of strictly increasing boundaries between buckets. Note that a list of length N-1 defines N buckets because of fenceposting. See comments on `bucket_options` for details. The i'th finite bucket covers the interval [bound[i-1], bound[i]) where i ranges from 1 to bound_size() - 1. Note that there are no finite buckets at all if 'bound' only contains a single element; in that special case the single bound defines the boundary between the underflow and overflow buckets. bucket number lower bound upper bound i == 0 (underflow) -inf bound[i] 0 < i < bound_size() bound[i-1] bound[i] i == bound_size() (overflow) bound[i-1] +inf
repeated double bounds = 1;public final Distribution.ExplicitBuckets.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessage.Builder<Distribution.ExplicitBuckets.Builder>public final Distribution.ExplicitBuckets.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessage.Builder<Distribution.ExplicitBuckets.Builder>