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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.FaqAnswer faq_answer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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
getFaqAnswerOrBuilder()
public FaqAnswerOrBuilder getFaqAnswerOrBuilder()
Output only. The FAQ answer.
.google.cloud.dialogflow.v2.FaqAnswer faq_answer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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
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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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