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

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

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

        public DeleteConnectionProfileRequest 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<DeleteConnectionProfileRequest.Builder>
      • getName

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

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

        public DeleteConnectionProfileRequest.Builder setName​(String value)
         Required. Name of the connection profile 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 DeleteConnectionProfileRequest.Builder clearName()
         Required. Name of the connection profile resource to delete.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public DeleteConnectionProfileRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. Name of the connection profile 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 DeleteConnectionProfileRequestOrBuilder
        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 DeleteConnectionProfileRequestOrBuilder
        Returns:
        The bytes for requestId.
      • setRequestId

        public DeleteConnectionProfileRequest.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 DeleteConnectionProfileRequest.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 DeleteConnectionProfileRequest.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()
         In case of force delete, the CloudSQL replica database is also deleted
         (only for CloudSQL connection profile).
         
        bool force = 3;
        Specified by:
        getForce in interface DeleteConnectionProfileRequestOrBuilder
        Returns:
        The force.
      • setForce

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

        public DeleteConnectionProfileRequest.Builder clearForce()
         In case of force delete, the CloudSQL replica database is also deleted
         (only for CloudSQL connection profile).
         
        bool force = 3;
        Returns:
        This builder for chaining.