Interface ListProductsResponseOrBuilder (2.53.0)

public interface ListProductsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

A token that can be sent as ListProductsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

A token that can be sent as ListProductsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getProducts(int index)

public abstract Product getProducts(int index)

The Products.

repeated .google.cloud.retail.v2.Product products = 1;

Parameter
Name Description
index int
Returns
Type Description
Product

getProductsCount()

public abstract int getProductsCount()

The Products.

repeated .google.cloud.retail.v2.Product products = 1;

Returns
Type Description
int

getProductsList()

public abstract List<Product> getProductsList()

The Products.

repeated .google.cloud.retail.v2.Product products = 1;

Returns
Type Description
List<Product>

getProductsOrBuilder(int index)

public abstract ProductOrBuilder getProductsOrBuilder(int index)

The Products.

repeated .google.cloud.retail.v2.Product products = 1;

Parameter
Name Description
index int
Returns
Type Description
ProductOrBuilder

getProductsOrBuilderList()

public abstract List<? extends ProductOrBuilder> getProductsOrBuilderList()

The Products.

repeated .google.cloud.retail.v2.Product products = 1;

Returns
Type Description
List<? extends com.google.cloud.retail.v2.ProductOrBuilder>