- 3.78.0 (latest)
- 3.76.0
- 3.74.0
- 3.73.0
- 3.72.0
- 3.71.0
- 3.70.0
- 3.68.0
- 3.66.0
- 3.65.0
- 3.62.0
- 3.61.0
- 3.60.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.3
- 2.1.4
- 2.0.29
public static final class ProductSearchResults.Builder extends GeneratedMessageV3.Builder<ProductSearchResults.Builder> implements ProductSearchResultsOrBuilderResults for a product search request.
Protobuf type google.cloud.vision.v1p3beta1.ProductSearchResults
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProductSearchResults.BuilderImplements
ProductSearchResultsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addAllProducts(Iterable<? extends ProductSearchResults.ProductInfo> values)
public ProductSearchResults.Builder addAllProducts(Iterable<? extends ProductSearchResults.ProductInfo> values)List of detected products.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;
| Name | Description |
| values | Iterable<? extends com.google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo> |
| Type | Description |
| ProductSearchResults.Builder |
addAllResults(Iterable<? extends ProductSearchResults.Result> values)
public ProductSearchResults.Builder addAllResults(Iterable<? extends ProductSearchResults.Result> values)List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;
| Name | Description |
| values | Iterable<? extends com.google.cloud.vision.v1p3beta1.ProductSearchResults.Result> |
| Type | Description |
| ProductSearchResults.Builder |
addProducts(ProductSearchResults.ProductInfo value)
public ProductSearchResults.Builder addProducts(ProductSearchResults.ProductInfo value)List of detected products.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;
| Name | Description |
| value | ProductSearchResults.ProductInfo |
| Type | Description |
| ProductSearchResults.Builder |
addProducts(ProductSearchResults.ProductInfo.Builder builderForValue)
public ProductSearchResults.Builder addProducts(ProductSearchResults.ProductInfo.Builder builderForValue)List of detected products.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;
| Name | Description |
| builderForValue | ProductSearchResults.ProductInfo.Builder |
| Type | Description |
| ProductSearchResults.Builder |
addProducts(int index, ProductSearchResults.ProductInfo value)
public ProductSearchResults.Builder addProducts(int index, ProductSearchResults.ProductInfo value)List of detected products.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;
| Name | Description |
| index | int |
| value | ProductSearchResults.ProductInfo |
| Type | Description |
| ProductSearchResults.Builder |
addProducts(int index, ProductSearchResults.ProductInfo.Builder builderForValue)
public ProductSearchResults.Builder addProducts(int index, ProductSearchResults.ProductInfo.Builder builderForValue)List of detected products.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;
| Name | Description |
| index | int |
| builderForValue | ProductSearchResults.ProductInfo.Builder |
| Type | Description |
| ProductSearchResults.Builder |
addProductsBuilder()
public ProductSearchResults.ProductInfo.Builder addProductsBuilder()List of detected products.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;
| Type | Description |
| ProductSearchResults.ProductInfo.Builder |
addProductsBuilder(int index)
public ProductSearchResults.ProductInfo.Builder addProductsBuilder(int index)List of detected products.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;
| Name | Description |
| index | int |
| Type | Description |
| ProductSearchResults.ProductInfo.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProductSearchResults.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ProductSearchResults.Builder |
addResults(ProductSearchResults.Result value)
public ProductSearchResults.Builder addResults(ProductSearchResults.Result value)List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;
| Name | Description |
| value | ProductSearchResults.Result |
| Type | Description |
| ProductSearchResults.Builder |
addResults(ProductSearchResults.Result.Builder builderForValue)
public ProductSearchResults.Builder addResults(ProductSearchResults.Result.Builder builderForValue)List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;
| Name | Description |
| builderForValue | ProductSearchResults.Result.Builder |
| Type | Description |
| ProductSearchResults.Builder |
addResults(int index, ProductSearchResults.Result value)
public ProductSearchResults.Builder addResults(int index, ProductSearchResults.Result value)List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;
| Name | Description |
| index | int |
| value | ProductSearchResults.Result |
| Type | Description |
| ProductSearchResults.Builder |
addResults(int index, ProductSearchResults.Result.Builder builderForValue)
public ProductSearchResults.Builder addResults(int index, ProductSearchResults.Result.Builder builderForValue)List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;
| Name | Description |
| index | int |
| builderForValue | ProductSearchResults.Result.Builder |
| Type | Description |
| ProductSearchResults.Builder |
addResultsBuilder()
public ProductSearchResults.Result.Builder addResultsBuilder()List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;
| Type | Description |
| ProductSearchResults.Result.Builder |
addResultsBuilder(int index)
public ProductSearchResults.Result.Builder addResultsBuilder(int index)List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;
| Name | Description |
| index | int |
| Type | Description |
| ProductSearchResults.Result.Builder |
build()
public ProductSearchResults build()| Type | Description |
| ProductSearchResults |
buildPartial()
public ProductSearchResults buildPartial()| Type | Description |
| ProductSearchResults |
clear()
public ProductSearchResults.Builder clear()| Type | Description |
| ProductSearchResults.Builder |
clearCategory()
public ProductSearchResults.Builder clearCategory() Product category.
[Deprecated] Use product_category.
.google.cloud.vision.v1p3beta1.ProductSearchCategory category = 1;
| Type | Description |
| ProductSearchResults.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ProductSearchResults.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| ProductSearchResults.Builder |
clearIndexTime()
public ProductSearchResults.Builder clearIndexTime()Timestamp of the index which provided these results. Changes made after this time are not reflected in the current results.
.google.protobuf.Timestamp index_time = 2;
| Type | Description |
| ProductSearchResults.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ProductSearchResults.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| ProductSearchResults.Builder |
clearProductCategory()
public ProductSearchResults.Builder clearProductCategory() Product category.
Supported values are bag and shoe.
[Deprecated] product_category is provided in each Product.
string product_category = 4;
| Type | Description |
| ProductSearchResults.Builder | This builder for chaining. |
clearProducts()
public ProductSearchResults.Builder clearProducts()List of detected products.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;
| Type | Description |
| ProductSearchResults.Builder |
clearResults()
public ProductSearchResults.Builder clearResults()List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;
| Type | Description |
| ProductSearchResults.Builder |
clone()
public ProductSearchResults.Builder clone()| Type | Description |
| ProductSearchResults.Builder |
getCategory()
public ProductSearchCategory getCategory() Product category.
[Deprecated] Use product_category.
.google.cloud.vision.v1p3beta1.ProductSearchCategory category = 1;
| Type | Description |
| ProductSearchCategory | The category. |
getCategoryValue()
public int getCategoryValue() Product category.
[Deprecated] Use product_category.
.google.cloud.vision.v1p3beta1.ProductSearchCategory category = 1;
| Type | Description |
| int | The enum numeric value on the wire for category. |
getDefaultInstanceForType()
public ProductSearchResults getDefaultInstanceForType()| Type | Description |
| ProductSearchResults |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getIndexTime()
public Timestamp getIndexTime()Timestamp of the index which provided these results. Changes made after this time are not reflected in the current results.
.google.protobuf.Timestamp index_time = 2;
| Type | Description |
| Timestamp | The indexTime. |
getIndexTimeBuilder()
public Timestamp.Builder getIndexTimeBuilder()Timestamp of the index which provided these results. Changes made after this time are not reflected in the current results.
.google.protobuf.Timestamp index_time = 2;
| Type | Description |
| Builder |
getIndexTimeOrBuilder()
public TimestampOrBuilder getIndexTimeOrBuilder()Timestamp of the index which provided these results. Changes made after this time are not reflected in the current results.
.google.protobuf.Timestamp index_time = 2;
| Type | Description |
| TimestampOrBuilder |
getProductCategory()
public String getProductCategory() Product category.
Supported values are bag and shoe.
[Deprecated] product_category is provided in each Product.
string product_category = 4;
| Type | Description |
| String | The productCategory. |
getProductCategoryBytes()
public ByteString getProductCategoryBytes() Product category.
Supported values are bag and shoe.
[Deprecated] product_category is provided in each Product.
string product_category = 4;
| Type | Description |
| ByteString | The bytes for productCategory. |
getProducts(int index)
public ProductSearchResults.ProductInfo getProducts(int index)List of detected products.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;
| Name | Description |
| index | int |
| Type | Description |
| ProductSearchResults.ProductInfo |
getProductsBuilder(int index)
public ProductSearchResults.ProductInfo.Builder getProductsBuilder(int index)List of detected products.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;
| Name | Description |
| index | int |
| Type | Description |
| ProductSearchResults.ProductInfo.Builder |
getProductsBuilderList()
public List<ProductSearchResults.ProductInfo.Builder> getProductsBuilderList()List of detected products.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;
| Type | Description |
| List<Builder> |
getProductsCount()
public int getProductsCount()List of detected products.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;
| Type | Description |
| int |
getProductsList()
public List<ProductSearchResults.ProductInfo> getProductsList()List of detected products.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;
| Type | Description |
| List<ProductInfo> |
getProductsOrBuilder(int index)
public ProductSearchResults.ProductInfoOrBuilder getProductsOrBuilder(int index)List of detected products.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;
| Name | Description |
| index | int |
| Type | Description |
| ProductSearchResults.ProductInfoOrBuilder |
getProductsOrBuilderList()
public List<? extends ProductSearchResults.ProductInfoOrBuilder> getProductsOrBuilderList()List of detected products.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;
| Type | Description |
| List<? extends com.google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfoOrBuilder> |
getResults(int index)
public ProductSearchResults.Result getResults(int index)List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;
| Name | Description |
| index | int |
| Type | Description |
| ProductSearchResults.Result |
getResultsBuilder(int index)
public ProductSearchResults.Result.Builder getResultsBuilder(int index)List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;
| Name | Description |
| index | int |
| Type | Description |
| ProductSearchResults.Result.Builder |
getResultsBuilderList()
public List<ProductSearchResults.Result.Builder> getResultsBuilderList()List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;
| Type | Description |
| List<Builder> |
getResultsCount()
public int getResultsCount()List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;
| Type | Description |
| int |
getResultsList()
public List<ProductSearchResults.Result> getResultsList()List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;
| Type | Description |
| List<Result> |
getResultsOrBuilder(int index)
public ProductSearchResults.ResultOrBuilder getResultsOrBuilder(int index)List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;
| Name | Description |
| index | int |
| Type | Description |
| ProductSearchResults.ResultOrBuilder |
getResultsOrBuilderList()
public List<? extends ProductSearchResults.ResultOrBuilder> getResultsOrBuilderList()List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;
| Type | Description |
| List<? extends com.google.cloud.vision.v1p3beta1.ProductSearchResults.ResultOrBuilder> |
hasIndexTime()
public boolean hasIndexTime()Timestamp of the index which provided these results. Changes made after this time are not reflected in the current results.
.google.protobuf.Timestamp index_time = 2;
| Type | Description |
| boolean | Whether the indexTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(ProductSearchResults other)
public ProductSearchResults.Builder mergeFrom(ProductSearchResults other)| Name | Description |
| other | ProductSearchResults |
| Type | Description |
| ProductSearchResults.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProductSearchResults.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| ProductSearchResults.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public ProductSearchResults.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| ProductSearchResults.Builder |
mergeIndexTime(Timestamp value)
public ProductSearchResults.Builder mergeIndexTime(Timestamp value)Timestamp of the index which provided these results. Changes made after this time are not reflected in the current results.
.google.protobuf.Timestamp index_time = 2;
| Name | Description |
| value | Timestamp |
| Type | Description |
| ProductSearchResults.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProductSearchResults.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ProductSearchResults.Builder |
removeProducts(int index)
public ProductSearchResults.Builder removeProducts(int index)List of detected products.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;
| Name | Description |
| index | int |
| Type | Description |
| ProductSearchResults.Builder |
removeResults(int index)
public ProductSearchResults.Builder removeResults(int index)List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;
| Name | Description |
| index | int |
| Type | Description |
| ProductSearchResults.Builder |
setCategory(ProductSearchCategory value)
public ProductSearchResults.Builder setCategory(ProductSearchCategory value) Product category.
[Deprecated] Use product_category.
.google.cloud.vision.v1p3beta1.ProductSearchCategory category = 1;
| Name | Description |
| value | ProductSearchCategoryThe category to set. |
| Type | Description |
| ProductSearchResults.Builder | This builder for chaining. |
setCategoryValue(int value)
public ProductSearchResults.Builder setCategoryValue(int value) Product category.
[Deprecated] Use product_category.
.google.cloud.vision.v1p3beta1.ProductSearchCategory category = 1;
| Name | Description |
| value | intThe enum numeric value on the wire for category to set. |
| Type | Description |
| ProductSearchResults.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ProductSearchResults.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ProductSearchResults.Builder |
setIndexTime(Timestamp value)
public ProductSearchResults.Builder setIndexTime(Timestamp value)Timestamp of the index which provided these results. Changes made after this time are not reflected in the current results.
.google.protobuf.Timestamp index_time = 2;
| Name | Description |
| value | Timestamp |
| Type | Description |
| ProductSearchResults.Builder |
setIndexTime(Timestamp.Builder builderForValue)
public ProductSearchResults.Builder setIndexTime(Timestamp.Builder builderForValue)Timestamp of the index which provided these results. Changes made after this time are not reflected in the current results.
.google.protobuf.Timestamp index_time = 2;
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| ProductSearchResults.Builder |
setProductCategory(String value)
public ProductSearchResults.Builder setProductCategory(String value) Product category.
Supported values are bag and shoe.
[Deprecated] product_category is provided in each Product.
string product_category = 4;
| Name | Description |
| value | StringThe productCategory to set. |
| Type | Description |
| ProductSearchResults.Builder | This builder for chaining. |
setProductCategoryBytes(ByteString value)
public ProductSearchResults.Builder setProductCategoryBytes(ByteString value) Product category.
Supported values are bag and shoe.
[Deprecated] product_category is provided in each Product.
string product_category = 4;
| Name | Description |
| value | ByteStringThe bytes for productCategory to set. |
| Type | Description |
| ProductSearchResults.Builder | This builder for chaining. |
setProducts(int index, ProductSearchResults.ProductInfo value)
public ProductSearchResults.Builder setProducts(int index, ProductSearchResults.ProductInfo value)List of detected products.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;
| Name | Description |
| index | int |
| value | ProductSearchResults.ProductInfo |
| Type | Description |
| ProductSearchResults.Builder |
setProducts(int index, ProductSearchResults.ProductInfo.Builder builderForValue)
public ProductSearchResults.Builder setProducts(int index, ProductSearchResults.ProductInfo.Builder builderForValue)List of detected products.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;
| Name | Description |
| index | int |
| builderForValue | ProductSearchResults.ProductInfo.Builder |
| Type | Description |
| ProductSearchResults.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProductSearchResults.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| ProductSearchResults.Builder |
setResults(int index, ProductSearchResults.Result value)
public ProductSearchResults.Builder setResults(int index, ProductSearchResults.Result value)List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;
| Name | Description |
| index | int |
| value | ProductSearchResults.Result |
| Type | Description |
| ProductSearchResults.Builder |
setResults(int index, ProductSearchResults.Result.Builder builderForValue)
public ProductSearchResults.Builder setResults(int index, ProductSearchResults.Result.Builder builderForValue)List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;
| Name | Description |
| index | int |
| builderForValue | ProductSearchResults.Result.Builder |
| Type | Description |
| ProductSearchResults.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ProductSearchResults.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ProductSearchResults.Builder |