Enum BudgetAmount.BudgetAmountCase
- java.lang.Object
-
- java.lang.Enum<BudgetAmount.BudgetAmountCase>
-
- com.google.cloud.billing.budgets.v1beta1.BudgetAmount.BudgetAmountCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<BudgetAmount.BudgetAmountCase>
- Enclosing class:
- BudgetAmount
public static enum BudgetAmount.BudgetAmountCase extends Enum<BudgetAmount.BudgetAmountCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUDGETAMOUNT_NOT_SET
LAST_PERIOD_AMOUNT
SPECIFIED_AMOUNT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BudgetAmount.BudgetAmountCase
forNumber(int value)
int
getNumber()
static BudgetAmount.BudgetAmountCase
valueOf(int value)
Deprecated.static BudgetAmount.BudgetAmountCase
valueOf(String name)
Returns the enum constant of this type with the specified name.static BudgetAmount.BudgetAmountCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SPECIFIED_AMOUNT
public static final BudgetAmount.BudgetAmountCase SPECIFIED_AMOUNT
-
LAST_PERIOD_AMOUNT
public static final BudgetAmount.BudgetAmountCase LAST_PERIOD_AMOUNT
-
BUDGETAMOUNT_NOT_SET
public static final BudgetAmount.BudgetAmountCase BUDGETAMOUNT_NOT_SET
-
-
Method Detail
-
values
public static BudgetAmount.BudgetAmountCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BudgetAmount.BudgetAmountCase c : BudgetAmount.BudgetAmountCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BudgetAmount.BudgetAmountCase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
@Deprecated public static BudgetAmount.BudgetAmountCase valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static BudgetAmount.BudgetAmountCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-