Firestore/src/V1beta1/BeginTransactionRequest.php
public function setOptions($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1beta1\TransactionOptions::class);
        $this->options = $var;

        return $this;
    }
public function setOptions($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1beta1\TransactionOptions::class);
        $this->options = $var;

        return $this;
    }
public function setOptions ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Firestore \ V1beta1 \ TransactionOptions :: class ) ; $ this -> options = $ var ; return $ this ; }
The options for the transaction.
Defaults to a read-write transaction.

Generated from protobuf field <code>.google.firestore.v1beta1.TransactionOptions options = 2;</code>
@param \Google\Cloud\Firestore\V1beta1\TransactionOptions $var
@return $this
The options for the transaction . Defaults to a read - write transaction .