PandocTask.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?php
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # NO CHECKED-IN PROTOBUF GENCODE
  4. # source: lily.proto
  5. namespace Palm\Lily\V1;
  6. use Google\Protobuf\Internal\GPBType;
  7. use Google\Protobuf\Internal\RepeatedField;
  8. use Google\Protobuf\Internal\GPBUtil;
  9. /**
  10. * https://pandoc.org/MANUAL.html
  11. *
  12. * Generated from protobuf message <code>palm.lily.v1.PandocTask</code>
  13. */
  14. class PandocTask extends \Google\Protobuf\Internal\Message
  15. {
  16. /**
  17. * Generated from protobuf field <code>.palm.lily.v1.PandocTask.Input input = 1;</code>
  18. */
  19. protected $input = null;
  20. /**
  21. * Generated from protobuf field <code>.palm.lily.v1.PandocTask.Output output = 2;</code>
  22. */
  23. protected $output = null;
  24. /**
  25. * Constructor.
  26. *
  27. * @param array $data {
  28. * Optional. Data for populating the Message object.
  29. *
  30. * @type \Palm\Lily\V1\PandocTask\Input $input
  31. * @type \Palm\Lily\V1\PandocTask\Output $output
  32. * }
  33. */
  34. public function __construct($data = NULL) {
  35. \GPBMetadata\Lily::initOnce();
  36. parent::__construct($data);
  37. }
  38. /**
  39. * Generated from protobuf field <code>.palm.lily.v1.PandocTask.Input input = 1;</code>
  40. * @return \Palm\Lily\V1\PandocTask\Input|null
  41. */
  42. public function getInput()
  43. {
  44. return $this->input;
  45. }
  46. public function hasInput()
  47. {
  48. return isset($this->input);
  49. }
  50. public function clearInput()
  51. {
  52. unset($this->input);
  53. }
  54. /**
  55. * Generated from protobuf field <code>.palm.lily.v1.PandocTask.Input input = 1;</code>
  56. * @param \Palm\Lily\V1\PandocTask\Input $var
  57. * @return $this
  58. */
  59. public function setInput($var)
  60. {
  61. GPBUtil::checkMessage($var, \Palm\Lily\V1\PandocTask\Input::class);
  62. $this->input = $var;
  63. return $this;
  64. }
  65. /**
  66. * Generated from protobuf field <code>.palm.lily.v1.PandocTask.Output output = 2;</code>
  67. * @return \Palm\Lily\V1\PandocTask\Output|null
  68. */
  69. public function getOutput()
  70. {
  71. return $this->output;
  72. }
  73. public function hasOutput()
  74. {
  75. return isset($this->output);
  76. }
  77. public function clearOutput()
  78. {
  79. unset($this->output);
  80. }
  81. /**
  82. * Generated from protobuf field <code>.palm.lily.v1.PandocTask.Output output = 2;</code>
  83. * @param \Palm\Lily\V1\PandocTask\Output $var
  84. * @return $this
  85. */
  86. public function setOutput($var)
  87. {
  88. GPBUtil::checkMessage($var, \Palm\Lily\V1\PandocTask\Output::class);
  89. $this->output = $var;
  90. return $this;
  91. }
  92. }