public static enum AgentAssistantFeedback.AnswerRelevance extends Enum<AgentAssistantFeedback.AnswerRelevance> implements ProtocolMessageEnum
Relevance of an answer.Protobuf enum
google.cloud.dialogflow.v2.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 Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<AgentAssistantFeedback.AnswerRelevance> |
internalGetValueMap() |
static AgentAssistantFeedback.AnswerRelevance |
valueOf(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 Internal.EnumLite
getNumber
in interface 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 Internal.EnumLiteMap<AgentAssistantFeedback.AnswerRelevance> 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.AnswerRelevance valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.