Class VirtualClusterConfig.Builder (4.45.0)

public static final class VirtualClusterConfig.Builder extends GeneratedMessageV3.Builder<VirtualClusterConfig.Builder> implements VirtualClusterConfigOrBuilder

The 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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VirtualClusterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VirtualClusterConfig.Builder
Overrides

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
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public VirtualClusterConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VirtualClusterConfig.Builder
Overrides

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

clearOneof(Descriptors.OneofDescriptor oneof)

public VirtualClusterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VirtualClusterConfig.Builder
Overrides

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.

clone()

public VirtualClusterConfig.Builder clone()
Returns
Type Description
VirtualClusterConfig.Builder
Overrides

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
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VirtualClusterConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VirtualClusterConfig.Builder
Overrides

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VirtualClusterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VirtualClusterConfig.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public VirtualClusterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VirtualClusterConfig.Builder
Overrides

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VirtualClusterConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VirtualClusterConfig.Builder
Overrides

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 String

The 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 ByteString

The bytes for stagingBucket to set.

Returns
Type Description
VirtualClusterConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VirtualClusterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VirtualClusterConfig.Builder
Overrides