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