public static final class Product.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Product.Builder> implements ProductOrBuilder
A Product contains ReferenceImages.Protobuf type
google.cloud.vision.v1p4beta1.Product| Modifier and Type | Method and Description |
|---|---|
Product.Builder |
addAllProductLabels(Iterable<? extends Product.KeyValue> values)
Key-value pairs that can be attached to a product.
|
Product.Builder |
addProductLabels(int index,
Product.KeyValue.Builder builderForValue)
Key-value pairs that can be attached to a product.
|
Product.Builder |
addProductLabels(int index,
Product.KeyValue value)
Key-value pairs that can be attached to a product.
|
Product.Builder |
addProductLabels(Product.KeyValue.Builder builderForValue)
Key-value pairs that can be attached to a product.
|
Product.Builder |
addProductLabels(Product.KeyValue value)
Key-value pairs that can be attached to a product.
|
Product.KeyValue.Builder |
addProductLabelsBuilder()
Key-value pairs that can be attached to a product.
|
Product.KeyValue.Builder |
addProductLabelsBuilder(int index)
Key-value pairs that can be attached to a product.
|
Product.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Product |
build() |
Product |
buildPartial() |
Product.Builder |
clear() |
Product.Builder |
clearDescription()
User-provided metadata to be stored with this product.
|
Product.Builder |
clearDisplayName()
The user-provided name for this Product.
|
Product.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Product.Builder |
clearName()
The resource name of the product.
|
Product.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Product.Builder |
clearProductCategory()
Immutable.
|
Product.Builder |
clearProductLabels()
Key-value pairs that can be attached to a product.
|
Product.Builder |
clone() |
Product |
getDefaultInstanceForType() |
String |
getDescription()
User-provided metadata to be stored with this product.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
User-provided metadata to be stored with this product.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
The user-provided name for this Product.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The user-provided name for this Product.
|
String |
getName()
The resource name of the product.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the product.
|
String |
getProductCategory()
Immutable.
|
com.google.protobuf.ByteString |
getProductCategoryBytes()
Immutable.
|
Product.KeyValue |
getProductLabels(int index)
Key-value pairs that can be attached to a product.
|
Product.KeyValue.Builder |
getProductLabelsBuilder(int index)
Key-value pairs that can be attached to a product.
|
List<Product.KeyValue.Builder> |
getProductLabelsBuilderList()
Key-value pairs that can be attached to a product.
|
int |
getProductLabelsCount()
Key-value pairs that can be attached to a product.
|
List<Product.KeyValue> |
getProductLabelsList()
Key-value pairs that can be attached to a product.
|
Product.KeyValueOrBuilder |
getProductLabelsOrBuilder(int index)
Key-value pairs that can be attached to a product.
|
List<? extends Product.KeyValueOrBuilder> |
getProductLabelsOrBuilderList()
Key-value pairs that can be attached to a product.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Product.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Product.Builder |
mergeFrom(com.google.protobuf.Message other) |
Product.Builder |
mergeFrom(Product other) |
Product.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Product.Builder |
removeProductLabels(int index)
Key-value pairs that can be attached to a product.
|
Product.Builder |
setDescription(String value)
User-provided metadata to be stored with this product.
|
Product.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
User-provided metadata to be stored with this product.
|
Product.Builder |
setDisplayName(String value)
The user-provided name for this Product.
|
Product.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
The user-provided name for this Product.
|
Product.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Product.Builder |
setName(String value)
The resource name of the product.
|
Product.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the product.
|
Product.Builder |
setProductCategory(String value)
Immutable.
|
Product.Builder |
setProductCategoryBytes(com.google.protobuf.ByteString value)
Immutable.
|
Product.Builder |
setProductLabels(int index,
Product.KeyValue.Builder builderForValue)
Key-value pairs that can be attached to a product.
|
Product.Builder |
setProductLabels(int index,
Product.KeyValue value)
Key-value pairs that can be attached to a product.
|
Product.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Product.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Product.Builder>public Product.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Product.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Product.Builder>public Product getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Product build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Product buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Product.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Product.Builder>public Product.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Product.Builder>public Product.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Product.Builder>public Product.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Product.Builder>public Product.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Product.Builder>public Product.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Product.Builder>public Product.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Product.Builder>public Product.Builder mergeFrom(Product other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Product.Builder>public Product.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Product.Builder>IOExceptionpublic String getName()
The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.
string name = 1;getName in interface ProductOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.
string name = 1;getNameBytes in interface ProductOrBuilderpublic Product.Builder setName(String value)
The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.
string name = 1;value - The name to set.public Product.Builder clearName()
The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.
string name = 1;public Product.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.
string name = 1;value - The bytes for name to set.public String getDisplayName()
The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.
string display_name = 2;getDisplayName in interface ProductOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.
string display_name = 2;getDisplayNameBytes in interface ProductOrBuilderpublic Product.Builder setDisplayName(String value)
The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.
string display_name = 2;value - The displayName to set.public Product.Builder clearDisplayName()
The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.
string display_name = 2;public Product.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.
string display_name = 2;value - The bytes for displayName to set.public String getDescription()
User-provided metadata to be stored with this product. Must be at most 4096 characters long.
string description = 3;getDescription in interface ProductOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
User-provided metadata to be stored with this product. Must be at most 4096 characters long.
string description = 3;getDescriptionBytes in interface ProductOrBuilderpublic Product.Builder setDescription(String value)
User-provided metadata to be stored with this product. Must be at most 4096 characters long.
string description = 3;value - The description to set.public Product.Builder clearDescription()
User-provided metadata to be stored with this product. Must be at most 4096 characters long.
string description = 3;public Product.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
User-provided metadata to be stored with this product. Must be at most 4096 characters long.
string description = 3;value - The bytes for description to set.public String getProductCategory()
Immutable. The category for the product identified by the reference image. This should be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories "homegoods", "apparel", and "toys" are still supported, but these should not be used for new products.
string product_category = 4 [(.google.api.field_behavior) = IMMUTABLE];getProductCategory in interface ProductOrBuilderpublic com.google.protobuf.ByteString getProductCategoryBytes()
Immutable. The category for the product identified by the reference image. This should be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories "homegoods", "apparel", and "toys" are still supported, but these should not be used for new products.
string product_category = 4 [(.google.api.field_behavior) = IMMUTABLE];getProductCategoryBytes in interface ProductOrBuilderpublic Product.Builder setProductCategory(String value)
Immutable. The category for the product identified by the reference image. This should be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories "homegoods", "apparel", and "toys" are still supported, but these should not be used for new products.
string product_category = 4 [(.google.api.field_behavior) = IMMUTABLE];value - The productCategory to set.public Product.Builder clearProductCategory()
Immutable. The category for the product identified by the reference image. This should be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories "homegoods", "apparel", and "toys" are still supported, but these should not be used for new products.
string product_category = 4 [(.google.api.field_behavior) = IMMUTABLE];public Product.Builder setProductCategoryBytes(com.google.protobuf.ByteString value)
Immutable. The category for the product identified by the reference image. This should be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories "homegoods", "apparel", and "toys" are still supported, but these should not be used for new products.
string product_category = 4 [(.google.api.field_behavior) = IMMUTABLE];value - The bytes for productCategory to set.public List<Product.KeyValue> getProductLabelsList()
Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.
repeated .google.cloud.vision.v1p4beta1.Product.KeyValue product_labels = 5;getProductLabelsList in interface ProductOrBuilderpublic int getProductLabelsCount()
Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.
repeated .google.cloud.vision.v1p4beta1.Product.KeyValue product_labels = 5;getProductLabelsCount in interface ProductOrBuilderpublic Product.KeyValue getProductLabels(int index)
Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.
repeated .google.cloud.vision.v1p4beta1.Product.KeyValue product_labels = 5;getProductLabels in interface ProductOrBuilderpublic Product.Builder setProductLabels(int index, Product.KeyValue value)
Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.
repeated .google.cloud.vision.v1p4beta1.Product.KeyValue product_labels = 5;public Product.Builder setProductLabels(int index, Product.KeyValue.Builder builderForValue)
Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.
repeated .google.cloud.vision.v1p4beta1.Product.KeyValue product_labels = 5;public Product.Builder addProductLabels(Product.KeyValue value)
Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.
repeated .google.cloud.vision.v1p4beta1.Product.KeyValue product_labels = 5;public Product.Builder addProductLabels(int index, Product.KeyValue value)
Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.
repeated .google.cloud.vision.v1p4beta1.Product.KeyValue product_labels = 5;public Product.Builder addProductLabels(Product.KeyValue.Builder builderForValue)
Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.
repeated .google.cloud.vision.v1p4beta1.Product.KeyValue product_labels = 5;public Product.Builder addProductLabels(int index, Product.KeyValue.Builder builderForValue)
Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.
repeated .google.cloud.vision.v1p4beta1.Product.KeyValue product_labels = 5;public Product.Builder addAllProductLabels(Iterable<? extends Product.KeyValue> values)
Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.
repeated .google.cloud.vision.v1p4beta1.Product.KeyValue product_labels = 5;public Product.Builder clearProductLabels()
Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.
repeated .google.cloud.vision.v1p4beta1.Product.KeyValue product_labels = 5;public Product.Builder removeProductLabels(int index)
Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.
repeated .google.cloud.vision.v1p4beta1.Product.KeyValue product_labels = 5;public Product.KeyValue.Builder getProductLabelsBuilder(int index)
Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.
repeated .google.cloud.vision.v1p4beta1.Product.KeyValue product_labels = 5;public Product.KeyValueOrBuilder getProductLabelsOrBuilder(int index)
Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.
repeated .google.cloud.vision.v1p4beta1.Product.KeyValue product_labels = 5;getProductLabelsOrBuilder in interface ProductOrBuilderpublic List<? extends Product.KeyValueOrBuilder> getProductLabelsOrBuilderList()
Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.
repeated .google.cloud.vision.v1p4beta1.Product.KeyValue product_labels = 5;getProductLabelsOrBuilderList in interface ProductOrBuilderpublic Product.KeyValue.Builder addProductLabelsBuilder()
Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.
repeated .google.cloud.vision.v1p4beta1.Product.KeyValue product_labels = 5;public Product.KeyValue.Builder addProductLabelsBuilder(int index)
Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.
repeated .google.cloud.vision.v1p4beta1.Product.KeyValue product_labels = 5;public List<Product.KeyValue.Builder> getProductLabelsBuilderList()
Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.
repeated .google.cloud.vision.v1p4beta1.Product.KeyValue product_labels = 5;public final Product.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Product.Builder>public final Product.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Product.Builder>Copyright © 2020 Google LLC. All rights reserved.