Interface Region.RadiusAreaOrBuilder (1.16.0)

public static interface Region.RadiusAreaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLatLng()

public abstract LatLng getLatLng()

Required. The center of the radius area. It represents a latitude/longitude pair in decimal degrees format.

.google.type.LatLng lat_lng = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.LatLng

The latLng.

getLatLngOrBuilder()

public abstract LatLngOrBuilder getLatLngOrBuilder()

Required. The center of the radius area. It represents a latitude/longitude pair in decimal degrees format.

.google.type.LatLng lat_lng = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.LatLngOrBuilder

getRadius()

public abstract double getRadius()

Required. The radius distance of the area.

double radius = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
double

The radius.

getRadiusUnits()

public abstract Region.RadiusArea.RadiusUnits getRadiusUnits()

Optional. The unit of the radius.

.google.shopping.merchant.accounts.v1.Region.RadiusArea.RadiusUnits radius_units = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Region.RadiusArea.RadiusUnits

The radiusUnits.

getRadiusUnitsValue()

public abstract int getRadiusUnitsValue()

Optional. The unit of the radius.

.google.shopping.merchant.accounts.v1.Region.RadiusArea.RadiusUnits radius_units = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for radiusUnits.

getRegionCode()

public abstract String getRegionCode()

Required. CLDR territory code or the country the radius area applies to.

string region_code = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The regionCode.

getRegionCodeBytes()

public abstract ByteString getRegionCodeBytes()

Required. CLDR territory code or the country the radius area applies to.

string region_code = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for regionCode.

hasLatLng()

public abstract boolean hasLatLng()

Required. The center of the radius area. It represents a latitude/longitude pair in decimal degrees format.

.google.type.LatLng lat_lng = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the latLng field is set.