public static final class ProductSearchResults.Builder extends GeneratedMessageV3.Builder<ProductSearchResults.Builder> implements ProductSearchResultsOrBuilder
Results for a product search request.Protobuf type
google.cloud.vision.v1p4beta1.ProductSearchResults
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ProductSearchResults.Builder>
public ProductSearchResults.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ProductSearchResults.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ProductSearchResults.Builder>
public ProductSearchResults getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ProductSearchResults build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ProductSearchResults buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ProductSearchResults.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ProductSearchResults.Builder>
public ProductSearchResults.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ProductSearchResults.Builder>
public ProductSearchResults.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ProductSearchResults.Builder>
public ProductSearchResults.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ProductSearchResults.Builder>
public ProductSearchResults.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ProductSearchResults.Builder>
public ProductSearchResults.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ProductSearchResults.Builder>
public ProductSearchResults.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ProductSearchResults.Builder>
public ProductSearchResults.Builder mergeFrom(ProductSearchResults other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ProductSearchResults.Builder>
public ProductSearchResults.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ProductSearchResults.Builder>
IOException
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;
hasIndexTime
in interface ProductSearchResultsOrBuilder
public 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;
getIndexTime
in interface ProductSearchResultsOrBuilder
public ProductSearchResults.Builder setIndexTime(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;
public ProductSearchResults.Builder setIndexTime(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;
public ProductSearchResults.Builder mergeIndexTime(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;
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;
public 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;
public 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;
getIndexTimeOrBuilder
in interface ProductSearchResultsOrBuilder
public List<ProductSearchResults.Result> getResultsList()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
getResultsList
in interface ProductSearchResultsOrBuilder
public int getResultsCount()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
getResultsCount
in interface ProductSearchResultsOrBuilder
public ProductSearchResults.Result getResults(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
getResults
in interface ProductSearchResultsOrBuilder
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;
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;
public ProductSearchResults.Builder addResults(ProductSearchResults.Result value)
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
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;
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;
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;
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;
public ProductSearchResults.Builder clearResults()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
public ProductSearchResults.Builder removeResults(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
public ProductSearchResults.Result.Builder getResultsBuilder(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
public ProductSearchResults.ResultOrBuilder getResultsOrBuilder(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
getResultsOrBuilder
in interface ProductSearchResultsOrBuilder
public List<? extends ProductSearchResults.ResultOrBuilder> getResultsOrBuilderList()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
getResultsOrBuilderList
in interface ProductSearchResultsOrBuilder
public ProductSearchResults.Result.Builder addResultsBuilder()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
public ProductSearchResults.Result.Builder addResultsBuilder(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
public List<ProductSearchResults.Result.Builder> getResultsBuilderList()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;
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;
getProductGroupedResultsList
in interface ProductSearchResultsOrBuilder
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;
getProductGroupedResultsCount
in interface ProductSearchResultsOrBuilder
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;
getProductGroupedResults
in interface ProductSearchResultsOrBuilder
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
getProductGroupedResultsOrBuilder
in interface ProductSearchResultsOrBuilder
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;
getProductGroupedResultsOrBuilderList
in interface ProductSearchResultsOrBuilder
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;
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;
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;
public final ProductSearchResults.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ProductSearchResults.Builder>
public final ProductSearchResults.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ProductSearchResults.Builder>
Copyright © 2022 Google LLC. All rights reserved.