GetUserInfo

package
v0.0.0-...-1a60310 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2020 License: MIT Imports: 4 Imported by: 0

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

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) Descriptor() ([]byte, []int)

func (*C2S) GetFlag

func (m *C2S) GetFlag() int32

func (*C2S) ProtoMessage

func (*C2S) ProtoMessage()

func (*C2S) Reset

func (m *C2S) Reset()

func (*C2S) String

func (m *C2S) String() string

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) Descriptor() ([]byte, []int)

func (*Request) GetC2S

func (m *Request) GetC2S() *C2S

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

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) Descriptor() ([]byte, []int)

func (*Response) GetErrCode

func (m *Response) GetErrCode() int32

func (*Response) GetRetMsg

func (m *Response) GetRetMsg() string

func (*Response) GetRetType

func (m *Response) GetRetType() int32

func (*Response) GetS2C

func (m *Response) GetS2C() *S2C

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

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) Descriptor() ([]byte, []int)

func (*S2C) GetApiLevel

func (m *S2C) GetApiLevel() string

func (*S2C) GetAvatarUrl

func (m *S2C) GetAvatarUrl() string

func (*S2C) GetCnQotRight

func (m *S2C) GetCnQotRight() int32

func (*S2C) GetHasUSOptionQotRight

func (m *S2C) GetHasUSOptionQotRight() bool

func (*S2C) GetHkFutureQotRight

func (m *S2C) GetHkFutureQotRight() int32

func (*S2C) GetHkOptionQotRight

func (m *S2C) GetHkOptionQotRight() int32

func (*S2C) GetHkQotRight

func (m *S2C) GetHkQotRight() int32

func (*S2C) GetIsNeedAgreeDisclaimer

func (m *S2C) GetIsNeedAgreeDisclaimer() bool

func (*S2C) GetNickName

func (m *S2C) GetNickName() string

func (*S2C) GetUpdateType

func (m *S2C) GetUpdateType() int32

func (*S2C) GetUsQotRight

func (m *S2C) GetUsQotRight() int32

func (*S2C) GetUserID

func (m *S2C) GetUserID() int64

func (*S2C) GetWebKey

func (m *S2C) GetWebKey() string

func (*S2C) ProtoMessage

func (*S2C) ProtoMessage()

func (*S2C) Reset

func (m *S2C) Reset()

func (*S2C) String

func (m *S2C) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL