700 lines
23 KiB
Go
700 lines
23 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: base.proto
|
|
|
|
package mmproto
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type SKBuiltinBuffert struct {
|
|
ILen *uint32 `protobuf:"varint,1,req,name=iLen" json:"iLen,omitempty"`
|
|
Buffer []byte `protobuf:"bytes,2,opt,name=Buffer" json:"Buffer,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SKBuiltinBuffert) Reset() { *m = SKBuiltinBuffert{} }
|
|
func (m *SKBuiltinBuffert) String() string { return proto.CompactTextString(m) }
|
|
func (*SKBuiltinBuffert) ProtoMessage() {}
|
|
func (*SKBuiltinBuffert) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_db1b6b0986796150, []int{0}
|
|
}
|
|
|
|
func (m *SKBuiltinBuffert) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SKBuiltinBuffert.Unmarshal(m, b)
|
|
}
|
|
func (m *SKBuiltinBuffert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SKBuiltinBuffert.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SKBuiltinBuffert) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SKBuiltinBuffert.Merge(m, src)
|
|
}
|
|
func (m *SKBuiltinBuffert) XXX_Size() int {
|
|
return xxx_messageInfo_SKBuiltinBuffert.Size(m)
|
|
}
|
|
func (m *SKBuiltinBuffert) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SKBuiltinBuffert.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SKBuiltinBuffert proto.InternalMessageInfo
|
|
|
|
func (m *SKBuiltinBuffert) GetILen() uint32 {
|
|
if m != nil && m.ILen != nil {
|
|
return *m.ILen
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SKBuiltinBuffert) GetBuffer() []byte {
|
|
if m != nil {
|
|
return m.Buffer
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SKBuiltinStringt struct {
|
|
String_ *string `protobuf:"bytes,1,opt,name=String" json:"String,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SKBuiltinStringt) Reset() { *m = SKBuiltinStringt{} }
|
|
func (m *SKBuiltinStringt) String() string { return proto.CompactTextString(m) }
|
|
func (*SKBuiltinStringt) ProtoMessage() {}
|
|
func (*SKBuiltinStringt) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_db1b6b0986796150, []int{1}
|
|
}
|
|
|
|
func (m *SKBuiltinStringt) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SKBuiltinStringt.Unmarshal(m, b)
|
|
}
|
|
func (m *SKBuiltinStringt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SKBuiltinStringt.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SKBuiltinStringt) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SKBuiltinStringt.Merge(m, src)
|
|
}
|
|
func (m *SKBuiltinStringt) XXX_Size() int {
|
|
return xxx_messageInfo_SKBuiltinStringt.Size(m)
|
|
}
|
|
func (m *SKBuiltinStringt) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SKBuiltinStringt.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SKBuiltinStringt proto.InternalMessageInfo
|
|
|
|
func (m *SKBuiltinStringt) GetString_() string {
|
|
if m != nil && m.String_ != nil {
|
|
return *m.String_
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BaseRequest struct {
|
|
SessionKey []byte `protobuf:"bytes,1,req,name=SessionKey" json:"SessionKey,omitempty"`
|
|
Uin *uint64 `protobuf:"varint,2,req,name=Uin" json:"Uin,omitempty"`
|
|
DeviceID []byte `protobuf:"bytes,3,req,name=DeviceID" json:"DeviceID,omitempty"`
|
|
ClientVersion *int32 `protobuf:"varint,4,req,name=ClientVersion" json:"ClientVersion,omitempty"`
|
|
DeviceType *string `protobuf:"bytes,5,req,name=DeviceType" json:"DeviceType,omitempty"`
|
|
Scene *uint32 `protobuf:"varint,6,req,name=Scene" json:"Scene,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BaseRequest) Reset() { *m = BaseRequest{} }
|
|
func (m *BaseRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*BaseRequest) ProtoMessage() {}
|
|
func (*BaseRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_db1b6b0986796150, []int{2}
|
|
}
|
|
|
|
func (m *BaseRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BaseRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *BaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BaseRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *BaseRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BaseRequest.Merge(m, src)
|
|
}
|
|
func (m *BaseRequest) XXX_Size() int {
|
|
return xxx_messageInfo_BaseRequest.Size(m)
|
|
}
|
|
func (m *BaseRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BaseRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BaseRequest proto.InternalMessageInfo
|
|
|
|
func (m *BaseRequest) GetSessionKey() []byte {
|
|
if m != nil {
|
|
return m.SessionKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *BaseRequest) GetUin() uint64 {
|
|
if m != nil && m.Uin != nil {
|
|
return *m.Uin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *BaseRequest) GetDeviceID() []byte {
|
|
if m != nil {
|
|
return m.DeviceID
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *BaseRequest) GetClientVersion() int32 {
|
|
if m != nil && m.ClientVersion != nil {
|
|
return *m.ClientVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *BaseRequest) GetDeviceType() string {
|
|
if m != nil && m.DeviceType != nil {
|
|
return *m.DeviceType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *BaseRequest) GetScene() uint32 {
|
|
if m != nil && m.Scene != nil {
|
|
return *m.Scene
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type BaseResponse struct {
|
|
Ret *int32 `protobuf:"varint,1,req,name=Ret" json:"Ret,omitempty"`
|
|
ErrMsg *SKBuiltinStringt `protobuf:"bytes,2,req,name=ErrMsg" json:"ErrMsg,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BaseResponse) Reset() { *m = BaseResponse{} }
|
|
func (m *BaseResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*BaseResponse) ProtoMessage() {}
|
|
func (*BaseResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_db1b6b0986796150, []int{3}
|
|
}
|
|
|
|
func (m *BaseResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BaseResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *BaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BaseResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *BaseResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BaseResponse.Merge(m, src)
|
|
}
|
|
func (m *BaseResponse) XXX_Size() int {
|
|
return xxx_messageInfo_BaseResponse.Size(m)
|
|
}
|
|
func (m *BaseResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BaseResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BaseResponse proto.InternalMessageInfo
|
|
|
|
func (m *BaseResponse) GetRet() int32 {
|
|
if m != nil && m.Ret != nil {
|
|
return *m.Ret
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *BaseResponse) GetErrMsg() *SKBuiltinStringt {
|
|
if m != nil {
|
|
return m.ErrMsg
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ECDHKey struct {
|
|
Nid *int32 `protobuf:"varint,1,req,name=Nid" json:"Nid,omitempty"`
|
|
Key *SKBuiltinBuffert `protobuf:"bytes,2,req,name=Key" json:"Key,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ECDHKey) Reset() { *m = ECDHKey{} }
|
|
func (m *ECDHKey) String() string { return proto.CompactTextString(m) }
|
|
func (*ECDHKey) ProtoMessage() {}
|
|
func (*ECDHKey) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_db1b6b0986796150, []int{4}
|
|
}
|
|
|
|
func (m *ECDHKey) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ECDHKey.Unmarshal(m, b)
|
|
}
|
|
func (m *ECDHKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ECDHKey.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ECDHKey) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ECDHKey.Merge(m, src)
|
|
}
|
|
func (m *ECDHKey) XXX_Size() int {
|
|
return xxx_messageInfo_ECDHKey.Size(m)
|
|
}
|
|
func (m *ECDHKey) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ECDHKey.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ECDHKey proto.InternalMessageInfo
|
|
|
|
func (m *ECDHKey) GetNid() int32 {
|
|
if m != nil && m.Nid != nil {
|
|
return *m.Nid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ECDHKey) GetKey() *SKBuiltinBuffert {
|
|
if m != nil {
|
|
return m.Key
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ZTData struct {
|
|
Version *string `protobuf:"bytes,1,req,name=version" json:"version,omitempty"`
|
|
Encrypted *uint32 `protobuf:"varint,2,req,name=encrypted" json:"encrypted,omitempty"`
|
|
Data []byte `protobuf:"bytes,3,req,name=data" json:"data,omitempty"`
|
|
TimeStamp *uint32 `protobuf:"varint,4,req,name=timeStamp" json:"timeStamp,omitempty"`
|
|
Optype *uint32 `protobuf:"varint,5,req,name=optype" json:"optype,omitempty"`
|
|
Uin *uint32 `protobuf:"varint,6,req,name=uin" json:"uin,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ZTData) Reset() { *m = ZTData{} }
|
|
func (m *ZTData) String() string { return proto.CompactTextString(m) }
|
|
func (*ZTData) ProtoMessage() {}
|
|
func (*ZTData) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_db1b6b0986796150, []int{5}
|
|
}
|
|
|
|
func (m *ZTData) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ZTData.Unmarshal(m, b)
|
|
}
|
|
func (m *ZTData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ZTData.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ZTData) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ZTData.Merge(m, src)
|
|
}
|
|
func (m *ZTData) XXX_Size() int {
|
|
return xxx_messageInfo_ZTData.Size(m)
|
|
}
|
|
func (m *ZTData) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ZTData.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ZTData proto.InternalMessageInfo
|
|
|
|
func (m *ZTData) GetVersion() string {
|
|
if m != nil && m.Version != nil {
|
|
return *m.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ZTData) GetEncrypted() uint32 {
|
|
if m != nil && m.Encrypted != nil {
|
|
return *m.Encrypted
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ZTData) GetData() []byte {
|
|
if m != nil {
|
|
return m.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ZTData) GetTimeStamp() uint32 {
|
|
if m != nil && m.TimeStamp != nil {
|
|
return *m.TimeStamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ZTData) GetOptype() uint32 {
|
|
if m != nil && m.Optype != nil {
|
|
return *m.Optype
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ZTData) GetUin() uint32 {
|
|
if m != nil && m.Uin != nil {
|
|
return *m.Uin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeviceToken struct {
|
|
Version *string `protobuf:"bytes,1,req,name=version" json:"version,omitempty"`
|
|
Encrypted *uint32 `protobuf:"varint,2,req,name=encrypted" json:"encrypted,omitempty"`
|
|
Data *SKBuiltinStringt `protobuf:"bytes,3,req,name=data" json:"data,omitempty"`
|
|
TimeStamp *uint32 `protobuf:"varint,4,req,name=timeStamp" json:"timeStamp,omitempty"`
|
|
Optype *uint32 `protobuf:"varint,5,req,name=optype" json:"optype,omitempty"`
|
|
Uin *uint32 `protobuf:"varint,6,req,name=uin" json:"uin,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeviceToken) Reset() { *m = DeviceToken{} }
|
|
func (m *DeviceToken) String() string { return proto.CompactTextString(m) }
|
|
func (*DeviceToken) ProtoMessage() {}
|
|
func (*DeviceToken) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_db1b6b0986796150, []int{6}
|
|
}
|
|
|
|
func (m *DeviceToken) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeviceToken.Unmarshal(m, b)
|
|
}
|
|
func (m *DeviceToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeviceToken.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DeviceToken) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeviceToken.Merge(m, src)
|
|
}
|
|
func (m *DeviceToken) XXX_Size() int {
|
|
return xxx_messageInfo_DeviceToken.Size(m)
|
|
}
|
|
func (m *DeviceToken) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeviceToken.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeviceToken proto.InternalMessageInfo
|
|
|
|
func (m *DeviceToken) GetVersion() string {
|
|
if m != nil && m.Version != nil {
|
|
return *m.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DeviceToken) GetEncrypted() uint32 {
|
|
if m != nil && m.Encrypted != nil {
|
|
return *m.Encrypted
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DeviceToken) GetData() *SKBuiltinStringt {
|
|
if m != nil {
|
|
return m.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DeviceToken) GetTimeStamp() uint32 {
|
|
if m != nil && m.TimeStamp != nil {
|
|
return *m.TimeStamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DeviceToken) GetOptype() uint32 {
|
|
if m != nil && m.Optype != nil {
|
|
return *m.Optype
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DeviceToken) GetUin() uint32 {
|
|
if m != nil && m.Uin != nil {
|
|
return *m.Uin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SpamDataSubBody struct {
|
|
Ilen *uint32 `protobuf:"varint,1,req,name=ilen" json:"ilen,omitempty"`
|
|
Ztdata *ZTData `protobuf:"bytes,2,req,name=ztdata" json:"ztdata,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SpamDataSubBody) Reset() { *m = SpamDataSubBody{} }
|
|
func (m *SpamDataSubBody) String() string { return proto.CompactTextString(m) }
|
|
func (*SpamDataSubBody) ProtoMessage() {}
|
|
func (*SpamDataSubBody) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_db1b6b0986796150, []int{7}
|
|
}
|
|
|
|
func (m *SpamDataSubBody) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SpamDataSubBody.Unmarshal(m, b)
|
|
}
|
|
func (m *SpamDataSubBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SpamDataSubBody.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SpamDataSubBody) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SpamDataSubBody.Merge(m, src)
|
|
}
|
|
func (m *SpamDataSubBody) XXX_Size() int {
|
|
return xxx_messageInfo_SpamDataSubBody.Size(m)
|
|
}
|
|
func (m *SpamDataSubBody) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SpamDataSubBody.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SpamDataSubBody proto.InternalMessageInfo
|
|
|
|
func (m *SpamDataSubBody) GetIlen() uint32 {
|
|
if m != nil && m.Ilen != nil {
|
|
return *m.Ilen
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SpamDataSubBody) GetZtdata() *ZTData {
|
|
if m != nil {
|
|
return m.Ztdata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeviceTokenBody struct {
|
|
Ilen *uint32 `protobuf:"varint,1,req,name=ilen" json:"ilen,omitempty"`
|
|
DeviceToken *DeviceToken `protobuf:"bytes,2,req,name=deviceToken" json:"deviceToken,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeviceTokenBody) Reset() { *m = DeviceTokenBody{} }
|
|
func (m *DeviceTokenBody) String() string { return proto.CompactTextString(m) }
|
|
func (*DeviceTokenBody) ProtoMessage() {}
|
|
func (*DeviceTokenBody) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_db1b6b0986796150, []int{8}
|
|
}
|
|
|
|
func (m *DeviceTokenBody) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeviceTokenBody.Unmarshal(m, b)
|
|
}
|
|
func (m *DeviceTokenBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeviceTokenBody.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DeviceTokenBody) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeviceTokenBody.Merge(m, src)
|
|
}
|
|
func (m *DeviceTokenBody) XXX_Size() int {
|
|
return xxx_messageInfo_DeviceTokenBody.Size(m)
|
|
}
|
|
func (m *DeviceTokenBody) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeviceTokenBody.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeviceTokenBody proto.InternalMessageInfo
|
|
|
|
func (m *DeviceTokenBody) GetIlen() uint32 {
|
|
if m != nil && m.Ilen != nil {
|
|
return *m.Ilen
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DeviceTokenBody) GetDeviceToken() *DeviceToken {
|
|
if m != nil {
|
|
return m.DeviceToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SpamDataBody struct {
|
|
Ccd1 *SpamDataSubBody `protobuf:"bytes,1,opt,name=ccd1" json:"ccd1,omitempty"`
|
|
Ccd2 *SpamDataSubBody `protobuf:"bytes,2,opt,name=ccd2" json:"ccd2,omitempty"`
|
|
Ccd3 *SpamDataSubBody `protobuf:"bytes,3,opt,name=ccd3" json:"ccd3,omitempty"`
|
|
Dt *DeviceTokenBody `protobuf:"bytes,7,opt,name=dt" json:"dt,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SpamDataBody) Reset() { *m = SpamDataBody{} }
|
|
func (m *SpamDataBody) String() string { return proto.CompactTextString(m) }
|
|
func (*SpamDataBody) ProtoMessage() {}
|
|
func (*SpamDataBody) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_db1b6b0986796150, []int{9}
|
|
}
|
|
|
|
func (m *SpamDataBody) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SpamDataBody.Unmarshal(m, b)
|
|
}
|
|
func (m *SpamDataBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SpamDataBody.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SpamDataBody) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SpamDataBody.Merge(m, src)
|
|
}
|
|
func (m *SpamDataBody) XXX_Size() int {
|
|
return xxx_messageInfo_SpamDataBody.Size(m)
|
|
}
|
|
func (m *SpamDataBody) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SpamDataBody.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SpamDataBody proto.InternalMessageInfo
|
|
|
|
func (m *SpamDataBody) GetCcd1() *SpamDataSubBody {
|
|
if m != nil {
|
|
return m.Ccd1
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SpamDataBody) GetCcd2() *SpamDataSubBody {
|
|
if m != nil {
|
|
return m.Ccd2
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SpamDataBody) GetCcd3() *SpamDataSubBody {
|
|
if m != nil {
|
|
return m.Ccd3
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SpamDataBody) GetDt() *DeviceTokenBody {
|
|
if m != nil {
|
|
return m.Dt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SpamData struct {
|
|
Totallen *uint32 `protobuf:"varint,1,req,name=totallen" json:"totallen,omitempty"`
|
|
SpamDataBody *SpamDataBody `protobuf:"bytes,2,req,name=spamDataBody" json:"spamDataBody,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SpamData) Reset() { *m = SpamData{} }
|
|
func (m *SpamData) String() string { return proto.CompactTextString(m) }
|
|
func (*SpamData) ProtoMessage() {}
|
|
func (*SpamData) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_db1b6b0986796150, []int{10}
|
|
}
|
|
|
|
func (m *SpamData) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SpamData.Unmarshal(m, b)
|
|
}
|
|
func (m *SpamData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SpamData.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SpamData) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SpamData.Merge(m, src)
|
|
}
|
|
func (m *SpamData) XXX_Size() int {
|
|
return xxx_messageInfo_SpamData.Size(m)
|
|
}
|
|
func (m *SpamData) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SpamData.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SpamData proto.InternalMessageInfo
|
|
|
|
func (m *SpamData) GetTotallen() uint32 {
|
|
if m != nil && m.Totallen != nil {
|
|
return *m.Totallen
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SpamData) GetSpamDataBody() *SpamDataBody {
|
|
if m != nil {
|
|
return m.SpamDataBody
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*SKBuiltinBuffert)(nil), "mmproto.SKBuiltinBuffert")
|
|
proto.RegisterType((*SKBuiltinStringt)(nil), "mmproto.SKBuiltinStringt")
|
|
proto.RegisterType((*BaseRequest)(nil), "mmproto.BaseRequest")
|
|
proto.RegisterType((*BaseResponse)(nil), "mmproto.BaseResponse")
|
|
proto.RegisterType((*ECDHKey)(nil), "mmproto.ECDHKey")
|
|
proto.RegisterType((*ZTData)(nil), "mmproto.ZTData")
|
|
proto.RegisterType((*DeviceToken)(nil), "mmproto.DeviceToken")
|
|
proto.RegisterType((*SpamDataSubBody)(nil), "mmproto.SpamDataSubBody")
|
|
proto.RegisterType((*DeviceTokenBody)(nil), "mmproto.DeviceTokenBody")
|
|
proto.RegisterType((*SpamDataBody)(nil), "mmproto.SpamDataBody")
|
|
proto.RegisterType((*SpamData)(nil), "mmproto.SpamData")
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterFile("base.proto", fileDescriptor_db1b6b0986796150)
|
|
}
|
|
|
|
var fileDescriptor_db1b6b0986796150 = []byte{
|
|
// 554 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0x5d, 0x8b, 0xd3, 0x40,
|
|
0x14, 0x25, 0xe9, 0xd7, 0xee, 0x6d, 0x4b, 0x97, 0x61, 0x95, 0x51, 0x44, 0xc2, 0x20, 0x18, 0xfc,
|
|
0x28, 0x6c, 0x17, 0x04, 0x5f, 0x7c, 0xe8, 0x76, 0x61, 0x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