public enum DatasetValidationWarning extends Enum<DatasetValidationWarning> implements com.google.protobuf.ProtocolMessageEnum
Enum for the different types of issues a tuning dataset can have. These warnings are currentlyraised when trying to validate a dataset for tuning a scorecard.Protobuf enum
google.cloud.contactcenterinsights.v1.DatasetValidationWarning| Enum Constant and Description |
|---|
ALL_FEEDBACK_LABELS_HAVE_THE_SAME_ANSWER
All the labels in the dataset come from a single answer choice.
|
DATASET_VALIDATION_WARNING_UNSPECIFIED
Unspecified data validation warning.
|
INSUFFICIENT_FEEDBACK_LABELS
The quantity of valid feedback labels provided is less than the
recommended minimum.
|
INSUFFICIENT_FEEDBACK_LABELS_PER_ANSWER
One or more of the answers have less than the recommended minimum of
feedback labels.
|
TOO_MANY_INVALID_FEEDBACK_LABELS
A non-trivial percentage of the feedback labels are invalid.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_FEEDBACK_LABELS_HAVE_THE_SAME_ANSWER_VALUE
All the labels in the dataset come from a single answer choice.
|
static int |
DATASET_VALIDATION_WARNING_UNSPECIFIED_VALUE
Unspecified data validation warning.
|
static int |
INSUFFICIENT_FEEDBACK_LABELS_PER_ANSWER_VALUE
One or more of the answers have less than the recommended minimum of
feedback labels.
|
static int |
INSUFFICIENT_FEEDBACK_LABELS_VALUE
The quantity of valid feedback labels provided is less than the
recommended minimum.
|
static int |
TOO_MANY_INVALID_FEEDBACK_LABELS_VALUE
A non-trivial percentage of the feedback labels are invalid.
|
| Modifier and Type | Method and Description |
|---|---|
static DatasetValidationWarning |
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<DatasetValidationWarning> |
internalGetValueMap() |
static DatasetValidationWarning |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DatasetValidationWarning |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DatasetValidationWarning |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatasetValidationWarning[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatasetValidationWarning DATASET_VALIDATION_WARNING_UNSPECIFIED
Unspecified data validation warning.
DATASET_VALIDATION_WARNING_UNSPECIFIED = 0;public static final DatasetValidationWarning TOO_MANY_INVALID_FEEDBACK_LABELS
A non-trivial percentage of the feedback labels are invalid.
TOO_MANY_INVALID_FEEDBACK_LABELS = 1;public static final DatasetValidationWarning INSUFFICIENT_FEEDBACK_LABELS
The quantity of valid feedback labels provided is less than the recommended minimum.
INSUFFICIENT_FEEDBACK_LABELS = 2;public static final DatasetValidationWarning INSUFFICIENT_FEEDBACK_LABELS_PER_ANSWER
One or more of the answers have less than the recommended minimum of feedback labels.
INSUFFICIENT_FEEDBACK_LABELS_PER_ANSWER = 3;public static final DatasetValidationWarning ALL_FEEDBACK_LABELS_HAVE_THE_SAME_ANSWER
All the labels in the dataset come from a single answer choice.
ALL_FEEDBACK_LABELS_HAVE_THE_SAME_ANSWER = 4;public static final DatasetValidationWarning UNRECOGNIZED
public static final int DATASET_VALIDATION_WARNING_UNSPECIFIED_VALUE
Unspecified data validation warning.
DATASET_VALIDATION_WARNING_UNSPECIFIED = 0;public static final int TOO_MANY_INVALID_FEEDBACK_LABELS_VALUE
A non-trivial percentage of the feedback labels are invalid.
TOO_MANY_INVALID_FEEDBACK_LABELS = 1;public static final int INSUFFICIENT_FEEDBACK_LABELS_VALUE
The quantity of valid feedback labels provided is less than the recommended minimum.
INSUFFICIENT_FEEDBACK_LABELS = 2;public static final int INSUFFICIENT_FEEDBACK_LABELS_PER_ANSWER_VALUE
One or more of the answers have less than the recommended minimum of feedback labels.
INSUFFICIENT_FEEDBACK_LABELS_PER_ANSWER = 3;public static final int ALL_FEEDBACK_LABELS_HAVE_THE_SAME_ANSWER_VALUE
All the labels in the dataset come from a single answer choice.
ALL_FEEDBACK_LABELS_HAVE_THE_SAME_ANSWER = 4;public static DatasetValidationWarning[] values()
for (DatasetValidationWarning c : DatasetValidationWarning.values()) System.out.println(c);
public static DatasetValidationWarning 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 DatasetValidationWarning valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DatasetValidationWarning forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DatasetValidationWarning> 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 DatasetValidationWarning valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.