Enum CatalogAttribute.AttributeType (2.5.1)

public enum CatalogAttribute.AttributeType extends Enum<CatalogAttribute.AttributeType> implements ProtocolMessageEnum

The type of an attribute.

Protobuf enum google.cloud.retail.v2alpha.CatalogAttribute.AttributeType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
NUMERICAL

Numerical attribute.

NUMERICAL = 2;

NUMERICAL_VALUE

Numerical attribute.

NUMERICAL = 2;

TEXTUAL

Textual attribute.

TEXTUAL = 1;

TEXTUAL_VALUE

Textual attribute.

TEXTUAL = 1;

UNKNOWN

The type of the attribute is unknown. Used when type cannot be derived from attribute that is not in_use.

UNKNOWN = 0;

UNKNOWN_VALUE

The type of the attribute is unknown. Used when type cannot be derived from attribute that is not in_use.

UNKNOWN = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()