Package com.google.cloud.vision.v1
Interface ProductSearchResultsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProductSearchResults
,ProductSearchResults.Builder
public interface ProductSearchResultsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getIndexTime()
Timestamp of the index which provided these results.com.google.protobuf.TimestampOrBuilder
getIndexTimeOrBuilder()
Timestamp of the index which provided these results.ProductSearchResults.GroupedResult
getProductGroupedResults(int index)
List of results grouped by products detected in the query image.int
getProductGroupedResultsCount()
List of results grouped by products detected in the query image.List<ProductSearchResults.GroupedResult>
getProductGroupedResultsList()
List of results grouped by products detected in the query image.ProductSearchResults.GroupedResultOrBuilder
getProductGroupedResultsOrBuilder(int index)
List of results grouped by products detected in the query image.List<? extends ProductSearchResults.GroupedResultOrBuilder>
getProductGroupedResultsOrBuilderList()
List of results grouped by products detected in the query image.ProductSearchResults.Result
getResults(int index)
List of results, one for each product match.int
getResultsCount()
List of results, one for each product match.List<ProductSearchResults.Result>
getResultsList()
List of results, one for each product match.ProductSearchResults.ResultOrBuilder
getResultsOrBuilder(int index)
List of results, one for each product match.List<? extends ProductSearchResults.ResultOrBuilder>
getResultsOrBuilderList()
List of results, one for each product match.boolean
hasIndexTime()
Timestamp of the index which provided these results.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasIndexTime
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:
- Whether the indexTime field is set.
-
getIndexTime
com.google.protobuf.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:
- The indexTime.
-
getIndexTimeOrBuilder
com.google.protobuf.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;
-
getResultsList
List<ProductSearchResults.Result> getResultsList()
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 5;
-
getResults
ProductSearchResults.Result getResults(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 5;
-
getResultsCount
int getResultsCount()
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 5;
-
getResultsOrBuilderList
List<? extends ProductSearchResults.ResultOrBuilder> getResultsOrBuilderList()
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 5;
-
getResultsOrBuilder
ProductSearchResults.ResultOrBuilder getResultsOrBuilder(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 5;
-
getProductGroupedResultsList
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.v1.ProductSearchResults.GroupedResult product_grouped_results = 6;
-
getProductGroupedResults
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.v1.ProductSearchResults.GroupedResult product_grouped_results = 6;
-
getProductGroupedResultsCount
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.v1.ProductSearchResults.GroupedResult product_grouped_results = 6;
-
getProductGroupedResultsOrBuilderList
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.v1.ProductSearchResults.GroupedResult product_grouped_results = 6;
-
getProductGroupedResultsOrBuilder
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.v1.ProductSearchResults.GroupedResult product_grouped_results = 6;
-
-