Interface GeoTargetConstantOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GeoTargetConstant,GeoTargetConstant.Builder
public interface GeoTargetConstantOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCanonicalName()Output only.com.google.protobuf.ByteStringgetCanonicalNameBytes()Output only.java.lang.StringgetCountryCode()Output only.com.google.protobuf.ByteStringgetCountryCodeBytes()Output only.longgetId()Output only.java.lang.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.java.lang.StringgetParentGeoTarget()Output only.com.google.protobuf.ByteStringgetParentGeoTargetBytes()Output only.java.lang.StringgetResourceName()Output only.com.google.protobuf.ByteStringgetResourceNameBytes()Output only.GeoTargetConstantStatusEnum.GeoTargetConstantStatusgetStatus()Output only.intgetStatusValue()Output only.java.lang.StringgetTargetType()Output only.com.google.protobuf.ByteStringgetTargetTypeBytes()Output only.booleanhasCanonicalName()Output only.booleanhasCountryCode()Output only.booleanhasId()Output only.booleanhasName()Output only.booleanhasParentGeoTarget()Output only.booleanhasTargetType()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResourceName
java.lang.String getResourceName()
Output only. The resource name of the geo target constant. Geo target constant resource names have the form: `geoTargetConstants/{geo_target_constant_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()
Output only. The resource name of the geo target constant. Geo target constant resource names have the form: `geoTargetConstants/{geo_target_constant_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for resourceName.
-
hasId
boolean hasId()
Output only. The ID of the geo target constant.
optional int64 id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the id field is set.
-
getId
long getId()
Output only. The ID of the geo target constant.
optional int64 id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The id.
-
hasName
boolean hasName()
Output only. Geo target constant English name.
optional string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the name field is set.
-
getName
java.lang.String getName()
Output only. Geo target constant English name.
optional string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. Geo target constant English name.
optional string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
hasCountryCode
boolean hasCountryCode()
Output only. The ISO-3166-1 alpha-2 country code that is associated with the target.
optional string country_code = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the countryCode field is set.
-
getCountryCode
java.lang.String getCountryCode()
Output only. The ISO-3166-1 alpha-2 country code that is associated with the target.
optional string country_code = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The countryCode.
-
getCountryCodeBytes
com.google.protobuf.ByteString getCountryCodeBytes()
Output only. The ISO-3166-1 alpha-2 country code that is associated with the target.
optional string country_code = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for countryCode.
-
hasTargetType
boolean hasTargetType()
Output only. Geo target constant target type.
optional string target_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the targetType field is set.
-
getTargetType
java.lang.String getTargetType()
Output only. Geo target constant target type.
optional string target_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The targetType.
-
getTargetTypeBytes
com.google.protobuf.ByteString getTargetTypeBytes()
Output only. Geo target constant target type.
optional string target_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for targetType.
-
getStatusValue
int getStatusValue()
Output only. Geo target constant status.
.google.ads.googleads.v10.enums.GeoTargetConstantStatusEnum.GeoTargetConstantStatus status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for status.
-
getStatus
GeoTargetConstantStatusEnum.GeoTargetConstantStatus getStatus()
Output only. Geo target constant status.
.google.ads.googleads.v10.enums.GeoTargetConstantStatusEnum.GeoTargetConstantStatus status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The status.
-
hasCanonicalName
boolean hasCanonicalName()
Output only. The fully qualified English name, consisting of the target's name and that of its parent and country.
optional string canonical_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the canonicalName field is set.
-
getCanonicalName
java.lang.String getCanonicalName()
Output only. The fully qualified English name, consisting of the target's name and that of its parent and country.
optional string canonical_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The canonicalName.
-
getCanonicalNameBytes
com.google.protobuf.ByteString getCanonicalNameBytes()
Output only. The fully qualified English name, consisting of the target's name and that of its parent and country.
optional string canonical_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for canonicalName.
-
hasParentGeoTarget
boolean hasParentGeoTarget()
Output only. The resource name of the parent geo target constant. Geo target constant resource names have the form: `geoTargetConstants/{parent_geo_target_constant_id}`optional string parent_geo_target = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- Whether the parentGeoTarget field is set.
-
getParentGeoTarget
java.lang.String getParentGeoTarget()
Output only. The resource name of the parent geo target constant. Geo target constant resource names have the form: `geoTargetConstants/{parent_geo_target_constant_id}`optional string parent_geo_target = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The parentGeoTarget.
-
getParentGeoTargetBytes
com.google.protobuf.ByteString getParentGeoTargetBytes()
Output only. The resource name of the parent geo target constant. Geo target constant resource names have the form: `geoTargetConstants/{parent_geo_target_constant_id}`optional string parent_geo_target = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parentGeoTarget.
-
-