public static final class VirtualClusterConfig.Builder extends GeneratedMessage.Builder<VirtualClusterConfig.Builder> implements VirtualClusterConfigOrBuilderThe Dataproc cluster config for a cluster that does not directly control the underlying compute resources, such as a Dataproc-on-GKE cluster.
Protobuf type google.cloud.dataproc.v1.VirtualClusterConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VirtualClusterConfig.BuilderImplements
VirtualClusterConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public VirtualClusterConfig build()| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig |
|
buildPartial()
public VirtualClusterConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig |
|
clear()
public VirtualClusterConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig.Builder |
|
clearAuxiliaryServicesConfig()
public VirtualClusterConfig.Builder clearAuxiliaryServicesConfig()Optional. Configuration of auxiliary services used by this cluster.
.google.cloud.dataproc.v1.AuxiliaryServicesConfig auxiliary_services_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig.Builder |
|
clearInfrastructureConfig()
public VirtualClusterConfig.Builder clearInfrastructureConfig()| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig.Builder |
|
clearKubernetesClusterConfig()
public VirtualClusterConfig.Builder clearKubernetesClusterConfig()Required. The configuration for running the Dataproc cluster on Kubernetes.
.google.cloud.dataproc.v1.KubernetesClusterConfig kubernetes_cluster_config = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig.Builder |
|
clearStagingBucket()
public VirtualClusterConfig.Builder clearStagingBucket() Optional. A Cloud Storage bucket used to stage job
dependencies, config files, and job driver console output.
If you do not specify a staging bucket, Cloud
Dataproc will determine a Cloud Storage location (US,
ASIA, or EU) for your cluster's staging bucket according to the
Compute Engine zone where your cluster is deployed, and then create
and manage this project-level, per-location bucket (see
Dataproc staging and temp
buckets).
This field requires a Cloud Storage bucket name, not a gs://... URI to
a Cloud Storage bucket.
string staging_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig.Builder |
This builder for chaining. |
getAuxiliaryServicesConfig()
public AuxiliaryServicesConfig getAuxiliaryServicesConfig()Optional. Configuration of auxiliary services used by this cluster.
.google.cloud.dataproc.v1.AuxiliaryServicesConfig auxiliary_services_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AuxiliaryServicesConfig |
The auxiliaryServicesConfig. |
getAuxiliaryServicesConfigBuilder()
public AuxiliaryServicesConfig.Builder getAuxiliaryServicesConfigBuilder()Optional. Configuration of auxiliary services used by this cluster.
.google.cloud.dataproc.v1.AuxiliaryServicesConfig auxiliary_services_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AuxiliaryServicesConfig.Builder |
|
getAuxiliaryServicesConfigOrBuilder()
public AuxiliaryServicesConfigOrBuilder getAuxiliaryServicesConfigOrBuilder()Optional. Configuration of auxiliary services used by this cluster.
.google.cloud.dataproc.v1.AuxiliaryServicesConfig auxiliary_services_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AuxiliaryServicesConfigOrBuilder |
|
getDefaultInstanceForType()
public VirtualClusterConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInfrastructureConfigCase()
public VirtualClusterConfig.InfrastructureConfigCase getInfrastructureConfigCase()| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig.InfrastructureConfigCase |
|
getKubernetesClusterConfig()
public KubernetesClusterConfig getKubernetesClusterConfig()Required. The configuration for running the Dataproc cluster on Kubernetes.
.google.cloud.dataproc.v1.KubernetesClusterConfig kubernetes_cluster_config = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
KubernetesClusterConfig |
The kubernetesClusterConfig. |
getKubernetesClusterConfigBuilder()
public KubernetesClusterConfig.Builder getKubernetesClusterConfigBuilder()Required. The configuration for running the Dataproc cluster on Kubernetes.
.google.cloud.dataproc.v1.KubernetesClusterConfig kubernetes_cluster_config = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
KubernetesClusterConfig.Builder |
|
getKubernetesClusterConfigOrBuilder()
public KubernetesClusterConfigOrBuilder getKubernetesClusterConfigOrBuilder()Required. The configuration for running the Dataproc cluster on Kubernetes.
.google.cloud.dataproc.v1.KubernetesClusterConfig kubernetes_cluster_config = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
KubernetesClusterConfigOrBuilder |
|
getStagingBucket()
public String getStagingBucket() Optional. A Cloud Storage bucket used to stage job
dependencies, config files, and job driver console output.
If you do not specify a staging bucket, Cloud
Dataproc will determine a Cloud Storage location (US,
ASIA, or EU) for your cluster's staging bucket according to the
Compute Engine zone where your cluster is deployed, and then create
and manage this project-level, per-location bucket (see
Dataproc staging and temp
buckets).
This field requires a Cloud Storage bucket name, not a gs://... URI to
a Cloud Storage bucket.
string staging_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The stagingBucket. |
getStagingBucketBytes()
public ByteString getStagingBucketBytes() Optional. A Cloud Storage bucket used to stage job
dependencies, config files, and job driver console output.
If you do not specify a staging bucket, Cloud
Dataproc will determine a Cloud Storage location (US,
ASIA, or EU) for your cluster's staging bucket according to the
Compute Engine zone where your cluster is deployed, and then create
and manage this project-level, per-location bucket (see
Dataproc staging and temp
buckets).
This field requires a Cloud Storage bucket name, not a gs://... URI to
a Cloud Storage bucket.
string staging_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for stagingBucket. |
hasAuxiliaryServicesConfig()
public boolean hasAuxiliaryServicesConfig()Optional. Configuration of auxiliary services used by this cluster.
.google.cloud.dataproc.v1.AuxiliaryServicesConfig auxiliary_services_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the auxiliaryServicesConfig field is set. |
hasKubernetesClusterConfig()
public boolean hasKubernetesClusterConfig()Required. The configuration for running the Dataproc cluster on Kubernetes.
.google.cloud.dataproc.v1.KubernetesClusterConfig kubernetes_cluster_config = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the kubernetesClusterConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAuxiliaryServicesConfig(AuxiliaryServicesConfig value)
public VirtualClusterConfig.Builder mergeAuxiliaryServicesConfig(AuxiliaryServicesConfig value)Optional. Configuration of auxiliary services used by this cluster.
.google.cloud.dataproc.v1.AuxiliaryServicesConfig auxiliary_services_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AuxiliaryServicesConfig |
| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig.Builder |
|
mergeFrom(VirtualClusterConfig other)
public VirtualClusterConfig.Builder mergeFrom(VirtualClusterConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
VirtualClusterConfig |
| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VirtualClusterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VirtualClusterConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig.Builder |
|
mergeKubernetesClusterConfig(KubernetesClusterConfig value)
public VirtualClusterConfig.Builder mergeKubernetesClusterConfig(KubernetesClusterConfig value)Required. The configuration for running the Dataproc cluster on Kubernetes.
.google.cloud.dataproc.v1.KubernetesClusterConfig kubernetes_cluster_config = 6 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
KubernetesClusterConfig |
| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig.Builder |
|
setAuxiliaryServicesConfig(AuxiliaryServicesConfig value)
public VirtualClusterConfig.Builder setAuxiliaryServicesConfig(AuxiliaryServicesConfig value)Optional. Configuration of auxiliary services used by this cluster.
.google.cloud.dataproc.v1.AuxiliaryServicesConfig auxiliary_services_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AuxiliaryServicesConfig |
| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig.Builder |
|
setAuxiliaryServicesConfig(AuxiliaryServicesConfig.Builder builderForValue)
public VirtualClusterConfig.Builder setAuxiliaryServicesConfig(AuxiliaryServicesConfig.Builder builderForValue)Optional. Configuration of auxiliary services used by this cluster.
.google.cloud.dataproc.v1.AuxiliaryServicesConfig auxiliary_services_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AuxiliaryServicesConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig.Builder |
|
setKubernetesClusterConfig(KubernetesClusterConfig value)
public VirtualClusterConfig.Builder setKubernetesClusterConfig(KubernetesClusterConfig value)Required. The configuration for running the Dataproc cluster on Kubernetes.
.google.cloud.dataproc.v1.KubernetesClusterConfig kubernetes_cluster_config = 6 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
KubernetesClusterConfig |
| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig.Builder |
|
setKubernetesClusterConfig(KubernetesClusterConfig.Builder builderForValue)
public VirtualClusterConfig.Builder setKubernetesClusterConfig(KubernetesClusterConfig.Builder builderForValue)Required. The configuration for running the Dataproc cluster on Kubernetes.
.google.cloud.dataproc.v1.KubernetesClusterConfig kubernetes_cluster_config = 6 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
KubernetesClusterConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig.Builder |
|
setStagingBucket(String value)
public VirtualClusterConfig.Builder setStagingBucket(String value) Optional. A Cloud Storage bucket used to stage job
dependencies, config files, and job driver console output.
If you do not specify a staging bucket, Cloud
Dataproc will determine a Cloud Storage location (US,
ASIA, or EU) for your cluster's staging bucket according to the
Compute Engine zone where your cluster is deployed, and then create
and manage this project-level, per-location bucket (see
Dataproc staging and temp
buckets).
This field requires a Cloud Storage bucket name, not a gs://... URI to
a Cloud Storage bucket.
string staging_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe stagingBucket to set. |
| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig.Builder |
This builder for chaining. |
setStagingBucketBytes(ByteString value)
public VirtualClusterConfig.Builder setStagingBucketBytes(ByteString value) Optional. A Cloud Storage bucket used to stage job
dependencies, config files, and job driver console output.
If you do not specify a staging bucket, Cloud
Dataproc will determine a Cloud Storage location (US,
ASIA, or EU) for your cluster's staging bucket according to the
Compute Engine zone where your cluster is deployed, and then create
and manage this project-level, per-location bucket (see
Dataproc staging and temp
buckets).
This field requires a Cloud Storage bucket name, not a gs://... URI to
a Cloud Storage bucket.
string staging_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for stagingBucket to set. |
| Returns | |
|---|---|
| Type | Description |
VirtualClusterConfig.Builder |
This builder for chaining. |