OLD | NEW |
(Empty) | |
| 1 <?php |
| 2 # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 3 # source: test_no_namespace.proto |
| 4 |
| 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 class NoNameSpace extends \Google\Protobuf\Internal\Message |
| 11 { |
| 12 private $a = 0; |
| 13 |
| 14 public function getA() |
| 15 { |
| 16 return $this->a; |
| 17 } |
| 18 |
| 19 public function setA($var) |
| 20 { |
| 21 GPBUtil::checkInt32($var); |
| 22 $this->a = $var; |
| 23 } |
| 24 |
| 25 } |
| 26 |
| 27 $pool = DescriptorPool::getGeneratedPool(); |
| 28 |
| 29 $pool->internalAddGeneratedFile(hex2bin( |
| 30 "0a3b0a17746573745f6e6f5f6e616d6573706163652e70726f746f22180a" . |
| 31 "0b4e6f4e616d65537061636512090a0161180120012805620670726f746f" . |
| 32 "33" |
| 33 )); |
| 34 |
OLD | NEW |