1087 lines
33 KiB
Go
1087 lines
33 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// versions:
|
||
|
// protoc-gen-go v1.30.0
|
||
|
// protoc v3.21.12
|
||
|
// source: messages.proto
|
||
|
|
||
|
package binary
|
||
|
|
||
|
import (
|
||
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
|
reflect "reflect"
|
||
|
sync "sync"
|
||
|
)
|
||
|
|
||
|
const (
|
||
|
// Verify that this generated code is sufficiently up-to-date.
|
||
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||
|
)
|
||
|
|
||
|
type EncodedPayload struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
|
Opcode int64 `protobuf:"varint,2,opt,name=opcode,proto3" json:"opcode,omitempty"`
|
||
|
EncryptedData []byte `protobuf:"bytes,5,opt,name=encryptedData,proto3" json:"encryptedData,omitempty"`
|
||
|
SessionId string `protobuf:"bytes,6,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *EncodedPayload) Reset() {
|
||
|
*x = EncodedPayload{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_messages_proto_msgTypes[0]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *EncodedPayload) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*EncodedPayload) ProtoMessage() {}
|
||
|
|
||
|
func (x *EncodedPayload) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_messages_proto_msgTypes[0]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use EncodedPayload.ProtoReflect.Descriptor instead.
|
||
|
func (*EncodedPayload) Descriptor() ([]byte, []int) {
|
||
|
return file_messages_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
func (x *EncodedPayload) GetRequestId() string {
|
||
|
if x != nil {
|
||
|
return x.RequestId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *EncodedPayload) GetOpcode() int64 {
|
||
|
if x != nil {
|
||
|
return x.Opcode
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *EncodedPayload) GetEncryptedData() []byte {
|
||
|
if x != nil {
|
||
|
return x.EncryptedData
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *EncodedPayload) GetSessionId() string {
|
||
|
if x != nil {
|
||
|
return x.SessionId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type EncodedResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
|
// int64 msg = 2;
|
||
|
UnixNano int64 `protobuf:"varint,3,opt,name=unixNano,proto3" json:"unixNano,omitempty"`
|
||
|
Opcode int64 `protobuf:"varint,4,opt,name=opcode,proto3" json:"opcode,omitempty"`
|
||
|
// bytes keyData = 5;
|
||
|
Sub bool `protobuf:"varint,6,opt,name=sub,proto3" json:"sub,omitempty"`
|
||
|
Third int64 `protobuf:"varint,7,opt,name=third,proto3" json:"third,omitempty"`
|
||
|
EncryptedData []byte `protobuf:"bytes,8,opt,name=encryptedData,proto3" json:"encryptedData,omitempty"`
|
||
|
Field9 bool `protobuf:"varint,9,opt,name=field9,proto3" json:"field9,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *EncodedResponse) Reset() {
|
||
|
*x = EncodedResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_messages_proto_msgTypes[1]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *EncodedResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*EncodedResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *EncodedResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_messages_proto_msgTypes[1]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use EncodedResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*EncodedResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_messages_proto_rawDescGZIP(), []int{1}
|
||
|
}
|
||
|
|
||
|
func (x *EncodedResponse) GetRequestId() string {
|
||
|
if x != nil {
|
||
|
return x.RequestId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *EncodedResponse) GetUnixNano() int64 {
|
||
|
if x != nil {
|
||
|
return x.UnixNano
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *EncodedResponse) GetOpcode() int64 {
|
||
|
if x != nil {
|
||
|
return x.Opcode
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *EncodedResponse) GetSub() bool {
|
||
|
if x != nil {
|
||
|
return x.Sub
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (x *EncodedResponse) GetThird() int64 {
|
||
|
if x != nil {
|
||
|
return x.Third
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *EncodedResponse) GetEncryptedData() []byte {
|
||
|
if x != nil {
|
||
|
return x.EncryptedData
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *EncodedResponse) GetField9() bool {
|
||
|
if x != nil {
|
||
|
return x.Field9
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
type MessageData struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
|
RoutingOpCode int64 `protobuf:"varint,2,opt,name=routing_op_code,json=routingOpCode,proto3" json:"routing_op_code,omitempty"`
|
||
|
Ts1 string `protobuf:"bytes,3,opt,name=ts1,proto3" json:"ts1,omitempty"`
|
||
|
Field5 int64 `protobuf:"varint,5,opt,name=field5,proto3" json:"field5,omitempty"`
|
||
|
Ts2 string `protobuf:"bytes,6,opt,name=ts2,proto3" json:"ts2,omitempty"`
|
||
|
SomeString string `protobuf:"bytes,7,opt,name=someString,proto3" json:"someString,omitempty"`
|
||
|
Mobile *Device `protobuf:"bytes,8,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
||
|
Browser *Device `protobuf:"bytes,9,opt,name=browser,proto3" json:"browser,omitempty"`
|
||
|
EncodedData string `protobuf:"bytes,12,opt,name=encodedData,proto3" json:"encodedData,omitempty"`
|
||
|
EncodedRequestId string `protobuf:"bytes,17,opt,name=encoded_request_id,json=encodedRequestId,proto3" json:"encoded_request_id,omitempty"`
|
||
|
MsgTypeArr *MsgTypeArr `protobuf:"bytes,23,opt,name=msgTypeArr,proto3" json:"msgTypeArr,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *MessageData) Reset() {
|
||
|
*x = MessageData{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_messages_proto_msgTypes[2]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *MessageData) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*MessageData) ProtoMessage() {}
|
||
|
|
||
|
func (x *MessageData) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_messages_proto_msgTypes[2]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use MessageData.ProtoReflect.Descriptor instead.
|
||
|
func (*MessageData) Descriptor() ([]byte, []int) {
|
||
|
return file_messages_proto_rawDescGZIP(), []int{2}
|
||
|
}
|
||
|
|
||
|
func (x *MessageData) GetRequestId() string {
|
||
|
if x != nil {
|
||
|
return x.RequestId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *MessageData) GetRoutingOpCode() int64 {
|
||
|
if x != nil {
|
||
|
return x.RoutingOpCode
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *MessageData) GetTs1() string {
|
||
|
if x != nil {
|
||
|
return x.Ts1
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *MessageData) GetField5() int64 {
|
||
|
if x != nil {
|
||
|
return x.Field5
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *MessageData) GetTs2() string {
|
||
|
if x != nil {
|
||
|
return x.Ts2
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *MessageData) GetSomeString() string {
|
||
|
if x != nil {
|
||
|
return x.SomeString
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *MessageData) GetMobile() *Device {
|
||
|
if x != nil {
|
||
|
return x.Mobile
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *MessageData) GetBrowser() *Device {
|
||
|
if x != nil {
|
||
|
return x.Browser
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *MessageData) GetEncodedData() string {
|
||
|
if x != nil {
|
||
|
return x.EncodedData
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *MessageData) GetEncodedRequestId() string {
|
||
|
if x != nil {
|
||
|
return x.EncodedRequestId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *MessageData) GetMsgTypeArr() *MsgTypeArr {
|
||
|
if x != nil {
|
||
|
return x.MsgTypeArr
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type MsgTypeArr struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
EmptyArr *EmptyArr `protobuf:"bytes,1,opt,name=emptyArr,proto3" json:"emptyArr,omitempty"`
|
||
|
MsgType int64 `protobuf:"varint,2,opt,name=msgType,proto3" json:"msgType,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *MsgTypeArr) Reset() {
|
||
|
*x = MsgTypeArr{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_messages_proto_msgTypes[3]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *MsgTypeArr) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*MsgTypeArr) ProtoMessage() {}
|
||
|
|
||
|
func (x *MsgTypeArr) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_messages_proto_msgTypes[3]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use MsgTypeArr.ProtoReflect.Descriptor instead.
|
||
|
func (*MsgTypeArr) Descriptor() ([]byte, []int) {
|
||
|
return file_messages_proto_rawDescGZIP(), []int{3}
|
||
|
}
|
||
|
|
||
|
func (x *MsgTypeArr) GetEmptyArr() *EmptyArr {
|
||
|
if x != nil {
|
||
|
return x.EmptyArr
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *MsgTypeArr) GetMsgType() int64 {
|
||
|
if x != nil {
|
||
|
return x.MsgType
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
type EmptyArr struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
}
|
||
|
|
||
|
func (x *EmptyArr) Reset() {
|
||
|
*x = EmptyArr{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_messages_proto_msgTypes[4]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *EmptyArr) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*EmptyArr) ProtoMessage() {}
|
||
|
|
||
|
func (x *EmptyArr) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_messages_proto_msgTypes[4]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use EmptyArr.ProtoReflect.Descriptor instead.
|
||
|
func (*EmptyArr) Descriptor() ([]byte, []int) {
|
||
|
return file_messages_proto_rawDescGZIP(), []int{4}
|
||
|
}
|
||
|
|
||
|
type AuthMessage struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
|
RpcKey string `protobuf:"bytes,6,opt,name=rpcKey,proto3" json:"rpcKey,omitempty"`
|
||
|
Date *Date `protobuf:"bytes,7,opt,name=date,proto3" json:"date,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *AuthMessage) Reset() {
|
||
|
*x = AuthMessage{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_messages_proto_msgTypes[5]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *AuthMessage) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*AuthMessage) ProtoMessage() {}
|
||
|
|
||
|
func (x *AuthMessage) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_messages_proto_msgTypes[5]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use AuthMessage.ProtoReflect.Descriptor instead.
|
||
|
func (*AuthMessage) Descriptor() ([]byte, []int) {
|
||
|
return file_messages_proto_rawDescGZIP(), []int{5}
|
||
|
}
|
||
|
|
||
|
func (x *AuthMessage) GetRequestId() string {
|
||
|
if x != nil {
|
||
|
return x.RequestId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *AuthMessage) GetRpcKey() string {
|
||
|
if x != nil {
|
||
|
return x.RpcKey
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *AuthMessage) GetDate() *Date {
|
||
|
if x != nil {
|
||
|
return x.Date
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type AuthMessageBytes struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
|
RpcKey []byte `protobuf:"bytes,6,opt,name=rpcKey,proto3" json:"rpcKey,omitempty"`
|
||
|
Date *Date `protobuf:"bytes,7,opt,name=date,proto3" json:"date,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *AuthMessageBytes) Reset() {
|
||
|
*x = AuthMessageBytes{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_messages_proto_msgTypes[6]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *AuthMessageBytes) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*AuthMessageBytes) ProtoMessage() {}
|
||
|
|
||
|
func (x *AuthMessageBytes) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_messages_proto_msgTypes[6]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use AuthMessageBytes.ProtoReflect.Descriptor instead.
|
||
|
func (*AuthMessageBytes) Descriptor() ([]byte, []int) {
|
||
|
return file_messages_proto_rawDescGZIP(), []int{6}
|
||
|
}
|
||
|
|
||
|
func (x *AuthMessageBytes) GetRequestId() string {
|
||
|
if x != nil {
|
||
|
return x.RequestId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *AuthMessageBytes) GetRpcKey() []byte {
|
||
|
if x != nil {
|
||
|
return x.RpcKey
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *AuthMessageBytes) GetDate() *Date {
|
||
|
if x != nil {
|
||
|
return x.Date
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type BaseData struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Ttl int64 `protobuf:"varint,2,opt,name=Ttl,proto3" json:"Ttl,omitempty"`
|
||
|
EmptyArr *EmptyArr `protobuf:"bytes,6,opt,name=emptyArr,proto3" json:"emptyArr,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *BaseData) Reset() {
|
||
|
*x = BaseData{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_messages_proto_msgTypes[7]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *BaseData) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*BaseData) ProtoMessage() {}
|
||
|
|
||
|
func (x *BaseData) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_messages_proto_msgTypes[7]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use BaseData.ProtoReflect.Descriptor instead.
|
||
|
func (*BaseData) Descriptor() ([]byte, []int) {
|
||
|
return file_messages_proto_rawDescGZIP(), []int{7}
|
||
|
}
|
||
|
|
||
|
func (x *BaseData) GetTtl() int64 {
|
||
|
if x != nil {
|
||
|
return x.Ttl
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *BaseData) GetEmptyArr() *EmptyArr {
|
||
|
if x != nil {
|
||
|
return x.EmptyArr
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type RPCResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Unknown []byte `protobuf:"bytes,1,opt,name=unknown,proto3" json:"unknown,omitempty"`
|
||
|
Data *MessageData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *RPCResponse) Reset() {
|
||
|
*x = RPCResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_messages_proto_msgTypes[8]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *RPCResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*RPCResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *RPCResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_messages_proto_msgTypes[8]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use RPCResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*RPCResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_messages_proto_rawDescGZIP(), []int{8}
|
||
|
}
|
||
|
|
||
|
func (x *RPCResponse) GetUnknown() []byte {
|
||
|
if x != nil {
|
||
|
return x.Unknown
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *RPCResponse) GetData() *MessageData {
|
||
|
if x != nil {
|
||
|
return x.Data
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type Device struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
|
||
|
RegistrationId string `protobuf:"bytes,2,opt,name=registrationId,proto3" json:"registrationId,omitempty"`
|
||
|
Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Device) Reset() {
|
||
|
*x = Device{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_messages_proto_msgTypes[9]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Device) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Device) ProtoMessage() {}
|
||
|
|
||
|
func (x *Device) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_messages_proto_msgTypes[9]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use Device.ProtoReflect.Descriptor instead.
|
||
|
func (*Device) Descriptor() ([]byte, []int) {
|
||
|
return file_messages_proto_rawDescGZIP(), []int{9}
|
||
|
}
|
||
|
|
||
|
func (x *Device) GetUserId() int64 {
|
||
|
if x != nil {
|
||
|
return x.UserId
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Device) GetRegistrationId() string {
|
||
|
if x != nil {
|
||
|
return x.RegistrationId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Device) GetNetwork() string {
|
||
|
if x != nil {
|
||
|
return x.Network
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type Date struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Year int64 `protobuf:"varint,3,opt,name=year,proto3" json:"year,omitempty"`
|
||
|
Seq1 int64 `protobuf:"varint,4,opt,name=seq1,proto3" json:"seq1,omitempty"`
|
||
|
Seq2 int64 `protobuf:"varint,5,opt,name=seq2,proto3" json:"seq2,omitempty"`
|
||
|
Seq3 int64 `protobuf:"varint,7,opt,name=seq3,proto3" json:"seq3,omitempty"`
|
||
|
Seq4 int64 `protobuf:"varint,9,opt,name=seq4,proto3" json:"seq4,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Date) Reset() {
|
||
|
*x = Date{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_messages_proto_msgTypes[10]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Date) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Date) ProtoMessage() {}
|
||
|
|
||
|
func (x *Date) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_messages_proto_msgTypes[10]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use Date.ProtoReflect.Descriptor instead.
|
||
|
func (*Date) Descriptor() ([]byte, []int) {
|
||
|
return file_messages_proto_rawDescGZIP(), []int{10}
|
||
|
}
|
||
|
|
||
|
func (x *Date) GetYear() int64 {
|
||
|
if x != nil {
|
||
|
return x.Year
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Date) GetSeq1() int64 {
|
||
|
if x != nil {
|
||
|
return x.Seq1
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Date) GetSeq2() int64 {
|
||
|
if x != nil {
|
||
|
return x.Seq2
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Date) GetSeq3() int64 {
|
||
|
if x != nil {
|
||
|
return x.Seq3
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Date) GetSeq4() int64 {
|
||
|
if x != nil {
|
||
|
return x.Seq4
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
var File_messages_proto protoreflect.FileDescriptor
|
||
|
|
||
|
var file_messages_proto_rawDesc = []byte{
|
||
|
0x0a, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||
|
0x12, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x8c, 0x01, 0x0a, 0x0e, 0x45,
|
||
|
0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1d, 0x0a,
|
||
|
0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
|
0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06,
|
||
|
0x6f, 0x70, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x70,
|
||
|
0x63, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65,
|
||
|
0x64, 0x44, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x65, 0x6e, 0x63,
|
||
|
0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65,
|
||
|
0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
||
|
0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xca, 0x01, 0x0a, 0x0f, 0x45, 0x6e,
|
||
|
0x63, 0x6f, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a,
|
||
|
0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
|
0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08,
|
||
|
0x75, 0x6e, 0x69, 0x78, 0x4e, 0x61, 0x6e, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
|
||
|
0x75, 0x6e, 0x69, 0x78, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x70, 0x63, 0x6f,
|
||
|
0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x70, 0x63, 0x6f, 0x64, 0x65,
|
||
|
0x12, 0x10, 0x0a, 0x03, 0x73, 0x75, 0x62, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x73,
|
||
|
0x75, 0x62, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x68, 0x69, 0x72, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28,
|
||
|
0x03, 0x52, 0x05, 0x74, 0x68, 0x69, 0x72, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x65, 0x6e, 0x63, 0x72,
|
||
|
0x79, 0x70, 0x74, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
||
|
0x0d, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16,
|
||
|
0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x39, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06,
|
||
|
0x66, 0x69, 0x65, 0x6c, 0x64, 0x39, 0x22, 0x8c, 0x03, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
||
|
0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||
|
0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75,
|
||
|
0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67,
|
||
|
0x5f, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d,
|
||
|
0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a,
|
||
|
0x03, 0x74, 0x73, 0x31, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x73, 0x31, 0x12,
|
||
|
0x16, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x35, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||
|
0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x35, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x73, 0x32, 0x18, 0x06,
|
||
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x73, 0x32, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x6f, 0x6d,
|
||
|
0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73,
|
||
|
0x6f, 0x6d, 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x28, 0x0a, 0x06, 0x6d, 0x6f, 0x62,
|
||
|
0x69, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x65, 0x73, 0x73,
|
||
|
0x61, 0x67, 0x65, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x06, 0x6d, 0x6f, 0x62,
|
||
|
0x69, 0x6c, 0x65, 0x12, 0x2a, 0x0a, 0x07, 0x62, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x18, 0x09,
|
||
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e,
|
||
|
0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x62, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x12,
|
||
|
0x20, 0x0a, 0x0b, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x18, 0x0c,
|
||
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x44, 0x61, 0x74,
|
||
|
0x61, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x71,
|
||
|
0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x65,
|
||
|
0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12,
|
||
|
0x34, 0x0a, 0x0a, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x41, 0x72, 0x72, 0x18, 0x17, 0x20,
|
||
|
0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x4d,
|
||
|
0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x41, 0x72, 0x72, 0x52, 0x0a, 0x6d, 0x73, 0x67, 0x54, 0x79,
|
||
|
0x70, 0x65, 0x41, 0x72, 0x72, 0x22, 0x56, 0x0a, 0x0a, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65,
|
||
|
0x41, 0x72, 0x72, 0x12, 0x2e, 0x0a, 0x08, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x41, 0x72, 0x72, 0x18,
|
||
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73,
|
||
|
0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x41, 0x72, 0x72, 0x52, 0x08, 0x65, 0x6d, 0x70, 0x74, 0x79,
|
||
|
0x41, 0x72, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02,
|
||
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0x0a, 0x0a,
|
||
|
0x08, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x41, 0x72, 0x72, 0x22, 0x68, 0x0a, 0x0b, 0x41, 0x75, 0x74,
|
||
|
0x68, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75,
|
||
|
0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65,
|
||
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x70, 0x63, 0x4b, 0x65,
|
||
|
0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x70, 0x63, 0x4b, 0x65, 0x79, 0x12,
|
||
|
0x22, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e,
|
||
|
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x04, 0x64,
|
||
|
0x61, 0x74, 0x65, 0x22, 0x6d, 0x0a, 0x10, 0x41, 0x75, 0x74, 0x68, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
||
|
0x67, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65,
|
||
|
0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71,
|
||
|
0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x70, 0x63, 0x4b, 0x65, 0x79,
|
||
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x72, 0x70, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x22,
|
||
|
0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6d,
|
||
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x04, 0x64, 0x61,
|
||
|
0x74, 0x65, 0x22, 0x4c, 0x0a, 0x08, 0x42, 0x61, 0x73, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x10,
|
||
|
0x0a, 0x03, 0x54, 0x74, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x54, 0x74, 0x6c,
|
||
|
0x12, 0x2e, 0x0a, 0x08, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x41, 0x72, 0x72, 0x18, 0x06, 0x20, 0x01,
|
||
|
0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x45, 0x6d,
|
||
|
0x70, 0x74, 0x79, 0x41, 0x72, 0x72, 0x52, 0x08, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x41, 0x72, 0x72,
|
||
|
0x22, 0x52, 0x0a, 0x0b, 0x52, 0x50, 0x43, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||
|
0x18, 0x0a, 0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
|
||
|
0x52, 0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x12, 0x29, 0x0a, 0x04, 0x64, 0x61, 0x74,
|
||
|
0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
||
|
0x65, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04,
|
||
|
0x64, 0x61, 0x74, 0x61, 0x22, 0x62, 0x0a, 0x06, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x16,
|
||
|
0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
|
||
|
0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
|
||
|
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
|
||
|
0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x18,
|
||
|
0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||
|
0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x6a, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x65,
|
||
|
0x12, 0x12, 0x0a, 0x04, 0x79, 0x65, 0x61, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
|
||
|
0x79, 0x65, 0x61, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x71, 0x31, 0x18, 0x04, 0x20, 0x01,
|
||
|
0x28, 0x03, 0x52, 0x04, 0x73, 0x65, 0x71, 0x31, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x71, 0x32,
|
||
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x65, 0x71, 0x32, 0x12, 0x12, 0x0a, 0x04,
|
||
|
0x73, 0x65, 0x71, 0x33, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x65, 0x71, 0x33,
|
||
|
0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x71, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
|
||
|
0x73, 0x65, 0x71, 0x34, 0x42, 0x0e, 0x5a, 0x0c, 0x2e, 0x2e, 0x2f, 0x2e, 0x2e, 0x2f, 0x62, 0x69,
|
||
|
0x6e, 0x61, 0x72, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
|
}
|
||
|
|
||
|
var (
|
||
|
file_messages_proto_rawDescOnce sync.Once
|
||
|
file_messages_proto_rawDescData = file_messages_proto_rawDesc
|
||
|
)
|
||
|
|
||
|
func file_messages_proto_rawDescGZIP() []byte {
|
||
|
file_messages_proto_rawDescOnce.Do(func() {
|
||
|
file_messages_proto_rawDescData = protoimpl.X.CompressGZIP(file_messages_proto_rawDescData)
|
||
|
})
|
||
|
return file_messages_proto_rawDescData
|
||
|
}
|
||
|
|
||
|
var file_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
||
|
var file_messages_proto_goTypes = []interface{}{
|
||
|
(*EncodedPayload)(nil), // 0: messages.EncodedPayload
|
||
|
(*EncodedResponse)(nil), // 1: messages.EncodedResponse
|
||
|
(*MessageData)(nil), // 2: messages.MessageData
|
||
|
(*MsgTypeArr)(nil), // 3: messages.MsgTypeArr
|
||
|
(*EmptyArr)(nil), // 4: messages.EmptyArr
|
||
|
(*AuthMessage)(nil), // 5: messages.AuthMessage
|
||
|
(*AuthMessageBytes)(nil), // 6: messages.AuthMessageBytes
|
||
|
(*BaseData)(nil), // 7: messages.BaseData
|
||
|
(*RPCResponse)(nil), // 8: messages.RPCResponse
|
||
|
(*Device)(nil), // 9: messages.Device
|
||
|
(*Date)(nil), // 10: messages.Date
|
||
|
}
|
||
|
var file_messages_proto_depIdxs = []int32{
|
||
|
9, // 0: messages.MessageData.mobile:type_name -> messages.Device
|
||
|
9, // 1: messages.MessageData.browser:type_name -> messages.Device
|
||
|
3, // 2: messages.MessageData.msgTypeArr:type_name -> messages.MsgTypeArr
|
||
|
4, // 3: messages.MsgTypeArr.emptyArr:type_name -> messages.EmptyArr
|
||
|
10, // 4: messages.AuthMessage.date:type_name -> messages.Date
|
||
|
10, // 5: messages.AuthMessageBytes.date:type_name -> messages.Date
|
||
|
4, // 6: messages.BaseData.emptyArr:type_name -> messages.EmptyArr
|
||
|
2, // 7: messages.RPCResponse.data:type_name -> messages.MessageData
|
||
|
8, // [8:8] is the sub-list for method output_type
|
||
|
8, // [8:8] is the sub-list for method input_type
|
||
|
8, // [8:8] is the sub-list for extension type_name
|
||
|
8, // [8:8] is the sub-list for extension extendee
|
||
|
0, // [0:8] is the sub-list for field type_name
|
||
|
}
|
||
|
|
||
|
func init() { file_messages_proto_init() }
|
||
|
func file_messages_proto_init() {
|
||
|
if File_messages_proto != nil {
|
||
|
return
|
||
|
}
|
||
|
if !protoimpl.UnsafeEnabled {
|
||
|
file_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*EncodedPayload); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_messages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*EncodedResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_messages_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*MessageData); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_messages_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*MsgTypeArr); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_messages_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*EmptyArr); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_messages_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*AuthMessage); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_messages_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*AuthMessageBytes); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_messages_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*BaseData); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_messages_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*RPCResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_messages_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*Device); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_messages_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*Date); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
type x struct{}
|
||
|
out := protoimpl.TypeBuilder{
|
||
|
File: protoimpl.DescBuilder{
|
||
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
|
RawDescriptor: file_messages_proto_rawDesc,
|
||
|
NumEnums: 0,
|
||
|
NumMessages: 11,
|
||
|
NumExtensions: 0,
|
||
|
NumServices: 0,
|
||
|
},
|
||
|
GoTypes: file_messages_proto_goTypes,
|
||
|
DependencyIndexes: file_messages_proto_depIdxs,
|
||
|
MessageInfos: file_messages_proto_msgTypes,
|
||
|
}.Build()
|
||
|
File_messages_proto = out.File
|
||
|
file_messages_proto_rawDesc = nil
|
||
|
file_messages_proto_goTypes = nil
|
||
|
file_messages_proto_depIdxs = nil
|
||
|
}
|