public final class AgentAssistantFeedback extends com.google.protobuf.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 |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AgentAssistantFeedback.AnswerRelevance |
getAnswerRelevance()
Optional.
|
int |
getAnswerRelevanceValue()
Optional.
|
static AgentAssistantFeedback |
getDefaultInstance() |
AgentAssistantFeedback |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
AgentAssistantFeedback.DocumentCorrectness |
getDocumentCorrectness()
Optional.
|
int |
getDocumentCorrectnessValue()
Optional.
|
AgentAssistantFeedback.DocumentEfficiency |
getDocumentEfficiency()
Optional.
|
int |
getDocumentEfficiencyValue()
Optional.
|
com.google.protobuf.Parser<AgentAssistantFeedback> |
getParserForType() |
int |
getSerializedSize() |
AgentAssistantFeedback.SummarizationFeedback |
getSummarizationFeedback()
Feedback for conversation summarization.
|
AgentAssistantFeedback.SummarizationFeedbackOrBuilder |
getSummarizationFeedbackOrBuilder()
Feedback for conversation summarization.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasSummarizationFeedback()
Feedback for conversation summarization.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AgentAssistantFeedback.Builder |
newBuilder() |
static AgentAssistantFeedback.Builder |
newBuilder(AgentAssistantFeedback prototype) |
AgentAssistantFeedback.Builder |
newBuilderForType() |
protected AgentAssistantFeedback.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AgentAssistantFeedback |
parseDelimitedFrom(InputStream input) |
static AgentAssistantFeedback |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AgentAssistantFeedback |
parseFrom(byte[] data) |
static AgentAssistantFeedback |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AgentAssistantFeedback |
parseFrom(ByteBuffer data) |
static AgentAssistantFeedback |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AgentAssistantFeedback |
parseFrom(com.google.protobuf.ByteString data) |
static AgentAssistantFeedback |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AgentAssistantFeedback |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AgentAssistantFeedback |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AgentAssistantFeedback |
parseFrom(InputStream input) |
static AgentAssistantFeedback |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AgentAssistantFeedback> |
parser() |
AgentAssistantFeedback.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 AgentAssistantFeedbackOrBuilderpublic 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 AgentAssistantFeedbackOrBuilderpublic 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 AgentAssistantFeedbackOrBuilderpublic 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 AgentAssistantFeedbackOrBuilderpublic 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 AgentAssistantFeedbackOrBuilderpublic 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 AgentAssistantFeedbackOrBuilderpublic boolean hasSummarizationFeedback()
Feedback for conversation summarization.
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4;
hasSummarizationFeedback in interface AgentAssistantFeedbackOrBuilderpublic AgentAssistantFeedback.SummarizationFeedback getSummarizationFeedback()
Feedback for conversation summarization.
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4;
getSummarizationFeedback in interface AgentAssistantFeedbackOrBuilderpublic AgentAssistantFeedback.SummarizationFeedbackOrBuilder getSummarizationFeedbackOrBuilder()
Feedback for conversation summarization.
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4;
getSummarizationFeedbackOrBuilder in interface AgentAssistantFeedbackOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AgentAssistantFeedback parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AgentAssistantFeedback parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AgentAssistantFeedback parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AgentAssistantFeedback parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AgentAssistantFeedback parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AgentAssistantFeedback parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AgentAssistantFeedback parseFrom(InputStream input) throws IOException
IOExceptionpublic static AgentAssistantFeedback parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AgentAssistantFeedback parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AgentAssistantFeedback parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AgentAssistantFeedback parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AgentAssistantFeedback parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AgentAssistantFeedback.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AgentAssistantFeedback.Builder newBuilder()
public static AgentAssistantFeedback.Builder newBuilder(AgentAssistantFeedback prototype)
public AgentAssistantFeedback.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AgentAssistantFeedback.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AgentAssistantFeedback getDefaultInstance()
public static com.google.protobuf.Parser<AgentAssistantFeedback> parser()
public com.google.protobuf.Parser<AgentAssistantFeedback> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AgentAssistantFeedback getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.