<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/clouddms/v1/clouddms_resources.proto

namespace Google\Cloud\CloudDms\V1\MigrationJob;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Performance configuration definition.
 *
 * Generated from protobuf message <code>google.cloud.clouddms.v1.MigrationJob.PerformanceConfig</code>
 */
class PerformanceConfig extends \Google\Protobuf\Internal\Message
{
    /**
     * Initial dump parallelism level.
     *
     * Generated from protobuf field <code>.google.cloud.clouddms.v1.MigrationJob.PerformanceConfig.DumpParallelLevel dump_parallel_level = 1;</code>
     */
    protected $dump_parallel_level = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $dump_parallel_level
     *           Initial dump parallelism level.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Clouddms\V1\ClouddmsResources::initOnce();
        parent::__construct($data);
    }

    /**
     * Initial dump parallelism level.
     *
     * Generated from protobuf field <code>.google.cloud.clouddms.v1.MigrationJob.PerformanceConfig.DumpParallelLevel dump_parallel_level = 1;</code>
     * @return int
     */
    public function getDumpParallelLevel()
    {
        return $this->dump_parallel_level;
    }

    /**
     * Initial dump parallelism level.
     *
     * Generated from protobuf field <code>.google.cloud.clouddms.v1.MigrationJob.PerformanceConfig.DumpParallelLevel dump_parallel_level = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setDumpParallelLevel($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\CloudDms\V1\MigrationJob\PerformanceConfig\DumpParallelLevel::class);
        $this->dump_parallel_level = $var;

        return $this;
    }

}


