Interface ProductSearchResults.ProductInfoOrBuilder (2.1.1)

public static interface ProductSearchResults.ProductInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getImageUri()

public abstract 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;

Returns
TypeDescription
String

The imageUri.

getImageUriBytes()

public abstract 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;

Returns
TypeDescription
ByteString

The bytes for imageUri.

getProductId()

public abstract String getProductId()

Product ID.

string product_id = 1;

Returns
TypeDescription
String

The productId.

getProductIdBytes()

public abstract ByteString getProductIdBytes()

Product ID.

string product_id = 1;

Returns
TypeDescription
ByteString

The bytes for productId.

getScore()

public abstract 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;

Returns
TypeDescription
float

The score.