Enum QuestionOptions.PromotionOptions.ButtonOptionsCase
- java.lang.Object
-
- java.lang.Enum<QuestionOptions.PromotionOptions.ButtonOptionsCase>
-
- com.streamlayer.interactive.common.QuestionOptions.PromotionOptions.ButtonOptionsCase
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<QuestionOptions.PromotionOptions.ButtonOptionsCase>
- Enclosing class:
- QuestionOptions.PromotionOptions
public static enum QuestionOptions.PromotionOptions.ButtonOptionsCase extends java.lang.Enum<QuestionOptions.PromotionOptions.ButtonOptionsCase>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_TO_WALLET_OPTIONSBUTTONOPTIONS_NOT_SETSEND_TO_USER_OPTIONS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static QuestionOptions.PromotionOptions.ButtonOptionsCaseforNumber(int value)intgetNumber()static QuestionOptions.PromotionOptions.ButtonOptionsCasevalueOf(int value)Deprecated.static QuestionOptions.PromotionOptions.ButtonOptionsCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static QuestionOptions.PromotionOptions.ButtonOptionsCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD_TO_WALLET_OPTIONS
public static final QuestionOptions.PromotionOptions.ButtonOptionsCase ADD_TO_WALLET_OPTIONS
-
SEND_TO_USER_OPTIONS
public static final QuestionOptions.PromotionOptions.ButtonOptionsCase SEND_TO_USER_OPTIONS
-
BUTTONOPTIONS_NOT_SET
public static final QuestionOptions.PromotionOptions.ButtonOptionsCase BUTTONOPTIONS_NOT_SET
-
-
Method Detail
-
values
public static QuestionOptions.PromotionOptions.ButtonOptionsCase[] 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 (QuestionOptions.PromotionOptions.ButtonOptionsCase c : QuestionOptions.PromotionOptions.ButtonOptionsCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QuestionOptions.PromotionOptions.ButtonOptionsCase valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
valueOf
@Deprecated public static QuestionOptions.PromotionOptions.ButtonOptionsCase 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static QuestionOptions.PromotionOptions.ButtonOptionsCase forNumber(int value)
-
getNumber
public int getNumber()
-
-