Interface AssetSetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AssetSet,AssetSet.Builder
public interface AssetSetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionBusiness Profile location group asset set data.Business Profile location group asset set data.Represents information about a Chain dynamic location group.Represents information about a Chain dynamic location group.Output only.Output only.longgetId()Output only.longImmutable.Location asset set data.Location asset set data.Merchant ID and Feed Label from Google Merchant Center.Merchant ID and Feed Label from Google Merchant Center.getName()Required.com.google.protobuf.ByteStringRequired.Immutable.com.google.protobuf.ByteStringImmutable.Output only.intOutput only.getType()Required.intRequired.booleanBusiness Profile location group asset set data.booleanRepresents information about a Chain dynamic location group.booleanOutput only.booleanLocation asset set data.booleanMerchant ID and Feed Label from Google Merchant Center.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
-
getId
long getId()Output only. The ID of the asset set.
int64 id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The id.
-
getResourceName
String getResourceName()Immutable. The resource name of the asset set. Asset set resource names have the form: `customers/{customer_id}/assetSets/{asset_set_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()Immutable. The resource name of the asset set. Asset set resource names have the form: `customers/{customer_id}/assetSets/{asset_set_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for resourceName.
-
getName
String getName()Required. Name of the asset set. Required. It must have a minimum length of 1 and maximum length of 128.
string name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required. Name of the asset set. Required. It must have a minimum length of 1 and maximum length of 128.
string name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for name.
-
getTypeValue
int getTypeValue()Required. Immutable. The type of the asset set. Required.
.google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- The enum numeric value on the wire for type.
-
getType
AssetSetTypeEnum.AssetSetType getType()Required. Immutable. The type of the asset set. Required.
.google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- The type.
-
getStatusValue
int getStatusValue()Output only. The status of the asset set. Read-only.
.google.ads.googleads.v18.enums.AssetSetStatusEnum.AssetSetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for status.
-
getStatus
AssetSetStatusEnum.AssetSetStatus getStatus()Output only. The status of the asset set. Read-only.
.google.ads.googleads.v18.enums.AssetSetStatusEnum.AssetSetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The status.
-
hasMerchantCenterFeed
boolean hasMerchantCenterFeed()Merchant ID and Feed Label from Google Merchant Center.
.google.ads.googleads.v18.resources.AssetSet.MerchantCenterFeed merchant_center_feed = 5;- Returns:
- Whether the merchantCenterFeed field is set.
-
getMerchantCenterFeed
AssetSet.MerchantCenterFeed getMerchantCenterFeed()Merchant ID and Feed Label from Google Merchant Center.
.google.ads.googleads.v18.resources.AssetSet.MerchantCenterFeed merchant_center_feed = 5;- Returns:
- The merchantCenterFeed.
-
getMerchantCenterFeedOrBuilder
AssetSet.MerchantCenterFeedOrBuilder getMerchantCenterFeedOrBuilder()Merchant ID and Feed Label from Google Merchant Center.
.google.ads.googleads.v18.resources.AssetSet.MerchantCenterFeed merchant_center_feed = 5; -
getLocationGroupParentAssetSetId
long getLocationGroupParentAssetSetId()Immutable. Parent asset set id for the asset set where the elements of this asset set come from. For example: the sync level location AssetSet id where the the elements in LocationGroup AssetSet come from. This field is required and only applicable for Location Group typed AssetSet.
int64 location_group_parent_asset_set_id = 10 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The locationGroupParentAssetSetId.
-
hasHotelPropertyData
boolean hasHotelPropertyData()Output only. For Performance Max for travel goals campaigns with a Hotel Center account link. Read-only.
.google.ads.googleads.v18.resources.AssetSet.HotelPropertyData hotel_property_data = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the hotelPropertyData field is set.
-
getHotelPropertyData
AssetSet.HotelPropertyData getHotelPropertyData()Output only. For Performance Max for travel goals campaigns with a Hotel Center account link. Read-only.
.google.ads.googleads.v18.resources.AssetSet.HotelPropertyData hotel_property_data = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The hotelPropertyData.
-
getHotelPropertyDataOrBuilder
AssetSet.HotelPropertyDataOrBuilder getHotelPropertyDataOrBuilder()Output only. For Performance Max for travel goals campaigns with a Hotel Center account link. Read-only.
.google.ads.googleads.v18.resources.AssetSet.HotelPropertyData hotel_property_data = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasLocationSet
boolean hasLocationSet()Location asset set data. This will be used for sync level location set. This can only be set if AssetSet's type is LOCATION_SYNC.
.google.ads.googleads.v18.common.LocationSet location_set = 7;- Returns:
- Whether the locationSet field is set.
-
getLocationSet
LocationSet getLocationSet()Location asset set data. This will be used for sync level location set. This can only be set if AssetSet's type is LOCATION_SYNC.
.google.ads.googleads.v18.common.LocationSet location_set = 7;- Returns:
- The locationSet.
-
getLocationSetOrBuilder
LocationSetOrBuilder getLocationSetOrBuilder()Location asset set data. This will be used for sync level location set. This can only be set if AssetSet's type is LOCATION_SYNC.
.google.ads.googleads.v18.common.LocationSet location_set = 7; -
hasBusinessProfileLocationGroup
boolean hasBusinessProfileLocationGroup()Business Profile location group asset set data.
.google.ads.googleads.v18.common.BusinessProfileLocationGroup business_profile_location_group = 8;- Returns:
- Whether the businessProfileLocationGroup field is set.
-
getBusinessProfileLocationGroup
BusinessProfileLocationGroup getBusinessProfileLocationGroup()Business Profile location group asset set data.
.google.ads.googleads.v18.common.BusinessProfileLocationGroup business_profile_location_group = 8;- Returns:
- The businessProfileLocationGroup.
-
getBusinessProfileLocationGroupOrBuilder
BusinessProfileLocationGroupOrBuilder getBusinessProfileLocationGroupOrBuilder()Business Profile location group asset set data.
.google.ads.googleads.v18.common.BusinessProfileLocationGroup business_profile_location_group = 8; -
hasChainLocationGroup
boolean hasChainLocationGroup()Represents information about a Chain dynamic location group. Only applicable if the sync level AssetSet's type is LOCATION_SYNC and sync source is chain.
.google.ads.googleads.v18.common.ChainLocationGroup chain_location_group = 9;- Returns:
- Whether the chainLocationGroup field is set.
-
getChainLocationGroup
ChainLocationGroup getChainLocationGroup()Represents information about a Chain dynamic location group. Only applicable if the sync level AssetSet's type is LOCATION_SYNC and sync source is chain.
.google.ads.googleads.v18.common.ChainLocationGroup chain_location_group = 9;- Returns:
- The chainLocationGroup.
-
getChainLocationGroupOrBuilder
ChainLocationGroupOrBuilder getChainLocationGroupOrBuilder()Represents information about a Chain dynamic location group. Only applicable if the sync level AssetSet's type is LOCATION_SYNC and sync source is chain.
.google.ads.googleads.v18.common.ChainLocationGroup chain_location_group = 9; -
getAssetSetSourceCase
AssetSet.AssetSetSourceCase getAssetSetSourceCase()
-