public static interface ProductSearchResults.ProductInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getImageUri()
The URI of the image which matched the query image.
|
com.google.protobuf.ByteString |
getImageUriBytes()
The URI of the image which matched the query image.
|
String |
getProductId()
Product ID.
|
com.google.protobuf.ByteString |
getProductIdBytes()
Product ID.
|
float |
getScore()
A confidence level on the match, ranging from 0 (no confidence) to
1 (full confidence).
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getProductId()
Product ID.
string product_id = 1;com.google.protobuf.ByteString getProductIdBytes()
Product ID.
string product_id = 1;String getImageUri()
The URI of the image which matched the query image. This field is returned only if `view` is set to `FULL` in the request.
string image_uri = 2;com.google.protobuf.ByteString getImageUriBytes()
The URI of the image which matched the query image. This field is returned only if `view` is set to `FULL` in the request.
string image_uri = 2;float getScore()
A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence). This field is returned only if `view` is set to `FULL` in the request.
float score = 3;Copyright © 2020 Google LLC. All rights reserved.