public static final class Distribution.BucketOptions.Linear.Builder extends GeneratedMessageV3.Builder<Distribution.BucketOptions.Linear.Builder> implements Distribution.BucketOptions.LinearOrBuilder
Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket. There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the following boundaries: Upper bound (0 <= i < N-1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)).Protobuf type
google.api.Distribution.BucketOptions.Linear
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.Linear.Builder>
public Distribution.BucketOptions.Linear.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Linear.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Linear.Builder>
public Distribution.BucketOptions.Linear getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Distribution.BucketOptions.Linear build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Distribution.BucketOptions.Linear buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Distribution.BucketOptions.Linear.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Linear.Builder>
public Distribution.BucketOptions.Linear.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Linear.Builder>
public Distribution.BucketOptions.Linear.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Linear.Builder>
public Distribution.BucketOptions.Linear.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Linear.Builder>
public Distribution.BucketOptions.Linear.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Linear.Builder>
public Distribution.BucketOptions.Linear.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Linear.Builder>
public Distribution.BucketOptions.Linear.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Distribution.BucketOptions.Linear.Builder>
public Distribution.BucketOptions.Linear.Builder mergeFrom(Distribution.BucketOptions.Linear other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Linear.Builder>
public Distribution.BucketOptions.Linear.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.Linear.Builder>
java.io.IOException
public int getNumFiniteBuckets()
Must be greater than 0.
int32 num_finite_buckets = 1;
getNumFiniteBuckets
in interface Distribution.BucketOptions.LinearOrBuilder
public Distribution.BucketOptions.Linear.Builder setNumFiniteBuckets(int value)
Must be greater than 0.
int32 num_finite_buckets = 1;
public Distribution.BucketOptions.Linear.Builder clearNumFiniteBuckets()
Must be greater than 0.
int32 num_finite_buckets = 1;
public double getWidth()
Must be greater than 0.
double width = 2;
getWidth
in interface Distribution.BucketOptions.LinearOrBuilder
public Distribution.BucketOptions.Linear.Builder setWidth(double value)
Must be greater than 0.
double width = 2;
public Distribution.BucketOptions.Linear.Builder clearWidth()
Must be greater than 0.
double width = 2;
public double getOffset()
Lower bound of the first bucket.
double offset = 3;
getOffset
in interface Distribution.BucketOptions.LinearOrBuilder
public Distribution.BucketOptions.Linear.Builder setOffset(double value)
Lower bound of the first bucket.
double offset = 3;
public Distribution.BucketOptions.Linear.Builder clearOffset()
Lower bound of the first bucket.
double offset = 3;
public final Distribution.BucketOptions.Linear.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Linear.Builder>
public final Distribution.BucketOptions.Linear.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Distribution.BucketOptions.Linear.Builder>