Package com.google.cloud.dataproc.v1
Enum WorkflowTemplatePlacement.PlacementCase
- java.lang.Object
-
- java.lang.Enum<WorkflowTemplatePlacement.PlacementCase>
-
- com.google.cloud.dataproc.v1.WorkflowTemplatePlacement.PlacementCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<WorkflowTemplatePlacement.PlacementCase>
- Enclosing class:
- WorkflowTemplatePlacement
public static enum WorkflowTemplatePlacement.PlacementCase extends Enum<WorkflowTemplatePlacement.PlacementCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLUSTER_SELECTOR
MANAGED_CLUSTER
PLACEMENT_NOT_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static WorkflowTemplatePlacement.PlacementCase
forNumber(int value)
int
getNumber()
static WorkflowTemplatePlacement.PlacementCase
valueOf(int value)
Deprecated.static WorkflowTemplatePlacement.PlacementCase
valueOf(String name)
Returns the enum constant of this type with the specified name.static WorkflowTemplatePlacement.PlacementCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MANAGED_CLUSTER
public static final WorkflowTemplatePlacement.PlacementCase MANAGED_CLUSTER
-
CLUSTER_SELECTOR
public static final WorkflowTemplatePlacement.PlacementCase CLUSTER_SELECTOR
-
PLACEMENT_NOT_SET
public static final WorkflowTemplatePlacement.PlacementCase PLACEMENT_NOT_SET
-
-
Method Detail
-
values
public static WorkflowTemplatePlacement.PlacementCase[] 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 (WorkflowTemplatePlacement.PlacementCase c : WorkflowTemplatePlacement.PlacementCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkflowTemplatePlacement.PlacementCase 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 WorkflowTemplatePlacement.PlacementCase 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 WorkflowTemplatePlacement.PlacementCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-