123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: protos/ydb_scheme.proto
- namespace Ydb\Scheme;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- * Generated from protobuf message <code>Ydb.Scheme.ListDirectoryResponse</code>
- */
- class ListDirectoryResponse extends \Google\Protobuf\Internal\Message
- {
- /**
- * Holds ListDirectoryResult in case of successful call
- *
- * 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
- * Holds ListDirectoryResult in case of successful call
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Protos\YdbScheme::initOnce();
- parent::__construct($data);
- }
- /**
- * Holds ListDirectoryResult in case of successful call
- *
- * 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);
- }
- /**
- * Holds ListDirectoryResult in case of successful call
- *
- * 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;
- }
- }
|