Class CreateOfflineUserDataJobRequest.Builder

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

    public static final class CreateOfflineUserDataJobRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<CreateOfflineUserDataJobRequest.Builder>
    implements CreateOfflineUserDataJobRequestOrBuilder
     Request message for
     [OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v14.services.OfflineUserDataJobService.CreateOfflineUserDataJob].
     
    Protobuf type google.ads.googleads.v14.services.CreateOfflineUserDataJobRequest
    • 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<CreateOfflineUserDataJobRequest.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<CreateOfflineUserDataJobRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public java.lang.String getCustomerId()
         Required. The ID of the customer for which to create an offline user data
         job.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCustomerId in interface CreateOfflineUserDataJobRequestOrBuilder
        Returns:
        The customerId.
      • getCustomerIdBytes

        public com.google.protobuf.ByteString getCustomerIdBytes()
         Required. The ID of the customer for which to create an offline user data
         job.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCustomerIdBytes in interface CreateOfflineUserDataJobRequestOrBuilder
        Returns:
        The bytes for customerId.
      • setCustomerId

        public CreateOfflineUserDataJobRequest.Builder setCustomerId​(java.lang.String value)
         Required. The ID of the customer for which to create an offline user data
         job.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The customerId to set.
        Returns:
        This builder for chaining.
      • clearCustomerId

        public CreateOfflineUserDataJobRequest.Builder clearCustomerId()
         Required. The ID of the customer for which to create an offline user data
         job.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setCustomerIdBytes

        public CreateOfflineUserDataJobRequest.Builder setCustomerIdBytes​(com.google.protobuf.ByteString value)
         Required. The ID of the customer for which to create an offline user data
         job.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for customerId to set.
        Returns:
        This builder for chaining.
      • hasJob

        public boolean hasJob()
         Required. The offline user data job to be created.
         
        .google.ads.googleads.v14.resources.OfflineUserDataJob job = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasJob in interface CreateOfflineUserDataJobRequestOrBuilder
        Returns:
        Whether the job field is set.
      • clearJob

        public CreateOfflineUserDataJobRequest.Builder clearJob()
         Required. The offline user data job to be created.
         
        .google.ads.googleads.v14.resources.OfflineUserDataJob job = 2 [(.google.api.field_behavior) = REQUIRED];
      • getJobBuilder

        public OfflineUserDataJob.Builder getJobBuilder()
         Required. The offline user data job to be created.
         
        .google.ads.googleads.v14.resources.OfflineUserDataJob job = 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 CreateOfflineUserDataJobRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        public CreateOfflineUserDataJobRequest.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 CreateOfflineUserDataJobRequest.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.
      • getEnableMatchRateRangePreview

        public boolean getEnableMatchRateRangePreview()
         If true, match rate range for the offline user data job is calculated and
         made available in the resource.
         
        bool enable_match_rate_range_preview = 5;
        Specified by:
        getEnableMatchRateRangePreview in interface CreateOfflineUserDataJobRequestOrBuilder
        Returns:
        The enableMatchRateRangePreview.
      • setEnableMatchRateRangePreview

        public CreateOfflineUserDataJobRequest.Builder setEnableMatchRateRangePreview​(boolean value)
         If true, match rate range for the offline user data job is calculated and
         made available in the resource.
         
        bool enable_match_rate_range_preview = 5;
        Parameters:
        value - The enableMatchRateRangePreview to set.
        Returns:
        This builder for chaining.
      • clearEnableMatchRateRangePreview

        public CreateOfflineUserDataJobRequest.Builder clearEnableMatchRateRangePreview()
         If true, match rate range for the offline user data job is calculated and
         made available in the resource.
         
        bool enable_match_rate_range_preview = 5;
        Returns:
        This builder for chaining.