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