Interface LocalServicesPhoneNumberOrBuilder

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

@Generated public interface LocalServicesPhoneNumberOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Upper-case, two-letter codes as defined by ISO-3166.
    com.google.protobuf.ByteString
    Upper-case, two-letter codes as defined by ISO-3166.
    The phone number.
    com.google.protobuf.ByteString
    The phone number.
    The type of the phone number.
    int
    The type of the phone number.
    boolean
    Upper-case, two-letter codes as defined by ISO-3166.
    boolean
    The phone number.
    boolean
    The type of the phone number.

    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

    • hasPhoneNumber

      boolean hasPhoneNumber()
       The phone number.
       
      optional string phone_number = 1;
      Returns:
      Whether the phoneNumber field is set.
    • getPhoneNumber

      String getPhoneNumber()
       The phone number.
       
      optional string phone_number = 1;
      Returns:
      The phoneNumber.
    • getPhoneNumberBytes

      com.google.protobuf.ByteString getPhoneNumberBytes()
       The phone number.
       
      optional string phone_number = 1;
      Returns:
      The bytes for phoneNumber.
    • hasCountryCode

      boolean hasCountryCode()
       Upper-case, two-letter codes as defined by ISO-3166.
       
      optional string country_code = 2;
      Returns:
      Whether the countryCode field is set.
    • getCountryCode

      String getCountryCode()
       Upper-case, two-letter codes as defined by ISO-3166.
       
      optional string country_code = 2;
      Returns:
      The countryCode.
    • getCountryCodeBytes

      com.google.protobuf.ByteString getCountryCodeBytes()
       Upper-case, two-letter codes as defined by ISO-3166.
       
      optional string country_code = 2;
      Returns:
      The bytes for countryCode.
    • hasPhoneNumberType

      boolean hasPhoneNumberType()
       The type of the phone number.
       
      optional .google.ads.googleads.v24.enums.GlsPhoneNumberTypeEnum.GlsPhoneNumberType phone_number_type = 3;
      Returns:
      Whether the phoneNumberType field is set.
    • getPhoneNumberTypeValue

      int getPhoneNumberTypeValue()
       The type of the phone number.
       
      optional .google.ads.googleads.v24.enums.GlsPhoneNumberTypeEnum.GlsPhoneNumberType phone_number_type = 3;
      Returns:
      The enum numeric value on the wire for phoneNumberType.
    • getPhoneNumberType

       The type of the phone number.
       
      optional .google.ads.googleads.v24.enums.GlsPhoneNumberTypeEnum.GlsPhoneNumberType phone_number_type = 3;
      Returns:
      The phoneNumberType.