Class Asset.Builder

  • All Implemented Interfaces:
    AssetOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    Asset

    public static final class Asset.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
    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
    • Method Detail

      • 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.Builder<Asset.Builder>
      • clear

        public Asset.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • getDefaultInstanceForType

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

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

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

        public Asset.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • setField

        public Asset.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                      java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • clearField

        public Asset.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • clearOneof

        public Asset.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • setRepeatedField

        public Asset.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              int index,
                                              java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • addRepeatedField

        public Asset.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • mergeFrom

        public Asset.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Asset.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • mergeFrom

        public Asset.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Asset.Builder>
        Throws:
        java.io.IOException
      • 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.
      • setResourceName

        public Asset.Builder setResourceName​(java.lang.String value)
         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) = { ... }
        Parameters:
        value - The resourceName to set.
        Returns:
        This builder for chaining.
      • clearResourceName

        public Asset.Builder clearResourceName()
         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:
        This builder for chaining.
      • setResourceNameBytes

        public Asset.Builder setResourceNameBytes​(com.google.protobuf.ByteString value)
         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) = { ... }
        Parameters:
        value - The bytes for resourceName to set.
        Returns:
        This builder for chaining.
      • 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.
      • setId

        public Asset.Builder setId​(long value)
         Output only. The ID of the asset.
         
        optional int64 id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public Asset.Builder clearId()
         Output only. The ID of the asset.
         
        optional int64 id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • 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.
      • setName

        public Asset.Builder setName​(java.lang.String value)
         Optional name of the asset.
         
        optional string name = 12;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Asset.Builder clearName()
         Optional name of the asset.
         
        optional string name = 12;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Asset.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Optional name of the asset.
         
        optional string name = 12;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • 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.
      • setTypeValue

        public Asset.Builder setTypeValue​(int value)
         Output only. Type of the asset.
         
        .google.ads.googleads.v10.enums.AssetTypeEnum.AssetType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • 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.
      • setType

        public Asset.Builder setType​(AssetTypeEnum.AssetType value)
         Output only. Type of the asset.
         
        .google.ads.googleads.v10.enums.AssetTypeEnum.AssetType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public Asset.Builder clearType()
         Output only. Type of the asset.
         
        .google.ads.googleads.v10.enums.AssetTypeEnum.AssetType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • 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.
      • setFinalUrls

        public Asset.Builder setFinalUrls​(int index,
                                          java.lang.String value)
         A list of possible final URLs after all cross domain redirects.
         
        repeated string final_urls = 14;
        Parameters:
        index - The index to set the value at.
        value - The finalUrls to set.
        Returns:
        This builder for chaining.
      • addFinalUrls

        public Asset.Builder addFinalUrls​(java.lang.String value)
         A list of possible final URLs after all cross domain redirects.
         
        repeated string final_urls = 14;
        Parameters:
        value - The finalUrls to add.
        Returns:
        This builder for chaining.
      • addAllFinalUrls

        public Asset.Builder addAllFinalUrls​(java.lang.Iterable<java.lang.String> values)
         A list of possible final URLs after all cross domain redirects.
         
        repeated string final_urls = 14;
        Parameters:
        values - The finalUrls to add.
        Returns:
        This builder for chaining.
      • clearFinalUrls

        public Asset.Builder clearFinalUrls()
         A list of possible final URLs after all cross domain redirects.
         
        repeated string final_urls = 14;
        Returns:
        This builder for chaining.
      • addFinalUrlsBytes

        public Asset.Builder addFinalUrlsBytes​(com.google.protobuf.ByteString value)
         A list of possible final URLs after all cross domain redirects.
         
        repeated string final_urls = 14;
        Parameters:
        value - The bytes of the finalUrls to add.
        Returns:
        This builder for chaining.
      • 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.
      • setFinalMobileUrls

        public Asset.Builder setFinalMobileUrls​(int index,
                                                java.lang.String value)
         A list of possible final mobile URLs after all cross domain redirects.
         
        repeated string final_mobile_urls = 16;
        Parameters:
        index - The index to set the value at.
        value - The finalMobileUrls to set.
        Returns:
        This builder for chaining.
      • addFinalMobileUrls

        public Asset.Builder addFinalMobileUrls​(java.lang.String value)
         A list of possible final mobile URLs after all cross domain redirects.
         
        repeated string final_mobile_urls = 16;
        Parameters:
        value - The finalMobileUrls to add.
        Returns:
        This builder for chaining.
      • addAllFinalMobileUrls

        public Asset.Builder addAllFinalMobileUrls​(java.lang.Iterable<java.lang.String> values)
         A list of possible final mobile URLs after all cross domain redirects.
         
        repeated string final_mobile_urls = 16;
        Parameters:
        values - The finalMobileUrls to add.
        Returns:
        This builder for chaining.
      • clearFinalMobileUrls

        public Asset.Builder clearFinalMobileUrls()
         A list of possible final mobile URLs after all cross domain redirects.
         
        repeated string final_mobile_urls = 16;
        Returns:
        This builder for chaining.
      • addFinalMobileUrlsBytes

        public Asset.Builder addFinalMobileUrlsBytes​(com.google.protobuf.ByteString value)
         A list of possible final mobile URLs after all cross domain redirects.
         
        repeated string final_mobile_urls = 16;
        Parameters:
        value - The bytes of the finalMobileUrls to add.
        Returns:
        This builder for chaining.
      • 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.
      • setTrackingUrlTemplate

        public Asset.Builder setTrackingUrlTemplate​(java.lang.String value)
         URL template for constructing a tracking URL.
         
        optional string tracking_url_template = 17;
        Parameters:
        value - The trackingUrlTemplate to set.
        Returns:
        This builder for chaining.
      • clearTrackingUrlTemplate

        public Asset.Builder clearTrackingUrlTemplate()
         URL template for constructing a tracking URL.
         
        optional string tracking_url_template = 17;
        Returns:
        This builder for chaining.
      • setTrackingUrlTemplateBytes

        public Asset.Builder setTrackingUrlTemplateBytes​(com.google.protobuf.ByteString value)
         URL template for constructing a tracking URL.
         
        optional string tracking_url_template = 17;
        Parameters:
        value - The bytes for trackingUrlTemplate to set.
        Returns:
        This builder for chaining.
      • 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
      • 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
      • setUrlCustomParameters

        public Asset.Builder setUrlCustomParameters​(int index,
                                                    CustomParameter value)
         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;
      • setUrlCustomParameters

        public Asset.Builder setUrlCustomParameters​(int index,
                                                    CustomParameter.Builder builderForValue)
         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;
      • addUrlCustomParameters

        public Asset.Builder addUrlCustomParameters​(CustomParameter value)
         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;
      • addUrlCustomParameters

        public Asset.Builder addUrlCustomParameters​(int index,
                                                    CustomParameter value)
         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;
      • addUrlCustomParameters

        public Asset.Builder addUrlCustomParameters​(CustomParameter.Builder builderForValue)
         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;
      • addUrlCustomParameters

        public Asset.Builder addUrlCustomParameters​(int index,
                                                    CustomParameter.Builder builderForValue)
         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;
      • addAllUrlCustomParameters

        public Asset.Builder addAllUrlCustomParameters​(java.lang.Iterable<? extends CustomParameter> values)
         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;
      • clearUrlCustomParameters

        public Asset.Builder clearUrlCustomParameters()
         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;
      • removeUrlCustomParameters

        public Asset.Builder removeUrlCustomParameters​(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;
      • getUrlCustomParametersBuilder

        public CustomParameter.Builder getUrlCustomParametersBuilder​(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;
      • 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
      • 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
      • addUrlCustomParametersBuilder

        public CustomParameter.Builder addUrlCustomParametersBuilder()
         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;
      • addUrlCustomParametersBuilder

        public CustomParameter.Builder addUrlCustomParametersBuilder​(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;
      • getUrlCustomParametersBuilderList

        public java.util.List<CustomParameter.Builder> getUrlCustomParametersBuilderList()
         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

        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.
      • setFinalUrlSuffix

        public Asset.Builder setFinalUrlSuffix​(java.lang.String value)
         URL template for appending params to landing page URLs served with parallel
         tracking.
         
        optional string final_url_suffix = 19;
        Parameters:
        value - The finalUrlSuffix to set.
        Returns:
        This builder for chaining.
      • clearFinalUrlSuffix

        public Asset.Builder clearFinalUrlSuffix()
         URL template for appending params to landing page URLs served with parallel
         tracking.
         
        optional string final_url_suffix = 19;
        Returns:
        This builder for chaining.
      • setFinalUrlSuffixBytes

        public Asset.Builder setFinalUrlSuffixBytes​(com.google.protobuf.ByteString value)
         URL template for appending params to landing page URLs served with parallel
         tracking.
         
        optional string final_url_suffix = 19;
        Parameters:
        value - The bytes for finalUrlSuffix to set.
        Returns:
        This builder for chaining.
      • 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.
      • setPolicySummary

        public Asset.Builder setPolicySummary​(AssetPolicySummary value)
         Output only. Policy information for the asset.
         
        .google.ads.googleads.v10.resources.AssetPolicySummary policy_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setPolicySummary

        public Asset.Builder setPolicySummary​(AssetPolicySummary.Builder builderForValue)
         Output only. Policy information for the asset.
         
        .google.ads.googleads.v10.resources.AssetPolicySummary policy_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergePolicySummary

        public Asset.Builder mergePolicySummary​(AssetPolicySummary value)
         Output only. Policy information for the asset.
         
        .google.ads.googleads.v10.resources.AssetPolicySummary policy_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearPolicySummary

        public Asset.Builder clearPolicySummary()
         Output only. Policy information for the asset.
         
        .google.ads.googleads.v10.resources.AssetPolicySummary policy_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPolicySummaryBuilder

        public AssetPolicySummary.Builder getPolicySummaryBuilder()
         Output only. Policy information for the asset.
         
        .google.ads.googleads.v10.resources.AssetPolicySummary policy_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • 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.
      • setYoutubeVideoAsset

        public Asset.Builder setYoutubeVideoAsset​(YoutubeVideoAsset value)
         Immutable. A YouTube video asset.
         
        .google.ads.googleads.v10.common.YoutubeVideoAsset youtube_video_asset = 5 [(.google.api.field_behavior) = IMMUTABLE];
      • setYoutubeVideoAsset

        public Asset.Builder setYoutubeVideoAsset​(YoutubeVideoAsset.Builder builderForValue)
         Immutable. A YouTube video asset.
         
        .google.ads.googleads.v10.common.YoutubeVideoAsset youtube_video_asset = 5 [(.google.api.field_behavior) = IMMUTABLE];
      • mergeYoutubeVideoAsset

        public Asset.Builder mergeYoutubeVideoAsset​(YoutubeVideoAsset value)
         Immutable. A YouTube video asset.
         
        .google.ads.googleads.v10.common.YoutubeVideoAsset youtube_video_asset = 5 [(.google.api.field_behavior) = IMMUTABLE];
      • clearYoutubeVideoAsset

        public Asset.Builder clearYoutubeVideoAsset()
         Immutable. A YouTube video asset.
         
        .google.ads.googleads.v10.common.YoutubeVideoAsset youtube_video_asset = 5 [(.google.api.field_behavior) = IMMUTABLE];
      • getYoutubeVideoAssetBuilder

        public YoutubeVideoAsset.Builder getYoutubeVideoAssetBuilder()
         Immutable. A YouTube video asset.
         
        .google.ads.googleads.v10.common.YoutubeVideoAsset youtube_video_asset = 5 [(.google.api.field_behavior) = IMMUTABLE];
      • 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.
      • setMediaBundleAsset

        public Asset.Builder setMediaBundleAsset​(MediaBundleAsset value)
         Immutable. A media bundle asset.
         
        .google.ads.googleads.v10.common.MediaBundleAsset media_bundle_asset = 6 [(.google.api.field_behavior) = IMMUTABLE];
      • setMediaBundleAsset

        public Asset.Builder setMediaBundleAsset​(MediaBundleAsset.Builder builderForValue)
         Immutable. A media bundle asset.
         
        .google.ads.googleads.v10.common.MediaBundleAsset media_bundle_asset = 6 [(.google.api.field_behavior) = IMMUTABLE];
      • mergeMediaBundleAsset

        public Asset.Builder mergeMediaBundleAsset​(MediaBundleAsset value)
         Immutable. A media bundle asset.
         
        .google.ads.googleads.v10.common.MediaBundleAsset media_bundle_asset = 6 [(.google.api.field_behavior) = IMMUTABLE];
      • clearMediaBundleAsset

        public Asset.Builder clearMediaBundleAsset()
         Immutable. A media bundle asset.
         
        .google.ads.googleads.v10.common.MediaBundleAsset media_bundle_asset = 6 [(.google.api.field_behavior) = IMMUTABLE];
      • getMediaBundleAssetBuilder

        public MediaBundleAsset.Builder getMediaBundleAssetBuilder()
         Immutable. A media bundle asset.
         
        .google.ads.googleads.v10.common.MediaBundleAsset media_bundle_asset = 6 [(.google.api.field_behavior) = IMMUTABLE];
      • 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.
      • setImageAsset

        public Asset.Builder setImageAsset​(ImageAsset value)
         Output only. An image asset.
         
        .google.ads.googleads.v10.common.ImageAsset image_asset = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setImageAsset

        public Asset.Builder setImageAsset​(ImageAsset.Builder builderForValue)
         Output only. An image asset.
         
        .google.ads.googleads.v10.common.ImageAsset image_asset = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeImageAsset

        public Asset.Builder mergeImageAsset​(ImageAsset value)
         Output only. An image asset.
         
        .google.ads.googleads.v10.common.ImageAsset image_asset = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearImageAsset

        public Asset.Builder clearImageAsset()
         Output only. An image asset.
         
        .google.ads.googleads.v10.common.ImageAsset image_asset = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getImageAssetBuilder

        public ImageAsset.Builder getImageAssetBuilder()
         Output only. An image asset.
         
        .google.ads.googleads.v10.common.ImageAsset image_asset = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • 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.
      • setTextAsset

        public Asset.Builder setTextAsset​(TextAsset value)
         Immutable. A text asset.
         
        .google.ads.googleads.v10.common.TextAsset text_asset = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • setTextAsset

        public Asset.Builder setTextAsset​(TextAsset.Builder builderForValue)
         Immutable. A text asset.
         
        .google.ads.googleads.v10.common.TextAsset text_asset = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • mergeTextAsset

        public Asset.Builder mergeTextAsset​(TextAsset value)
         Immutable. A text asset.
         
        .google.ads.googleads.v10.common.TextAsset text_asset = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • clearTextAsset

        public Asset.Builder clearTextAsset()
         Immutable. A text asset.
         
        .google.ads.googleads.v10.common.TextAsset text_asset = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • getTextAssetBuilder

        public TextAsset.Builder getTextAssetBuilder()
         Immutable. A text asset.
         
        .google.ads.googleads.v10.common.TextAsset text_asset = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • 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.
      • setLeadFormAsset

        public Asset.Builder setLeadFormAsset​(LeadFormAsset value)
         A lead form asset.
         
        .google.ads.googleads.v10.common.LeadFormAsset lead_form_asset = 9;
      • setLeadFormAsset

        public Asset.Builder setLeadFormAsset​(LeadFormAsset.Builder builderForValue)
         A lead form asset.
         
        .google.ads.googleads.v10.common.LeadFormAsset lead_form_asset = 9;
      • mergeLeadFormAsset

        public Asset.Builder mergeLeadFormAsset​(LeadFormAsset value)
         A lead form asset.
         
        .google.ads.googleads.v10.common.LeadFormAsset lead_form_asset = 9;
      • clearLeadFormAsset

        public Asset.Builder clearLeadFormAsset()
         A lead form asset.
         
        .google.ads.googleads.v10.common.LeadFormAsset lead_form_asset = 9;
      • getLeadFormAssetBuilder

        public LeadFormAsset.Builder getLeadFormAssetBuilder()
         A lead form asset.
         
        .google.ads.googleads.v10.common.LeadFormAsset lead_form_asset = 9;
      • 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.
      • setBookOnGoogleAsset

        public Asset.Builder setBookOnGoogleAsset​(BookOnGoogleAsset value)
         A book on google asset.
         
        .google.ads.googleads.v10.common.BookOnGoogleAsset book_on_google_asset = 10;
      • setBookOnGoogleAsset

        public Asset.Builder setBookOnGoogleAsset​(BookOnGoogleAsset.Builder builderForValue)
         A book on google asset.
         
        .google.ads.googleads.v10.common.BookOnGoogleAsset book_on_google_asset = 10;
      • mergeBookOnGoogleAsset

        public Asset.Builder mergeBookOnGoogleAsset​(BookOnGoogleAsset value)
         A book on google asset.
         
        .google.ads.googleads.v10.common.BookOnGoogleAsset book_on_google_asset = 10;
      • clearBookOnGoogleAsset

        public Asset.Builder clearBookOnGoogleAsset()
         A book on google asset.
         
        .google.ads.googleads.v10.common.BookOnGoogleAsset book_on_google_asset = 10;
      • getBookOnGoogleAssetBuilder

        public BookOnGoogleAsset.Builder getBookOnGoogleAssetBuilder()
         A book on google asset.
         
        .google.ads.googleads.v10.common.BookOnGoogleAsset book_on_google_asset = 10;
      • 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.
      • setPromotionAsset

        public Asset.Builder setPromotionAsset​(PromotionAsset value)
         A promotion asset.
         
        .google.ads.googleads.v10.common.PromotionAsset promotion_asset = 15;
      • setPromotionAsset

        public Asset.Builder setPromotionAsset​(PromotionAsset.Builder builderForValue)
         A promotion asset.
         
        .google.ads.googleads.v10.common.PromotionAsset promotion_asset = 15;
      • mergePromotionAsset

        public Asset.Builder mergePromotionAsset​(PromotionAsset value)
         A promotion asset.
         
        .google.ads.googleads.v10.common.PromotionAsset promotion_asset = 15;
      • clearPromotionAsset

        public Asset.Builder clearPromotionAsset()
         A promotion asset.
         
        .google.ads.googleads.v10.common.PromotionAsset promotion_asset = 15;
      • getPromotionAssetBuilder

        public PromotionAsset.Builder getPromotionAssetBuilder()
         A promotion asset.
         
        .google.ads.googleads.v10.common.PromotionAsset promotion_asset = 15;
      • 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.
      • setCalloutAsset

        public Asset.Builder setCalloutAsset​(CalloutAsset value)
         A callout asset.
         
        .google.ads.googleads.v10.common.CalloutAsset callout_asset = 20;
      • setCalloutAsset

        public Asset.Builder setCalloutAsset​(CalloutAsset.Builder builderForValue)
         A callout asset.
         
        .google.ads.googleads.v10.common.CalloutAsset callout_asset = 20;
      • mergeCalloutAsset

        public Asset.Builder mergeCalloutAsset​(CalloutAsset value)
         A callout asset.
         
        .google.ads.googleads.v10.common.CalloutAsset callout_asset = 20;
      • clearCalloutAsset

        public Asset.Builder clearCalloutAsset()
         A callout asset.
         
        .google.ads.googleads.v10.common.CalloutAsset callout_asset = 20;
      • getCalloutAssetBuilder

        public CalloutAsset.Builder getCalloutAssetBuilder()
         A callout asset.
         
        .google.ads.googleads.v10.common.CalloutAsset callout_asset = 20;
      • 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.
      • setStructuredSnippetAsset

        public Asset.Builder setStructuredSnippetAsset​(StructuredSnippetAsset value)
         A structured snippet asset.
         
        .google.ads.googleads.v10.common.StructuredSnippetAsset structured_snippet_asset = 21;
      • setStructuredSnippetAsset

        public Asset.Builder setStructuredSnippetAsset​(StructuredSnippetAsset.Builder builderForValue)
         A structured snippet asset.
         
        .google.ads.googleads.v10.common.StructuredSnippetAsset structured_snippet_asset = 21;
      • mergeStructuredSnippetAsset

        public Asset.Builder mergeStructuredSnippetAsset​(StructuredSnippetAsset value)
         A structured snippet asset.
         
        .google.ads.googleads.v10.common.StructuredSnippetAsset structured_snippet_asset = 21;
      • clearStructuredSnippetAsset

        public Asset.Builder clearStructuredSnippetAsset()
         A structured snippet asset.
         
        .google.ads.googleads.v10.common.StructuredSnippetAsset structured_snippet_asset = 21;
      • getStructuredSnippetAssetBuilder

        public StructuredSnippetAsset.Builder getStructuredSnippetAssetBuilder()
         A structured snippet asset.
         
        .google.ads.googleads.v10.common.StructuredSnippetAsset structured_snippet_asset = 21;
      • 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.
      • setSitelinkAsset

        public Asset.Builder setSitelinkAsset​(SitelinkAsset value)
         A sitelink asset.
         
        .google.ads.googleads.v10.common.SitelinkAsset sitelink_asset = 22;
      • setSitelinkAsset

        public Asset.Builder setSitelinkAsset​(SitelinkAsset.Builder builderForValue)
         A sitelink asset.
         
        .google.ads.googleads.v10.common.SitelinkAsset sitelink_asset = 22;
      • mergeSitelinkAsset

        public Asset.Builder mergeSitelinkAsset​(SitelinkAsset value)
         A sitelink asset.
         
        .google.ads.googleads.v10.common.SitelinkAsset sitelink_asset = 22;
      • clearSitelinkAsset

        public Asset.Builder clearSitelinkAsset()
         A sitelink asset.
         
        .google.ads.googleads.v10.common.SitelinkAsset sitelink_asset = 22;
      • getSitelinkAssetBuilder

        public SitelinkAsset.Builder getSitelinkAssetBuilder()
         A sitelink asset.
         
        .google.ads.googleads.v10.common.SitelinkAsset sitelink_asset = 22;
      • 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.
      • setPageFeedAsset

        public Asset.Builder setPageFeedAsset​(PageFeedAsset value)
         A page feed asset.
         
        .google.ads.googleads.v10.common.PageFeedAsset page_feed_asset = 23;
      • setPageFeedAsset

        public Asset.Builder setPageFeedAsset​(PageFeedAsset.Builder builderForValue)
         A page feed asset.
         
        .google.ads.googleads.v10.common.PageFeedAsset page_feed_asset = 23;
      • mergePageFeedAsset

        public Asset.Builder mergePageFeedAsset​(PageFeedAsset value)
         A page feed asset.
         
        .google.ads.googleads.v10.common.PageFeedAsset page_feed_asset = 23;
      • clearPageFeedAsset

        public Asset.Builder clearPageFeedAsset()
         A page feed asset.
         
        .google.ads.googleads.v10.common.PageFeedAsset page_feed_asset = 23;
      • getPageFeedAssetBuilder

        public PageFeedAsset.Builder getPageFeedAssetBuilder()
         A page feed asset.
         
        .google.ads.googleads.v10.common.PageFeedAsset page_feed_asset = 23;
      • 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.
      • setDynamicEducationAsset

        public Asset.Builder setDynamicEducationAsset​(DynamicEducationAsset value)
         A dynamic education asset.
         
        .google.ads.googleads.v10.common.DynamicEducationAsset dynamic_education_asset = 24;
      • setDynamicEducationAsset

        public Asset.Builder setDynamicEducationAsset​(DynamicEducationAsset.Builder builderForValue)
         A dynamic education asset.
         
        .google.ads.googleads.v10.common.DynamicEducationAsset dynamic_education_asset = 24;
      • mergeDynamicEducationAsset

        public Asset.Builder mergeDynamicEducationAsset​(DynamicEducationAsset value)
         A dynamic education asset.
         
        .google.ads.googleads.v10.common.DynamicEducationAsset dynamic_education_asset = 24;
      • clearDynamicEducationAsset

        public Asset.Builder clearDynamicEducationAsset()
         A dynamic education asset.
         
        .google.ads.googleads.v10.common.DynamicEducationAsset dynamic_education_asset = 24;
      • getDynamicEducationAssetBuilder

        public DynamicEducationAsset.Builder getDynamicEducationAssetBuilder()
         A dynamic education asset.
         
        .google.ads.googleads.v10.common.DynamicEducationAsset dynamic_education_asset = 24;
      • 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.
      • setMobileAppAsset

        public Asset.Builder setMobileAppAsset​(MobileAppAsset value)
         A mobile app asset.
         
        .google.ads.googleads.v10.common.MobileAppAsset mobile_app_asset = 25;
      • setMobileAppAsset

        public Asset.Builder setMobileAppAsset​(MobileAppAsset.Builder builderForValue)
         A mobile app asset.
         
        .google.ads.googleads.v10.common.MobileAppAsset mobile_app_asset = 25;
      • mergeMobileAppAsset

        public Asset.Builder mergeMobileAppAsset​(MobileAppAsset value)
         A mobile app asset.
         
        .google.ads.googleads.v10.common.MobileAppAsset mobile_app_asset = 25;
      • clearMobileAppAsset

        public Asset.Builder clearMobileAppAsset()
         A mobile app asset.
         
        .google.ads.googleads.v10.common.MobileAppAsset mobile_app_asset = 25;
      • getMobileAppAssetBuilder

        public MobileAppAsset.Builder getMobileAppAssetBuilder()
         A mobile app asset.
         
        .google.ads.googleads.v10.common.MobileAppAsset mobile_app_asset = 25;
      • 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.
      • setHotelCalloutAsset

        public Asset.Builder setHotelCalloutAsset​(HotelCalloutAsset value)
         A hotel callout asset.
         
        .google.ads.googleads.v10.common.HotelCalloutAsset hotel_callout_asset = 26;
      • setHotelCalloutAsset

        public Asset.Builder setHotelCalloutAsset​(HotelCalloutAsset.Builder builderForValue)
         A hotel callout asset.
         
        .google.ads.googleads.v10.common.HotelCalloutAsset hotel_callout_asset = 26;
      • mergeHotelCalloutAsset

        public Asset.Builder mergeHotelCalloutAsset​(HotelCalloutAsset value)
         A hotel callout asset.
         
        .google.ads.googleads.v10.common.HotelCalloutAsset hotel_callout_asset = 26;
      • clearHotelCalloutAsset

        public Asset.Builder clearHotelCalloutAsset()
         A hotel callout asset.
         
        .google.ads.googleads.v10.common.HotelCalloutAsset hotel_callout_asset = 26;
      • getHotelCalloutAssetBuilder

        public HotelCalloutAsset.Builder getHotelCalloutAssetBuilder()
         A hotel callout asset.
         
        .google.ads.googleads.v10.common.HotelCalloutAsset hotel_callout_asset = 26;
      • 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.
      • setCallAsset

        public Asset.Builder setCallAsset​(CallAsset value)
         A call asset.
         
        .google.ads.googleads.v10.common.CallAsset call_asset = 27;
      • setCallAsset

        public Asset.Builder setCallAsset​(CallAsset.Builder builderForValue)
         A call asset.
         
        .google.ads.googleads.v10.common.CallAsset call_asset = 27;
      • mergeCallAsset

        public Asset.Builder mergeCallAsset​(CallAsset value)
         A call asset.
         
        .google.ads.googleads.v10.common.CallAsset call_asset = 27;
      • clearCallAsset

        public Asset.Builder clearCallAsset()
         A call asset.
         
        .google.ads.googleads.v10.common.CallAsset call_asset = 27;
      • getCallAssetBuilder

        public CallAsset.Builder getCallAssetBuilder()
         A call asset.
         
        .google.ads.googleads.v10.common.CallAsset call_asset = 27;
      • 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.
      • setPriceAsset

        public Asset.Builder setPriceAsset​(PriceAsset value)
         A price asset.
         
        .google.ads.googleads.v10.common.PriceAsset price_asset = 28;
      • setPriceAsset

        public Asset.Builder setPriceAsset​(PriceAsset.Builder builderForValue)
         A price asset.
         
        .google.ads.googleads.v10.common.PriceAsset price_asset = 28;
      • mergePriceAsset

        public Asset.Builder mergePriceAsset​(PriceAsset value)
         A price asset.
         
        .google.ads.googleads.v10.common.PriceAsset price_asset = 28;
      • clearPriceAsset

        public Asset.Builder clearPriceAsset()
         A price asset.
         
        .google.ads.googleads.v10.common.PriceAsset price_asset = 28;
      • getPriceAssetBuilder

        public PriceAsset.Builder getPriceAssetBuilder()
         A price asset.
         
        .google.ads.googleads.v10.common.PriceAsset price_asset = 28;
      • 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.
      • setCallToActionAsset

        public Asset.Builder setCallToActionAsset​(CallToActionAsset value)
         Immutable. A call to action asset.
         
        .google.ads.googleads.v10.common.CallToActionAsset call_to_action_asset = 29 [(.google.api.field_behavior) = IMMUTABLE];
      • setCallToActionAsset

        public Asset.Builder setCallToActionAsset​(CallToActionAsset.Builder builderForValue)
         Immutable. A call to action asset.
         
        .google.ads.googleads.v10.common.CallToActionAsset call_to_action_asset = 29 [(.google.api.field_behavior) = IMMUTABLE];
      • mergeCallToActionAsset

        public Asset.Builder mergeCallToActionAsset​(CallToActionAsset value)
         Immutable. A call to action asset.
         
        .google.ads.googleads.v10.common.CallToActionAsset call_to_action_asset = 29 [(.google.api.field_behavior) = IMMUTABLE];
      • clearCallToActionAsset

        public Asset.Builder clearCallToActionAsset()
         Immutable. A call to action asset.
         
        .google.ads.googleads.v10.common.CallToActionAsset call_to_action_asset = 29 [(.google.api.field_behavior) = IMMUTABLE];
      • getCallToActionAssetBuilder

        public CallToActionAsset.Builder getCallToActionAssetBuilder()
         Immutable. A call to action asset.
         
        .google.ads.googleads.v10.common.CallToActionAsset call_to_action_asset = 29 [(.google.api.field_behavior) = IMMUTABLE];
      • setUnknownFields

        public final Asset.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • mergeUnknownFields

        public final Asset.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>