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
Fields
AGENT_ASSISTANT_DETAIL_FEEDBACK_FIELD_NUMBER
public static final int AGENT_ASSISTANT_DETAIL_FEEDBACK_FIELD_NUMBER
Field Value
CLICKED_FIELD_NUMBER
public static final int CLICKED_FIELD_NUMBER
Field Value
CLICK_TIME_FIELD_NUMBER
public static final int CLICK_TIME_FIELD_NUMBER
Field Value
CORRECTNESS_LEVEL_FIELD_NUMBER
public static final int CORRECTNESS_LEVEL_FIELD_NUMBER
Field Value
DISPLAYED_FIELD_NUMBER
public static final int DISPLAYED_FIELD_NUMBER
Field Value
DISPLAY_TIME_FIELD_NUMBER
public static final int DISPLAY_TIME_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAgentAssistantDetailFeedback()
public AgentAssistantFeedback getAgentAssistantDetailFeedback()
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
Returns
getAgentAssistantDetailFeedbackOrBuilder()
public AgentAssistantFeedbackOrBuilder getAgentAssistantDetailFeedbackOrBuilder()
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
Returns
getClickTime()
public Timestamp getClickTime()
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;
Returns
getClickTimeOrBuilder()
public TimestampOrBuilder getClickTimeOrBuilder()
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;
Returns
getClicked()
public boolean getClicked()
Indicates whether the answer/item was clicked by the human agent
or not. Default to false.
bool clicked = 3;
Returns
getCorrectnessLevel()
public AnswerFeedback.CorrectnessLevel getCorrectnessLevel()
The correctness level of the specific answer.
.google.cloud.dialogflow.v2.AnswerFeedback.CorrectnessLevel correctness_level = 1;
Returns
getCorrectnessLevelValue()
public int getCorrectnessLevelValue()
The correctness level of the specific answer.
.google.cloud.dialogflow.v2.AnswerFeedback.CorrectnessLevel correctness_level = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for correctnessLevel.
|
getDefaultInstance()
public static AnswerFeedback getDefaultInstance()
Returns
getDefaultInstanceForType()
public AnswerFeedback getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDetailFeedbackCase()
public AnswerFeedback.DetailFeedbackCase getDetailFeedbackCase()
Returns
getDisplayTime()
public Timestamp getDisplayTime()
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
Returns
getDisplayTimeOrBuilder()
public TimestampOrBuilder getDisplayTimeOrBuilder()
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
Returns
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;
Returns
Type | Description |
boolean | The displayed.
|
getParserForType()
public Parser<AnswerFeedback> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasAgentAssistantDetailFeedback()
public boolean hasAgentAssistantDetailFeedback()
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
Returns
Type | Description |
boolean | Whether the agentAssistantDetailFeedback field is set.
|
hasClickTime()
public boolean hasClickTime()
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;
Returns
Type | Description |
boolean | Whether the clickTime field is set.
|
hasDisplayTime()
public boolean hasDisplayTime()
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
Returns
Type | Description |
boolean | Whether the displayTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static AnswerFeedback.Builder newBuilder()
Returns
newBuilder(AnswerFeedback prototype)
public static AnswerFeedback.Builder newBuilder(AnswerFeedback prototype)
Parameter
Returns
newBuilderForType()
public AnswerFeedback.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AnswerFeedback.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static AnswerFeedback parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AnswerFeedback parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AnswerFeedback parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AnswerFeedback parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AnswerFeedback parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnswerFeedback parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnswerFeedback parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AnswerFeedback parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnswerFeedback parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AnswerFeedback parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AnswerFeedback parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AnswerFeedback parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AnswerFeedback> parser()
Returns
toBuilder()
public AnswerFeedback.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions