ErrorReporting/src/V1beta1/ListGroupStatsResponse.php
public function setErrorGroupStats($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\ErrorReporting\V1beta1\ErrorGroupStats::class);
        $this->error_group_stats = $arr;

        return $this;
    }
public function setErrorGroupStats($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\ErrorReporting\V1beta1\ErrorGroupStats::class);
        $this->error_group_stats = $arr;

        return $this;
    }
public function setErrorGroupStats ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ ErrorReporting \ V1beta1 \ ErrorGroupStats :: class ) ; $ this -> error_group_stats = $ arr ; return $ this ; }
The error group stats which match the given request.

Generated from protobuf field <code>repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1;</code>
@param \Google\Cloud\ErrorReporting\V1beta1\ErrorGroupStats[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
The error group stats which match the given request .