public static final class VirtualClusterConfig.Builder extends GeneratedMessageV3.Builder<VirtualClusterConfig.Builder> implements VirtualClusterConfigOrBuilderDataproc 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
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VirtualClusterConfig.BuilderImplements
VirtualClusterConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VirtualClusterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| VirtualClusterConfig.Builder |
build()
public VirtualClusterConfig build()| Type | Description |
| VirtualClusterConfig |
buildPartial()
public VirtualClusterConfig buildPartial()| Type | Description |
| VirtualClusterConfig |
clear()
public VirtualClusterConfig.Builder clear()| 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];
| Type | Description |
| VirtualClusterConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public VirtualClusterConfig.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| VirtualClusterConfig.Builder |
clearInfrastructureConfig()
public VirtualClusterConfig.Builder clearInfrastructureConfig()| 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];
| Type | Description |
| VirtualClusterConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public VirtualClusterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| VirtualClusterConfig.Builder |
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];
| Type | Description |
| VirtualClusterConfig.Builder | This builder for chaining. |
clearTempBucket()
public VirtualClusterConfig.Builder clearTempBucket() Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data,
such as Spark and MapReduce history files.
If you do not specify a temp bucket,
Dataproc will determine a Cloud Storage location (US,
ASIA, or EU) for your cluster's temp bucket according to the
Compute Engine zone where your cluster is deployed, and then create
and manage this project-level, per-location bucket. The default bucket has
a TTL of 90 days, but you can use any TTL (or none) if you specify a
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 temp_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| VirtualClusterConfig.Builder | This builder for chaining. |
clone()
public VirtualClusterConfig.Builder clone()| Type | Description |
| VirtualClusterConfig.Builder |
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];
| 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];
| 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];
| Type | Description |
| AuxiliaryServicesConfigOrBuilder |
getDefaultInstanceForType()
public VirtualClusterConfig getDefaultInstanceForType()| Type | Description |
| VirtualClusterConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getInfrastructureConfigCase()
public VirtualClusterConfig.InfrastructureConfigCase getInfrastructureConfigCase()| 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];
| 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];
| 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];
| Type | Description |
| 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];
| 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];
| Type | Description |
| ByteString | The bytes for stagingBucket. |
getTempBucket()
public String getTempBucket() Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data,
such as Spark and MapReduce history files.
If you do not specify a temp bucket,
Dataproc will determine a Cloud Storage location (US,
ASIA, or EU) for your cluster's temp bucket according to the
Compute Engine zone where your cluster is deployed, and then create
and manage this project-level, per-location bucket. The default bucket has
a TTL of 90 days, but you can use any TTL (or none) if you specify a
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 temp_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| String | The tempBucket. |
getTempBucketBytes()
public ByteString getTempBucketBytes() Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data,
such as Spark and MapReduce history files.
If you do not specify a temp bucket,
Dataproc will determine a Cloud Storage location (US,
ASIA, or EU) for your cluster's temp bucket according to the
Compute Engine zone where your cluster is deployed, and then create
and manage this project-level, per-location bucket. The default bucket has
a TTL of 90 days, but you can use any TTL (or none) if you specify a
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 temp_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| ByteString | The bytes for tempBucket. |
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];
| 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];
| Type | Description |
| boolean | Whether the kubernetesClusterConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| 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];
| Name | Description |
| value | AuxiliaryServicesConfig |
| Type | Description |
| VirtualClusterConfig.Builder |
mergeFrom(VirtualClusterConfig other)
public VirtualClusterConfig.Builder mergeFrom(VirtualClusterConfig other)| Name | Description |
| other | VirtualClusterConfig |
| Type | Description |
| VirtualClusterConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VirtualClusterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| VirtualClusterConfig.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public VirtualClusterConfig.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| 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];
| Name | Description |
| value | KubernetesClusterConfig |
| Type | Description |
| VirtualClusterConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VirtualClusterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| 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];
| Name | Description |
| value | AuxiliaryServicesConfig |
| 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];
| Name | Description |
| builderForValue | AuxiliaryServicesConfig.Builder |
| Type | Description |
| VirtualClusterConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public VirtualClusterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| 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];
| Name | Description |
| value | KubernetesClusterConfig |
| 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];
| Name | Description |
| builderForValue | KubernetesClusterConfig.Builder |
| Type | Description |
| VirtualClusterConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VirtualClusterConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| VirtualClusterConfig.Builder |
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];
| Name | Description |
| value | StringThe stagingBucket to set. |
| Type | Description |
| 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];
| Name | Description |
| value | ByteStringThe bytes for stagingBucket to set. |
| Type | Description |
| VirtualClusterConfig.Builder | This builder for chaining. |
setTempBucket(String value)
public VirtualClusterConfig.Builder setTempBucket(String value) Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data,
such as Spark and MapReduce history files.
If you do not specify a temp bucket,
Dataproc will determine a Cloud Storage location (US,
ASIA, or EU) for your cluster's temp bucket according to the
Compute Engine zone where your cluster is deployed, and then create
and manage this project-level, per-location bucket. The default bucket has
a TTL of 90 days, but you can use any TTL (or none) if you specify a
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 temp_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
| Name | Description |
| value | StringThe tempBucket to set. |
| Type | Description |
| VirtualClusterConfig.Builder | This builder for chaining. |
setTempBucketBytes(ByteString value)
public VirtualClusterConfig.Builder setTempBucketBytes(ByteString value) Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data,
such as Spark and MapReduce history files.
If you do not specify a temp bucket,
Dataproc will determine a Cloud Storage location (US,
ASIA, or EU) for your cluster's temp bucket according to the
Compute Engine zone where your cluster is deployed, and then create
and manage this project-level, per-location bucket. The default bucket has
a TTL of 90 days, but you can use any TTL (or none) if you specify a
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 temp_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
| Name | Description |
| value | ByteStringThe bytes for tempBucket to set. |
| Type | Description |
| VirtualClusterConfig.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final VirtualClusterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| VirtualClusterConfig.Builder |