Class Product (2.1.2)

public final class Product extends GeneratedMessageV3 implements ProductOrBuilder

A Product contains ReferenceImages.

Protobuf type google.cloud.vision.v1.Product

Implements

ProductOrBuilder

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCT_CATEGORY_FIELD_NUMBER

public static final int PRODUCT_CATEGORY_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCT_LABELS_FIELD_NUMBER

public static final int PRODUCT_LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Product getDefaultInstance()
Returns
TypeDescription
Product

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Product.Builder newBuilder()
Returns
TypeDescription
Product.Builder

newBuilder(Product prototype)

public static Product.Builder newBuilder(Product prototype)
Parameter
NameDescription
prototypeProduct
Returns