Class AgentAssistantFeedback.KnowledgeSearchFeedback (4.47.0)

public static final class AgentAssistantFeedback.KnowledgeSearchFeedback extends GeneratedMessageV3 implements AgentAssistantFeedback.KnowledgeSearchFeedbackOrBuilder

Feedback for knowledge search.

Protobuf type google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.KnowledgeSearchFeedback

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AgentAssistantFeedback.KnowledgeSearchFeedback

Static Fields

ANSWER_COPIED_FIELD_NUMBER

public static final int ANSWER_COPIED_FIELD_NUMBER
Field Value
TypeDescription
int

CLICKED_URIS_FIELD_NUMBER

public static final int CLICKED_URIS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AgentAssistantFeedback.KnowledgeSearchFeedback getDefaultInstance()
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AgentAssistantFeedback.KnowledgeSearchFeedback.Builder newBuilder()
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback.Builder

newBuilder(AgentAssistantFeedback.KnowledgeSearchFeedback prototype)

public static AgentAssistantFeedback.KnowledgeSearchFeedback.Builder newBuilder(AgentAssistantFeedback.KnowledgeSearchFeedback prototype)
Parameter
NameDescription
prototypeAgentAssistantFeedback.KnowledgeSearchFeedback
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback.Builder

parseDelimitedFrom(InputStream input)

public static AgentAssistantFeedback.KnowledgeSearchFeedback parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AgentAssistantFeedback.KnowledgeSearchFeedback parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AgentAssistantFeedback.KnowledgeSearchFeedback parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AgentAssistantFeedback.KnowledgeSearchFeedback parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AgentAssistantFeedback.KnowledgeSearchFeedback parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AgentAssistantFeedback.KnowledgeSearchFeedback parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AgentAssistantFeedback.KnowledgeSearchFeedback parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AgentAssistantFeedback.KnowledgeSearchFeedback parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AgentAssistantFeedback.KnowledgeSearchFeedback parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AgentAssistantFeedback.KnowledgeSearchFeedback parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AgentAssistantFeedback.KnowledgeSearchFeedback parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AgentAssistantFeedback.KnowledgeSearchFeedback parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AgentAssistantFeedback.KnowledgeSearchFeedback> parser()
Returns
TypeDescription
Parser<KnowledgeSearchFeedback>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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;

Returns
TypeDescription
ProtocolStringList

A list containing the clickedUris.

getDefaultInstanceForType()

public AgentAssistantFeedback.KnowledgeSearchFeedback getDefaultInstanceForType()
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback

getParserForType()

public Parser<AgentAssistantFeedback.KnowledgeSearchFeedback> getParserForType()
Returns
TypeDescription
Parser<KnowledgeSearchFeedback>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AgentAssistantFeedback.KnowledgeSearchFeedback.Builder newBuilderForType()
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AgentAssistantFeedback.KnowledgeSearchFeedback.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AgentAssistantFeedback.KnowledgeSearchFeedback.Builder toBuilder()
Returns
TypeDescription
AgentAssistantFeedback.KnowledgeSearchFeedback.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException