Logging/src/V2/ListMonitoredResourceDescriptorsResponse.php
public function setResourceDescriptors($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\MonitoredResourceDescriptor::class);
        $this->resource_descriptors = $arr;

        return $this;
    }
public function setResourceDescriptors($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\MonitoredResourceDescriptor::class);
        $this->resource_descriptors = $arr;

        return $this;
    }
public function setResourceDescriptors ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Api \ MonitoredResourceDescriptor :: class ) ; $ this -> resource_descriptors = $ arr ; return $ this ; }
A list of resource descriptors.

Generated from protobuf field <code>repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;</code>
@param \Google\Api\MonitoredResourceDescriptor[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
A list of resource descriptors .