Notify

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 Notify is a generated protocol buffer package.

It is generated from these files:

Notify.proto

It has these top-level messages:

GtwEvent
ProgramStatus
ConnectStatus
QotRight
APILevel
S2C
Response

Index

Constants

View Source
const Default_Response_RetType int32 = -400

Variables

View Source
var GtwEventType_name = map[int32]string{
	0:  "GtwEventType_None",
	1:  "GtwEventType_LocalCfgLoadFailed",
	2:  "GtwEventType_APISvrRunFailed",
	3:  "GtwEventType_ForceUpdate",
	4:  "GtwEventType_LoginFailed",
	5:  "GtwEventType_UnAgreeDisclaimer",
	6:  "GtwEventType_NetCfgMissing",
	7:  "GtwEventType_KickedOut",
	8:  "GtwEventType_LoginPwdChanged",
	9:  "GtwEventType_BanLogin",
	10: "GtwEventType_NeedPicVerifyCode",
	11: "GtwEventType_NeedPhoneVerifyCode",
	12: "GtwEventType_AppDataNotExist",
	13: "GtwEventType_NessaryDataMissing",
	14: "GtwEventType_TradePwdChanged",
	15: "GtwEventType_EnableDeviceLock",
}
View Source
var GtwEventType_value = map[string]int32{
	"GtwEventType_None":                0,
	"GtwEventType_LocalCfgLoadFailed":  1,
	"GtwEventType_APISvrRunFailed":     2,
	"GtwEventType_ForceUpdate":         3,
	"GtwEventType_LoginFailed":         4,
	"GtwEventType_UnAgreeDisclaimer":   5,
	"GtwEventType_NetCfgMissing":       6,
	"GtwEventType_KickedOut":           7,
	"GtwEventType_LoginPwdChanged":     8,
	"GtwEventType_BanLogin":            9,
	"GtwEventType_NeedPicVerifyCode":   10,
	"GtwEventType_NeedPhoneVerifyCode": 11,
	"GtwEventType_AppDataNotExist":     12,
	"GtwEventType_NessaryDataMissing":  13,
	"GtwEventType_TradePwdChanged":     14,
	"GtwEventType_EnableDeviceLock":    15,
}
View Source
var NotifyType_name = map[int32]string{
	0: "NotifyType_None",
	1: "NotifyType_GtwEvent",
	2: "NotifyType_ProgramStatus",
	3: "NotifyType_ConnStatus",
	4: "NotifyType_QotRight",
	5: "NotifyType_APILevel",
}
View Source
var NotifyType_value = map[string]int32{
	"NotifyType_None":          0,
	"NotifyType_GtwEvent":      1,
	"NotifyType_ProgramStatus": 2,
	"NotifyType_ConnStatus":    3,
	"NotifyType_QotRight":      4,
	"NotifyType_APILevel":      5,
}

Functions

This section is empty.

Types

type APILevel

