Class AgentAssistantRecord.Builder (4.6.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AgentAssistantRecord.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AgentAssistantRecord.Builder
Overrides

build()

public AgentAssistantRecord build()
Returns
TypeDescription
AgentAssistantRecord

buildPartial()

public AgentAssistantRecord buildPartial()
Returns
TypeDescription
AgentAssistantRecord

clear()

public AgentAssistantRecord.Builder clear()
Returns
TypeDescription
AgentAssistantRecord.Builder
Overrides

clearAnswer()

public AgentAssistantRecord.Builder clearAnswer()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AgentAssistantRecord.Builder

clearField(Descriptors.FieldDescriptor field)

public AgentAssistantRecord.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AgentAssistantRecord.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AgentAssistantRecord.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AgentAssistantRecord.Builder
Overrides

clone()

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

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
TypeDescription
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
TypeDescription
ArticleAnswerOrBuilder

getDefaultInstanceForType()

public AgentAssistantRecord getDefaultInstanceForType()
Returns
TypeDescription
AgentAssistantRecord

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueArticleAnswer
Returns
TypeDescription
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
NameDescription
valueFaqAnswer
Returns
TypeDescription
AgentAssistantRecord.Builder

mergeFrom(AgentAssistantRecord other)

public AgentAssistantRecord.Builder mergeFrom(AgentAssistantRecord other)
Parameter
NameDescription
otherAgentAssistantRecord
Returns
TypeDescription
AgentAssistantRecord.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AgentAssistantRecord.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AgentAssistantRecord.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AgentAssistantRecord.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AgentAssistantRecord.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AgentAssistantRecord.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueArticleAnswer
Returns
TypeDescription
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
NameDescription
builderForValueArticleAnswer.Builder
Returns
TypeDescription
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
NameDescription
valueFaqAnswer
Returns
TypeDescription
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
NameDescription
builderForValueFaqAnswer.Builder
Returns
TypeDescription
AgentAssistantRecord.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AgentAssistantRecord.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AgentAssistantRecord.Builder
Overrides

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

public AgentAssistantRecord.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AgentAssistantRecord.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AgentAssistantRecord.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AgentAssistantRecord.Builder
Overrides