aboutsummaryrefslogtreecommitdiffhomepage
path: root/php/tests/test_no_namespace.pb.php
blob: 2f92c955c4ca1dfc9a735e757f83ef7e12e34f2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?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"
));