Dlp/src/V2/DlpJob.php
public function setState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dlp\V2\DlpJob_JobState::class);
        $this->state = $var;

        return $this;
    }
public function setState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dlp\V2\DlpJob_JobState::class);
        $this->state = $var;

        return $this;
    }
public function setState ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Dlp \ V2 \ DlpJob_JobState :: class ) ; $ this -> state = $ var ; return $ this ; }
State of a job.

Generated from protobuf field <code>.google.privacy.dlp.v2.DlpJob.JobState state = 3;</code>
@param int $var
@return $this
State of a job .