Class MutateUserListCustomerTypesRequest.Builder

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

public static final class MutateUserListCustomerTypesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MutateUserListCustomerTypesRequest.Builder> implements MutateUserListCustomerTypesRequestOrBuilder
 Request message for
 [UserListCustomerTypeService.MutateUserListCustomerTypes][google.ads.googleads.v18.services.UserListCustomerTypeService.MutateUserListCustomerTypes].
 
Protobuf type google.ads.googleads.v18.services.MutateUserListCustomerTypesRequest
  • 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<MutateUserListCustomerTypesRequest.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<MutateUserListCustomerTypesRequest.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<MutateUserListCustomerTypesRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

      public MutateUserListCustomerTypesRequest.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<MutateUserListCustomerTypesRequest.Builder>
      Throws:
      IOException
    • getCustomerId

      public String getCustomerId()
       Required. The ID of the customer whose user list customer types are being
       modified.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCustomerId in interface MutateUserListCustomerTypesRequestOrBuilder
      Returns:
      The customerId.
    • getCustomerIdBytes

      public com.google.protobuf.ByteString getCustomerIdBytes()
       Required. The ID of the customer whose user list customer types are being
       modified.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCustomerIdBytes in interface MutateUserListCustomerTypesRequestOrBuilder
      Returns:
      The bytes for customerId.
    • setCustomerId

      public MutateUserListCustomerTypesRequest.Builder setCustomerId(String value)
       Required. The ID of the customer whose user list customer types are being
       modified.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The customerId to set.
      Returns:
      This builder for chaining.
    • clearCustomerId

       Required. The ID of the customer whose user list customer types are being
       modified.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setCustomerIdBytes

      public MutateUserListCustomerTypesRequest.Builder setCustomerIdBytes(com.google.protobuf.ByteString value)
       Required. The ID of the customer whose user list customer types are being
       modified.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for customerId to set.
      Returns:
      This builder for chaining.
    • getOperationsList

      public List<UserListCustomerTypeOperation> getOperationsList()
       Required. The list of operations to perform on the user list customer
       types.
       
      repeated .google.ads.googleads.v18.services.UserListCustomerTypeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOperationsList in interface MutateUserListCustomerTypesRequestOrBuilder
    • getOperationsCount

      public int getOperationsCount()
       Required. The list of operations to perform on the user list customer
       types.
       
      repeated .google.ads.googleads.v18.services.UserListCustomerTypeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOperationsCount in interface MutateUserListCustomerTypesRequestOrBuilder
    • getOperations

      public UserListCustomerTypeOperation getOperations(int index)
       Required. The list of operations to perform on the user list customer
       types.
       
      repeated .google.ads.googleads.v18.services.UserListCustomerTypeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOperations in interface MutateUserListCustomerTypesRequestOrBuilder
    • setOperations

       Required. The list of operations to perform on the user list customer
       types.
       
      repeated .google.ads.googleads.v18.services.UserListCustomerTypeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • setOperations

      public MutateUserListCustomerTypesRequest.Builder setOperations(int index, UserListCustomerTypeOperation.Builder builderForValue)
       Required. The list of operations to perform on the user list customer
       types.
       
      repeated .google.ads.googleads.v18.services.UserListCustomerTypeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • addOperations

       Required. The list of operations to perform on the user list customer
       types.
       
      repeated .google.ads.googleads.v18.services.UserListCustomerTypeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • addOperations

       Required. The list of operations to perform on the user list customer
       types.
       
      repeated .google.ads.googleads.v18.services.UserListCustomerTypeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • addOperations

       Required. The list of operations to perform on the user list customer
       types.
       
      repeated .google.ads.googleads.v18.services.UserListCustomerTypeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • addOperations

      public MutateUserListCustomerTypesRequest.Builder addOperations(int index, UserListCustomerTypeOperation.Builder builderForValue)
       Required. The list of operations to perform on the user list customer
       types.
       
      repeated .google.ads.googleads.v18.services.UserListCustomerTypeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAllOperations

       Required. The list of operations to perform on the user list customer
       types.
       
      repeated .google.ads.googleads.v18.services.UserListCustomerTypeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearOperations

       Required. The list of operations to perform on the user list customer
       types.
       
      repeated .google.ads.googleads.v18.services.UserListCustomerTypeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • removeOperations

      public MutateUserListCustomerTypesRequest.Builder removeOperations(int index)
       Required. The list of operations to perform on the user list customer
       types.
       
      repeated .google.ads.googleads.v18.services.UserListCustomerTypeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • getOperationsBuilder

      public UserListCustomerTypeOperation.Builder getOperationsBuilder(int index)
       Required. The list of operations to perform on the user list customer
       types.
       
      repeated .google.ads.googleads.v18.services.UserListCustomerTypeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • getOperationsOrBuilder

      public UserListCustomerTypeOperationOrBuilder getOperationsOrBuilder(int index)
       Required. The list of operations to perform on the user list customer
       types.
       
      repeated .google.ads.googleads.v18.services.UserListCustomerTypeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOperationsOrBuilder in interface MutateUserListCustomerTypesRequestOrBuilder
    • getOperationsOrBuilderList

      public List<? extends UserListCustomerTypeOperationOrBuilder> getOperationsOrBuilderList()
       Required. The list of operations to perform on the user list customer
       types.
       
      repeated .google.ads.googleads.v18.services.UserListCustomerTypeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOperationsOrBuilderList in interface MutateUserListCustomerTypesRequestOrBuilder
    • addOperationsBuilder

      public UserListCustomerTypeOperation.Builder addOperationsBuilder()
       Required. The list of operations to perform on the user list customer
       types.
       
      repeated .google.ads.googleads.v18.services.UserListCustomerTypeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • addOperationsBuilder

      public UserListCustomerTypeOperation.Builder addOperationsBuilder(int index)
       Required. The list of operations to perform on the user list customer
       types.
       
      repeated .google.ads.googleads.v18.services.UserListCustomerTypeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • getOperationsBuilderList

      public List<UserListCustomerTypeOperation.Builder> getOperationsBuilderList()
       Required. The list of operations to perform on the user list customer
       types.
       
      repeated .google.ads.googleads.v18.services.UserListCustomerTypeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • getPartialFailure

      public boolean getPartialFailure()
       Optional. If true, successful operations will be carried out and invalid
       operations will return errors. If false, all operations will be carried
       out in one transaction if and only if they are all valid.
       Default is false.
       
      bool partial_failure = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPartialFailure in interface MutateUserListCustomerTypesRequestOrBuilder
      Returns:
      The partialFailure.
    • setPartialFailure

      public MutateUserListCustomerTypesRequest.Builder setPartialFailure(boolean value)
       Optional. If true, successful operations will be carried out and invalid
       operations will return errors. If false, all operations will be carried
       out in one transaction if and only if they are all valid.
       Default is false.
       
      bool partial_failure = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The partialFailure to set.
      Returns:
      This builder for chaining.
    • clearPartialFailure

      public MutateUserListCustomerTypesRequest.Builder clearPartialFailure()
       Optional. If true, successful operations will be carried out and invalid
       operations will return errors. If false, all operations will be carried
       out in one transaction if and only if they are all valid.
       Default is false.
       
      bool partial_failure = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getValidateOnly

      public boolean getValidateOnly()
       Optional. If true, the request is validated but not executed. Only errors
       are returned, not results.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getValidateOnly in interface MutateUserListCustomerTypesRequestOrBuilder
      Returns:
      The validateOnly.
    • setValidateOnly

      public MutateUserListCustomerTypesRequest.Builder setValidateOnly(boolean value)
       Optional. If true, the request is validated but not executed. Only errors
       are returned, not results.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The validateOnly to set.
      Returns:
      This builder for chaining.
    • clearValidateOnly

      public MutateUserListCustomerTypesRequest.Builder clearValidateOnly()
       Optional. If true, the request is validated but not executed. Only errors
       are returned, not results.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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