Enum Weight.WeightUnit (2.40.0)

public enum Weight.WeightUnit extends Enum<Weight.WeightUnit> implements ProtocolMessageEnum

The weight unit.

Protobuf enum google.shopping.type.Weight.WeightUnit

Implements

ProtocolMessageEnum

Static Fields

Name Description
KILOGRAM

kg unit.

KILOGRAM = 2;

KILOGRAM_VALUE

kg unit.

KILOGRAM = 2;

POUND

lb unit.

POUND = 1;

POUND_VALUE

lb unit.

POUND = 1;

UNRECOGNIZED
WEIGHT_UNIT_UNSPECIFIED

unit unspecified

WEIGHT_UNIT_UNSPECIFIED = 0;

WEIGHT_UNIT_UNSPECIFIED_VALUE

unit unspecified

WEIGHT_UNIT_UNSPECIFIED = 0;

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