public final class AnswerFeedback extends com.google.protobuf.GeneratedMessageV3 implements AnswerFeedbackOrBuilder
Represents feedback the customer has about the quality & correctness of a certain answer in a conversation.Protobuf type
google.cloud.dialogflow.v2beta1.AnswerFeedback| Modifier and Type | Class and Description |
|---|---|
static class |
AnswerFeedback.Builder
Represents feedback the customer has about the quality & correctness of a
certain answer in a conversation.
|
static class |
AnswerFeedback.CorrectnessLevel
The correctness level of an answer.
|
static class |
AnswerFeedback.DetailFeedbackCase |
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 |
AGENT_ASSISTANT_DETAIL_FEEDBACK_FIELD_NUMBER |
static int |
CLICK_TIME_FIELD_NUMBER |
static int |
CLICKED_FIELD_NUMBER |
static int |
CORRECTNESS_LEVEL_FIELD_NUMBER |
static int |
DISPLAY_TIME_FIELD_NUMBER |
static int |
DISPLAYED_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AgentAssistantFeedback |
getAgentAssistantDetailFeedback()
Optional.
|
AgentAssistantFeedbackOrBuilder |
getAgentAssistantDetailFeedbackOrBuilder()
Optional.
|
boolean |
getClicked()
Indicates whether the answer/item was clicked by the human agent
or not.
|
com.google.protobuf.Timestamp |
getClickTime()
Time when the answer/item was clicked.
|
com.google.protobuf.TimestampOrBuilder |
getClickTimeOrBuilder()
Time when the answer/item was clicked.
|
AnswerFeedback.CorrectnessLevel |
getCorrectnessLevel()
The correctness level of the specific answer.
|
int |
getCorrectnessLevelValue()
The correctness level of the specific answer.
|
static AnswerFeedback |
getDefaultInstance() |
AnswerFeedback |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
AnswerFeedback.DetailFeedbackCase |
getDetailFeedbackCase() |
boolean |
getDisplayed()
Indicates whether the answer/item was displayed to the human
agent in the agent desktop UI.
|
com.google.protobuf.Timestamp |
getDisplayTime()
Time when the answer/item was displayed.
|
com.google.protobuf.TimestampOrBuilder |
getDisplayTimeOrBuilder()
Time when the answer/item was displayed.
|
com.google.protobuf.Parser<AnswerFeedback> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAgentAssistantDetailFeedback()
Optional.
|
boolean |
hasClickTime()
Time when the answer/item was clicked.
|
boolean |
hasDisplayTime()
Time when the answer/item was displayed.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AnswerFeedback.Builder |
newBuilder() |
static AnswerFeedback.Builder |
newBuilder(AnswerFeedback prototype) |
AnswerFeedback.Builder |
newBuilderForType() |
protected AnswerFeedback.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AnswerFeedback |
parseDelimitedFrom(InputStream input) |
static AnswerFeedback |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnswerFeedback |
parseFrom(byte[] data) |
static AnswerFeedback |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnswerFeedback |
parseFrom(ByteBuffer data) |
static AnswerFeedback |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnswerFeedback |
parseFrom(com.google.protobuf.ByteString data) |
static AnswerFeedback |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnswerFeedback |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AnswerFeedback |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnswerFeedback |
parseFrom(InputStream input) |
static AnswerFeedback |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AnswerFeedback> |
parser() |
AnswerFeedback.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 CORRECTNESS_LEVEL_FIELD_NUMBER
public static final int AGENT_ASSISTANT_DETAIL_FEEDBACK_FIELD_NUMBER
public static final int CLICKED_FIELD_NUMBER
public static final int CLICK_TIME_FIELD_NUMBER
public static final int DISPLAYED_FIELD_NUMBER
public static final int DISPLAY_TIME_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 AnswerFeedback.DetailFeedbackCase getDetailFeedbackCase()
getDetailFeedbackCase in interface AnswerFeedbackOrBuilderpublic int getCorrectnessLevelValue()
The correctness level of the specific answer.
.google.cloud.dialogflow.v2beta1.AnswerFeedback.CorrectnessLevel correctness_level = 1;
getCorrectnessLevelValue in interface AnswerFeedbackOrBuilderpublic AnswerFeedback.CorrectnessLevel getCorrectnessLevel()
The correctness level of the specific answer.
.google.cloud.dialogflow.v2beta1.AnswerFeedback.CorrectnessLevel correctness_level = 1;
getCorrectnessLevel in interface AnswerFeedbackOrBuilderpublic boolean hasAgentAssistantDetailFeedback()
Optional. Detail feedback of agent assistant suggestions.
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
hasAgentAssistantDetailFeedback in interface AnswerFeedbackOrBuilderpublic AgentAssistantFeedback getAgentAssistantDetailFeedback()
Optional. Detail feedback of agent assistant suggestions.
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
getAgentAssistantDetailFeedback in interface AnswerFeedbackOrBuilderpublic AgentAssistantFeedbackOrBuilder getAgentAssistantDetailFeedbackOrBuilder()
Optional. Detail feedback of agent assistant suggestions.
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
getAgentAssistantDetailFeedbackOrBuilder in interface AnswerFeedbackOrBuilderpublic boolean getClicked()
Indicates whether the answer/item was clicked by the human agent or not. Default to false. For knowledge search, the answer record is considered to be clicked if the answer was copied or any URI was clicked.
bool clicked = 3;getClicked in interface AnswerFeedbackOrBuilderpublic boolean hasClickTime()
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;hasClickTime in interface AnswerFeedbackOrBuilderpublic com.google.protobuf.Timestamp getClickTime()
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;getClickTime in interface AnswerFeedbackOrBuilderpublic com.google.protobuf.TimestampOrBuilder getClickTimeOrBuilder()
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;getClickTimeOrBuilder in interface AnswerFeedbackOrBuilderpublic boolean getDisplayed()
Indicates whether the answer/item was displayed to the human agent in the agent desktop UI. Default to false.
bool displayed = 4;getDisplayed in interface AnswerFeedbackOrBuilderpublic boolean hasDisplayTime()
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;hasDisplayTime in interface AnswerFeedbackOrBuilderpublic com.google.protobuf.Timestamp getDisplayTime()
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;getDisplayTime in interface AnswerFeedbackOrBuilderpublic com.google.protobuf.TimestampOrBuilder getDisplayTimeOrBuilder()
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;getDisplayTimeOrBuilder in interface AnswerFeedbackOrBuilderpublic 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 AnswerFeedback parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnswerFeedback parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnswerFeedback parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnswerFeedback parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnswerFeedback parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnswerFeedback parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnswerFeedback parseFrom(InputStream input) throws IOException
IOExceptionpublic static AnswerFeedback parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AnswerFeedback parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AnswerFeedback parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AnswerFeedback parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AnswerFeedback parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AnswerFeedback.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AnswerFeedback.Builder newBuilder()
public static AnswerFeedback.Builder newBuilder(AnswerFeedback prototype)
public AnswerFeedback.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AnswerFeedback.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AnswerFeedback getDefaultInstance()
public static com.google.protobuf.Parser<AnswerFeedback> parser()
public com.google.protobuf.Parser<AnswerFeedback> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AnswerFeedback getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.