/** * * * <pre> * 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. * </pre> * * <code> * repeated .google.cloud.vision.v1.ProductSearchResults.GroupedResult product_grouped_results = 6; * </code> */ public com.google.cloud.vision.v1.ProductSearchResults.GroupedResult.Builder getProductGroupedResultsBuilder(int index) { return getProductGroupedResultsFieldBuilder().getBuilder(index); } /**
/** * * * <pre> * 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. * </pre> * * <code> * repeated .google.cloud.vision.v1.ProductSearchResults.GroupedResult product_grouped_results = 6; * </code> */ public java.util.List<com.google.cloud.vision.v1.ProductSearchResults.GroupedResult.Builder> getProductGroupedResultsBuilderList() { return getProductGroupedResultsFieldBuilder().getBuilderList(); }
productGroupedResultsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getProductGroupedResultsFieldBuilder() : null; } else {
productGroupedResultsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getProductGroupedResultsFieldBuilder() : null; } else {
/** * * * <pre> * 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. * </pre> * * <code> * repeated .google.cloud.vision.v1.ProductSearchResults.GroupedResult product_grouped_results = 6; * </code> */ public com.google.cloud.vision.v1.ProductSearchResults.GroupedResult.Builder addProductGroupedResultsBuilder(int index) { return getProductGroupedResultsFieldBuilder() .addBuilder( index, com.google.cloud.vision.v1.ProductSearchResults.GroupedResult.getDefaultInstance()); } /**
/** * * * <pre> * 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. * </pre> * * <code> * repeated .google.cloud.vision.v1.ProductSearchResults.GroupedResult product_grouped_results = 6; * </code> */ public com.google.cloud.vision.v1.ProductSearchResults.GroupedResult.Builder addProductGroupedResultsBuilder() { return getProductGroupedResultsFieldBuilder() .addBuilder( com.google.cloud.vision.v1.ProductSearchResults.GroupedResult.getDefaultInstance()); } /**
/** * * * <pre> * 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. * </pre> * * <code> * repeated .google.cloud.vision.v1.ProductSearchResults.GroupedResult product_grouped_results = 6; * </code> */ public com.google.cloud.vision.v1.ProductSearchResults.GroupedResult.Builder getProductGroupedResultsBuilder(int index) { return getProductGroupedResultsFieldBuilder().getBuilder(index); } /**
/** * * * <pre> * 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. * </pre> * * <code> * repeated .google.cloud.vision.v1.ProductSearchResults.GroupedResult product_grouped_results = 6; * </code> */ public java.util.List<com.google.cloud.vision.v1.ProductSearchResults.GroupedResult.Builder> getProductGroupedResultsBuilderList() { return getProductGroupedResultsFieldBuilder().getBuilderList(); }
private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getResultsFieldBuilder(); getProductGroupedResultsFieldBuilder(); } }
/** * * * <pre> * 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. * </pre> * * <code> * repeated .google.cloud.vision.v1.ProductSearchResults.GroupedResult product_grouped_results = 6; * </code> */ public com.google.cloud.vision.v1.ProductSearchResults.GroupedResult.Builder addProductGroupedResultsBuilder(int index) { return getProductGroupedResultsFieldBuilder() .addBuilder( index, com.google.cloud.vision.v1.ProductSearchResults.GroupedResult.getDefaultInstance()); } /**
/** * * * <pre> * 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. * </pre> * * <code> * repeated .google.cloud.vision.v1.ProductSearchResults.GroupedResult product_grouped_results = 6; * </code> */ public com.google.cloud.vision.v1.ProductSearchResults.GroupedResult.Builder addProductGroupedResultsBuilder() { return getProductGroupedResultsFieldBuilder() .addBuilder( com.google.cloud.vision.v1.ProductSearchResults.GroupedResult.getDefaultInstance()); } /**
private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getResultsFieldBuilder(); getProductGroupedResultsFieldBuilder(); } }