Interface ListRecommendationsResponseOrBuilder (2.35.0)

public interface ListRecommendationsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

A token that can be used to request the next page of results. This field is empty if there are no additional results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

A token that can be used to request the next page of results. This field is empty if there are no additional results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getRecommendations(int index)

public abstract Recommendation getRecommendations(int index)

The set of recommendations for the parent resource.

repeated .google.cloud.recommender.v1.Recommendation recommendations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Recommendation

getRecommendationsCount()

public abstract int getRecommendationsCount()

The set of recommendations for the parent resource.

repeated .google.cloud.recommender.v1.Recommendation recommendations = 1;

Returns
TypeDescription
int

getRecommendationsList()

public abstract List<Recommendation> getRecommendationsList()

The set of recommendations for the parent resource.

repeated .google.cloud.recommender.v1.Recommendation recommendations = 1;

Returns
TypeDescription
List<Recommendation>

getRecommendationsOrBuilder(int index)

public abstract RecommendationOrBuilder getRecommendationsOrBuilder(int index)

The set of recommendations for the parent resource.

repeated .google.cloud.recommender.v1.Recommendation recommendations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RecommendationOrBuilder

getRecommendationsOrBuilderList()

public abstract List<? extends RecommendationOrBuilder> getRecommendationsOrBuilderList()

The set of recommendations for the parent resource.

repeated .google.cloud.recommender.v1.Recommendation recommendations = 1;

Returns
TypeDescription
List<? extends com.google.cloud.recommender.v1.RecommendationOrBuilder>