Class VirtualClusterConfig.Builder (4.2.0)

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

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VirtualClusterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VirtualClusterConfig.Builder
Overrides

build()

public VirtualClusterConfig build()
Returns
TypeDescription
VirtualClusterConfig

buildPartial()

public VirtualClusterConfig buildPartial()
Returns
TypeDescription
VirtualClusterConfig

clear()

public VirtualClusterConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
VirtualClusterConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public VirtualClusterConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VirtualClusterConfig.Builder
Overrides

clearInfrastructureConfig()

public VirtualClusterConfig.Builder clearInfrastructureConfig()
Returns
TypeDescription
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
TypeDescription
VirtualClusterConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public VirtualClusterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VirtualClusterConfig.Builder
Overrides

clearStagingBucket()

public VirtualClusterConfig.Builder clearStagingBucket()

Optional. A 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
TypeDescription
VirtualClusterConfig.Builder

This builder for chaining.

clone()

public VirtualClusterConfig.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AuxiliaryServicesConfigOrBuilder

getDefaultInstanceForType()

public VirtualClusterConfig getDefaultInstanceForType()
Returns
TypeDescription
VirtualClusterConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInfrastructureConfigCase()

public VirtualClusterConfig.InfrastructureConfigCase getInfrastructureConfigCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
KubernetesClusterConfigOrBuilder

getStagingBucket()

public String getStagingBucket()

Optional. A 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
TypeDescription
String

The stagingBucket.

getStagingBucketBytes()

public ByteString getStagingBucketBytes()

Optional. A 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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the kubernetesClusterConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAuxiliaryServicesConfig
Returns
TypeDescription
VirtualClusterConfig.Builder

mergeFrom(VirtualClusterConfig other)

public VirtualClusterConfig.Builder mergeFrom(VirtualClusterConfig other)
Parameter
NameDescription
otherVirtualClusterConfig
Returns
TypeDescription
VirtualClusterConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VirtualClusterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VirtualClusterConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VirtualClusterConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueKubernetesClusterConfig
Returns
TypeDescription
VirtualClusterConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VirtualClusterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAuxiliaryServicesConfig
Returns
TypeDescription
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
NameDescription
builderForValueAuxiliaryServicesConfig.Builder
Returns
TypeDescription
VirtualClusterConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VirtualClusterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueKubernetesClusterConfig
Returns
TypeDescription
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
NameDescription
builderForValueKubernetesClusterConfig.Builder
Returns
TypeDescription
VirtualClusterConfig.Builder

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

public VirtualClusterConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VirtualClusterConfig.Builder
Overrides

setStagingBucket(String value)

public VirtualClusterConfig.Builder setStagingBucket(String value)

Optional. A 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
NameDescription
valueString

The stagingBucket to set.

Returns
TypeDescription
VirtualClusterConfig.Builder

This builder for chaining.

setStagingBucketBytes(ByteString value)

public VirtualClusterConfig.Builder setStagingBucketBytes(ByteString value)

Optional. A 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
NameDescription
valueByteString

The bytes for stagingBucket to set.

Returns
TypeDescription
VirtualClusterConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VirtualClusterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VirtualClusterConfig.Builder
Overrides