public static final class ListProductsResponse.Builder extends GeneratedMessage.Builder<ListProductsResponse.Builder> implements ListProductsResponseOrBuilderResponse message for the ListProducts method.
Protobuf type google.shopping.merchant.products.v1.ListProductsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListProductsResponse.BuilderImplements
ListProductsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllProducts(Iterable<? extends Product> values)
public ListProductsResponse.Builder addAllProducts(Iterable<? extends Product> values)The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.
repeated .google.shopping.merchant.products.v1.Product products = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.shopping.merchant.products.v1.Product> |
| Returns | |
|---|---|
| Type | Description |
ListProductsResponse.Builder |
|
addProducts(Product value)
public ListProductsResponse.Builder addProducts(Product value)The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.
repeated .google.shopping.merchant.products.v1.Product products = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Product |
| Returns | |
|---|---|
| Type | Description |
ListProductsResponse.Builder |
|
addProducts(Product.Builder builderForValue)
public ListProductsResponse.Builder addProducts(Product.Builder builderForValue)The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.
repeated .google.shopping.merchant.products.v1.Product products = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Product.Builder |
| Returns | |
|---|---|
| Type | Description |
ListProductsResponse.Builder |
|
addProducts(int index, Product value)
public ListProductsResponse.Builder addProducts(int index, Product value)The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.
repeated .google.shopping.merchant.products.v1.Product products = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Product |
| Returns | |
|---|---|
| Type | Description |
ListProductsResponse.Builder |
|
addProducts(int index, Product.Builder builderForValue)
public ListProductsResponse.Builder addProducts(int index, Product.Builder builderForValue)The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.
repeated .google.shopping.merchant.products.v1.Product products = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Product.Builder |
| Returns | |
|---|---|
| Type | Description |
ListProductsResponse.Builder |
|
addProductsBuilder()
public Product.Builder addProductsBuilder()The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.
repeated .google.shopping.merchant.products.v1.Product products = 1;
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
|
addProductsBuilder(int index)
public Product.Builder addProductsBuilder(int index)The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.
repeated .google.shopping.merchant.products.v1.Product products = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
|
build()
public ListProductsResponse build()| Returns | |
|---|---|
| Type | Description |
ListProductsResponse |
|
buildPartial()
public ListProductsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListProductsResponse |
|
clear()
public ListProductsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListProductsResponse.Builder |
|
clearNextPageToken()
public ListProductsResponse.Builder clearNextPageToken() A token, which can be sent as 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 |
ListProductsResponse.Builder |
This builder for chaining. |
clearProducts()
public ListProductsResponse.Builder clearProducts()The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.
repeated .google.shopping.merchant.products.v1.Product products = 1;
| Returns | |
|---|---|
| Type | Description |
ListProductsResponse.Builder |
|
getDefaultInstanceForType()
public ListProductsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListProductsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() A token, which can be sent as 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 ByteString getNextPageTokenBytes() A token, which can be sent as 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 Product getProducts(int index)The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.
repeated .google.shopping.merchant.products.v1.Product products = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Product |
|
getProductsBuilder(int index)
public Product.Builder getProductsBuilder(int index)The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.
repeated .google.shopping.merchant.products.v1.Product products = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
|
getProductsBuilderList()
public List<Product.Builder> getProductsBuilderList()The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.
repeated .google.shopping.merchant.products.v1.Product products = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getProductsCount()
public int getProductsCount()The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.
repeated .google.shopping.merchant.products.v1.Product products = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getProductsList()
public List<Product> getProductsList()The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.
repeated .google.shopping.merchant.products.v1.Product products = 1;
| Returns | |
|---|---|
| Type | Description |
List<Product> |
|
getProductsOrBuilder(int index)
public ProductOrBuilder getProductsOrBuilder(int index)The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.
repeated .google.shopping.merchant.products.v1.Product products = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ProductOrBuilder |
|
getProductsOrBuilderList()
public List<? extends ProductOrBuilder> getProductsOrBuilderList()The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.
repeated .google.shopping.merchant.products.v1.Product products = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.shopping.merchant.products.v1.ProductOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListProductsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListProductsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListProductsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListProductsResponse.Builder |
|
mergeFrom(ListProductsResponse other)
public ListProductsResponse.Builder mergeFrom(ListProductsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListProductsResponse |
| Returns | |
|---|---|
| Type | Description |
ListProductsResponse.Builder |
|
removeProducts(int index)
public ListProductsResponse.Builder removeProducts(int index)The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.
repeated .google.shopping.merchant.products.v1.Product products = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListProductsResponse.Builder |
|
setNextPageToken(String value)
public ListProductsResponse.Builder setNextPageToken(String value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListProductsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListProductsResponse.Builder setNextPageTokenBytes(ByteString value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListProductsResponse.Builder |
This builder for chaining. |
setProducts(int index, Product value)
public ListProductsResponse.Builder setProducts(int index, Product value)The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.
repeated .google.shopping.merchant.products.v1.Product products = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Product |
| Returns | |
|---|---|
| Type | Description |
ListProductsResponse.Builder |
|
setProducts(int index, Product.Builder builderForValue)
public ListProductsResponse.Builder setProducts(int index, Product.Builder builderForValue)The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.
repeated .google.shopping.merchant.products.v1.Product products = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Product.Builder |
| Returns | |
|---|---|
| Type | Description |
ListProductsResponse.Builder |
|