public final class AgentAssistantRecord extends GeneratedMessageV3 implements AgentAssistantRecordOrBuilder
Represents a record of a human agent assistant answer.
Protobuf type google.cloud.dialogflow.v2beta1.AgentAssistantRecord
Static Fields
ARTICLE_SUGGESTION_ANSWER_FIELD_NUMBER
public static final int ARTICLE_SUGGESTION_ANSWER_FIELD_NUMBER
Field Value
FAQ_ANSWER_FIELD_NUMBER
public static final int FAQ_ANSWER_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AgentAssistantRecord getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AgentAssistantRecord.Builder newBuilder()
Returns
newBuilder(AgentAssistantRecord prototype)
public static AgentAssistantRecord.Builder newBuilder(AgentAssistantRecord prototype)
Parameter
Returns
public static AgentAssistantRecord parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AgentAssistantRecord parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AgentAssistantRecord parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AgentAssistantRecord parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AgentAssistantRecord parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AgentAssistantRecord parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AgentAssistantRecord parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AgentAssistantRecord parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AgentAssistantRecord parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AgentAssistantRecord parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AgentAssistantRecord parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AgentAssistantRecord parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AgentAssistantRecord> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
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
getFaqAnswer()
public FaqAnswer getFaqAnswer()
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
getParserForType()
public Parser<AgentAssistantRecord> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AgentAssistantRecord.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AgentAssistantRecord.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AgentAssistantRecord.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions