public static final class ProductSearchResults.GroupedResult extends com.google.protobuf.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| Modifier and Type | Class and Description |
|---|---|
static class |
ProductSearchResults.GroupedResult.Builder
Information about the products similar to a single product in a query
image.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BOUNDING_POLY_FIELD_NUMBER |
static int |
OBJECT_ANNOTATIONS_FIELD_NUMBER |
static int |
RESULTS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
BoundingPoly |
getBoundingPoly()
The bounding polygon around the product detected in the query image.
|
BoundingPolyOrBuilder |
getBoundingPolyOrBuilder()
The bounding polygon around the product detected in the query image.
|
static ProductSearchResults.GroupedResult |
getDefaultInstance() |
ProductSearchResults.GroupedResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ProductSearchResults.ObjectAnnotation |
getObjectAnnotations(int index)
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.
|
com.google.protobuf.Parser<ProductSearchResults.GroupedResult> |
getParserForType() |
ProductSearchResults.Result |
getResults(int index)
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.
|
int |
getSerializedSize() |
boolean |
hasBoundingPoly()
The bounding polygon around the product detected in the query image.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ProductSearchResults.GroupedResult.Builder |
newBuilder() |
static ProductSearchResults.GroupedResult.Builder |
newBuilder(ProductSearchResults.GroupedResult prototype) |
ProductSearchResults.GroupedResult.Builder |
newBuilderForType() |
protected ProductSearchResults.GroupedResult.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ProductSearchResults.GroupedResult |
parseDelimitedFrom(InputStream input) |
static ProductSearchResults.GroupedResult |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProductSearchResults.GroupedResult |
parseFrom(byte[] data) |
static ProductSearchResults.GroupedResult |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProductSearchResults.GroupedResult |
parseFrom(ByteBuffer data) |
static ProductSearchResults.GroupedResult |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProductSearchResults.GroupedResult |
parseFrom(com.google.protobuf.ByteString data) |
static ProductSearchResults.GroupedResult |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProductSearchResults.GroupedResult |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ProductSearchResults.GroupedResult |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProductSearchResults.GroupedResult |
parseFrom(InputStream input) |
static ProductSearchResults.GroupedResult |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ProductSearchResults.GroupedResult> |
parser() |
ProductSearchResults.GroupedResult.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int BOUNDING_POLY_FIELD_NUMBER
public static final int RESULTS_FIELD_NUMBER
public static final int OBJECT_ANNOTATIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasBoundingPoly()
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 1;hasBoundingPoly in interface ProductSearchResults.GroupedResultOrBuilderpublic BoundingPoly getBoundingPoly()
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 1;getBoundingPoly in interface ProductSearchResults.GroupedResultOrBuilderpublic BoundingPolyOrBuilder getBoundingPolyOrBuilder()
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 1;getBoundingPolyOrBuilder in interface ProductSearchResults.GroupedResultOrBuilderpublic List<ProductSearchResults.Result> getResultsList()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 2;getResultsList in interface ProductSearchResults.GroupedResultOrBuilderpublic List<? extends ProductSearchResults.ResultOrBuilder> getResultsOrBuilderList()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 2;getResultsOrBuilderList in interface ProductSearchResults.GroupedResultOrBuilderpublic int getResultsCount()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 2;getResultsCount in interface ProductSearchResults.GroupedResultOrBuilderpublic ProductSearchResults.Result getResults(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 2;getResults in interface ProductSearchResults.GroupedResultOrBuilderpublic ProductSearchResults.ResultOrBuilder getResultsOrBuilder(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 2;getResultsOrBuilder in interface ProductSearchResults.GroupedResultOrBuilderpublic 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;
getObjectAnnotationsList in interface ProductSearchResults.GroupedResultOrBuilderpublic 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;
getObjectAnnotationsOrBuilderList in interface ProductSearchResults.GroupedResultOrBuilderpublic int getObjectAnnotationsCount()
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
getObjectAnnotationsCount in interface ProductSearchResults.GroupedResultOrBuilderpublic 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;
getObjectAnnotations in interface ProductSearchResults.GroupedResultOrBuilderpublic 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;
getObjectAnnotationsOrBuilder in interface ProductSearchResults.GroupedResultOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ProductSearchResults.GroupedResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProductSearchResults.GroupedResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProductSearchResults.GroupedResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProductSearchResults.GroupedResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProductSearchResults.GroupedResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProductSearchResults.GroupedResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProductSearchResults.GroupedResult parseFrom(InputStream input) throws IOException
IOExceptionpublic static ProductSearchResults.GroupedResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProductSearchResults.GroupedResult parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ProductSearchResults.GroupedResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProductSearchResults.GroupedResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ProductSearchResults.GroupedResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ProductSearchResults.GroupedResult.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ProductSearchResults.GroupedResult.Builder newBuilder()
public static ProductSearchResults.GroupedResult.Builder newBuilder(ProductSearchResults.GroupedResult prototype)
public ProductSearchResults.GroupedResult.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ProductSearchResults.GroupedResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ProductSearchResults.GroupedResult getDefaultInstance()
public static com.google.protobuf.Parser<ProductSearchResults.GroupedResult> parser()
public com.google.protobuf.Parser<ProductSearchResults.GroupedResult> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ProductSearchResults.GroupedResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.