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

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

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

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

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

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

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

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

        public MutateCustomerManagerLinkRequest.Builder clearCustomerId()
         Required. The ID of the customer whose customer manager links are being modified.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setCustomerIdBytes

        public MutateCustomerManagerLinkRequest.Builder setCustomerIdBytes​(com.google.protobuf.ByteString value)
         Required. The ID of the customer whose customer manager links 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.
      • getOperationsCount

        public int getOperationsCount()
         Required. The list of operations to perform on individual customer manager links.
         
        repeated .google.ads.googleads.v10.services.CustomerManagerLinkOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getOperationsCount in interface MutateCustomerManagerLinkRequestOrBuilder
      • setOperations

        public MutateCustomerManagerLinkRequest.Builder setOperations​(int index,
                                                                      CustomerManagerLinkOperation value)
         Required. The list of operations to perform on individual customer manager links.
         
        repeated .google.ads.googleads.v10.services.CustomerManagerLinkOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addOperations

        public MutateCustomerManagerLinkRequest.Builder addOperations​(int index,
                                                                      CustomerManagerLinkOperation value)
         Required. The list of operations to perform on individual customer manager links.
         
        repeated .google.ads.googleads.v10.services.CustomerManagerLinkOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addAllOperations

        public MutateCustomerManagerLinkRequest.Builder addAllOperations​(java.lang.Iterable<? extends CustomerManagerLinkOperation> values)
         Required. The list of operations to perform on individual customer manager links.
         
        repeated .google.ads.googleads.v10.services.CustomerManagerLinkOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearOperations

        public MutateCustomerManagerLinkRequest.Builder clearOperations()
         Required. The list of operations to perform on individual customer manager links.
         
        repeated .google.ads.googleads.v10.services.CustomerManagerLinkOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • removeOperations

        public MutateCustomerManagerLinkRequest.Builder removeOperations​(int index)
         Required. The list of operations to perform on individual customer manager links.
         
        repeated .google.ads.googleads.v10.services.CustomerManagerLinkOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • getOperationsBuilder

        public CustomerManagerLinkOperation.Builder getOperationsBuilder​(int index)
         Required. The list of operations to perform on individual customer manager links.
         
        repeated .google.ads.googleads.v10.services.CustomerManagerLinkOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addOperationsBuilder

        public CustomerManagerLinkOperation.Builder addOperationsBuilder()
         Required. The list of operations to perform on individual customer manager links.
         
        repeated .google.ads.googleads.v10.services.CustomerManagerLinkOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addOperationsBuilder

        public CustomerManagerLinkOperation.Builder addOperationsBuilder​(int index)
         Required. The list of operations to perform on individual customer manager links.
         
        repeated .google.ads.googleads.v10.services.CustomerManagerLinkOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • getOperationsBuilderList

        public java.util.List<CustomerManagerLinkOperation.Builder> getOperationsBuilderList()
         Required. The list of operations to perform on individual customer manager links.
         
        repeated .google.ads.googleads.v10.services.CustomerManagerLinkOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • getValidateOnly

        public boolean getValidateOnly()
         If true, the request is validated but not executed. Only errors are
         returned, not results.
         
        bool validate_only = 3;
        Specified by:
        getValidateOnly in interface MutateCustomerManagerLinkRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        public MutateCustomerManagerLinkRequest.Builder setValidateOnly​(boolean value)
         If true, the request is validated but not executed. Only errors are
         returned, not results.
         
        bool validate_only = 3;
        Parameters:
        value - The validateOnly to set.
        Returns:
        This builder for chaining.
      • clearValidateOnly

        public MutateCustomerManagerLinkRequest.Builder clearValidateOnly()
         If true, the request is validated but not executed. Only errors are
         returned, not results.
         
        bool validate_only = 3;
        Returns:
        This builder for chaining.