Class AdGroupAdAssetAutomationSetting.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AdGroupAdAssetAutomationSetting.Builder>
com.google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting.Builder
All Implemented Interfaces:
AdGroupAdAssetAutomationSettingOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AdGroupAdAssetAutomationSetting

public static final class AdGroupAdAssetAutomationSetting.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AdGroupAdAssetAutomationSetting.Builder> implements AdGroupAdAssetAutomationSettingOrBuilder
 Asset automation setting for an AdGroupAd.
 
Protobuf type google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting
  • Method Details

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AdGroupAdAssetAutomationSetting buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<AdGroupAdAssetAutomationSetting.Builder>
    • setField

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

      public AdGroupAdAssetAutomationSetting.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<AdGroupAdAssetAutomationSetting.Builder>
    • clearOneof

      public AdGroupAdAssetAutomationSetting.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<AdGroupAdAssetAutomationSetting.Builder>
    • setRepeatedField

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

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

      public AdGroupAdAssetAutomationSetting.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<AdGroupAdAssetAutomationSetting.Builder>
    • mergeFrom

    • isInitialized

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

      public AdGroupAdAssetAutomationSetting.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<AdGroupAdAssetAutomationSetting.Builder>
      Throws:
      IOException
    • hasAssetAutomationType

      public boolean hasAssetAutomationType()
       The asset automation type that this setting configures.
       
      optional .google.ads.googleads.v18.enums.AssetAutomationTypeEnum.AssetAutomationType asset_automation_type = 1;
      Specified by:
      hasAssetAutomationType in interface AdGroupAdAssetAutomationSettingOrBuilder
      Returns:
      Whether the assetAutomationType field is set.
    • getAssetAutomationTypeValue

      public int getAssetAutomationTypeValue()
       The asset automation type that this setting configures.
       
      optional .google.ads.googleads.v18.enums.AssetAutomationTypeEnum.AssetAutomationType asset_automation_type = 1;
      Specified by:
      getAssetAutomationTypeValue in interface AdGroupAdAssetAutomationSettingOrBuilder
      Returns:
      The enum numeric value on the wire for assetAutomationType.
    • setAssetAutomationTypeValue

      public AdGroupAdAssetAutomationSetting.Builder setAssetAutomationTypeValue(int value)
       The asset automation type that this setting configures.
       
      optional .google.ads.googleads.v18.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.
    • getAssetAutomationType

      public AssetAutomationTypeEnum.AssetAutomationType getAssetAutomationType()
       The asset automation type that this setting configures.
       
      optional .google.ads.googleads.v18.enums.AssetAutomationTypeEnum.AssetAutomationType asset_automation_type = 1;
      Specified by:
      getAssetAutomationType in interface AdGroupAdAssetAutomationSettingOrBuilder
      Returns:
      The assetAutomationType.
    • setAssetAutomationType

       The asset automation type that this setting configures.
       
      optional .google.ads.googleads.v18.enums.AssetAutomationTypeEnum.AssetAutomationType asset_automation_type = 1;
      Parameters:
      value - The assetAutomationType to set.
      Returns:
      This builder for chaining.
    • clearAssetAutomationType

      public AdGroupAdAssetAutomationSetting.Builder clearAssetAutomationType()
       The asset automation type that this setting configures.
       
      optional .google.ads.googleads.v18.enums.AssetAutomationTypeEnum.AssetAutomationType asset_automation_type = 1;
      Returns:
      This builder for chaining.
    • hasAssetAutomationStatus

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

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

      public AdGroupAdAssetAutomationSetting.Builder setAssetAutomationStatusValue(int value)
       The opt-in/out status for the specified asset automation type.
       
      optional .google.ads.googleads.v18.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.
    • getAssetAutomationStatus

      public AssetAutomationStatusEnum.AssetAutomationStatus getAssetAutomationStatus()
       The opt-in/out status for the specified asset automation type.
       
      optional .google.ads.googleads.v18.enums.AssetAutomationStatusEnum.AssetAutomationStatus asset_automation_status = 2;
      Specified by:
      getAssetAutomationStatus in interface AdGroupAdAssetAutomationSettingOrBuilder
      Returns:
      The assetAutomationStatus.
    • setAssetAutomationStatus

       The opt-in/out status for the specified asset automation type.
       
      optional .google.ads.googleads.v18.enums.AssetAutomationStatusEnum.AssetAutomationStatus asset_automation_status = 2;
      Parameters:
      value - The assetAutomationStatus to set.
      Returns:
      This builder for chaining.
    • clearAssetAutomationStatus

      public AdGroupAdAssetAutomationSetting.Builder clearAssetAutomationStatus()
       The opt-in/out status for the specified asset automation type.
       
      optional .google.ads.googleads.v18.enums.AssetAutomationStatusEnum.AssetAutomationStatus asset_automation_status = 2;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final AdGroupAdAssetAutomationSetting.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<AdGroupAdAssetAutomationSetting.Builder>
    • mergeUnknownFields

      public final AdGroupAdAssetAutomationSetting.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<AdGroupAdAssetAutomationSetting.Builder>