Enum Event.DetailsCase
- java.lang.Object
-
- java.lang.Enum<Event.DetailsCase>
-
- com.google.cloud.lifesciences.v2beta.Event.DetailsCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<Event.DetailsCase>
- Enclosing class:
- Event
public static enum Event.DetailsCase extends Enum<Event.DetailsCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINER_KILLEDCONTAINER_STARTEDCONTAINER_STOPPEDDELAYEDDETAILS_NOT_SETFAILEDPULL_STARTEDPULL_STOPPEDUNEXPECTED_EXIT_STATUSWORKER_ASSIGNEDWORKER_RELEASED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Event.DetailsCaseforNumber(int value)intgetNumber()static Event.DetailsCasevalueOf(int value)Deprecated.static Event.DetailsCasevalueOf(String name)Returns the enum constant of this type with the specified name.static Event.DetailsCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DELAYED
public static final Event.DetailsCase DELAYED
-
WORKER_ASSIGNED
public static final Event.DetailsCase WORKER_ASSIGNED
-
WORKER_RELEASED
public static final Event.DetailsCase WORKER_RELEASED
-
PULL_STARTED
public static final Event.DetailsCase PULL_STARTED
-
PULL_STOPPED
public static final Event.DetailsCase PULL_STOPPED
-
CONTAINER_STARTED
public static final Event.DetailsCase CONTAINER_STARTED
-
CONTAINER_STOPPED
public static final Event.DetailsCase CONTAINER_STOPPED
-
CONTAINER_KILLED
public static final Event.DetailsCase CONTAINER_KILLED
-
UNEXPECTED_EXIT_STATUS
public static final Event.DetailsCase UNEXPECTED_EXIT_STATUS
-
FAILED
public static final Event.DetailsCase FAILED
-
DETAILS_NOT_SET
public static final Event.DetailsCase DETAILS_NOT_SET
-
-
Method Detail
-
values
public static Event.DetailsCase[] 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 (Event.DetailsCase c : Event.DetailsCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Event.DetailsCase 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 Event.DetailsCase 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 Event.DetailsCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-