Class AgentAssistantRecord (4.57.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

Static Fields

ARTICLE_SUGGESTION_ANSWER_FIELD_NUMBER

public static final int ARTICLE_SUGGESTION_ANSWER_FIELD_NUMBER
Field Value
Type Description
int

DIALOGFLOW_ASSIST_ANSWER_FIELD_NUMBER

public static final int DIALOGFLOW_ASSIST_ANSWER_FIELD_NUMBER
Field Value
Type Description
int

FAQ_ANSWER_FIELD_NUMBER

public static final int FAQ_ANSWER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AgentAssistantRecord getDefaultInstance()
Returns
Type Description
AgentAssistantRecord

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AgentAssistantRecord.Builder newBuilder()
Returns
Type Description
AgentAssistantRecord.Builder

newBuilder(AgentAssistantRecord prototype)

public static AgentAssistantRecord.Builder newBuilder(AgentAssistantRecord prototype)
Parameter
Name Description
prototype AgentAssistantRecord
Returns
Type Description
AgentAssistantRecord.Builder

parseDelimitedFrom(InputStream input)

public static AgentAssistantRecord parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AgentAssistantRecord
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AgentAssistantRecord parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentAssistantRecord
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AgentAssistantRecord parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AgentAssistantRecord
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AgentAssistantRecord parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentAssistantRecord
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AgentAssistantRecord parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AgentAssistantRecord
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AgentAssistantRecord parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentAssistantRecord
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AgentAssistantRecord parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AgentAssistantRecord
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AgentAssistantRecord parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentAssistantRecord
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AgentAssistantRecord parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AgentAssistantRecord
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AgentAssistantRecord parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentAssistantRecord
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AgentAssistantRecord parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AgentAssistantRecord
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AgentAssistantRecord parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentAssistantRecord
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AgentAssistantRecord> parser()
Returns
Type Description
Parser<AgentAssistantRecord>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAnswerCase()

public AgentAssistantRecord.AnswerCase getAnswerCase()
Returns
Type Description
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
Type Description
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
Type Description
ArticleAnswerOrBuilder

getDefaultInstanceForType()

public AgentAssistantRecord getDefaultInstanceForType()
Returns
Type Description
AgentAssistantRecord

getDialogflowAssistAnswer()

public DialogflowAssistAnswer getDialogflowAssistAnswer()

Output only. Dialogflow assist answer.

.google.cloud.dialogflow.v2.DialogflowAssistAnswer dialogflow_assist_answer = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DialogflowAssistAnswer

The dialogflowAssistAnswer.

getDialogflowAssistAnswerOrBuilder()

public DialogflowAssistAnswerOrBuilder getDialogflowAssistAnswerOrBuilder()

Output only. Dialogflow assist answer.

.google.cloud.dialogflow.v2.DialogflowAssistAnswer dialogflow_assist_answer = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DialogflowAssistAnswerOrBuilder

getFaqAnswer()

public FaqAnswer getFaqAnswer()

Output only. The FAQ answer.

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

Returns
Type Description
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
Type Description
FaqAnswerOrBuilder

getParserForType()

public Parser<AgentAssistantRecord> getParserForType()
Returns
Type Description
Parser<AgentAssistantRecord>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
Type Description
boolean

Whether the articleSuggestionAnswer field is set.

hasDialogflowAssistAnswer()

public boolean hasDialogflowAssistAnswer()

Output only. Dialogflow assist answer.

.google.cloud.dialogflow.v2.DialogflowAssistAnswer dialogflow_assist_answer = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the dialogflowAssistAnswer 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
Type Description
boolean

Whether the faqAnswer field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AgentAssistantRecord.Builder newBuilderForType()
Returns
Type Description
AgentAssistantRecord.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AgentAssistantRecord.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AgentAssistantRecord.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AgentAssistantRecord.Builder toBuilder()
Returns
Type Description
AgentAssistantRecord.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException