public static final class Distribution.BucketOptions.Linear extends GeneratedMessageV3 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
Modifier and Type | Class and Description |
---|---|
static class |
Distribution.BucketOptions.Linear.Builder
Specifies a linear sequence of buckets that all have the same width
(except overflow and underflow).
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
NUM_FINITE_BUCKETS_FIELD_NUMBER |
static int |
OFFSET_FIELD_NUMBER |
static int |
WIDTH_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int NUM_FINITE_BUCKETS_FIELD_NUMBER
public static final int WIDTH_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public int getNumFiniteBuckets()
Must be greater than 0.
int32 num_finite_buckets = 1;
getNumFiniteBuckets
in interface Distribution.BucketOptions.LinearOrBuilder
public double getWidth()
Must be greater than 0.
double width = 2;
getWidth
in interface Distribution.BucketOptions.LinearOrBuilder
public double getOffset()
Lower bound of the first bucket.
double offset = 3;
getOffset
in interface Distribution.BucketOptions.LinearOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Distribution.BucketOptions.Linear parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Distribution.BucketOptions.Linear parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Distribution.BucketOptions.Linear parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Distribution.BucketOptions.Linear parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Distribution.BucketOptions.Linear parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Distribution.BucketOptions.Linear parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Distribution.BucketOptions.Linear parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Distribution.BucketOptions.Linear parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Distribution.BucketOptions.Linear parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Distribution.BucketOptions.Linear parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Distribution.BucketOptions.Linear parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Distribution.BucketOptions.Linear parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Distribution.BucketOptions.Linear.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Distribution.BucketOptions.Linear.Builder newBuilder()
public static Distribution.BucketOptions.Linear.Builder newBuilder(Distribution.BucketOptions.Linear prototype)
public Distribution.BucketOptions.Linear.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Distribution.BucketOptions.Linear.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Distribution.BucketOptions.Linear getDefaultInstance()
public static Parser<Distribution.BucketOptions.Linear> parser()
public Parser<Distribution.BucketOptions.Linear> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Distribution.BucketOptions.Linear getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder