DescribeDatabaseOptionsRequest.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. * Generated from protobuf message <code>Ydb.Cms.DescribeDatabaseOptionsRequest</code>
  10. */
  11. class DescribeDatabaseOptionsRequest extends \Google\Protobuf\Internal\Message
  12. {
  13. /**
  14. * Operation parameters
  15. *
  16. * Generated from protobuf field <code>.Ydb.Operations.OperationParams operation_params = 1;</code>
  17. */
  18. protected $operation_params = null;
  19. /**
  20. * Constructor.
  21. *
  22. * @param array $data {
  23. * Optional. Data for populating the Message object.
  24. *
  25. * @type \Ydb\Operations\OperationParams $operation_params
  26. * Operation parameters
  27. * }
  28. */
  29. public function __construct($data = NULL) {
  30. \GPBMetadata\Protos\YdbCms::initOnce();
  31. parent::__construct($data);
  32. }
  33. /**
  34. * Operation parameters
  35. *
  36. * Generated from protobuf field <code>.Ydb.Operations.OperationParams operation_params = 1;</code>
  37. * @return \Ydb\Operations\OperationParams|null
  38. */
  39. public function getOperationParams()
  40. {
  41. return $this->operation_params;
  42. }
  43. public function hasOperationParams()
  44. {
  45. return isset($this->operation_params);
  46. }
  47. public function clearOperationParams()
  48. {
  49. unset($this->operation_params);
  50. }
  51. /**
  52. * Operation parameters
  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. }