ListDatabasesRequest.php 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?php
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: protos/ydb_cms.proto
  4. namespace Ydb\Cms;
  5. use Google\Protobuf\Internal\GPBType;
  6. use Google\Protobuf\Internal\RepeatedField;
  7. use Google\Protobuf\Internal\GPBUtil;
  8. /**
  9. * List all databases known by CMS.
  10. *
  11. * Generated from protobuf message <code>Ydb.Cms.ListDatabasesRequest</code>
  12. */
  13. class ListDatabasesRequest extends \Google\Protobuf\Internal\Message
  14. {
  15. /**
  16. * Operation parameters
  17. *
  18. * Generated from protobuf field <code>.Ydb.Operations.OperationParams operation_params = 1;</code>
  19. */
  20. protected $operation_params = null;
  21. /**
  22. * Constructor.
  23. *
  24. * @param array $data {
  25. * Optional. Data for populating the Message object.
  26. *
  27. * @type \Ydb\Operations\OperationParams $operation_params
  28. * Operation parameters
  29. * }
  30. */
  31. public function __construct($data = NULL) {
  32. \GPBMetadata\Protos\YdbCms::initOnce();
  33. parent::__construct($data);
  34. }
  35. /**
  36. * Operation parameters
  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. * Operation parameters
  55. *
  56. * Generated from protobuf field <code>.Ydb.Operations.OperationParams operation_params = 1;</code>
  57. * @param \Ydb\Operations\OperationParams $var
  58. * @return $this
  59. */
  60. public function setOperationParams($var)
  61. {
  62. GPBUtil::checkMessage($var, \Ydb\Operations\OperationParams::class);
  63. $this->operation_params = $var;
  64. return $this;
  65. }
  66. }