public static final class Distribution.BucketOptions.Exponential extends GeneratedMessageV3 implements Distribution.BucketOptions.ExponentialOrBuilder
Specifies an exponential sequence of buckets that have a width that is
proportional to the value of the lower bound. Each bucket represents a
constant relative uncertainty on a 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): scale * (growth_factor ^ i).
Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
Protobuf type google.api.Distribution.BucketOptions.Exponential
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Distribution.BucketOptions.ExponentialInherited Members
Static Fields
GROWTH_FACTOR_FIELD_NUMBER
public static final int GROWTH_FACTOR_FIELD_NUMBER
Type | Description |
int |
NUM_FINITE_BUCKETS_FIELD_NUMBER
public static final int NUM_FINITE_BUCKETS_FIELD_NUMBER
Type | Description |
int |
SCALE_FIELD_NUMBER
public static final int SCALE_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Distribution.BucketOptions.Exponential getDefaultInstance()
Type | Description |
Distribution.BucketOptions.Exponential |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Distribution.BucketOptions.Exponential.Builder newBuilder()
Type | Description |
Distribution.BucketOptions.Exponential.Builder |
newBuilder(Distribution.BucketOptions.Exponential prototype)
public static Distribution.BucketOptions.Exponential.Builder newBuilder(Distribution.BucketOptions.Exponential prototype)
Name | Description |
prototype | Distribution.BucketOptions.Exponential |
Type | Description |
Distribution.BucketOptions.Exponential.Builder |
parseDelimitedFrom(InputStream input)
public static Distribution.BucketOptions.Exponential parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Distribution.BucketOptions.Exponential |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Distribution.BucketOptions.Exponential parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Distribution.BucketOptions.Exponential |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Distribution.BucketOptions.Exponential parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Distribution.BucketOptions.Exponential |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Distribution.BucketOptions.Exponential parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Distribution.BucketOptions.Exponential |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Distribution.BucketOptions.Exponential parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Distribution.BucketOptions.Exponential |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Distribution.BucketOptions.Exponential parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Distribution.BucketOptions.Exponential |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Distribution.BucketOptions.Exponential parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Distribution.BucketOptions.Exponential |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Distribution.BucketOptions.Exponential parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Distribution.BucketOptions.Exponential |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Distribution.BucketOptions.Exponential parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Distribution.BucketOptions.Exponential |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Distribution.BucketOptions.Exponential parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Distribution.BucketOptions.Exponential |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Distribution.BucketOptions.Exponential parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Distribution.BucketOptions.Exponential |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Distribution.BucketOptions.Exponential parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Distribution.BucketOptions.Exponential |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Distribution.BucketOptions.Exponential> parser()
Type | Description |
Parser<Exponential> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public Distribution.BucketOptions.Exponential getDefaultInstanceForType()
Type | Description |
Distribution.BucketOptions.Exponential |
getGrowthFactor()
public double getGrowthFactor()
Must be greater than 1.
double growth_factor = 2;
Type | Description |
double | The growthFactor. |
getNumFiniteBuckets()
public int getNumFiniteBuckets()
Must be greater than 0.
int32 num_finite_buckets = 1;
Type | Description |
int | The numFiniteBuckets. |
getParserForType()
public Parser<Distribution.BucketOptions.Exponential> getParserForType()
Type | Description |
Parser<Exponential> |
getScale()
public double getScale()
Must be greater than 0.
double scale = 3;
Type | Description |
double | The scale. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Distribution.BucketOptions.Exponential.Builder newBuilderForType()
Type | Description |
Distribution.BucketOptions.Exponential.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Distribution.BucketOptions.Exponential.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Distribution.BucketOptions.Exponential.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Distribution.BucketOptions.Exponential.Builder toBuilder()
Type | Description |
Distribution.BucketOptions.Exponential.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |