Enum Product.Availability (2.48.0)

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.v2alpha.Product.Availability

Implements

ProtocolMessageEnum

Static Fields

Name Description
AVAILABILITY_UNSPECIFIED

Default product availability. Default to Availability.IN_STOCK if unset.

AVAILABILITY_UNSPECIFIED = 0;

AVAILABILITY_UNSPECIFIED_VALUE

Default product availability. Default to Availability.IN_STOCK if unset.

AVAILABILITY_UNSPECIFIED = 0;

BACKORDER

Product that is back-ordered (i.e. temporarily out of stock).

BACKORDER = 4;

BACKORDER_VALUE

Product that is back-ordered (i.e. temporarily out of stock).

BACKORDER = 4;

IN_STOCK

Product in stock.

IN_STOCK = 1;

IN_STOCK_VALUE

Product in stock.

IN_STOCK = 1;

OUT_OF_STOCK

Product out of stock.

OUT_OF_STOCK = 2;

OUT_OF_STOCK_VALUE

Product out of stock.

OUT_OF_STOCK = 2;

PREORDER

Product that is in pre-order state.

PREORDER = 3;

PREORDER_VALUE

Product that is in pre-order state.

PREORDER = 3;

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()