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
- Variables
- type APILevel
- type ConnectStatus
- type GtwEvent
- type GtwEventType
- type NotifyType
- type ProgramStatus
- type QotRight
- func (*QotRight) Descriptor() ([]byte, []int)
- func (m *QotRight) GetCnQotRight() int32
- func (m *QotRight) GetHasUSOptionQotRight() bool
- func (m *QotRight) GetHkFutureQotRight() int32
- func (m *QotRight) GetHkOptionQotRight() int32
- func (m *QotRight) GetHkQotRight() int32
- func (m *QotRight) GetUsQotRight() int32
- func (*QotRight) ProtoMessage()
- func (m *QotRight) Reset()
- func (m *QotRight) String() string
- type Response
- type S2C
- func (*S2C) Descriptor() ([]byte, []int)
- func (m *S2C) GetApiLevel() *APILevel
- func (m *S2C) GetConnectStatus() *ConnectStatus
- func (m *S2C) GetEvent() *GtwEvent
- func (m *S2C) GetProgramStatus() *ProgramStatus
- func (m *S2C) GetQotRight() *QotRight
- func (m *S2C) GetType() int32
- func (*S2C) ProtoMessage()
- func (m *S2C) Reset()
- func (m *S2C) String() string
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) GetApiLevel ¶
func (*APILevel) ProtoMessage ¶
func (*APILevel) ProtoMessage()
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) GetEventType ¶
func (*GtwEvent) ProtoMessage ¶
func (*GtwEvent) ProtoMessage()
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) GetCnQotRight ¶
func (*QotRight) GetHasUSOptionQotRight ¶
func (*QotRight) GetHkFutureQotRight ¶
func (*QotRight) GetHkOptionQotRight ¶
func (*QotRight) GetHkQotRight ¶
func (*QotRight) GetUsQotRight ¶
func (*QotRight) ProtoMessage ¶
func (*QotRight) 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 { 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) GetApiLevel ¶
func (*S2C) GetConnectStatus ¶
func (m *S2C) GetConnectStatus() *ConnectStatus
func (*S2C) GetProgramStatus ¶
func (m *S2C) GetProgramStatus() *ProgramStatus
func (*S2C) GetQotRight ¶
func (*S2C) ProtoMessage ¶
func (*S2C) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.