Class DeleteClusterRequest.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<DeleteClusterRequest.Builder>
      • clear

        public DeleteClusterRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.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<DeleteClusterRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public DeleteClusterRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.Builder>
      • setField

        public DeleteClusterRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.Builder>
      • clearField

        public DeleteClusterRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.Builder>
      • clearOneof

        public DeleteClusterRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.Builder>
      • setRepeatedField

        public DeleteClusterRequest.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<DeleteClusterRequest.Builder>
      • addRepeatedField

        public DeleteClusterRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.Builder>
      • isInitialized

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

        public DeleteClusterRequest.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<DeleteClusterRequest.Builder>
        Throws:
        IOException
      • getProjectId

        public String getProjectId()
         Required. The ID of the Google Cloud Platform project that the cluster
         belongs to.
         
        string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProjectId in interface DeleteClusterRequestOrBuilder
        Returns:
        The projectId.
      • getProjectIdBytes

        public com.google.protobuf.ByteString getProjectIdBytes()
         Required. The ID of the Google Cloud Platform project that the cluster
         belongs to.
         
        string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProjectIdBytes in interface DeleteClusterRequestOrBuilder
        Returns:
        The bytes for projectId.
      • setProjectId

        public DeleteClusterRequest.Builder setProjectId​(String value)
         Required. The ID of the Google Cloud Platform project that the cluster
         belongs to.
         
        string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The projectId to set.
        Returns:
        This builder for chaining.
      • clearProjectId

        public DeleteClusterRequest.Builder clearProjectId()
         Required. The ID of the Google Cloud Platform project that the cluster
         belongs to.
         
        string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setProjectIdBytes

        public DeleteClusterRequest.Builder setProjectIdBytes​(com.google.protobuf.ByteString value)
         Required. The ID of the Google Cloud Platform project that the cluster
         belongs to.
         
        string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for projectId to set.
        Returns:
        This builder for chaining.
      • getRegion

        public String getRegion()
         Required. The Dataproc region in which to handle the request.
         
        string region = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRegion in interface DeleteClusterRequestOrBuilder
        Returns:
        The region.
      • getRegionBytes

        public com.google.protobuf.ByteString getRegionBytes()
         Required. The Dataproc region in which to handle the request.
         
        string region = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRegionBytes in interface DeleteClusterRequestOrBuilder
        Returns:
        The bytes for region.
      • setRegion

        public DeleteClusterRequest.Builder setRegion​(String value)
         Required. The Dataproc region in which to handle the request.
         
        string region = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The region to set.
        Returns:
        This builder for chaining.
      • clearRegion

        public DeleteClusterRequest.Builder clearRegion()
         Required. The Dataproc region in which to handle the request.
         
        string region = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setRegionBytes

        public DeleteClusterRequest.Builder setRegionBytes​(com.google.protobuf.ByteString value)
         Required. The Dataproc region in which to handle the request.
         
        string region = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for region to set.
        Returns:
        This builder for chaining.
      • getClusterNameBytes

        public com.google.protobuf.ByteString getClusterNameBytes()
         Required. The cluster name.
         
        string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getClusterNameBytes in interface DeleteClusterRequestOrBuilder
        Returns:
        The bytes for clusterName.
      • setClusterName

        public DeleteClusterRequest.Builder setClusterName​(String value)
         Required. The cluster name.
         
        string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The clusterName to set.
        Returns:
        This builder for chaining.
      • clearClusterName

        public DeleteClusterRequest.Builder clearClusterName()
         Required. The cluster name.
         
        string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setClusterNameBytes

        public DeleteClusterRequest.Builder setClusterNameBytes​(com.google.protobuf.ByteString value)
         Required. The cluster name.
         
        string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for clusterName to set.
        Returns:
        This builder for chaining.
      • getClusterUuid

        public String getClusterUuid()
         Optional. Specifying the `cluster_uuid` means the RPC should fail
         (with error NOT_FOUND) if cluster with specified UUID does not exist.
         
        string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getClusterUuid in interface DeleteClusterRequestOrBuilder
        Returns:
        The clusterUuid.
      • getClusterUuidBytes

        public com.google.protobuf.ByteString getClusterUuidBytes()
         Optional. Specifying the `cluster_uuid` means the RPC should fail
         (with error NOT_FOUND) if cluster with specified UUID does not exist.
         
        string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getClusterUuidBytes in interface DeleteClusterRequestOrBuilder
        Returns:
        The bytes for clusterUuid.
      • setClusterUuid

        public DeleteClusterRequest.Builder setClusterUuid​(String value)
         Optional. Specifying the `cluster_uuid` means the RPC should fail
         (with error NOT_FOUND) if cluster with specified UUID does not exist.
         
        string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The clusterUuid to set.
        Returns:
        This builder for chaining.
      • clearClusterUuid

        public DeleteClusterRequest.Builder clearClusterUuid()
         Optional. Specifying the `cluster_uuid` means the RPC should fail
         (with error NOT_FOUND) if cluster with specified UUID does not exist.
         
        string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setClusterUuidBytes

        public DeleteClusterRequest.Builder setClusterUuidBytes​(com.google.protobuf.ByteString value)
         Optional. Specifying the `cluster_uuid` means the RPC should fail
         (with error NOT_FOUND) if cluster with specified UUID does not exist.
         
        string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for clusterUuid to set.
        Returns:
        This builder for chaining.
      • getRequestId

        public String getRequestId()
         Optional. A unique ID used to identify the request. If the server
         receives two
         [DeleteClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.DeleteClusterRequest)s
         with the same id, then the second request will be ignored and the
         first [google.longrunning.Operation][google.longrunning.Operation] created
         and stored in the backend is returned.
        
         It is recommended to always set this value to a
         [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
        
         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 = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getRequestId in interface DeleteClusterRequestOrBuilder
        Returns:
        The requestId.
      • getRequestIdBytes

        public com.google.protobuf.ByteString getRequestIdBytes()
         Optional. A unique ID used to identify the request. If the server
         receives two
         [DeleteClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.DeleteClusterRequest)s
         with the same id, then the second request will be ignored and the
         first [google.longrunning.Operation][google.longrunning.Operation] created
         and stored in the backend is returned.
        
         It is recommended to always set this value to a
         [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
        
         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 = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getRequestIdBytes in interface DeleteClusterRequestOrBuilder
        Returns:
        The bytes for requestId.
      • setRequestId

        public DeleteClusterRequest.Builder setRequestId​(String value)
         Optional. A unique ID used to identify the request. If the server
         receives two
         [DeleteClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.DeleteClusterRequest)s
         with the same id, then the second request will be ignored and the
         first [google.longrunning.Operation][google.longrunning.Operation] created
         and stored in the backend is returned.
        
         It is recommended to always set this value to a
         [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
        
         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 = 5 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The requestId to set.
        Returns:
        This builder for chaining.
      • clearRequestId

        public DeleteClusterRequest.Builder clearRequestId()
         Optional. A unique ID used to identify the request. If the server
         receives two
         [DeleteClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.DeleteClusterRequest)s
         with the same id, then the second request will be ignored and the
         first [google.longrunning.Operation][google.longrunning.Operation] created
         and stored in the backend is returned.
        
         It is recommended to always set this value to a
         [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
        
         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 = 5 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setRequestIdBytes

        public DeleteClusterRequest.Builder setRequestIdBytes​(com.google.protobuf.ByteString value)
         Optional. A unique ID used to identify the request. If the server
         receives two
         [DeleteClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.DeleteClusterRequest)s
         with the same id, then the second request will be ignored and the
         first [google.longrunning.Operation][google.longrunning.Operation] created
         and stored in the backend is returned.
        
         It is recommended to always set this value to a
         [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
        
         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 = 5 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for requestId to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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