@Deprecated public final class Suggestion extends GeneratedMessageV3 implements SuggestionOrBuilder
Represents a suggestion for a human agent.Protobuf type
google.cloud.dialogflow.v2beta1.Suggestion
Modifier and Type | Class and Description |
---|---|
static class |
Suggestion.Article
Deprecated.
Represents suggested article.
|
static interface |
Suggestion.ArticleOrBuilder
Deprecated.
|
static class |
Suggestion.Builder
Deprecated.
Represents a suggestion for a human agent.
|
static class |
Suggestion.FaqAnswer
Deprecated.
Represents suggested answer from "frequently asked questions".
|
static interface |
Suggestion.FaqAnswerOrBuilder
Deprecated.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
ARTICLES_FIELD_NUMBER
Deprecated.
|
static int |
CREATE_TIME_FIELD_NUMBER
Deprecated.
|
static int |
FAQ_ANSWERS_FIELD_NUMBER
Deprecated.
|
static int |
LATEST_MESSAGE_FIELD_NUMBER
Deprecated.
|
static int |
NAME_FIELD_NUMBER
Deprecated.
|
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int NAME_FIELD_NUMBER
public static final int ARTICLES_FIELD_NUMBER
public static final int FAQ_ANSWERS_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int LATEST_MESSAGE_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getName()
Output only. The name of this suggestion. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/*/suggestions/<Suggestion ID>`.
string name = 1;
getName
in interface SuggestionOrBuilder
public ByteString getNameBytes()
Output only. The name of this suggestion. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/*/suggestions/<Suggestion ID>`.
string name = 1;
getNameBytes
in interface SuggestionOrBuilder
public List<Suggestion.Article> getArticlesList()
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
getArticlesList
in interface SuggestionOrBuilder
public List<? extends Suggestion.ArticleOrBuilder> getArticlesOrBuilderList()
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
getArticlesOrBuilderList
in interface SuggestionOrBuilder
public int getArticlesCount()
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
getArticlesCount
in interface SuggestionOrBuilder
public Suggestion.Article getArticles(int index)
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
getArticles
in interface SuggestionOrBuilder
public Suggestion.ArticleOrBuilder getArticlesOrBuilder(int index)
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
getArticlesOrBuilder
in interface SuggestionOrBuilder
public List<Suggestion.FaqAnswer> getFaqAnswersList()
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
getFaqAnswersList
in interface SuggestionOrBuilder
public List<? extends Suggestion.FaqAnswerOrBuilder> getFaqAnswersOrBuilderList()
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
getFaqAnswersOrBuilderList
in interface SuggestionOrBuilder
public int getFaqAnswersCount()
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
getFaqAnswersCount
in interface SuggestionOrBuilder
public Suggestion.FaqAnswer getFaqAnswers(int index)
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
getFaqAnswers
in interface SuggestionOrBuilder
public Suggestion.FaqAnswerOrBuilder getFaqAnswersOrBuilder(int index)
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
getFaqAnswersOrBuilder
in interface SuggestionOrBuilder
public boolean hasCreateTime()
Output only. The time the suggestion was created.
.google.protobuf.Timestamp create_time = 5;
hasCreateTime
in interface SuggestionOrBuilder
public Timestamp getCreateTime()
Output only. The time the suggestion was created.
.google.protobuf.Timestamp create_time = 5;
getCreateTime
in interface SuggestionOrBuilder
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the suggestion was created.
.google.protobuf.Timestamp create_time = 5;
getCreateTimeOrBuilder
in interface SuggestionOrBuilder
public String getLatestMessage()
Output only. Latest message used as context to compile this suggestion. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>`.
string latest_message = 7;
getLatestMessage
in interface SuggestionOrBuilder
public ByteString getLatestMessageBytes()
Output only. Latest message used as context to compile this suggestion. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>`.
string latest_message = 7;
getLatestMessageBytes
in interface SuggestionOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Suggestion parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Suggestion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Suggestion parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Suggestion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Suggestion parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Suggestion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Suggestion parseFrom(InputStream input) throws IOException
IOException
public static Suggestion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Suggestion parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Suggestion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Suggestion parseFrom(CodedInputStream input) throws IOException
IOException
public static Suggestion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Suggestion.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Suggestion.Builder newBuilder()
public static Suggestion.Builder newBuilder(Suggestion prototype)
public Suggestion.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Suggestion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Suggestion getDefaultInstance()
public static Parser<Suggestion> parser()
public Parser<Suggestion> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Suggestion getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.