Package com.google.cloud.dialogflow.v2
Class AnswerFeedback
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.v2.AnswerFeedback
- All Implemented Interfaces:
AnswerFeedbackOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class AnswerFeedback
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents feedback the customer has about the quality & correctness of a certain answer in a conversation.static enumThe correctness level of an answer.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetail feedback of agent assist suggestions.Detail feedback of agent assist suggestions.booleanIndicates whether the answer/item was clicked by the human agent or not.com.google.protobuf.TimestampTime when the answer/item was clicked.com.google.protobuf.TimestampOrBuilderTime when the answer/item was clicked.The correctness level of the specific answer.intThe correctness level of the specific answer.static AnswerFeedbackstatic final com.google.protobuf.Descriptors.DescriptorbooleanIndicates whether the answer/item was displayed to the human agent in the agent desktop UI.com.google.protobuf.TimestampTime when the answer/item was displayed.com.google.protobuf.TimestampOrBuilderTime when the answer/item was displayed.com.google.protobuf.Parser<AnswerFeedback>intbooleanDetail feedback of agent assist suggestions.booleanTime when the answer/item was clicked.booleanTime when the answer/item was displayed.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic AnswerFeedback.Builderstatic AnswerFeedback.BuildernewBuilder(AnswerFeedback prototype) protected AnswerFeedback.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AnswerFeedbackparseDelimitedFrom(InputStream input) static AnswerFeedbackparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnswerFeedbackparseFrom(byte[] data) static AnswerFeedbackparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnswerFeedbackparseFrom(com.google.protobuf.ByteString data) static AnswerFeedbackparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnswerFeedbackparseFrom(com.google.protobuf.CodedInputStream input) static AnswerFeedbackparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnswerFeedbackparseFrom(InputStream input) static AnswerFeedbackparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnswerFeedbackparseFrom(ByteBuffer data) static AnswerFeedbackparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AnswerFeedback>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CORRECTNESS_LEVEL_FIELD_NUMBER
public static final int CORRECTNESS_LEVEL_FIELD_NUMBER- See Also:
-
AGENT_ASSISTANT_DETAIL_FEEDBACK_FIELD_NUMBER
public static final int AGENT_ASSISTANT_DETAIL_FEEDBACK_FIELD_NUMBER- See Also:
-
CLICKED_FIELD_NUMBER
public static final int CLICKED_FIELD_NUMBER- See Also:
-
CLICK_TIME_FIELD_NUMBER
public static final int CLICK_TIME_FIELD_NUMBER- See Also:
-
DISPLAYED_FIELD_NUMBER
public static final int DISPLAYED_FIELD_NUMBER- See Also:
-
DISPLAY_TIME_FIELD_NUMBER
public static final int DISPLAY_TIME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getDetailFeedbackCase
- Specified by:
getDetailFeedbackCasein interfaceAnswerFeedbackOrBuilder
-
getCorrectnessLevelValue
public int getCorrectnessLevelValue()The correctness level of the specific answer.
.google.cloud.dialogflow.v2.AnswerFeedback.CorrectnessLevel correctness_level = 1;- Specified by:
getCorrectnessLevelValuein interfaceAnswerFeedbackOrBuilder- Returns:
- The enum numeric value on the wire for correctnessLevel.
-
getCorrectnessLevel
The correctness level of the specific answer.
.google.cloud.dialogflow.v2.AnswerFeedback.CorrectnessLevel correctness_level = 1;- Specified by:
getCorrectnessLevelin interfaceAnswerFeedbackOrBuilder- Returns:
- The correctnessLevel.
-
hasAgentAssistantDetailFeedback
public boolean hasAgentAssistantDetailFeedback()Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;- Specified by:
hasAgentAssistantDetailFeedbackin interfaceAnswerFeedbackOrBuilder- Returns:
- Whether the agentAssistantDetailFeedback field is set.
-
getAgentAssistantDetailFeedback
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;- Specified by:
getAgentAssistantDetailFeedbackin interfaceAnswerFeedbackOrBuilder- Returns:
- The agentAssistantDetailFeedback.
-
getAgentAssistantDetailFeedbackOrBuilder
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;- Specified by:
getAgentAssistantDetailFeedbackOrBuilderin interfaceAnswerFeedbackOrBuilder
-
getClicked
public boolean getClicked()Indicates whether the answer/item was clicked by the human agent or not. Default to false. For knowledge search and knowledge assist, the answer record is considered to be clicked if the answer was copied or any URI was clicked.
bool clicked = 3;- Specified by:
getClickedin interfaceAnswerFeedbackOrBuilder- Returns:
- The clicked.
-
hasClickTime
public boolean hasClickTime()Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;- Specified by:
hasClickTimein interfaceAnswerFeedbackOrBuilder- Returns:
- Whether the clickTime field is set.
-
getClickTime
public com.google.protobuf.Timestamp getClickTime()Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;- Specified by:
getClickTimein interfaceAnswerFeedbackOrBuilder- Returns:
- The clickTime.
-
getClickTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getClickTimeOrBuilder()Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;- Specified by:
getClickTimeOrBuilderin interfaceAnswerFeedbackOrBuilder
-
getDisplayed
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;- Specified by:
getDisplayedin interfaceAnswerFeedbackOrBuilder- Returns:
- The displayed.
-
hasDisplayTime
public boolean hasDisplayTime()Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;- Specified by:
hasDisplayTimein interfaceAnswerFeedbackOrBuilder- Returns:
- Whether the displayTime field is set.
-
getDisplayTime
public com.google.protobuf.Timestamp getDisplayTime()Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;- Specified by:
getDisplayTimein interfaceAnswerFeedbackOrBuilder- Returns:
- The displayTime.
-
getDisplayTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDisplayTimeOrBuilder()Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;- Specified by:
getDisplayTimeOrBuilderin interfaceAnswerFeedbackOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AnswerFeedback parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnswerFeedback parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnswerFeedback parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnswerFeedback parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnswerFeedback parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnswerFeedback parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AnswerFeedback parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AnswerFeedback parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AnswerFeedback parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AnswerFeedback parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AnswerFeedback.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-