public enum Distance.Unit extends Enum<Distance.Unit> implements ProtocolMessageEnum
Unit can differ based on country, it is parameterized to include miles and kilometers.
Protobuf enum google.shopping.merchant.accounts.v1beta.Distance.Unit
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
KILOMETERS |
Unit in kilometers |
KILOMETERS_VALUE |
Unit in kilometers |
MILES |
Unit in miles |
MILES_VALUE |
Unit in miles |
UNIT_UNSPECIFIED |
Unit unspecified |
UNIT_UNSPECIFIED_VALUE |
Unit unspecified |
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() |