Ydb.Table.BeginTransactionResult
*/
class BeginTransactionResult extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field .Ydb.Table.TransactionMeta tx_meta = 1;
*/
protected $tx_meta = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Ydb\Table\TransactionMeta $tx_meta
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Protos\YdbTable::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field .Ydb.Table.TransactionMeta tx_meta = 1;
* @return \Ydb\Table\TransactionMeta|null
*/
public function getTxMeta()
{
return $this->tx_meta;
}
public function hasTxMeta()
{
return isset($this->tx_meta);
}
public function clearTxMeta()
{
unset($this->tx_meta);
}
/**
* Generated from protobuf field .Ydb.Table.TransactionMeta tx_meta = 1;
* @param \Ydb\Table\TransactionMeta $var
* @return $this
*/
public function setTxMeta($var)
{
GPBUtil::checkMessage($var, \Ydb\Table\TransactionMeta::class);
$this->tx_meta = $var;
return $this;
}
}