public static final class AnswerFeedback.Builder extends GeneratedMessageV3.Builder<AnswerFeedback.Builder> 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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<AnswerFeedback.Builder>
public AnswerFeedback.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<AnswerFeedback.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<AnswerFeedback.Builder>
public AnswerFeedback getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public AnswerFeedback build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public AnswerFeedback buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public AnswerFeedback.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<AnswerFeedback.Builder>
public AnswerFeedback.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<AnswerFeedback.Builder>
public AnswerFeedback.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<AnswerFeedback.Builder>
public AnswerFeedback.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<AnswerFeedback.Builder>
public AnswerFeedback.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<AnswerFeedback.Builder>
public AnswerFeedback.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<AnswerFeedback.Builder>
public AnswerFeedback.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<AnswerFeedback.Builder>
public AnswerFeedback.Builder mergeFrom(AnswerFeedback other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<AnswerFeedback.Builder>
public AnswerFeedback.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<AnswerFeedback.Builder>
IOException
public AnswerFeedback.DetailFeedbackCase getDetailFeedbackCase()
getDetailFeedbackCase
in interface AnswerFeedbackOrBuilder
public AnswerFeedback.Builder clearDetailFeedback()
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.Builder setCorrectnessLevelValue(int value)
The correctness level of the specific answer.
.google.cloud.dialogflow.v2.AnswerFeedback.CorrectnessLevel correctness_level = 1;
value
- The enum numeric value on the wire for correctnessLevel to set.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 AnswerFeedback.Builder setCorrectnessLevel(AnswerFeedback.CorrectnessLevel value)
The correctness level of the specific answer.
.google.cloud.dialogflow.v2.AnswerFeedback.CorrectnessLevel correctness_level = 1;
value
- The correctnessLevel to set.public AnswerFeedback.Builder clearCorrectnessLevel()
The correctness level of the specific answer.
.google.cloud.dialogflow.v2.AnswerFeedback.CorrectnessLevel correctness_level = 1;
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 AnswerFeedback.Builder setAgentAssistantDetailFeedback(AgentAssistantFeedback value)
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
public AnswerFeedback.Builder setAgentAssistantDetailFeedback(AgentAssistantFeedback.Builder builderForValue)
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
public AnswerFeedback.Builder mergeAgentAssistantDetailFeedback(AgentAssistantFeedback value)
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
public AnswerFeedback.Builder clearAgentAssistantDetailFeedback()
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
public AgentAssistantFeedback.Builder getAgentAssistantDetailFeedbackBuilder()
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
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 AnswerFeedback.Builder setClicked(boolean value)
Indicates whether the answer/item was clicked by the human agent or not. Default to false.
bool clicked = 3;
value
- The clicked to set.public AnswerFeedback.Builder clearClicked()
Indicates whether the answer/item was clicked by the human agent or not. Default to false.
bool clicked = 3;
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 AnswerFeedback.Builder setClickTime(Timestamp value)
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;
public AnswerFeedback.Builder setClickTime(Timestamp.Builder builderForValue)
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;
public AnswerFeedback.Builder mergeClickTime(Timestamp value)
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;
public AnswerFeedback.Builder clearClickTime()
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;
public Timestamp.Builder getClickTimeBuilder()
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;
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 AnswerFeedback.Builder setDisplayed(boolean value)
Indicates whether the answer/item was displayed to the human agent in the agent desktop UI. Default to false.
bool displayed = 4;
value
- The displayed to set.public AnswerFeedback.Builder clearDisplayed()
Indicates whether the answer/item was displayed to the human agent in the agent desktop UI. Default to false.
bool displayed = 4;
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 AnswerFeedback.Builder setDisplayTime(Timestamp value)
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
public AnswerFeedback.Builder setDisplayTime(Timestamp.Builder builderForValue)
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
public AnswerFeedback.Builder mergeDisplayTime(Timestamp value)
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
public AnswerFeedback.Builder clearDisplayTime()
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
public Timestamp.Builder getDisplayTimeBuilder()
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
public TimestampOrBuilder getDisplayTimeOrBuilder()
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
getDisplayTimeOrBuilder
in interface AnswerFeedbackOrBuilder
public final AnswerFeedback.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<AnswerFeedback.Builder>
public final AnswerFeedback.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<AnswerFeedback.Builder>
Copyright © 2022 Google LLC. All rights reserved.