Enum Distance.Unit (0.10.0)

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

ProtocolMessageEnum

Static Fields

Name Description
KILOMETERS

Unit in kilometers

KILOMETERS = 2;

KILOMETERS_VALUE

Unit in kilometers

KILOMETERS = 2;

MILES

Unit in miles

MILES = 1;

MILES_VALUE

Unit in miles

MILES = 1;

UNIT_UNSPECIFIED

Unit unspecified

UNIT_UNSPECIFIED = 0;

UNIT_UNSPECIFIED_VALUE

Unit unspecified

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