public static final class ListProductsResponse.Builder extends GeneratedMessageV3.Builder<ListProductsResponse.Builder> implements ListProductsResponseOrBuilder
Response message for the ListProducts method.
Protobuf type google.shopping.merchant.products.v1beta.ListProductsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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.v1beta.Product products = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.shopping.merchant.products.v1beta.Product>
|
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.v1beta.Product products = 1;
Parameter |
Name |
Description |
value |
Product
|
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.v1beta.Product products = 1;
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.v1beta.Product products = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Product
|
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.v1beta.Product products = 1;
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.v1beta.Product products = 1;
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.v1beta.Product products = 1;
Parameter |
Name |
Description |
index |
int
|
public ListProductsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListProductsResponse build()
public ListProductsResponse buildPartial()
public ListProductsResponse.Builder clear()
Overrides
public ListProductsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
public ListProductsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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.v1beta.Product products = 1;
public ListProductsResponse.Builder clone()
Overrides
public ListProductsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.v1beta.Product products = 1;
Parameter |
Name |
Description |
index |
int
|
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.v1beta.Product products = 1;
Parameter |
Name |
Description |
index |
int
|
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.v1beta.Product products = 1;
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.v1beta.Product products = 1;
Returns |
Type |
Description |
int |
|
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.v1beta.Product products = 1;
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.v1beta.Product products = 1;
Parameter |
Name |
Description |
index |
int
|
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.v1beta.Product products = 1;
Returns |
Type |
Description |
List<? extends com.google.shopping.merchant.products.v1beta.ProductOrBuilder> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListProductsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListProductsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ListProductsResponse.Builder mergeFrom(ListProductsResponse other)
public final ListProductsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.v1beta.Product products = 1;
Parameter |
Name |
Description |
index |
int
|
public ListProductsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The nextPageToken to set.
|
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 |
ByteString
The bytes for nextPageToken to set.
|
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.v1beta.Product products = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Product
|
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.v1beta.Product products = 1;
public ListProductsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListProductsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides