DescribePathResult.php 1.5 KB

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