Send feedback
Class AgentAssistantFeedback.KnowledgeSearchFeedback.Builder (4.60.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.60.0 keyboard_arrow_down
public static final class AgentAssistantFeedback . KnowledgeSearchFeedback . Builder extends GeneratedMessageV3 . Builder<AgentAssistantFeedback . KnowledgeSearchFeedback . Builder > implements AgentAssistantFeedback . KnowledgeSearchFeedbackOrBuilder
Feedback for knowledge search.
Protobuf type
google.cloud.dialogflow.v2.AgentAssistantFeedback.KnowledgeSearchFeedback
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAllClickedUris(Iterable<String> values)
public AgentAssistantFeedback . KnowledgeSearchFeedback . Builder addAllClickedUris ( Iterable<String> values )
The URIs clicked by the human agent. The value is appended for each
UpdateAnswerRecordRequest .
If the value is not empty,
AnswerFeedback.clicked
will be updated to be true.
repeated string clicked_uris = 2;
Parameter
Name
Description
values
Iterable <String >
The clickedUris to add.
addClickedUris(String value)
public AgentAssistantFeedback . KnowledgeSearchFeedback . Builder addClickedUris ( String value )
The URIs clicked by the human agent. The value is appended for each
UpdateAnswerRecordRequest .
If the value is not empty,
AnswerFeedback.clicked
will be updated to be true.
repeated string clicked_uris = 2;
Parameter
Name
Description
value
String
The clickedUris to add.
addClickedUrisBytes(ByteString value)
public AgentAssistantFeedback . KnowledgeSearchFeedback . Builder addClickedUrisBytes ( ByteString value )
The URIs clicked by the human agent. The value is appended for each
UpdateAnswerRecordRequest .
If the value is not empty,
AnswerFeedback.clicked
will be updated to be true.
repeated string clicked_uris = 2;
Parameter
Name
Description
value
ByteString
The bytes of the clickedUris to add.
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AgentAssistantFeedback . KnowledgeSearchFeedback . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public AgentAssistantFeedback . KnowledgeSearchFeedback build ()
buildPartial()
public AgentAssistantFeedback . KnowledgeSearchFeedback buildPartial ()
clear()
public AgentAssistantFeedback . KnowledgeSearchFeedback . Builder clear ()
Overrides
clearAnswerCopied()
public AgentAssistantFeedback . KnowledgeSearchFeedback . Builder clearAnswerCopied ()
Whether the answer was copied by the human agent or not.
If the value is set to be true,
AnswerFeedback.clicked
will be updated to be true.
bool answer_copied = 1;
clearClickedUris()
public AgentAssistantFeedback . KnowledgeSearchFeedback . Builder clearClickedUris ()
The URIs clicked by the human agent. The value is appended for each
UpdateAnswerRecordRequest .
If the value is not empty,
AnswerFeedback.clicked
will be updated to be true.
repeated string clicked_uris = 2;
clearField(Descriptors.FieldDescriptor field)
public AgentAssistantFeedback . KnowledgeSearchFeedback . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AgentAssistantFeedback . KnowledgeSearchFeedback . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public AgentAssistantFeedback . KnowledgeSearchFeedback . Builder clone ()
Overrides
getAnswerCopied()
public boolean getAnswerCopied ()
Whether the answer was copied by the human agent or not.
If the value is set to be true,
AnswerFeedback.clicked
will be updated to be true.
bool answer_copied = 1;
Returns
Type
Description
boolean
The answerCopied.
getClickedUris(int index)
public String getClickedUris ( int index )
The URIs clicked by the human agent. The value is appended for each
UpdateAnswerRecordRequest .
If the value is not empty,
AnswerFeedback.clicked
will be updated to be true.
repeated string clicked_uris = 2;
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
String
The clickedUris at the given index.
getClickedUrisBytes(int index)
public ByteString getClickedUrisBytes ( int index )
The URIs clicked by the human agent. The value is appended for each
UpdateAnswerRecordRequest .
If the value is not empty,
AnswerFeedback.clicked
will be updated to be true.
repeated string clicked_uris = 2;
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the clickedUris at the given index.
getClickedUrisCount()
public int getClickedUrisCount ()
The URIs clicked by the human agent. The value is appended for each
UpdateAnswerRecordRequest .
If the value is not empty,
AnswerFeedback.clicked
will be updated to be true.
repeated string clicked_uris = 2;
Returns
Type
Description
int
The count of clickedUris.
getClickedUrisList()
public ProtocolStringList getClickedUrisList ()
The URIs clicked by the human agent. The value is appended for each
UpdateAnswerRecordRequest .
If the value is not empty,
AnswerFeedback.clicked
will be updated to be true.
repeated string clicked_uris = 2;
getDefaultInstanceForType()
public AgentAssistantFeedback . KnowledgeSearchFeedback getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(AgentAssistantFeedback.KnowledgeSearchFeedback other)
public AgentAssistantFeedback . KnowledgeSearchFeedback . Builder mergeFrom ( AgentAssistantFeedback . KnowledgeSearchFeedback other )
public AgentAssistantFeedback . KnowledgeSearchFeedback . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public AgentAssistantFeedback . KnowledgeSearchFeedback . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AgentAssistantFeedback . KnowledgeSearchFeedback . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setAnswerCopied(boolean value)
public AgentAssistantFeedback . KnowledgeSearchFeedback . Builder setAnswerCopied ( boolean value )
Whether the answer was copied by the human agent or not.
If the value is set to be true,
AnswerFeedback.clicked
will be updated to be true.
bool answer_copied = 1;
Parameter
Name
Description
value
boolean
The answerCopied to set.
setClickedUris(int index, String value)
public AgentAssistantFeedback . KnowledgeSearchFeedback . Builder setClickedUris ( int index , String value )
The URIs clicked by the human agent. The value is appended for each
UpdateAnswerRecordRequest .
If the value is not empty,
AnswerFeedback.clicked
will be updated to be true.
repeated string clicked_uris = 2;
Parameters
Name
Description
index
int
The index to set the value at.
value
String
The clickedUris to set.
setField(Descriptors.FieldDescriptor field, Object value)
public AgentAssistantFeedback . KnowledgeSearchFeedback . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AgentAssistantFeedback . KnowledgeSearchFeedback . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AgentAssistantFeedback . KnowledgeSearchFeedback . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]