@Deprecated public final class Suggestion extends com.google.protobuf.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.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Deprecated.
|
Suggestion.Article |
getArticles(int index)
Deprecated.
Output only.
|
int |
getArticlesCount()
Deprecated.
Output only.
|
List<Suggestion.Article> |
getArticlesList()
Deprecated.
Output only.
|
Suggestion.ArticleOrBuilder |
getArticlesOrBuilder(int index)
Deprecated.
Output only.
|
List<? extends Suggestion.ArticleOrBuilder> |
getArticlesOrBuilderList()
Deprecated.
Output only.
|
com.google.protobuf.Timestamp |
getCreateTime()
Deprecated.
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Deprecated.
Output only.
|
static Suggestion |
getDefaultInstance()
Deprecated.
|
Suggestion |
getDefaultInstanceForType()
Deprecated.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor()
Deprecated.
|
Suggestion.FaqAnswer |
getFaqAnswers(int index)
Deprecated.
Output only.
|
int |
getFaqAnswersCount()
Deprecated.
Output only.
|
List<Suggestion.FaqAnswer> |
getFaqAnswersList()
Deprecated.
Output only.
|
Suggestion.FaqAnswerOrBuilder |
getFaqAnswersOrBuilder(int index)
Deprecated.
Output only.
|
List<? extends Suggestion.FaqAnswerOrBuilder> |
getFaqAnswersOrBuilderList()
Deprecated.
Output only.
|
String |
getLatestMessage()
Deprecated.
Output only.
|
com.google.protobuf.ByteString |
getLatestMessageBytes()
Deprecated.
Output only.
|
String |
getName()
Deprecated.
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Deprecated.
Output only.
|
com.google.protobuf.Parser<Suggestion> |
getParserForType()
Deprecated.
|
int |
getSerializedSize()
Deprecated.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields()
Deprecated.
|
boolean |
hasCreateTime()
Deprecated.
Output only.
|
int |
hashCode()
Deprecated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable()
Deprecated.
|
boolean |
isInitialized()
Deprecated.
|
static Suggestion.Builder |
newBuilder()
Deprecated.
|
static Suggestion.Builder |
newBuilder(Suggestion prototype)
Deprecated.
|
Suggestion.Builder |
newBuilderForType()
Deprecated.
|
protected Suggestion.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
Deprecated.
|
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
Deprecated.
|
static Suggestion |
parseDelimitedFrom(InputStream input)
Deprecated.
|
static Suggestion |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.
|
static Suggestion |
parseFrom(byte[] data)
Deprecated.
|
static Suggestion |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.
|
static Suggestion |
parseFrom(ByteBuffer data)
Deprecated.
|
static Suggestion |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.
|
static Suggestion |
parseFrom(com.google.protobuf.ByteString data)
Deprecated.
|
static Suggestion |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.
|
static Suggestion |
parseFrom(com.google.protobuf.CodedInputStream input)
Deprecated.
|
static Suggestion |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.
|
static Suggestion |
parseFrom(InputStream input)
Deprecated.
|
static Suggestion |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.
|
static com.google.protobuf.Parser<Suggestion> |
parser()
Deprecated.
|
Suggestion.Builder |
toBuilder()
Deprecated.
|
void |
writeTo(com.google.protobuf.CodedOutputStream output)
Deprecated.
|
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 SuggestionOrBuilderpublic com.google.protobuf.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 SuggestionOrBuilderpublic 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 SuggestionOrBuilderpublic 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 SuggestionOrBuilderpublic int getArticlesCount()
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;getArticlesCount in interface SuggestionOrBuilderpublic 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 SuggestionOrBuilderpublic 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 SuggestionOrBuilderpublic List<Suggestion.FaqAnswer> getFaqAnswersList()
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;getFaqAnswersList in interface SuggestionOrBuilderpublic 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 SuggestionOrBuilderpublic int getFaqAnswersCount()
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;getFaqAnswersCount in interface SuggestionOrBuilderpublic 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 SuggestionOrBuilderpublic 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 SuggestionOrBuilderpublic boolean hasCreateTime()
Output only. The time the suggestion was created.
.google.protobuf.Timestamp create_time = 5;hasCreateTime in interface SuggestionOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The time the suggestion was created.
.google.protobuf.Timestamp create_time = 5;getCreateTime in interface SuggestionOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the suggestion was created.
.google.protobuf.Timestamp create_time = 5;getCreateTimeOrBuilder in interface SuggestionOrBuilderpublic 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 SuggestionOrBuilderpublic com.google.protobuf.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 SuggestionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Suggestion parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Suggestion parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Suggestion parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Suggestion parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Suggestion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Suggestion parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Suggestion parseFrom(InputStream input) throws IOException
IOExceptionpublic static Suggestion parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Suggestion parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Suggestion parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Suggestion parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Suggestion parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Suggestion.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Suggestion.Builder newBuilder()
public static Suggestion.Builder newBuilder(Suggestion prototype)
public Suggestion.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Suggestion.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Suggestion getDefaultInstance()
public static com.google.protobuf.Parser<Suggestion> parser()
public com.google.protobuf.Parser<Suggestion> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Suggestion getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.