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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VirtualClusterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public VirtualClusterConfig build()
buildPartial()
public VirtualClusterConfig buildPartial()
clear()
public VirtualClusterConfig.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public VirtualClusterConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInfrastructureConfig()
public VirtualClusterConfig.Builder clearInfrastructureConfig()
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public VirtualClusterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public VirtualClusterConfig.Builder clone()
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];
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];
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];
getDefaultInstanceForType()
public VirtualClusterConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInfrastructureConfigCase()
public VirtualClusterConfig.InfrastructureConfigCase getInfrastructureConfigCase()
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(VirtualClusterConfig other)
public VirtualClusterConfig.Builder mergeFrom(VirtualClusterConfig other)
public VirtualClusterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public VirtualClusterConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VirtualClusterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public VirtualClusterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VirtualClusterConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final VirtualClusterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides