RemoveDirectoryRequest.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. * Remove directory
  10. *
  11. * Generated from protobuf message <code>Ydb.Scheme.RemoveDirectoryRequest</code>
  12. */
  13. class RemoveDirectoryRequest extends \Google\Protobuf\Internal\Message
  14. {
  15. /**
  16. * Generated from protobuf field <code>.Ydb.Operations.OperationParams operation_params = 1;</code>
  17. */
  18. protected $operation_params = null;
  19. /**
  20. * Generated from protobuf field <code>string path = 2;</code>
  21. */
  22. protected $path = '';
  23. /**
  24. * Constructor.
  25. *
  26. * @param array $data {
  27. * Optional. Data for populating the Message object.
  28. *
  29. * @type \Ydb\Operations\OperationParams $operation_params
  30. * @type string $path
  31. * }
  32. */
  33. public function __construct($data = NULL) {
  34. \GPBMetadata\Protos\YdbScheme::initOnce();
  35. parent::__construct($data);
  36. }
  37. /**
  38. * Generated from protobuf field <code>.Ydb.Operations.OperationParams operation_params = 1;</code>
  39. * @return \Ydb\Operations\OperationParams|null
  40. */
  41. public function getOperationParams()
  42. {
  43. return $this->operation_params;
  44. }
  45. public function hasOperationParams()
  46. {
  47. return isset($this->operation_params);
  48. }
  49. public function clearOperationParams()
  50. {
  51. unset($this->operation_params);
  52. }
  53. /**
  54. * Generated from protobuf field <code>.Ydb.Operations.OperationParams operation_params = 1;</code>
  55. * @param \Ydb\Operations\OperationParams $var
  56. * @return $this
  57. */
  58. public function setOperationParams($var)
  59. {
  60. GPBUtil::checkMessage($var, \Ydb\Operations\OperationParams::class);
  61. $this->operation_params = $var;
  62. return $this;
  63. }
  64. /**
  65. * Generated from protobuf field <code>string path = 2;</code>
  66. * @return string
  67. */
  68. public function getPath()
  69. {
  70. return $this->path;
  71. }
  72. /**
  73. * Generated from protobuf field <code>string path = 2;</code>
  74. * @param string $var
  75. * @return $this
  76. */
  77. public function setPath($var)
  78. {
  79. GPBUtil::checkString($var, True);
  80. $this->path = $var;
  81. return $this;
  82. }
  83. }