Monitoring/src/V3/ListTimeSeriesRequest.php
public function setInterval($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Monitoring\V3\TimeInterval::class);
        $this->interval = $var;

        return $this;
    }
public function setInterval($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Monitoring\V3\TimeInterval::class);
        $this->interval = $var;

        return $this;
    }
public function setInterval ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Monitoring \ V3 \ TimeInterval :: class ) ; $ this -> interval = $ var ; return $ this ; }
The time interval for which results should be returned. Only time series
that contain data points in the specified interval are included
in the response.

Generated from protobuf field <code>.google.monitoring.v3.TimeInterval interval = 4;</code>
@param \Google\Cloud\Monitoring\V3\TimeInterval $var
@return $this
The time interval for which results should be returned . Only time series that contain data points in the specified interval are included in the response .