Enum CatalogAttribute.AttributeType (2.44.0)

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

The type of an attribute.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
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

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