public static final class StartClusterRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StartClusterRequest.Builder> implements StartClusterRequestOrBuilder
A request to start a cluster.Protobuf type
google.cloud.dataproc.v1.StartClusterRequest| Modifier and Type | Method and Description |
|---|---|
StartClusterRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StartClusterRequest |
build() |
StartClusterRequest |
buildPartial() |
StartClusterRequest.Builder |
clear() |
StartClusterRequest.Builder |
clearClusterName()
Required.
|
StartClusterRequest.Builder |
clearClusterUuid()
Optional.
|
StartClusterRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StartClusterRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StartClusterRequest.Builder |
clearProjectId()
Required.
|
StartClusterRequest.Builder |
clearRegion()
Required.
|
StartClusterRequest.Builder |
clearRequestId()
Optional.
|
StartClusterRequest.Builder |
clone() |
String |
getClusterName()
Required.
|
com.google.protobuf.ByteString |
getClusterNameBytes()
Required.
|
String |
getClusterUuid()
Optional.
|
com.google.protobuf.ByteString |
getClusterUuidBytes()
Optional.
|
StartClusterRequest |
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() |
StartClusterRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StartClusterRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
StartClusterRequest.Builder |
mergeFrom(StartClusterRequest other) |
StartClusterRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StartClusterRequest.Builder |
setClusterName(String value)
Required.
|
StartClusterRequest.Builder |
setClusterNameBytes(com.google.protobuf.ByteString value)
Required.
|
StartClusterRequest.Builder |
setClusterUuid(String value)
Optional.
|
StartClusterRequest.Builder |
setClusterUuidBytes(com.google.protobuf.ByteString value)
Optional.
|
StartClusterRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StartClusterRequest.Builder |
setProjectId(String value)
Required.
|
StartClusterRequest.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
Required.
|
StartClusterRequest.Builder |
setRegion(String value)
Required.
|
StartClusterRequest.Builder |
setRegionBytes(com.google.protobuf.ByteString value)
Required.
|
StartClusterRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StartClusterRequest.Builder |
setRequestId(String value)
Optional.
|
StartClusterRequest.Builder |
setRequestIdBytes(com.google.protobuf.ByteString value)
Optional.
|
StartClusterRequest.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<StartClusterRequest.Builder>public StartClusterRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<StartClusterRequest.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<StartClusterRequest.Builder>public StartClusterRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StartClusterRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StartClusterRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StartClusterRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StartClusterRequest.Builder>public StartClusterRequest.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<StartClusterRequest.Builder>public StartClusterRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StartClusterRequest.Builder>public StartClusterRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StartClusterRequest.Builder>public StartClusterRequest.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<StartClusterRequest.Builder>public StartClusterRequest.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<StartClusterRequest.Builder>public StartClusterRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StartClusterRequest.Builder>public StartClusterRequest.Builder mergeFrom(StartClusterRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StartClusterRequest.Builder>public StartClusterRequest.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<StartClusterRequest.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 StartClusterRequestOrBuilderpublic 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 StartClusterRequestOrBuilderpublic StartClusterRequest.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 StartClusterRequest.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 StartClusterRequest.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 StartClusterRequestOrBuilderpublic 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 StartClusterRequestOrBuilderpublic StartClusterRequest.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 StartClusterRequest.Builder clearRegion()
Required. The Dataproc region in which to handle the request.
string region = 2 [(.google.api.field_behavior) = REQUIRED];public StartClusterRequest.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 StartClusterRequestOrBuilderpublic com.google.protobuf.ByteString getClusterNameBytes()
Required. The cluster name.
string cluster_name = 3 [(.google.api.field_behavior) = REQUIRED];getClusterNameBytes in interface StartClusterRequestOrBuilderpublic StartClusterRequest.Builder setClusterName(String value)
Required. The cluster name.
string cluster_name = 3 [(.google.api.field_behavior) = REQUIRED];value - The clusterName to set.public StartClusterRequest.Builder clearClusterName()
Required. The cluster name.
string cluster_name = 3 [(.google.api.field_behavior) = REQUIRED];public StartClusterRequest.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 StartClusterRequestOrBuilderpublic 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 StartClusterRequestOrBuilderpublic StartClusterRequest.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 StartClusterRequest.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 StartClusterRequest.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 [StartClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StartClusterRequest)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 StartClusterRequestOrBuilderpublic com.google.protobuf.ByteString getRequestIdBytes()
Optional. A unique ID used to identify the request. If the server receives two [StartClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StartClusterRequest)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 StartClusterRequestOrBuilderpublic StartClusterRequest.Builder setRequestId(String value)
Optional. A unique ID used to identify the request. If the server receives two [StartClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StartClusterRequest)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 StartClusterRequest.Builder clearRequestId()
Optional. A unique ID used to identify the request. If the server receives two [StartClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StartClusterRequest)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 StartClusterRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
Optional. A unique ID used to identify the request. If the server receives two [StartClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StartClusterRequest)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 StartClusterRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StartClusterRequest.Builder>public final StartClusterRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StartClusterRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.