Package io.cucumber.messages
Enum Messages.Envelope.MessageCase
- java.lang.Object
-
- java.lang.Enum<Messages.Envelope.MessageCase>
-
- io.cucumber.messages.Messages.Envelope.MessageCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<Messages.Envelope.MessageCase>
- Enclosing class:
- Messages.Envelope
public static enum Messages.Envelope.MessageCase extends Enum<Messages.Envelope.MessageCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Messages.Envelope.MessageCaseforNumber(int value)intgetNumber()static Messages.Envelope.MessageCasevalueOf(int value)Deprecated.static Messages.Envelope.MessageCasevalueOf(String name)Returns the enum constant of this type with the specified name.static Messages.Envelope.MessageCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOURCE
public static final Messages.Envelope.MessageCase SOURCE
-
GHERKIN_DOCUMENT
public static final Messages.Envelope.MessageCase GHERKIN_DOCUMENT
-
PICKLE
public static final Messages.Envelope.MessageCase PICKLE
-
STEP_DEFINITION
public static final Messages.Envelope.MessageCase STEP_DEFINITION
-
HOOK
public static final Messages.Envelope.MessageCase HOOK
-
PARAMETER_TYPE
public static final Messages.Envelope.MessageCase PARAMETER_TYPE
-
TEST_CASE
public static final Messages.Envelope.MessageCase TEST_CASE
-
UNDEFINED_PARAMETER_TYPE
public static final Messages.Envelope.MessageCase UNDEFINED_PARAMETER_TYPE
-
TEST_RUN_STARTED
public static final Messages.Envelope.MessageCase TEST_RUN_STARTED
-
TEST_CASE_STARTED
public static final Messages.Envelope.MessageCase TEST_CASE_STARTED
-
TEST_STEP_STARTED
public static final Messages.Envelope.MessageCase TEST_STEP_STARTED
-
ATTACHMENT
public static final Messages.Envelope.MessageCase ATTACHMENT
-
TEST_STEP_FINISHED
public static final Messages.Envelope.MessageCase TEST_STEP_FINISHED
-
TEST_CASE_FINISHED
public static final Messages.Envelope.MessageCase TEST_CASE_FINISHED
-
TEST_RUN_FINISHED
public static final Messages.Envelope.MessageCase TEST_RUN_FINISHED
-
PARSE_ERROR
public static final Messages.Envelope.MessageCase PARSE_ERROR
-
META
public static final Messages.Envelope.MessageCase META
-
MESSAGE_NOT_SET
public static final Messages.Envelope.MessageCase MESSAGE_NOT_SET
-
-
Method Detail
-
values
public static Messages.Envelope.MessageCase[] 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 (Messages.Envelope.MessageCase c : Messages.Envelope.MessageCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Messages.Envelope.MessageCase 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 Messages.Envelope.MessageCase 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 Messages.Envelope.MessageCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-