public static enum Trial.State extends Enum<Trial.State> implements com.google.protobuf.ProtocolMessageEnum
Describes a Trial state.Protobuf enum
google.cloud.aiplatform.v1beta1.Trial.State| Enum Constant and Description |
|---|
ACTIVE
Indicates that the Trial has been suggested.
|
INFEASIBLE
Indicates that the Trial should not be attempted again.
|
REQUESTED
Indicates that a specific Trial has been requested, but it has not yet
been suggested by the service.
|
STATE_UNSPECIFIED
The Trial state is unspecified.
|
STOPPING
Indicates that the Trial should stop according to the service.
|
SUCCEEDED
Indicates that the Trial is completed successfully.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
Indicates that the Trial has been suggested.
|
static int |
INFEASIBLE_VALUE
Indicates that the Trial should not be attempted again.
|
static int |
REQUESTED_VALUE
Indicates that a specific Trial has been requested, but it has not yet
been suggested by the service.
|
static int |
STATE_UNSPECIFIED_VALUE
The Trial state is unspecified.
|
static int |
STOPPING_VALUE
Indicates that the Trial should stop according to the service.
|
static int |
SUCCEEDED_VALUE
Indicates that the Trial is completed successfully.
|
| Modifier and Type | Method and Description |
|---|---|
static Trial.State |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Trial.State> |
internalGetValueMap() |
static Trial.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Trial.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Trial.State |
valueOf(String name)
Returns 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.
|
public static final Trial.State STATE_UNSPECIFIED
The Trial state is unspecified.
STATE_UNSPECIFIED = 0;public static final Trial.State REQUESTED
Indicates that a specific Trial has been requested, but it has not yet been suggested by the service.
REQUESTED = 1;public static final Trial.State ACTIVE
Indicates that the Trial has been suggested.
ACTIVE = 2;public static final Trial.State STOPPING
Indicates that the Trial should stop according to the service.
STOPPING = 3;public static final Trial.State SUCCEEDED
Indicates that the Trial is completed successfully.
SUCCEEDED = 4;public static final Trial.State 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;public static final Trial.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
The Trial state is unspecified.
STATE_UNSPECIFIED = 0;public static final int REQUESTED_VALUE
Indicates that a specific Trial has been requested, but it has not yet been suggested by the service.
REQUESTED = 1;public static final int ACTIVE_VALUE
Indicates that the Trial has been suggested.
ACTIVE = 2;public static final int STOPPING_VALUE
Indicates that the Trial should stop according to the service.
STOPPING = 3;public static final int SUCCEEDED_VALUE
Indicates that the Trial is completed successfully.
SUCCEEDED = 4;public static final int INFEASIBLE_VALUE
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;public static Trial.State[] values()
for (Trial.State c : Trial.State.values()) System.out.println(c);
public static Trial.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Trial.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Trial.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Trial.State> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Trial.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.