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