public final class AnswerFeedback extends GeneratedMessageV3 implements AnswerFeedbackOrBuilder
Represents feedback the customer has about the quality & correctness of a certain answer in a conversation.Protobuf type
google.cloud.dialogflow.v2.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 |
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 |
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 |
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 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(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 AnswerFeedback.DetailFeedbackCase getDetailFeedbackCase()
getDetailFeedbackCase
in interface AnswerFeedbackOrBuilder
public int getCorrectnessLevelValue()
The correctness level of the specific answer.
.google.cloud.dialogflow.v2.AnswerFeedback.CorrectnessLevel correctness_level = 1;
getCorrectnessLevelValue
in interface AnswerFeedbackOrBuilder
public AnswerFeedback.CorrectnessLevel getCorrectnessLevel()
The correctness level of the specific answer.
.google.cloud.dialogflow.v2.AnswerFeedback.CorrectnessLevel correctness_level = 1;
getCorrectnessLevel
in interface AnswerFeedbackOrBuilder
public boolean hasAgentAssistantDetailFeedback()
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
hasAgentAssistantDetailFeedback
in interface AnswerFeedbackOrBuilder
public AgentAssistantFeedback getAgentAssistantDetailFeedback()
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
getAgentAssistantDetailFeedback
in interface AnswerFeedbackOrBuilder
public AgentAssistantFeedbackOrBuilder getAgentAssistantDetailFeedbackOrBuilder()
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
getAgentAssistantDetailFeedbackOrBuilder
in interface AnswerFeedbackOrBuilder
public boolean getClicked()
Indicates whether the answer/item was clicked by the human agent or not. Default to false.
bool clicked = 3;
getClicked
in interface AnswerFeedbackOrBuilder
public boolean hasClickTime()
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;
hasClickTime
in interface AnswerFeedbackOrBuilder
public Timestamp getClickTime()
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;
getClickTime
in interface AnswerFeedbackOrBuilder
public TimestampOrBuilder getClickTimeOrBuilder()
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;
getClickTimeOrBuilder
in interface AnswerFeedbackOrBuilder
public 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 AnswerFeedbackOrBuilder
public boolean hasDisplayTime()
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
hasDisplayTime
in interface AnswerFeedbackOrBuilder
public Timestamp getDisplayTime()
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
getDisplayTime
in interface AnswerFeedbackOrBuilder
public TimestampOrBuilder getDisplayTimeOrBuilder()
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
getDisplayTimeOrBuilder
in interface AnswerFeedbackOrBuilder
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 AnswerFeedback parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AnswerFeedback parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AnswerFeedback parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AnswerFeedback parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AnswerFeedback parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AnswerFeedback parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AnswerFeedback parseFrom(InputStream input) throws IOException
IOException
public static AnswerFeedback parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static AnswerFeedback parseDelimitedFrom(InputStream input) throws IOException
IOException
public static AnswerFeedback parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static AnswerFeedback parseFrom(CodedInputStream input) throws IOException
IOException
public static AnswerFeedback parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public AnswerFeedback.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static AnswerFeedback.Builder newBuilder()
public static AnswerFeedback.Builder newBuilder(AnswerFeedback prototype)
public AnswerFeedback.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected AnswerFeedback.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static AnswerFeedback getDefaultInstance()
public static Parser<AnswerFeedback> parser()
public Parser<AnswerFeedback> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public AnswerFeedback getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.