public static final class CreateClusterRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder> implements CreateClusterRequestOrBuilder
A request to create a cluster.Protobuf type
google.cloud.dataproc.v1.CreateClusterRequestgetAllFields, 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<CreateClusterRequest.Builder>public CreateClusterRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.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<CreateClusterRequest.Builder>public CreateClusterRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateClusterRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateClusterRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateClusterRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder>public CreateClusterRequest.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<CreateClusterRequest.Builder>public CreateClusterRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder>public CreateClusterRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder>public CreateClusterRequest.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<CreateClusterRequest.Builder>public CreateClusterRequest.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<CreateClusterRequest.Builder>public CreateClusterRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateClusterRequest.Builder>public CreateClusterRequest.Builder mergeFrom(CreateClusterRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder>public CreateClusterRequest.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<CreateClusterRequest.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 CreateClusterRequestOrBuilderpublic 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 CreateClusterRequestOrBuilderpublic CreateClusterRequest.Builder setProjectId(String value)
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
string project_id = 1;public CreateClusterRequest.Builder clearProjectId()
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
string project_id = 1;public CreateClusterRequest.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 CreateClusterRequestOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
Required. The Cloud Dataproc region in which to handle the request.
string region = 3;getRegionBytes in interface CreateClusterRequestOrBuilderpublic CreateClusterRequest.Builder setRegion(String value)
Required. The Cloud Dataproc region in which to handle the request.
string region = 3;public CreateClusterRequest.Builder clearRegion()
Required. The Cloud Dataproc region in which to handle the request.
string region = 3;public CreateClusterRequest.Builder setRegionBytes(com.google.protobuf.ByteString value)
Required. The Cloud Dataproc region in which to handle the request.
string region = 3;public boolean hasCluster()
Required. The cluster to create.
.google.cloud.dataproc.v1.Cluster cluster = 2;hasCluster in interface CreateClusterRequestOrBuilderpublic Cluster getCluster()
Required. The cluster to create.
.google.cloud.dataproc.v1.Cluster cluster = 2;getCluster in interface CreateClusterRequestOrBuilderpublic CreateClusterRequest.Builder setCluster(Cluster value)
Required. The cluster to create.
.google.cloud.dataproc.v1.Cluster cluster = 2;public CreateClusterRequest.Builder setCluster(Cluster.Builder builderForValue)
Required. The cluster to create.
.google.cloud.dataproc.v1.Cluster cluster = 2;public CreateClusterRequest.Builder mergeCluster(Cluster value)
Required. The cluster to create.
.google.cloud.dataproc.v1.Cluster cluster = 2;public CreateClusterRequest.Builder clearCluster()
Required. The cluster to create.
.google.cloud.dataproc.v1.Cluster cluster = 2;public Cluster.Builder getClusterBuilder()
Required. The cluster to create.
.google.cloud.dataproc.v1.Cluster cluster = 2;public ClusterOrBuilder getClusterOrBuilder()
Required. The cluster to create.
.google.cloud.dataproc.v1.Cluster cluster = 2;getClusterOrBuilder in interface CreateClusterRequestOrBuilderpublic String getRequestId()
Optional. A unique id used to identify the request. If the server receives two [CreateClusterRequest][google.cloud.dataproc.v1.CreateClusterRequest] 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 = 4;getRequestId in interface CreateClusterRequestOrBuilderpublic com.google.protobuf.ByteString getRequestIdBytes()
Optional. A unique id used to identify the request. If the server receives two [CreateClusterRequest][google.cloud.dataproc.v1.CreateClusterRequest] 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 = 4;getRequestIdBytes in interface CreateClusterRequestOrBuilderpublic CreateClusterRequest.Builder setRequestId(String value)
Optional. A unique id used to identify the request. If the server receives two [CreateClusterRequest][google.cloud.dataproc.v1.CreateClusterRequest] 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 = 4;public CreateClusterRequest.Builder clearRequestId()
Optional. A unique id used to identify the request. If the server receives two [CreateClusterRequest][google.cloud.dataproc.v1.CreateClusterRequest] 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 = 4;public CreateClusterRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
Optional. A unique id used to identify the request. If the server receives two [CreateClusterRequest][google.cloud.dataproc.v1.CreateClusterRequest] 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 = 4;public final CreateClusterRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder>public final CreateClusterRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterRequest.Builder>Copyright © 2019 Google LLC. All rights reserved.