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

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

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

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

        public UpdateMigrationJobRequest.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<UpdateMigrationJobRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateMigrationJobRequest.Builder>
      • mergeFrom

        public UpdateMigrationJobRequest.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<UpdateMigrationJobRequest.Builder>
        Throws:
        IOException
      • hasUpdateMask

        public boolean hasUpdateMask()
         Required. Field mask is used to specify the fields to be overwritten by the
         update in the conversion workspace resource.
         
        .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasUpdateMask in interface UpdateMigrationJobRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Required. Field mask is used to specify the fields to be overwritten by the
         update in the conversion workspace resource.
         
        .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMask in interface UpdateMigrationJobRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateMigrationJobRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Required. Field mask is used to specify the fields to be overwritten by the
         update in the conversion workspace resource.
         
        .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      • setUpdateMask

        public UpdateMigrationJobRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Required. Field mask is used to specify the fields to be overwritten by the
         update in the conversion workspace resource.
         
        .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      • mergeUpdateMask

        public UpdateMigrationJobRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Required. Field mask is used to specify the fields to be overwritten by the
         update in the conversion workspace resource.
         
        .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearUpdateMask

        public UpdateMigrationJobRequest.Builder clearUpdateMask()
         Required. Field mask is used to specify the fields to be overwritten by the
         update in the conversion workspace resource.
         
        .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Required. Field mask is used to specify the fields to be overwritten by the
         update in the conversion workspace resource.
         
        .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Required. Field mask is used to specify the fields to be overwritten by the
         update in the conversion workspace resource.
         
        .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMaskOrBuilder in interface UpdateMigrationJobRequestOrBuilder
      • hasMigrationJob

        public boolean hasMigrationJob()
         Required. The migration job parameters to update.
         
        .google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasMigrationJob in interface UpdateMigrationJobRequestOrBuilder
        Returns:
        Whether the migrationJob field is set.
      • getMigrationJob

        public MigrationJob getMigrationJob()
         Required. The migration job parameters to update.
         
        .google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMigrationJob in interface UpdateMigrationJobRequestOrBuilder
        Returns:
        The migrationJob.
      • setMigrationJob

        public UpdateMigrationJobRequest.Builder setMigrationJob​(MigrationJob value)
         Required. The migration job parameters to update.
         
        .google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];
      • setMigrationJob

        public UpdateMigrationJobRequest.Builder setMigrationJob​(MigrationJob.Builder builderForValue)
         Required. The migration job parameters to update.
         
        .google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeMigrationJob

        public UpdateMigrationJobRequest.Builder mergeMigrationJob​(MigrationJob value)
         Required. The migration job parameters to update.
         
        .google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearMigrationJob

        public UpdateMigrationJobRequest.Builder clearMigrationJob()
         Required. The migration job parameters to update.
         
        .google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];
      • getMigrationJobBuilder

        public MigrationJob.Builder getMigrationJobBuilder()
         Required. The migration job parameters to update.
         
        .google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];
      • getRequestId

        public String getRequestId()
         A unique ID used to identify the request. If the server receives two
         requests with the same ID, then the second request is ignored.
        
         It is recommended to always set this value to a UUID.
        
         The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
         (_), and hyphens (-). The maximum length is 40 characters.
         
        string request_id = 3;
        Specified by:
        getRequestId in interface UpdateMigrationJobRequestOrBuilder
        Returns:
        The requestId.
      • getRequestIdBytes

        public com.google.protobuf.ByteString getRequestIdBytes()
         A unique ID used to identify the request. If the server receives two
         requests with the same ID, then the second request is ignored.
        
         It is recommended to always set this value to a UUID.
        
         The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
         (_), and hyphens (-). The maximum length is 40 characters.
         
        string request_id = 3;
        Specified by:
        getRequestIdBytes in interface UpdateMigrationJobRequestOrBuilder
        Returns:
        The bytes for requestId.
      • setRequestId

        public UpdateMigrationJobRequest.Builder setRequestId​(String value)
         A unique ID used to identify the request. If the server receives two
         requests with the same ID, then the second request is ignored.
        
         It is recommended to always set this value to a UUID.
        
         The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
         (_), and hyphens (-). The maximum length is 40 characters.
         
        string request_id = 3;
        Parameters:
        value - The requestId to set.
        Returns:
        This builder for chaining.
      • clearRequestId

        public UpdateMigrationJobRequest.Builder clearRequestId()
         A unique ID used to identify the request. If the server receives two
         requests with the same ID, then the second request is ignored.
        
         It is recommended to always set this value to a UUID.
        
         The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
         (_), and hyphens (-). The maximum length is 40 characters.
         
        string request_id = 3;
        Returns:
        This builder for chaining.
      • setRequestIdBytes

        public UpdateMigrationJobRequest.Builder setRequestIdBytes​(com.google.protobuf.ByteString value)
         A unique ID used to identify the request. If the server receives two
         requests with the same ID, then the second request is ignored.
        
         It is recommended to always set this value to a UUID.
        
         The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
         (_), and hyphens (-). The maximum length is 40 characters.
         
        string request_id = 3;
        Parameters:
        value - The bytes for requestId to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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