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