public static enum Model.TrainingState extends Enum<Model.TrainingState> implements com.google.protobuf.ProtocolMessageEnum
The training state of the model.Protobuf enum
google.cloud.retail.v2alpha.Model.TrainingState| Enum Constant and Description |
|---|
PAUSED
The model training is paused.
|
TRAINING
The model is training.
|
TRAINING_STATE_UNSPECIFIED
Unspecified training state.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
PAUSED_VALUE
The model training is paused.
|
static int |
TRAINING_STATE_UNSPECIFIED_VALUE
Unspecified training state.
|
static int |
TRAINING_VALUE
The model is training.
|
| Modifier and Type | Method and Description |
|---|---|
static Model.TrainingState |
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<Model.TrainingState> |
internalGetValueMap() |
static Model.TrainingState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Model.TrainingState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.TrainingState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Model.TrainingState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.TrainingState TRAINING_STATE_UNSPECIFIED
Unspecified training state.
TRAINING_STATE_UNSPECIFIED = 0;public static final Model.TrainingState PAUSED
The model training is paused.
PAUSED = 1;public static final Model.TrainingState TRAINING
The model is training.
TRAINING = 2;public static final Model.TrainingState UNRECOGNIZED
public static final int TRAINING_STATE_UNSPECIFIED_VALUE
Unspecified training state.
TRAINING_STATE_UNSPECIFIED = 0;public static final int PAUSED_VALUE
The model training is paused.
PAUSED = 1;public static final int TRAINING_VALUE
The model is training.
TRAINING = 2;public static Model.TrainingState[] values()
for (Model.TrainingState c : Model.TrainingState.values()) System.out.println(c);
public static Model.TrainingState 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 Model.TrainingState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Model.TrainingState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Model.TrainingState> 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 Model.TrainingState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.