Enum ProductCatalogItem.StockState (0.56.0)

public enum ProductCatalogItem.StockState extends Enum<ProductCatalogItem.StockState> implements ProtocolMessageEnum

Item stock state. If this field is unspecified, the item is assumed to be in stock.

Protobuf enum google.cloud.recommendationengine.v1beta1.ProductCatalogItem.StockState

Implements

ProtocolMessageEnum

Static Fields

Name Description
BACKORDER

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

BACKORDER = 3;

BACKORDER_VALUE

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

BACKORDER = 3;

IN_STOCK

Item in stock.

IN_STOCK = 0;

IN_STOCK_VALUE

Item in stock.

IN_STOCK = 0;

OUT_OF_STOCK

Item out of stock.

OUT_OF_STOCK = 1;

OUT_OF_STOCK_VALUE

Item out of stock.

OUT_OF_STOCK = 1;

PREORDER

Item that is in pre-order state.

PREORDER = 2;

PREORDER_VALUE

Item that is in pre-order state.

PREORDER = 2;

STOCK_STATE_UNSPECIFIED

Default item stock status. Should never be used.

STOCK_STATE_UNSPECIFIED = 0;

STOCK_STATE_UNSPECIFIED_VALUE

Default item stock status. Should never be used.

STOCK_STATE_UNSPECIFIED = 0;

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