public static enum AgentAssistantFeedback.AnswerRelevance extends Enum<AgentAssistantFeedback.AnswerRelevance> implements com.google.protobuf.ProtocolMessageEnum
Relevance of an answer.Protobuf enum
google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.AnswerRelevance| Enum Constant and Description |
|---|
ANSWER_RELEVANCE_UNSPECIFIED
Answer relevance unspecified.
|
IRRELEVANT
Answer is irrelevant to query.
|
RELEVANT
Answer is relevant to query.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ANSWER_RELEVANCE_UNSPECIFIED_VALUE
Answer relevance unspecified.
|
static int |
IRRELEVANT_VALUE
Answer is irrelevant to query.
|
static int |
RELEVANT_VALUE
Answer is relevant to query.
|
| Modifier and Type | Method and Description |
|---|---|
static AgentAssistantFeedback.AnswerRelevance |
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<AgentAssistantFeedback.AnswerRelevance> |
internalGetValueMap() |
static AgentAssistantFeedback.AnswerRelevance |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AgentAssistantFeedback.AnswerRelevance |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AgentAssistantFeedback.AnswerRelevance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentAssistantFeedback.AnswerRelevance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentAssistantFeedback.AnswerRelevance ANSWER_RELEVANCE_UNSPECIFIED
Answer relevance unspecified.
ANSWER_RELEVANCE_UNSPECIFIED = 0;public static final AgentAssistantFeedback.AnswerRelevance IRRELEVANT
Answer is irrelevant to query.
IRRELEVANT = 1;public static final AgentAssistantFeedback.AnswerRelevance RELEVANT
Answer is relevant to query.
RELEVANT = 2;public static final AgentAssistantFeedback.AnswerRelevance UNRECOGNIZED
public static final int ANSWER_RELEVANCE_UNSPECIFIED_VALUE
Answer relevance unspecified.
ANSWER_RELEVANCE_UNSPECIFIED = 0;public static final int IRRELEVANT_VALUE
Answer is irrelevant to query.
IRRELEVANT = 1;public static final int RELEVANT_VALUE
Answer is relevant to query.
RELEVANT = 2;public static AgentAssistantFeedback.AnswerRelevance[] values()
for (AgentAssistantFeedback.AnswerRelevance c : AgentAssistantFeedback.AnswerRelevance.values()) System.out.println(c);
public static AgentAssistantFeedback.AnswerRelevance 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 AgentAssistantFeedback.AnswerRelevance valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AgentAssistantFeedback.AnswerRelevance forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AgentAssistantFeedback.AnswerRelevance> 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 AgentAssistantFeedback.AnswerRelevance valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.