RemoveDirectoryResponse.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?php
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: protos/ydb_scheme.proto
  4. namespace Ydb\Scheme;
  5. use Google\Protobuf\Internal\GPBType;
  6. use Google\Protobuf\Internal\RepeatedField;
  7. use Google\Protobuf\Internal\GPBUtil;
  8. /**
  9. * Generated from protobuf message <code>Ydb.Scheme.RemoveDirectoryResponse</code>
  10. */
  11. class RemoveDirectoryResponse extends \Google\Protobuf\Internal\Message
  12. {
  13. /**
  14. * Generated from protobuf field <code>.Ydb.Operations.Operation operation = 1;</code>
  15. */
  16. protected $operation = null;
  17. /**
  18. * Constructor.
  19. *
  20. * @param array $data {
  21. * Optional. Data for populating the Message object.
  22. *
  23. * @type \Ydb\Operations\Operation $operation
  24. * }
  25. */
  26. public function __construct($data = NULL) {
  27. \GPBMetadata\Protos\YdbScheme::initOnce();
  28. parent::__construct($data);
  29. }
  30. /**
  31. * Generated from protobuf field <code>.Ydb.Operations.Operation operation = 1;</code>
  32. * @return \Ydb\Operations\Operation|null
  33. */
  34. public function getOperation()
  35. {
  36. return $this->operation;
  37. }
  38. public function hasOperation()
  39. {
  40. return isset($this->operation);
  41. }
  42. public function clearOperation()
  43. {
  44. unset($this->operation);
  45. }
  46. /**
  47. * Generated from protobuf field <code>.Ydb.Operations.Operation operation = 1;</code>
  48. * @param \Ydb\Operations\Operation $var
  49. * @return $this
  50. */
  51. public function setOperation($var)
  52. {
  53. GPBUtil::checkMessage($var, \Ydb\Operations\Operation::class);
  54. $this->operation = $var;
  55. return $this;
  56. }
  57. }