Class RemoveAutomaticallyCreatedAssetsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<RemoveAutomaticallyCreatedAssetsRequest.Builder>
com.google.ads.googleads.v21.services.RemoveAutomaticallyCreatedAssetsRequest.Builder
All Implemented Interfaces:
RemoveAutomaticallyCreatedAssetsRequestOrBuilder, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RemoveAutomaticallyCreatedAssetsRequest

public static final class RemoveAutomaticallyCreatedAssetsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RemoveAutomaticallyCreatedAssetsRequest.Builder> implements RemoveAutomaticallyCreatedAssetsRequestOrBuilder
 Request message for
 [AdGroupAdService.RemoveAutomaticallyCreatedAssetsRequest][].
 
Protobuf type google.ads.googleads.v21.services.RemoveAutomaticallyCreatedAssetsRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Overrides:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RemoveAutomaticallyCreatedAssetsRequest.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<RemoveAutomaticallyCreatedAssetsRequest.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.GeneratedMessage.Builder<RemoveAutomaticallyCreatedAssetsRequest.Builder>
    • getDefaultInstanceForType

      public RemoveAutomaticallyCreatedAssetsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
      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

      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<RemoveAutomaticallyCreatedAssetsRequest.Builder>
    • setField

      public RemoveAutomaticallyCreatedAssetsRequest.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<RemoveAutomaticallyCreatedAssetsRequest.Builder>
    • clearField

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

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

      public RemoveAutomaticallyCreatedAssetsRequest.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<RemoveAutomaticallyCreatedAssetsRequest.Builder>
    • addRepeatedField

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

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

    • isInitialized

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

      public RemoveAutomaticallyCreatedAssetsRequest.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<RemoveAutomaticallyCreatedAssetsRequest.Builder>
      Throws:
      IOException
    • getAdGroupAd

      public String getAdGroupAd()
       Required. The resource name of the AdGroupAd from which to remove
       automatically created assets.
       
      string ad_group_ad = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getAdGroupAd in interface RemoveAutomaticallyCreatedAssetsRequestOrBuilder
      Returns:
      The adGroupAd.
    • getAdGroupAdBytes

      public com.google.protobuf.ByteString getAdGroupAdBytes()
       Required. The resource name of the AdGroupAd from which to remove
       automatically created assets.
       
      string ad_group_ad = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getAdGroupAdBytes in interface RemoveAutomaticallyCreatedAssetsRequestOrBuilder
      Returns:
      The bytes for adGroupAd.
    • setAdGroupAd

       Required. The resource name of the AdGroupAd from which to remove
       automatically created assets.
       
      string ad_group_ad = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The adGroupAd to set.
      Returns:
      This builder for chaining.
    • clearAdGroupAd

       Required. The resource name of the AdGroupAd from which to remove
       automatically created assets.
       
      string ad_group_ad = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setAdGroupAdBytes

      public RemoveAutomaticallyCreatedAssetsRequest.Builder setAdGroupAdBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the AdGroupAd from which to remove
       automatically created assets.
       
      string ad_group_ad = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for adGroupAd to set.
      Returns:
      This builder for chaining.
    • getAssetsWithFieldTypeList

      public List<AssetsWithFieldType> getAssetsWithFieldTypeList()
       Required. List of assets with field type to be removed from the AdGroupAd.
       
      repeated .google.ads.googleads.v21.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAssetsWithFieldTypeList in interface RemoveAutomaticallyCreatedAssetsRequestOrBuilder
    • getAssetsWithFieldTypeCount

      public int getAssetsWithFieldTypeCount()
       Required. List of assets with field type to be removed from the AdGroupAd.
       
      repeated .google.ads.googleads.v21.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAssetsWithFieldTypeCount in interface RemoveAutomaticallyCreatedAssetsRequestOrBuilder
    • getAssetsWithFieldType

      public AssetsWithFieldType getAssetsWithFieldType(int index)
       Required. List of assets with field type to be removed from the AdGroupAd.
       
      repeated .google.ads.googleads.v21.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAssetsWithFieldType in interface RemoveAutomaticallyCreatedAssetsRequestOrBuilder
    • setAssetsWithFieldType

      public RemoveAutomaticallyCreatedAssetsRequest.Builder setAssetsWithFieldType(int index, AssetsWithFieldType value)
       Required. List of assets with field type to be removed from the AdGroupAd.
       
      repeated .google.ads.googleads.v21.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED];
    • setAssetsWithFieldType

      public RemoveAutomaticallyCreatedAssetsRequest.Builder setAssetsWithFieldType(int index, AssetsWithFieldType.Builder builderForValue)
       Required. List of assets with field type to be removed from the AdGroupAd.
       
      repeated .google.ads.googleads.v21.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAssetsWithFieldType

       Required. List of assets with field type to be removed from the AdGroupAd.
       
      repeated .google.ads.googleads.v21.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAssetsWithFieldType

      public RemoveAutomaticallyCreatedAssetsRequest.Builder addAssetsWithFieldType(int index, AssetsWithFieldType value)
       Required. List of assets with field type to be removed from the AdGroupAd.
       
      repeated .google.ads.googleads.v21.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAssetsWithFieldType

      public RemoveAutomaticallyCreatedAssetsRequest.Builder addAssetsWithFieldType(AssetsWithFieldType.Builder builderForValue)
       Required. List of assets with field type to be removed from the AdGroupAd.
       
      repeated .google.ads.googleads.v21.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAssetsWithFieldType

      public RemoveAutomaticallyCreatedAssetsRequest.Builder addAssetsWithFieldType(int index, AssetsWithFieldType.Builder builderForValue)
       Required. List of assets with field type to be removed from the AdGroupAd.
       
      repeated .google.ads.googleads.v21.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAllAssetsWithFieldType

      public RemoveAutomaticallyCreatedAssetsRequest.Builder addAllAssetsWithFieldType(Iterable<? extends AssetsWithFieldType> values)
       Required. List of assets with field type to be removed from the AdGroupAd.
       
      repeated .google.ads.googleads.v21.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearAssetsWithFieldType

      public RemoveAutomaticallyCreatedAssetsRequest.Builder clearAssetsWithFieldType()
       Required. List of assets with field type to be removed from the AdGroupAd.
       
      repeated .google.ads.googleads.v21.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED];
    • removeAssetsWithFieldType

      public RemoveAutomaticallyCreatedAssetsRequest.Builder removeAssetsWithFieldType(int index)
       Required. List of assets with field type to be removed from the AdGroupAd.
       
      repeated .google.ads.googleads.v21.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED];
    • getAssetsWithFieldTypeBuilder

      public AssetsWithFieldType.Builder getAssetsWithFieldTypeBuilder(int index)
       Required. List of assets with field type to be removed from the AdGroupAd.
       
      repeated .google.ads.googleads.v21.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED];
    • getAssetsWithFieldTypeOrBuilder

      public AssetsWithFieldTypeOrBuilder getAssetsWithFieldTypeOrBuilder(int index)
       Required. List of assets with field type to be removed from the AdGroupAd.
       
      repeated .google.ads.googleads.v21.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAssetsWithFieldTypeOrBuilder in interface RemoveAutomaticallyCreatedAssetsRequestOrBuilder
    • getAssetsWithFieldTypeOrBuilderList

      public List<? extends AssetsWithFieldTypeOrBuilder> getAssetsWithFieldTypeOrBuilderList()
       Required. List of assets with field type to be removed from the AdGroupAd.
       
      repeated .google.ads.googleads.v21.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAssetsWithFieldTypeOrBuilderList in interface RemoveAutomaticallyCreatedAssetsRequestOrBuilder
    • addAssetsWithFieldTypeBuilder

      public AssetsWithFieldType.Builder addAssetsWithFieldTypeBuilder()
       Required. List of assets with field type to be removed from the AdGroupAd.
       
      repeated .google.ads.googleads.v21.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAssetsWithFieldTypeBuilder

      public AssetsWithFieldType.Builder addAssetsWithFieldTypeBuilder(int index)
       Required. List of assets with field type to be removed from the AdGroupAd.
       
      repeated .google.ads.googleads.v21.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED];
    • getAssetsWithFieldTypeBuilderList

      public List<AssetsWithFieldType.Builder> getAssetsWithFieldTypeBuilderList()
       Required. List of assets with field type to be removed from the AdGroupAd.
       
      repeated .google.ads.googleads.v21.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED];
    • setUnknownFields

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

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