Class ProductSearchResults.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.Builder>
-
- com.google.cloud.vision.v1p4beta1.ProductSearchResults.Builder
-
- All Implemented Interfaces:
ProductSearchResultsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ProductSearchResults
public static final class ProductSearchResults.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.Builder> implements ProductSearchResultsOrBuilder
Results for a product search request.
Protobuf typegoogle.cloud.vision.v1p4beta1.ProductSearchResults
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProductSearchResults.Builder
addAllProductGroupedResults(Iterable<? extends ProductSearchResults.GroupedResult> values)
List of results grouped by products detected in the query image.ProductSearchResults.Builder
addAllResults(Iterable<? extends ProductSearchResults.Result> values)
List of results, one for each product match.ProductSearchResults.Builder
addProductGroupedResults(int index, ProductSearchResults.GroupedResult value)
List of results grouped by products detected in the query image.ProductSearchResults.Builder
addProductGroupedResults(int index, ProductSearchResults.GroupedResult.Builder builderForValue)
List of results grouped by products detected in the query image.ProductSearchResults.Builder
addProductGroupedResults(ProductSearchResults.GroupedResult value)
List of results grouped by products detected in the query image.ProductSearchResults.Builder
addProductGroupedResults(ProductSearchResults.GroupedResult.Builder builderForValue)
List of results grouped by products detected in the query image.ProductSearchResults.GroupedResult.Builder
addProductGroupedResultsBuilder()
List of results grouped by products detected in the query image.ProductSearchResults.GroupedResult.Builder
addProductGroupedResultsBuilder(int index)
List of results grouped by products detected in the query image.ProductSearchResults.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ProductSearchResults.Builder
addResults(int index, ProductSearchResults.Result value)
List of results, one for each product match.ProductSearchResults.Builder
addResults(int index, ProductSearchResults.Result.Builder builderForValue)
List of results, one for each product match.ProductSearchResults.Builder
addResults(ProductSearchResults.Result value)
List of results, one for each product match.ProductSearchResults.Builder
addResults(ProductSearchResults.Result.Builder builderForValue)
List of results, one for each product match.ProductSearchResults.Result.Builder
addResultsBuilder()
List of results, one for each product match.ProductSearchResults.Result.Builder
addResultsBuilder(int index)
List of results, one for each product match.ProductSearchResults
build()
ProductSearchResults
buildPartial()
ProductSearchResults.Builder
clear()
ProductSearchResults.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ProductSearchResults.Builder
clearIndexTime()
Timestamp of the index which provided these results.ProductSearchResults.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ProductSearchResults.Builder
clearProductGroupedResults()
List of results grouped by products detected in the query image.ProductSearchResults.Builder
clearResults()
List of results, one for each product match.ProductSearchResults.Builder
clone()
ProductSearchResults
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Timestamp
getIndexTime()
Timestamp of the index which provided these results.com.google.protobuf.Timestamp.Builder
getIndexTimeBuilder()
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.ProductSearchResults.GroupedResult.Builder
getProductGroupedResultsBuilder(int index)
List of results grouped by products detected in the query image.List<ProductSearchResults.GroupedResult.Builder>
getProductGroupedResultsBuilderList()
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.ProductSearchResults.Result.Builder
getResultsBuilder(int index)
List of results, one for each product match.List<ProductSearchResults.Result.Builder>
getResultsBuilderList()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ProductSearchResults.Builder
mergeFrom(ProductSearchResults other)
ProductSearchResults.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ProductSearchResults.Builder
mergeFrom(com.google.protobuf.Message other)
ProductSearchResults.Builder
mergeIndexTime(com.google.protobuf.Timestamp value)
Timestamp of the index which provided these results.ProductSearchResults.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ProductSearchResults.Builder
removeProductGroupedResults(int index)
List of results grouped by products detected in the query image.ProductSearchResults.Builder
removeResults(int index)
List of results, one for each product match.ProductSearchResults.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ProductSearchResults.Builder
setIndexTime(com.google.protobuf.Timestamp value)
Timestamp of the index which provided these results.ProductSearchResults.Builder
setIndexTime(com.google.protobuf.Timestamp.Builder builderForValue)
Timestamp of the index which provided these results.ProductSearchResults.Builder
setProductGroupedResults(int index, ProductSearchResults.GroupedResult value)
List of results grouped by products detected in the query image.ProductSearchResults.Builder
setProductGroupedResults(int index, ProductSearchResults.GroupedResult.Builder builderForValue)
List of results grouped by products detected in the query image.ProductSearchResults.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ProductSearchResults.Builder
setResults(int index, ProductSearchResults.Result value)
List of results, one for each product match.ProductSearchResults.Builder
setResults(int index, ProductSearchResults.Result.Builder builderForValue)
List of results, one for each product match.ProductSearchResults.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.Builder>
-
clear
public ProductSearchResults.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.Builder>
-
getDefaultInstanceForType
public ProductSearchResults getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ProductSearchResults build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ProductSearchResults buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ProductSearchResults.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.Builder>
-
setField
public ProductSearchResults.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.Builder>
-
clearField
public ProductSearchResults.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.Builder>
-
clearOneof
public ProductSearchResults.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.Builder>
-
setRepeatedField
public ProductSearchResults.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.Builder>
-
addRepeatedField
public ProductSearchResults.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.Builder>
-
mergeFrom
public ProductSearchResults.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ProductSearchResults.Builder>
-
mergeFrom
public ProductSearchResults.Builder mergeFrom(ProductSearchResults other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.Builder>
-
mergeFrom
public ProductSearchResults.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ProductSearchResults.Builder>
- Throws:
IOException
-
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;
- Specified by:
hasIndexTime
in interfaceProductSearchResultsOrBuilder
- Returns:
- Whether the indexTime field is set.
-
getIndexTime
public 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;
- Specified by:
getIndexTime
in interfaceProductSearchResultsOrBuilder
- Returns:
- The indexTime.
-
setIndexTime
public ProductSearchResults.Builder setIndexTime(com.google.protobuf.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;
-
setIndexTime
public ProductSearchResults.Builder setIndexTime(com.google.protobuf.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;
-
mergeIndexTime
public ProductSearchResults.Builder mergeIndexTime(com.google.protobuf.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;
-
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;
-
getIndexTimeBuilder
public com.google.protobuf.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;
-
getIndexTimeOrBuilder
public 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;
- Specified by:
getIndexTimeOrBuilder
in interfaceProductSearchResultsOrBuilder
-
getResultsList
public List<ProductSearchResults.Result> getResultsList()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
- Specified by:
getResultsList
in interfaceProductSearchResultsOrBuilder
-
getResultsCount
public int getResultsCount()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
- Specified by:
getResultsCount
in interfaceProductSearchResultsOrBuilder
-
getResults
public ProductSearchResults.Result getResults(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
- Specified by:
getResults
in interfaceProductSearchResultsOrBuilder
-
setResults
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;
-
setResults
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;
-
addResults
public ProductSearchResults.Builder addResults(ProductSearchResults.Result value)
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
-
addResults
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;
-
addResults
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;
-
addResults
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;
-
addAllResults
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;
-
clearResults
public ProductSearchResults.Builder clearResults()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
-
removeResults
public ProductSearchResults.Builder removeResults(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
-
getResultsBuilder
public ProductSearchResults.Result.Builder getResultsBuilder(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
-
getResultsOrBuilder
public ProductSearchResults.ResultOrBuilder getResultsOrBuilder(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
- Specified by:
getResultsOrBuilder
in interfaceProductSearchResultsOrBuilder
-
getResultsOrBuilderList
public List<? extends ProductSearchResults.ResultOrBuilder> getResultsOrBuilderList()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
- Specified by:
getResultsOrBuilderList
in interfaceProductSearchResultsOrBuilder
-
addResultsBuilder
public ProductSearchResults.Result.Builder addResultsBuilder()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
-
addResultsBuilder
public ProductSearchResults.Result.Builder addResultsBuilder(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
-
getResultsBuilderList
public List<ProductSearchResults.Result.Builder> getResultsBuilderList()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
-
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;
- Specified by:
getProductGroupedResultsList
in interfaceProductSearchResultsOrBuilder
-
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;
- Specified by:
getProductGroupedResultsCount
in interfaceProductSearchResultsOrBuilder
-
getProductGroupedResults
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;
- Specified by:
getProductGroupedResults
in interfaceProductSearchResultsOrBuilder
-
setProductGroupedResults
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;
-
setProductGroupedResults
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;
-
addProductGroupedResults
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;
-
addProductGroupedResults
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;
-
addProductGroupedResults
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;
-
addProductGroupedResults
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;
-
addAllProductGroupedResults
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;
-
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;
-
removeProductGroupedResults
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;
-
getProductGroupedResultsBuilder
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;
-
getProductGroupedResultsOrBuilder
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;
- Specified by:
getProductGroupedResultsOrBuilder
in interfaceProductSearchResultsOrBuilder
-
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;
- Specified by:
getProductGroupedResultsOrBuilderList
in interfaceProductSearchResultsOrBuilder
-
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;
-
addProductGroupedResultsBuilder
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;
-
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;
-
setUnknownFields
public final ProductSearchResults.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.Builder>
-
mergeUnknownFields
public final ProductSearchResults.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.Builder>
-
-