BigQueryDataTransfer/src/V1/DataSource.php
public function setTransferType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\BigQuery\DataTransfer\V1\TransferType::class);
        $this->transfer_type = $var;

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

        return $this;
    }
public function setTransferType ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ BigQuery \ DataTransfer \ V1 \ TransferType :: class ) ; $ this -> transfer_type = $ var ; return $ this ; }
Deprecated. This field has no effect.

Generated from protobuf field <code>.google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7;</code>
@param int $var
@return $this
Deprecated . This field has no effect .