public function setDatasets($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AutoMl\V1beta1\Dataset::class);
        $this->datasets = $arr;

        return $this;
    }
public function setDatasets($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AutoMl\V1beta1\Dataset::class);
        $this->datasets = $arr;

        return $this;
    }
public function setDatasets ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ AutoMl \ V1beta1 \ Dataset :: class ) ; $ this -> datasets = $ arr ; return $ this ; }
The datasets read.

Generated from protobuf field <code>repeated .google.cloud.automl.v1beta1.Dataset datasets = 1;</code>
@param \Google\Cloud\AutoMl\V1beta1\Dataset[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
The datasets read .