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

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

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

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

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

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

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

        public String getName()
         Required. The resource name the
         [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
        
         `AzureCluster` names are formatted as
         `projects/<project-id>/locations/<region>/azureClusters/<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 DeleteAzureClusterRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. The resource name the
         [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
        
         `AzureCluster` names are formatted as
         `projects/<project-id>/locations/<region>/azureClusters/<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 DeleteAzureClusterRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public DeleteAzureClusterRequest.Builder setName​(String value)
         Required. The resource name the
         [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
        
         `AzureCluster` names are formatted as
         `projects/<project-id>/locations/<region>/azureClusters/<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 DeleteAzureClusterRequest.Builder clearName()
         Required. The resource name the
         [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
        
         `AzureCluster` names are formatted as
         `projects/<project-id>/locations/<region>/azureClusters/<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 DeleteAzureClusterRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. The resource name the
         [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
        
         `AzureCluster` names are formatted as
         `projects/<project-id>/locations/<region>/azureClusters/<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.
      • getAllowMissing

        public boolean getAllowMissing()
         If set to true, and the
         [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] 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 = 2;
        Specified by:
        getAllowMissing in interface DeleteAzureClusterRequestOrBuilder
        Returns:
        The allowMissing.
      • setAllowMissing

        public DeleteAzureClusterRequest.Builder setAllowMissing​(boolean value)
         If set to true, and the
         [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] 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 = 2;
        Parameters:
        value - The allowMissing to set.
        Returns:
        This builder for chaining.
      • clearAllowMissing

        public DeleteAzureClusterRequest.Builder clearAllowMissing()
         If set to true, and the
         [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] 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 = 2;
        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 = 3;
        Specified by:
        getValidateOnly in interface DeleteAzureClusterRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

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

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

        public String getEtag()
         The current etag of the
         [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
        
         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 DeleteAzureClusterRequestOrBuilder
        Returns:
        The etag.
      • getEtagBytes

        public com.google.protobuf.ByteString getEtagBytes()
         The current etag of the
         [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
        
         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 DeleteAzureClusterRequestOrBuilder
        Returns:
        The bytes for etag.
      • setEtag

        public DeleteAzureClusterRequest.Builder setEtag​(String value)
         The current etag of the
         [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
        
         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 DeleteAzureClusterRequest.Builder clearEtag()
         The current etag of the
         [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
        
         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 DeleteAzureClusterRequest.Builder setEtagBytes​(com.google.protobuf.ByteString value)
         The current etag of the
         [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
        
         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.
      • setUnknownFields

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

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