Send feedback
Class ProductSearchResults.GroupedResult (3.28.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.28.0 keyboard_arrow_down
public static final class ProductSearchResults . GroupedResult extends GeneratedMessageV3 implements ProductSearchResults . GroupedResultOrBuilder
Information about the products similar to a single product in a query
image.
Protobuf type google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
BOUNDING_POLY_FIELD_NUMBER
public static final int BOUNDING_POLY_FIELD_NUMBER
Field Value Type Description int
OBJECT_ANNOTATIONS_FIELD_NUMBER
public static final int OBJECT_ANNOTATIONS_FIELD_NUMBER
Field Value Type Description int
RESULTS_FIELD_NUMBER
public static final int RESULTS_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static ProductSearchResults . GroupedResult getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static ProductSearchResults . GroupedResult . Builder newBuilder ()
newBuilder(ProductSearchResults.GroupedResult prototype)
public static ProductSearchResults . GroupedResult . Builder newBuilder ( ProductSearchResults . GroupedResult prototype )
public static ProductSearchResults . GroupedResult parseDelimitedFrom ( InputStream input )
public static ProductSearchResults . GroupedResult parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static ProductSearchResults . GroupedResult parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProductSearchResults . GroupedResult parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static ProductSearchResults . GroupedResult parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProductSearchResults . GroupedResult parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ProductSearchResults . GroupedResult parseFrom ( CodedInputStream input )
public static ProductSearchResults . GroupedResult parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ProductSearchResults . GroupedResult parseFrom ( InputStream input )
public static ProductSearchResults . GroupedResult parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static ProductSearchResults . GroupedResult parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ProductSearchResults . GroupedResult parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<ProductSearchResults . GroupedResult > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getBoundingPoly()
public BoundingPoly getBoundingPoly ()
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 1;
getBoundingPolyOrBuilder()
public BoundingPolyOrBuilder getBoundingPolyOrBuilder ()
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 1;
getDefaultInstanceForType()
public ProductSearchResults . GroupedResult getDefaultInstanceForType ()
getObjectAnnotations(int index)
public ProductSearchResults . ObjectAnnotation getObjectAnnotations ( int index )
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
Parameter Name Description index
int
getObjectAnnotationsCount()
public int getObjectAnnotationsCount ()
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
Returns Type Description int
getObjectAnnotationsList()
public List<ProductSearchResults . ObjectAnnotation > getObjectAnnotationsList ()
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
getObjectAnnotationsOrBuilder(int index)
public ProductSearchResults . ObjectAnnotationOrBuilder getObjectAnnotationsOrBuilder ( int index )
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
Parameter Name Description index
int
getObjectAnnotationsOrBuilderList()
public List <? extends ProductSearchResults . ObjectAnnotationOrBuilder > getObjectAnnotationsOrBuilderList ()
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
Returns Type Description List <? extends com.google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotationOrBuilder >
getParserForType()
public Parser<ProductSearchResults . GroupedResult > getParserForType ()
Overrides
getResults(int index)
public ProductSearchResults . Result getResults ( int index )
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 2;
Parameter Name Description index
int
getResultsCount()
public int getResultsCount ()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 2;
Returns Type Description int
getResultsList()
public List<ProductSearchResults . Result > getResultsList ()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 2;
getResultsOrBuilder(int index)
public ProductSearchResults . ResultOrBuilder getResultsOrBuilder ( int index )
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 2;
Parameter Name Description index
int
getResultsOrBuilderList()
public List <? extends ProductSearchResults . ResultOrBuilder > getResultsOrBuilderList ()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 2;
Returns Type Description List <? extends com.google.cloud.vision.v1p4beta1.ProductSearchResults.ResultOrBuilder >
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
hasBoundingPoly()
public boolean hasBoundingPoly ()
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 1;
Returns Type Description boolean
Whether the boundingPoly field is set.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public ProductSearchResults . GroupedResult . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ProductSearchResults . GroupedResult . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public ProductSearchResults . GroupedResult . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]