Package gauge.messages
Enum Spec.Parameter.ParameterType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Spec.Parameter.ParameterType>,java.lang.constant.Constable
- Enclosing class:
- Spec.Parameter
public static enum Spec.Parameter.ParameterType
extends Enum<Spec.Parameter.ParameterType>
implements com.google.protobuf.ProtocolMessageEnum
/ Enum representing types of Parameter.Protobuf enum
gauge.messages.Parameter.ParameterType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDynamic parameter.Special paramter, taking a string value.Special paramter, taking a Table value.Static parameter.A table parameter, used for data driven execution. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDynamic parameter.static final intSpecial paramter, taking a string value.static final intSpecial paramter, taking a Table value.static final intStatic parameter.static final intA table parameter, used for data driven execution. -
Method Summary
Modifier and TypeMethodDescriptionstatic Spec.Parameter.ParameterTypeforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Spec.Parameter.ParameterType>static Spec.Parameter.ParameterTypevalueOf(int value) Deprecated.static Spec.Parameter.ParameterTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Spec.Parameter.ParameterTypeReturns the enum constant of this type with the specified name.static Spec.Parameter.ParameterType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Static
Static parameter. The value of the parameter is defined at the Step.
Static = 0; -
Dynamic
Dynamic parameter. This is a parameter placeholder, and the actual value is injected at runtime, depending on the context of the call.
Dynamic = 1; -
Special_String
Special paramter, taking a string value. Special paramters are read from a file.
Special_String = 2; -
Special_Table
Special paramter, taking a Table value. This parameter is read from a csv file.
Special_Table = 3; -
Table
A table parameter, used for data driven execution.
Table = 4; -
UNRECOGNIZED
-
-
Field Details
-
Static_VALUE
public static final int Static_VALUEStatic parameter. The value of the parameter is defined at the Step.
Static = 0;- See Also:
-
Dynamic_VALUE
public static final int Dynamic_VALUEDynamic parameter. This is a parameter placeholder, and the actual value is injected at runtime, depending on the context of the call.
Dynamic = 1;- See Also:
-
Special_String_VALUE
public static final int Special_String_VALUESpecial paramter, taking a string value. Special paramters are read from a file.
Special_String = 2;- See Also:
-
Special_Table_VALUE
public static final int Special_Table_VALUESpecial paramter, taking a Table value. This parameter is read from a csv file.
Special_Table = 3;- See Also:
-
Table_VALUE
public static final int Table_VALUEA table parameter, used for data driven execution.
Table = 4;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Spec.Parameter.ParameterType> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Spec.Parameter.ParameterType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 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:
desc- 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
-