test_include.pb.php 998 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: test_include.proto
  4. namespace Bar;
  5. use Google\Protobuf\Internal\DescriptorPool;
  6. use Google\Protobuf\Internal\GPBType;
  7. use Google\Protobuf\Internal\RepeatedField;
  8. use Google\Protobuf\Internal\GPBUtil;
  9. /**
  10. * Protobuf type <code>bar.TestInclude</code>
  11. */
  12. class TestInclude extends \Google\Protobuf\Internal\Message
  13. {
  14. /**
  15. * <code>optional int32 a = 1;</code>
  16. */
  17. private $a = 0;
  18. /**
  19. * <code>optional int32 a = 1;</code>
  20. */
  21. public function getA()
  22. {
  23. return $this->a;
  24. }
  25. /**
  26. * <code>optional int32 a = 1;</code>
  27. */
  28. public function setA($var)
  29. {
  30. GPBUtil::checkInt32($var);
  31. $this->a = $var;
  32. }
  33. }
  34. $pool = DescriptorPool::getGeneratedPool();
  35. $pool->internalAddGeneratedFile(hex2bin(
  36. "0a3b0a12746573745f696e636c7564652e70726f746f120362617222180a" .
  37. "0b54657374496e636c75646512090a0161180120012805620670726f746f" .
  38. "33"
  39. ));