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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VirtualClusterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public VirtualClusterConfig build()
Returns
buildPartial()
public VirtualClusterConfig buildPartial()
Returns
clear()
public VirtualClusterConfig.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public VirtualClusterConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInfrastructureConfig()
public VirtualClusterConfig.Builder clearInfrastructureConfig()
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public VirtualClusterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public VirtualClusterConfig.Builder clone()
Returns
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
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
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
getDefaultInstanceForType()
public VirtualClusterConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInfrastructureConfigCase()
public VirtualClusterConfig.InfrastructureConfigCase getInfrastructureConfigCase()
Returns
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
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
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
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
Type | Description |
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(VirtualClusterConfig other)
public VirtualClusterConfig.Builder mergeFrom(VirtualClusterConfig other)
Parameter
Returns
public VirtualClusterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VirtualClusterConfig.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VirtualClusterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public VirtualClusterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VirtualClusterConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Name | Description |
value | String
The stagingBucket to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for stagingBucket to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final VirtualClusterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides