YdbDumpFormat.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: protos/ydb_import.proto
  4. namespace Ydb\Import;
  5. use Google\Protobuf\Internal\GPBType;
  6. use Google\Protobuf\Internal\RepeatedField;
  7. use Google\Protobuf\Internal\GPBUtil;
  8. /**
  9. *&#47; Data
  10. *
  11. * Generated from protobuf message <code>Ydb.Import.YdbDumpFormat</code>
  12. */
  13. class YdbDumpFormat extends \Google\Protobuf\Internal\Message
  14. {
  15. /**
  16. * Generated from protobuf field <code>repeated string columns = 1;</code>
  17. */
  18. private $columns;
  19. /**
  20. * Constructor.
  21. *
  22. * @param array $data {
  23. * Optional. Data for populating the Message object.
  24. *
  25. * @type array<string>|\Google\Protobuf\Internal\RepeatedField $columns
  26. * }
  27. */
  28. public function __construct($data = NULL) {
  29. \GPBMetadata\Protos\YdbImport::initOnce();
  30. parent::__construct($data);
  31. }
  32. /**
  33. * Generated from protobuf field <code>repeated string columns = 1;</code>
  34. * @return \Google\Protobuf\Internal\RepeatedField
  35. */
  36. public function getColumns()
  37. {
  38. return $this->columns;
  39. }
  40. /**
  41. * Generated from protobuf field <code>repeated string columns = 1;</code>
  42. * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
  43. * @return $this
  44. */
  45. public function setColumns($var)
  46. {
  47. $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
  48. $this->columns = $arr;
  49. return $this;
  50. }
  51. }