Dlp/src/V2/JobTrigger.php
public function setErrors($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\Error::class);
        $this->errors = $arr;

        return $this;
    }
public function setErrors($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\Error::class);
        $this->errors = $arr;

        return $this;
    }
public function setErrors ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Dlp \ V2 \ Error :: class ) ; $ this -> errors = $ arr ; return $ this ; }
A stream of errors encountered when the trigger was activated. Repeated
errors may result in the JobTrigger automatically being paused.
Will return the last 100 errors. Whenever the JobTrigger is modified
this list will be cleared. Output only field.

Generated from protobuf field <code>repeated .google.privacy.dlp.v2.Error errors = 6;</code>
@param \Google\Cloud\Dlp\V2\Error[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
A stream of errors encountered when the trigger was activated . Repeated errors may result in the JobTrigger automatically being paused . Will return the last 100 errors . Whenever the JobTrigger is modified this list will be cleared . Output only field .