Iot/src/V1/ListDevicesResponse.php
public function setDevices($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Iot\V1\Device::class);
        $this->devices = $arr;

        return $this;
    }
public function setDevices($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Iot\V1\Device::class);
        $this->devices = $arr;

        return $this;
    }
public function setDevices ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Iot \ V1 \ Device :: class ) ; $ this -> devices = $ arr ; return $ this ; }
The devices that match the request.

Generated from protobuf field <code>repeated .google.cloud.iot.v1.Device devices = 1;</code>
@param \Google\Cloud\Iot\V1\Device[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
The devices that match the request .