public static enum PercentOuterClass.FractionalPercent.DenominatorType extends Enum<PercentOuterClass.FractionalPercent.DenominatorType> implements com.google.protobuf.ProtocolMessageEnum
Fraction percentages support several fixed denominator values.
Protobuf enum envoy.type.FractionalPercent.DenominatorType
| Enum Constant and Description |
|---|
HUNDRED
100.
|
MILLION
1,000,000.
|
TEN_THOUSAND
10,000.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
HUNDRED_VALUE
100.
|
static int |
MILLION_VALUE
1,000,000.
|
static int |
TEN_THOUSAND_VALUE
10,000.
|
| Modifier and Type | Method and Description |
|---|---|
static PercentOuterClass.FractionalPercent.DenominatorType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<PercentOuterClass.FractionalPercent.DenominatorType> |
internalGetValueMap() |
static PercentOuterClass.FractionalPercent.DenominatorType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PercentOuterClass.FractionalPercent.DenominatorType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PercentOuterClass.FractionalPercent.DenominatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PercentOuterClass.FractionalPercent.DenominatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PercentOuterClass.FractionalPercent.DenominatorType HUNDRED
100. **Example**: 1/100 = 1%.
HUNDRED = 0;public static final PercentOuterClass.FractionalPercent.DenominatorType TEN_THOUSAND
10,000. **Example**: 1/10000 = 0.01%.
TEN_THOUSAND = 1;public static final PercentOuterClass.FractionalPercent.DenominatorType MILLION
1,000,000. **Example**: 1/1000000 = 0.0001%.
MILLION = 2;public static final PercentOuterClass.FractionalPercent.DenominatorType UNRECOGNIZED
public static final int HUNDRED_VALUE
100. **Example**: 1/100 = 1%.
HUNDRED = 0;public static final int TEN_THOUSAND_VALUE
10,000. **Example**: 1/10000 = 0.01%.
TEN_THOUSAND = 1;public static final int MILLION_VALUE
1,000,000. **Example**: 1/1000000 = 0.0001%.
MILLION = 2;public static PercentOuterClass.FractionalPercent.DenominatorType[] values()
for (PercentOuterClass.FractionalPercent.DenominatorType c : PercentOuterClass.FractionalPercent.DenominatorType.values()) System.out.println(c);
public static PercentOuterClass.FractionalPercent.DenominatorType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static PercentOuterClass.FractionalPercent.DenominatorType valueOf(int value)
forNumber(int) instead.public static PercentOuterClass.FractionalPercent.DenominatorType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<PercentOuterClass.FractionalPercent.DenominatorType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static PercentOuterClass.FractionalPercent.DenominatorType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 WSO2. All rights reserved.