Class ProductSearchResults.GroupedResult.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.GroupedResult.Builder>
-
- com.google.cloud.vision.v1p3beta1.ProductSearchResults.GroupedResult.Builder
-
- All Implemented Interfaces:
ProductSearchResults.GroupedResultOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ProductSearchResults.GroupedResult
public static final class ProductSearchResults.GroupedResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.GroupedResult.Builder> implements ProductSearchResults.GroupedResultOrBuilder
Information about the products similar to a single product in a query image.
Protobuf typegoogle.cloud.vision.v1p3beta1.ProductSearchResults.GroupedResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProductSearchResults.GroupedResult.Builder
addAllObjectAnnotations(Iterable<? extends ProductSearchResults.ObjectAnnotation> values)
List of generic predictions for the object in the bounding box.ProductSearchResults.GroupedResult.Builder
addAllResults(Iterable<? extends ProductSearchResults.Result> values)
List of results, one for each product match.ProductSearchResults.GroupedResult.Builder
addObjectAnnotations(int index, ProductSearchResults.ObjectAnnotation value)
List of generic predictions for the object in the bounding box.ProductSearchResults.GroupedResult.Builder
addObjectAnnotations(int index, ProductSearchResults.ObjectAnnotation.Builder builderForValue)
List of generic predictions for the object in the bounding box.ProductSearchResults.GroupedResult.Builder
addObjectAnnotations(ProductSearchResults.ObjectAnnotation value)
List of generic predictions for the object in the bounding box.ProductSearchResults.GroupedResult.Builder
addObjectAnnotations(ProductSearchResults.ObjectAnnotation.Builder builderForValue)
List of generic predictions for the object in the bounding box.ProductSearchResults.ObjectAnnotation.Builder
addObjectAnnotationsBuilder()
List of generic predictions for the object in the bounding box.ProductSearchResults.ObjectAnnotation.Builder
addObjectAnnotationsBuilder(int index)
List of generic predictions for the object in the bounding box.ProductSearchResults.GroupedResult.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ProductSearchResults.GroupedResult.Builder
addResults(int index, ProductSearchResults.Result value)
List of results, one for each product match.ProductSearchResults.GroupedResult.Builder
addResults(int index, ProductSearchResults.Result.Builder builderForValue)
List of results, one for each product match.ProductSearchResults.GroupedResult.Builder
addResults(ProductSearchResults.Result value)
List of results, one for each product match.ProductSearchResults.GroupedResult.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.GroupedResult
build()
ProductSearchResults.GroupedResult
buildPartial()
ProductSearchResults.GroupedResult.Builder
clear()
ProductSearchResults.GroupedResult.Builder
clearBoundingPoly()
The bounding polygon around the product detected in the query image.ProductSearchResults.GroupedResult.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ProductSearchResults.GroupedResult.Builder
clearObjectAnnotations()
List of generic predictions for the object in the bounding box.ProductSearchResults.GroupedResult.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ProductSearchResults.GroupedResult.Builder
clearResults()
List of results, one for each product match.ProductSearchResults.GroupedResult.Builder
clone()
BoundingPoly
getBoundingPoly()
The bounding polygon around the product detected in the query image.BoundingPoly.Builder
getBoundingPolyBuilder()
The bounding polygon around the product detected in the query image.BoundingPolyOrBuilder
getBoundingPolyOrBuilder()
The bounding polygon around the product detected in the query image.ProductSearchResults.GroupedResult
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ProductSearchResults.ObjectAnnotation
getObjectAnnotations(int index)
List of generic predictions for the object in the bounding box.ProductSearchResults.ObjectAnnotation.Builder
getObjectAnnotationsBuilder(int index)
List of generic predictions for the object in the bounding box.List<ProductSearchResults.ObjectAnnotation.Builder>
getObjectAnnotationsBuilderList()
List of generic predictions for the object in the bounding box.int
getObjectAnnotationsCount()
List of generic predictions for the object in the bounding box.List<ProductSearchResults.ObjectAnnotation>
getObjectAnnotationsList()
List of generic predictions for the object in the bounding box.ProductSearchResults.ObjectAnnotationOrBuilder
getObjectAnnotationsOrBuilder(int index)
List of generic predictions for the object in the bounding box.List<? extends ProductSearchResults.ObjectAnnotationOrBuilder>
getObjectAnnotationsOrBuilderList()
List of generic predictions for the object in the bounding box.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
hasBoundingPoly()
The bounding polygon around the product detected in the query image.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ProductSearchResults.GroupedResult.Builder
mergeBoundingPoly(BoundingPoly value)
The bounding polygon around the product detected in the query image.ProductSearchResults.GroupedResult.Builder
mergeFrom(ProductSearchResults.GroupedResult other)
ProductSearchResults.GroupedResult.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ProductSearchResults.GroupedResult.Builder
mergeFrom(com.google.protobuf.Message other)
ProductSearchResults.GroupedResult.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ProductSearchResults.GroupedResult.Builder
removeObjectAnnotations(int index)
List of generic predictions for the object in the bounding box.ProductSearchResults.GroupedResult.Builder
removeResults(int index)
List of results, one for each product match.ProductSearchResults.GroupedResult.Builder
setBoundingPoly(BoundingPoly value)
The bounding polygon around the product detected in the query image.ProductSearchResults.GroupedResult.Builder
setBoundingPoly(BoundingPoly.Builder builderForValue)
The bounding polygon around the product detected in the query image.ProductSearchResults.GroupedResult.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ProductSearchResults.GroupedResult.Builder
setObjectAnnotations(int index, ProductSearchResults.ObjectAnnotation value)
List of generic predictions for the object in the bounding box.ProductSearchResults.GroupedResult.Builder
setObjectAnnotations(int index, ProductSearchResults.ObjectAnnotation.Builder builderForValue)
List of generic predictions for the object in the bounding box.ProductSearchResults.GroupedResult.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ProductSearchResults.GroupedResult.Builder
setResults(int index, ProductSearchResults.Result value)
List of results, one for each product match.ProductSearchResults.GroupedResult.Builder
setResults(int index, ProductSearchResults.Result.Builder builderForValue)
List of results, one for each product match.ProductSearchResults.GroupedResult.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.GroupedResult.Builder>
-
clear
public ProductSearchResults.GroupedResult.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.GroupedResult.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.GroupedResult.Builder>
-
getDefaultInstanceForType
public ProductSearchResults.GroupedResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ProductSearchResults.GroupedResult build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ProductSearchResults.GroupedResult buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ProductSearchResults.GroupedResult.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.GroupedResult.Builder>
-
setField
public ProductSearchResults.GroupedResult.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.GroupedResult.Builder>
-
clearField
public ProductSearchResults.GroupedResult.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.GroupedResult.Builder>
-
clearOneof
public ProductSearchResults.GroupedResult.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.GroupedResult.Builder>
-
setRepeatedField
public ProductSearchResults.GroupedResult.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.GroupedResult.Builder>
-
addRepeatedField
public ProductSearchResults.GroupedResult.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.GroupedResult.Builder>
-
mergeFrom
public ProductSearchResults.GroupedResult.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.GroupedResult.Builder>
-
mergeFrom
public ProductSearchResults.GroupedResult.Builder mergeFrom(ProductSearchResults.GroupedResult other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.GroupedResult.Builder>
-
mergeFrom
public ProductSearchResults.GroupedResult.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.GroupedResult.Builder>
- Throws:
IOException
-
hasBoundingPoly
public boolean hasBoundingPoly()
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 1;
- Specified by:
hasBoundingPoly
in interfaceProductSearchResults.GroupedResultOrBuilder
- Returns:
- Whether the boundingPoly field is set.
-
getBoundingPoly
public BoundingPoly getBoundingPoly()
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 1;
- Specified by:
getBoundingPoly
in interfaceProductSearchResults.GroupedResultOrBuilder
- Returns:
- The boundingPoly.
-
setBoundingPoly
public ProductSearchResults.GroupedResult.Builder setBoundingPoly(BoundingPoly value)
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 1;
-
setBoundingPoly
public ProductSearchResults.GroupedResult.Builder setBoundingPoly(BoundingPoly.Builder builderForValue)
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 1;
-
mergeBoundingPoly
public ProductSearchResults.GroupedResult.Builder mergeBoundingPoly(BoundingPoly value)
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 1;
-
clearBoundingPoly
public ProductSearchResults.GroupedResult.Builder clearBoundingPoly()
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 1;
-
getBoundingPolyBuilder
public BoundingPoly.Builder getBoundingPolyBuilder()
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 1;
-
getBoundingPolyOrBuilder
public BoundingPolyOrBuilder getBoundingPolyOrBuilder()
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 1;
- Specified by:
getBoundingPolyOrBuilder
in interfaceProductSearchResults.GroupedResultOrBuilder
-
getResultsList
public List<ProductSearchResults.Result> getResultsList()
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
- Specified by:
getResultsList
in interfaceProductSearchResults.GroupedResultOrBuilder
-
getResultsCount
public int getResultsCount()
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
- Specified by:
getResultsCount
in interfaceProductSearchResults.GroupedResultOrBuilder
-
getResults
public ProductSearchResults.Result getResults(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
- Specified by:
getResults
in interfaceProductSearchResults.GroupedResultOrBuilder
-
setResults
public ProductSearchResults.GroupedResult.Builder setResults(int index, ProductSearchResults.Result value)
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
-
setResults
public ProductSearchResults.GroupedResult.Builder setResults(int index, ProductSearchResults.Result.Builder builderForValue)
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
-
addResults
public ProductSearchResults.GroupedResult.Builder addResults(ProductSearchResults.Result value)
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
-
addResults
public ProductSearchResults.GroupedResult.Builder addResults(int index, ProductSearchResults.Result value)
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
-
addResults
public ProductSearchResults.GroupedResult.Builder addResults(ProductSearchResults.Result.Builder builderForValue)
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
-
addResults
public ProductSearchResults.GroupedResult.Builder addResults(int index, ProductSearchResults.Result.Builder builderForValue)
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
-
addAllResults
public ProductSearchResults.GroupedResult.Builder addAllResults(Iterable<? extends ProductSearchResults.Result> values)
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
-
clearResults
public ProductSearchResults.GroupedResult.Builder clearResults()
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
-
removeResults
public ProductSearchResults.GroupedResult.Builder removeResults(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
-
getResultsBuilder
public ProductSearchResults.Result.Builder getResultsBuilder(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
-
getResultsOrBuilder
public ProductSearchResults.ResultOrBuilder getResultsOrBuilder(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
- Specified by:
getResultsOrBuilder
in interfaceProductSearchResults.GroupedResultOrBuilder
-
getResultsOrBuilderList
public List<? extends ProductSearchResults.ResultOrBuilder> getResultsOrBuilderList()
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
- Specified by:
getResultsOrBuilderList
in interfaceProductSearchResults.GroupedResultOrBuilder
-
addResultsBuilder
public ProductSearchResults.Result.Builder addResultsBuilder()
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
-
addResultsBuilder
public ProductSearchResults.Result.Builder addResultsBuilder(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
-
getResultsBuilderList
public List<ProductSearchResults.Result.Builder> getResultsBuilderList()
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
-
getObjectAnnotationsList
public List<ProductSearchResults.ObjectAnnotation> getObjectAnnotationsList()
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
- Specified by:
getObjectAnnotationsList
in interfaceProductSearchResults.GroupedResultOrBuilder
-
getObjectAnnotationsCount
public int getObjectAnnotationsCount()
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
- Specified by:
getObjectAnnotationsCount
in interfaceProductSearchResults.GroupedResultOrBuilder
-
getObjectAnnotations
public ProductSearchResults.ObjectAnnotation getObjectAnnotations(int index)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
- Specified by:
getObjectAnnotations
in interfaceProductSearchResults.GroupedResultOrBuilder
-
setObjectAnnotations
public ProductSearchResults.GroupedResult.Builder setObjectAnnotations(int index, ProductSearchResults.ObjectAnnotation value)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
setObjectAnnotations
public ProductSearchResults.GroupedResult.Builder setObjectAnnotations(int index, ProductSearchResults.ObjectAnnotation.Builder builderForValue)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
addObjectAnnotations
public ProductSearchResults.GroupedResult.Builder addObjectAnnotations(ProductSearchResults.ObjectAnnotation value)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
addObjectAnnotations
public ProductSearchResults.GroupedResult.Builder addObjectAnnotations(int index, ProductSearchResults.ObjectAnnotation value)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
addObjectAnnotations
public ProductSearchResults.GroupedResult.Builder addObjectAnnotations(ProductSearchResults.ObjectAnnotation.Builder builderForValue)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
addObjectAnnotations
public ProductSearchResults.GroupedResult.Builder addObjectAnnotations(int index, ProductSearchResults.ObjectAnnotation.Builder builderForValue)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
addAllObjectAnnotations
public ProductSearchResults.GroupedResult.Builder addAllObjectAnnotations(Iterable<? extends ProductSearchResults.ObjectAnnotation> values)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
clearObjectAnnotations
public ProductSearchResults.GroupedResult.Builder clearObjectAnnotations()
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
removeObjectAnnotations
public ProductSearchResults.GroupedResult.Builder removeObjectAnnotations(int index)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
getObjectAnnotationsBuilder
public ProductSearchResults.ObjectAnnotation.Builder getObjectAnnotationsBuilder(int index)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
getObjectAnnotationsOrBuilder
public ProductSearchResults.ObjectAnnotationOrBuilder getObjectAnnotationsOrBuilder(int index)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
- Specified by:
getObjectAnnotationsOrBuilder
in interfaceProductSearchResults.GroupedResultOrBuilder
-
getObjectAnnotationsOrBuilderList
public List<? extends ProductSearchResults.ObjectAnnotationOrBuilder> getObjectAnnotationsOrBuilderList()
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
- Specified by:
getObjectAnnotationsOrBuilderList
in interfaceProductSearchResults.GroupedResultOrBuilder
-
addObjectAnnotationsBuilder
public ProductSearchResults.ObjectAnnotation.Builder addObjectAnnotationsBuilder()
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
addObjectAnnotationsBuilder
public ProductSearchResults.ObjectAnnotation.Builder addObjectAnnotationsBuilder(int index)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
getObjectAnnotationsBuilderList
public List<ProductSearchResults.ObjectAnnotation.Builder> getObjectAnnotationsBuilderList()
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
setUnknownFields
public final ProductSearchResults.GroupedResult.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.GroupedResult.Builder>
-
mergeUnknownFields
public final ProductSearchResults.GroupedResult.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.GroupedResult.Builder>
-
-