Interface ListProductsResponseOrBuilder (2.22.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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getProducts(int index)

public abstract Product getProducts(int index)

The Products.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Product

getProductsCount()

public abstract int getProductsCount()

The Products.

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

Returns
TypeDescription
int

getProductsList()

public abstract List<Product> getProductsList()

The Products.

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

Returns
TypeDescription
List<Product>

getProductsOrBuilder(int index)

public abstract ProductOrBuilder getProductsOrBuilder(int index)

The Products.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ProductOrBuilder

getProductsOrBuilderList()

public abstract List<? extends ProductOrBuilder> getProductsOrBuilderList()

The Products.

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

Returns
TypeDescription
List<? extends com.google.cloud.retail.v2beta.ProductOrBuilder>