Interface PolicyTopicConstraint.CountryConstraintListOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PolicyTopicConstraint.CountryConstraintList,PolicyTopicConstraint.CountryConstraintList.Builder
- Enclosing class:
- PolicyTopicConstraint
public static interface PolicyTopicConstraint.CountryConstraintListOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCountries(int index) Countries in which serving is restricted.intCountries in which serving is restricted.Countries in which serving is restricted.getCountriesOrBuilder(int index) Countries in which serving is restricted.Countries in which serving is restricted.intTotal number of countries targeted by the resource.booleanTotal number of countries targeted by the resource.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
-
hasTotalTargetedCountries
boolean hasTotalTargetedCountries()Total number of countries targeted by the resource.
optional int32 total_targeted_countries = 3;- Returns:
- Whether the totalTargetedCountries field is set.
-
getTotalTargetedCountries
int getTotalTargetedCountries()Total number of countries targeted by the resource.
optional int32 total_targeted_countries = 3;- Returns:
- The totalTargetedCountries.
-
getCountriesList
List<PolicyTopicConstraint.CountryConstraint> getCountriesList()Countries in which serving is restricted.
repeated .google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraint countries = 2; -
getCountries
Countries in which serving is restricted.
repeated .google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraint countries = 2; -
getCountriesCount
int getCountriesCount()Countries in which serving is restricted.
repeated .google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraint countries = 2; -
getCountriesOrBuilderList
List<? extends PolicyTopicConstraint.CountryConstraintOrBuilder> getCountriesOrBuilderList()Countries in which serving is restricted.
repeated .google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraint countries = 2; -
getCountriesOrBuilder
Countries in which serving is restricted.
repeated .google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraint countries = 2;
-