public static enum Engine.RecommendationMetadata.DataState extends Enum<Engine.RecommendationMetadata.DataState> implements com.google.protobuf.ProtocolMessageEnum
Describes whether this engine have sufficient training data to be continuously trained.Protobuf enum
google.cloud.discoveryengine.v1alpha.Engine.RecommendationMetadata.DataState| Enum Constant and Description |
|---|
DATA_ERROR
The engine does not have sufficient training data.
|
DATA_OK
The engine has sufficient training data.
|
DATA_STATE_UNSPECIFIED
Unspecified default value, should never be explicitly set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DATA_ERROR_VALUE
The engine does not have sufficient training data.
|
static int |
DATA_OK_VALUE
The engine has sufficient training data.
|
static int |
DATA_STATE_UNSPECIFIED_VALUE
Unspecified default value, should never be explicitly set.
|
| Modifier and Type | Method and Description |
|---|---|
static Engine.RecommendationMetadata.DataState |
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.DataState> |
internalGetValueMap() |
static Engine.RecommendationMetadata.DataState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Engine.RecommendationMetadata.DataState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Engine.RecommendationMetadata.DataState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Engine.RecommendationMetadata.DataState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Engine.RecommendationMetadata.DataState DATA_STATE_UNSPECIFIED
Unspecified default value, should never be explicitly set.
DATA_STATE_UNSPECIFIED = 0;public static final Engine.RecommendationMetadata.DataState DATA_OK
The engine has sufficient training data.
DATA_OK = 1;public static final Engine.RecommendationMetadata.DataState DATA_ERROR
The engine does not have sufficient training data. Error messages can be queried via Stackdriver.
DATA_ERROR = 2;public static final Engine.RecommendationMetadata.DataState UNRECOGNIZED
public static final int DATA_STATE_UNSPECIFIED_VALUE
Unspecified default value, should never be explicitly set.
DATA_STATE_UNSPECIFIED = 0;public static final int DATA_OK_VALUE
The engine has sufficient training data.
DATA_OK = 1;public static final int DATA_ERROR_VALUE
The engine does not have sufficient training data. Error messages can be queried via Stackdriver.
DATA_ERROR = 2;public static Engine.RecommendationMetadata.DataState[] values()
for (Engine.RecommendationMetadata.DataState c : Engine.RecommendationMetadata.DataState.values()) System.out.println(c);
public static Engine.RecommendationMetadata.DataState 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.DataState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Engine.RecommendationMetadata.DataState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Engine.RecommendationMetadata.DataState> 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.DataState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.