Package com.google.cloud.retail.v2alpha
Interface ListProductsResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ListProductsResponse
,ListProductsResponse.Builder
public interface ListProductsResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getNextPageToken()
A token that can be sent as [ListProductsRequest.page_token][google.cloud.retail.v2alpha.ListProductsRequest.page_token] to retrieve the next page.com.google.protobuf.ByteString
getNextPageTokenBytes()
A token that can be sent as [ListProductsRequest.page_token][google.cloud.retail.v2alpha.ListProductsRequest.page_token] to retrieve the next page.Product
getProducts(int index)
The [Product][google.cloud.retail.v2alpha.Product]s.int
getProductsCount()
The [Product][google.cloud.retail.v2alpha.Product]s.List<Product>
getProductsList()
The [Product][google.cloud.retail.v2alpha.Product]s.ProductOrBuilder
getProductsOrBuilder(int index)
The [Product][google.cloud.retail.v2alpha.Product]s.List<? extends ProductOrBuilder>
getProductsOrBuilderList()
The [Product][google.cloud.retail.v2alpha.Product]s.int
getTotalSize()
The total count of matched [Product][google.cloud.retail.v2alpha.Product]s irrespective of pagination.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getProductsList
List<Product> getProductsList()
The [Product][google.cloud.retail.v2alpha.Product]s.
repeated .google.cloud.retail.v2alpha.Product products = 1;
-
getProducts
Product getProducts(int index)
The [Product][google.cloud.retail.v2alpha.Product]s.
repeated .google.cloud.retail.v2alpha.Product products = 1;
-
getProductsCount
int getProductsCount()
The [Product][google.cloud.retail.v2alpha.Product]s.
repeated .google.cloud.retail.v2alpha.Product products = 1;
-
getProductsOrBuilderList
List<? extends ProductOrBuilder> getProductsOrBuilderList()
The [Product][google.cloud.retail.v2alpha.Product]s.
repeated .google.cloud.retail.v2alpha.Product products = 1;
-
getProductsOrBuilder
ProductOrBuilder getProductsOrBuilder(int index)
The [Product][google.cloud.retail.v2alpha.Product]s.
repeated .google.cloud.retail.v2alpha.Product products = 1;
-
getNextPageToken
String getNextPageToken()
A token that can be sent as [ListProductsRequest.page_token][google.cloud.retail.v2alpha.ListProductsRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
com.google.protobuf.ByteString getNextPageTokenBytes()
A token that can be sent as [ListProductsRequest.page_token][google.cloud.retail.v2alpha.ListProductsRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
- Returns:
- The bytes for nextPageToken.
-
getTotalSize
int getTotalSize()
The total count of matched [Product][google.cloud.retail.v2alpha.Product]s irrespective of pagination. The total number of [Product][google.cloud.retail.v2alpha.Product]s returned by pagination may be less than the [total_size][google.cloud.retail.v2alpha.ListProductsResponse.total_size] that matches. This field is ignored if [ListProductsRequest.require_total_size][google.cloud.retail.v2alpha.ListProductsRequest.require_total_size] is not set or [ListProductsRequest.page_token][google.cloud.retail.v2alpha.ListProductsRequest.page_token] is not empty.
int32 total_size = 3;
- Returns:
- The totalSize.
-
-