public static interface ProductSearchResults.ResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getImage()
The resource name of the image from the product that is the closest match
to the query.
|
com.google.protobuf.ByteString |
getImageBytes()
The resource name of the image from the product that is the closest match
to the query.
|
Product |
getProduct()
The Product.
|
ProductOrBuilder |
getProductOrBuilder()
The Product.
|
float |
getScore()
A confidence level on the match, ranging from 0 (no confidence) to
1 (full confidence).
|
boolean |
hasProduct()
The Product.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasProduct()
The Product.
.google.cloud.vision.v1p3beta1.Product product = 1;Product getProduct()
The Product.
.google.cloud.vision.v1p3beta1.Product product = 1;ProductOrBuilder getProductOrBuilder()
The Product.
.google.cloud.vision.v1p3beta1.Product product = 1;float getScore()
A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).
float score = 2;String getImage()
The resource name of the image from the product that is the closest match to the query.
string image = 3;com.google.protobuf.ByteString getImageBytes()
The resource name of the image from the product that is the closest match to the query.
string image = 3;Copyright © 2022 Google LLC. All rights reserved.