public final class AgentAssistantFeedback extends GeneratedMessageV3 implements AgentAssistantFeedbackOrBuilder
Detail feedback of Agent Assistant result.Protobuf type
google.cloud.dialogflow.v2beta1.AgentAssistantFeedback
Modifier and Type | Class and Description |
---|---|
static class |
AgentAssistantFeedback.AnswerRelevance
Relevance of an answer.
|
static class |
AgentAssistantFeedback.Builder
Detail feedback of Agent Assistant result.
|
static class |
AgentAssistantFeedback.DocumentCorrectness
Correctness of document.
|
static class |
AgentAssistantFeedback.DocumentEfficiency
Efficiency of document.
|
static class |
AgentAssistantFeedback.SummarizationFeedback
Feedback for conversation summarization.
|
static interface |
AgentAssistantFeedback.SummarizationFeedbackOrBuilder |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
ANSWER_RELEVANCE_FIELD_NUMBER |
static int |
DOCUMENT_CORRECTNESS_FIELD_NUMBER |
static int |
DOCUMENT_EFFICIENCY_FIELD_NUMBER |
static int |
SUMMARIZATION_FEEDBACK_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int ANSWER_RELEVANCE_FIELD_NUMBER
public static final int DOCUMENT_CORRECTNESS_FIELD_NUMBER
public static final int DOCUMENT_EFFICIENCY_FIELD_NUMBER
public static final int SUMMARIZATION_FEEDBACK_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public int getAnswerRelevanceValue()
Optional. Whether or not the suggested answer is relevant. For example: * Query: "Can I change my mailing address?" * Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date." * [answer_relevance][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.answer_relevance]: [AnswerRelevance.IRRELEVANT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.AnswerRelevance.IRRELEVANT]
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.AnswerRelevance answer_relevance = 1;
getAnswerRelevanceValue
in interface AgentAssistantFeedbackOrBuilder
public AgentAssistantFeedback.AnswerRelevance getAnswerRelevance()
Optional. Whether or not the suggested answer is relevant. For example: * Query: "Can I change my mailing address?" * Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date." * [answer_relevance][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.answer_relevance]: [AnswerRelevance.IRRELEVANT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.AnswerRelevance.IRRELEVANT]
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.AnswerRelevance answer_relevance = 1;
getAnswerRelevance
in interface AgentAssistantFeedbackOrBuilder
public int getDocumentCorrectnessValue()
Optional. Whether or not the information in the document is correct. For example: * Query: "Can I return the package in 2 days once received?" * Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date." * Ground truth: "No return or exchange is allowed." * [document_correctness]: INCORRECT
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentCorrectness document_correctness = 2;
getDocumentCorrectnessValue
in interface AgentAssistantFeedbackOrBuilder
public AgentAssistantFeedback.DocumentCorrectness getDocumentCorrectness()
Optional. Whether or not the information in the document is correct. For example: * Query: "Can I return the package in 2 days once received?" * Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date." * Ground truth: "No return or exchange is allowed." * [document_correctness]: INCORRECT
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentCorrectness document_correctness = 2;
getDocumentCorrectness
in interface AgentAssistantFeedbackOrBuilder
public int getDocumentEfficiencyValue()
Optional. Whether or not the suggested document is efficient. For example, if the document is poorly written, hard to understand, hard to use or too long to find useful information, [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency] is [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT].
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency document_efficiency = 3;
getDocumentEfficiencyValue
in interface AgentAssistantFeedbackOrBuilder
public AgentAssistantFeedback.DocumentEfficiency getDocumentEfficiency()
Optional. Whether or not the suggested document is efficient. For example, if the document is poorly written, hard to understand, hard to use or too long to find useful information, [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency] is [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT].
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency document_efficiency = 3;
getDocumentEfficiency
in interface AgentAssistantFeedbackOrBuilder
public boolean hasSummarizationFeedback()
Feedback for conversation summarization.
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4;
hasSummarizationFeedback
in interface AgentAssistantFeedbackOrBuilder
public AgentAssistantFeedback.SummarizationFeedback getSummarizationFeedback()
Feedback for conversation summarization.
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4;
getSummarizationFeedback
in interface AgentAssistantFeedbackOrBuilder
public AgentAssistantFeedback.SummarizationFeedbackOrBuilder getSummarizationFeedbackOrBuilder()
Feedback for conversation summarization.
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4;
getSummarizationFeedbackOrBuilder
in interface AgentAssistantFeedbackOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static AgentAssistantFeedback parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AgentAssistantFeedback parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AgentAssistantFeedback parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AgentAssistantFeedback parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AgentAssistantFeedback parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AgentAssistantFeedback parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AgentAssistantFeedback parseFrom(InputStream input) throws IOException
IOException
public static AgentAssistantFeedback parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static AgentAssistantFeedback parseDelimitedFrom(InputStream input) throws IOException
IOException
public static AgentAssistantFeedback parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static AgentAssistantFeedback parseFrom(CodedInputStream input) throws IOException
IOException
public static AgentAssistantFeedback parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public AgentAssistantFeedback.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static AgentAssistantFeedback.Builder newBuilder()
public static AgentAssistantFeedback.Builder newBuilder(AgentAssistantFeedback prototype)
public AgentAssistantFeedback.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected AgentAssistantFeedback.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static AgentAssistantFeedback getDefaultInstance()
public static Parser<AgentAssistantFeedback> parser()
public Parser<AgentAssistantFeedback> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public AgentAssistantFeedback getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.