Output only. State of the job.

Generated from protobuf field <code>.google.cloud.scheduler.v1.Job.State state = 10;</code>
@param int $var
@return $this
187272
public function setState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Scheduler\V1\Job_State::class);
        $this->state = $var;

        return $this;
    }
605854
public function setOperationState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Firestore\Admin\V1\OperationState::class);
        $this->operation_state = $var;

        return $this;
    }
305412
public function setBlocks($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Vision\V1\Block::class);
        $this->blocks = $arr;

        return $this;
    }
416654
public function setSessions($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Spanner\V1\Session::class);
        $this->sessions = $arr;

        return $this;
    }
240354
public function setProper($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Language\V1beta2\PartOfSpeech_Proper::class);
        $this->proper = $var;

        return $this;
    }
214532
public function setConditions($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\RecordCondition_Conditions::class);
        $this->writeOneof(3, $var);

        return $this;
    }
1307888
public function setOutputType($var)
    {
        GPBUtil::checkString($var, True);
        $this->output_type = $var;
        $this->has_output_type = true;

        return $this;
    }
1312220
public function setTenants($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Talent\V4beta1\Tenant::class);
        $this->tenants = $arr;

        return $this;
    }
1297053
public function setHadoopJob($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1\HadoopJob::class);
        $this->writeOneof(2, $var);

        return $this;
    }
778606
public function setState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Redis\V1beta1\Instance_State::class);
        $this->state = $var;

        return $this;
    }
1181168
public function setWindow($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Container\V1\MaintenanceWindow::class);
        $this->window = $var;

        return $this;
    }
1143937
public function setState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Spanner\Admin\Database\V1\Database_State::class);
        $this->state = $var;

        return $this;
    }
1042311
public function setLevel($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Talent\V4beta1\SkillProficiencyLevel::class);
        $this->level = $var;

        return $this;
    }
590988
public function setState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\SecurityCenter\V1\Finding_State::class);
        $this->state = $var;

        return $this;
    }
443548
public function setNumber($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Language\V1beta2\PartOfSpeech_Number::class);
        $this->number = $var;

        return $this;
    }
396910
public function setJob($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Talent\V4beta1\Job::class);
        $this->job = $var;

        return $this;
    }
1238528
public function setSkillsUsed($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Talent\V4beta1\Skill::class);
        $this->skills_used = $arr;

        return $this;
    }