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

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

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

        public TransferProto.UpdateTransferJobRequest 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<TransferProto.UpdateTransferJobRequest.Builder>
      • setJobName

        public TransferProto.UpdateTransferJobRequest.Builder setJobName​(String value)
         Required. The name of job to update.
         
        string job_name = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The jobName to set.
        Returns:
        This builder for chaining.
      • setJobNameBytes

        public TransferProto.UpdateTransferJobRequest.Builder setJobNameBytes​(com.google.protobuf.ByteString value)
         Required. The name of job to update.
         
        string job_name = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for jobName to set.
        Returns:
        This builder for chaining.
      • getProjectIdBytes

        public com.google.protobuf.ByteString getProjectIdBytes()
         Required. The ID of the Google Cloud project that owns the
         job.
         
        string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProjectIdBytes in interface TransferProto.UpdateTransferJobRequestOrBuilder
        Returns:
        The bytes for projectId.
      • setProjectId

        public TransferProto.UpdateTransferJobRequest.Builder setProjectId​(String value)
         Required. The ID of the Google Cloud project that owns the
         job.
         
        string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The projectId to set.
        Returns:
        This builder for chaining.
      • clearProjectId

        public TransferProto.UpdateTransferJobRequest.Builder clearProjectId()
         Required. The ID of the Google Cloud project that owns the
         job.
         
        string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setProjectIdBytes

        public TransferProto.UpdateTransferJobRequest.Builder setProjectIdBytes​(com.google.protobuf.ByteString value)
         Required. The ID of the Google Cloud project that owns the
         job.
         
        string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for projectId to set.
        Returns:
        This builder for chaining.
      • hasTransferJob

        public boolean hasTransferJob()
         Required. The job to update. `transferJob` is expected to specify one or
         more of five fields:
         [description][google.storagetransfer.v1.TransferJob.description],
         [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec],
         [notification_config][google.storagetransfer.v1.TransferJob.notification_config],
         [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and
         [status][google.storagetransfer.v1.TransferJob.status].  An
         `UpdateTransferJobRequest` that specifies other fields are rejected with
         the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a
         job status to
         [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
         `storagetransfer.jobs.delete` permission.
         
        .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasTransferJob in interface TransferProto.UpdateTransferJobRequestOrBuilder
        Returns:
        Whether the transferJob field is set.
      • getTransferJob

        public TransferTypes.TransferJob getTransferJob()
         Required. The job to update. `transferJob` is expected to specify one or
         more of five fields:
         [description][google.storagetransfer.v1.TransferJob.description],
         [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec],
         [notification_config][google.storagetransfer.v1.TransferJob.notification_config],
         [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and
         [status][google.storagetransfer.v1.TransferJob.status].  An
         `UpdateTransferJobRequest` that specifies other fields are rejected with
         the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a
         job status to
         [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
         `storagetransfer.jobs.delete` permission.
         
        .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getTransferJob in interface TransferProto.UpdateTransferJobRequestOrBuilder
        Returns:
        The transferJob.
      • setTransferJob

        public TransferProto.UpdateTransferJobRequest.Builder setTransferJob​(TransferTypes.TransferJob value)
         Required. The job to update. `transferJob` is expected to specify one or
         more of five fields:
         [description][google.storagetransfer.v1.TransferJob.description],
         [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec],
         [notification_config][google.storagetransfer.v1.TransferJob.notification_config],
         [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and
         [status][google.storagetransfer.v1.TransferJob.status].  An
         `UpdateTransferJobRequest` that specifies other fields are rejected with
         the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a
         job status to
         [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
         `storagetransfer.jobs.delete` permission.
         
        .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
      • setTransferJob

        public TransferProto.UpdateTransferJobRequest.Builder setTransferJob​(TransferTypes.TransferJob.Builder builderForValue)
         Required. The job to update. `transferJob` is expected to specify one or
         more of five fields:
         [description][google.storagetransfer.v1.TransferJob.description],
         [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec],
         [notification_config][google.storagetransfer.v1.TransferJob.notification_config],
         [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and
         [status][google.storagetransfer.v1.TransferJob.status].  An
         `UpdateTransferJobRequest` that specifies other fields are rejected with
         the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a
         job status to
         [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
         `storagetransfer.jobs.delete` permission.
         
        .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
      • mergeTransferJob

        public TransferProto.UpdateTransferJobRequest.Builder mergeTransferJob​(TransferTypes.TransferJob value)
         Required. The job to update. `transferJob` is expected to specify one or
         more of five fields:
         [description][google.storagetransfer.v1.TransferJob.description],
         [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec],
         [notification_config][google.storagetransfer.v1.TransferJob.notification_config],
         [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and
         [status][google.storagetransfer.v1.TransferJob.status].  An
         `UpdateTransferJobRequest` that specifies other fields are rejected with
         the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a
         job status to
         [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
         `storagetransfer.jobs.delete` permission.
         
        .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearTransferJob

        public TransferProto.UpdateTransferJobRequest.Builder clearTransferJob()
         Required. The job to update. `transferJob` is expected to specify one or
         more of five fields:
         [description][google.storagetransfer.v1.TransferJob.description],
         [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec],
         [notification_config][google.storagetransfer.v1.TransferJob.notification_config],
         [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and
         [status][google.storagetransfer.v1.TransferJob.status].  An
         `UpdateTransferJobRequest` that specifies other fields are rejected with
         the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a
         job status to
         [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
         `storagetransfer.jobs.delete` permission.
         
        .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
      • getTransferJobBuilder

        public TransferTypes.TransferJob.Builder getTransferJobBuilder()
         Required. The job to update. `transferJob` is expected to specify one or
         more of five fields:
         [description][google.storagetransfer.v1.TransferJob.description],
         [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec],
         [notification_config][google.storagetransfer.v1.TransferJob.notification_config],
         [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and
         [status][google.storagetransfer.v1.TransferJob.status].  An
         `UpdateTransferJobRequest` that specifies other fields are rejected with
         the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a
         job status to
         [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
         `storagetransfer.jobs.delete` permission.
         
        .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
      • getTransferJobOrBuilder

        public TransferTypes.TransferJobOrBuilder getTransferJobOrBuilder()
         Required. The job to update. `transferJob` is expected to specify one or
         more of five fields:
         [description][google.storagetransfer.v1.TransferJob.description],
         [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec],
         [notification_config][google.storagetransfer.v1.TransferJob.notification_config],
         [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and
         [status][google.storagetransfer.v1.TransferJob.status].  An
         `UpdateTransferJobRequest` that specifies other fields are rejected with
         the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a
         job status to
         [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
         `storagetransfer.jobs.delete` permission.
         
        .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getTransferJobOrBuilder in interface TransferProto.UpdateTransferJobRequestOrBuilder
      • hasUpdateTransferJobFieldMask

        public boolean hasUpdateTransferJobFieldMask()
         The field mask of the fields in `transferJob` that are to be updated in
         this request.  Fields in `transferJob` that can be updated are:
         [description][google.storagetransfer.v1.TransferJob.description],
         [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec],
         [notification_config][google.storagetransfer.v1.TransferJob.notification_config],
         [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and
         [status][google.storagetransfer.v1.TransferJob.status].  To update the
         `transfer_spec` of the job, a complete transfer specification must be
         provided. An incomplete specification missing any required fields is
         rejected with the error
         [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
         
        .google.protobuf.FieldMask update_transfer_job_field_mask = 4;
        Specified by:
        hasUpdateTransferJobFieldMask in interface TransferProto.UpdateTransferJobRequestOrBuilder
        Returns:
        Whether the updateTransferJobFieldMask field is set.
      • getUpdateTransferJobFieldMask

        public com.google.protobuf.FieldMask getUpdateTransferJobFieldMask()
         The field mask of the fields in `transferJob` that are to be updated in
         this request.  Fields in `transferJob` that can be updated are:
         [description][google.storagetransfer.v1.TransferJob.description],
         [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec],
         [notification_config][google.storagetransfer.v1.TransferJob.notification_config],
         [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and
         [status][google.storagetransfer.v1.TransferJob.status].  To update the
         `transfer_spec` of the job, a complete transfer specification must be
         provided. An incomplete specification missing any required fields is
         rejected with the error
         [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
         
        .google.protobuf.FieldMask update_transfer_job_field_mask = 4;
        Specified by:
        getUpdateTransferJobFieldMask in interface TransferProto.UpdateTransferJobRequestOrBuilder
        Returns:
        The updateTransferJobFieldMask.
      • setUpdateTransferJobFieldMask

        public TransferProto.UpdateTransferJobRequest.Builder setUpdateTransferJobFieldMask​(com.google.protobuf.FieldMask value)
         The field mask of the fields in `transferJob` that are to be updated in
         this request.  Fields in `transferJob` that can be updated are:
         [description][google.storagetransfer.v1.TransferJob.description],
         [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec],
         [notification_config][google.storagetransfer.v1.TransferJob.notification_config],
         [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and
         [status][google.storagetransfer.v1.TransferJob.status].  To update the
         `transfer_spec` of the job, a complete transfer specification must be
         provided. An incomplete specification missing any required fields is
         rejected with the error
         [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
         
        .google.protobuf.FieldMask update_transfer_job_field_mask = 4;
      • setUpdateTransferJobFieldMask

        public TransferProto.UpdateTransferJobRequest.Builder setUpdateTransferJobFieldMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         The field mask of the fields in `transferJob` that are to be updated in
         this request.  Fields in `transferJob` that can be updated are:
         [description][google.storagetransfer.v1.TransferJob.description],
         [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec],
         [notification_config][google.storagetransfer.v1.TransferJob.notification_config],
         [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and
         [status][google.storagetransfer.v1.TransferJob.status].  To update the
         `transfer_spec` of the job, a complete transfer specification must be
         provided. An incomplete specification missing any required fields is
         rejected with the error
         [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
         
        .google.protobuf.FieldMask update_transfer_job_field_mask = 4;
      • mergeUpdateTransferJobFieldMask

        public TransferProto.UpdateTransferJobRequest.Builder mergeUpdateTransferJobFieldMask​(com.google.protobuf.FieldMask value)
         The field mask of the fields in `transferJob` that are to be updated in
         this request.  Fields in `transferJob` that can be updated are:
         [description][google.storagetransfer.v1.TransferJob.description],
         [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec],
         [notification_config][google.storagetransfer.v1.TransferJob.notification_config],
         [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and
         [status][google.storagetransfer.v1.TransferJob.status].  To update the
         `transfer_spec` of the job, a complete transfer specification must be
         provided. An incomplete specification missing any required fields is
         rejected with the error
         [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
         
        .google.protobuf.FieldMask update_transfer_job_field_mask = 4;
      • clearUpdateTransferJobFieldMask

        public TransferProto.UpdateTransferJobRequest.Builder clearUpdateTransferJobFieldMask()
         The field mask of the fields in `transferJob` that are to be updated in
         this request.  Fields in `transferJob` that can be updated are:
         [description][google.storagetransfer.v1.TransferJob.description],
         [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec],
         [notification_config][google.storagetransfer.v1.TransferJob.notification_config],
         [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and
         [status][google.storagetransfer.v1.TransferJob.status].  To update the
         `transfer_spec` of the job, a complete transfer specification must be
         provided. An incomplete specification missing any required fields is
         rejected with the error
         [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
         
        .google.protobuf.FieldMask update_transfer_job_field_mask = 4;
      • getUpdateTransferJobFieldMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateTransferJobFieldMaskBuilder()
         The field mask of the fields in `transferJob` that are to be updated in
         this request.  Fields in `transferJob` that can be updated are:
         [description][google.storagetransfer.v1.TransferJob.description],
         [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec],
         [notification_config][google.storagetransfer.v1.TransferJob.notification_config],
         [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and
         [status][google.storagetransfer.v1.TransferJob.status].  To update the
         `transfer_spec` of the job, a complete transfer specification must be
         provided. An incomplete specification missing any required fields is
         rejected with the error
         [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
         
        .google.protobuf.FieldMask update_transfer_job_field_mask = 4;
      • getUpdateTransferJobFieldMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateTransferJobFieldMaskOrBuilder()
         The field mask of the fields in `transferJob` that are to be updated in
         this request.  Fields in `transferJob` that can be updated are:
         [description][google.storagetransfer.v1.TransferJob.description],
         [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec],
         [notification_config][google.storagetransfer.v1.TransferJob.notification_config],
         [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and
         [status][google.storagetransfer.v1.TransferJob.status].  To update the
         `transfer_spec` of the job, a complete transfer specification must be
         provided. An incomplete specification missing any required fields is
         rejected with the error
         [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
         
        .google.protobuf.FieldMask update_transfer_job_field_mask = 4;
        Specified by:
        getUpdateTransferJobFieldMaskOrBuilder in interface TransferProto.UpdateTransferJobRequestOrBuilder