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 TypeMethodDescriptionUpper-case, two-letter codes as defined by ISO-3166.com.google.protobuf.ByteStringUpper-case, two-letter codes as defined by ISO-3166.The phone number.com.google.protobuf.ByteStringThe phone number.The type of the phone number.intThe type of the phone number.booleanUpper-case, two-letter codes as defined by ISO-3166.booleanThe phone number.booleanThe type of the phone number.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
GlsPhoneNumberTypeEnum.GlsPhoneNumberType getPhoneNumberType()The type of the phone number.
optional .google.ads.googleads.v24.enums.GlsPhoneNumberTypeEnum.GlsPhoneNumberType phone_number_type = 3;- Returns:
- The phoneNumberType.
-