Interface SearchProductsRequestOrBuilder (0.21.0)

public interface SearchProductsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPageSize()

public abstract int getPageSize()

The maximum number of entries that are requested.

int32 page_size = 3;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public abstract String getPageToken()

A pagination token returned from a previous call to SearchProducts that indicates where this listing should continue from.

string page_token = 4;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public abstract ByteString getPageTokenBytes()

A pagination token returned from a previous call to SearchProducts that indicates where this listing should continue from.

string page_token = 4;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getQuery()

public abstract String getQuery()

The query to filter the products.

The supported queries are:

  • List products of all catalogs: empty
  • List products under a catalog: parent=catalogs/{catalog}
  • Get a product by name: name=catalogs/{catalog}/products/{product}

string query = 2;

Returns
TypeDescription
String

The query.

getQueryBytes()

public abstract ByteString getQueryBytes()

The query to filter the products.

The supported queries are:

  • List products of all catalogs: empty
  • List products under a catalog: parent=catalogs/{catalog}
  • Get a product by name: name=catalogs/{catalog}/products/{product}

string query = 2;

Returns
TypeDescription
ByteString

The bytes for query.

getResource()

public abstract String getResource()

Required. The name of the resource context. See SearchCatalogsRequest.resource for details.

string resource = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The resource.

getResourceBytes()

public abstract ByteString getResourceBytes()

Required. The name of the resource context. See SearchCatalogsRequest.resource for details.

string resource = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for resource.