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 AddressInfogetAddress()Full address.AddressInfoOrBuildergetAddressOrBuilder()Full address.GeoPointInfogetGeoPoint()Latitude and longitude.GeoPointInfoOrBuildergetGeoPointOrBuilder()Latitude and longitude.doublegetRadius()The radius of the proximity.ProximityRadiusUnitsEnum.ProximityRadiusUnitsgetRadiusUnits()The unit of measurement of the radius.intgetRadiusUnitsValue()The unit of measurement of the radius.booleanhasAddress()Full address.booleanhasGeoPoint()Latitude and longitude.booleanhasRadius()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.v10.common.GeoPointInfo geo_point = 1;- Returns:
- Whether the geoPoint field is set.
-
getGeoPoint
GeoPointInfo getGeoPoint()
Latitude and longitude.
.google.ads.googleads.v10.common.GeoPointInfo geo_point = 1;- Returns:
- The geoPoint.
-
getGeoPointOrBuilder
GeoPointInfoOrBuilder getGeoPointOrBuilder()
Latitude and longitude.
.google.ads.googleads.v10.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.v10.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.v10.enums.ProximityRadiusUnitsEnum.ProximityRadiusUnits radius_units = 3;- Returns:
- The radiusUnits.
-
hasAddress
boolean hasAddress()
Full address.
.google.ads.googleads.v10.common.AddressInfo address = 4;- Returns:
- Whether the address field is set.
-
getAddress
AddressInfo getAddress()
Full address.
.google.ads.googleads.v10.common.AddressInfo address = 4;- Returns:
- The address.
-
getAddressOrBuilder
AddressInfoOrBuilder getAddressOrBuilder()
Full address.
.google.ads.googleads.v10.common.AddressInfo address = 4;
-
-