public static interface ProductSearchResults.ResultOrBuilder extends 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.
|
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, hasOneof
isInitialized
boolean hasProduct()
The Product.
.google.cloud.vision.v1p4beta1.Product product = 1;
Product getProduct()
The Product.
.google.cloud.vision.v1p4beta1.Product product = 1;
ProductOrBuilder getProductOrBuilder()
The Product.
.google.cloud.vision.v1p4beta1.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;
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.