- 3.81.0 (latest)
- 3.80.0
- 3.78.0
- 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 GeneratedMessage.Builder<ProductSearchResults.Builder> implements ProductSearchResultsOrBuilderResults for a product search request.
Protobuf type google.cloud.vision.v1p4beta1.ProductSearchResults
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ProductSearchResults.BuilderImplements
ProductSearchResultsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllProductGroupedResults(Iterable<? extends ProductSearchResults.GroupedResult> values)
public ProductSearchResults.Builder addAllProductGroupedResults(Iterable<? extends ProductSearchResults.GroupedResult> values)List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult> |
| Returns | |
|---|---|
| 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.v1p4beta1.ProductSearchResults.Result results = 5;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.vision.v1p4beta1.ProductSearchResults.Result> |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|
addProductGroupedResults(ProductSearchResults.GroupedResult value)
public ProductSearchResults.Builder addProductGroupedResults(ProductSearchResults.GroupedResult value)List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ProductSearchResults.GroupedResult |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|
addProductGroupedResults(ProductSearchResults.GroupedResult.Builder builderForValue)
public ProductSearchResults.Builder addProductGroupedResults(ProductSearchResults.GroupedResult.Builder builderForValue)List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ProductSearchResults.GroupedResult.Builder |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|
addProductGroupedResults(int index, ProductSearchResults.GroupedResult value)
public ProductSearchResults.Builder addProductGroupedResults(int index, ProductSearchResults.GroupedResult value)List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ProductSearchResults.GroupedResult |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|
addProductGroupedResults(int index, ProductSearchResults.GroupedResult.Builder builderForValue)
public ProductSearchResults.Builder addProductGroupedResults(int index, ProductSearchResults.GroupedResult.Builder builderForValue)List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ProductSearchResults.GroupedResult.Builder |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|
addProductGroupedResultsBuilder()
public ProductSearchResults.GroupedResult.Builder addProductGroupedResultsBuilder()List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.GroupedResult.Builder |
|
addProductGroupedResultsBuilder(int index)
public ProductSearchResults.GroupedResult.Builder addProductGroupedResultsBuilder(int index)List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.GroupedResult.Builder |
|
addResults(ProductSearchResults.Result value)
public ProductSearchResults.Builder addResults(ProductSearchResults.Result value)List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ProductSearchResults.Result |
| Returns | |
|---|---|
| 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.v1p4beta1.ProductSearchResults.Result results = 5;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ProductSearchResults.Result.Builder |
| Returns | |
|---|---|
| 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.v1p4beta1.ProductSearchResults.Result results = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ProductSearchResults.Result |
| Returns | |
|---|---|
| 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.v1p4beta1.ProductSearchResults.Result results = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ProductSearchResults.Result.Builder |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|
addResultsBuilder()
public ProductSearchResults.Result.Builder addResultsBuilder()List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
| Returns | |
|---|---|
| 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.v1p4beta1.ProductSearchResults.Result results = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Result.Builder |
|
build()
public ProductSearchResults build()| Returns | |
|---|---|
| Type | Description |
ProductSearchResults |
|
buildPartial()
public ProductSearchResults buildPartial()| Returns | |
|---|---|
| Type | Description |
ProductSearchResults |
|
clear()
public ProductSearchResults.Builder clear()| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|
clearIndexTime()
public ProductSearchResults.Builder clearIndexTime()Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.
.google.protobuf.Timestamp index_time = 2;
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|
clearProductGroupedResults()
public ProductSearchResults.Builder clearProductGroupedResults()List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|
clearResults()
public ProductSearchResults.Builder clearResults()List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|
getDefaultInstanceForType()
public ProductSearchResults getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ProductSearchResults |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIndexTime()
public Timestamp getIndexTime()Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.
.google.protobuf.Timestamp index_time = 2;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The indexTime. |
getIndexTimeBuilder()
public Timestamp.Builder getIndexTimeBuilder()Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.
.google.protobuf.Timestamp index_time = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getIndexTimeOrBuilder()
public TimestampOrBuilder getIndexTimeOrBuilder()Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.
.google.protobuf.Timestamp index_time = 2;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getProductGroupedResults(int index)
public ProductSearchResults.GroupedResult getProductGroupedResults(int index)List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.GroupedResult |
|
getProductGroupedResultsBuilder(int index)
public ProductSearchResults.GroupedResult.Builder getProductGroupedResultsBuilder(int index)List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.GroupedResult.Builder |
|
getProductGroupedResultsBuilderList()
public List<ProductSearchResults.GroupedResult.Builder> getProductGroupedResultsBuilderList()List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getProductGroupedResultsCount()
public int getProductGroupedResultsCount()List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;
| Returns | |
|---|---|
| Type | Description |
int |
|
getProductGroupedResultsList()
public List<ProductSearchResults.GroupedResult> getProductGroupedResultsList()List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;
| Returns | |
|---|---|
| Type | Description |
List<GroupedResult> |
|
getProductGroupedResultsOrBuilder(int index)
public ProductSearchResults.GroupedResultOrBuilder getProductGroupedResultsOrBuilder(int index)List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.GroupedResultOrBuilder |
|
getProductGroupedResultsOrBuilderList()
public List<? extends ProductSearchResults.GroupedResultOrBuilder> getProductGroupedResultsOrBuilderList()List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResultOrBuilder> |
|
getResults(int index)
public ProductSearchResults.Result getResults(int index)List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| 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.v1p4beta1.ProductSearchResults.Result results = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Result.Builder |
|
getResultsBuilderList()
public List<ProductSearchResults.Result.Builder> getResultsBuilderList()List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getResultsCount()
public int getResultsCount()List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
| Returns | |
|---|---|
| Type | Description |
int |
|
getResultsList()
public List<ProductSearchResults.Result> getResultsList()List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
| Returns | |
|---|---|
| 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.v1p4beta1.ProductSearchResults.Result results = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.ResultOrBuilder |
|
getResultsOrBuilderList()
public List<? extends ProductSearchResults.ResultOrBuilder> getResultsOrBuilderList()List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.vision.v1p4beta1.ProductSearchResults.ResultOrBuilder> |
|
hasIndexTime()
public boolean hasIndexTime()Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.
.google.protobuf.Timestamp index_time = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the indexTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ProductSearchResults other)
public ProductSearchResults.Builder mergeFrom(ProductSearchResults other)| Parameter | |
|---|---|
| Name | Description |
other |
ProductSearchResults |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProductSearchResults.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ProductSearchResults.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|
mergeIndexTime(Timestamp value)
public ProductSearchResults.Builder mergeIndexTime(Timestamp value)Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.
.google.protobuf.Timestamp index_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|
removeProductGroupedResults(int index)
public ProductSearchResults.Builder removeProductGroupedResults(int index)List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| 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.v1p4beta1.ProductSearchResults.Result results = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|
setIndexTime(Timestamp value)
public ProductSearchResults.Builder setIndexTime(Timestamp value)Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.
.google.protobuf.Timestamp index_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|
setIndexTime(Timestamp.Builder builderForValue)
public ProductSearchResults.Builder setIndexTime(Timestamp.Builder builderForValue)Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.
.google.protobuf.Timestamp index_time = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|
setProductGroupedResults(int index, ProductSearchResults.GroupedResult value)
public ProductSearchResults.Builder setProductGroupedResults(int index, ProductSearchResults.GroupedResult value)List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ProductSearchResults.GroupedResult |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|
setProductGroupedResults(int index, ProductSearchResults.GroupedResult.Builder builderForValue)
public ProductSearchResults.Builder setProductGroupedResults(int index, ProductSearchResults.GroupedResult.Builder builderForValue)List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ProductSearchResults.GroupedResult.Builder |
| Returns | |
|---|---|
| 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.v1p4beta1.ProductSearchResults.Result results = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ProductSearchResults.Result |
| Returns | |
|---|---|
| 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.v1p4beta1.ProductSearchResults.Result results = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ProductSearchResults.Result.Builder |
| Returns | |
|---|---|
| Type | Description |
ProductSearchResults.Builder |
|