Class AgentAssistantRecord (4.4.0)

public final class AgentAssistantRecord extends GeneratedMessageV3 implements AgentAssistantRecordOrBuilder

Represents a record of a human agent assist answer.

Protobuf type google.cloud.dialogflow.v2.AgentAssistantRecord

Fields

ARTICLE_SUGGESTION_ANSWER_FIELD_NUMBER

public static final int ARTICLE_SUGGESTION_ANSWER_FIELD_NUMBER
Field Value
TypeDescription
int

FAQ_ANSWER_FIELD_NUMBER

public static final int FAQ_ANSWER_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAnswerCase()

public AgentAssistantRecord.AnswerCase getAnswerCase()
Returns
TypeDescription
AgentAssistantRecord.AnswerCase

getArticleSuggestionAnswer()

public ArticleAnswer getArticleSuggestionAnswer()

Output only. The article suggestion answer.

.google.cloud.dialogflow.v2.ArticleAnswer article_suggestion_answer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ArticleAnswer

The articleSuggestionAnswer.

getArticleSuggestionAnswerOrBuilder()

public ArticleAnswerOrBuilder getArticleSuggestionAnswerOrBuilder()

Output only. The article suggestion answer.

.google.cloud.dialogflow.v2.ArticleAnswer article_suggestion_answer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ArticleAnswerOrBuilder

getDefaultInstance()

public static AgentAssistantRecord getDefaultInstance()
Returns
TypeDescription
AgentAssistantRecord

getDefaultInstanceForType()

public AgentAssistantRecord getDefaultInstanceForType()
Returns
TypeDescription
AgentAssistantRecord

getDescriptor()

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

getFaqAnswer()

public FaqAnswer getFaqAnswer()

Output only. The FAQ answer.

.google.cloud.dialogflow.v2.FaqAnswer faq_answer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
FaqAnswer

The faqAnswer.

getFaqAnswerOrBuilder()

public FaqAnswerOrBuilder getFaqAnswerOrBuilder()

Output only. The FAQ answer.

.google.cloud.dialogflow.v2.FaqAnswer faq_answer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
FaqAnswerOrBuilder

getParserForType()

public Parser<AgentAssistantRecord> getParserForType()
Returns
TypeDescription
Parser<AgentAssistantRecord>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasArticleSuggestionAnswer()

public boolean hasArticleSuggestionAnswer()

Output only. The article suggestion answer.

.google.cloud.dialogflow.v2.ArticleAnswer article_suggestion_answer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the articleSuggestionAnswer field is set.

hasFaqAnswer()

public boolean hasFaqAnswer()

Output only. The FAQ answer.

.google.cloud.dialogflow.v2.FaqAnswer faq_answer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the faqAnswer field is set.

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

newBuilder()

public static AgentAssistantRecord.Builder newBuilder()
Returns
TypeDescription
AgentAssistantRecord.Builder

newBuilder(AgentAssistantRecord prototype)

public static AgentAssistantRecord.Builder newBuilder(AgentAssistantRecord prototype)
Parameter
NameDescription
prototypeAgentAssistantRecord
Returns
TypeDescription
AgentAssistantRecord.Builder

newBuilderForType()

public AgentAssistantRecord.Builder newBuilderForType()
Returns
TypeDescription
AgentAssistantRecord.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

public static AgentAssistantRecord parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AgentAssistantRecord
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AgentAssistantRecord parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AgentAssistantRecord
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static AgentAssistantRecord parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AgentAssistantRecord
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AgentAssistantRecord parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AgentAssistantRecord
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static AgentAssistantRecord parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AgentAssistantRecord
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AgentAssistantRecord> parser()
Returns
TypeDescription
Parser<AgentAssistantRecord>

toBuilder()

public AgentAssistantRecord.Builder toBuilder()
Returns
TypeDescription
AgentAssistantRecord.Builder

writeTo(CodedOutputStream output)

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