src/Rpc/QuotaFailure.php
public function setViolations($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Rpc\QuotaFailure\Violation::class);
        $this->violations = $arr;

        return $this;
    }
public function setViolations($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Rpc\QuotaFailure\Violation::class);
        $this->violations = $arr;

        return $this;
    }
Describes all quota violations.

Generated from protobuf field <code>repeated .google.rpc.QuotaFailure.Violation violations = 1;</code>
@param \Google\Rpc\QuotaFailure\Violation[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this