type APILevel struct {
	ApiLevel         *string `protobuf:"bytes,3,req,name=apiLevel" json:"apiLevel,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*APILevel) Descriptor

func (*APILevel) Descriptor() ([]byte, []int)

func (*APILevel) GetApiLevel

func (m *APILevel) GetApiLevel() string

func (*APILevel) ProtoMessage

func (*APILevel) ProtoMessage()

func (*APILevel) Reset

func (m *APILevel) Reset()

func (*APILevel) String

func (m *APILevel) String() string

type ConnectStatus

type ConnectStatus struct {
	QotLogined       *bool  `protobuf:"varint,1,req,name=qotLogined" json:"qotLogined,omitempty"`
	TrdLogined       *bool  `protobuf:"varint,2,req,name=trdLogined" json:"trdLogined,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*ConnectStatus) Descriptor

func (*ConnectStatus) Descriptor() ([]byte, []int)

func (*ConnectStatus) GetQotLogined

func (m *ConnectStatus) GetQotLogined() bool

func (*ConnectStatus) GetTrdLogined

func (m *ConnectStatus) GetTrdLogined() bool

func (*ConnectStatus) ProtoMessage

func (*ConnectStatus) ProtoMessage()

func (*ConnectStatus) Reset

func (m *ConnectStatus) Reset()

func (*ConnectStatus) String

func (m *ConnectStatus) String() string

type GtwEvent

type GtwEvent struct {
	EventType        *int32  `protobuf:"varint,1,req,name=eventType" json:"eventType,omitempty"`
	Desc             *string `protobuf:"bytes,2,req,name=desc" json:"desc,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*GtwEvent) Descriptor

func (*GtwEvent) Descriptor() ([]byte, []int)

func (*GtwEvent) GetDesc

func (m *GtwEvent) GetDesc() string

func (*GtwEvent) GetEventType

func (m *GtwEvent) GetEventType() int32

func (*GtwEvent) ProtoMessage

func (*GtwEvent) ProtoMessage()

func (*GtwEvent) Reset

func (m *GtwEvent) Reset()

func (*GtwEvent) String

func (m *GtwEvent) String() string

type GtwEventType

type GtwEventType int32
const (
	GtwEventType_GtwEventType_None                GtwEventType = 0
	GtwEventType_GtwEventType_LocalCfgLoadFailed  GtwEventType = 1
	GtwEventType_GtwEventType_APISvrRunFailed     GtwEventType = 2
	GtwEventType_GtwEventType_ForceUpdate         GtwEventType = 3
	GtwEventType_GtwEventType_LoginFailed         GtwEventType = 4
	GtwEventType_GtwEventType_UnAgreeDisclaimer   GtwEventType = 5
	GtwEventType_GtwEventType_NetCfgMissing       GtwEventType = 6
	GtwEventType_GtwEventType_KickedOut           GtwEventType = 7
	GtwEventType_GtwEventType_LoginPwdChanged     GtwEventType = 8
	GtwEventType_GtwEventType_BanLogin            GtwEventType = 9
	GtwEventType_GtwEventType_NeedPicVerifyCode   GtwEventType = 10
	GtwEventType_GtwEventType_NeedPhoneVerifyCode GtwEventType = 11
	GtwEventType_GtwEventType_AppDataNotExist     GtwEventType = 12
	GtwEventType_GtwEventType_NessaryDataMissing  GtwEventType = 13
	GtwEventType_GtwEventType_TradePwdChanged     GtwEventType = 14
	GtwEventType_GtwEventType_EnableDeviceLock    GtwEventType = 15
)

func (GtwEventType) Enum

func (x GtwEventType) Enum() *GtwEventType

func (GtwEventType) EnumDescriptor

func (GtwEventType) EnumDescriptor() ([]byte, []int)

func (GtwEventType) String

func (x GtwEventType) String() string

func (*GtwEventType) UnmarshalJSON

func (x *GtwEventType) UnmarshalJSON(data []byte) error

type NotifyType

type NotifyType int32
const (
	NotifyType_NotifyType_None          NotifyType = 0
	NotifyType_NotifyType_GtwEvent      NotifyType = 1
	NotifyType_NotifyType_ProgramStatus NotifyType = 2
	NotifyType_NotifyType_ConnStatus    NotifyType = 3
	NotifyType_NotifyType_QotRight      NotifyType = 4
	NotifyType_NotifyType_APILevel      NotifyType = 5
)

func (NotifyType) Enum

func (x NotifyType) Enum() *NotifyType

func (NotifyType) EnumDescriptor

func (NotifyType) EnumDescriptor() ([]byte, []int)

func (NotifyType) String

func (x NotifyType) String() string

func (*NotifyType) UnmarshalJSON

func (x *NotifyType) UnmarshalJSON(data []byte) error

type ProgramStatus

type ProgramStatus struct {
	ProgramStatus    *Common.ProgramStatus `protobuf:"bytes,1,req,name=programStatus" json:"programStatus,omitempty"`
	XXX_unrecognized []byte                `json:"-"`
}

func (*ProgramStatus) Descriptor

func (*ProgramStatus) Descriptor() ([]byte, []int)

func (*ProgramStatus) GetProgramStatus

func (m *ProgramStatus) GetProgramStatus() *Common.ProgramStatus

func (*ProgramStatus) ProtoMessage

func (*ProgramStatus) ProtoMessage()

func (*ProgramStatus) Reset

func (m *ProgramStatus) Reset()

func (*ProgramStatus) String

func (m *ProgramStatus) String() string

type QotRight

type QotRight struct {
	HkQotRight          *int32 `protobuf:"varint,4,req,name=hkQotRight" json:"hkQotRight,omitempty"`
	UsQotRight          *int32 `protobuf:"varint,5,req,name=usQotRight" json:"usQotRight,omitempty"`
	CnQotRight          *int32 `protobuf:"varint,6,req,name=cnQotRight" json:"cnQotRight,omitempty"`
	HkOptionQotRight    *int32 `protobuf:"varint,7,opt,name=hkOptionQotRight" json:"hkOptionQotRight,omitempty"`
	HasUSOptionQotRight *bool  `protobuf:"varint,8,opt,name=hasUSOptionQotRight" json:"hasUSOptionQotRight,omitempty"`
	HkFutureQotRight    *int32 `protobuf:"varint,9,opt,name=hkFutureQotRight" json:"hkFutureQotRight,omitempty"`
	XXX_unrecognized    []byte `json:"-"`
}

func (*QotRight) Descriptor

func (*QotRight) Descriptor() ([]byte, []int)

func (*QotRight) GetCnQotRight

func (m *QotRight) GetCnQotRight() int32

func (*QotRight) GetHasUSOptionQotRight

func (m *QotRight) GetHasUSOptionQotRight() bool

func (*QotRight) GetHkFutureQotRight

func (m *QotRight) GetHkFutureQotRight() int32

func (*QotRight) GetHkOptionQotRight

func (m *QotRight) GetHkOptionQotRight() int32

func (*QotRight) GetHkQotRight

func (m *QotRight) GetHkQotRight() int32

func (*QotRight) GetUsQotRight

func (m *QotRight) GetUsQotRight() int32

func (*QotRight) ProtoMessage

func (*QotRight) ProtoMessage()

func (*QotRight) Reset

func (m *QotRight) Reset()

func (*QotRight) String

func (m *QotRight) 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 {
	Type             *int32         `protobuf:"varint,1,req,name=type" json:"type,omitempty"`
	Event            *GtwEvent      `protobuf:"bytes,2,opt,name=event" json:"event,omitempty"`
	ProgramStatus    *ProgramStatus `protobuf:"bytes,3,opt,name=programStatus" json:"programStatus,omitempty"`
	ConnectStatus    *ConnectStatus `protobuf:"bytes,4,opt,name=connectStatus" json:"connectStatus,omitempty"`
	QotRight         *QotRight      `protobuf:"bytes,5,opt,name=qotRight" json:"qotRight,omitempty"`
	ApiLevel         *APILevel      `protobuf:"bytes,6,opt,name=apiLevel" json:"apiLevel,omitempty"`
	XXX_unrecognized []byte         `json:"-"`
}

func (*S2C) Descriptor

func (*S2C) Descriptor() ([]byte, []int)

func (*S2C) GetApiLevel

func (m *S2C) GetApiLevel() *APILevel

func (*S2C) GetConnectStatus

func (m *S2C) GetConnectStatus() *ConnectStatus

func (*S2C) GetEvent

func (m *S2C) GetEvent() *GtwEvent

func (*S2C) GetProgramStatus

func (m *S2C) GetProgramStatus() *ProgramStatus

func (*S2C) GetQotRight

func (m *S2C) GetQotRight() *QotRight

func (*S2C) GetType

func (m *S2C) GetType() int32

func (*S2C) ProtoMessage

func (*S2C) ProtoMessage()

func (*S2C) Reset

func (m *S2C) Reset()

func (*S2C) String

func (m *S2C) String() string

Jump to

Keyboard shortcuts

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