RenameTableItem.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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.RenameTableItem</code>
  10. */
  11. class RenameTableItem extends \Google\Protobuf\Internal\Message
  12. {
  13. /**
  14. * Full path
  15. *
  16. * Generated from protobuf field <code>string source_path = 1;</code>
  17. */
  18. protected $source_path = '';
  19. /**
  20. * Full path
  21. *
  22. * Generated from protobuf field <code>string destination_path = 2;</code>
  23. */
  24. protected $destination_path = '';
  25. /**
  26. * Move options
  27. *
  28. * Generated from protobuf field <code>bool replace_destination = 3;</code>
  29. */
  30. protected $replace_destination = false;
  31. /**
  32. * Constructor.
  33. *
  34. * @param array $data {
  35. * Optional. Data for populating the Message object.
  36. *
  37. * @type string $source_path
  38. * Full path
  39. * @type string $destination_path
  40. * Full path
  41. * @type bool $replace_destination
  42. * Move options
  43. * }
  44. */
  45. public function __construct($data = NULL) {
  46. \GPBMetadata\Protos\YdbTable::initOnce();
  47. parent::__construct($data);
  48. }
  49. /**
  50. * Full path
  51. *
  52. * Generated from protobuf field <code>string source_path = 1;</code>
  53. * @return string
  54. */
  55. public function getSourcePath()
  56. {
  57. return $this->source_path;
  58. }
  59. /**
  60. * Full path
  61. *
  62. * Generated from protobuf field <code>string source_path = 1;</code>
  63. * @param string $var
  64. * @return $this
  65. */
  66. public function setSourcePath($var)
  67. {
  68. GPBUtil::checkString($var, True);
  69. $this->source_path = $var;
  70. return $this;
  71. }
  72. /**
  73. * Full path
  74. *
  75. * Generated from protobuf field <code>string destination_path = 2;</code>
  76. * @return string
  77. */
  78. public function getDestinationPath()
  79. {
  80. return $this->destination_path;
  81. }
  82. /**
  83. * Full path
  84. *
  85. * Generated from protobuf field <code>string destination_path = 2;</code>
  86. * @param string $var
  87. * @return $this
  88. */
  89. public function setDestinationPath($var)
  90. {
  91. GPBUtil::checkString($var, True);
  92. $this->destination_path = $var;
  93. return $this;
  94. }
  95. /**
  96. * Move options
  97. *
  98. * Generated from protobuf field <code>bool replace_destination = 3;</code>
  99. * @return bool
  100. */
  101. public function getReplaceDestination()
  102. {
  103. return $this->replace_destination;
  104. }
  105. /**
  106. * Move options
  107. *
  108. * Generated from protobuf field <code>bool replace_destination = 3;</code>
  109. * @param bool $var
  110. * @return $this
  111. */
  112. public function setReplaceDestination($var)
  113. {
  114. GPBUtil::checkBool($var);
  115. $this->replace_destination = $var;
  116. return $this;
  117. }
  118. }