Class Asset

  • All Implemented Interfaces:
    AssetOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable

    public final class Asset
    extends com.google.protobuf.GeneratedMessageV3
    implements AssetOrBuilder
     Asset is a part of an ad which can be shared across multiple ads.
     It can be an image (ImageAsset), a video (YoutubeVideoAsset), etc.
     Assets are immutable and cannot be removed. To stop an asset from serving,
     remove the asset from the entity that is using it.
     
    Protobuf type google.ads.googleads.v10.resources.Asset
    See Also:
    Serialized Form
    • Field Detail

      • RESOURCE_NAME_FIELD_NUMBER

        public static final int RESOURCE_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FINAL_URLS_FIELD_NUMBER

        public static final int FINAL_URLS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FINAL_MOBILE_URLS_FIELD_NUMBER

        public static final int FINAL_MOBILE_URLS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TRACKING_URL_TEMPLATE_FIELD_NUMBER

        public static final int TRACKING_URL_TEMPLATE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • URL_CUSTOM_PARAMETERS_FIELD_NUMBER

        public static final int URL_CUSTOM_PARAMETERS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FINAL_URL_SUFFIX_FIELD_NUMBER

        public static final int FINAL_URL_SUFFIX_FIELD_NUMBER
        See Also:
        Constant Field Values
      • POLICY_SUMMARY_FIELD_NUMBER

        public static final int POLICY_SUMMARY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • YOUTUBE_VIDEO_ASSET_FIELD_NUMBER

        public static final int YOUTUBE_VIDEO_ASSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MEDIA_BUNDLE_ASSET_FIELD_NUMBER

        public static final int MEDIA_BUNDLE_ASSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IMAGE_ASSET_FIELD_NUMBER

        public static final int IMAGE_ASSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TEXT_ASSET_FIELD_NUMBER

        public static final int TEXT_ASSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LEAD_FORM_ASSET_FIELD_NUMBER

        public static final int LEAD_FORM_ASSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BOOK_ON_GOOGLE_ASSET_FIELD_NUMBER

        public static final int BOOK_ON_GOOGLE_ASSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PROMOTION_ASSET_FIELD_NUMBER

        public static final int PROMOTION_ASSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CALLOUT_ASSET_FIELD_NUMBER

        public static final int CALLOUT_ASSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STRUCTURED_SNIPPET_ASSET_FIELD_NUMBER

        public static final int STRUCTURED_SNIPPET_ASSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SITELINK_ASSET_FIELD_NUMBER

        public static final int SITELINK_ASSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PAGE_FEED_ASSET_FIELD_NUMBER

        public static final int PAGE_FEED_ASSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DYNAMIC_EDUCATION_ASSET_FIELD_NUMBER

        public static final int DYNAMIC_EDUCATION_ASSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MOBILE_APP_ASSET_FIELD_NUMBER

        public static final int MOBILE_APP_ASSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HOTEL_CALLOUT_ASSET_FIELD_NUMBER

        public static final int HOTEL_CALLOUT_ASSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CALL_ASSET_FIELD_NUMBER

        public static final int CALL_ASSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRICE_ASSET_FIELD_NUMBER

        public static final int PRICE_ASSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CALL_TO_ACTION_ASSET_FIELD_NUMBER

        public static final int CALL_TO_ACTION_ASSET_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getResourceName

        public 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) = { ... }
        Specified by:
        getResourceName in interface AssetOrBuilder
        Returns:
        The resourceName.
      • getResourceNameBytes

        public 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) = { ... }
        Specified by:
        getResourceNameBytes in interface AssetOrBuilder
        Returns:
        The bytes for resourceName.
      • hasId

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

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

        public boolean hasName()
         Optional name of the asset.
         
        optional string name = 12;
        Specified by:
        hasName in interface AssetOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public java.lang.String getName()
         Optional name of the asset.
         
        optional string name = 12;
        Specified by:
        getName in interface AssetOrBuilder
        Returns:
        The name.
      • getNameBytes

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

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

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

        public com.google.protobuf.ProtocolStringList getFinalUrlsList()
         A list of possible final URLs after all cross domain redirects.
         
        repeated string final_urls = 14;
        Specified by:
        getFinalUrlsList in interface AssetOrBuilder
        Returns:
        A list containing the finalUrls.
      • getFinalUrlsCount

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

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

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

        public com.google.protobuf.ProtocolStringList getFinalMobileUrlsList()
         A list of possible final mobile URLs after all cross domain redirects.
         
        repeated string final_mobile_urls = 16;
        Specified by:
        getFinalMobileUrlsList in interface AssetOrBuilder
        Returns:
        A list containing the finalMobileUrls.
      • getFinalMobileUrlsCount

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

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

        public 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;
        Specified by:
        getFinalMobileUrlsBytes in interface AssetOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the finalMobileUrls at the given index.
      • hasTrackingUrlTemplate

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

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

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

        public 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;
        Specified by:
        getUrlCustomParametersList in interface AssetOrBuilder
      • getUrlCustomParametersOrBuilderList

        public 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;
        Specified by:
        getUrlCustomParametersOrBuilderList in interface AssetOrBuilder
      • getUrlCustomParametersCount

        public 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;
        Specified by:
        getUrlCustomParametersCount in interface AssetOrBuilder
      • getUrlCustomParameters

        public 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;
        Specified by:
        getUrlCustomParameters in interface AssetOrBuilder
      • getUrlCustomParametersOrBuilder

        public 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;
        Specified by:
        getUrlCustomParametersOrBuilder in interface AssetOrBuilder
      • hasFinalUrlSuffix

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

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

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

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

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

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

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

        public YoutubeVideoAsset getYoutubeVideoAsset()
         Immutable. A YouTube video asset.
         
        .google.ads.googleads.v10.common.YoutubeVideoAsset youtube_video_asset = 5 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getYoutubeVideoAsset in interface AssetOrBuilder
        Returns:
        The youtubeVideoAsset.
      • hasMediaBundleAsset

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

        public MediaBundleAsset getMediaBundleAsset()
         Immutable. A media bundle asset.
         
        .google.ads.googleads.v10.common.MediaBundleAsset media_bundle_asset = 6 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getMediaBundleAsset in interface AssetOrBuilder
        Returns:
        The mediaBundleAsset.
      • hasImageAsset

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

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

        public ImageAssetOrBuilder getImageAssetOrBuilder()
         Output only. An image asset.
         
        .google.ads.googleads.v10.common.ImageAsset image_asset = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getImageAssetOrBuilder in interface AssetOrBuilder
      • hasTextAsset

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

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

        public TextAssetOrBuilder getTextAssetOrBuilder()
         Immutable. A text asset.
         
        .google.ads.googleads.v10.common.TextAsset text_asset = 8 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getTextAssetOrBuilder in interface AssetOrBuilder
      • hasLeadFormAsset

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

        public LeadFormAsset getLeadFormAsset()
         A lead form asset.
         
        .google.ads.googleads.v10.common.LeadFormAsset lead_form_asset = 9;
        Specified by:
        getLeadFormAsset in interface AssetOrBuilder
        Returns:
        The leadFormAsset.
      • hasBookOnGoogleAsset

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

        public BookOnGoogleAsset getBookOnGoogleAsset()
         A book on google asset.
         
        .google.ads.googleads.v10.common.BookOnGoogleAsset book_on_google_asset = 10;
        Specified by:
        getBookOnGoogleAsset in interface AssetOrBuilder
        Returns:
        The bookOnGoogleAsset.
      • hasPromotionAsset

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

        public PromotionAsset getPromotionAsset()
         A promotion asset.
         
        .google.ads.googleads.v10.common.PromotionAsset promotion_asset = 15;
        Specified by:
        getPromotionAsset in interface AssetOrBuilder
        Returns:
        The promotionAsset.
      • hasCalloutAsset

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

        public CalloutAsset getCalloutAsset()
         A callout asset.
         
        .google.ads.googleads.v10.common.CalloutAsset callout_asset = 20;
        Specified by:
        getCalloutAsset in interface AssetOrBuilder
        Returns:
        The calloutAsset.
      • hasStructuredSnippetAsset

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

        public StructuredSnippetAsset getStructuredSnippetAsset()
         A structured snippet asset.
         
        .google.ads.googleads.v10.common.StructuredSnippetAsset structured_snippet_asset = 21;
        Specified by:
        getStructuredSnippetAsset in interface AssetOrBuilder
        Returns:
        The structuredSnippetAsset.
      • hasSitelinkAsset

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

        public SitelinkAsset getSitelinkAsset()
         A sitelink asset.
         
        .google.ads.googleads.v10.common.SitelinkAsset sitelink_asset = 22;
        Specified by:
        getSitelinkAsset in interface AssetOrBuilder
        Returns:
        The sitelinkAsset.
      • hasPageFeedAsset

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

        public PageFeedAsset getPageFeedAsset()
         A page feed asset.
         
        .google.ads.googleads.v10.common.PageFeedAsset page_feed_asset = 23;
        Specified by:
        getPageFeedAsset in interface AssetOrBuilder
        Returns:
        The pageFeedAsset.
      • hasDynamicEducationAsset

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

        public DynamicEducationAsset getDynamicEducationAsset()
         A dynamic education asset.
         
        .google.ads.googleads.v10.common.DynamicEducationAsset dynamic_education_asset = 24;
        Specified by:
        getDynamicEducationAsset in interface AssetOrBuilder
        Returns:
        The dynamicEducationAsset.
      • hasMobileAppAsset

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

        public MobileAppAsset getMobileAppAsset()
         A mobile app asset.
         
        .google.ads.googleads.v10.common.MobileAppAsset mobile_app_asset = 25;
        Specified by:
        getMobileAppAsset in interface AssetOrBuilder
        Returns:
        The mobileAppAsset.
      • hasHotelCalloutAsset

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

        public HotelCalloutAsset getHotelCalloutAsset()
         A hotel callout asset.
         
        .google.ads.googleads.v10.common.HotelCalloutAsset hotel_callout_asset = 26;
        Specified by:
        getHotelCalloutAsset in interface AssetOrBuilder
        Returns:
        The hotelCalloutAsset.
      • hasCallAsset

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

        public CallAsset getCallAsset()
         A call asset.
         
        .google.ads.googleads.v10.common.CallAsset call_asset = 27;
        Specified by:
        getCallAsset in interface AssetOrBuilder
        Returns:
        The callAsset.
      • hasPriceAsset

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

        public PriceAsset getPriceAsset()
         A price asset.
         
        .google.ads.googleads.v10.common.PriceAsset price_asset = 28;
        Specified by:
        getPriceAsset in interface AssetOrBuilder
        Returns:
        The priceAsset.
      • hasCallToActionAsset

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

        public CallToActionAsset getCallToActionAsset()
         Immutable. A call to action asset.
         
        .google.ads.googleads.v10.common.CallToActionAsset call_to_action_asset = 29 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getCallToActionAsset in interface AssetOrBuilder
        Returns:
        The callToActionAsset.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Asset parseFrom​(java.nio.ByteBuffer data)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Asset parseFrom​(java.nio.ByteBuffer data,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Asset parseFrom​(com.google.protobuf.ByteString data)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Asset parseFrom​(com.google.protobuf.ByteString data,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Asset parseFrom​(byte[] data)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Asset parseFrom​(byte[] data,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Asset parseFrom​(java.io.InputStream input)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Asset parseFrom​(java.io.InputStream input,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Asset parseDelimitedFrom​(java.io.InputStream input)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Asset parseDelimitedFrom​(java.io.InputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Asset parseFrom​(com.google.protobuf.CodedInputStream input)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Asset parseFrom​(com.google.protobuf.CodedInputStream input,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public Asset.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Asset.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Asset.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Asset getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Asset> parser()
      • getParserForType

        public com.google.protobuf.Parser<Asset> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Asset getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder