- 4.58.0 (latest)
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnswerFeedback.BuilderImplements
AnswerFeedbackOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnswerFeedback.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
build()
public AnswerFeedback build()
Returns | |
---|---|
Type | Description |
AnswerFeedback |
buildPartial()
public AnswerFeedback buildPartial()
Returns | |
---|---|
Type | Description |
AnswerFeedback |
clear()
public AnswerFeedback.Builder clear()
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
clearAgentAssistantDetailFeedback()
public AnswerFeedback.Builder clearAgentAssistantDetailFeedback()
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
clearClickTime()
public AnswerFeedback.Builder clearClickTime()
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
clearClicked()
public AnswerFeedback.Builder clearClicked()
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;
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
This builder for chaining. |
clearCorrectnessLevel()
public AnswerFeedback.Builder clearCorrectnessLevel()
The correctness level of the specific answer.
.google.cloud.dialogflow.v2.AnswerFeedback.CorrectnessLevel correctness_level = 1;
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
This builder for chaining. |
clearDetailFeedback()
public AnswerFeedback.Builder clearDetailFeedback()
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
clearDisplayTime()
public AnswerFeedback.Builder clearDisplayTime()
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
clearDisplayed()
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;
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AnswerFeedback.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnswerFeedback.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
clone()
public AnswerFeedback.Builder clone()
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
getAgentAssistantDetailFeedback()
public AgentAssistantFeedback getAgentAssistantDetailFeedback()
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
Returns | |
---|---|
Type | Description |
AgentAssistantFeedback |
The agentAssistantDetailFeedback. |
getAgentAssistantDetailFeedbackBuilder()
public AgentAssistantFeedback.Builder getAgentAssistantDetailFeedbackBuilder()
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
Returns | |
---|---|
Type | Description |
AgentAssistantFeedback.Builder |
getAgentAssistantDetailFeedbackOrBuilder()
public AgentAssistantFeedbackOrBuilder getAgentAssistantDetailFeedbackOrBuilder()
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
Returns | |
---|---|
Type | Description |
AgentAssistantFeedbackOrBuilder |
getClickTime()
public Timestamp getClickTime()
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;
Returns | |
---|---|
Type | Description |
Timestamp |
The clickTime. |
getClickTimeBuilder()
public Timestamp.Builder getClickTimeBuilder()
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;
Returns | |
---|---|
Type | Description |
Builder |
getClickTimeOrBuilder()
public TimestampOrBuilder getClickTimeOrBuilder()
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
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;
Returns | |
---|---|
Type | Description |
boolean |
The clicked. |
getCorrectnessLevel()
public AnswerFeedback.CorrectnessLevel getCorrectnessLevel()
The correctness level of the specific answer.
.google.cloud.dialogflow.v2.AnswerFeedback.CorrectnessLevel correctness_level = 1;
Returns | |
---|---|
Type | Description |
AnswerFeedback.CorrectnessLevel |
The correctnessLevel. |
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. |
getDefaultInstanceForType()
public AnswerFeedback getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AnswerFeedback |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDetailFeedbackCase()
public AnswerFeedback.DetailFeedbackCase getDetailFeedbackCase()
Returns | |
---|---|
Type | Description |
AnswerFeedback.DetailFeedbackCase |
getDisplayTime()
public Timestamp getDisplayTime()
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
Returns | |
---|---|
Type | Description |
Timestamp |
The displayTime. |
getDisplayTimeBuilder()
public Timestamp.Builder getDisplayTimeBuilder()
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
Returns | |
---|---|
Type | Description |
Builder |
getDisplayTimeOrBuilder()
public TimestampOrBuilder getDisplayTimeOrBuilder()
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAgentAssistantDetailFeedback(AgentAssistantFeedback value)
public AnswerFeedback.Builder mergeAgentAssistantDetailFeedback(AgentAssistantFeedback value)
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
Parameter | |
---|---|
Name | Description |
value |
AgentAssistantFeedback |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
mergeClickTime(Timestamp value)
public AnswerFeedback.Builder mergeClickTime(Timestamp value)
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
mergeDisplayTime(Timestamp value)
public AnswerFeedback.Builder mergeDisplayTime(Timestamp value)
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
mergeFrom(AnswerFeedback other)
public AnswerFeedback.Builder mergeFrom(AnswerFeedback other)
Parameter | |
---|---|
Name | Description |
other |
AnswerFeedback |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnswerFeedback.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AnswerFeedback.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnswerFeedback.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
setAgentAssistantDetailFeedback(AgentAssistantFeedback value)
public AnswerFeedback.Builder setAgentAssistantDetailFeedback(AgentAssistantFeedback value)
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
Parameter | |
---|---|
Name | Description |
value |
AgentAssistantFeedback |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
setAgentAssistantDetailFeedback(AgentAssistantFeedback.Builder builderForValue)
public AnswerFeedback.Builder setAgentAssistantDetailFeedback(AgentAssistantFeedback.Builder builderForValue)
Detail feedback of agent assist suggestions.
.google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
AgentAssistantFeedback.Builder |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
setClickTime(Timestamp value)
public AnswerFeedback.Builder setClickTime(Timestamp value)
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
setClickTime(Timestamp.Builder builderForValue)
public AnswerFeedback.Builder setClickTime(Timestamp.Builder builderForValue)
Time when the answer/item was clicked.
.google.protobuf.Timestamp click_time = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
setClicked(boolean value)
public AnswerFeedback.Builder setClicked(boolean value)
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;
Parameter | |
---|---|
Name | Description |
value |
boolean The clicked to set. |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
This builder for chaining. |
setCorrectnessLevel(AnswerFeedback.CorrectnessLevel value)
public AnswerFeedback.Builder setCorrectnessLevel(AnswerFeedback.CorrectnessLevel value)
The correctness level of the specific answer.
.google.cloud.dialogflow.v2.AnswerFeedback.CorrectnessLevel correctness_level = 1;
Parameter | |
---|---|
Name | Description |
value |
AnswerFeedback.CorrectnessLevel The correctnessLevel to set. |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
This builder for chaining. |
setCorrectnessLevelValue(int value)
public AnswerFeedback.Builder setCorrectnessLevelValue(int value)
The correctness level of the specific answer.
.google.cloud.dialogflow.v2.AnswerFeedback.CorrectnessLevel correctness_level = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for correctnessLevel to set. |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
This builder for chaining. |
setDisplayTime(Timestamp value)
public AnswerFeedback.Builder setDisplayTime(Timestamp value)
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
setDisplayTime(Timestamp.Builder builderForValue)
public AnswerFeedback.Builder setDisplayTime(Timestamp.Builder builderForValue)
Time when the answer/item was displayed.
.google.protobuf.Timestamp display_time = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
setDisplayed(boolean value)
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;
Parameter | |
---|---|
Name | Description |
value |
boolean The displayed to set. |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AnswerFeedback.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnswerFeedback.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnswerFeedback.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |