Interface AssetOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Asset, Asset.Builder

    public interface AssetOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getResourceName

        java.lang.String getResourceName()
         Immutable. The resource name of the asset.
         Asset resource names have the form:
         `customers/{customer_id}/assets/{asset_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.
         Asset resource names have the form:
         `customers/{customer_id}/assets/{asset_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for resourceName.
      • hasId

        boolean hasId()
         Output only. The ID of the asset.
         
        optional int64 id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the id field is set.
      • getId

        long getId()
         Output only. The ID of the asset.
         
        optional int64 id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The id.
      • hasName

        boolean hasName()
         Optional name of the asset.
         
        optional string name = 12;
        Returns:
        Whether the name field is set.
      • getName

        java.lang.String getName()
         Optional name of the asset.
         
        optional string name = 12;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Optional name of the asset.
         
        optional string name = 12;
        Returns:
        The bytes for name.
      • getTypeValue

        int getTypeValue()
         Output only. Type of the asset.
         
        .google.ads.googleads.v10.enums.AssetTypeEnum.AssetType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for type.
      • getType

        AssetTypeEnum.AssetType getType()
         Output only. Type of the asset.
         
        .google.ads.googleads.v10.enums.AssetTypeEnum.AssetType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The type.
      • getFinalUrlsList

        java.util.List<java.lang.String> getFinalUrlsList()
         A list of possible final URLs after all cross domain redirects.
         
        repeated string final_urls = 14;
        Returns:
        A list containing the finalUrls.
      • getFinalUrlsCount

        int getFinalUrlsCount()
         A list of possible final URLs after all cross domain redirects.
         
        repeated string final_urls = 14;
        Returns:
        The count of finalUrls.
      • getFinalUrls

        java.lang.String getFinalUrls​(int index)
         A list of possible final URLs after all cross domain redirects.
         
        repeated string final_urls = 14;
        Parameters:
        index - The index of the element to return.
        Returns:
        The finalUrls at the given index.
      • getFinalUrlsBytes

        com.google.protobuf.ByteString getFinalUrlsBytes​(int index)
         A list of possible final URLs after all cross domain redirects.
         
        repeated string final_urls = 14;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the finalUrls at the given index.
      • getFinalMobileUrlsList

        java.util.List<java.lang.String> getFinalMobileUrlsList()
         A list of possible final mobile URLs after all cross domain redirects.
         
        repeated string final_mobile_urls = 16;
        Returns:
        A list containing the finalMobileUrls.
      • getFinalMobileUrlsCount

        int getFinalMobileUrlsCount()
         A list of possible final mobile URLs after all cross domain redirects.
         
        repeated string final_mobile_urls = 16;
        Returns:
        The count of finalMobileUrls.
      • getFinalMobileUrls

        java.lang.String getFinalMobileUrls​(int index)
         A list of possible final mobile URLs after all cross domain redirects.
         
        repeated string final_mobile_urls = 16;
        Parameters:
        index - The index of the element to return.
        Returns:
        The finalMobileUrls at the given index.
      • getFinalMobileUrlsBytes

        com.google.protobuf.ByteString getFinalMobileUrlsBytes​(int index)
         A list of possible final mobile URLs after all cross domain redirects.
         
        repeated string final_mobile_urls = 16;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the finalMobileUrls at the given index.
      • hasTrackingUrlTemplate

        boolean hasTrackingUrlTemplate()
         URL template for constructing a tracking URL.
         
        optional string tracking_url_template = 17;
        Returns:
        Whether the trackingUrlTemplate field is set.
      • getTrackingUrlTemplate

        java.lang.String getTrackingUrlTemplate()
         URL template for constructing a tracking URL.
         
        optional string tracking_url_template = 17;
        Returns:
        The trackingUrlTemplate.
      • getTrackingUrlTemplateBytes

        com.google.protobuf.ByteString getTrackingUrlTemplateBytes()
         URL template for constructing a tracking URL.
         
        optional string tracking_url_template = 17;
        Returns:
        The bytes for trackingUrlTemplate.
      • getUrlCustomParametersList

        java.util.List<CustomParameter> getUrlCustomParametersList()
         A list of mappings to be used for substituting URL custom parameter tags in
         the tracking_url_template, final_urls, and/or final_mobile_urls.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 18;
      • getUrlCustomParameters

        CustomParameter getUrlCustomParameters​(int index)
         A list of mappings to be used for substituting URL custom parameter tags in
         the tracking_url_template, final_urls, and/or final_mobile_urls.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 18;
      • getUrlCustomParametersCount

        int getUrlCustomParametersCount()
         A list of mappings to be used for substituting URL custom parameter tags in
         the tracking_url_template, final_urls, and/or final_mobile_urls.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 18;
      • getUrlCustomParametersOrBuilderList

        java.util.List<? extends CustomParameterOrBuilder> getUrlCustomParametersOrBuilderList()
         A list of mappings to be used for substituting URL custom parameter tags in
         the tracking_url_template, final_urls, and/or final_mobile_urls.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 18;
      • getUrlCustomParametersOrBuilder

        CustomParameterOrBuilder getUrlCustomParametersOrBuilder​(int index)
         A list of mappings to be used for substituting URL custom parameter tags in
         the tracking_url_template, final_urls, and/or final_mobile_urls.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 18;
      • hasFinalUrlSuffix

        boolean hasFinalUrlSuffix()
         URL template for appending params to landing page URLs served with parallel
         tracking.
         
        optional string final_url_suffix = 19;
        Returns:
        Whether the finalUrlSuffix field is set.
      • getFinalUrlSuffix

        java.lang.String getFinalUrlSuffix()
         URL template for appending params to landing page URLs served with parallel
         tracking.
         
        optional string final_url_suffix = 19;
        Returns:
        The finalUrlSuffix.
      • getFinalUrlSuffixBytes

        com.google.protobuf.ByteString getFinalUrlSuffixBytes()
         URL template for appending params to landing page URLs served with parallel
         tracking.
         
        optional string final_url_suffix = 19;
        Returns:
        The bytes for finalUrlSuffix.
      • hasPolicySummary

        boolean hasPolicySummary()
         Output only. Policy information for the asset.
         
        .google.ads.googleads.v10.resources.AssetPolicySummary policy_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the policySummary field is set.
      • getPolicySummary

        AssetPolicySummary getPolicySummary()
         Output only. Policy information for the asset.
         
        .google.ads.googleads.v10.resources.AssetPolicySummary policy_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The policySummary.
      • getPolicySummaryOrBuilder

        AssetPolicySummaryOrBuilder getPolicySummaryOrBuilder()
         Output only. Policy information for the asset.
         
        .google.ads.googleads.v10.resources.AssetPolicySummary policy_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasYoutubeVideoAsset

        boolean hasYoutubeVideoAsset()
         Immutable. A YouTube video asset.
         
        .google.ads.googleads.v10.common.YoutubeVideoAsset youtube_video_asset = 5 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        Whether the youtubeVideoAsset field is set.
      • getYoutubeVideoAsset

        YoutubeVideoAsset getYoutubeVideoAsset()
         Immutable. A YouTube video asset.
         
        .google.ads.googleads.v10.common.YoutubeVideoAsset youtube_video_asset = 5 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The youtubeVideoAsset.
      • getYoutubeVideoAssetOrBuilder

        YoutubeVideoAssetOrBuilder getYoutubeVideoAssetOrBuilder()
         Immutable. A YouTube video asset.
         
        .google.ads.googleads.v10.common.YoutubeVideoAsset youtube_video_asset = 5 [(.google.api.field_behavior) = IMMUTABLE];
      • hasMediaBundleAsset

        boolean hasMediaBundleAsset()
         Immutable. A media bundle asset.
         
        .google.ads.googleads.v10.common.MediaBundleAsset media_bundle_asset = 6 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        Whether the mediaBundleAsset field is set.
      • getMediaBundleAsset

        MediaBundleAsset getMediaBundleAsset()
         Immutable. A media bundle asset.
         
        .google.ads.googleads.v10.common.MediaBundleAsset media_bundle_asset = 6 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The mediaBundleAsset.
      • getMediaBundleAssetOrBuilder

        MediaBundleAssetOrBuilder getMediaBundleAssetOrBuilder()
         Immutable. A media bundle asset.
         
        .google.ads.googleads.v10.common.MediaBundleAsset media_bundle_asset = 6 [(.google.api.field_behavior) = IMMUTABLE];
      • hasImageAsset

        boolean hasImageAsset()
         Output only. An image asset.
         
        .google.ads.googleads.v10.common.ImageAsset image_asset = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the imageAsset field is set.
      • getImageAsset

        ImageAsset getImageAsset()
         Output only. An image asset.
         
        .google.ads.googleads.v10.common.ImageAsset image_asset = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The imageAsset.
      • getImageAssetOrBuilder

        ImageAssetOrBuilder getImageAssetOrBuilder()
         Output only. An image asset.
         
        .google.ads.googleads.v10.common.ImageAsset image_asset = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasTextAsset

        boolean hasTextAsset()
         Immutable. A text asset.
         
        .google.ads.googleads.v10.common.TextAsset text_asset = 8 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        Whether the textAsset field is set.
      • getTextAsset

        TextAsset getTextAsset()
         Immutable. A text asset.
         
        .google.ads.googleads.v10.common.TextAsset text_asset = 8 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The textAsset.
      • getTextAssetOrBuilder

        TextAssetOrBuilder getTextAssetOrBuilder()
         Immutable. A text asset.
         
        .google.ads.googleads.v10.common.TextAsset text_asset = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • hasLeadFormAsset

        boolean hasLeadFormAsset()
         A lead form asset.
         
        .google.ads.googleads.v10.common.LeadFormAsset lead_form_asset = 9;
        Returns:
        Whether the leadFormAsset field is set.
      • getLeadFormAsset

        LeadFormAsset getLeadFormAsset()
         A lead form asset.
         
        .google.ads.googleads.v10.common.LeadFormAsset lead_form_asset = 9;
        Returns:
        The leadFormAsset.
      • getLeadFormAssetOrBuilder

        LeadFormAssetOrBuilder getLeadFormAssetOrBuilder()
         A lead form asset.
         
        .google.ads.googleads.v10.common.LeadFormAsset lead_form_asset = 9;
      • hasBookOnGoogleAsset

        boolean hasBookOnGoogleAsset()
         A book on google asset.
         
        .google.ads.googleads.v10.common.BookOnGoogleAsset book_on_google_asset = 10;
        Returns:
        Whether the bookOnGoogleAsset field is set.
      • getBookOnGoogleAsset

        BookOnGoogleAsset getBookOnGoogleAsset()
         A book on google asset.
         
        .google.ads.googleads.v10.common.BookOnGoogleAsset book_on_google_asset = 10;
        Returns:
        The bookOnGoogleAsset.
      • getBookOnGoogleAssetOrBuilder

        BookOnGoogleAssetOrBuilder getBookOnGoogleAssetOrBuilder()
         A book on google asset.
         
        .google.ads.googleads.v10.common.BookOnGoogleAsset book_on_google_asset = 10;
      • hasPromotionAsset

        boolean hasPromotionAsset()
         A promotion asset.
         
        .google.ads.googleads.v10.common.PromotionAsset promotion_asset = 15;
        Returns:
        Whether the promotionAsset field is set.
      • getPromotionAsset

        PromotionAsset getPromotionAsset()
         A promotion asset.
         
        .google.ads.googleads.v10.common.PromotionAsset promotion_asset = 15;
        Returns:
        The promotionAsset.
      • getPromotionAssetOrBuilder

        PromotionAssetOrBuilder getPromotionAssetOrBuilder()
         A promotion asset.
         
        .google.ads.googleads.v10.common.PromotionAsset promotion_asset = 15;
      • hasCalloutAsset

        boolean hasCalloutAsset()
         A callout asset.
         
        .google.ads.googleads.v10.common.CalloutAsset callout_asset = 20;
        Returns:
        Whether the calloutAsset field is set.
      • getCalloutAsset

        CalloutAsset getCalloutAsset()
         A callout asset.
         
        .google.ads.googleads.v10.common.CalloutAsset callout_asset = 20;
        Returns:
        The calloutAsset.
      • getCalloutAssetOrBuilder

        CalloutAssetOrBuilder getCalloutAssetOrBuilder()
         A callout asset.
         
        .google.ads.googleads.v10.common.CalloutAsset callout_asset = 20;
      • hasStructuredSnippetAsset

        boolean hasStructuredSnippetAsset()
         A structured snippet asset.
         
        .google.ads.googleads.v10.common.StructuredSnippetAsset structured_snippet_asset = 21;
        Returns:
        Whether the structuredSnippetAsset field is set.
      • getStructuredSnippetAsset

        StructuredSnippetAsset getStructuredSnippetAsset()
         A structured snippet asset.
         
        .google.ads.googleads.v10.common.StructuredSnippetAsset structured_snippet_asset = 21;
        Returns:
        The structuredSnippetAsset.
      • getStructuredSnippetAssetOrBuilder

        StructuredSnippetAssetOrBuilder getStructuredSnippetAssetOrBuilder()
         A structured snippet asset.
         
        .google.ads.googleads.v10.common.StructuredSnippetAsset structured_snippet_asset = 21;
      • hasSitelinkAsset

        boolean hasSitelinkAsset()
         A sitelink asset.
         
        .google.ads.googleads.v10.common.SitelinkAsset sitelink_asset = 22;
        Returns:
        Whether the sitelinkAsset field is set.
      • getSitelinkAsset

        SitelinkAsset getSitelinkAsset()
         A sitelink asset.
         
        .google.ads.googleads.v10.common.SitelinkAsset sitelink_asset = 22;
        Returns:
        The sitelinkAsset.
      • getSitelinkAssetOrBuilder

        SitelinkAssetOrBuilder getSitelinkAssetOrBuilder()
         A sitelink asset.
         
        .google.ads.googleads.v10.common.SitelinkAsset sitelink_asset = 22;
      • hasPageFeedAsset

        boolean hasPageFeedAsset()
         A page feed asset.
         
        .google.ads.googleads.v10.common.PageFeedAsset page_feed_asset = 23;
        Returns:
        Whether the pageFeedAsset field is set.
      • getPageFeedAsset

        PageFeedAsset getPageFeedAsset()
         A page feed asset.
         
        .google.ads.googleads.v10.common.PageFeedAsset page_feed_asset = 23;
        Returns:
        The pageFeedAsset.
      • getPageFeedAssetOrBuilder

        PageFeedAssetOrBuilder getPageFeedAssetOrBuilder()
         A page feed asset.
         
        .google.ads.googleads.v10.common.PageFeedAsset page_feed_asset = 23;
      • hasDynamicEducationAsset

        boolean hasDynamicEducationAsset()
         A dynamic education asset.
         
        .google.ads.googleads.v10.common.DynamicEducationAsset dynamic_education_asset = 24;
        Returns:
        Whether the dynamicEducationAsset field is set.
      • getDynamicEducationAsset

        DynamicEducationAsset getDynamicEducationAsset()
         A dynamic education asset.
         
        .google.ads.googleads.v10.common.DynamicEducationAsset dynamic_education_asset = 24;
        Returns:
        The dynamicEducationAsset.
      • getDynamicEducationAssetOrBuilder

        DynamicEducationAssetOrBuilder getDynamicEducationAssetOrBuilder()
         A dynamic education asset.
         
        .google.ads.googleads.v10.common.DynamicEducationAsset dynamic_education_asset = 24;
      • hasMobileAppAsset

        boolean hasMobileAppAsset()
         A mobile app asset.
         
        .google.ads.googleads.v10.common.MobileAppAsset mobile_app_asset = 25;
        Returns:
        Whether the mobileAppAsset field is set.
      • getMobileAppAsset

        MobileAppAsset getMobileAppAsset()
         A mobile app asset.
         
        .google.ads.googleads.v10.common.MobileAppAsset mobile_app_asset = 25;
        Returns:
        The mobileAppAsset.
      • getMobileAppAssetOrBuilder

        MobileAppAssetOrBuilder getMobileAppAssetOrBuilder()
         A mobile app asset.
         
        .google.ads.googleads.v10.common.MobileAppAsset mobile_app_asset = 25;
      • hasHotelCalloutAsset

        boolean hasHotelCalloutAsset()
         A hotel callout asset.
         
        .google.ads.googleads.v10.common.HotelCalloutAsset hotel_callout_asset = 26;
        Returns:
        Whether the hotelCalloutAsset field is set.
      • getHotelCalloutAsset

        HotelCalloutAsset getHotelCalloutAsset()
         A hotel callout asset.
         
        .google.ads.googleads.v10.common.HotelCalloutAsset hotel_callout_asset = 26;
        Returns:
        The hotelCalloutAsset.
      • getHotelCalloutAssetOrBuilder

        HotelCalloutAssetOrBuilder getHotelCalloutAssetOrBuilder()
         A hotel callout asset.
         
        .google.ads.googleads.v10.common.HotelCalloutAsset hotel_callout_asset = 26;
      • hasCallAsset

        boolean hasCallAsset()
         A call asset.
         
        .google.ads.googleads.v10.common.CallAsset call_asset = 27;
        Returns:
        Whether the callAsset field is set.
      • getCallAsset

        CallAsset getCallAsset()
         A call asset.
         
        .google.ads.googleads.v10.common.CallAsset call_asset = 27;
        Returns:
        The callAsset.
      • getCallAssetOrBuilder

        CallAssetOrBuilder getCallAssetOrBuilder()
         A call asset.
         
        .google.ads.googleads.v10.common.CallAsset call_asset = 27;
      • hasPriceAsset

        boolean hasPriceAsset()
         A price asset.
         
        .google.ads.googleads.v10.common.PriceAsset price_asset = 28;
        Returns:
        Whether the priceAsset field is set.
      • getPriceAsset

        PriceAsset getPriceAsset()
         A price asset.
         
        .google.ads.googleads.v10.common.PriceAsset price_asset = 28;
        Returns:
        The priceAsset.
      • getPriceAssetOrBuilder

        PriceAssetOrBuilder getPriceAssetOrBuilder()
         A price asset.
         
        .google.ads.googleads.v10.common.PriceAsset price_asset = 28;
      • hasCallToActionAsset

        boolean hasCallToActionAsset()
         Immutable. A call to action asset.
         
        .google.ads.googleads.v10.common.CallToActionAsset call_to_action_asset = 29 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        Whether the callToActionAsset field is set.
      • getCallToActionAsset

        CallToActionAsset getCallToActionAsset()
         Immutable. A call to action asset.
         
        .google.ads.googleads.v10.common.CallToActionAsset call_to_action_asset = 29 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The callToActionAsset.
      • getCallToActionAssetOrBuilder

        CallToActionAssetOrBuilder getCallToActionAssetOrBuilder()
         Immutable. A call to action asset.
         
        .google.ads.googleads.v10.common.CallToActionAsset call_to_action_asset = 29 [(.google.api.field_behavior) = IMMUTABLE];