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(
|
|||
|
'
|
|||
|
<EFBFBD>
|
|||
|
demo1/proto/user.protoprotogoogle/protobuf/any.proto"
|
|||
|
Code
|
|||
|
code ( "W
|
|||
|
LoginRequest
|
|||
|
username (
|
|||
|
password ( #
|
|||
|
other (2.google.protobuf.Any"<EFBFBD>
|
|||
|
RegisterRequest
|
|||
|
username (
|
|||
|
password (
|
|||
|
email (
|
|||
|
mobile (
|
|||
|
sex (2
|
|||
|
.proto.Sex
|
|||
|
hobbies ( RcityRmoney"<EFBFBD>
|
|||
|
Response
|
|||
|
code (
|
|||
|
msg (
|
|||
|
token ( H
|
|||
|
message ( H\'
|
|||
|
info (2.proto.Response.InfoEntry+
|
|||
|
InfoEntry
|
|||
|
key (
|
|||
|
value ( :8B
|
|||
|
data*(
|
|||
|
Sex
|
|||
|
Male
|
|||
|
|
|||
|
Female
|
|||
|
Unknown2<EFBFBD>
|
|||
|
User-
|
|||
|
Login.proto.LoginRequest.proto.Response3
|
|||
|
Register.proto.RegisterRequest.proto.Response6
|
|||
|
GetUserInfo.google.protobuf.Empty.proto.ResponseBZdemo1/proto;protobproto3'
|
|||
|
, true);
|
|||
|
|
|||
|
static::$is_initialized = true;
|
|||
|
}
|
|||
|
}
|
|||
|
|