public enum Weight.WeightUnit extends Enum<Weight.WeightUnit> implements ProtocolMessageEnum
The weight unit.
Protobuf enum google.shopping.type.Weight.WeightUnit
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
KILOGRAM |
kg unit. |
KILOGRAM_VALUE |
kg unit. |
POUND |
lb unit. |
POUND_VALUE |
lb unit. |
UNRECOGNIZED |
|
WEIGHT_UNIT_UNSPECIFIED |
unit unspecified |
WEIGHT_UNIT_UNSPECIFIED_VALUE |
unit unspecified |
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() |