public static enum Distribution.BucketOptions.OptionsCase extends java.lang.Enum<Distribution.BucketOptions.OptionsCase> implements Internal.EnumLite
Enum Constant and Description |
---|
EXPLICIT_BUCKETS |
EXPONENTIAL_BUCKETS |
LINEAR_BUCKETS |
OPTIONS_NOT_SET |
Modifier and Type | Method and Description |
---|---|
static Distribution.BucketOptions.OptionsCase |
forNumber(int value) |
int |
getNumber() |
static Distribution.BucketOptions.OptionsCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Distribution.BucketOptions.OptionsCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Distribution.BucketOptions.OptionsCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Distribution.BucketOptions.OptionsCase LINEAR_BUCKETS
public static final Distribution.BucketOptions.OptionsCase EXPONENTIAL_BUCKETS
public static final Distribution.BucketOptions.OptionsCase EXPLICIT_BUCKETS
public static final Distribution.BucketOptions.OptionsCase OPTIONS_NOT_SET
public static Distribution.BucketOptions.OptionsCase[] values()
for (Distribution.BucketOptions.OptionsCase c : Distribution.BucketOptions.OptionsCase.values()) System.out.println(c);
public static Distribution.BucketOptions.OptionsCase valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static Distribution.BucketOptions.OptionsCase valueOf(int value)
forNumber(int)
instead.public static Distribution.BucketOptions.OptionsCase forNumber(int value)
public int getNumber()
getNumber
in interface Internal.EnumLite