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

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

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

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

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

        public String getName()
         Required. The resource name the
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
        
         `AttachedCluster` names are formatted as
         `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`.
        
         See [Resource Names](https://cloud.google.com/apis/design/resource_names)
         for more details on Google Cloud Platform resource names.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface DeleteAttachedClusterRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. The resource name the
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
        
         `AttachedCluster` names are formatted as
         `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`.
        
         See [Resource Names](https://cloud.google.com/apis/design/resource_names)
         for more details on Google Cloud Platform resource names.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface DeleteAttachedClusterRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public DeleteAttachedClusterRequest.Builder setName​(String value)
         Required. The resource name the
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
        
         `AttachedCluster` names are formatted as
         `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`.
        
         See [Resource Names](https://cloud.google.com/apis/design/resource_names)
         for more details on Google Cloud Platform resource names.
         
        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 DeleteAttachedClusterRequest.Builder clearName()
         Required. The resource name the
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
        
         `AttachedCluster` names are formatted as
         `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`.
        
         See [Resource Names](https://cloud.google.com/apis/design/resource_names)
         for more details on Google Cloud Platform resource names.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public DeleteAttachedClusterRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. The resource name the
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
        
         `AttachedCluster` names are formatted as
         `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`.
        
         See [Resource Names](https://cloud.google.com/apis/design/resource_names)
         for more details on Google Cloud Platform resource names.
         
        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.
      • getValidateOnly

        public boolean getValidateOnly()
         If set, only validate the request, but do not actually delete the resource.
         
        bool validate_only = 2;
        Specified by:
        getValidateOnly in interface DeleteAttachedClusterRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        public DeleteAttachedClusterRequest.Builder setValidateOnly​(boolean value)
         If set, only validate the request, but do not actually delete the resource.
         
        bool validate_only = 2;
        Parameters:
        value - The validateOnly to set.
        Returns:
        This builder for chaining.
      • clearValidateOnly

        public DeleteAttachedClusterRequest.Builder clearValidateOnly()
         If set, only validate the request, but do not actually delete the resource.
         
        bool validate_only = 2;
        Returns:
        This builder for chaining.
      • getAllowMissing

        public boolean getAllowMissing()
         If set to true, and the
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
         is not found, the request will succeed but no action will be taken on the
         server and a completed [Operation][google.longrunning.Operation] will be
         returned.
        
         Useful for idempotent deletion.
         
        bool allow_missing = 3;
        Specified by:
        getAllowMissing in interface DeleteAttachedClusterRequestOrBuilder
        Returns:
        The allowMissing.
      • setAllowMissing

        public DeleteAttachedClusterRequest.Builder setAllowMissing​(boolean value)
         If set to true, and the
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
         is not found, the request will succeed but no action will be taken on the
         server and a completed [Operation][google.longrunning.Operation] will be
         returned.
        
         Useful for idempotent deletion.
         
        bool allow_missing = 3;
        Parameters:
        value - The allowMissing to set.
        Returns:
        This builder for chaining.
      • clearAllowMissing

        public DeleteAttachedClusterRequest.Builder clearAllowMissing()
         If set to true, and the
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
         is not found, the request will succeed but no action will be taken on the
         server and a completed [Operation][google.longrunning.Operation] will be
         returned.
        
         Useful for idempotent deletion.
         
        bool allow_missing = 3;
        Returns:
        This builder for chaining.
      • getIgnoreErrors

        public boolean getIgnoreErrors()
         If set to true, the deletion of
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
         will succeed even if errors occur during deleting in cluster resources.
         Using this parameter may result in orphaned resources in the cluster.
         
        bool ignore_errors = 5;
        Specified by:
        getIgnoreErrors in interface DeleteAttachedClusterRequestOrBuilder
        Returns:
        The ignoreErrors.
      • setIgnoreErrors

        public DeleteAttachedClusterRequest.Builder setIgnoreErrors​(boolean value)
         If set to true, the deletion of
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
         will succeed even if errors occur during deleting in cluster resources.
         Using this parameter may result in orphaned resources in the cluster.
         
        bool ignore_errors = 5;
        Parameters:
        value - The ignoreErrors to set.
        Returns:
        This builder for chaining.
      • clearIgnoreErrors

        public DeleteAttachedClusterRequest.Builder clearIgnoreErrors()
         If set to true, the deletion of
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
         will succeed even if errors occur during deleting in cluster resources.
         Using this parameter may result in orphaned resources in the cluster.
         
        bool ignore_errors = 5;
        Returns:
        This builder for chaining.
      • getEtag

        public String getEtag()
         The current etag of the
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
        
         Allows clients to perform deletions through optimistic concurrency control.
        
         If the provided etag does not match the current etag of the cluster,
         the request will fail and an ABORTED error will be returned.
         
        string etag = 4;
        Specified by:
        getEtag in interface DeleteAttachedClusterRequestOrBuilder
        Returns:
        The etag.
      • getEtagBytes

        public com.google.protobuf.ByteString getEtagBytes()
         The current etag of the
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
        
         Allows clients to perform deletions through optimistic concurrency control.
        
         If the provided etag does not match the current etag of the cluster,
         the request will fail and an ABORTED error will be returned.
         
        string etag = 4;
        Specified by:
        getEtagBytes in interface DeleteAttachedClusterRequestOrBuilder
        Returns:
        The bytes for etag.
      • setEtag

        public DeleteAttachedClusterRequest.Builder setEtag​(String value)
         The current etag of the
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
        
         Allows clients to perform deletions through optimistic concurrency control.
        
         If the provided etag does not match the current etag of the cluster,
         the request will fail and an ABORTED error will be returned.
         
        string etag = 4;
        Parameters:
        value - The etag to set.
        Returns:
        This builder for chaining.
      • clearEtag

        public DeleteAttachedClusterRequest.Builder clearEtag()
         The current etag of the
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
        
         Allows clients to perform deletions through optimistic concurrency control.
        
         If the provided etag does not match the current etag of the cluster,
         the request will fail and an ABORTED error will be returned.
         
        string etag = 4;
        Returns:
        This builder for chaining.
      • setEtagBytes

        public DeleteAttachedClusterRequest.Builder setEtagBytes​(com.google.protobuf.ByteString value)
         The current etag of the
         [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
        
         Allows clients to perform deletions through optimistic concurrency control.
        
         If the provided etag does not match the current etag of the cluster,
         the request will fail and an ABORTED error will be returned.
         
        string etag = 4;
        Parameters:
        value - The bytes for etag to set.
        Returns:
        This builder for chaining.