public static final class DistributionValue.BucketOptions extends com.google.protobuf.GeneratedMessageV3 implements DistributionValue.BucketOptionsOrBuilder
A Distribution may optionally contain a histogram of the values in the population. The bucket boundaries for that histogram are described by BucketOptions. If bucket_options has no type, then there is no histogram associated with the Distribution.Protobuf type
opencensus.proto.metrics.v1.DistributionValue.BucketOptions| Modifier and Type | Class and Description |
|---|---|
static class |
DistributionValue.BucketOptions.Builder
A Distribution may optionally contain a histogram of the values in the
population.
|
static class |
DistributionValue.BucketOptions.Explicit
Specifies a set of buckets with arbitrary upper-bounds.
|
static interface |
DistributionValue.BucketOptions.ExplicitOrBuilder |
static class |
DistributionValue.BucketOptions.TypeCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
EXPLICIT_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int EXPLICIT_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public DistributionValue.BucketOptions.TypeCase getTypeCase()
getTypeCase in interface DistributionValue.BucketOptionsOrBuilderpublic boolean hasExplicit()
Bucket with explicit bounds.
.opencensus.proto.metrics.v1.DistributionValue.BucketOptions.Explicit explicit = 1;hasExplicit in interface DistributionValue.BucketOptionsOrBuilderpublic DistributionValue.BucketOptions.Explicit getExplicit()
Bucket with explicit bounds.
.opencensus.proto.metrics.v1.DistributionValue.BucketOptions.Explicit explicit = 1;getExplicit in interface DistributionValue.BucketOptionsOrBuilderpublic DistributionValue.BucketOptions.ExplicitOrBuilder getExplicitOrBuilder()
Bucket with explicit bounds.
.opencensus.proto.metrics.v1.DistributionValue.BucketOptions.Explicit explicit = 1;getExplicitOrBuilder in interface DistributionValue.BucketOptionsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DistributionValue.BucketOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DistributionValue.BucketOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DistributionValue.BucketOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DistributionValue.BucketOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DistributionValue.BucketOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DistributionValue.BucketOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DistributionValue.BucketOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static DistributionValue.BucketOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DistributionValue.BucketOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DistributionValue.BucketOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DistributionValue.BucketOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DistributionValue.BucketOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DistributionValue.BucketOptions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DistributionValue.BucketOptions.Builder newBuilder()
public static DistributionValue.BucketOptions.Builder newBuilder(DistributionValue.BucketOptions prototype)
public DistributionValue.BucketOptions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DistributionValue.BucketOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DistributionValue.BucketOptions getDefaultInstance()
public static com.google.protobuf.Parser<DistributionValue.BucketOptions> parser()
public com.google.protobuf.Parser<DistributionValue.BucketOptions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DistributionValue.BucketOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder