Package api
Enum Testspec.TestSpec.Cancel
- java.lang.Object
-
- java.lang.Enum<Testspec.TestSpec.Cancel>
-
- api.Testspec.TestSpec.Cancel
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Testspec.TestSpec.Cancel>
- Enclosing class:
- Testspec.TestSpec
public static enum Testspec.TestSpec.Cancel extends Enum<Testspec.TestSpec.Cancel> implements com.google.protobuf.ProtocolMessageEnum
If the jobs in this spec. should be cancelled.
Protobuf enumapi.TestSpec.Cancel
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BY_IDCancel jobs individually.BY_IDSCancel all jobs in the job set by multiple idsBY_SETCancel all jobs in the job set in bulk.NODo not cancel jobs.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intBY_ID_VALUECancel jobs individually.static intBY_IDS_VALUECancel all jobs in the job set by multiple idsstatic intBY_SET_VALUECancel all jobs in the job set in bulk.static intNO_VALUEDo not cancel jobs.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Testspec.TestSpec.CancelforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Testspec.TestSpec.Cancel>internalGetValueMap()static Testspec.TestSpec.CancelvalueOf(int value)Deprecated.static Testspec.TestSpec.CancelvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Testspec.TestSpec.CancelvalueOf(String name)Returns the enum constant of this type with the specified name.static Testspec.TestSpec.Cancel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO
public static final Testspec.TestSpec.Cancel NO
Do not cancel jobs.
NO = 0;
-
BY_ID
public static final Testspec.TestSpec.Cancel BY_ID
Cancel jobs individually.
BY_ID = 1;
-
BY_SET
public static final Testspec.TestSpec.Cancel BY_SET
Cancel all jobs in the job set in bulk.
BY_SET = 2;
-
BY_IDS
public static final Testspec.TestSpec.Cancel BY_IDS
Cancel all jobs in the job set by multiple ids
BY_IDS = 3;
-
UNRECOGNIZED
public static final Testspec.TestSpec.Cancel UNRECOGNIZED
-
-
Field Detail
-
NO_VALUE
public static final int NO_VALUE
Do not cancel jobs.
NO = 0;- See Also:
- Constant Field Values
-
BY_ID_VALUE
public static final int BY_ID_VALUE
Cancel jobs individually.
BY_ID = 1;- See Also:
- Constant Field Values
-
BY_SET_VALUE
public static final int BY_SET_VALUE
Cancel all jobs in the job set in bulk.
BY_SET = 2;- See Also:
- Constant Field Values
-
BY_IDS_VALUE
public static final int BY_IDS_VALUE
Cancel all jobs in the job set by multiple ids
BY_IDS = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Testspec.TestSpec.Cancel[] 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 (Testspec.TestSpec.Cancel c : Testspec.TestSpec.Cancel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Testspec.TestSpec.Cancel 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
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Testspec.TestSpec.Cancel 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 Testspec.TestSpec.Cancel forNumber(int value)
- 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<Testspec.TestSpec.Cancel> 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 Testspec.TestSpec.Cancel 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
-
-