Class Campaign.AssetAutomationSetting.Builder

    • 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<Campaign.AssetAutomationSetting.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<Campaign.AssetAutomationSetting.Builder>
      • getDefaultInstanceForType

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

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

        public Campaign.AssetAutomationSetting buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public Campaign.AssetAutomationSetting.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<Campaign.AssetAutomationSetting.Builder>
        Throws:
        java.io.IOException
      • hasAssetAutomationType

        public boolean hasAssetAutomationType()
         The asset automation type advertiser would like to opt-in/out.
         
        optional .google.ads.googleads.v15.enums.AssetAutomationTypeEnum.AssetAutomationType asset_automation_type = 1;
        Specified by:
        hasAssetAutomationType in interface Campaign.AssetAutomationSettingOrBuilder
        Returns:
        Whether the assetAutomationType field is set.
      • getAssetAutomationTypeValue

        public int getAssetAutomationTypeValue()
         The asset automation type advertiser would like to opt-in/out.
         
        optional .google.ads.googleads.v15.enums.AssetAutomationTypeEnum.AssetAutomationType asset_automation_type = 1;
        Specified by:
        getAssetAutomationTypeValue in interface Campaign.AssetAutomationSettingOrBuilder
        Returns:
        The enum numeric value on the wire for assetAutomationType.
      • setAssetAutomationTypeValue

        public Campaign.AssetAutomationSetting.Builder setAssetAutomationTypeValue​(int value)
         The asset automation type advertiser would like to opt-in/out.
         
        optional .google.ads.googleads.v15.enums.AssetAutomationTypeEnum.AssetAutomationType asset_automation_type = 1;
        Parameters:
        value - The enum numeric value on the wire for assetAutomationType to set.
        Returns:
        This builder for chaining.
      • setAssetAutomationType

        public Campaign.AssetAutomationSetting.Builder setAssetAutomationType​(AssetAutomationTypeEnum.AssetAutomationType value)
         The asset automation type advertiser would like to opt-in/out.
         
        optional .google.ads.googleads.v15.enums.AssetAutomationTypeEnum.AssetAutomationType asset_automation_type = 1;
        Parameters:
        value - The assetAutomationType to set.
        Returns:
        This builder for chaining.
      • clearAssetAutomationType

        public Campaign.AssetAutomationSetting.Builder clearAssetAutomationType()
         The asset automation type advertiser would like to opt-in/out.
         
        optional .google.ads.googleads.v15.enums.AssetAutomationTypeEnum.AssetAutomationType asset_automation_type = 1;
        Returns:
        This builder for chaining.
      • hasAssetAutomationStatus

        public boolean hasAssetAutomationStatus()
         The opt-in/out status of asset automation type.
         
        optional .google.ads.googleads.v15.enums.AssetAutomationStatusEnum.AssetAutomationStatus asset_automation_status = 2;
        Specified by:
        hasAssetAutomationStatus in interface Campaign.AssetAutomationSettingOrBuilder
        Returns:
        Whether the assetAutomationStatus field is set.
      • getAssetAutomationStatusValue

        public int getAssetAutomationStatusValue()
         The opt-in/out status of asset automation type.
         
        optional .google.ads.googleads.v15.enums.AssetAutomationStatusEnum.AssetAutomationStatus asset_automation_status = 2;
        Specified by:
        getAssetAutomationStatusValue in interface Campaign.AssetAutomationSettingOrBuilder
        Returns:
        The enum numeric value on the wire for assetAutomationStatus.
      • setAssetAutomationStatusValue

        public Campaign.AssetAutomationSetting.Builder setAssetAutomationStatusValue​(int value)
         The opt-in/out status of asset automation type.
         
        optional .google.ads.googleads.v15.enums.AssetAutomationStatusEnum.AssetAutomationStatus asset_automation_status = 2;
        Parameters:
        value - The enum numeric value on the wire for assetAutomationStatus to set.
        Returns:
        This builder for chaining.
      • clearAssetAutomationStatus

        public Campaign.AssetAutomationSetting.Builder clearAssetAutomationStatus()
         The opt-in/out status of asset automation type.
         
        optional .google.ads.googleads.v15.enums.AssetAutomationStatusEnum.AssetAutomationStatus asset_automation_status = 2;
        Returns:
        This builder for chaining.