Interface ProductSearchResultsOrBuilder (2.0.29)

public interface ProductSearchResultsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCategory()

public abstract ProductSearchCategory getCategory()

Product category. [Deprecated] Use product_category.

.google.cloud.vision.v1p3beta1.ProductSearchCategory category = 1;

Returns
Type Description
ProductSearchCategory

The category.

getCategoryValue()

public abstract int getCategoryValue()

Product category. [Deprecated] Use product_category.

.google.cloud.vision.v1p3beta1.ProductSearchCategory category = 1;

Returns
Type Description
int

The enum numeric value on the wire for category.

getIndexTime()

public abstract Timestamp getIndexTime()

Timestamp of the index which provided these results. Changes made after this time are not reflected in the current results.

.google.protobuf.Timestamp index_time = 2;

Returns
Type Description
Timestamp

The indexTime.

getIndexTimeOrBuilder()

public abstract TimestampOrBuilder getIndexTimeOrBuilder()

Timestamp of the index which provided these results. Changes made after this time are not reflected in the current results.

.google.protobuf.Timestamp index_time = 2;

Returns
Type Description
TimestampOrBuilder

getProductCategory()

public abstract String getProductCategory()

Product category. Supported values are bag and shoe. [Deprecated] product_category is provided in each Product.

string product_category = 4;

Returns
Type Description
String

The productCategory.

getProductCategoryBytes()

public abstract ByteString getProductCategoryBytes()

Product category. Supported values are bag and shoe. [Deprecated] product_category is provided in each Product.

string product_category = 4;

Returns
Type Description
ByteString

The bytes for productCategory.

getProducts(int index)

public abstract ProductSearchResults.ProductInfo getProducts(int index)

List of detected products.

repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;

Parameter
Name Description
index int
Returns
Type Description
ProductSearchResults.ProductInfo

getProductsCount()

public abstract int getProductsCount()

List of detected products.

repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;

Returns
Type Description
int

getProductsList()

public abstract List<ProductSearchResults.ProductInfo> getProductsList()

List of detected products.

repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;

Returns
Type Description
List<ProductInfo>

getProductsOrBuilder(int index)

public abstract ProductSearchResults.ProductInfoOrBuilder getProductsOrBuilder(int index)

List of detected products.

repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;

Parameter
Name Description
index int
Returns
Type Description
ProductSearchResults.ProductInfoOrBuilder

getProductsOrBuilderList()

public abstract List<? extends ProductSearchResults.ProductInfoOrBuilder> getProductsOrBuilderList()

List of detected products.

repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo products = 3;

Returns
Type Description
List<? extends com.google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfoOrBuilder>

getResults(int index)

public abstract ProductSearchResults.Result getResults(int index)

List of results, one for each product match.

repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;

Parameter
Name Description
index int
Returns
Type Description
ProductSearchResults.Result

getResultsCount()

public abstract int getResultsCount()

List of results, one for each product match.

repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;

Returns
Type Description
int

getResultsList()

public abstract List<ProductSearchResults.Result> getResultsList()

List of results, one for each product match.

repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;

Returns
Type Description
List<Result>

getResultsOrBuilder(int index)

public abstract ProductSearchResults.ResultOrBuilder getResultsOrBuilder(int index)

List of results, one for each product match.

repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;

Parameter
Name Description
index int
Returns
Type Description
ProductSearchResults.ResultOrBuilder

getResultsOrBuilderList()

public abstract List<? extends ProductSearchResults.ResultOrBuilder> getResultsOrBuilderList()

List of results, one for each product match.

repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 5;

Returns
Type Description
List<? extends com.google.cloud.vision.v1p3beta1.ProductSearchResults.ResultOrBuilder>

hasIndexTime()

public abstract boolean hasIndexTime()

Timestamp of the index which provided these results. Changes made after this time are not reflected in the current results.

.google.protobuf.Timestamp index_time = 2;

Returns
Type Description
boolean

Whether the indexTime field is set.