public static final class AgentAssistantFeedback.KnowledgeAssistFeedback.Builder extends GeneratedMessageV3.Builder<AgentAssistantFeedback.KnowledgeAssistFeedback.Builder> implements AgentAssistantFeedback.KnowledgeAssistFeedbackOrBuilder
Feedback for knowledge assist.
Protobuf type
google.cloud.dialogflow.v2.AgentAssistantFeedback.KnowledgeAssistFeedback
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.KnowledgeAssistFeedback.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.KnowledgeAssistFeedback.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.KnowledgeAssistFeedback.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.KnowledgeAssistFeedback.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AgentAssistantFeedback.KnowledgeAssistFeedback build()
buildPartial()
public AgentAssistantFeedback.KnowledgeAssistFeedback buildPartial()
clear()
public AgentAssistantFeedback.KnowledgeAssistFeedback.Builder clear()
Overrides
clearAnswerCopied()
public AgentAssistantFeedback.KnowledgeAssistFeedback.Builder clearAnswerCopied()
Whether the suggested answer was copied by the human agent.
If the value is set to be true,
AnswerFeedback.clicked
will be updated to be true.
bool answer_copied = 1;
clearClickedUris()
public AgentAssistantFeedback.KnowledgeAssistFeedback.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.KnowledgeAssistFeedback.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AgentAssistantFeedback.KnowledgeAssistFeedback.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AgentAssistantFeedback.KnowledgeAssistFeedback.Builder clone()
Overrides
getAnswerCopied()
public boolean getAnswerCopied()
Whether the suggested answer was copied by the human agent.
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.KnowledgeAssistFeedback getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AgentAssistantFeedback.KnowledgeAssistFeedback other)
public AgentAssistantFeedback.KnowledgeAssistFeedback.Builder mergeFrom(AgentAssistantFeedback.KnowledgeAssistFeedback other)
public AgentAssistantFeedback.KnowledgeAssistFeedback.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AgentAssistantFeedback.KnowledgeAssistFeedback.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AgentAssistantFeedback.KnowledgeAssistFeedback.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAnswerCopied(boolean value)
public AgentAssistantFeedback.KnowledgeAssistFeedback.Builder setAnswerCopied(boolean value)
Whether the suggested answer was copied by the human agent.
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.KnowledgeAssistFeedback.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.KnowledgeAssistFeedback.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AgentAssistantFeedback.KnowledgeAssistFeedback.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AgentAssistantFeedback.KnowledgeAssistFeedback.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides