Documentation ¶
Overview ¶
Package GetUserInfo is a generated protocol buffer package.
It is generated from these files:
GetUserInfo.proto
It has these top-level messages:
C2S S2C Request Response
Index ¶
- Constants
- Variables
- type C2S
- type Request
- type Response
- type S2C
- func (*S2C) Descriptor() ([]byte, []int)
- func (m *S2C) GetApiLevel() string
- func (m *S2C) GetAvatarUrl() string
- func (m *S2C) GetCnQotRight() int32
- func (m *S2C) GetHasUSOptionQotRight() bool
- func (m *S2C) GetHkFutureQotRight() int32
- func (m *S2C) GetHkOptionQotRight() int32
- func (m *S2C) GetHkQotRight() int32
- func (m *S2C) GetIsNeedAgreeDisclaimer() bool
- func (m *S2C) GetNickName() string
- func (m *S2C) GetUpdateType() int32
- func (m *S2C) GetUsQotRight() int32
- func (m *S2C) GetUserID() int64
- func (m *S2C) GetWebKey() string
- func (*S2C) ProtoMessage()
- func (m *S2C) Reset()
- func (m *S2C) String() string
- type UpdateType
- type UserInfoField
Constants ¶
View Source
const Default_Response_RetType int32 = -400
Variables ¶
View Source
var UpdateType_name = map[int32]string{
0: "UpdateType_None",
1: "UpdateType_Advice",
2: "UpdateType_Force",
}
View Source
var UpdateType_value = map[string]int32{
"UpdateType_None": 0,
"UpdateType_Advice": 1,
"UpdateType_Force": 2,
}
View Source
var UserInfoField_name = map[int32]string{
1: "UserInfoField_Basic",
2: "UserInfoField_API",
4: "UserInfoField_QotRight",
8: "UserInfoField_Disclaimer",
16: "UserInfoField_Update",
2048: "UserInfoField_WebKey",
}
View Source
var UserInfoField_value = map[string]int32{
"UserInfoField_Basic": 1,
"UserInfoField_API": 2,
"UserInfoField_QotRight": 4,
"UserInfoField_Disclaimer": 8,
"UserInfoField_Update": 16,
"UserInfoField_WebKey": 2048,
}
Functions ¶
This section is empty.
Types ¶
type C2S ¶
type C2S struct { Flag *int32 `protobuf:"varint,2,opt,name=flag" json:"flag,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*C2S) Descriptor ¶
func (*C2S) ProtoMessage ¶
func (*C2S) ProtoMessage()
type Request ¶
type Request struct { C2S *C2S `protobuf:"bytes,1,req,name=c2s" json:"c2s,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Request) Descriptor ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
type Response ¶
type Response struct { RetType *int32 `protobuf:"varint,1,req,name=retType,def=-400" json:"retType,omitempty"` RetMsg *string `protobuf:"bytes,2,opt,name=retMsg" json:"retMsg,omitempty"` ErrCode *int32 `protobuf:"varint,3,opt,name=errCode" json:"errCode,omitempty"` S2C *S2C `protobuf:"bytes,4,opt,name=s2c" json:"s2c,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Response) Descriptor ¶
func (*Response) GetErrCode ¶
func (*Response) GetRetType ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
type S2C ¶
type S2C struct { NickName *string `protobuf:"bytes,1,opt,name=nickName" json:"nickName,omitempty"` AvatarUrl *string `protobuf:"bytes,2,opt,name=avatarUrl" json:"avatarUrl,omitempty"` ApiLevel *string `protobuf:"bytes,3,opt,name=apiLevel" json:"apiLevel,omitempty"` HkQotRight *int32 `protobuf:"varint,4,opt,name=hkQotRight" json:"hkQotRight,omitempty"` UsQotRight *int32 `protobuf:"varint,5,opt,name=usQotRight" json:"usQotRight,omitempty"` CnQotRight *int32 `protobuf:"varint,6,opt,name=cnQotRight" json:"cnQotRight,omitempty"` IsNeedAgreeDisclaimer *bool `protobuf:"varint,7,opt,name=isNeedAgreeDisclaimer" json:"isNeedAgreeDisclaimer,omitempty"` UserID *int64 `protobuf:"varint,8,opt,name=userID" json:"userID,omitempty"` UpdateType *int32 `protobuf:"varint,9,opt,name=updateType" json:"updateType,omitempty"` WebKey *string `protobuf:"bytes,10,opt,name=webKey" json:"webKey,omitempty"` HkOptionQotRight *int32 `protobuf:"varint,11,opt,name=hkOptionQotRight" json:"hkOptionQotRight,omitempty"` HasUSOptionQotRight *bool `protobuf:"varint,12,opt,name=hasUSOptionQotRight" json:"hasUSOptionQotRight,omitempty"` HkFutureQotRight *int32 `protobuf:"varint,13,opt,name=hkFutureQotRight" json:"hkFutureQotRight,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*S2C) Descriptor ¶
func (*S2C) GetApiLevel ¶
func (*S2C) GetAvatarUrl ¶
func (*S2C) GetCnQotRight ¶
func (*S2C) GetHasUSOptionQotRight ¶
func (*S2C) GetHkFutureQotRight ¶
func (*S2C) GetHkOptionQotRight ¶
func (*S2C) GetHkQotRight ¶
func (*S2C) GetIsNeedAgreeDisclaimer ¶
func (*S2C) GetNickName ¶
func (*S2C) GetUpdateType ¶
func (*S2C) GetUsQotRight ¶
func (*S2C) ProtoMessage ¶
func (*S2C) ProtoMessage()
type UpdateType ¶
type UpdateType int32
const ( UpdateType_UpdateType_None UpdateType = 0 UpdateType_UpdateType_Advice UpdateType = 1 UpdateType_UpdateType_Force UpdateType = 2 )
func (UpdateType) Enum ¶
func (x UpdateType) Enum() *UpdateType
func (UpdateType) EnumDescriptor ¶
func (UpdateType) EnumDescriptor() ([]byte, []int)
func (UpdateType) String ¶
func (x UpdateType) String() string
func (*UpdateType) UnmarshalJSON ¶
func (x *UpdateType) UnmarshalJSON(data []byte) error
type UserInfoField ¶
type UserInfoField int32
const ( UserInfoField_UserInfoField_Basic UserInfoField = 1 UserInfoField_UserInfoField_API UserInfoField = 2 UserInfoField_UserInfoField_QotRight UserInfoField = 4 UserInfoField_UserInfoField_Disclaimer UserInfoField = 8 UserInfoField_UserInfoField_Update UserInfoField = 16 UserInfoField_UserInfoField_WebKey UserInfoField = 2048 )
func (UserInfoField) Enum ¶
func (x UserInfoField) Enum() *UserInfoField
func (UserInfoField) EnumDescriptor ¶
func (UserInfoField) EnumDescriptor() ([]byte, []int)
func (UserInfoField) String ¶
func (x UserInfoField) String() string
func (*UserInfoField) UnmarshalJSON ¶
func (x *UserInfoField) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.