first commit

This commit is contained in:
2026-02-17 13:06:23 +08:00
commit 7cbd3d061d
349 changed files with 126558 additions and 0 deletions
+699
View File
@@ -0,0 +1,699 @@
// 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, 0x65, 0xb5, 0x0f, 0x93, 0xd5, 0x07, 0xc1,
0x87, 0xd9, 0xe6, 0xee, 0x32, 0xd8, 0x4e, 0x62, 0x32, 0x59, 0xa8, 0xbf, 0xc5, 0xff, 0xe1, 0x8b,
0x4f, 0xfe, 0x32, 0x99, 0xc9, 0xa4, 0x49, 0x2b, 0xab, 0x22, 0xbe, 0xdd, 0x7b, 0x73, 0xe6, 0xe4,
0x9c, 0x73, 0xb9, 0x00, 0x97, 0x22, 0xc7, 0x71, 0x9a, 0x25, 0x3a, 0x21, 0xbd, 0xd5, 0xca, 0x16,
0xec, 0x15, 0x1c, 0x44, 0xe7, 0xd3, 0x42, 0x2e, 0xb5, 0x54, 0xd3, 0xe2, 0xea, 0x0a, 0x33, 0x4d,
0x08, 0xb4, 0xe5, 0x1b, 0x54, 0xd4, 0x0b, 0xfc, 0x70, 0xc8, 0x6d, 0x4d, 0xee, 0x42, 0xb7, 0xfc,
0x4c, 0xfd, 0xc0, 0x0b, 0x07, 0xdc, 0x75, 0xec, 0x49, 0xe3, 0x7d, 0xa4, 0x33,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0x70, 0x3f, 0xd6,
0x4c, 0xc0, 0x5e, 0x45, 0x61, 0x8e, 0x5e, 0x27, 0x5a, 0x2c, 0xeb, 0x80, 0x36, 0x3d, 0x79, 0x09,
0x83, 0xbc, 0xe1, 0xd5, 0xa5, 0x74, 0xe7, 0x17, 0x1d, 0x96, 0x78, 0x0b, 0xfa, 0x33, 0x00, 0x00,
0xff, 0xff, 0x11, 0x3e, 0x7e, 0xb4, 0x0f, 0x05, 0x00, 0x00,
}
File diff suppressed because it is too large Load Diff
+97
View File
@@ -0,0 +1,97 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: fpfresh.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 FPFresh struct {
BaseReq *BaseRequest `protobuf:"bytes,1,req,name=baseReq" json:"baseReq,omitempty"`
SessKey []byte `protobuf:"bytes,2,req,name=sessKey" json:"sessKey,omitempty"`
Ztdata *ZTData `protobuf:"bytes,3,req,name=ztdata" json:"ztdata,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FPFresh) Reset() { *m = FPFresh{} }
func (m *FPFresh) String() string { return proto.CompactTextString(m) }
func (*FPFresh) ProtoMessage() {}
func (*FPFresh) Descriptor() ([]byte, []int) {
return fileDescriptor_f554f0ba3c0431bb, []int{0}
}
func (m *FPFresh) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FPFresh.Unmarshal(m, b)
}
func (m *FPFresh) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FPFresh.Marshal(b, m, deterministic)
}
func (m *FPFresh) XXX_Merge(src proto.Message) {
xxx_messageInfo_FPFresh.Merge(m, src)
}
func (m *FPFresh) XXX_Size() int {
return xxx_messageInfo_FPFresh.Size(m)
}
func (m *FPFresh) XXX_DiscardUnknown() {
xxx_messageInfo_FPFresh.DiscardUnknown(m)
}
var xxx_messageInfo_FPFresh proto.InternalMessageInfo
func (m *FPFresh) GetBaseReq() *BaseRequest {
if m != nil {
return m.BaseReq
}
return nil
}
func (m *FPFresh) GetSessKey() []byte {
if m != nil {
return m.SessKey
}
return nil
}
func (m *FPFresh) GetZtdata() *ZTData {
if m != nil {
return m.Ztdata
}
return nil
}
func init() {
proto.RegisterType((*FPFresh)(nil), "mmproto.FPFresh")
}
func init() {
proto.RegisterFile("fpfresh.proto", fileDescriptor_f554f0ba3c0431bb)
}
var fileDescriptor_f554f0ba3c0431bb = []byte{
// 138 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4d, 0x2b, 0x48, 0x2b,
0x4a, 0x2d, 0xce, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xcf, 0xcd, 0x05, 0x33, 0xa4,
0xb8, 0x92, 0x12, 0x8b, 0x53, 0x21, 0x82, 0x4a, 0x35, 0x5c, 0xec, 0x6e, 0x01, 0x6e, 0x20, 0x55,
0x42, 0x7a, 0x5c, 0xec, 0x20, 0x89, 0xa0, 0xd4, 0x42, 0x09, 0x46, 0x05, 0x26, 0x0d, 0x6e, 0x23,
0x11, 0x3d, 0xa8, 0x0e, 0x3d, 0x27, 0x88, 0x78, 0x69, 0x6a, 0x71, 0x49, 0x10, 0x4c, 0x91, 0x90,
0x04, 0x17, 0x7b, 0x71, 0x6a, 0x71, 0xb1, 0x77, 0x6a, 0xa5, 0x04, 0x93, 0x02, 0x93, 0x06, 0x4f,
0x10, 0x8c, 0x2b, 0xa4, 0xce, 0xc5, 0x56, 0x55, 0x92, 0x92, 0x58, 0x92, 0x28, 0xc1, 0x0c, 0x36,
0x88, 0x1f, 0x6e, 0x50, 0x54, 0x88, 0x4b, 0x62, 0x49, 0x62, 0x10, 0x54, 0x1a, 0x10, 0x00, 0x00,
0xff, 0xff, 0x94, 0xe3, 0xc5, 0x83, 0xa2, 0x00, 0x00, 0x00,
}
+229
View File
@@ -0,0 +1,229 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: hybridecdh.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 SecKey struct {
Nid *int32 `protobuf:"varint,1,req,name=nid" json:"nid,omitempty"`
Key []byte `protobuf:"bytes,2,req,name=key" json:"key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SecKey) Reset() { *m = SecKey{} }
func (m *SecKey) String() string { return proto.CompactTextString(m) }
func (*SecKey) ProtoMessage() {}
func (*SecKey) Descriptor() ([]byte, []int) {
return fileDescriptor_4c06398fabab09a9, []int{0}
}
func (m *SecKey) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SecKey.Unmarshal(m, b)
}
func (m *SecKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SecKey.Marshal(b, m, deterministic)
}
func (m *SecKey) XXX_Merge(src proto.Message) {
xxx_messageInfo_SecKey.Merge(m, src)
}
func (m *SecKey) XXX_Size() int {
return xxx_messageInfo_SecKey.Size(m)
}
func (m *SecKey) XXX_DiscardUnknown() {
xxx_messageInfo_SecKey.DiscardUnknown(m)
}
var xxx_messageInfo_SecKey proto.InternalMessageInfo
func (m *SecKey) GetNid() int32 {
if m != nil && m.Nid != nil {
return *m.Nid
}
return 0
}
func (m *SecKey) GetKey() []byte {
if m != nil {
return m.Key
}
return nil
}
type HybridEcdhReq struct {
Version *int32 `protobuf:"varint,1,req,name=version" json:"version,omitempty"`
SecKey *SecKey `protobuf:"bytes,2,req,name=secKey" json:"secKey,omitempty"`
Gcm1 []byte `protobuf:"bytes,3,req,name=gcm1" json:"gcm1,omitempty"`
Autokey []byte `protobuf:"bytes,4,req,name=autokey" json:"autokey,omitempty"`
Gcm2 []byte `protobuf:"bytes,5,req,name=gcm2" json:"gcm2,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *HybridEcdhReq) Reset() { *m = HybridEcdhReq{} }
func (m *HybridEcdhReq) String() string { return proto.CompactTextString(m) }
func (*HybridEcdhReq) ProtoMessage() {}
func (*HybridEcdhReq) Descriptor() ([]byte, []int) {
return fileDescriptor_4c06398fabab09a9, []int{1}
}
func (m *HybridEcdhReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_HybridEcdhReq.Unmarshal(m, b)
}
func (m *HybridEcdhReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_HybridEcdhReq.Marshal(b, m, deterministic)
}
func (m *HybridEcdhReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_HybridEcdhReq.Merge(m, src)
}
func (m *HybridEcdhReq) XXX_Size() int {
return xxx_messageInfo_HybridEcdhReq.Size(m)
}
func (m *HybridEcdhReq) XXX_DiscardUnknown() {
xxx_messageInfo_HybridEcdhReq.DiscardUnknown(m)
}
var xxx_messageInfo_HybridEcdhReq proto.InternalMessageInfo
func (m *HybridEcdhReq) GetVersion() int32 {
if m != nil && m.Version != nil {
return *m.Version
}
return 0
}
func (m *HybridEcdhReq) GetSecKey() *SecKey {
if m != nil {
return m.SecKey
}
return nil
}
func (m *HybridEcdhReq) GetGcm1() []byte {
if m != nil {
return m.Gcm1
}
return nil
}
func (m *HybridEcdhReq) GetAutokey() []byte {
if m != nil {
return m.Autokey
}
return nil
}
func (m *HybridEcdhReq) GetGcm2() []byte {
if m != nil {
return m.Gcm2
}
return nil
}
type HybridEcdhResp struct {
SecKey *SecKey `protobuf:"bytes,1,req,name=secKey" json:"secKey,omitempty"`
Version *int32 `protobuf:"varint,2,req,name=version" json:"version,omitempty"`
Gcm1 []byte `protobuf:"bytes,3,req,name=gcm1" json:"gcm1,omitempty"`
Gcm2 []byte `protobuf:"bytes,4,req,name=gcm2" json:"gcm2,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *HybridEcdhResp) Reset() { *m = HybridEcdhResp{} }
func (m *HybridEcdhResp) String() string { return proto.CompactTextString(m) }
func (*HybridEcdhResp) ProtoMessage() {}
func (*HybridEcdhResp) Descriptor() ([]byte, []int) {
return fileDescriptor_4c06398fabab09a9, []int{2}
}
func (m *HybridEcdhResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_HybridEcdhResp.Unmarshal(m, b)
}
func (m *HybridEcdhResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_HybridEcdhResp.Marshal(b, m, deterministic)
}
func (m *HybridEcdhResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_HybridEcdhResp.Merge(m, src)
}
func (m *HybridEcdhResp) XXX_Size() int {
return xxx_messageInfo_HybridEcdhResp.Size(m)
}
func (m *HybridEcdhResp) XXX_DiscardUnknown() {
xxx_messageInfo_HybridEcdhResp.DiscardUnknown(m)
}
var xxx_messageInfo_HybridEcdhResp proto.InternalMessageInfo
func (m *HybridEcdhResp) GetSecKey() *SecKey {
if m != nil {
return m.SecKey
}
return nil
}
func (m *HybridEcdhResp) GetVersion() int32 {
if m != nil && m.Version != nil {
return *m.Version
}
return 0
}
func (m *HybridEcdhResp) GetGcm1() []byte {
if m != nil {
return m.Gcm1
}
return nil
}
func (m *HybridEcdhResp) GetGcm2() []byte {
if m != nil {
return m.Gcm2
}
return nil
}
func init() {
proto.RegisterType((*SecKey)(nil), "mmproto.SecKey")
proto.RegisterType((*HybridEcdhReq)(nil), "mmproto.HybridEcdhReq")
proto.RegisterType((*HybridEcdhResp)(nil), "mmproto.HybridEcdhResp")
}
func init() {
proto.RegisterFile("hybridecdh.proto", fileDescriptor_4c06398fabab09a9)
}
var fileDescriptor_4c06398fabab09a9 = []byte{
// 201 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xc8, 0xa8, 0x4c, 0x2a,
0xca, 0x4c, 0x49, 0x4d, 0x4e, 0xc9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xcf, 0xcd,
0x05, 0x33, 0x94, 0x74, 0xb8, 0xd8, 0x82, 0x53, 0x93, 0xbd, 0x53, 0x2b, 0x85, 0x04, 0xb8, 0x98,
0xf3, 0x32, 0x53, 0x24, 0x18, 0x15, 0x98, 0x34, 0x58, 0x83, 0x40, 0x4c, 0x90, 0x48, 0x76, 0x6a,
0xa5, 0x04, 0x93, 0x02, 0x93, 0x06, 0x4f, 0x10, 0x88, 0xa9, 0x34, 0x85, 0x91, 0x8b, 0xd7, 0x03,
0x6c, 0x96, 0x6b, 0x72, 0x4a, 0x46, 0x50, 0x6a, 0xa1, 0x90, 0x04, 0x17, 0x7b, 0x59, 0x6a, 0x51,
0x71, 0x66, 0x7e, 0x1e, 0x54, 0x27, 0x8c, 0x2b, 0xa4, 0xce, 0xc5, 0x56, 0x0c, 0x36, 0x19, 0x6c,
0x00, 0xb7, 0x11, 0xbf, 0x1e, 0xd4, 0x4e, 0x3d, 0x88, 0x85, 0x41, 0x50, 0x69, 0x21, 0x21, 0x2e,
0x96, 0xf4, 0xe4, 0x5c, 0x43, 0x09, 0x66, 0xb0, 0x3d, 0x60, 0x36, 0xc8, 0xd8, 0xc4, 0xd2, 0x92,
0x7c, 0x90, 0xf5, 0x2c, 0x60, 0x61, 0x18, 0x17, 0xaa, 0xda, 0x48, 0x82, 0x15, 0xae, 0xda, 0x48,
0xa9, 0x9a, 0x8b, 0x0f, 0xd9, 0x55, 0xc5, 0x05, 0x48, 0x96, 0x33, 0xe2, 0xb7, 0x1c, 0xc9, 0xfd,
0x4c, 0xa8, 0xee, 0xc7, 0xe6, 0x2c, 0x98, 0xe5, 0x2c, 0x08, 0xcb, 0x01, 0x01, 0x00, 0x00, 0xff,
0xff, 0x9e, 0xd5, 0x09, 0xdb, 0x5d, 0x01, 0x00, 0x00,
}
+139
View File
@@ -0,0 +1,139 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: saeinfo.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 SaeInfo struct {
Ver *string `protobuf:"bytes,1,req,name=ver" json:"ver,omitempty"`
InitKey []byte `protobuf:"bytes,2,req,name=initKey" json:"initKey,omitempty"`
TotalSize *int32 `protobuf:"varint,3,req,name=totalSize" json:"totalSize,omitempty"`
XorKey1 []byte `protobuf:"bytes,9,req,name=xorKey1" json:"xorKey1,omitempty"`
Key1 []byte `protobuf:"bytes,10,req,name=key1" json:"key1,omitempty"`
XorKey2 []byte `protobuf:"bytes,11,req,name=xorKey2" json:"xorKey2,omitempty"`
Key2 []byte `protobuf:"bytes,12,req,name=key2" json:"key2,omitempty"`
Key3 []byte `protobuf:"bytes,18,req,name=key3" json:"key3,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SaeInfo) Reset() { *m = SaeInfo{} }
func (m *SaeInfo) String() string { return proto.CompactTextString(m) }
func (*SaeInfo) ProtoMessage() {}
func (*SaeInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_35810a54fd6e608d, []int{0}
}
func (m *SaeInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SaeInfo.Unmarshal(m, b)
}
func (m *SaeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SaeInfo.Marshal(b, m, deterministic)
}
func (m *SaeInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_SaeInfo.Merge(m, src)
}
func (m *SaeInfo) XXX_Size() int {
return xxx_messageInfo_SaeInfo.Size(m)
}
func (m *SaeInfo) XXX_DiscardUnknown() {
xxx_messageInfo_SaeInfo.DiscardUnknown(m)
}
var xxx_messageInfo_SaeInfo proto.InternalMessageInfo
func (m *SaeInfo) GetVer() string {
if m != nil && m.Ver != nil {
return *m.Ver
}
return ""
}
func (m *SaeInfo) GetInitKey() []byte {
if m != nil {
return m.InitKey
}
return nil
}
func (m *SaeInfo) GetTotalSize() int32 {
if m != nil && m.TotalSize != nil {
return *m.TotalSize
}
return 0
}
func (m *SaeInfo) GetXorKey1() []byte {
if m != nil {
return m.XorKey1
}
return nil
}
func (m *SaeInfo) GetKey1() []byte {
if m != nil {
return m.Key1
}
return nil
}
func (m *SaeInfo) GetXorKey2() []byte {
if m != nil {
return m.XorKey2
}
return nil
}
func (m *SaeInfo) GetKey2() []byte {
if m != nil {
return m.Key2
}
return nil
}
func (m *SaeInfo) GetKey3() []byte {
if m != nil {
return m.Key3
}
return nil
}
func init() {
proto.RegisterType((*SaeInfo)(nil), "mmproto.SaeInfo")
}
func init() {
proto.RegisterFile("saeinfo.proto", fileDescriptor_35810a54fd6e608d)
}
var fileDescriptor_35810a54fd6e608d = []byte{
// 163 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2d, 0x4e, 0x4c, 0xcd,
0xcc, 0x4b, 0xcb, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xcf, 0xcd, 0x05, 0x33, 0x94,
0x0e, 0x33, 0x72, 0xb1, 0x07, 0x27, 0xa6, 0x7a, 0xe6, 0xa5, 0xe5, 0x0b, 0x09, 0x70, 0x31, 0x97,
0xa5, 0x16, 0x49, 0x30, 0x2a, 0x30, 0x69, 0x70, 0x06, 0x81, 0x98, 0x42, 0x12, 0x5c, 0xec, 0x99,
0x79, 0x99, 0x25, 0xde, 0xa9, 0x95, 0x12, 0x4c, 0x0a, 0x4c, 0x1a, 0x3c, 0x41, 0x30, 0xae, 0x90,
0x0c, 0x17, 0x67, 0x49, 0x7e, 0x49, 0x62, 0x4e, 0x70, 0x66, 0x55, 0xaa, 0x04, 0xb3, 0x02, 0x93,
0x06, 0x6b, 0x10, 0x42, 0x00, 0xa4, 0xaf, 0x22, 0xbf, 0xc8, 0x3b, 0xb5, 0xd2, 0x50, 0x82, 0x13,
0xa2, 0x0f, 0xca, 0x15, 0x12, 0xe2, 0x62, 0xc9, 0x06, 0x09, 0x73, 0x81, 0x85, 0xc1, 0x6c, 0x84,
0x6a, 0x23, 0x09, 0x6e, 0x64, 0xd5, 0x46, 0x50, 0xd5, 0x46, 0x12, 0x3c, 0x70, 0xd5, 0x30, 0x31,
0x63, 0x09, 0x21, 0xb8, 0x98, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xd6, 0x7e, 0xa4, 0xed, 0xde,
0x00, 0x00, 0x00,
}
File diff suppressed because it is too large Load Diff
+340
View File
@@ -0,0 +1,340 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: trustInfo.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 TrustDeviceInfo struct {
Key *string `protobuf:"bytes,1,req,name=Key" json:"Key,omitempty"`
Val *string `protobuf:"bytes,2,req,name=val" json:"val,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TrustDeviceInfo) Reset() { *m = TrustDeviceInfo{} }
func (m *TrustDeviceInfo) String() string { return proto.CompactTextString(m) }
func (*TrustDeviceInfo) ProtoMessage() {}
func (*TrustDeviceInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_efeafd76de4e3385, []int{0}
}
func (m *TrustDeviceInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TrustDeviceInfo.Unmarshal(m, b)
}
func (m *TrustDeviceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TrustDeviceInfo.Marshal(b, m, deterministic)
}
func (m *TrustDeviceInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_TrustDeviceInfo.Merge(m, src)
}
func (m *TrustDeviceInfo) XXX_Size() int {
return xxx_messageInfo_TrustDeviceInfo.Size(m)
}
func (m *TrustDeviceInfo) XXX_DiscardUnknown() {
xxx_messageInfo_TrustDeviceInfo.DiscardUnknown(m)
}
var xxx_messageInfo_TrustDeviceInfo proto.InternalMessageInfo
func (m *TrustDeviceInfo) GetKey() string {
if m != nil && m.Key != nil {
return *m.Key
}
return ""
}
func (m *TrustDeviceInfo) GetVal() string {
if m != nil && m.Val != nil {
return *m.Val
}
return ""
}
type TrustData struct {
Tdi []*TrustDeviceInfo `protobuf:"bytes,1,rep,name=tdi" json:"tdi,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TrustData) Reset() { *m = TrustData{} }
func (m *TrustData) String() string { return proto.CompactTextString(m) }
func (*TrustData) ProtoMessage() {}
func (*TrustData) Descriptor() ([]byte, []int) {
return fileDescriptor_efeafd76de4e3385, []int{1}
}
func (m *TrustData) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TrustData.Unmarshal(m, b)
}
func (m *TrustData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TrustData.Marshal(b, m, deterministic)
}
func (m *TrustData) XXX_Merge(src proto.Message) {
xxx_messageInfo_TrustData.Merge(m, src)
}
func (m *TrustData) XXX_Size() int {
return xxx_messageInfo_TrustData.Size(m)
}
func (m *TrustData) XXX_DiscardUnknown() {
xxx_messageInfo_TrustData.DiscardUnknown(m)
}
var xxx_messageInfo_TrustData proto.InternalMessageInfo
func (m *TrustData) GetTdi() []*TrustDeviceInfo {
if m != nil {
return m.Tdi
}
return nil
}
type TrustReq struct {
Td *TrustData `protobuf:"bytes,1,req,name=td" json:"td,omitempty"`
Md *string `protobuf:"bytes,2,opt,name=md" json:"md,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TrustReq) Reset() { *m = TrustReq{} }
func (m *TrustReq) String() string { return proto.CompactTextString(m) }
func (*TrustReq) ProtoMessage() {}
func (*TrustReq) Descriptor() ([]byte, []int) {
return fileDescriptor_efeafd76de4e3385, []int{2}
}
func (m *TrustReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TrustReq.Unmarshal(m, b)
}
func (m *TrustReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TrustReq.Marshal(b, m, deterministic)
}
func (m *TrustReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_TrustReq.Merge(m, src)
}
func (m *TrustReq) XXX_Size() int {
return xxx_messageInfo_TrustReq.Size(m)
}
func (m *TrustReq) XXX_DiscardUnknown() {
xxx_messageInfo_TrustReq.DiscardUnknown(m)
}
var xxx_messageInfo_TrustReq proto.InternalMessageInfo
func (m *TrustReq) GetTd() *TrustData {
if m != nil {
return m.Td
}
return nil
}
func (m *TrustReq) GetMd() string {
if m != nil && m.Md != nil {
return *m.Md
}
return ""
}
type TrustSoftData struct {
SoftConfig []byte `protobuf:"bytes,1,req,name=softConfig" json:"softConfig,omitempty"`
SoftData []byte `protobuf:"bytes,2,req,name=softData" json:"softData,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TrustSoftData) Reset() { *m = TrustSoftData{} }
func (m *TrustSoftData) String() string { return proto.CompactTextString(m) }
func (*TrustSoftData) ProtoMessage() {}
func (*TrustSoftData) Descriptor() ([]byte, []int) {
return fileDescriptor_efeafd76de4e3385, []int{3}
}
func (m *TrustSoftData) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TrustSoftData.Unmarshal(m, b)
}
func (m *TrustSoftData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TrustSoftData.Marshal(b, m, deterministic)
}
func (m *TrustSoftData) XXX_Merge(src proto.Message) {
xxx_messageInfo_TrustSoftData.Merge(m, src)
}
func (m *TrustSoftData) XXX_Size() int {
return xxx_messageInfo_TrustSoftData.Size(m)
}
func (m *TrustSoftData) XXX_DiscardUnknown() {
xxx_messageInfo_TrustSoftData.DiscardUnknown(m)
}
var xxx_messageInfo_TrustSoftData proto.InternalMessageInfo
func (m *TrustSoftData) GetSoftConfig() []byte {
if m != nil {
return m.SoftConfig
}
return nil
}
func (m *TrustSoftData) GetSoftData() []byte {
if m != nil {
return m.SoftData
}
return nil
}
type TrustResponseData struct {
SoftData *TrustSoftData `protobuf:"bytes,2,req,name=softData" json:"softData,omitempty"`
DeviceToken *string `protobuf:"bytes,3,req,name=deviceToken" json:"deviceToken,omitempty"`
TimeStamp *uint32 `protobuf:"varint,4,req,name=timeStamp" json:"timeStamp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TrustResponseData) Reset() { *m = TrustResponseData{} }
func (m *TrustResponseData) String() string { return proto.CompactTextString(m) }
func (*TrustResponseData) ProtoMessage() {}
func (*TrustResponseData) Descriptor() ([]byte, []int) {
return fileDescriptor_efeafd76de4e3385, []int{4}
}
func (m *TrustResponseData) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TrustResponseData.Unmarshal(m, b)
}
func (m *TrustResponseData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TrustResponseData.Marshal(b, m, deterministic)
}
func (m *TrustResponseData) XXX_Merge(src proto.Message) {
xxx_messageInfo_TrustResponseData.Merge(m, src)
}
func (m *TrustResponseData) XXX_Size() int {
return xxx_messageInfo_TrustResponseData.Size(m)
}
func (m *TrustResponseData) XXX_DiscardUnknown() {
xxx_messageInfo_TrustResponseData.DiscardUnknown(m)
}
var xxx_messageInfo_TrustResponseData proto.InternalMessageInfo
func (m *TrustResponseData) GetSoftData() *TrustSoftData {
if m != nil {
return m.SoftData
}
return nil
}
func (m *TrustResponseData) GetDeviceToken() string {
if m != nil && m.DeviceToken != nil {
return *m.DeviceToken
}
return ""
}
func (m *TrustResponseData) GetTimeStamp() uint32 {
if m != nil && m.TimeStamp != nil {
return *m.TimeStamp
}
return 0
}
type TrustResponse struct {
BaseResponse *BaseResponse `protobuf:"bytes,1,req,name=BaseResponse" json:"BaseResponse,omitempty"`
TrustResponseData *TrustResponseData `protobuf:"bytes,2,req,name=TrustResponseData" json:"TrustResponseData,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TrustResponse) Reset() { *m = TrustResponse{} }
func (m *TrustResponse) String() string { return proto.CompactTextString(m) }
func (*TrustResponse) ProtoMessage() {}
func (*TrustResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_efeafd76de4e3385, []int{5}
}
func (m *TrustResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TrustResponse.Unmarshal(m, b)
}
func (m *TrustResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TrustResponse.Marshal(b, m, deterministic)
}
func (m *TrustResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_TrustResponse.Merge(m, src)
}
func (m *TrustResponse) XXX_Size() int {
return xxx_messageInfo_TrustResponse.Size(m)
}
func (m *TrustResponse) XXX_DiscardUnknown() {
xxx_messageInfo_TrustResponse.DiscardUnknown(m)
}
var xxx_messageInfo_TrustResponse proto.InternalMessageInfo
func (m *TrustResponse) GetBaseResponse() *BaseResponse {
if m != nil {
return m.BaseResponse
}
return nil
}
func (m *TrustResponse) GetTrustResponseData() *TrustResponseData {
if m != nil {
return m.TrustResponseData
}
return nil
}
func init() {
proto.RegisterType((*TrustDeviceInfo)(nil), "mmproto.TrustDeviceInfo")
proto.RegisterType((*TrustData)(nil), "mmproto.TrustData")
proto.RegisterType((*TrustReq)(nil), "mmproto.TrustReq")
proto.RegisterType((*TrustSoftData)(nil), "mmproto.TrustSoftData")
proto.RegisterType((*TrustResponseData)(nil), "mmproto.TrustResponseData")
proto.RegisterType((*TrustResponse)(nil), "mmproto.TrustResponse")
}
func init() {
proto.RegisterFile("trustInfo.proto", fileDescriptor_efeafd76de4e3385)
}
var fileDescriptor_efeafd76de4e3385 = []byte{
// 312 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x50, 0xcf, 0x4a, 0xfb, 0x30,
0x1c, 0xa7, 0xe9, 0x0f, 0x7e, 0xeb, 0xb7, 0x9b, 0xd3, 0x80, 0x12, 0x86, 0x48, 0xc9, 0xa9, 0x78,
0xd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