62 行
1.3 KiB
PHP
62 行
1.3 KiB
PHP
<?php
|
||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
# source: demo1/proto/user.proto
|
||
|
||
namespace GPBMetadata\Demo1\Proto;
|
||
|
||
class User
|
||
{
|
||
public static $is_initialized = false;
|
||
|
||
public static function initOnce() {
|
||
$pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||
|
||
if (static::$is_initialized == true) {
|
||
return;
|
||
}
|
||
\GPBMetadata\Google\Protobuf\GPBEmpty::initOnce();
|
||
\GPBMetadata\Google\Protobuf\Any::initOnce();
|
||
$pool->internalAddGeneratedFile(
|
||
'
|
||
Í
|
||
demo1/proto/user.protoprotogoogle/protobuf/any.proto"
|
||
Code
|
||
code ( "W
|
||
LoginRequest
|
||
username (
|
||
password ( #
|
||
other (2.google.protobuf.Any"‹
|
||
RegisterRequest
|
||
username (
|
||
password (
|
||
email (
|
||
mobile (
|
||
sex (2
|
||
.proto.Sex
|
||
hobbies ( RcityRmoney"§
|
||
Response
|
||
code (
|
||
msg (
|
||
token ( H |