Dataproc/src/V1beta2/Job.php
public function setStatusHistory($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dataproc\V1beta2\JobStatus::class);
        $this->status_history = $arr;

        return $this;
    }
public function setStatusHistory($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dataproc\V1beta2\JobStatus::class);
        $this->status_history = $arr;

        return $this;
    }
public function setStatusHistory ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Dataproc \ V1beta2 \ JobStatus :: class ) ; $ this -> status_history = $ arr ; return $ this ; }
Output only. The previous job status.

Generated from protobuf field <code>repeated .google.cloud.dataproc.v1beta2.JobStatus status_history = 13;</code>
@param \Google\Cloud\Dataproc\V1beta2\JobStatus[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Output only . The previous job status .