Interface ProductSearchResultsOrBuilder (3.35.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
TypeDescription
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
TypeDescription
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.v1p3beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p3beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;

Returns
TypeDescription
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.v1p3beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;

Returns
TypeDescription
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.v1p3beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p3beta1.ProductSearchResults.GroupedResult product_grouped_results = 6;

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1p3beta1.ProductSearchResults.GroupedResultOrBuilder>

getResults(int index)

public abstract ProductSearchResults.Result getResults(int index)

List of results, one for each product match.

repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProductSearchResults.Result

getResultsCount()

public abstract int getResultsCount()

List of results, one for each product match.

repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;

Returns
TypeDescription
int

getResultsList()

public abstract List<ProductSearchResults.Result> getResultsList()

List of results, one for each product match.

repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;

Returns
TypeDescription
List<Result>

getResultsOrBuilder(int index)

public abstract ProductSearchResults.ResultOrBuilder getResultsOrBuilder(int index)

List of results, one for each product match.

repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProductSearchResults.ResultOrBuilder

getResultsOrBuilderList()

public abstract List<? extends ProductSearchResults.ResultOrBuilder> getResultsOrBuilderList()

List of results, one for each product match.

repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1p3beta1.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
TypeDescription
boolean

Whether the indexTime field is set.