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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AgentAssistantRecord.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AgentAssistantRecord build()
buildPartial()
public AgentAssistantRecord buildPartial()
clear()
public AgentAssistantRecord.Builder clear()
Overrides
clearAnswer()
public AgentAssistantRecord.Builder clearAnswer()
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];
clearFaqAnswer()
public AgentAssistantRecord.Builder clearFaqAnswer()
Output only. The FAQ answer.
.google.cloud.dialogflow.v2.FaqAnswer faq_answer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public AgentAssistantRecord.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AgentAssistantRecord.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AgentAssistantRecord.Builder clone()
Overrides
getAnswerCase()
public AgentAssistantRecord.AnswerCase getAnswerCase()
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];
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];
getDefaultInstanceForType()
public AgentAssistantRecord getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
getFaqAnswerOrBuilder()
public FaqAnswerOrBuilder getFaqAnswerOrBuilder()
Output only. The FAQ answer.
.google.cloud.dialogflow.v2.FaqAnswer faq_answer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
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];
mergeFrom(AgentAssistantRecord other)
public AgentAssistantRecord.Builder mergeFrom(AgentAssistantRecord other)
public AgentAssistantRecord.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AgentAssistantRecord.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AgentAssistantRecord.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public AgentAssistantRecord.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AgentAssistantRecord.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AgentAssistantRecord.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides