Interface ProductInlineSourceOrBuilder (2.48.0)

public interface ProductInlineSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getProducts(int index)

public abstract Product getProducts(int index)

Required. A list of products to update/create. Each product must have a valid Product.id. Recommended max of 100 items.

repeated .google.cloud.retail.v2beta.Product products = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Product

getProductsCount()

public abstract int getProductsCount()

Required. A list of products to update/create. Each product must have a valid Product.id. Recommended max of 100 items.

repeated .google.cloud.retail.v2beta.Product products = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getProductsList()

public abstract List<Product> getProductsList()

Required. A list of products to update/create. Each product must have a valid Product.id. Recommended max of 100 items.

repeated .google.cloud.retail.v2beta.Product products = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Product>

getProductsOrBuilder(int index)

public abstract ProductOrBuilder getProductsOrBuilder(int index)

Required. A list of products to update/create. Each product must have a valid Product.id. Recommended max of 100 items.

repeated .google.cloud.retail.v2beta.Product products = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ProductOrBuilder

getProductsOrBuilderList()

public abstract List<? extends ProductOrBuilder> getProductsOrBuilderList()

Required. A list of products to update/create. Each product must have a valid Product.id. Recommended max of 100 items.

repeated .google.cloud.retail.v2beta.Product products = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.retail.v2beta.ProductOrBuilder>