1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <?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;
- /**
- * Generated from protobuf message <code>Ydb.Table.KeepAliveResponse</code>
- */
- class KeepAliveResponse extends \Google\Protobuf\Internal\Message
- {
- /**
- * Generated from protobuf field <code>.Ydb.Operations.Operation operation = 1;</code>
- */
- protected $operation = null;
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Ydb\Operations\Operation $operation
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Protos\YdbTable::initOnce();
- parent::__construct($data);
- }
- /**
- * Generated from protobuf field <code>.Ydb.Operations.Operation operation = 1;</code>
- * @return \Ydb\Operations\Operation|null
- */
- public function getOperation()
- {
- return $this->operation;
- }
- public function hasOperation()
- {
- return isset($this->operation);
- }
- public function clearOperation()
- {
- unset($this->operation);
- }
- /**
- * Generated from protobuf field <code>.Ydb.Operations.Operation operation = 1;</code>
- * @param \Ydb\Operations\Operation $var
- * @return $this
- */
- public function setOperation($var)
- {
- GPBUtil::checkMessage($var, \Ydb\Operations\Operation::class);
- $this->operation = $var;
- return $this;
- }
- }
|