1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: protos/ydb_table.proto
- namespace Ydb\Table;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- * Result of read table request
- *
- * Generated from protobuf message <code>Ydb.Table.ReadTableResult</code>
- */
- class ReadTableResult extends \Google\Protobuf\Internal\Message
- {
- /**
- * Result set (same as result of sql request)
- *
- * Generated from protobuf field <code>.Ydb.ResultSet result_set = 1;</code>
- */
- protected $result_set = null;
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Ydb\ResultSet $result_set
- * Result set (same as result of sql request)
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Protos\YdbTable::initOnce();
- parent::__construct($data);
- }
- /**
- * Result set (same as result of sql request)
- *
- * Generated from protobuf field <code>.Ydb.ResultSet result_set = 1;</code>
- * @return \Ydb\ResultSet|null
- */
- public function getResultSet()
- {
- return $this->result_set;
- }
- public function hasResultSet()
- {
- return isset($this->result_set);
- }
- public function clearResultSet()
- {
- unset($this->result_set);
- }
- /**
- * Result set (same as result of sql request)
- *
- * Generated from protobuf field <code>.Ydb.ResultSet result_set = 1;</code>
- * @param \Ydb\ResultSet $var
- * @return $this
- */
- public function setResultSet($var)
- {
- GPBUtil::checkMessage($var, \Ydb\ResultSet::class);
- $this->result_set = $var;
- return $this;
- }
- }
|