public final class ProductSearchResults extends com.google.protobuf.GeneratedMessageV3 implements ProductSearchResultsOrBuilder
Results for a product search request.Protobuf type
google.cloud.vision.v1p4beta1.ProductSearchResults| Modifier and Type | Class and Description |
|---|---|
static class |
ProductSearchResults.Builder
Results for a product search request.
|
static class |
ProductSearchResults.GroupedResult
Information about the products similar to a single product in a query
image.
|
static interface |
ProductSearchResults.GroupedResultOrBuilder |
static class |
ProductSearchResults.ObjectAnnotation
Prediction for what the object in the bounding box is.
|
static interface |
ProductSearchResults.ObjectAnnotationOrBuilder |
static class |
ProductSearchResults.Result
Information about a product.
|
static interface |
ProductSearchResults.ResultOrBuilder |
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 |
INDEX_TIME_FIELD_NUMBER |
static int |
PRODUCT_GROUPED_RESULTS_FIELD_NUMBER |
static int |
RESULTS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ProductSearchResults |
getDefaultInstance() |
ProductSearchResults |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getIndexTime()
Timestamp of the index which provided these results.
|
com.google.protobuf.TimestampOrBuilder |
getIndexTimeOrBuilder()
Timestamp of the index which provided these results.
|
com.google.protobuf.Parser<ProductSearchResults> |
getParserForType() |
ProductSearchResults.GroupedResult |
getProductGroupedResults(int index)
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.
|
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() |
int |
hashCode() |
boolean |
hasIndexTime()
Timestamp of the index which provided these results.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ProductSearchResults.Builder |
newBuilder() |
static ProductSearchResults.Builder |
newBuilder(ProductSearchResults prototype) |
ProductSearchResults.Builder |
newBuilderForType() |
protected ProductSearchResults.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ProductSearchResults |
parseDelimitedFrom(InputStream input) |
static ProductSearchResults |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProductSearchResults |
parseFrom(byte[] data) |
static ProductSearchResults |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProductSearchResults |
parseFrom(ByteBuffer data) |
static ProductSearchResults |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProductSearchResults |
parseFrom(com.google.protobuf.ByteString data) |
static ProductSearchResults |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProductSearchResults |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ProductSearchResults |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProductSearchResults |
parseFrom(InputStream input) |
static ProductSearchResults |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ProductSearchResults> |
parser() |
ProductSearchResults.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 INDEX_TIME_FIELD_NUMBER
public static final int RESULTS_FIELD_NUMBER
public static final int PRODUCT_GROUPED_RESULTS_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 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 ProductSearchResultsOrBuilderpublic 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;getIndexTime in interface ProductSearchResultsOrBuilderpublic 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;getIndexTimeOrBuilder in interface ProductSearchResultsOrBuilderpublic List<ProductSearchResults.Result> getResultsList()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;getResultsList in interface ProductSearchResultsOrBuilderpublic 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 ProductSearchResultsOrBuilderpublic int getResultsCount()
List of results, one for each product match.
repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 5;getResultsCount in interface ProductSearchResultsOrBuilderpublic 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 ProductSearchResultsOrBuilderpublic 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 ProductSearchResultsOrBuilderpublic 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 ProductSearchResultsOrBuilderpublic 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 ProductSearchResultsOrBuilderpublic 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 ProductSearchResultsOrBuilderpublic 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 ProductSearchResultsOrBuilderpublic 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 ProductSearchResultsOrBuilderpublic 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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProductSearchResults parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProductSearchResults parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProductSearchResults parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProductSearchResults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProductSearchResults parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProductSearchResults parseFrom(InputStream input) throws IOException
IOExceptionpublic static ProductSearchResults parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProductSearchResults parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ProductSearchResults parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProductSearchResults parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ProductSearchResults parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ProductSearchResults.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ProductSearchResults.Builder newBuilder()
public static ProductSearchResults.Builder newBuilder(ProductSearchResults prototype)
public ProductSearchResults.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ProductSearchResults.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ProductSearchResults getDefaultInstance()
public static com.google.protobuf.Parser<ProductSearchResults> parser()
public com.google.protobuf.Parser<ProductSearchResults> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ProductSearchResults getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.