public static enum Model.ServingState extends Enum<Model.ServingState> implements com.google.protobuf.ProtocolMessageEnum
The serving state of the model.Protobuf enum
google.cloud.retail.v2alpha.Model.ServingState| Enum Constant and Description |
|---|
ACTIVE
The model is serving and can be queried.
|
INACTIVE
The model is not serving.
|
SERVING_STATE_UNSPECIFIED
Unspecified serving state.
|
TUNED
The model is trained on tuned hyperparameters and can be
queried.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
The model is serving and can be queried.
|
static int |
INACTIVE_VALUE
The model is not serving.
|
static int |
SERVING_STATE_UNSPECIFIED_VALUE
Unspecified serving state.
|
static int |
TUNED_VALUE
The model is trained on tuned hyperparameters and can be
queried.
|
| Modifier and Type | Method and Description |
|---|---|
static Model.ServingState |
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.ServingState> |
internalGetValueMap() |
static Model.ServingState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Model.ServingState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.ServingState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Model.ServingState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.ServingState SERVING_STATE_UNSPECIFIED
Unspecified serving state.
SERVING_STATE_UNSPECIFIED = 0;public static final Model.ServingState INACTIVE
The model is not serving.
INACTIVE = 1;public static final Model.ServingState ACTIVE
The model is serving and can be queried.
ACTIVE = 2;public static final Model.ServingState TUNED
The model is trained on tuned hyperparameters and can be queried.
TUNED = 3;public static final Model.ServingState UNRECOGNIZED
public static final int SERVING_STATE_UNSPECIFIED_VALUE
Unspecified serving state.
SERVING_STATE_UNSPECIFIED = 0;public static final int INACTIVE_VALUE
The model is not serving.
INACTIVE = 1;public static final int ACTIVE_VALUE
The model is serving and can be queried.
ACTIVE = 2;public static final int TUNED_VALUE
The model is trained on tuned hyperparameters and can be queried.
TUNED = 3;public static Model.ServingState[] values()
for (Model.ServingState c : Model.ServingState.values()) System.out.println(c);
public static Model.ServingState 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.ServingState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Model.ServingState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Model.ServingState> 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.ServingState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.