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

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

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

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

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

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

        public DeleteMigrationJobRequest.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<DeleteMigrationJobRequest.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Required. Name of the migration job resource to delete.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface DeleteMigrationJobRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. Name of the migration job resource to delete.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface DeleteMigrationJobRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public DeleteMigrationJobRequest.Builder setName​(String value)
         Required. Name of the migration job resource to delete.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public DeleteMigrationJobRequest.Builder clearName()
         Required. Name of the migration job resource to delete.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public DeleteMigrationJobRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. Name of the migration job resource to delete.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • 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 = 2;
        Specified by:
        getRequestId in interface DeleteMigrationJobRequestOrBuilder
        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 = 2;
        Specified by:
        getRequestIdBytes in interface DeleteMigrationJobRequestOrBuilder
        Returns:
        The bytes for requestId.
      • setRequestId

        public DeleteMigrationJobRequest.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 = 2;
        Parameters:
        value - The requestId to set.
        Returns:
        This builder for chaining.
      • clearRequestId

        public DeleteMigrationJobRequest.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 = 2;
        Returns:
        This builder for chaining.
      • setRequestIdBytes

        public DeleteMigrationJobRequest.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 = 2;
        Parameters:
        value - The bytes for requestId to set.
        Returns:
        This builder for chaining.
      • getForce

        public boolean getForce()
         The destination CloudSQL connection profile is always deleted with the
         migration job. In case of force delete, the destination CloudSQL replica
         database is also deleted.
         
        bool force = 3;
        Specified by:
        getForce in interface DeleteMigrationJobRequestOrBuilder
        Returns:
        The force.
      • setForce

        public DeleteMigrationJobRequest.Builder setForce​(boolean value)
         The destination CloudSQL connection profile is always deleted with the
         migration job. In case of force delete, the destination CloudSQL replica
         database is also deleted.
         
        bool force = 3;
        Parameters:
        value - The force to set.
        Returns:
        This builder for chaining.
      • clearForce

        public DeleteMigrationJobRequest.Builder clearForce()
         The destination CloudSQL connection profile is always deleted with the
         migration job. In case of force delete, the destination CloudSQL replica
         database is also deleted.
         
        bool force = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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