BigQueryDataTransfer/src/V1/ListTransferRunsRequest.php
public function setRunAttempt($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\BigQuery\DataTransfer\V1\ListTransferRunsRequest_RunAttempt::class);
        $this->run_attempt = $var;

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

        return $this;
    }
public function setRunAttempt ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ BigQuery \ DataTransfer \ V1 \ ListTransferRunsRequest_RunAttempt :: class ) ; $ this -> run_attempt = $ var ; return $ this ; }
Indicates how run attempts are to be pulled.

Generated from protobuf field <code>.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;</code>
@param int $var
@return $this
Indicates how run attempts are to be pulled .