BigQueryDataTransfer/src/V1/ListDataSourcesResponse.php
public function setDataSources($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BigQuery\DataTransfer\V1\DataSource::class);
        $this->data_sources = $arr;

        return $this;
    }
public function setDataSources($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BigQuery\DataTransfer\V1\DataSource::class);
        $this->data_sources = $arr;

        return $this;
    }
public function setDataSources ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ BigQuery \ DataTransfer \ V1 \ DataSource :: class ) ; $ this -> data_sources = $ arr ; return $ this ; }
List of supported data sources and their transfer settings.

Generated from protobuf field <code>repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;</code>
@param \Google\Cloud\BigQuery\DataTransfer\V1\DataSource[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
List of supported data sources and their transfer settings .