Enum QuestionSource
- java.lang.Object
-
- java.lang.Enum<QuestionSource>
-
- com.streamlayer.interactive.common.QuestionSource
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<QuestionSource>
public enum QuestionSource extends java.lang.Enum<QuestionSource> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.interactive.QuestionSource
-
-
Enum Constant Summary
Enum Constants Enum Constant Description QUESTION_SOURCE_AIQUESTION_SOURCE_AI = 1;QUESTION_SOURCE_CSV_IMPORTQUESTION_SOURCE_CSV_IMPORT = 2;QUESTION_SOURCE_UNSETQUESTION_SOURCE_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intQUESTION_SOURCE_AI_VALUEQUESTION_SOURCE_AI = 1;static intQUESTION_SOURCE_CSV_IMPORT_VALUEQUESTION_SOURCE_CSV_IMPORT = 2;static intQUESTION_SOURCE_UNSET_VALUEQUESTION_SOURCE_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static QuestionSourceforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<QuestionSource>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static QuestionSourcevalueOf(int value)Deprecated.static QuestionSourcevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static QuestionSource[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUESTION_SOURCE_UNSET
public static final QuestionSource QUESTION_SOURCE_UNSET
QUESTION_SOURCE_UNSET = 0;
-
QUESTION_SOURCE_AI
public static final QuestionSource QUESTION_SOURCE_AI
QUESTION_SOURCE_AI = 1;
-
QUESTION_SOURCE_CSV_IMPORT
public static final QuestionSource QUESTION_SOURCE_CSV_IMPORT
QUESTION_SOURCE_CSV_IMPORT = 2;
-
UNRECOGNIZED
public static final QuestionSource UNRECOGNIZED
-
-
Field Detail
-
QUESTION_SOURCE_UNSET_VALUE
public static final int QUESTION_SOURCE_UNSET_VALUE
QUESTION_SOURCE_UNSET = 0;- See Also:
- Constant Field Values
-
QUESTION_SOURCE_AI_VALUE
public static final int QUESTION_SOURCE_AI_VALUE
QUESTION_SOURCE_AI = 1;- See Also:
- Constant Field Values
-
QUESTION_SOURCE_CSV_IMPORT_VALUE
public static final int QUESTION_SOURCE_CSV_IMPORT_VALUE
QUESTION_SOURCE_CSV_IMPORT = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static QuestionSource[] 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 (QuestionSource c : QuestionSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QuestionSource 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 QuestionSource 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 QuestionSource forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<QuestionSource> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-