Output.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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\TeXLiveTask;
  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.Output</code>
  11. */
  12. class Output extends \Google\Protobuf\Internal\Message
  13. {
  14. /**
  15. * Generated from protobuf field <code>.palm.lily.v1.TeXLiveTask.Output.Format format = 1;</code>
  16. */
  17. protected $format = 0;
  18. /**
  19. * Generated from protobuf field <code>string bucket = 2;</code>
  20. */
  21. protected $bucket = '';
  22. /**
  23. * Generated from protobuf field <code>string object = 3;</code>
  24. */
  25. protected $object = '';
  26. /**
  27. * Constructor.
  28. *
  29. * @param array $data {
  30. * Optional. Data for populating the Message object.
  31. *
  32. * @type int $format
  33. * @type string $bucket
  34. * @type string $object
  35. * }
  36. */
  37. public function __construct($data = NULL) {
  38. \GPBMetadata\Lily::initOnce();
  39. parent::__construct($data);
  40. }
  41. /**
  42. * Generated from protobuf field <code>.palm.lily.v1.TeXLiveTask.Output.Format format = 1;</code>
  43. * @return int
  44. */
  45. public function getFormat()
  46. {
  47. return $this->format;
  48. }
  49. /**
  50. * Generated from protobuf field <code>.palm.lily.v1.TeXLiveTask.Output.Format format = 1;</code>
  51. * @param int $var
  52. * @return $this
  53. */
  54. public function setFormat($var)
  55. {
  56. GPBUtil::checkEnum($var, \Palm\Lily\V1\TeXLiveTask\Output\Format::class);
  57. $this->format = $var;
  58. return $this;
  59. }
  60. /**
  61. * Generated from protobuf field <code>string bucket = 2;</code>
  62. * @return string
  63. */
  64. public function getBucket()
  65. {
  66. return $this->bucket;
  67. }
  68. /**
  69. * Generated from protobuf field <code>string bucket = 2;</code>
  70. * @param string $var
  71. * @return $this
  72. */
  73. public function setBucket($var)
  74. {
  75. GPBUtil::checkString($var, True);
  76. $this->bucket = $var;
  77. return $this;
  78. }
  79. /**
  80. * Generated from protobuf field <code>string object = 3;</code>
  81. * @return string
  82. */
  83. public function getObject()
  84. {
  85. return $this->object;
  86. }
  87. /**
  88. * Generated from protobuf field <code>string object = 3;</code>
  89. * @param string $var
  90. * @return $this
  91. */
  92. public function setObject($var)
  93. {
  94. GPBUtil::checkString($var, True);
  95. $this->object = $var;
  96. return $this;
  97. }
  98. }