Interface UserLocationViewOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UserLocationView
,UserLocationView.Builder
public interface UserLocationViewOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getCountryCriterionId()
Output only.java.lang.String
getResourceName()
Output only.com.google.protobuf.ByteString
getResourceNameBytes()
Output only.boolean
getTargetingLocation()
Output only.boolean
hasCountryCriterionId()
Output only.boolean
hasTargetingLocation()
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 user location view. UserLocation view resource names have the form: `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}`
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 user location view. UserLocation view resource names have the form: `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}`
string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for resourceName.
-
hasCountryCriterionId
boolean hasCountryCriterionId()
Output only. Criterion Id for the country.
optional int64 country_criterion_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the countryCriterionId field is set.
-
getCountryCriterionId
long getCountryCriterionId()
Output only. Criterion Id for the country.
optional int64 country_criterion_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The countryCriterionId.
-
hasTargetingLocation
boolean hasTargetingLocation()
Output only. Indicates whether location was targeted or not.
optional bool targeting_location = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the targetingLocation field is set.
-
getTargetingLocation
boolean getTargetingLocation()
Output only. Indicates whether location was targeted or not.
optional bool targeting_location = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The targetingLocation.
-
-