Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
759 B
34 lines
759 B
<?php |
|
# Generated by the protocol buffer compiler. DO NOT EDIT! |
|
# source: test_no_namespace.proto |
|
|
|
use Google\Protobuf\Internal\DescriptorPool; |
|
use Google\Protobuf\Internal\GPBType; |
|
use Google\Protobuf\Internal\RepeatedField; |
|
use Google\Protobuf\Internal\GPBUtil; |
|
|
|
class NoNameSpace extends \Google\Protobuf\Internal\Message |
|
{ |
|
private $a = 0; |
|
|
|
public function getA() |
|
{ |
|
return $this->a; |
|
} |
|
|
|
public function setA($var) |
|
{ |
|
GPBUtil::checkInt32($var); |
|
$this->a = $var; |
|
} |
|
|
|
} |
|
|
|
$pool = DescriptorPool::getGeneratedPool(); |
|
|
|
$pool->internalAddGeneratedFile(hex2bin( |
|
"0a3b0a17746573745f6e6f5f6e616d6573706163652e70726f746f22180a" . |
|
"0b4e6f4e616d65537061636512090a0161180120012805620670726f746f" . |
|
"33" |
|
)); |
|
|
|
|