Interface ProximityInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProximityInfo
,ProximityInfo.Builder
public interface ProximityInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddressInfo
getAddress()
Full address.AddressInfoOrBuilder
getAddressOrBuilder()
Full address.GeoPointInfo
getGeoPoint()
Latitude and longitude.GeoPointInfoOrBuilder
getGeoPointOrBuilder()
Latitude and longitude.double
getRadius()
The radius of the proximity.ProximityRadiusUnitsEnum.ProximityRadiusUnits
getRadiusUnits()
The unit of measurement of the radius.int
getRadiusUnitsValue()
The unit of measurement of the radius.boolean
hasAddress()
Full address.boolean
hasGeoPoint()
Latitude and longitude.boolean
hasRadius()
The radius of the proximity.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasGeoPoint
boolean hasGeoPoint()
Latitude and longitude.
.google.ads.googleads.v14.common.GeoPointInfo geo_point = 1;
- Returns:
- Whether the geoPoint field is set.
-
getGeoPoint
GeoPointInfo getGeoPoint()
Latitude and longitude.
.google.ads.googleads.v14.common.GeoPointInfo geo_point = 1;
- Returns:
- The geoPoint.
-
getGeoPointOrBuilder
GeoPointInfoOrBuilder getGeoPointOrBuilder()
Latitude and longitude.
.google.ads.googleads.v14.common.GeoPointInfo geo_point = 1;
-
hasRadius
boolean hasRadius()
The radius of the proximity.
optional double radius = 5;
- Returns:
- Whether the radius field is set.
-
getRadius
double getRadius()
The radius of the proximity.
optional double radius = 5;
- Returns:
- The radius.
-
getRadiusUnitsValue
int getRadiusUnitsValue()
The unit of measurement of the radius. Default is KILOMETERS.
.google.ads.googleads.v14.enums.ProximityRadiusUnitsEnum.ProximityRadiusUnits radius_units = 3;
- Returns:
- The enum numeric value on the wire for radiusUnits.
-
getRadiusUnits
ProximityRadiusUnitsEnum.ProximityRadiusUnits getRadiusUnits()
The unit of measurement of the radius. Default is KILOMETERS.
.google.ads.googleads.v14.enums.ProximityRadiusUnitsEnum.ProximityRadiusUnits radius_units = 3;
- Returns:
- The radiusUnits.
-
hasAddress
boolean hasAddress()
Full address.
.google.ads.googleads.v14.common.AddressInfo address = 4;
- Returns:
- Whether the address field is set.
-
getAddress
AddressInfo getAddress()
Full address.
.google.ads.googleads.v14.common.AddressInfo address = 4;
- Returns:
- The address.
-
getAddressOrBuilder
AddressInfoOrBuilder getAddressOrBuilder()
Full address.
.google.ads.googleads.v14.common.AddressInfo address = 4;
-
-