public static final class DeleteClusterRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.Builder> implements DeleteClusterRequestOrBuilder
A request to delete a cluster.Protobuf type
google.cloud.dataproc.v1.DeleteClusterRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.Builder>public DeleteClusterRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.Builder>public DeleteClusterRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DeleteClusterRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DeleteClusterRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DeleteClusterRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.Builder>public DeleteClusterRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.Builder>public DeleteClusterRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.Builder>public DeleteClusterRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.Builder>public DeleteClusterRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.Builder>public DeleteClusterRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.Builder>public DeleteClusterRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeleteClusterRequest.Builder>public DeleteClusterRequest.Builder mergeFrom(DeleteClusterRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.Builder>public DeleteClusterRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeleteClusterRequest.Builder>IOExceptionpublic String getProjectId()
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
string project_id = 1;getProjectId in interface DeleteClusterRequestOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
string project_id = 1;getProjectIdBytes in interface DeleteClusterRequestOrBuilderpublic DeleteClusterRequest.Builder setProjectId(String value)
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
string project_id = 1;public DeleteClusterRequest.Builder clearProjectId()
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
string project_id = 1;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;public String getRegion()
Required. The Cloud Dataproc region in which to handle the request.
string region = 3;getRegion in interface DeleteClusterRequestOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
Required. The Cloud Dataproc region in which to handle the request.
string region = 3;getRegionBytes in interface DeleteClusterRequestOrBuilderpublic DeleteClusterRequest.Builder setRegion(String value)
Required. The Cloud Dataproc region in which to handle the request.
string region = 3;public DeleteClusterRequest.Builder clearRegion()
Required. The Cloud Dataproc region in which to handle the request.
string region = 3;public DeleteClusterRequest.Builder setRegionBytes(com.google.protobuf.ByteString value)
Required. The Cloud Dataproc region in which to handle the request.
string region = 3;public String getClusterName()
Required. The cluster name.
string cluster_name = 2;getClusterName in interface DeleteClusterRequestOrBuilderpublic com.google.protobuf.ByteString getClusterNameBytes()
Required. The cluster name.
string cluster_name = 2;getClusterNameBytes in interface DeleteClusterRequestOrBuilderpublic DeleteClusterRequest.Builder setClusterName(String value)
Required. The cluster name.
string cluster_name = 2;public DeleteClusterRequest.Builder clearClusterName()
Required. The cluster name.
string cluster_name = 2;public DeleteClusterRequest.Builder setClusterNameBytes(com.google.protobuf.ByteString value)
Required. The cluster name.
string cluster_name = 2;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;getClusterUuid in interface DeleteClusterRequestOrBuilderpublic 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;getClusterUuidBytes in interface DeleteClusterRequestOrBuilderpublic 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;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;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;public String getRequestId()
Optional. A unique id used to identify the request. If the server receives two [DeleteClusterRequest][google.cloud.dataproc.v1.DeleteClusterRequest] requests 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;getRequestId in interface DeleteClusterRequestOrBuilderpublic com.google.protobuf.ByteString getRequestIdBytes()
Optional. A unique id used to identify the request. If the server receives two [DeleteClusterRequest][google.cloud.dataproc.v1.DeleteClusterRequest] requests 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;getRequestIdBytes in interface DeleteClusterRequestOrBuilderpublic DeleteClusterRequest.Builder setRequestId(String value)
Optional. A unique id used to identify the request. If the server receives two [DeleteClusterRequest][google.cloud.dataproc.v1.DeleteClusterRequest] requests 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;public DeleteClusterRequest.Builder clearRequestId()
Optional. A unique id used to identify the request. If the server receives two [DeleteClusterRequest][google.cloud.dataproc.v1.DeleteClusterRequest] requests 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;public DeleteClusterRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
Optional. A unique id used to identify the request. If the server receives two [DeleteClusterRequest][google.cloud.dataproc.v1.DeleteClusterRequest] requests 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;public final DeleteClusterRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.Builder>public final DeleteClusterRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteClusterRequest.Builder>Copyright © 2019 Google LLC. All rights reserved.