Interface SuggestionOrBuilder (4.18.0)

public interface SuggestionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArticles(int index)

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()

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()

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)

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()

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()

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()

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)

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()

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()

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)

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()

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()

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()

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()

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()

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()

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.