public enum Product.Type extends Enum<Product.Type> implements ProtocolMessageEnum
The type of this product.
Protobuf enum google.cloud.retail.v2beta.Product.Type
Implements
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
COLLECTION | The collection type. Collection products are bundled Type.PRIMARY Products or Type.VARIANT Products that are sold together, such as a jewelry set with necklaces, earrings and rings, etc. |
COLLECTION_VALUE | The collection type. Collection products are bundled Type.PRIMARY Products or Type.VARIANT Products that are sold together, such as a jewelry set with necklaces, earrings and rings, etc. |
PRIMARY | The primary type. As the primary unit for predicting, indexing and search serving, a Type.PRIMARY Product is grouped with multiple Type.VARIANT Products. |
PRIMARY_VALUE | The primary type. As the primary unit for predicting, indexing and search serving, a Type.PRIMARY Product is grouped with multiple Type.VARIANT Products. |
TYPE_UNSPECIFIED | Default value. Default to Catalog.product_level_config.ingestion_product_type if unset. |
TYPE_UNSPECIFIED_VALUE | Default value. Default to Catalog.product_level_config.ingestion_product_type if unset. |
UNRECOGNIZED | |
VARIANT | The variant type. Type.VARIANT Products usually share some common attributes on the same Type.PRIMARY Products, but they have variant attributes like different colors, sizes and prices, etc. |
VARIANT_VALUE | The variant type. Type.VARIANT Products usually share some common attributes on the same Type.PRIMARY Products, but they have variant attributes like different colors, sizes and prices, etc. |
Static Methods | |
---|---|
Name | Description |
forNumber(int value) | |
getDescriptor() | |
internalGetValueMap() | |
valueOf(Descriptors.EnumValueDescriptor desc) | |
valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
valueOf(String name) | |
values() |
Methods | |
---|---|
Name | Description |
getDescriptorForType() | |
getNumber() | |
getValueDescriptor() |