Interface CriterionCategoryLocaleAvailabilityOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CriterionCategoryLocaleAvailability,CriterionCategoryLocaleAvailability.Builder
public interface CriterionCategoryLocaleAvailabilityOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionFormat of the locale availability.intFormat of the locale availability.The ISO-3166-1 alpha-2 country code associated with the category.com.google.protobuf.ByteStringThe ISO-3166-1 alpha-2 country code associated with the category.ISO 639-1 code of the language associated with the category.com.google.protobuf.ByteStringISO 639-1 code of the language associated with the category.booleanThe ISO-3166-1 alpha-2 country code associated with the category.booleanISO 639-1 code of the language associated with the category.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
-
getAvailabilityModeValue
int getAvailabilityModeValue()Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and language will be empty), COUNTRY (only country will be set), LANGUAGE (only language wil be set), COUNTRY_AND_LANGUAGE (both country and language will be set).
.google.ads.googleads.v18.enums.CriterionCategoryLocaleAvailabilityModeEnum.CriterionCategoryLocaleAvailabilityMode availability_mode = 1;- Returns:
- The enum numeric value on the wire for availabilityMode.
-
getAvailabilityMode
CriterionCategoryLocaleAvailabilityModeEnum.CriterionCategoryLocaleAvailabilityMode getAvailabilityMode()Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and language will be empty), COUNTRY (only country will be set), LANGUAGE (only language wil be set), COUNTRY_AND_LANGUAGE (both country and language will be set).
.google.ads.googleads.v18.enums.CriterionCategoryLocaleAvailabilityModeEnum.CriterionCategoryLocaleAvailabilityMode availability_mode = 1;- Returns:
- The availabilityMode.
-
hasCountryCode
boolean hasCountryCode()The ISO-3166-1 alpha-2 country code associated with the category.
optional string country_code = 4;- Returns:
- Whether the countryCode field is set.
-
getCountryCode
String getCountryCode()The ISO-3166-1 alpha-2 country code associated with the category.
optional string country_code = 4;- Returns:
- The countryCode.
-
getCountryCodeBytes
com.google.protobuf.ByteString getCountryCodeBytes()The ISO-3166-1 alpha-2 country code associated with the category.
optional string country_code = 4;- Returns:
- The bytes for countryCode.
-
hasLanguageCode
boolean hasLanguageCode()ISO 639-1 code of the language associated with the category.
optional string language_code = 5;- Returns:
- Whether the languageCode field is set.
-
getLanguageCode
String getLanguageCode()ISO 639-1 code of the language associated with the category.
optional string language_code = 5;- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.ByteString getLanguageCodeBytes()ISO 639-1 code of the language associated with the category.
optional string language_code = 5;- Returns:
- The bytes for languageCode.
-