public interface SearchProductsRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getPageSize()
public abstract int getPageSize()
The maximum number of entries that are requested.
int32 page_size = 3;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString |
The bytes for resource. |