Send feedback
Class AgentAssistantRecord.Builder (4.7.4)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.7.4 keyboard_arrow_down
public static final class AgentAssistantRecord . Builder extends GeneratedMessageV3 . Builder<AgentAssistantRecord . Builder > implements AgentAssistantRecordOrBuilder
Represents a record of a human agent assistant answer.
Protobuf type google.cloud.dialogflow.v2beta1.AgentAssistantRecord
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AgentAssistantRecord . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public AgentAssistantRecord build ()
Returns
buildPartial()
public AgentAssistantRecord buildPartial ()
Returns
clear()
public AgentAssistantRecord . Builder clear ()
Returns
Overrides
clearAnswer()
public AgentAssistantRecord . Builder clearAnswer ()
Returns
clearArticleSuggestionAnswer()
public AgentAssistantRecord . Builder clearArticleSuggestionAnswer ()
Output only. The article suggestion answer.
.google.cloud.dialogflow.v2beta1.ArticleAnswer article_suggestion_answer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearFaqAnswer()
public AgentAssistantRecord . Builder clearFaqAnswer ()
Output only. The FAQ answer.
.google.cloud.dialogflow.v2beta1.FaqAnswer faq_answer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearField(Descriptors.FieldDescriptor field)
public AgentAssistantRecord . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AgentAssistantRecord . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public AgentAssistantRecord . Builder clone ()
Returns
Overrides
getAnswerCase()
public AgentAssistantRecord . AnswerCase getAnswerCase ()
Returns
getArticleSuggestionAnswer()
public ArticleAnswer getArticleSuggestionAnswer ()
Output only. The article suggestion answer.
.google.cloud.dialogflow.v2beta1.ArticleAnswer article_suggestion_answer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getArticleSuggestionAnswerBuilder()
public ArticleAnswer . Builder getArticleSuggestionAnswerBuilder ()
Output only. The article suggestion answer.
.google.cloud.dialogflow.v2beta1.ArticleAnswer article_suggestion_answer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getArticleSuggestionAnswerOrBuilder()
public ArticleAnswerOrBuilder getArticleSuggestionAnswerOrBuilder ()
Output only. The article suggestion answer.
.google.cloud.dialogflow.v2beta1.ArticleAnswer article_suggestion_answer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getDefaultInstanceForType()
public AgentAssistantRecord getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getFaqAnswer()
public FaqAnswer getFaqAnswer ()
Output only. The FAQ answer.
.google.cloud.dialogflow.v2beta1.FaqAnswer faq_answer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getFaqAnswerBuilder()
public FaqAnswer . Builder getFaqAnswerBuilder ()
Output only. The FAQ answer.
.google.cloud.dialogflow.v2beta1.FaqAnswer faq_answer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getFaqAnswerOrBuilder()
public FaqAnswerOrBuilder getFaqAnswerOrBuilder ()
Output only. The FAQ answer.
.google.cloud.dialogflow.v2beta1.FaqAnswer faq_answer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
hasArticleSuggestionAnswer()
public boolean hasArticleSuggestionAnswer ()
Output only. The article suggestion answer.
.google.cloud.dialogflow.v2beta1.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.v2beta1.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
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeArticleSuggestionAnswer(ArticleAnswer value)
public AgentAssistantRecord . Builder mergeArticleSuggestionAnswer ( ArticleAnswer value )
Output only. The article suggestion answer.
.google.cloud.dialogflow.v2beta1.ArticleAnswer article_suggestion_answer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
mergeFaqAnswer(FaqAnswer value)
public AgentAssistantRecord . Builder mergeFaqAnswer ( FaqAnswer value )
Output only. The FAQ answer.
.google.cloud.dialogflow.v2beta1.FaqAnswer faq_answer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
mergeFrom(AgentAssistantRecord other)
public AgentAssistantRecord . Builder mergeFrom ( AgentAssistantRecord other )
Parameter
Returns
public AgentAssistantRecord . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AgentAssistantRecord . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AgentAssistantRecord . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setArticleSuggestionAnswer(ArticleAnswer value)
public AgentAssistantRecord . Builder setArticleSuggestionAnswer ( ArticleAnswer value )
Output only. The article suggestion answer.
.google.cloud.dialogflow.v2beta1.ArticleAnswer article_suggestion_answer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setArticleSuggestionAnswer(ArticleAnswer.Builder builderForValue)
public AgentAssistantRecord . Builder setArticleSuggestionAnswer ( ArticleAnswer . Builder builderForValue )
Output only. The article suggestion answer.
.google.cloud.dialogflow.v2beta1.ArticleAnswer article_suggestion_answer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setFaqAnswer(FaqAnswer value)
public AgentAssistantRecord . Builder setFaqAnswer ( FaqAnswer value )
Output only. The FAQ answer.
.google.cloud.dialogflow.v2beta1.FaqAnswer faq_answer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setFaqAnswer(FaqAnswer.Builder builderForValue)
public AgentAssistantRecord . Builder setFaqAnswer ( FaqAnswer . Builder builderForValue )
Output only. The FAQ answer.
.google.cloud.dialogflow.v2beta1.FaqAnswer faq_answer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AgentAssistantRecord . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AgentAssistantRecord . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AgentAssistantRecord . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]