Interface SuggestGeoTargetConstantsRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SuggestGeoTargetConstantsRequest,SuggestGeoTargetConstantsRequest.Builder
public interface SuggestGeoTargetConstantsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCountryCode()Returned geo targets are restricted to this country code.com.google.protobuf.ByteStringgetCountryCodeBytes()Returned geo targets are restricted to this country code.SuggestGeoTargetConstantsRequest.GeoTargetsgetGeoTargets()The geo target constant resource names to filter by.SuggestGeoTargetConstantsRequest.GeoTargetsOrBuildergetGeoTargetsOrBuilder()The geo target constant resource names to filter by.java.lang.StringgetLocale()If possible, returned geo targets are translated using this locale.com.google.protobuf.ByteStringgetLocaleBytes()If possible, returned geo targets are translated using this locale.SuggestGeoTargetConstantsRequest.LocationNamesgetLocationNames()The location names to search by.SuggestGeoTargetConstantsRequest.LocationNamesOrBuildergetLocationNamesOrBuilder()The location names to search by.SuggestGeoTargetConstantsRequest.QueryCasegetQueryCase()booleanhasCountryCode()Returned geo targets are restricted to this country code.booleanhasGeoTargets()The geo target constant resource names to filter by.booleanhasLocale()If possible, returned geo targets are translated using this locale.booleanhasLocationNames()The location names to search by.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasLocale
boolean hasLocale()
If possible, returned geo targets are translated using this locale. If not, en is used by default. This is also used as a hint for returned geo targets.
optional string locale = 6;- Returns:
- Whether the locale field is set.
-
getLocale
java.lang.String getLocale()
If possible, returned geo targets are translated using this locale. If not, en is used by default. This is also used as a hint for returned geo targets.
optional string locale = 6;- Returns:
- The locale.
-
getLocaleBytes
com.google.protobuf.ByteString getLocaleBytes()
If possible, returned geo targets are translated using this locale. If not, en is used by default. This is also used as a hint for returned geo targets.
optional string locale = 6;- Returns:
- The bytes for locale.
-
hasCountryCode
boolean hasCountryCode()
Returned geo targets are restricted to this country code.
optional string country_code = 7;- Returns:
- Whether the countryCode field is set.
-
getCountryCode
java.lang.String getCountryCode()
Returned geo targets are restricted to this country code.
optional string country_code = 7;- Returns:
- The countryCode.
-
getCountryCodeBytes
com.google.protobuf.ByteString getCountryCodeBytes()
Returned geo targets are restricted to this country code.
optional string country_code = 7;- Returns:
- The bytes for countryCode.
-
hasLocationNames
boolean hasLocationNames()
The location names to search by. At most 25 names can be set.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.LocationNames location_names = 1;- Returns:
- Whether the locationNames field is set.
-
getLocationNames
SuggestGeoTargetConstantsRequest.LocationNames getLocationNames()
The location names to search by. At most 25 names can be set.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.LocationNames location_names = 1;- Returns:
- The locationNames.
-
getLocationNamesOrBuilder
SuggestGeoTargetConstantsRequest.LocationNamesOrBuilder getLocationNamesOrBuilder()
The location names to search by. At most 25 names can be set.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.LocationNames location_names = 1;
-
hasGeoTargets
boolean hasGeoTargets()
The geo target constant resource names to filter by.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.GeoTargets geo_targets = 2;- Returns:
- Whether the geoTargets field is set.
-
getGeoTargets
SuggestGeoTargetConstantsRequest.GeoTargets getGeoTargets()
The geo target constant resource names to filter by.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.GeoTargets geo_targets = 2;- Returns:
- The geoTargets.
-
getGeoTargetsOrBuilder
SuggestGeoTargetConstantsRequest.GeoTargetsOrBuilder getGeoTargetsOrBuilder()
The geo target constant resource names to filter by.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.GeoTargets geo_targets = 2;
-
getQueryCase
SuggestGeoTargetConstantsRequest.QueryCase getQueryCase()
-
-