TeXLiveTask.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. * Generated from protobuf message <code>palm.lily.v1.TeXLiveTask</code>
  11. */
  12. class TeXLiveTask extends \Google\Protobuf\Internal\Message
  13. {
  14. /**
  15. * Generated from protobuf field <code>bytes entry = 1;</code>
  16. */
  17. protected $entry = '';
  18. /**
  19. * Generated from protobuf field <code>map<string, bytes> attachments = 3;</code>
  20. */
  21. private $attachments;
  22. /**
  23. * Generated from protobuf field <code>.palm.lily.v1.TeXLiveTask.Output output = 9;</code>
  24. */
  25. protected $output = null;
  26. /**
  27. * Constructor.
  28. *
  29. * @param array $data {
  30. * Optional. Data for populating the Message object.
  31. *
  32. * @type string $entry
  33. * @type array|\Google\Protobuf\Internal\MapField $attachments
  34. * @type \Palm\Lily\V1\TeXLiveTask\Output $output
  35. * }
  36. */
  37. public function __construct($data = NULL) {
  38. \GPBMetadata\Lily::initOnce();
  39. parent::__construct($data);
  40. }
  41. /**
  42. * Generated from protobuf field <code>bytes entry = 1;</code>
  43. * @return string
  44. */
  45. public function getEntry()
  46. {
  47. return $this->entry;
  48. }
  49. /**
  50. * Generated from protobuf field <code>bytes entry = 1;</code>
  51. * @param string $var
  52. * @return $this
  53. */
  54. public function setEntry($var)
  55. {
  56. GPBUtil::checkString($var, False);
  57. $this->entry = $var;
  58. return $this;
  59. }
  60. /**
  61. * Generated from protobuf field <code>map<string, bytes> attachments = 3;</code>
  62. * @return \Google\Protobuf\Internal\MapField
  63. */
  64. public function getAttachments()
  65. {
  66. return $this->attachments;
  67. }
  68. /**
  69. * Generated from protobuf field <code>map<string, bytes> attachments = 3;</code>
  70. * @param array|\Google\Protobuf\Internal\MapField $var
  71. * @return $this
  72. */
  73. public function setAttachments($var)
  74. {
  75. $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::BYTES);
  76. $this->attachments = $arr;
  77. return $this;
  78. }
  79. /**
  80. * Generated from protobuf field <code>.palm.lily.v1.TeXLiveTask.Output output = 9;</code>
  81. * @return \Palm\Lily\V1\TeXLiveTask\Output|null
  82. */
  83. public function getOutput()
  84. {
  85. return $this->output;
  86. }
  87. public function hasOutput()
  88. {
  89. return isset($this->output);
  90. }
  91. public function clearOutput()
  92. {
  93. unset($this->output);
  94. }
  95. /**
  96. * Generated from protobuf field <code>.palm.lily.v1.TeXLiveTask.Output output = 9;</code>
  97. * @param \Palm\Lily\V1\TeXLiveTask\Output $var
  98. * @return $this
  99. */
  100. public function setOutput($var)
  101. {
  102. GPBUtil::checkMessage($var, \Palm\Lily\V1\TeXLiveTask\Output::class);
  103. $this->output = $var;
  104. return $this;
  105. }
  106. }