Interface ListSuggestionsResponseOrBuilder (4.6.0)

public interface ListSuggestionsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

Optional. Token to retrieve the next page of results or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

Optional. Token to retrieve the next page of results or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getSuggestions(int index)

public abstract Suggestion getSuggestions(int index)

Required. The list of suggestions. There will be a maximum number of items returned based on the page_size field in the request. suggestions is sorted by create_time in descending order.

repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Suggestion

getSuggestionsCount()

public abstract int getSuggestionsCount()

Required. The list of suggestions. There will be a maximum number of items returned based on the page_size field in the request. suggestions is sorted by create_time in descending order.

repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;

Returns
TypeDescription
int

getSuggestionsList()

public abstract List<Suggestion> getSuggestionsList()

Required. The list of suggestions. There will be a maximum number of items returned based on the page_size field in the request. suggestions is sorted by create_time in descending order.

repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;

Returns
TypeDescription
List<Suggestion>

getSuggestionsOrBuilder(int index)

public abstract SuggestionOrBuilder getSuggestionsOrBuilder(int index)

Required. The list of suggestions. There will be a maximum number of items returned based on the page_size field in the request. suggestions is sorted by create_time in descending order.

repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SuggestionOrBuilder

getSuggestionsOrBuilderList()

public abstract List<? extends SuggestionOrBuilder> getSuggestionsOrBuilderList()

Required. The list of suggestions. There will be a maximum number of items returned based on the page_size field in the request. suggestions is sorted by create_time in descending order.

repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2beta1.SuggestionOrBuilder>