Class MutateCustomerClientLinkRequest.Builder

  • All Implemented Interfaces:
    MutateCustomerClientLinkRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    MutateCustomerClientLinkRequest

    public static final class MutateCustomerClientLinkRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<MutateCustomerClientLinkRequest.Builder>
    implements MutateCustomerClientLinkRequestOrBuilder
     Request message for [CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v10.services.CustomerClientLinkService.MutateCustomerClientLink].
     
    Protobuf type google.ads.googleads.v10.services.MutateCustomerClientLinkRequest
    • 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<MutateCustomerClientLinkRequest.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<MutateCustomerClientLinkRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

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

        public MutateCustomerClientLinkRequest.Builder setCustomerId​(java.lang.String value)
         Required. The ID of the customer whose customer link 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 MutateCustomerClientLinkRequest.Builder clearCustomerId()
         Required. The ID of the customer whose customer link are being modified.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setCustomerIdBytes

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

        public boolean hasOperation()
         Required. The operation to perform on the individual CustomerClientLink.
         
        .google.ads.googleads.v10.services.CustomerClientLinkOperation operation = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasOperation in interface MutateCustomerClientLinkRequestOrBuilder
        Returns:
        Whether the operation field is set.
      • clearOperation

        public MutateCustomerClientLinkRequest.Builder clearOperation()
         Required. The operation to perform on the individual CustomerClientLink.
         
        .google.ads.googleads.v10.services.CustomerClientLinkOperation operation = 2 [(.google.api.field_behavior) = REQUIRED];
      • getOperationBuilder

        public CustomerClientLinkOperation.Builder getOperationBuilder()
         Required. The operation to perform on the individual CustomerClientLink.
         
        .google.ads.googleads.v10.services.CustomerClientLinkOperation operation = 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 MutateCustomerClientLinkRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        public MutateCustomerClientLinkRequest.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 MutateCustomerClientLinkRequest.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.