Class AgentAssistantRecord.Builder (4.10.0)

public static final class AgentAssistantRecord.Builder extends GeneratedMessageV3.Builder<AgentAssistantRecord.Builder> implements AgentAssistantRecordOrBuilder

Represents a record of a human agent assist answer.

Protobuf type google.cloud.dialogflow.v2.AgentAssistantRecord

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AgentAssistantRecord.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AgentAssistantRecord.Builder
Overrides

build()

public AgentAssistantRecord build()
Returns
Type Description
AgentAssistantRecord

buildPartial()

public AgentAssistantRecord buildPartial()
Returns
Type Description
AgentAssistantRecord

clear()

public AgentAssistantRecord.Builder clear()
Returns
Type Description
AgentAssistantRecord.Builder
Overrides

clearAnswer()

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

clearArticleSuggestionAnswer()

public AgentAssistantRecord.Builder clearArticleSuggestionAnswer()

Output only. The article suggestion answer.

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

Returns
Type Description
AgentAssistantRecord.Builder

clearFaqAnswer()

public AgentAssistantRecord.Builder clearFaqAnswer()

Output only. The FAQ answer.

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

Returns
Type Description
AgentAssistantRecord.Builder

clearField(Descriptors.FieldDescriptor field)

public AgentAssistantRecord.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AgentAssistantRecord.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AgentAssistantRecord.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AgentAssistantRecord.Builder
Overrides

clone()

public AgentAssistantRecord.Builder clone()
Returns
Type Description
AgentAssistantRecord.Builder
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.

getArticleSuggestionAnswerBuilder()

public ArticleAnswer.Builder getArticleSuggestionAnswerBuilder()

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.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getFaqAnswerBuilder()

public FaqAnswer.Builder getFaqAnswerBuilder()

Output only. The FAQ answer.

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

Returns
Type Description
FaqAnswer.Builder

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

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeArticleSuggestionAnswer(ArticleAnswer value)

public AgentAssistantRecord.Builder mergeArticleSuggestionAnswer(ArticleAnswer value)

Output only. The article suggestion answer.

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

Parameter
Name Description
value ArticleAnswer
Returns
Type Description
AgentAssistantRecord.Builder

mergeFaqAnswer(FaqAnswer value)

public AgentAssistantRecord.Builder mergeFaqAnswer(FaqAnswer value)

Output only. The FAQ answer.

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

Parameter
Name Description
value FaqAnswer
Returns
Type Description
AgentAssistantRecord.Builder

mergeFrom(AgentAssistantRecord other)

public AgentAssistantRecord.Builder mergeFrom(AgentAssistantRecord other)
Parameter
Name Description
other AgentAssistantRecord
Returns
Type Description
AgentAssistantRecord.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AgentAssistantRecord.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentAssistantRecord.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public AgentAssistantRecord.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AgentAssistantRecord.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AgentAssistantRecord.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AgentAssistantRecord.Builder
Overrides

setArticleSuggestionAnswer(ArticleAnswer value)

public AgentAssistantRecord.Builder setArticleSuggestionAnswer(ArticleAnswer value)

Output only. The article suggestion answer.

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

Parameter
Name Description
value ArticleAnswer
Returns
Type Description
AgentAssistantRecord.Builder

setArticleSuggestionAnswer(ArticleAnswer.Builder builderForValue)

public AgentAssistantRecord.Builder setArticleSuggestionAnswer(ArticleAnswer.Builder builderForValue)

Output only. The article suggestion answer.

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

Parameter
Name Description
builderForValue ArticleAnswer.Builder
Returns
Type Description
AgentAssistantRecord.Builder

setFaqAnswer(FaqAnswer value)

public AgentAssistantRecord.Builder setFaqAnswer(FaqAnswer value)

Output only. The FAQ answer.

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

Parameter
Name Description
value FaqAnswer
Returns
Type Description
AgentAssistantRecord.Builder

setFaqAnswer(FaqAnswer.Builder builderForValue)

public AgentAssistantRecord.Builder setFaqAnswer(FaqAnswer.Builder builderForValue)

Output only. The FAQ answer.

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

Parameter
Name Description
builderForValue FaqAnswer.Builder
Returns
Type Description
AgentAssistantRecord.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AgentAssistantRecord.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AgentAssistantRecord.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AgentAssistantRecord.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AgentAssistantRecord.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AgentAssistantRecord.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AgentAssistantRecord.Builder
Overrides