DescribeTableOptionsRequest.php 1.7 KB

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