Interface ListRecommendationsResponseOrBuilder (2.49.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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
Recommendation

getRecommendationsCount()

public abstract int getRecommendationsCount()

The set of recommendations for the parent resource.

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

Returns
Type Description
int

getRecommendationsList()

public abstract List<Recommendation> getRecommendationsList()

The set of recommendations for the parent resource.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.recommender.v1.RecommendationOrBuilder>