BigQueryDataTransfer/src/V1/ListTransferLogsRequest.php
public function setMessageTypes($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\BigQuery\DataTransfer\V1\TransferMessage\MessageSeverity::class);
        $this->message_types = $arr;

        return $this;
    }
public function setMessageTypes($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\BigQuery\DataTransfer\V1\TransferMessage\MessageSeverity::class);
        $this->message_types = $arr;

        return $this;
    }
public function setMessageTypes ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: ENUM , \ Google \ Cloud \ BigQuery \ DataTransfer \ V1 \ TransferMessage \ MessageSeverity :: class ) ; $ this -> message_types = $ arr ; return $ this ; }
Message types to return. If not populated - INFO, WARNING and ERROR
messages are returned.

Generated from protobuf field <code>repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;</code>
@param int[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Message types to return . If not populated - INFO WARNING and ERROR messages are returned .