public enum Product.Availability extends Enum<Product.Availability> implements ProtocolMessageEnum
Product availability. If this field is unspecified, the product is assumed to be in stock.
Protobuf enum google.cloud.retail.v2beta.Product.Availability
Implements
ProtocolMessageEnumStatic Fields
Name | Description |
AVAILABILITY_UNSPECIFIED | Default product availability. Default to Availability.IN_STOCK if unset. |
AVAILABILITY_UNSPECIFIED_VALUE | Default product availability. Default to Availability.IN_STOCK if unset. |
BACKORDER | Product that is back-ordered (i.e. temporarily out of stock). |
BACKORDER_VALUE | Product that is back-ordered (i.e. temporarily out of stock). |
IN_STOCK | Product in stock. |
IN_STOCK_VALUE | Product in stock. |
OUT_OF_STOCK | Product out of stock. |
OUT_OF_STOCK_VALUE | Product out of stock. |
PREORDER | Product that is in pre-order state. |
PREORDER_VALUE | Product that is in pre-order state. |
UNRECOGNIZED |
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() |