Class ClusterConfig.Builder

  • All Implemented Interfaces:
    ClusterConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ClusterConfig

    public static final class ClusterConfig.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ClusterConfig.Builder>
    implements ClusterConfigOrBuilder
     The cluster config.
     
    Protobuf type google.cloud.dataproc.v1.ClusterConfig
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterConfig.Builder>
      • clear

        public ClusterConfig.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterConfig.Builder>
      • getDefaultInstanceForType

        public ClusterConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ClusterConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ClusterConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ClusterConfig.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterConfig.Builder>
      • setField

        public ClusterConfig.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterConfig.Builder>
      • clearField

        public ClusterConfig.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterConfig.Builder>
      • clearOneof

        public ClusterConfig.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterConfig.Builder>
      • setRepeatedField

        public ClusterConfig.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      int index,
                                                      Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterConfig.Builder>
      • addRepeatedField

        public ClusterConfig.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterConfig.Builder>
      • mergeFrom

        public ClusterConfig.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClusterConfig.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterConfig.Builder>
      • mergeFrom

        public ClusterConfig.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClusterConfig.Builder>
        Throws:
        IOException
      • getConfigBucket

        public String getConfigBucket()
         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](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
         **This field requires a Cloud Storage bucket name, not a `gs://...` URI to
         a Cloud Storage bucket.**
         
        string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getConfigBucket in interface ClusterConfigOrBuilder
        Returns:
        The configBucket.
      • getConfigBucketBytes

        public com.google.protobuf.ByteString getConfigBucketBytes()
         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](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
         **This field requires a Cloud Storage bucket name, not a `gs://...` URI to
         a Cloud Storage bucket.**
         
        string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getConfigBucketBytes in interface ClusterConfigOrBuilder
        Returns:
        The bytes for configBucket.
      • setConfigBucket

        public ClusterConfig.Builder setConfigBucket​(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](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
         **This field requires a Cloud Storage bucket name, not a `gs://...` URI to
         a Cloud Storage bucket.**
         
        string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The configBucket to set.
        Returns:
        This builder for chaining.
      • clearConfigBucket

        public ClusterConfig.Builder clearConfigBucket()
         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](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
         **This field requires a Cloud Storage bucket name, not a `gs://...` URI to
         a Cloud Storage bucket.**
         
        string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setConfigBucketBytes

        public ClusterConfig.Builder setConfigBucketBytes​(com.google.protobuf.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](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
         **This field requires a Cloud Storage bucket name, not a `gs://...` URI to
         a Cloud Storage bucket.**
         
        string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for configBucket to set.
        Returns:
        This builder for chaining.
      • 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](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
         **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];
        Specified by:
        getTempBucket in interface ClusterConfigOrBuilder
        Returns:
        The tempBucket.
      • getTempBucketBytes

        public com.google.protobuf.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](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
         **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];
        Specified by:
        getTempBucketBytes in interface ClusterConfigOrBuilder
        Returns:
        The bytes for tempBucket.
      • setTempBucket

        public ClusterConfig.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](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
         **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];
        Parameters:
        value - The tempBucket to set.
        Returns:
        This builder for chaining.
      • clearTempBucket

        public ClusterConfig.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](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
         **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];
        Returns:
        This builder for chaining.
      • setTempBucketBytes

        public ClusterConfig.Builder setTempBucketBytes​(com.google.protobuf.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](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
         **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];
        Parameters:
        value - The bytes for tempBucket to set.
        Returns:
        This builder for chaining.
      • hasGceClusterConfig

        public boolean hasGceClusterConfig()
         Optional. The shared Compute Engine config settings for
         all instances in a cluster.
         
        .google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasGceClusterConfig in interface ClusterConfigOrBuilder
        Returns:
        Whether the gceClusterConfig field is set.
      • getGceClusterConfig

        public GceClusterConfig getGceClusterConfig()
         Optional. The shared Compute Engine config settings for
         all instances in a cluster.
         
        .google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getGceClusterConfig in interface ClusterConfigOrBuilder
        Returns:
        The gceClusterConfig.
      • setGceClusterConfig

        public ClusterConfig.Builder setGceClusterConfig​(GceClusterConfig value)
         Optional. The shared Compute Engine config settings for
         all instances in a cluster.
         
        .google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      • setGceClusterConfig

        public ClusterConfig.Builder setGceClusterConfig​(GceClusterConfig.Builder builderForValue)
         Optional. The shared Compute Engine config settings for
         all instances in a cluster.
         
        .google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      • mergeGceClusterConfig

        public ClusterConfig.Builder mergeGceClusterConfig​(GceClusterConfig value)
         Optional. The shared Compute Engine config settings for
         all instances in a cluster.
         
        .google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      • clearGceClusterConfig

        public ClusterConfig.Builder clearGceClusterConfig()
         Optional. The shared Compute Engine config settings for
         all instances in a cluster.
         
        .google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      • getGceClusterConfigBuilder

        public GceClusterConfig.Builder getGceClusterConfigBuilder()
         Optional. The shared Compute Engine config settings for
         all instances in a cluster.
         
        .google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      • hasMasterConfig

        public boolean hasMasterConfig()
         Optional. The Compute Engine config settings for
         the cluster's master instance.
         
        .google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasMasterConfig in interface ClusterConfigOrBuilder
        Returns:
        Whether the masterConfig field is set.
      • getMasterConfig

        public InstanceGroupConfig getMasterConfig()
         Optional. The Compute Engine config settings for
         the cluster's master instance.
         
        .google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getMasterConfig in interface ClusterConfigOrBuilder
        Returns:
        The masterConfig.
      • setMasterConfig

        public ClusterConfig.Builder setMasterConfig​(InstanceGroupConfig value)
         Optional. The Compute Engine config settings for
         the cluster's master instance.
         
        .google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      • setMasterConfig

        public ClusterConfig.Builder setMasterConfig​(InstanceGroupConfig.Builder builderForValue)
         Optional. The Compute Engine config settings for
         the cluster's master instance.
         
        .google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      • mergeMasterConfig

        public ClusterConfig.Builder mergeMasterConfig​(InstanceGroupConfig value)
         Optional. The Compute Engine config settings for
         the cluster's master instance.
         
        .google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      • clearMasterConfig

        public ClusterConfig.Builder clearMasterConfig()
         Optional. The Compute Engine config settings for
         the cluster's master instance.
         
        .google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      • getMasterConfigBuilder

        public InstanceGroupConfig.Builder getMasterConfigBuilder()
         Optional. The Compute Engine config settings for
         the cluster's master instance.
         
        .google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      • hasWorkerConfig

        public boolean hasWorkerConfig()
         Optional. The Compute Engine config settings for
         the cluster's worker instances.
         
        .google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasWorkerConfig in interface ClusterConfigOrBuilder
        Returns:
        Whether the workerConfig field is set.
      • getWorkerConfig

        public InstanceGroupConfig getWorkerConfig()
         Optional. The Compute Engine config settings for
         the cluster's worker instances.
         
        .google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getWorkerConfig in interface ClusterConfigOrBuilder
        Returns:
        The workerConfig.
      • setWorkerConfig

        public ClusterConfig.Builder setWorkerConfig​(InstanceGroupConfig value)
         Optional. The Compute Engine config settings for
         the cluster's worker instances.
         
        .google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL];
      • setWorkerConfig

        public ClusterConfig.Builder setWorkerConfig​(InstanceGroupConfig.Builder builderForValue)
         Optional. The Compute Engine config settings for
         the cluster's worker instances.
         
        .google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL];
      • mergeWorkerConfig

        public ClusterConfig.Builder mergeWorkerConfig​(InstanceGroupConfig value)
         Optional. The Compute Engine config settings for
         the cluster's worker instances.
         
        .google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL];
      • clearWorkerConfig

        public ClusterConfig.Builder clearWorkerConfig()
         Optional. The Compute Engine config settings for
         the cluster's worker instances.
         
        .google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL];
      • getWorkerConfigBuilder

        public InstanceGroupConfig.Builder getWorkerConfigBuilder()
         Optional. The Compute Engine config settings for
         the cluster's worker instances.
         
        .google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL];
      • hasSecondaryWorkerConfig

        public boolean hasSecondaryWorkerConfig()
         Optional. The Compute Engine config settings for
         a cluster's secondary worker instances
         
        .google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasSecondaryWorkerConfig in interface ClusterConfigOrBuilder
        Returns:
        Whether the secondaryWorkerConfig field is set.
      • getSecondaryWorkerConfig

        public InstanceGroupConfig getSecondaryWorkerConfig()
         Optional. The Compute Engine config settings for
         a cluster's secondary worker instances
         
        .google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getSecondaryWorkerConfig in interface ClusterConfigOrBuilder
        Returns:
        The secondaryWorkerConfig.
      • setSecondaryWorkerConfig

        public ClusterConfig.Builder setSecondaryWorkerConfig​(InstanceGroupConfig value)
         Optional. The Compute Engine config settings for
         a cluster's secondary worker instances
         
        .google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL];
      • setSecondaryWorkerConfig

        public ClusterConfig.Builder setSecondaryWorkerConfig​(InstanceGroupConfig.Builder builderForValue)
         Optional. The Compute Engine config settings for
         a cluster's secondary worker instances
         
        .google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL];
      • mergeSecondaryWorkerConfig

        public ClusterConfig.Builder mergeSecondaryWorkerConfig​(InstanceGroupConfig value)
         Optional. The Compute Engine config settings for
         a cluster's secondary worker instances
         
        .google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL];
      • clearSecondaryWorkerConfig

        public ClusterConfig.Builder clearSecondaryWorkerConfig()
         Optional. The Compute Engine config settings for
         a cluster's secondary worker instances
         
        .google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL];
      • getSecondaryWorkerConfigBuilder

        public InstanceGroupConfig.Builder getSecondaryWorkerConfigBuilder()
         Optional. The Compute Engine config settings for
         a cluster's secondary worker instances
         
        .google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL];
      • hasSoftwareConfig

        public boolean hasSoftwareConfig()
         Optional. The config settings for cluster software.
         
        .google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasSoftwareConfig in interface ClusterConfigOrBuilder
        Returns:
        Whether the softwareConfig field is set.
      • getSoftwareConfig

        public SoftwareConfig getSoftwareConfig()
         Optional. The config settings for cluster software.
         
        .google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getSoftwareConfig in interface ClusterConfigOrBuilder
        Returns:
        The softwareConfig.
      • setSoftwareConfig

        public ClusterConfig.Builder setSoftwareConfig​(SoftwareConfig value)
         Optional. The config settings for cluster software.
         
        .google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL];
      • setSoftwareConfig

        public ClusterConfig.Builder setSoftwareConfig​(SoftwareConfig.Builder builderForValue)
         Optional. The config settings for cluster software.
         
        .google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL];
      • mergeSoftwareConfig

        public ClusterConfig.Builder mergeSoftwareConfig​(SoftwareConfig value)
         Optional. The config settings for cluster software.
         
        .google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL];
      • clearSoftwareConfig

        public ClusterConfig.Builder clearSoftwareConfig()
         Optional. The config settings for cluster software.
         
        .google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL];
      • getSoftwareConfigBuilder

        public SoftwareConfig.Builder getSoftwareConfigBuilder()
         Optional. The config settings for cluster software.
         
        .google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL];
      • getInitializationActionsList

        public List<NodeInitializationAction> getInitializationActionsList()
         Optional. Commands to execute on each node after config is
         completed. By default, executables are run on master and all worker nodes.
         You can test a node's `role` metadata to run an executable on
         a master or worker node, as shown below using `curl` (you can also use
         `wget`):
        
             ROLE=$(curl -H Metadata-Flavor:Google
             http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
             if [[ "${ROLE}" == 'Master' ]]; then
               ... master specific actions ...
             else
               ... worker specific actions ...
             fi
         
        repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getInitializationActionsList in interface ClusterConfigOrBuilder
      • getInitializationActionsCount

        public int getInitializationActionsCount()
         Optional. Commands to execute on each node after config is
         completed. By default, executables are run on master and all worker nodes.
         You can test a node's `role` metadata to run an executable on
         a master or worker node, as shown below using `curl` (you can also use
         `wget`):
        
             ROLE=$(curl -H Metadata-Flavor:Google
             http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
             if [[ "${ROLE}" == 'Master' ]]; then
               ... master specific actions ...
             else
               ... worker specific actions ...
             fi
         
        repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getInitializationActionsCount in interface ClusterConfigOrBuilder
      • getInitializationActions

        public NodeInitializationAction getInitializationActions​(int index)
         Optional. Commands to execute on each node after config is
         completed. By default, executables are run on master and all worker nodes.
         You can test a node's `role` metadata to run an executable on
         a master or worker node, as shown below using `curl` (you can also use
         `wget`):
        
             ROLE=$(curl -H Metadata-Flavor:Google
             http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
             if [[ "${ROLE}" == 'Master' ]]; then
               ... master specific actions ...
             else
               ... worker specific actions ...
             fi
         
        repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getInitializationActions in interface ClusterConfigOrBuilder
      • setInitializationActions

        public ClusterConfig.Builder setInitializationActions​(int index,
                                                              NodeInitializationAction value)
         Optional. Commands to execute on each node after config is
         completed. By default, executables are run on master and all worker nodes.
         You can test a node's `role` metadata to run an executable on
         a master or worker node, as shown below using `curl` (you can also use
         `wget`):
        
             ROLE=$(curl -H Metadata-Flavor:Google
             http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
             if [[ "${ROLE}" == 'Master' ]]; then
               ... master specific actions ...
             else
               ... worker specific actions ...
             fi
         
        repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
      • setInitializationActions

        public ClusterConfig.Builder setInitializationActions​(int index,
                                                              NodeInitializationAction.Builder builderForValue)
         Optional. Commands to execute on each node after config is
         completed. By default, executables are run on master and all worker nodes.
         You can test a node's `role` metadata to run an executable on
         a master or worker node, as shown below using `curl` (you can also use
         `wget`):
        
             ROLE=$(curl -H Metadata-Flavor:Google
             http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
             if [[ "${ROLE}" == 'Master' ]]; then
               ... master specific actions ...
             else
               ... worker specific actions ...
             fi
         
        repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
      • addInitializationActions

        public ClusterConfig.Builder addInitializationActions​(NodeInitializationAction value)
         Optional. Commands to execute on each node after config is
         completed. By default, executables are run on master and all worker nodes.
         You can test a node's `role` metadata to run an executable on
         a master or worker node, as shown below using `curl` (you can also use
         `wget`):
        
             ROLE=$(curl -H Metadata-Flavor:Google
             http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
             if [[ "${ROLE}" == 'Master' ]]; then
               ... master specific actions ...
             else
               ... worker specific actions ...
             fi
         
        repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
      • addInitializationActions

        public ClusterConfig.Builder addInitializationActions​(int index,
                                                              NodeInitializationAction value)
         Optional. Commands to execute on each node after config is
         completed. By default, executables are run on master and all worker nodes.
         You can test a node's `role` metadata to run an executable on
         a master or worker node, as shown below using `curl` (you can also use
         `wget`):
        
             ROLE=$(curl -H Metadata-Flavor:Google
             http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
             if [[ "${ROLE}" == 'Master' ]]; then
               ... master specific actions ...
             else
               ... worker specific actions ...
             fi
         
        repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
      • addInitializationActions

        public ClusterConfig.Builder addInitializationActions​(NodeInitializationAction.Builder builderForValue)
         Optional. Commands to execute on each node after config is
         completed. By default, executables are run on master and all worker nodes.
         You can test a node's `role` metadata to run an executable on
         a master or worker node, as shown below using `curl` (you can also use
         `wget`):
        
             ROLE=$(curl -H Metadata-Flavor:Google
             http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
             if [[ "${ROLE}" == 'Master' ]]; then
               ... master specific actions ...
             else
               ... worker specific actions ...
             fi
         
        repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
      • addInitializationActions

        public ClusterConfig.Builder addInitializationActions​(int index,
                                                              NodeInitializationAction.Builder builderForValue)
         Optional. Commands to execute on each node after config is
         completed. By default, executables are run on master and all worker nodes.
         You can test a node's `role` metadata to run an executable on
         a master or worker node, as shown below using `curl` (you can also use
         `wget`):
        
             ROLE=$(curl -H Metadata-Flavor:Google
             http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
             if [[ "${ROLE}" == 'Master' ]]; then
               ... master specific actions ...
             else
               ... worker specific actions ...
             fi
         
        repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
      • addAllInitializationActions

        public ClusterConfig.Builder addAllInitializationActions​(Iterable<? extends NodeInitializationAction> values)
         Optional. Commands to execute on each node after config is
         completed. By default, executables are run on master and all worker nodes.
         You can test a node's `role` metadata to run an executable on
         a master or worker node, as shown below using `curl` (you can also use
         `wget`):
        
             ROLE=$(curl -H Metadata-Flavor:Google
             http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
             if [[ "${ROLE}" == 'Master' ]]; then
               ... master specific actions ...
             else
               ... worker specific actions ...
             fi
         
        repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
      • clearInitializationActions

        public ClusterConfig.Builder clearInitializationActions()
         Optional. Commands to execute on each node after config is
         completed. By default, executables are run on master and all worker nodes.
         You can test a node's `role` metadata to run an executable on
         a master or worker node, as shown below using `curl` (you can also use
         `wget`):
        
             ROLE=$(curl -H Metadata-Flavor:Google
             http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
             if [[ "${ROLE}" == 'Master' ]]; then
               ... master specific actions ...
             else
               ... worker specific actions ...
             fi
         
        repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
      • removeInitializationActions

        public ClusterConfig.Builder removeInitializationActions​(int index)
         Optional. Commands to execute on each node after config is
         completed. By default, executables are run on master and all worker nodes.
         You can test a node's `role` metadata to run an executable on
         a master or worker node, as shown below using `curl` (you can also use
         `wget`):
        
             ROLE=$(curl -H Metadata-Flavor:Google
             http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
             if [[ "${ROLE}" == 'Master' ]]; then
               ... master specific actions ...
             else
               ... worker specific actions ...
             fi
         
        repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
      • getInitializationActionsBuilder

        public NodeInitializationAction.Builder getInitializationActionsBuilder​(int index)
         Optional. Commands to execute on each node after config is
         completed. By default, executables are run on master and all worker nodes.
         You can test a node's `role` metadata to run an executable on
         a master or worker node, as shown below using `curl` (you can also use
         `wget`):
        
             ROLE=$(curl -H Metadata-Flavor:Google
             http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
             if [[ "${ROLE}" == 'Master' ]]; then
               ... master specific actions ...
             else
               ... worker specific actions ...
             fi
         
        repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
      • getInitializationActionsOrBuilder

        public NodeInitializationActionOrBuilder getInitializationActionsOrBuilder​(int index)
         Optional. Commands to execute on each node after config is
         completed. By default, executables are run on master and all worker nodes.
         You can test a node's `role` metadata to run an executable on
         a master or worker node, as shown below using `curl` (you can also use
         `wget`):
        
             ROLE=$(curl -H Metadata-Flavor:Google
             http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
             if [[ "${ROLE}" == 'Master' ]]; then
               ... master specific actions ...
             else
               ... worker specific actions ...
             fi
         
        repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getInitializationActionsOrBuilder in interface ClusterConfigOrBuilder
      • getInitializationActionsOrBuilderList

        public List<? extends NodeInitializationActionOrBuilder> getInitializationActionsOrBuilderList()
         Optional. Commands to execute on each node after config is
         completed. By default, executables are run on master and all worker nodes.
         You can test a node's `role` metadata to run an executable on
         a master or worker node, as shown below using `curl` (you can also use
         `wget`):
        
             ROLE=$(curl -H Metadata-Flavor:Google
             http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
             if [[ "${ROLE}" == 'Master' ]]; then
               ... master specific actions ...
             else
               ... worker specific actions ...
             fi
         
        repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getInitializationActionsOrBuilderList in interface ClusterConfigOrBuilder
      • addInitializationActionsBuilder

        public NodeInitializationAction.Builder addInitializationActionsBuilder()
         Optional. Commands to execute on each node after config is
         completed. By default, executables are run on master and all worker nodes.
         You can test a node's `role` metadata to run an executable on
         a master or worker node, as shown below using `curl` (you can also use
         `wget`):
        
             ROLE=$(curl -H Metadata-Flavor:Google
             http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
             if [[ "${ROLE}" == 'Master' ]]; then
               ... master specific actions ...
             else
               ... worker specific actions ...
             fi
         
        repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
      • addInitializationActionsBuilder

        public NodeInitializationAction.Builder addInitializationActionsBuilder​(int index)
         Optional. Commands to execute on each node after config is
         completed. By default, executables are run on master and all worker nodes.
         You can test a node's `role` metadata to run an executable on
         a master or worker node, as shown below using `curl` (you can also use
         `wget`):
        
             ROLE=$(curl -H Metadata-Flavor:Google
             http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
             if [[ "${ROLE}" == 'Master' ]]; then
               ... master specific actions ...
             else
               ... worker specific actions ...
             fi
         
        repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
      • getInitializationActionsBuilderList

        public List<NodeInitializationAction.Builder> getInitializationActionsBuilderList()
         Optional. Commands to execute on each node after config is
         completed. By default, executables are run on master and all worker nodes.
         You can test a node's `role` metadata to run an executable on
         a master or worker node, as shown below using `curl` (you can also use
         `wget`):
        
             ROLE=$(curl -H Metadata-Flavor:Google
             http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
             if [[ "${ROLE}" == 'Master' ]]; then
               ... master specific actions ...
             else
               ... worker specific actions ...
             fi
         
        repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
      • hasEncryptionConfig

        public boolean hasEncryptionConfig()
         Optional. Encryption settings for the cluster.
         
        .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasEncryptionConfig in interface ClusterConfigOrBuilder
        Returns:
        Whether the encryptionConfig field is set.
      • getEncryptionConfig

        public EncryptionConfig getEncryptionConfig()
         Optional. Encryption settings for the cluster.
         
        .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getEncryptionConfig in interface ClusterConfigOrBuilder
        Returns:
        The encryptionConfig.
      • setEncryptionConfig

        public ClusterConfig.Builder setEncryptionConfig​(EncryptionConfig value)
         Optional. Encryption settings for the cluster.
         
        .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL];
      • setEncryptionConfig

        public ClusterConfig.Builder setEncryptionConfig​(EncryptionConfig.Builder builderForValue)
         Optional. Encryption settings for the cluster.
         
        .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL];
      • mergeEncryptionConfig

        public ClusterConfig.Builder mergeEncryptionConfig​(EncryptionConfig value)
         Optional. Encryption settings for the cluster.
         
        .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL];
      • clearEncryptionConfig

        public ClusterConfig.Builder clearEncryptionConfig()
         Optional. Encryption settings for the cluster.
         
        .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL];
      • getEncryptionConfigBuilder

        public EncryptionConfig.Builder getEncryptionConfigBuilder()
         Optional. Encryption settings for the cluster.
         
        .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL];
      • hasAutoscalingConfig

        public boolean hasAutoscalingConfig()
         Optional. Autoscaling config for the policy associated with the cluster.
         Cluster does not autoscale if this field is unset.
         
        .google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasAutoscalingConfig in interface ClusterConfigOrBuilder
        Returns:
        Whether the autoscalingConfig field is set.
      • getAutoscalingConfig

        public AutoscalingConfig getAutoscalingConfig()
         Optional. Autoscaling config for the policy associated with the cluster.
         Cluster does not autoscale if this field is unset.
         
        .google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAutoscalingConfig in interface ClusterConfigOrBuilder
        Returns:
        The autoscalingConfig.
      • setAutoscalingConfig

        public ClusterConfig.Builder setAutoscalingConfig​(AutoscalingConfig value)
         Optional. Autoscaling config for the policy associated with the cluster.
         Cluster does not autoscale if this field is unset.
         
        .google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL];
      • setAutoscalingConfig

        public ClusterConfig.Builder setAutoscalingConfig​(AutoscalingConfig.Builder builderForValue)
         Optional. Autoscaling config for the policy associated with the cluster.
         Cluster does not autoscale if this field is unset.
         
        .google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL];
      • mergeAutoscalingConfig

        public ClusterConfig.Builder mergeAutoscalingConfig​(AutoscalingConfig value)
         Optional. Autoscaling config for the policy associated with the cluster.
         Cluster does not autoscale if this field is unset.
         
        .google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL];
      • clearAutoscalingConfig

        public ClusterConfig.Builder clearAutoscalingConfig()
         Optional. Autoscaling config for the policy associated with the cluster.
         Cluster does not autoscale if this field is unset.
         
        .google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL];
      • getAutoscalingConfigBuilder

        public AutoscalingConfig.Builder getAutoscalingConfigBuilder()
         Optional. Autoscaling config for the policy associated with the cluster.
         Cluster does not autoscale if this field is unset.
         
        .google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL];
      • getAutoscalingConfigOrBuilder

        public AutoscalingConfigOrBuilder getAutoscalingConfigOrBuilder()
         Optional. Autoscaling config for the policy associated with the cluster.
         Cluster does not autoscale if this field is unset.
         
        .google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAutoscalingConfigOrBuilder in interface ClusterConfigOrBuilder
      • hasSecurityConfig

        public boolean hasSecurityConfig()
         Optional. Security settings for the cluster.
         
        .google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasSecurityConfig in interface ClusterConfigOrBuilder
        Returns:
        Whether the securityConfig field is set.
      • getSecurityConfig

        public SecurityConfig getSecurityConfig()
         Optional. Security settings for the cluster.
         
        .google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getSecurityConfig in interface ClusterConfigOrBuilder
        Returns:
        The securityConfig.
      • setSecurityConfig

        public ClusterConfig.Builder setSecurityConfig​(SecurityConfig value)
         Optional. Security settings for the cluster.
         
        .google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL];
      • setSecurityConfig

        public ClusterConfig.Builder setSecurityConfig​(SecurityConfig.Builder builderForValue)
         Optional. Security settings for the cluster.
         
        .google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL];
      • mergeSecurityConfig

        public ClusterConfig.Builder mergeSecurityConfig​(SecurityConfig value)
         Optional. Security settings for the cluster.
         
        .google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL];
      • clearSecurityConfig

        public ClusterConfig.Builder clearSecurityConfig()
         Optional. Security settings for the cluster.
         
        .google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL];
      • getSecurityConfigBuilder

        public SecurityConfig.Builder getSecurityConfigBuilder()
         Optional. Security settings for the cluster.
         
        .google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL];
      • hasLifecycleConfig

        public boolean hasLifecycleConfig()
         Optional. Lifecycle setting for the cluster.
         
        .google.cloud.dataproc.v1.LifecycleConfig lifecycle_config = 17 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasLifecycleConfig in interface ClusterConfigOrBuilder
        Returns:
        Whether the lifecycleConfig field is set.
      • getLifecycleConfig

        public LifecycleConfig getLifecycleConfig()
         Optional. Lifecycle setting for the cluster.
         
        .google.cloud.dataproc.v1.LifecycleConfig lifecycle_config = 17 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLifecycleConfig in interface ClusterConfigOrBuilder
        Returns:
        The lifecycleConfig.
      • setLifecycleConfig

        public ClusterConfig.Builder setLifecycleConfig​(LifecycleConfig value)
         Optional. Lifecycle setting for the cluster.
         
        .google.cloud.dataproc.v1.LifecycleConfig lifecycle_config = 17 [(.google.api.field_behavior) = OPTIONAL];
      • setLifecycleConfig

        public ClusterConfig.Builder setLifecycleConfig​(LifecycleConfig.Builder builderForValue)
         Optional. Lifecycle setting for the cluster.
         
        .google.cloud.dataproc.v1.LifecycleConfig lifecycle_config = 17 [(.google.api.field_behavior) = OPTIONAL];
      • mergeLifecycleConfig

        public ClusterConfig.Builder mergeLifecycleConfig​(LifecycleConfig value)
         Optional. Lifecycle setting for the cluster.
         
        .google.cloud.dataproc.v1.LifecycleConfig lifecycle_config = 17 [(.google.api.field_behavior) = OPTIONAL];
      • clearLifecycleConfig

        public ClusterConfig.Builder clearLifecycleConfig()
         Optional. Lifecycle setting for the cluster.
         
        .google.cloud.dataproc.v1.LifecycleConfig lifecycle_config = 17 [(.google.api.field_behavior) = OPTIONAL];
      • getLifecycleConfigBuilder

        public LifecycleConfig.Builder getLifecycleConfigBuilder()
         Optional. Lifecycle setting for the cluster.
         
        .google.cloud.dataproc.v1.LifecycleConfig lifecycle_config = 17 [(.google.api.field_behavior) = OPTIONAL];
      • hasEndpointConfig

        public boolean hasEndpointConfig()
         Optional. Port/endpoint configuration for this cluster
         
        .google.cloud.dataproc.v1.EndpointConfig endpoint_config = 19 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasEndpointConfig in interface ClusterConfigOrBuilder
        Returns:
        Whether the endpointConfig field is set.
      • getEndpointConfig

        public EndpointConfig getEndpointConfig()
         Optional. Port/endpoint configuration for this cluster
         
        .google.cloud.dataproc.v1.EndpointConfig endpoint_config = 19 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getEndpointConfig in interface ClusterConfigOrBuilder
        Returns:
        The endpointConfig.
      • setEndpointConfig

        public ClusterConfig.Builder setEndpointConfig​(EndpointConfig value)
         Optional. Port/endpoint configuration for this cluster
         
        .google.cloud.dataproc.v1.EndpointConfig endpoint_config = 19 [(.google.api.field_behavior) = OPTIONAL];
      • setEndpointConfig

        public ClusterConfig.Builder setEndpointConfig​(EndpointConfig.Builder builderForValue)
         Optional. Port/endpoint configuration for this cluster
         
        .google.cloud.dataproc.v1.EndpointConfig endpoint_config = 19 [(.google.api.field_behavior) = OPTIONAL];
      • mergeEndpointConfig

        public ClusterConfig.Builder mergeEndpointConfig​(EndpointConfig value)
         Optional. Port/endpoint configuration for this cluster
         
        .google.cloud.dataproc.v1.EndpointConfig endpoint_config = 19 [(.google.api.field_behavior) = OPTIONAL];
      • clearEndpointConfig

        public ClusterConfig.Builder clearEndpointConfig()
         Optional. Port/endpoint configuration for this cluster
         
        .google.cloud.dataproc.v1.EndpointConfig endpoint_config = 19 [(.google.api.field_behavior) = OPTIONAL];
      • getEndpointConfigBuilder

        public EndpointConfig.Builder getEndpointConfigBuilder()
         Optional. Port/endpoint configuration for this cluster
         
        .google.cloud.dataproc.v1.EndpointConfig endpoint_config = 19 [(.google.api.field_behavior) = OPTIONAL];
      • hasMetastoreConfig

        public boolean hasMetastoreConfig()
         Optional. Metastore configuration.
         
        .google.cloud.dataproc.v1.MetastoreConfig metastore_config = 20 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasMetastoreConfig in interface ClusterConfigOrBuilder
        Returns:
        Whether the metastoreConfig field is set.
      • getMetastoreConfig

        public MetastoreConfig getMetastoreConfig()
         Optional. Metastore configuration.
         
        .google.cloud.dataproc.v1.MetastoreConfig metastore_config = 20 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getMetastoreConfig in interface ClusterConfigOrBuilder
        Returns:
        The metastoreConfig.
      • setMetastoreConfig

        public ClusterConfig.Builder setMetastoreConfig​(MetastoreConfig value)
         Optional. Metastore configuration.
         
        .google.cloud.dataproc.v1.MetastoreConfig metastore_config = 20 [(.google.api.field_behavior) = OPTIONAL];
      • setMetastoreConfig

        public ClusterConfig.Builder setMetastoreConfig​(MetastoreConfig.Builder builderForValue)
         Optional. Metastore configuration.
         
        .google.cloud.dataproc.v1.MetastoreConfig metastore_config = 20 [(.google.api.field_behavior) = OPTIONAL];
      • mergeMetastoreConfig

        public ClusterConfig.Builder mergeMetastoreConfig​(MetastoreConfig value)
         Optional. Metastore configuration.
         
        .google.cloud.dataproc.v1.MetastoreConfig metastore_config = 20 [(.google.api.field_behavior) = OPTIONAL];
      • clearMetastoreConfig

        public ClusterConfig.Builder clearMetastoreConfig()
         Optional. Metastore configuration.
         
        .google.cloud.dataproc.v1.MetastoreConfig metastore_config = 20 [(.google.api.field_behavior) = OPTIONAL];
      • getMetastoreConfigBuilder

        public MetastoreConfig.Builder getMetastoreConfigBuilder()
         Optional. Metastore configuration.
         
        .google.cloud.dataproc.v1.MetastoreConfig metastore_config = 20 [(.google.api.field_behavior) = OPTIONAL];
      • hasDataprocMetricConfig

        public boolean hasDataprocMetricConfig()
         Optional. The config for Dataproc metrics.
         
        .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 23 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasDataprocMetricConfig in interface ClusterConfigOrBuilder
        Returns:
        Whether the dataprocMetricConfig field is set.
      • getDataprocMetricConfig

        public DataprocMetricConfig getDataprocMetricConfig()
         Optional. The config for Dataproc metrics.
         
        .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 23 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDataprocMetricConfig in interface ClusterConfigOrBuilder
        Returns:
        The dataprocMetricConfig.
      • setDataprocMetricConfig

        public ClusterConfig.Builder setDataprocMetricConfig​(DataprocMetricConfig value)
         Optional. The config for Dataproc metrics.
         
        .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 23 [(.google.api.field_behavior) = OPTIONAL];
      • setDataprocMetricConfig

        public ClusterConfig.Builder setDataprocMetricConfig​(DataprocMetricConfig.Builder builderForValue)
         Optional. The config for Dataproc metrics.
         
        .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 23 [(.google.api.field_behavior) = OPTIONAL];
      • mergeDataprocMetricConfig

        public ClusterConfig.Builder mergeDataprocMetricConfig​(DataprocMetricConfig value)
         Optional. The config for Dataproc metrics.
         
        .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 23 [(.google.api.field_behavior) = OPTIONAL];
      • clearDataprocMetricConfig

        public ClusterConfig.Builder clearDataprocMetricConfig()
         Optional. The config for Dataproc metrics.
         
        .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 23 [(.google.api.field_behavior) = OPTIONAL];
      • getDataprocMetricConfigBuilder

        public DataprocMetricConfig.Builder getDataprocMetricConfigBuilder()
         Optional. The config for Dataproc metrics.
         
        .google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 23 [(.google.api.field_behavior) = OPTIONAL];
      • getAuxiliaryNodeGroupsCount

        public int getAuxiliaryNodeGroupsCount()
         Optional. The node group settings.
         
        repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAuxiliaryNodeGroupsCount in interface ClusterConfigOrBuilder
      • getAuxiliaryNodeGroups

        public AuxiliaryNodeGroup getAuxiliaryNodeGroups​(int index)
         Optional. The node group settings.
         
        repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAuxiliaryNodeGroups in interface ClusterConfigOrBuilder
      • setAuxiliaryNodeGroups

        public ClusterConfig.Builder setAuxiliaryNodeGroups​(int index,
                                                            AuxiliaryNodeGroup value)
         Optional. The node group settings.
         
        repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
      • setAuxiliaryNodeGroups

        public ClusterConfig.Builder setAuxiliaryNodeGroups​(int index,
                                                            AuxiliaryNodeGroup.Builder builderForValue)
         Optional. The node group settings.
         
        repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
      • addAuxiliaryNodeGroups

        public ClusterConfig.Builder addAuxiliaryNodeGroups​(AuxiliaryNodeGroup value)
         Optional. The node group settings.
         
        repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
      • addAuxiliaryNodeGroups

        public ClusterConfig.Builder addAuxiliaryNodeGroups​(int index,
                                                            AuxiliaryNodeGroup value)
         Optional. The node group settings.
         
        repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
      • addAuxiliaryNodeGroups

        public ClusterConfig.Builder addAuxiliaryNodeGroups​(AuxiliaryNodeGroup.Builder builderForValue)
         Optional. The node group settings.
         
        repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
      • addAuxiliaryNodeGroups

        public ClusterConfig.Builder addAuxiliaryNodeGroups​(int index,
                                                            AuxiliaryNodeGroup.Builder builderForValue)
         Optional. The node group settings.
         
        repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
      • addAllAuxiliaryNodeGroups

        public ClusterConfig.Builder addAllAuxiliaryNodeGroups​(Iterable<? extends AuxiliaryNodeGroup> values)
         Optional. The node group settings.
         
        repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
      • clearAuxiliaryNodeGroups

        public ClusterConfig.Builder clearAuxiliaryNodeGroups()
         Optional. The node group settings.
         
        repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
      • removeAuxiliaryNodeGroups

        public ClusterConfig.Builder removeAuxiliaryNodeGroups​(int index)
         Optional. The node group settings.
         
        repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
      • getAuxiliaryNodeGroupsBuilder

        public AuxiliaryNodeGroup.Builder getAuxiliaryNodeGroupsBuilder​(int index)
         Optional. The node group settings.
         
        repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
      • addAuxiliaryNodeGroupsBuilder

        public AuxiliaryNodeGroup.Builder addAuxiliaryNodeGroupsBuilder()
         Optional. The node group settings.
         
        repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
      • addAuxiliaryNodeGroupsBuilder

        public AuxiliaryNodeGroup.Builder addAuxiliaryNodeGroupsBuilder​(int index)
         Optional. The node group settings.
         
        repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
      • getAuxiliaryNodeGroupsBuilderList

        public List<AuxiliaryNodeGroup.Builder> getAuxiliaryNodeGroupsBuilderList()
         Optional. The node group settings.
         
        repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
      • setUnknownFields

        public final ClusterConfig.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterConfig.Builder>
      • mergeUnknownFields

        public final ClusterConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterConfig.Builder>