public static enum AgentAssistantFeedback.DocumentCorrectness extends Enum<AgentAssistantFeedback.DocumentCorrectness> implements ProtocolMessageEnum
Correctness of document.Protobuf enum
google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentCorrectness
Enum Constant and Description |
---|
CORRECT
Information in document is correct.
|
DOCUMENT_CORRECTNESS_UNSPECIFIED
Document correctness unspecified.
|
INCORRECT
Information in document is incorrect.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CORRECT_VALUE
Information in document is correct.
|
static int |
DOCUMENT_CORRECTNESS_UNSPECIFIED_VALUE
Document correctness unspecified.
|
static int |
INCORRECT_VALUE
Information in document is incorrect.
|
Modifier and Type | Method and Description |
---|---|
static AgentAssistantFeedback.DocumentCorrectness |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<AgentAssistantFeedback.DocumentCorrectness> |
internalGetValueMap() |
static AgentAssistantFeedback.DocumentCorrectness |
valueOf(Descriptors.EnumValueDescriptor desc) |
static AgentAssistantFeedback.DocumentCorrectness |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AgentAssistantFeedback.DocumentCorrectness |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentAssistantFeedback.DocumentCorrectness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentAssistantFeedback.DocumentCorrectness DOCUMENT_CORRECTNESS_UNSPECIFIED
Document correctness unspecified.
DOCUMENT_CORRECTNESS_UNSPECIFIED = 0;
public static final AgentAssistantFeedback.DocumentCorrectness INCORRECT
Information in document is incorrect.
INCORRECT = 1;
public static final AgentAssistantFeedback.DocumentCorrectness CORRECT
Information in document is correct.
CORRECT = 2;
public static final AgentAssistantFeedback.DocumentCorrectness UNRECOGNIZED
public static final int DOCUMENT_CORRECTNESS_UNSPECIFIED_VALUE
Document correctness unspecified.
DOCUMENT_CORRECTNESS_UNSPECIFIED = 0;
public static final int INCORRECT_VALUE
Information in document is incorrect.
INCORRECT = 1;
public static final int CORRECT_VALUE
Information in document is correct.
CORRECT = 2;
public static AgentAssistantFeedback.DocumentCorrectness[] values()
for (AgentAssistantFeedback.DocumentCorrectness c : AgentAssistantFeedback.DocumentCorrectness.values()) System.out.println(c);
public static AgentAssistantFeedback.DocumentCorrectness 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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static AgentAssistantFeedback.DocumentCorrectness valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static AgentAssistantFeedback.DocumentCorrectness forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<AgentAssistantFeedback.DocumentCorrectness> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static AgentAssistantFeedback.DocumentCorrectness valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.