public final class AgentAssistantRecord extends GeneratedMessageV3 implements AgentAssistantRecordOrBuilder
Represents a record of a human agent assistant answer.
Protobuf type google.cloud.dialogflow.v2beta1.AgentAssistantRecord
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ARTICLE_SUGGESTION_ANSWER_FIELD_NUMBER
public static final int ARTICLE_SUGGESTION_ANSWER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FAQ_ANSWER_FIELD_NUMBER
public static final int FAQ_ANSWER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AgentAssistantRecord getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AgentAssistantRecord.Builder newBuilder()
newBuilder(AgentAssistantRecord prototype)
public static AgentAssistantRecord.Builder newBuilder(AgentAssistantRecord prototype)
public static AgentAssistantRecord parseDelimitedFrom(InputStream input)
public static AgentAssistantRecord parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AgentAssistantRecord parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AgentAssistantRecord parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AgentAssistantRecord parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AgentAssistantRecord parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AgentAssistantRecord parseFrom(CodedInputStream input)
public static AgentAssistantRecord parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AgentAssistantRecord parseFrom(InputStream input)
public static AgentAssistantRecord parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AgentAssistantRecord parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AgentAssistantRecord parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AgentAssistantRecord> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAnswerCase()
public AgentAssistantRecord.AnswerCase getAnswerCase()
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 |
Type |
Description |
ArticleAnswer |
The articleSuggestionAnswer.
|
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];
getDefaultInstanceForType()
public AgentAssistantRecord getDefaultInstanceForType()
getFaqAnswer()
public FaqAnswer getFaqAnswer()
Output only. The FAQ answer.
.google.cloud.dialogflow.v2beta1.FaqAnswer faq_answer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
FaqAnswer |
The faqAnswer.
|
getFaqAnswerOrBuilder()
public FaqAnswerOrBuilder getFaqAnswerOrBuilder()
Output only. The FAQ answer.
.google.cloud.dialogflow.v2beta1.FaqAnswer faq_answer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getParserForType()
public Parser<AgentAssistantRecord> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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 |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AgentAssistantRecord.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AgentAssistantRecord.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AgentAssistantRecord.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides