Uses of Class
com.google.cloud.retail.v2alpha.Product.Builder
-
Uses of Product.Builder in com.google.cloud.retail.v2alpha
Methods in com.google.cloud.retail.v2alpha that return Product.BuilderModifier and TypeMethodDescriptionProduct.Builder.addAllBrands(Iterable<String> values) The brands of the product.Product.Builder.addAllCategories(Iterable<String> values) Product categories.Product.Builder.addAllCollectionMemberIds(Iterable<String> values) The [id][google.cloud.retail.v2alpha.Product.id] of the collection members when [type][google.cloud.retail.v2alpha.Product.type] is [Type.COLLECTION][google.cloud.retail.v2alpha.Product.Type.COLLECTION].Product.Builder.addAllConditions(Iterable<String> values) The condition of the product.Product.Builder.addAllFulfillmentInfo(Iterable<? extends FulfillmentInfo> values) Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.Product.Builder.addAllImages(Iterable<? extends Image> values) Product images for the product.Product.Builder.addAllLocalInventories(Iterable<? extends LocalInventory> values) Output only.Product.Builder.addAllMaterials(Iterable<String> values) The material of the product.Product.Builder.addAllPatterns(Iterable<String> values) The pattern or graphic print of the product.Product.Builder.addAllPromotions(Iterable<? extends Promotion> values) The promotions applied to the product.Product.Builder.addAllSizes(Iterable<String> values) The size of the product.Product.Builder.addAllTags(Iterable<String> values) Custom tags associated with the product.Product.Builder.addAllVariants(Iterable<? extends Product> values) Output only.The brands of the product.Product.Builder.addBrandsBytes(com.google.protobuf.ByteString value) The brands of the product.Product.Builder.addCategories(String value) Product categories.Product.Builder.addCategoriesBytes(com.google.protobuf.ByteString value) Product categories.Product.Builder.addCollectionMemberIds(String value) The [id][google.cloud.retail.v2alpha.Product.id] of the collection members when [type][google.cloud.retail.v2alpha.Product.type] is [Type.COLLECTION][google.cloud.retail.v2alpha.Product.Type.COLLECTION].Product.Builder.addCollectionMemberIdsBytes(com.google.protobuf.ByteString value) The [id][google.cloud.retail.v2alpha.Product.id] of the collection members when [type][google.cloud.retail.v2alpha.Product.type] is [Type.COLLECTION][google.cloud.retail.v2alpha.Product.Type.COLLECTION].Product.Builder.addConditions(String value) The condition of the product.Product.Builder.addConditionsBytes(com.google.protobuf.ByteString value) The condition of the product.Product.Builder.addFulfillmentInfo(int index, FulfillmentInfo value) Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.Product.Builder.addFulfillmentInfo(int index, FulfillmentInfo.Builder builderForValue) Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.Product.Builder.addFulfillmentInfo(FulfillmentInfo value) Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.Product.Builder.addFulfillmentInfo(FulfillmentInfo.Builder builderForValue) Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.Product images for the product.Product.Builder.addImages(int index, Image.Builder builderForValue) Product images for the product.Product images for the product.Product.Builder.addImages(Image.Builder builderForValue) Product images for the product.Product.Builder.addLocalInventories(int index, LocalInventory value) Output only.Product.Builder.addLocalInventories(int index, LocalInventory.Builder builderForValue) Output only.Product.Builder.addLocalInventories(LocalInventory value) Output only.Product.Builder.addLocalInventories(LocalInventory.Builder builderForValue) Output only.Product.Builder.addMaterials(String value) The material of the product.Product.Builder.addMaterialsBytes(com.google.protobuf.ByteString value) The material of the product.Product.Builder.addPatterns(String value) The pattern or graphic print of the product.Product.Builder.addPatternsBytes(com.google.protobuf.ByteString value) The pattern or graphic print of the product.ListProductsResponse.Builder.addProductsBuilder()The [Product][google.cloud.retail.v2alpha.Product]s.ListProductsResponse.Builder.addProductsBuilder(int index) The [Product][google.cloud.retail.v2alpha.Product]s.ProductInlineSource.Builder.addProductsBuilder()Required.ProductInlineSource.Builder.addProductsBuilder(int index) Required.Product.Builder.addPromotions(int index, Promotion value) The promotions applied to the product.Product.Builder.addPromotions(int index, Promotion.Builder builderForValue) The promotions applied to the product.Product.Builder.addPromotions(Promotion value) The promotions applied to the product.Product.Builder.addPromotions(Promotion.Builder builderForValue) The promotions applied to the product.The size of the product.Product.Builder.addSizesBytes(com.google.protobuf.ByteString value) The size of the product.Custom tags associated with the product.Product.Builder.addTagsBytes(com.google.protobuf.ByteString value) Custom tags associated with the product.Branch.QualityMetric.Builder.addUnqualifiedSampleProductsBuilder()A list of a maximum of 100 sample products that do not qualify for this requirement.Branch.QualityMetric.Builder.addUnqualifiedSampleProductsBuilder(int index) A list of a maximum of 100 sample products that do not qualify for this requirement.Product.Builder.addVariants(int index, Product value) Output only.Product.Builder.addVariants(int index, Product.Builder builderForValue) Output only.Product.Builder.addVariants(Product value) Output only.Product.Builder.addVariants(Product.Builder builderForValue) Output only.Product.Builder.addVariantsBuilder()Output only.Product.Builder.addVariantsBuilder(int index) Output only.Product.Builder.clear()Product.Builder.clearAttributes()Product.Builder.clearAudience()The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product.Product.Builder.clearAvailability()The online availability of the [Product][google.cloud.retail.v2alpha.Product].Product.Builder.clearAvailableQuantity()The available quantity of the item.Product.Builder.clearAvailableTime()The timestamp when this [Product][google.cloud.retail.v2alpha.Product] becomes available for [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search].Product.Builder.clearBrands()The brands of the product.Product.Builder.clearCategories()Product categories.Product.Builder.clearCollectionMemberIds()The [id][google.cloud.retail.v2alpha.Product.id] of the collection members when [type][google.cloud.retail.v2alpha.Product.type] is [Type.COLLECTION][google.cloud.retail.v2alpha.Product.Type.COLLECTION].Product.Builder.clearColorInfo()The color of the product.Product.Builder.clearConditions()The condition of the product.Product.Builder.clearDescription()Product description.Product.Builder.clearExpiration()Product.Builder.clearExpireTime()Note that this field is applied in the following ways: * If the [Product][google.cloud.retail.v2alpha.Product] is already expired when it is uploaded, this product is not indexed for searchProduct.Builder.clearFulfillmentInfo()Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.Product.Builder.clearGtin()The Global Trade Item Number (GTIN) of the product.Product.Builder.clearId()Immutable.Product.Builder.clearImages()Product images for the product.Product.Builder.clearLanguageCode()Language of the title/description and other string attributes.Product.Builder.clearLocalInventories()Output only.Product.Builder.clearMaterials()The material of the product.Product.Builder.clearName()Immutable.Product.Builder.clearPatterns()The pattern or graphic print of the product.Product.Builder.clearPriceInfo()Product price and cost information.Product.Builder.clearPrimaryProductId()Variant group identifier.Product.Builder.clearPromotions()The promotions applied to the product.Product.Builder.clearPublishTime()The timestamp when the product is published by the retailer for the first time, which indicates the freshness of the products.Product.Builder.clearRating()The rating of this product.Product.Builder.clearRetrievableFields()Deprecated.Product.Builder.clearSizes()The size of the product.Product.Builder.clearTags()Custom tags associated with the product.Product.Builder.clearTitle()Required.Product.Builder.clearTtl()Input only.Product.Builder.clearType()Immutable.Product.Builder.clearUri()Canonical URL directly linking to the product detail page.Product.Builder.clearVariants()Output only.SetInventoryRequest.Builder.getInventoryBuilder()Required.CreateProductRequest.Builder.getProductBuilder()Required.ProductDetail.Builder.getProductBuilder()Required.SearchResponse.SearchResult.Builder.getProductBuilder()The product data snippet in the search response.UpdateProductRequest.Builder.getProductBuilder()Required.ListProductsResponse.Builder.getProductsBuilder(int index) The [Product][google.cloud.retail.v2alpha.Product]s.ProductInlineSource.Builder.getProductsBuilder(int index) Required.Branch.QualityMetric.Builder.getUnqualifiedSampleProductsBuilder(int index) A list of a maximum of 100 sample products that do not qualify for this requirement.Product.Builder.getVariantsBuilder(int index) Output only.Product.Builder.mergeAudience(Audience value) The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product.Product.Builder.mergeAvailableQuantity(com.google.protobuf.Int32Value value) The available quantity of the item.Product.Builder.mergeAvailableTime(com.google.protobuf.Timestamp value) The timestamp when this [Product][google.cloud.retail.v2alpha.Product] becomes available for [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search].Product.Builder.mergeColorInfo(ColorInfo value) The color of the product.Product.Builder.mergeExpireTime(com.google.protobuf.Timestamp value) Note that this field is applied in the following ways: * If the [Product][google.cloud.retail.v2alpha.Product] is already expired when it is uploaded, this product is not indexed for searchProduct.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Product.Builder.mergeFrom(com.google.protobuf.Message other) Product.Builder.mergePriceInfo(PriceInfo value) Product price and cost information.Product.Builder.mergePublishTime(com.google.protobuf.Timestamp value) The timestamp when the product is published by the retailer for the first time, which indicates the freshness of the products.Product.Builder.mergeRating(Rating value) The rating of this product.Product.Builder.mergeRetrievableFields(com.google.protobuf.FieldMask value) Deprecated.Product.Builder.mergeTtl(com.google.protobuf.Duration value) Input only.static Product.BuilderProduct.newBuilder()static Product.BuilderProduct.newBuilder(Product prototype) Product.newBuilderForType()protected Product.BuilderProduct.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Product.Builder.putAllAttributes(Map<String, CustomAttribute> values) Highly encouraged.Product.Builder.putAttributes(String key, CustomAttribute value) Highly encouraged.Product.Builder.removeAttributes(String key) Highly encouraged.Product.Builder.removeFulfillmentInfo(int index) Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.Product.Builder.removeImages(int index) Product images for the product.Product.Builder.removeLocalInventories(int index) Output only.Product.Builder.removePromotions(int index) The promotions applied to the product.Product.Builder.removeVariants(int index) Output only.Product.Builder.setAudience(Audience value) The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product.Product.Builder.setAudience(Audience.Builder builderForValue) The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product.Product.Builder.setAvailability(Product.Availability value) The online availability of the [Product][google.cloud.retail.v2alpha.Product].Product.Builder.setAvailabilityValue(int value) The online availability of the [Product][google.cloud.retail.v2alpha.Product].Product.Builder.setAvailableQuantity(com.google.protobuf.Int32Value value) The available quantity of the item.Product.Builder.setAvailableQuantity(com.google.protobuf.Int32Value.Builder builderForValue) The available quantity of the item.Product.Builder.setAvailableTime(com.google.protobuf.Timestamp value) The timestamp when this [Product][google.cloud.retail.v2alpha.Product] becomes available for [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search].Product.Builder.setAvailableTime(com.google.protobuf.Timestamp.Builder builderForValue) The timestamp when this [Product][google.cloud.retail.v2alpha.Product] becomes available for [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search].The brands of the product.Product.Builder.setCategories(int index, String value) Product categories.Product.Builder.setCollectionMemberIds(int index, String value) The [id][google.cloud.retail.v2alpha.Product.id] of the collection members when [type][google.cloud.retail.v2alpha.Product.type] is [Type.COLLECTION][google.cloud.retail.v2alpha.Product.Type.COLLECTION].Product.Builder.setColorInfo(ColorInfo value) The color of the product.Product.Builder.setColorInfo(ColorInfo.Builder builderForValue) The color of the product.Product.Builder.setConditions(int index, String value) The condition of the product.Product.Builder.setDescription(String value) Product description.Product.Builder.setDescriptionBytes(com.google.protobuf.ByteString value) Product description.Product.Builder.setExpireTime(com.google.protobuf.Timestamp value) Note that this field is applied in the following ways: * If the [Product][google.cloud.retail.v2alpha.Product] is already expired when it is uploaded, this product is not indexed for searchProduct.Builder.setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) Note that this field is applied in the following ways: * If the [Product][google.cloud.retail.v2alpha.Product] is already expired when it is uploaded, this product is not indexed for searchProduct.Builder.setFulfillmentInfo(int index, FulfillmentInfo value) Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.Product.Builder.setFulfillmentInfo(int index, FulfillmentInfo.Builder builderForValue) Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.The Global Trade Item Number (GTIN) of the product.Product.Builder.setGtinBytes(com.google.protobuf.ByteString value) The Global Trade Item Number (GTIN) of the product.Immutable.Product.Builder.setIdBytes(com.google.protobuf.ByteString value) Immutable.Product images for the product.Product.Builder.setImages(int index, Image.Builder builderForValue) Product images for the product.Product.Builder.setLanguageCode(String value) Language of the title/description and other string attributes.Product.Builder.setLanguageCodeBytes(com.google.protobuf.ByteString value) Language of the title/description and other string attributes.Product.Builder.setLocalInventories(int index, LocalInventory value) Output only.Product.Builder.setLocalInventories(int index, LocalInventory.Builder builderForValue) Output only.Product.Builder.setMaterials(int index, String value) The material of the product.Immutable.Product.Builder.setNameBytes(com.google.protobuf.ByteString value) Immutable.Product.Builder.setPatterns(int index, String value) The pattern or graphic print of the product.Product.Builder.setPriceInfo(PriceInfo value) Product price and cost information.Product.Builder.setPriceInfo(PriceInfo.Builder builderForValue) Product price and cost information.Product.Builder.setPrimaryProductId(String value) Variant group identifier.Product.Builder.setPrimaryProductIdBytes(com.google.protobuf.ByteString value) Variant group identifier.Product.Builder.setPromotions(int index, Promotion value) The promotions applied to the product.Product.Builder.setPromotions(int index, Promotion.Builder builderForValue) The promotions applied to the product.Product.Builder.setPublishTime(com.google.protobuf.Timestamp value) The timestamp when the product is published by the retailer for the first time, which indicates the freshness of the products.Product.Builder.setPublishTime(com.google.protobuf.Timestamp.Builder builderForValue) The timestamp when the product is published by the retailer for the first time, which indicates the freshness of the products.The rating of this product.Product.Builder.setRating(Rating.Builder builderForValue) The rating of this product.Product.Builder.setRetrievableFields(com.google.protobuf.FieldMask value) Deprecated.Product.Builder.setRetrievableFields(com.google.protobuf.FieldMask.Builder builderForValue) Deprecated.The size of the product.Custom tags associated with the product.Required.Product.Builder.setTitleBytes(com.google.protobuf.ByteString value) Required.Product.Builder.setTtl(com.google.protobuf.Duration value) Input only.Product.Builder.setTtl(com.google.protobuf.Duration.Builder builderForValue) Input only.Product.Builder.setType(Product.Type value) Immutable.Product.Builder.setTypeValue(int value) Immutable.Canonical URL directly linking to the product detail page.Product.Builder.setUriBytes(com.google.protobuf.ByteString value) Canonical URL directly linking to the product detail page.Product.Builder.setVariants(int index, Product value) Output only.Product.Builder.setVariants(int index, Product.Builder builderForValue) Output only.Product.toBuilder()Methods in com.google.cloud.retail.v2alpha that return types with arguments of type Product.BuilderModifier and TypeMethodDescriptionListProductsResponse.Builder.getProductsBuilderList()The [Product][google.cloud.retail.v2alpha.Product]s.ProductInlineSource.Builder.getProductsBuilderList()Required.Branch.QualityMetric.Builder.getUnqualifiedSampleProductsBuilderList()A list of a maximum of 100 sample products that do not qualify for this requirement.Product.Builder.getVariantsBuilderList()Output only.Methods in com.google.cloud.retail.v2alpha with parameters of type Product.BuilderModifier and TypeMethodDescriptionListProductsResponse.Builder.addProducts(int index, Product.Builder builderForValue) The [Product][google.cloud.retail.v2alpha.Product]s.ListProductsResponse.Builder.addProducts(Product.Builder builderForValue) The [Product][google.cloud.retail.v2alpha.Product]s.ProductInlineSource.Builder.addProducts(int index, Product.Builder builderForValue) Required.ProductInlineSource.Builder.addProducts(Product.Builder builderForValue) Required.Branch.QualityMetric.Builder.addUnqualifiedSampleProducts(int index, Product.Builder builderForValue) A list of a maximum of 100 sample products that do not qualify for this requirement.Branch.QualityMetric.Builder.addUnqualifiedSampleProducts(Product.Builder builderForValue) A list of a maximum of 100 sample products that do not qualify for this requirement.Product.Builder.addVariants(int index, Product.Builder builderForValue) Output only.Product.Builder.addVariants(Product.Builder builderForValue) Output only.SetInventoryRequest.Builder.setInventory(Product.Builder builderForValue) Required.CreateProductRequest.Builder.setProduct(Product.Builder builderForValue) Required.ProductDetail.Builder.setProduct(Product.Builder builderForValue) Required.SearchResponse.SearchResult.Builder.setProduct(Product.Builder builderForValue) The product data snippet in the search response.UpdateProductRequest.Builder.setProduct(Product.Builder builderForValue) Required.ListProductsResponse.Builder.setProducts(int index, Product.Builder builderForValue) The [Product][google.cloud.retail.v2alpha.Product]s.ProductInlineSource.Builder.setProducts(int index, Product.Builder builderForValue) Required.Branch.QualityMetric.Builder.setUnqualifiedSampleProducts(int index, Product.Builder builderForValue) A list of a maximum of 100 sample products that do not qualify for this requirement.Product.Builder.setVariants(int index, Product.Builder builderForValue) Output only.