Interface LocationAssetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LocationAsset,LocationAsset.Builder
public interface LocationAssetOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BusinessProfileLocationgetBusinessProfileLocations(int index)The list of business locations for the customer.intgetBusinessProfileLocationsCount()The list of business locations for the customer.java.util.List<BusinessProfileLocation>getBusinessProfileLocationsList()The list of business locations for the customer.BusinessProfileLocationOrBuildergetBusinessProfileLocationsOrBuilder(int index)The list of business locations for the customer.java.util.List<? extends BusinessProfileLocationOrBuilder>getBusinessProfileLocationsOrBuilderList()The list of business locations for the customer.LocationOwnershipTypeEnum.LocationOwnershipTypegetLocationOwnershipType()The type of location ownership.intgetLocationOwnershipTypeValue()The type of location ownership.java.lang.StringgetPlaceId()Place IDs uniquely identify a place in the Google Places database and on Google Maps.com.google.protobuf.ByteStringgetPlaceIdBytes()Place IDs uniquely identify a place in the Google Places database and on Google Maps.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPlaceId
java.lang.String getPlaceId()
Place IDs uniquely identify a place in the Google Places database and on Google Maps. This field is unique for a given customer ID and asset type. See https://developers.google.com/places/web-service/place-id to learn more about Place ID.
string place_id = 1;- Returns:
- The placeId.
-
getPlaceIdBytes
com.google.protobuf.ByteString getPlaceIdBytes()
Place IDs uniquely identify a place in the Google Places database and on Google Maps. This field is unique for a given customer ID and asset type. See https://developers.google.com/places/web-service/place-id to learn more about Place ID.
string place_id = 1;- Returns:
- The bytes for placeId.
-
getBusinessProfileLocationsList
java.util.List<BusinessProfileLocation> getBusinessProfileLocationsList()
The list of business locations for the customer. This will only be returned if the Location Asset is syncing from the Business Profile account. It is possible to have multiple Business Profile listings under the same account that point to the same Place ID.
repeated .google.ads.googleads.v15.common.BusinessProfileLocation business_profile_locations = 2;
-
getBusinessProfileLocations
BusinessProfileLocation getBusinessProfileLocations(int index)
The list of business locations for the customer. This will only be returned if the Location Asset is syncing from the Business Profile account. It is possible to have multiple Business Profile listings under the same account that point to the same Place ID.
repeated .google.ads.googleads.v15.common.BusinessProfileLocation business_profile_locations = 2;
-
getBusinessProfileLocationsCount
int getBusinessProfileLocationsCount()
The list of business locations for the customer. This will only be returned if the Location Asset is syncing from the Business Profile account. It is possible to have multiple Business Profile listings under the same account that point to the same Place ID.
repeated .google.ads.googleads.v15.common.BusinessProfileLocation business_profile_locations = 2;
-
getBusinessProfileLocationsOrBuilderList
java.util.List<? extends BusinessProfileLocationOrBuilder> getBusinessProfileLocationsOrBuilderList()
The list of business locations for the customer. This will only be returned if the Location Asset is syncing from the Business Profile account. It is possible to have multiple Business Profile listings under the same account that point to the same Place ID.
repeated .google.ads.googleads.v15.common.BusinessProfileLocation business_profile_locations = 2;
-
getBusinessProfileLocationsOrBuilder
BusinessProfileLocationOrBuilder getBusinessProfileLocationsOrBuilder(int index)
The list of business locations for the customer. This will only be returned if the Location Asset is syncing from the Business Profile account. It is possible to have multiple Business Profile listings under the same account that point to the same Place ID.
repeated .google.ads.googleads.v15.common.BusinessProfileLocation business_profile_locations = 2;
-
getLocationOwnershipTypeValue
int getLocationOwnershipTypeValue()
The type of location ownership. If the type is BUSINESS_OWNER, it will be served as a location extension. If the type is AFFILIATE, it will be served as an affiliate location.
.google.ads.googleads.v15.enums.LocationOwnershipTypeEnum.LocationOwnershipType location_ownership_type = 3;- Returns:
- The enum numeric value on the wire for locationOwnershipType.
-
getLocationOwnershipType
LocationOwnershipTypeEnum.LocationOwnershipType getLocationOwnershipType()
The type of location ownership. If the type is BUSINESS_OWNER, it will be served as a location extension. If the type is AFFILIATE, it will be served as an affiliate location.
.google.ads.googleads.v15.enums.LocationOwnershipTypeEnum.LocationOwnershipType location_ownership_type = 3;- Returns:
- The locationOwnershipType.
-
-