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
TypeDescription
ProductSearchCategory

The category.

getCategoryValue()

public abstract int getCategoryValue()

Product category. [Deprecated] Use product_category.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ProductSearchResults.ProductInfo

getProductsCount()

public abstract int getProductsCount()

List of detected products.

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

Returns
TypeDescription
int

getProductsList()

public abstract List<ProductSearchResults.ProductInfo> getProductsList()

List of detected products.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ProductSearchResults.ProductInfoOrBuilder

getProductsOrBuilderList()

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

List of detected products.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the indexTime field is set.