Interface ProductInlineSourceOrBuilder

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.v2.Product products = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v2.Product products = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v2.Product products = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v2.Product products = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v2.Product products = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.retail.v2.ProductOrBuilder>