Package s2.v1alpha
Enum CreateBasinRequest.AssignmentCase
- java.lang.Object
-
- java.lang.Enum<CreateBasinRequest.AssignmentCase>
-
- s2.v1alpha.CreateBasinRequest.AssignmentCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,java.io.Serializable
,java.lang.Comparable<CreateBasinRequest.AssignmentCase>
- Enclosing class:
- CreateBasinRequest
public static enum CreateBasinRequest.AssignmentCase extends java.lang.Enum<CreateBasinRequest.AssignmentCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSIGNMENT_NOT_SET
CELL
SCOPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CreateBasinRequest.AssignmentCase
forNumber(int value)
int
getNumber()
static CreateBasinRequest.AssignmentCase
valueOf(int value)
Deprecated.static CreateBasinRequest.AssignmentCase
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CreateBasinRequest.AssignmentCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCOPE
public static final CreateBasinRequest.AssignmentCase SCOPE
-
CELL
public static final CreateBasinRequest.AssignmentCase CELL
-
ASSIGNMENT_NOT_SET
public static final CreateBasinRequest.AssignmentCase ASSIGNMENT_NOT_SET
-
-
Method Detail
-
values
public static CreateBasinRequest.AssignmentCase[] 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 (CreateBasinRequest.AssignmentCase c : CreateBasinRequest.AssignmentCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateBasinRequest.AssignmentCase valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
@Deprecated public static CreateBasinRequest.AssignmentCase 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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static CreateBasinRequest.AssignmentCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-