BigQueryDataTransfer/src/V1/DataSourceParameter.php
public function setType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\BigQuery\DataTransfer\V1\DataSourceParameter_Type::class);
        $this->type = $var;

        return $this;
    }
public function setType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\BigQuery\DataTransfer\V1\DataSourceParameter_Type::class);
        $this->type = $var;

        return $this;
    }
public function setType ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ BigQuery \ DataTransfer \ V1 \ DataSourceParameter_Type :: class ) ; $ this -> type = $ var ; return $ this ; }
Parameter type.

Generated from protobuf field <code>.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4;</code>
@param int $var
@return $this
Parameter type .