Enum DatasetValidationWarning
java.lang.Object
java.lang.Enum<DatasetValidationWarning>
com.google.cloud.contactcenterinsights.v1.DatasetValidationWarning
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DatasetValidationWarning>
@Generated
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 Summary
Enum ConstantsEnum ConstantDescriptionAll the labels in the dataset come from a single answer choice.Unspecified data validation warning.The quantity of valid feedback labels provided is less than the recommended minimum.One or more of the answers have less than the recommended minimum of feedback labels.A non-trivial percentage of the feedback labels are invalid. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAll the labels in the dataset come from a single answer choice.static final intUnspecified data validation warning.static final intOne or more of the answers have less than the recommended minimum of feedback labels.static final intThe quantity of valid feedback labels provided is less than the recommended minimum.static final intA non-trivial percentage of the feedback labels are invalid. -
Method Summary
Modifier and TypeMethodDescriptionstatic DatasetValidationWarningforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DatasetValidationWarning>static DatasetValidationWarningvalueOf(int value) Deprecated.static DatasetValidationWarningvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static DatasetValidationWarningReturns 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.
-
Enum Constant Details
-
DATASET_VALIDATION_WARNING_UNSPECIFIED
Unspecified data validation warning.
DATASET_VALIDATION_WARNING_UNSPECIFIED = 0; -
TOO_MANY_INVALID_FEEDBACK_LABELS
A non-trivial percentage of the feedback labels are invalid.
TOO_MANY_INVALID_FEEDBACK_LABELS = 1; -
INSUFFICIENT_FEEDBACK_LABELS
The quantity of valid feedback labels provided is less than the recommended minimum.
INSUFFICIENT_FEEDBACK_LABELS = 2; -
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; -
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; -
UNRECOGNIZED
-
-
Field Details
-
DATASET_VALIDATION_WARNING_UNSPECIFIED_VALUE
public static final int DATASET_VALIDATION_WARNING_UNSPECIFIED_VALUEUnspecified data validation warning.
DATASET_VALIDATION_WARNING_UNSPECIFIED = 0;- See Also:
-
TOO_MANY_INVALID_FEEDBACK_LABELS_VALUE
public static final int TOO_MANY_INVALID_FEEDBACK_LABELS_VALUEA non-trivial percentage of the feedback labels are invalid.
TOO_MANY_INVALID_FEEDBACK_LABELS = 1;- See Also:
-
INSUFFICIENT_FEEDBACK_LABELS_VALUE
public static final int INSUFFICIENT_FEEDBACK_LABELS_VALUEThe quantity of valid feedback labels provided is less than the recommended minimum.
INSUFFICIENT_FEEDBACK_LABELS = 2;- See Also:
-
INSUFFICIENT_FEEDBACK_LABELS_PER_ANSWER_VALUE
public static final int INSUFFICIENT_FEEDBACK_LABELS_PER_ANSWER_VALUEOne or more of the answers have less than the recommended minimum of feedback labels.
INSUFFICIENT_FEEDBACK_LABELS_PER_ANSWER = 3;- See Also:
-
ALL_FEEDBACK_LABELS_HAVE_THE_SAME_ANSWER_VALUE
public static final int ALL_FEEDBACK_LABELS_HAVE_THE_SAME_ANSWER_VALUEAll the labels in the dataset come from a single answer choice.
ALL_FEEDBACK_LABELS_HAVE_THE_SAME_ANSWER = 4;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<DatasetValidationWarning> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static DatasetValidationWarning valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-