public static enum CustomTuningModel.ModelState extends Enum<CustomTuningModel.ModelState> implements com.google.protobuf.ProtocolMessageEnum
The state of the model.Protobuf enum
google.cloud.discoveryengine.v1beta.CustomTuningModel.ModelState| Enum Constant and Description |
|---|
INPUT_VALIDATION_FAILED
Input data validation failed.
|
MODEL_STATE_UNSPECIFIED
Default value.
|
NO_IMPROVEMENT
The model training finished successfully but metrics did not improve.
|
READY_FOR_SERVING
The model is ready for serving.
|
TRAINING
The model is currently training.
|
TRAINING_COMPLETE
The model has successfully completed training.
|
TRAINING_FAILED
The model training failed.
|
TRAINING_PAUSED
The model is in a paused training state.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
INPUT_VALIDATION_FAILED_VALUE
Input data validation failed.
|
static int |
MODEL_STATE_UNSPECIFIED_VALUE
Default value.
|
static int |
NO_IMPROVEMENT_VALUE
The model training finished successfully but metrics did not improve.
|
static int |
READY_FOR_SERVING_VALUE
The model is ready for serving.
|
static int |
TRAINING_COMPLETE_VALUE
The model has successfully completed training.
|
static int |
TRAINING_FAILED_VALUE
The model training failed.
|
static int |
TRAINING_PAUSED_VALUE
The model is in a paused training state.
|
static int |
TRAINING_VALUE
The model is currently training.
|
| Modifier and Type | Method and Description |
|---|---|
static CustomTuningModel.ModelState |
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<CustomTuningModel.ModelState> |
internalGetValueMap() |
static CustomTuningModel.ModelState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CustomTuningModel.ModelState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CustomTuningModel.ModelState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomTuningModel.ModelState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomTuningModel.ModelState MODEL_STATE_UNSPECIFIED
Default value.
MODEL_STATE_UNSPECIFIED = 0;public static final CustomTuningModel.ModelState TRAINING_PAUSED
The model is in a paused training state.
TRAINING_PAUSED = 1;public static final CustomTuningModel.ModelState TRAINING
The model is currently training.
TRAINING = 2;public static final CustomTuningModel.ModelState TRAINING_COMPLETE
The model has successfully completed training.
TRAINING_COMPLETE = 3;public static final CustomTuningModel.ModelState READY_FOR_SERVING
The model is ready for serving.
READY_FOR_SERVING = 4;public static final CustomTuningModel.ModelState TRAINING_FAILED
The model training failed.
TRAINING_FAILED = 5;public static final CustomTuningModel.ModelState NO_IMPROVEMENT
The model training finished successfully but metrics did not improve.
NO_IMPROVEMENT = 6;public static final CustomTuningModel.ModelState INPUT_VALIDATION_FAILED
Input data validation failed. Model training didn't start.
INPUT_VALIDATION_FAILED = 7;public static final CustomTuningModel.ModelState UNRECOGNIZED
public static final int MODEL_STATE_UNSPECIFIED_VALUE
Default value.
MODEL_STATE_UNSPECIFIED = 0;public static final int TRAINING_PAUSED_VALUE
The model is in a paused training state.
TRAINING_PAUSED = 1;public static final int TRAINING_VALUE
The model is currently training.
TRAINING = 2;public static final int TRAINING_COMPLETE_VALUE
The model has successfully completed training.
TRAINING_COMPLETE = 3;public static final int READY_FOR_SERVING_VALUE
The model is ready for serving.
READY_FOR_SERVING = 4;public static final int TRAINING_FAILED_VALUE
The model training failed.
TRAINING_FAILED = 5;public static final int NO_IMPROVEMENT_VALUE
The model training finished successfully but metrics did not improve.
NO_IMPROVEMENT = 6;public static final int INPUT_VALIDATION_FAILED_VALUE
Input data validation failed. Model training didn't start.
INPUT_VALIDATION_FAILED = 7;public static CustomTuningModel.ModelState[] values()
for (CustomTuningModel.ModelState c : CustomTuningModel.ModelState.values()) System.out.println(c);
public static CustomTuningModel.ModelState 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 CustomTuningModel.ModelState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static CustomTuningModel.ModelState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CustomTuningModel.ModelState> 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 CustomTuningModel.ModelState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.