Dataproc/src/V1beta2/ClusterConfig.php
public function setEncryptionConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1beta2\EncryptionConfig::class);
        $this->encryption_config = $var;

        return $this;
    }
public function setEncryptionConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1beta2\EncryptionConfig::class);
        $this->encryption_config = $var;

        return $this;
    }
public function setEncryptionConfig ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dataproc \ V1beta2 \ EncryptionConfig :: class ) ; $ this -> encryption_config = $ var ; return $ this ; }
Optional. Encryption settings for the cluster.

Generated from protobuf field <code>.google.cloud.dataproc.v1beta2.EncryptionConfig encryption_config = 15;</code>
@param \Google\Cloud\Dataproc\V1beta2\EncryptionConfig $var
@return $this
Optional . Encryption settings for the cluster .