Enum QuestionLayout
- java.lang.Object
-
- java.lang.Enum<QuestionLayout>
-
- com.streamlayer.interactive.common.QuestionLayout
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<QuestionLayout>
public enum QuestionLayout extends java.lang.Enum<QuestionLayout> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.interactive.QuestionLayout
-
-
Enum Constant Summary
Enum Constants Enum Constant Description QUESTION_LAYOUT_GRID_VIEWQUESTION_LAYOUT_GRID_VIEW = 2;QUESTION_LAYOUT_LIST_VIEWQUESTION_LAYOUT_LIST_VIEW = 1;QUESTION_LAYOUT_UNSETQUESTION_LAYOUT_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intQUESTION_LAYOUT_GRID_VIEW_VALUEQUESTION_LAYOUT_GRID_VIEW = 2;static intQUESTION_LAYOUT_LIST_VIEW_VALUEQUESTION_LAYOUT_LIST_VIEW = 1;static intQUESTION_LAYOUT_UNSET_VALUEQUESTION_LAYOUT_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static QuestionLayoutforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<QuestionLayout>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static QuestionLayoutvalueOf(int value)Deprecated.static QuestionLayoutvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static QuestionLayout[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUESTION_LAYOUT_UNSET
public static final QuestionLayout QUESTION_LAYOUT_UNSET
QUESTION_LAYOUT_UNSET = 0;
-
QUESTION_LAYOUT_LIST_VIEW
public static final QuestionLayout QUESTION_LAYOUT_LIST_VIEW
QUESTION_LAYOUT_LIST_VIEW = 1;
-
QUESTION_LAYOUT_GRID_VIEW
public static final QuestionLayout QUESTION_LAYOUT_GRID_VIEW
QUESTION_LAYOUT_GRID_VIEW = 2;
-
UNRECOGNIZED
public static final QuestionLayout UNRECOGNIZED
-
-
Field Detail
-
QUESTION_LAYOUT_UNSET_VALUE
public static final int QUESTION_LAYOUT_UNSET_VALUE
QUESTION_LAYOUT_UNSET = 0;- See Also:
- Constant Field Values
-
QUESTION_LAYOUT_LIST_VIEW_VALUE
public static final int QUESTION_LAYOUT_LIST_VIEW_VALUE
QUESTION_LAYOUT_LIST_VIEW = 1;- See Also:
- Constant Field Values
-
QUESTION_LAYOUT_GRID_VIEW_VALUE
public static final int QUESTION_LAYOUT_GRID_VIEW_VALUE
QUESTION_LAYOUT_GRID_VIEW = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static QuestionLayout[] 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 (QuestionLayout c : QuestionLayout.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QuestionLayout 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
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
@Deprecated public static QuestionLayout 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 QuestionLayout forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<QuestionLayout> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-