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