BigQueryDataTransfer/src/V1/TransferMessage.php
public function setSeverity($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\BigQuery\DataTransfer\V1\TransferMessage_MessageSeverity::class);
        $this->severity = $var;

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

        return $this;
    }
public function setSeverity ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ BigQuery \ DataTransfer \ V1 \ TransferMessage_MessageSeverity :: class ) ; $ this -> severity = $ var ; return $ this ; }
Message severity.

Generated from protobuf field <code>.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;</code>
@param int $var
@return $this
Message severity .