Interface SuggestionOrBuilder (4.60.0)

public interface SuggestionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArticles(int index) (deprecated)

public abstract Suggestion.Article getArticles(int index)

Output only. Articles ordered by score in descending order.

repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;

Parameter
Name Description
index int
Returns
Type Description
Suggestion.Article

getArticlesCount() (deprecated)

public abstract int getArticlesCount()

Output only. Articles ordered by score in descending order.

repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;

Returns
Type Description
int

getArticlesList() (deprecated)

public abstract List<Suggestion.Article> getArticlesList()

Output only. Articles ordered by score in descending order.

repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;

Returns
Type Description
List<Article>

getArticlesOrBuilder(int index) (deprecated)

public abstract Suggestion.ArticleOrBuilder getArticlesOrBuilder(int index)

Output only. Articles ordered by score in descending order.

repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;

Parameter
Name Description
index int
Returns
Type Description
Suggestion.ArticleOrBuilder

getArticlesOrBuilderList() (deprecated)

public abstract List<? extends Suggestion.ArticleOrBuilder> getArticlesOrBuilderList()

Output only. Articles ordered by score in descending order.

repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.Suggestion.ArticleOrBuilder>

getCreateTime() (deprecated)

public abstract Timestamp getCreateTime()

Output only. The time the suggestion was created.

.google.protobuf.Timestamp create_time = 5;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder() (deprecated)

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the suggestion was created.

.google.protobuf.Timestamp create_time = 5;

Returns
Type Description
TimestampOrBuilder

getFaqAnswers(int index) (deprecated)

public abstract Suggestion.FaqAnswer getFaqAnswers(int index)

Output only. Answers extracted from FAQ documents.

repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;

Parameter
Name Description
index int
Returns
Type Description
Suggestion.FaqAnswer

getFaqAnswersCount() (deprecated)

public abstract int getFaqAnswersCount()

Output only. Answers extracted from FAQ documents.

repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;

Returns
Type Description
int

getFaqAnswersList() (deprecated)

public abstract List<Suggestion.FaqAnswer> getFaqAnswersList()

Output only. Answers extracted from FAQ documents.

repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;

Returns
Type Description
List<FaqAnswer>

getFaqAnswersOrBuilder(int index) (deprecated)

public abstract Suggestion.FaqAnswerOrBuilder getFaqAnswersOrBuilder(int index)

Output only. Answers extracted from FAQ documents.

repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;

Parameter
Name Description
index int
Returns
Type Description
Suggestion.FaqAnswerOrBuilder

getFaqAnswersOrBuilderList() (deprecated)

public abstract List<? extends Suggestion.FaqAnswerOrBuilder> getFaqAnswersOrBuilderList()

Output only. Answers extracted from FAQ documents.

repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswerOrBuilder>

getLatestMessage() (deprecated)

public abstract 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;

Returns
Type Description
String

The latestMessage.

getLatestMessageBytes() (deprecated)

public abstract 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;

Returns
Type Description
ByteString

The bytes for latestMessage.

getName() (deprecated)

public abstract 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;

Returns
Type Description
String

The name.

getNameBytes() (deprecated)

public abstract 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;

Returns
Type Description
ByteString

The bytes for name.

hasCreateTime() (deprecated)

public abstract boolean hasCreateTime()

Output only. The time the suggestion was created.

.google.protobuf.Timestamp create_time = 5;

Returns
Type Description
boolean

Whether the createTime field is set.