Package io.cnaik.model.google
Enum MessageReplyOption
- java.lang.Object
-
- java.lang.Enum<MessageReplyOption>
-
- io.cnaik.model.google.MessageReplyOption
-
- All Implemented Interfaces:
Serializable
,Comparable<MessageReplyOption>
public enum MessageReplyOption extends Enum<MessageReplyOption>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MESSAGE_REPLY_OPTION_UNSPECIFIED
REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD
REPLY_MESSAGE_OR_FAIL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MessageReplyOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static MessageReplyOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MESSAGE_REPLY_OPTION_UNSPECIFIED
public static final MessageReplyOption MESSAGE_REPLY_OPTION_UNSPECIFIED
-
REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD
public static final MessageReplyOption REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD
-
REPLY_MESSAGE_OR_FAIL
public static final MessageReplyOption REPLY_MESSAGE_OR_FAIL
-
-
Method Detail
-
values
public static MessageReplyOption[] 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 (MessageReplyOption c : MessageReplyOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageReplyOption 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
-
-