Interface ProductSearchResultsOrBuilder (3.47.0)

public interface ProductSearchResultsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIndexTime()

public abstract 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.

getIndexTimeOrBuilder()

public abstract 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 abstract 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

getProductGroupedResultsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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

getResultsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.