Package com.google.cloud.aiplatform.v1
Enum Trial.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Trial.State>
- Enclosing class:
- Trial
public static enum Trial.State
extends Enum<Trial.State>
implements com.google.protobuf.ProtocolMessageEnum
Describes a Trial state.Protobuf enum
google.cloud.aiplatform.v1.Trial.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the Trial has been suggested.Indicates that the Trial should not be attempted again.Indicates that a specific Trial has been requested, but it has not yet been suggested by the service.The Trial state is unspecified.Indicates that the Trial should stop according to the service.Indicates that the Trial is completed successfully. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates that the Trial has been suggested.static final intIndicates that the Trial should not be attempted again.static final intIndicates that a specific Trial has been requested, but it has not yet been suggested by the service.static final intThe Trial state is unspecified.static final intIndicates that the Trial should stop according to the service.static final intIndicates that the Trial is completed successfully. -
Method Summary
Modifier and TypeMethodDescriptionstatic Trial.StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Trial.State>static Trial.StatevalueOf(int value) Deprecated.static Trial.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Trial.StateReturns the enum constant of this type with the specified name.static Trial.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
The Trial state is unspecified.
STATE_UNSPECIFIED = 0; -
REQUESTED
Indicates that a specific Trial has been requested, but it has not yet been suggested by the service.
REQUESTED = 1; -
ACTIVE
Indicates that the Trial has been suggested.
ACTIVE = 2; -
STOPPING
Indicates that the Trial should stop according to the service.
STOPPING = 3; -
SUCCEEDED
Indicates that the Trial is completed successfully.
SUCCEEDED = 4; -
INFEASIBLE
Indicates that the Trial should not be attempted again. The service will set a Trial to INFEASIBLE when it's done but missing the final_measurement.
INFEASIBLE = 5; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEThe Trial state is unspecified.
STATE_UNSPECIFIED = 0;- See Also:
-
REQUESTED_VALUE
public static final int REQUESTED_VALUEIndicates that a specific Trial has been requested, but it has not yet been suggested by the service.
REQUESTED = 1;- See Also:
-
ACTIVE_VALUE
public static final int ACTIVE_VALUEIndicates that the Trial has been suggested.
ACTIVE = 2;- See Also:
-
STOPPING_VALUE
public static final int STOPPING_VALUEIndicates that the Trial should stop according to the service.
STOPPING = 3;- See Also:
-
SUCCEEDED_VALUE
public static final int SUCCEEDED_VALUEIndicates that the Trial is completed successfully.
SUCCEEDED = 4;- See Also:
-
INFEASIBLE_VALUE
public static final int INFEASIBLE_VALUEIndicates that the Trial should not be attempted again. The service will set a Trial to INFEASIBLE when it's done but missing the final_measurement.
INFEASIBLE = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-