public static final class StopClusterRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StopClusterRequest.Builder> implements StopClusterRequestOrBuilder
A request to stop a cluster.Protobuf type
google.cloud.dataproc.v1.StopClusterRequest| Modifier and Type | Method and Description |
|---|---|
StopClusterRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StopClusterRequest |
build() |
StopClusterRequest |
buildPartial() |
StopClusterRequest.Builder |
clear() |
StopClusterRequest.Builder |
clearClusterName()
Required.
|
StopClusterRequest.Builder |
clearClusterUuid()
Optional.
|
StopClusterRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StopClusterRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StopClusterRequest.Builder |
clearProjectId()
Required.
|
StopClusterRequest.Builder |
clearRegion()
Required.
|
StopClusterRequest.Builder |
clearRequestId()
Optional.
|
StopClusterRequest.Builder |
clone() |
String |
getClusterName()
Required.
|
com.google.protobuf.ByteString |
getClusterNameBytes()
Required.
|
String |
getClusterUuid()
Optional.
|
com.google.protobuf.ByteString |
getClusterUuidBytes()
Optional.
|
StopClusterRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getProjectId()
Required.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
Required.
|
String |
getRegion()
Required.
|
com.google.protobuf.ByteString |
getRegionBytes()
Required.
|
String |
getRequestId()
Optional.
|
com.google.protobuf.ByteString |
getRequestIdBytes()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
StopClusterRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StopClusterRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
StopClusterRequest.Builder |
mergeFrom(StopClusterRequest other) |
StopClusterRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StopClusterRequest.Builder |
setClusterName(String value)
Required.
|
StopClusterRequest.Builder |
setClusterNameBytes(com.google.protobuf.ByteString value)
Required.
|
StopClusterRequest.Builder |
setClusterUuid(String value)
Optional.
|
StopClusterRequest.Builder |
setClusterUuidBytes(com.google.protobuf.ByteString value)
Optional.
|
StopClusterRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StopClusterRequest.Builder |
setProjectId(String value)
Required.
|
StopClusterRequest.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
Required.
|
StopClusterRequest.Builder |
setRegion(String value)
Required.
|
StopClusterRequest.Builder |
setRegionBytes(com.google.protobuf.ByteString value)
Required.
|
StopClusterRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StopClusterRequest.Builder |
setRequestId(String value)
Optional.
|
StopClusterRequest.Builder |
setRequestIdBytes(com.google.protobuf.ByteString value)
Optional.
|
StopClusterRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, 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<StopClusterRequest.Builder>public StopClusterRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<StopClusterRequest.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<StopClusterRequest.Builder>public StopClusterRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StopClusterRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StopClusterRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StopClusterRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StopClusterRequest.Builder>public StopClusterRequest.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<StopClusterRequest.Builder>public StopClusterRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StopClusterRequest.Builder>public StopClusterRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StopClusterRequest.Builder>public StopClusterRequest.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<StopClusterRequest.Builder>public StopClusterRequest.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<StopClusterRequest.Builder>public StopClusterRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StopClusterRequest.Builder>public StopClusterRequest.Builder mergeFrom(StopClusterRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StopClusterRequest.Builder>public StopClusterRequest.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<StopClusterRequest.Builder>IOExceptionpublic String getProjectId()
Required. The ID of the Google Cloud Platform project the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];getProjectId in interface StopClusterRequestOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
Required. The ID of the Google Cloud Platform project the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];getProjectIdBytes in interface StopClusterRequestOrBuilderpublic StopClusterRequest.Builder setProjectId(String value)
Required. The ID of the Google Cloud Platform project the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];value - The projectId to set.public StopClusterRequest.Builder clearProjectId()
Required. The ID of the Google Cloud Platform project the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];public StopClusterRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
Required. The ID of the Google Cloud Platform project the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for projectId to set.public String getRegion()
Required. The Dataproc region in which to handle the request.
string region = 2 [(.google.api.field_behavior) = REQUIRED];getRegion in interface StopClusterRequestOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
Required. The Dataproc region in which to handle the request.
string region = 2 [(.google.api.field_behavior) = REQUIRED];getRegionBytes in interface StopClusterRequestOrBuilderpublic StopClusterRequest.Builder setRegion(String value)
Required. The Dataproc region in which to handle the request.
string region = 2 [(.google.api.field_behavior) = REQUIRED];value - The region to set.public StopClusterRequest.Builder clearRegion()
Required. The Dataproc region in which to handle the request.
string region = 2 [(.google.api.field_behavior) = REQUIRED];public StopClusterRequest.Builder setRegionBytes(com.google.protobuf.ByteString value)
Required. The Dataproc region in which to handle the request.
string region = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for region to set.public String getClusterName()
Required. The cluster name.
string cluster_name = 3 [(.google.api.field_behavior) = REQUIRED];getClusterName in interface StopClusterRequestOrBuilderpublic com.google.protobuf.ByteString getClusterNameBytes()
Required. The cluster name.
string cluster_name = 3 [(.google.api.field_behavior) = REQUIRED];getClusterNameBytes in interface StopClusterRequestOrBuilderpublic StopClusterRequest.Builder setClusterName(String value)
Required. The cluster name.
string cluster_name = 3 [(.google.api.field_behavior) = REQUIRED];value - The clusterName to set.public StopClusterRequest.Builder clearClusterName()
Required. The cluster name.
string cluster_name = 3 [(.google.api.field_behavior) = REQUIRED];public StopClusterRequest.Builder setClusterNameBytes(com.google.protobuf.ByteString value)
Required. The cluster name.
string cluster_name = 3 [(.google.api.field_behavior) = REQUIRED];value - The bytes for clusterName to set.public String getClusterUuid()
Optional. Specifying the `cluster_uuid` means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.
string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL];getClusterUuid in interface StopClusterRequestOrBuilderpublic com.google.protobuf.ByteString getClusterUuidBytes()
Optional. Specifying the `cluster_uuid` means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.
string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL];getClusterUuidBytes in interface StopClusterRequestOrBuilderpublic StopClusterRequest.Builder setClusterUuid(String value)
Optional. Specifying the `cluster_uuid` means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.
string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL];value - The clusterUuid to set.public StopClusterRequest.Builder clearClusterUuid()
Optional. Specifying the `cluster_uuid` means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.
string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL];public StopClusterRequest.Builder setClusterUuidBytes(com.google.protobuf.ByteString value)
Optional. Specifying the `cluster_uuid` means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.
string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for clusterUuid to set.public String getRequestId()
Optional. A unique ID used to identify the request. If the server receives two [StopClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StopClusterRequest)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. Recommendation: 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];getRequestId in interface StopClusterRequestOrBuilderpublic com.google.protobuf.ByteString getRequestIdBytes()
Optional. A unique ID used to identify the request. If the server receives two [StopClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StopClusterRequest)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. Recommendation: 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];getRequestIdBytes in interface StopClusterRequestOrBuilderpublic StopClusterRequest.Builder setRequestId(String value)
Optional. A unique ID used to identify the request. If the server receives two [StopClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StopClusterRequest)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. Recommendation: 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];value - The requestId to set.public StopClusterRequest.Builder clearRequestId()
Optional. A unique ID used to identify the request. If the server receives two [StopClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StopClusterRequest)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. Recommendation: 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];public StopClusterRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
Optional. A unique ID used to identify the request. If the server receives two [StopClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StopClusterRequest)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. Recommendation: 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];value - The bytes for requestId to set.public final StopClusterRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StopClusterRequest.Builder>public final StopClusterRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StopClusterRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.