Interface PlannableLocationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PlannableLocation, PlannableLocation.Builder

public interface PlannableLocationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The ISO-3166-1 alpha-2 country code that is associated with the location.
    com.google.protobuf.ByteString
    The ISO-3166-1 alpha-2 country code that is associated with the location.
    The location identifier.
    com.google.protobuf.ByteString
    The location identifier.
    The location's type.
    com.google.protobuf.ByteString
    The location's type.
    The unique location name in English.
    com.google.protobuf.ByteString
    The unique location name in English.
    long
    The parent country (not present if location is a country).
    boolean
    The ISO-3166-1 alpha-2 country code that is associated with the location.
    boolean
    The location identifier.
    boolean
    The location's type.
    boolean
    The unique location name in English.
    boolean
    The parent country (not present if location is a country).

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasId

      boolean hasId()
       The location identifier.
       
      optional string id = 4;
      Returns:
      Whether the id field is set.
    • getId

      String getId()
       The location identifier.
       
      optional string id = 4;
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
       The location identifier.
       
      optional string id = 4;
      Returns:
      The bytes for id.
    • hasName

      boolean hasName()
       The unique location name in English.
       
      optional string name = 5;
      Returns:
      Whether the name field is set.
    • getName

      String getName()
       The unique location name in English.
       
      optional string name = 5;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The unique location name in English.
       
      optional string name = 5;
      Returns:
      The bytes for name.
    • hasParentCountryId

      boolean hasParentCountryId()
       The parent country (not present if location is a country).
       If present, will always be a GeoTargetConstant ID. Additional information
       such as country name is provided by
       [ReachPlanService.ListPlannableLocations][google.ads.googleads.v18.services.ReachPlanService.ListPlannableLocations]
       or GoogleAdsService.Search/SearchStream.
       
      optional int64 parent_country_id = 6;
      Returns:
      Whether the parentCountryId field is set.
    • getParentCountryId

      long getParentCountryId()
       The parent country (not present if location is a country).
       If present, will always be a GeoTargetConstant ID. Additional information
       such as country name is provided by
       [ReachPlanService.ListPlannableLocations][google.ads.googleads.v18.services.ReachPlanService.ListPlannableLocations]
       or GoogleAdsService.Search/SearchStream.
       
      optional int64 parent_country_id = 6;
      Returns:
      The parentCountryId.
    • hasCountryCode

      boolean hasCountryCode()
       The ISO-3166-1 alpha-2 country code that is associated with the location.
       
      optional string country_code = 7;
      Returns:
      Whether the countryCode field is set.
    • getCountryCode

      String getCountryCode()
       The ISO-3166-1 alpha-2 country code that is associated with the location.
       
      optional string country_code = 7;
      Returns:
      The countryCode.
    • getCountryCodeBytes

      com.google.protobuf.ByteString getCountryCodeBytes()
       The ISO-3166-1 alpha-2 country code that is associated with the location.
       
      optional string country_code = 7;
      Returns:
      The bytes for countryCode.
    • hasLocationType

      boolean hasLocationType()
       The location's type. Location types correspond to target_type returned by
       searching location type in GoogleAdsService.Search/SearchStream.
       
      optional string location_type = 8;
      Returns:
      Whether the locationType field is set.
    • getLocationType

      String getLocationType()
       The location's type. Location types correspond to target_type returned by
       searching location type in GoogleAdsService.Search/SearchStream.
       
      optional string location_type = 8;
      Returns:
      The locationType.
    • getLocationTypeBytes

      com.google.protobuf.ByteString getLocationTypeBytes()
       The location's type. Location types correspond to target_type returned by
       searching location type in GoogleAdsService.Search/SearchStream.
       
      optional string location_type = 8;
      Returns:
      The bytes for locationType.