1184 lines
34 KiB
Go
1184 lines
34 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// versions:
|
||
|
// protoc-gen-go v1.30.0
|
||
|
// protoc v3.21.12
|
||
|
// source: rpc.proto
|
||
|
|
||
|
package gmproto
|
||
|
|
||
|
import (
|
||
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
|
reflect "reflect"
|
||
|
sync "sync"
|
||
|
)
|
||
|
|
||
|
import _ "embed"
|
||
|
|
||
|
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 BugleRoute int32
|
||
|
|
||
|
const (
|
||
|
BugleRoute_UNKNOWN_BUGLE_ROUTE BugleRoute = 0
|
||
|
BugleRoute_DataEvent BugleRoute = 19
|
||
|
BugleRoute_PairEvent BugleRoute = 14
|
||
|
)
|
||
|
|
||
|
// Enum value maps for BugleRoute.
|
||
|
var (
|
||
|
BugleRoute_name = map[int32]string{
|
||
|
0: "UNKNOWN_BUGLE_ROUTE",
|
||
|
19: "DataEvent",
|
||
|
14: "PairEvent",
|
||
|
}
|
||
|
BugleRoute_value = map[string]int32{
|
||
|
"UNKNOWN_BUGLE_ROUTE": 0,
|
||
|
"DataEvent": 19,
|
||
|
"PairEvent": 14,
|
||
|
}
|
||
|
)
|
||
|
|
||
|
func (x BugleRoute) Enum() *BugleRoute {
|
||
|
p := new(BugleRoute)
|
||
|
*p = x
|
||
|
return p
|
||
|
}
|
||
|
|
||
|
func (x BugleRoute) String() string {
|
||
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
|
}
|
||
|
|
||
|
func (BugleRoute) Descriptor() protoreflect.EnumDescriptor {
|
||
|
return file_rpc_proto_enumTypes[0].Descriptor()
|
||
|
}
|
||
|
|
||
|
func (BugleRoute) Type() protoreflect.EnumType {
|
||
|
return &file_rpc_proto_enumTypes[0]
|
||
|
}
|
||
|
|
||
|
func (x BugleRoute) Number() protoreflect.EnumNumber {
|
||
|
return protoreflect.EnumNumber(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use BugleRoute.Descriptor instead.
|
||
|
func (BugleRoute) EnumDescriptor() ([]byte, []int) {
|
||
|
return file_rpc_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
type ActionType int32
|
||
|
|
||
|
const (
|
||
|
ActionType_UNSPECIFIED ActionType = 0
|
||
|
ActionType_LIST_CONVERSATIONS ActionType = 1
|
||
|
ActionType_LIST_CONVERSATIONS_SYNC ActionType = 1111 // fake value
|
||
|
ActionType_LIST_MESSAGES ActionType = 2
|
||
|
ActionType_SEND_MESSAGE ActionType = 3
|
||
|
ActionType_MESSAGE_UPDATES ActionType = 4
|
||
|
ActionType_LIST_CONTACTS ActionType = 6
|
||
|
ActionType_CONVERSATION_UPDATES ActionType = 7
|
||
|
ActionType_GET_OR_CREATE_CONVERSATION ActionType = 9
|
||
|
ActionType_MESSAGE_READ ActionType = 10
|
||
|
ActionType_BROWSER_PRESENCE_CHECK ActionType = 11
|
||
|
ActionType_TYPING_UPDATES ActionType = 12
|
||
|
ActionType_SETTINGS_UPDATE ActionType = 13
|
||
|
ActionType_USER_ALERT ActionType = 14
|
||
|
ActionType_UPDATE_CONVERSATION ActionType = 15
|
||
|
ActionType_GET_UPDATES ActionType = 16
|
||
|
ActionType_ACK_BROWSER_PRESENCE ActionType = 17
|
||
|
ActionType_LIST_STICKER_SETS ActionType = 18
|
||
|
ActionType_LEAVE_RCS_GROUP ActionType = 19
|
||
|
ActionType_ADD_PARTICIPANT_TO_RCS_GROUP ActionType = 20
|
||
|
ActionType_GET_CONVERSATION_TYPE ActionType = 21
|
||
|
ActionType_NOTIFY_DITTO_ACTIVITY ActionType = 22
|
||
|
ActionType_DELETE_MESSAGE ActionType = 23
|
||
|
ActionType_INSTALL_STICKER_SET ActionType = 24
|
||
|
ActionType_RESEND_MESSAGE ActionType = 25
|
||
|
ActionType_GET_CONTACT_RCS_GROUP_STATUS ActionType = 26
|
||
|
ActionType_DOWNLOAD_MESSAGE ActionType = 27
|
||
|
ActionType_LIST_TOP_CONTACTS ActionType = 28
|
||
|
ActionType_GET_CONTACTS_THUMBNAIL ActionType = 29
|
||
|
ActionType_CHANGE_PARTICIPANT_COLOR ActionType = 30
|
||
|
ActionType_IS_BUGLE_DEFAULT ActionType = 31
|
||
|
ActionType_STICKER_USER_CONTEXT ActionType = 32
|
||
|
ActionType_FAVORITE_STICKER_PACKS ActionType = 33
|
||
|
ActionType_RECENT_STICKERS ActionType = 34
|
||
|
ActionType_UPDATE_RECENT_STICKERS ActionType = 35
|
||
|
ActionType_GET_FULL_SIZE_IMAGE ActionType = 36
|
||
|
ActionType_GET_PARTICIPANTS_THUMBNAIL ActionType = 37
|
||
|
ActionType_SEND_REACTION ActionType = 38
|
||
|
ActionType_SEND_REPLY ActionType = 39
|
||
|
ActionType_GET_BLOB_FOR_ATTACHMENT ActionType = 40
|
||
|
ActionType_GET_DEVICES_AVAILABLE_FOR_GAIA_PAIRING ActionType = 41
|
||
|
ActionType_CREATE_GAIA_PAIRING ActionType = 42
|
||
|
ActionType_GET_CONVERSATION ActionType = 43
|
||
|
ActionType_CREATE_GAIA_PAIRING_CLIENT_INIT ActionType = 44
|
||
|
ActionType_CREATE_GAIA_PAIRING_CLIENT_FINISHED ActionType = 45
|
||
|
ActionType_UNPAIR_GAIA_PAIRING ActionType = 46
|
||
|
)
|
||
|
|
||
|
// Enum value maps for ActionType.
|
||
|
var (
|
||
|
ActionType_name = map[int32]string{
|
||
|
0: "UNSPECIFIED",
|
||
|
1: "LIST_CONVERSATIONS",
|
||
|
1111: "LIST_CONVERSATIONS_SYNC",
|
||
|
2: "LIST_MESSAGES",
|
||
|
3: "SEND_MESSAGE",
|
||
|
4: "MESSAGE_UPDATES",
|
||
|
6: "LIST_CONTACTS",
|
||
|
7: "CONVERSATION_UPDATES",
|
||
|
9: "GET_OR_CREATE_CONVERSATION",
|
||
|
10: "MESSAGE_READ",
|
||
|
11: "BROWSER_PRESENCE_CHECK",
|
||
|
12: "TYPING_UPDATES",
|
||
|
13: "SETTINGS_UPDATE",
|
||
|
14: "USER_ALERT",
|
||
|
15: "UPDATE_CONVERSATION",
|
||
|
16: "GET_UPDATES",
|
||
|
17: "ACK_BROWSER_PRESENCE",
|
||
|
18: "LIST_STICKER_SETS",
|
||
|
19: "LEAVE_RCS_GROUP",
|
||
|
20: "ADD_PARTICIPANT_TO_RCS_GROUP",
|
||
|
21: "GET_CONVERSATION_TYPE",
|
||
|
22: "NOTIFY_DITTO_ACTIVITY",
|
||
|
23: "DELETE_MESSAGE",
|
||
|
24: "INSTALL_STICKER_SET",
|
||
|
25: "RESEND_MESSAGE",
|
||
|
26: "GET_CONTACT_RCS_GROUP_STATUS",
|
||
|
27: "DOWNLOAD_MESSAGE",
|
||
|
28: "LIST_TOP_CONTACTS",
|
||
|
29: "GET_CONTACTS_THUMBNAIL",
|
||
|
30: "CHANGE_PARTICIPANT_COLOR",
|
||
|
31: "IS_BUGLE_DEFAULT",
|
||
|
32: "STICKER_USER_CONTEXT",
|
||
|
33: "FAVORITE_STICKER_PACKS",
|
||
|
34: "RECENT_STICKERS",
|
||
|
35: "UPDATE_RECENT_STICKERS",
|
||
|
36: "GET_FULL_SIZE_IMAGE",
|
||
|
37: "GET_PARTICIPANTS_THUMBNAIL",
|
||
|
38: "SEND_REACTION",
|
||
|
39: "SEND_REPLY",
|
||
|
40: "GET_BLOB_FOR_ATTACHMENT",
|
||
|
41: "GET_DEVICES_AVAILABLE_FOR_GAIA_PAIRING",
|
||
|
42: "CREATE_GAIA_PAIRING",
|
||
|
43: "GET_CONVERSATION",
|
||
|
44: "CREATE_GAIA_PAIRING_CLIENT_INIT",
|
||
|
45: "CREATE_GAIA_PAIRING_CLIENT_FINISHED",
|
||
|
46: "UNPAIR_GAIA_PAIRING",
|
||
|
}
|
||
|
ActionType_value = map[string]int32{
|
||
|
"UNSPECIFIED": 0,
|
||
|
"LIST_CONVERSATIONS": 1,
|
||
|
"LIST_CONVERSATIONS_SYNC": 1111,
|
||
|
"LIST_MESSAGES": 2,
|
||
|
"SEND_MESSAGE": 3,
|
||
|
"MESSAGE_UPDATES": 4,
|
||
|
"LIST_CONTACTS": 6,
|
||
|
"CONVERSATION_UPDATES": 7,
|
||
|
"GET_OR_CREATE_CONVERSATION": 9,
|
||
|
"MESSAGE_READ": 10,
|
||
|
"BROWSER_PRESENCE_CHECK": 11,
|
||
|
"TYPING_UPDATES": 12,
|
||
|
"SETTINGS_UPDATE": 13,
|
||
|
"USER_ALERT": 14,
|
||
|
"UPDATE_CONVERSATION": 15,
|
||
|
"GET_UPDATES": 16,
|
||
|
"ACK_BROWSER_PRESENCE": 17,
|
||
|
"LIST_STICKER_SETS": 18,
|
||
|
"LEAVE_RCS_GROUP": 19,
|
||
|
"ADD_PARTICIPANT_TO_RCS_GROUP": 20,
|
||
|
"GET_CONVERSATION_TYPE": 21,
|
||
|
"NOTIFY_DITTO_ACTIVITY": 22,
|
||
|
"DELETE_MESSAGE": 23,
|
||
|
"INSTALL_STICKER_SET": 24,
|
||
|
"RESEND_MESSAGE": 25,
|
||
|
"GET_CONTACT_RCS_GROUP_STATUS": 26,
|
||
|
"DOWNLOAD_MESSAGE": 27,
|
||
|
"LIST_TOP_CONTACTS": 28,
|
||
|
"GET_CONTACTS_THUMBNAIL": 29,
|
||
|
"CHANGE_PARTICIPANT_COLOR": 30,
|
||
|
"IS_BUGLE_DEFAULT": 31,
|
||
|
"STICKER_USER_CONTEXT": 32,
|
||
|
"FAVORITE_STICKER_PACKS": 33,
|
||
|
"RECENT_STICKERS": 34,
|
||
|
"UPDATE_RECENT_STICKERS": 35,
|
||
|
"GET_FULL_SIZE_IMAGE": 36,
|
||
|
"GET_PARTICIPANTS_THUMBNAIL": 37,
|
||
|
"SEND_REACTION": 38,
|
||
|
"SEND_REPLY": 39,
|
||
|
"GET_BLOB_FOR_ATTACHMENT": 40,
|
||
|
"GET_DEVICES_AVAILABLE_FOR_GAIA_PAIRING": 41,
|
||
|
"CREATE_GAIA_PAIRING": 42,
|
||
|
"GET_CONVERSATION": 43,
|
||
|
"CREATE_GAIA_PAIRING_CLIENT_INIT": 44,
|
||
|
"CREATE_GAIA_PAIRING_CLIENT_FINISHED": 45,
|
||
|
"UNPAIR_GAIA_PAIRING": 46,
|
||
|
}
|
||
|
)
|
||
|
|
||
|
func (x ActionType) Enum() *ActionType {
|
||
|
p := new(ActionType)
|
||
|
*p = x
|
||
|
return p
|
||
|
}
|
||
|
|
||
|
func (x ActionType) String() string {
|
||
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
|
}
|
||
|
|
||
|
func (ActionType) Descriptor() protoreflect.EnumDescriptor {
|
||
|
return file_rpc_proto_enumTypes[1].Descriptor()
|
||
|
}
|
||
|
|
||
|
func (ActionType) Type() protoreflect.EnumType {
|
||
|
return &file_rpc_proto_enumTypes[1]
|
||
|
}
|
||
|
|
||
|
func (x ActionType) Number() protoreflect.EnumNumber {
|
||
|
return protoreflect.EnumNumber(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use ActionType.Descriptor instead.
|
||
|
func (ActionType) EnumDescriptor() ([]byte, []int) {
|
||
|
return file_rpc_proto_rawDescGZIP(), []int{1}
|
||
|
}
|
||
|
|
||
|
type MessageType int32
|
||
|
|
||
|
const (
|
||
|
MessageType_UNKNOWN_MESSAGE_TYPE MessageType = 0
|
||
|
MessageType_BUGLE_MESSAGE MessageType = 2
|
||
|
MessageType_BUGLE_ANNOTATION MessageType = 16
|
||
|
)
|
||
|
|
||
|
// Enum value maps for MessageType.
|
||
|
var (
|
||
|
MessageType_name = map[int32]string{
|
||
|
0: "UNKNOWN_MESSAGE_TYPE",
|
||
|
2: "BUGLE_MESSAGE",
|
||
|
16: "BUGLE_ANNOTATION",
|
||
|
}
|
||
|
MessageType_value = map[string]int32{
|
||
|
"UNKNOWN_MESSAGE_TYPE": 0,
|
||
|
"BUGLE_MESSAGE": 2,
|
||
|
"BUGLE_ANNOTATION": 16,
|
||
|
}
|
||
|
)
|
||
|
|
||
|
func (x MessageType) Enum() *MessageType {
|
||
|
p := new(MessageType)
|
||
|
*p = x
|
||
|
return p
|
||
|
}
|
||
|
|
||
|
func (x MessageType) String() string {
|
||
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
|
}
|
||
|
|
||
|
func (MessageType) Descriptor() protoreflect.EnumDescriptor {
|
||
|
return file_rpc_proto_enumTypes[2].Descriptor()
|
||
|
}
|
||
|
|
||
|
func (MessageType) Type() protoreflect.EnumType {
|
||
|
return &file_rpc_proto_enumTypes[2]
|
||
|
}
|
||
|
|
||
|
func (x MessageType) Number() protoreflect.EnumNumber {
|
||
|
return protoreflect.EnumNumber(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use MessageType.Descriptor instead.
|
||
|
func (MessageType) EnumDescriptor() ([]byte, []int) {
|
||
|
return file_rpc_proto_rawDescGZIP(), []int{2}
|
||
|
}
|
||
|
|
||
|
type StartAckMessage struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Count *int32 `protobuf:"varint,1,opt,name=count,proto3,oneof" json:"count,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *StartAckMessage) Reset() {
|
||
|
*x = StartAckMessage{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_proto_msgTypes[0]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *StartAckMessage) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*StartAckMessage) ProtoMessage() {}
|
||
|
|
||
|
func (x *StartAckMessage) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_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 StartAckMessage.ProtoReflect.Descriptor instead.
|
||
|
func (*StartAckMessage) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
func (x *StartAckMessage) GetCount() int32 {
|
||
|
if x != nil && x.Count != nil {
|
||
|
return *x.Count
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
type LongPollingPayload struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Data *IncomingRPCMessage `protobuf:"bytes,2,opt,name=data,proto3,oneof" json:"data,omitempty"`
|
||
|
Heartbeat *EmptyArr `protobuf:"bytes,3,opt,name=heartbeat,proto3,oneof" json:"heartbeat,omitempty"`
|
||
|
Ack *StartAckMessage `protobuf:"bytes,4,opt,name=ack,proto3,oneof" json:"ack,omitempty"`
|
||
|
StartRead *EmptyArr `protobuf:"bytes,5,opt,name=startRead,proto3,oneof" json:"startRead,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *LongPollingPayload) Reset() {
|
||
|
*x = LongPollingPayload{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_proto_msgTypes[1]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *LongPollingPayload) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*LongPollingPayload) ProtoMessage() {}
|
||
|
|
||
|
func (x *LongPollingPayload) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_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 LongPollingPayload.ProtoReflect.Descriptor instead.
|
||
|
func (*LongPollingPayload) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_proto_rawDescGZIP(), []int{1}
|
||
|
}
|
||
|
|
||
|
func (x *LongPollingPayload) GetData() *IncomingRPCMessage {
|
||
|
if x != nil {
|
||
|
return x.Data
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *LongPollingPayload) GetHeartbeat() *EmptyArr {
|
||
|
if x != nil {
|
||
|
return x.Heartbeat
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *LongPollingPayload) GetAck() *StartAckMessage {
|
||
|
if x != nil {
|
||
|
return x.Ack
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *LongPollingPayload) GetStartRead() *EmptyArr {
|
||
|
if x != nil {
|
||
|
return x.StartRead
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type IncomingRPCMessage struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
ResponseID string `protobuf:"bytes,1,opt,name=responseID,proto3" json:"responseID,omitempty"`
|
||
|
BugleRoute BugleRoute `protobuf:"varint,2,opt,name=bugleRoute,proto3,enum=rpc.BugleRoute" json:"bugleRoute,omitempty"`
|
||
|
StartExecute string `protobuf:"bytes,3,opt,name=startExecute,proto3" json:"startExecute,omitempty"`
|
||
|
MessageType MessageType `protobuf:"varint,5,opt,name=messageType,proto3,enum=rpc.MessageType" json:"messageType,omitempty"`
|
||
|
FinishExecute string `protobuf:"bytes,6,opt,name=finishExecute,proto3" json:"finishExecute,omitempty"`
|
||
|
MillisecondsTaken string `protobuf:"bytes,7,opt,name=millisecondsTaken,proto3" json:"millisecondsTaken,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"`
|
||
|
// Either a RPCMessageData or a RPCPairData encoded as bytes
|
||
|
MessageData []byte `protobuf:"bytes,12,opt,name=messageData,proto3" json:"messageData,omitempty"`
|
||
|
SignatureID string `protobuf:"bytes,17,opt,name=signatureID,proto3" json:"signatureID,omitempty"`
|
||
|
Timestamp string `protobuf:"bytes,21,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *IncomingRPCMessage) Reset() {
|
||
|
*x = IncomingRPCMessage{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_proto_msgTypes[2]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *IncomingRPCMessage) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*IncomingRPCMessage) ProtoMessage() {}
|
||
|
|
||
|
func (x *IncomingRPCMessage) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_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 IncomingRPCMessage.ProtoReflect.Descriptor instead.
|
||
|
func (*IncomingRPCMessage) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_proto_rawDescGZIP(), []int{2}
|
||
|
}
|
||
|
|
||
|
func (x *IncomingRPCMessage) GetResponseID() string {
|
||
|
if x != nil {
|
||
|
return x.ResponseID
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *IncomingRPCMessage) GetBugleRoute() BugleRoute {
|
||
|
if x != nil {
|
||
|
return x.BugleRoute
|
||
|
}
|
||
|
return BugleRoute_UNKNOWN_BUGLE_ROUTE
|
||
|
}
|
||
|
|
||
|
func (x *IncomingRPCMessage) GetStartExecute() string {
|
||
|
if x != nil {
|
||
|
return x.StartExecute
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *IncomingRPCMessage) GetMessageType() MessageType {
|
||
|
if x != nil {
|
||
|
return x.MessageType
|
||
|
}
|
||
|
return MessageType_UNKNOWN_MESSAGE_TYPE
|
||
|
}
|
||
|
|
||
|
func (x *IncomingRPCMessage) GetFinishExecute() string {
|
||
|
if x != nil {
|
||
|
return x.FinishExecute
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *IncomingRPCMessage) GetMillisecondsTaken() string {
|
||
|
if x != nil {
|
||
|
return x.MillisecondsTaken
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *IncomingRPCMessage) GetMobile() *Device {
|
||
|
if x != nil {
|
||
|
return x.Mobile
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *IncomingRPCMessage) GetBrowser() *Device {
|
||
|
if x != nil {
|
||
|
return x.Browser
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *IncomingRPCMessage) GetMessageData() []byte {
|
||
|
if x != nil {
|
||
|
return x.MessageData
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *IncomingRPCMessage) GetSignatureID() string {
|
||
|
if x != nil {
|
||
|
return x.SignatureID
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *IncomingRPCMessage) GetTimestamp() string {
|
||
|
if x != nil {
|
||
|
return x.Timestamp
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type RPCMessageData struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
|
||
|
Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
||
|
Action ActionType `protobuf:"varint,4,opt,name=action,proto3,enum=rpc.ActionType" json:"action,omitempty"`
|
||
|
Bool1 bool `protobuf:"varint,6,opt,name=bool1,proto3" json:"bool1,omitempty"`
|
||
|
Bool2 bool `protobuf:"varint,7,opt,name=bool2,proto3" json:"bool2,omitempty"`
|
||
|
EncryptedData []byte `protobuf:"bytes,8,opt,name=encryptedData,proto3" json:"encryptedData,omitempty"`
|
||
|
Bool3 bool `protobuf:"varint,9,opt,name=bool3,proto3" json:"bool3,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *RPCMessageData) Reset() {
|
||
|
*x = RPCMessageData{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_proto_msgTypes[3]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *RPCMessageData) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*RPCMessageData) ProtoMessage() {}
|
||
|
|
||
|
func (x *RPCMessageData) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_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 RPCMessageData.ProtoReflect.Descriptor instead.
|
||
|
func (*RPCMessageData) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_proto_rawDescGZIP(), []int{3}
|
||
|
}
|
||
|
|
||
|
func (x *RPCMessageData) GetSessionID() string {
|
||
|
if x != nil {
|
||
|
return x.SessionID
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *RPCMessageData) GetTimestamp() int64 {
|
||
|
if x != nil {
|
||
|
return x.Timestamp
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *RPCMessageData) GetAction() ActionType {
|
||
|
if x != nil {
|
||
|
return x.Action
|
||
|
}
|
||
|
return ActionType_UNSPECIFIED
|
||
|
}
|
||
|
|
||
|
func (x *RPCMessageData) GetBool1() bool {
|
||
|
if x != nil {
|
||
|
return x.Bool1
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (x *RPCMessageData) GetBool2() bool {
|
||
|
if x != nil {
|
||
|
return x.Bool2
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (x *RPCMessageData) GetEncryptedData() []byte {
|
||
|
if x != nil {
|
||
|
return x.EncryptedData
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *RPCMessageData) GetBool3() bool {
|
||
|
if x != nil {
|
||
|
return x.Bool3
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
type OutgoingRPCMessage struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Mobile *Device `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
||
|
MessageData *OutgoingRPCMessage_Data `protobuf:"bytes,2,opt,name=messageData,proto3" json:"messageData,omitempty"`
|
||
|
MessageAuth *OutgoingRPCMessage_Auth `protobuf:"bytes,3,opt,name=messageAuth,proto3" json:"messageAuth,omitempty"`
|
||
|
TTL int64 `protobuf:"varint,5,opt,name=TTL,proto3" json:"TTL,omitempty"`
|
||
|
EmptyArr *EmptyArr `protobuf:"bytes,9,opt,name=emptyArr,proto3" json:"emptyArr,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage) Reset() {
|
||
|
*x = OutgoingRPCMessage{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_proto_msgTypes[4]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*OutgoingRPCMessage) ProtoMessage() {}
|
||
|
|
||
|
func (x *OutgoingRPCMessage) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_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 OutgoingRPCMessage.ProtoReflect.Descriptor instead.
|
||
|
func (*OutgoingRPCMessage) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_proto_rawDescGZIP(), []int{4}
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage) GetMobile() *Device {
|
||
|
if x != nil {
|
||
|
return x.Mobile
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage) GetMessageData() *OutgoingRPCMessage_Data {
|
||
|
if x != nil {
|
||
|
return x.MessageData
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage) GetMessageAuth() *OutgoingRPCMessage_Auth {
|
||
|
if x != nil {
|
||
|
return x.MessageAuth
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage) GetTTL() int64 {
|
||
|
if x != nil {
|
||
|
return x.TTL
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage) GetEmptyArr() *EmptyArr {
|
||
|
if x != nil {
|
||
|
return x.EmptyArr
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type OutgoingRPCData struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
RequestID string `protobuf:"bytes,1,opt,name=requestID,proto3" json:"requestID,omitempty"`
|
||
|
Action ActionType `protobuf:"varint,2,opt,name=action,proto3,enum=rpc.ActionType" json:"action,omitempty"`
|
||
|
EncryptedProtoData []byte `protobuf:"bytes,5,opt,name=encryptedProtoData,proto3" json:"encryptedProtoData,omitempty"`
|
||
|
SessionID string `protobuf:"bytes,6,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCData) Reset() {
|
||
|
*x = OutgoingRPCData{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_proto_msgTypes[5]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCData) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*OutgoingRPCData) ProtoMessage() {}
|
||
|
|
||
|
func (x *OutgoingRPCData) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_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 OutgoingRPCData.ProtoReflect.Descriptor instead.
|
||
|
func (*OutgoingRPCData) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_proto_rawDescGZIP(), []int{5}
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCData) GetRequestID() string {
|
||
|
if x != nil {
|
||
|
return x.RequestID
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCData) GetAction() ActionType {
|
||
|
if x != nil {
|
||
|
return x.Action
|
||
|
}
|
||
|
return ActionType_UNSPECIFIED
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCData) GetEncryptedProtoData() []byte {
|
||
|
if x != nil {
|
||
|
return x.EncryptedProtoData
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCData) GetSessionID() string {
|
||
|
if x != nil {
|
||
|
return x.SessionID
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type OutgoingRPCMessage_Auth struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
RequestID string `protobuf:"bytes,1,opt,name=requestID,proto3" json:"requestID,omitempty"`
|
||
|
TachyonAuthToken []byte `protobuf:"bytes,6,opt,name=tachyonAuthToken,proto3" json:"tachyonAuthToken,omitempty"`
|
||
|
ConfigVersion *ConfigVersion `protobuf:"bytes,7,opt,name=configVersion,proto3" json:"configVersion,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage_Auth) Reset() {
|
||
|
*x = OutgoingRPCMessage_Auth{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_proto_msgTypes[6]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage_Auth) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*OutgoingRPCMessage_Auth) ProtoMessage() {}
|
||
|
|
||
|
func (x *OutgoingRPCMessage_Auth) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_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 OutgoingRPCMessage_Auth.ProtoReflect.Descriptor instead.
|
||
|
func (*OutgoingRPCMessage_Auth) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_proto_rawDescGZIP(), []int{4, 0}
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage_Auth) GetRequestID() string {
|
||
|
if x != nil {
|
||
|
return x.RequestID
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage_Auth) GetTachyonAuthToken() []byte {
|
||
|
if x != nil {
|
||
|
return x.TachyonAuthToken
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage_Auth) GetConfigVersion() *ConfigVersion {
|
||
|
if x != nil {
|
||
|
return x.ConfigVersion
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type OutgoingRPCMessage_Data struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
RequestID string `protobuf:"bytes,1,opt,name=requestID,proto3" json:"requestID,omitempty"`
|
||
|
BugleRoute BugleRoute `protobuf:"varint,2,opt,name=bugleRoute,proto3,enum=rpc.BugleRoute" json:"bugleRoute,omitempty"`
|
||
|
// OutgoingRPCData encoded as bytes
|
||
|
MessageData []byte `protobuf:"bytes,12,opt,name=messageData,proto3" json:"messageData,omitempty"`
|
||
|
MessageTypeData *OutgoingRPCMessage_Data_Type `protobuf:"bytes,23,opt,name=messageTypeData,proto3" json:"messageTypeData,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage_Data) Reset() {
|
||
|
*x = OutgoingRPCMessage_Data{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_proto_msgTypes[7]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage_Data) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*OutgoingRPCMessage_Data) ProtoMessage() {}
|
||
|
|
||
|
func (x *OutgoingRPCMessage_Data) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_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 OutgoingRPCMessage_Data.ProtoReflect.Descriptor instead.
|
||
|
func (*OutgoingRPCMessage_Data) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_proto_rawDescGZIP(), []int{4, 1}
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage_Data) GetRequestID() string {
|
||
|
if x != nil {
|
||
|
return x.RequestID
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage_Data) GetBugleRoute() BugleRoute {
|
||
|
if x != nil {
|
||
|
return x.BugleRoute
|
||
|
}
|
||
|
return BugleRoute_UNKNOWN_BUGLE_ROUTE
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage_Data) GetMessageData() []byte {
|
||
|
if x != nil {
|
||
|
return x.MessageData
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage_Data) GetMessageTypeData() *OutgoingRPCMessage_Data_Type {
|
||
|
if x != nil {
|
||
|
return x.MessageTypeData
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type OutgoingRPCMessage_Data_Type struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
EmptyArr *EmptyArr `protobuf:"bytes,1,opt,name=emptyArr,proto3" json:"emptyArr,omitempty"`
|
||
|
MessageType MessageType `protobuf:"varint,2,opt,name=messageType,proto3,enum=rpc.MessageType" json:"messageType,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage_Data_Type) Reset() {
|
||
|
*x = OutgoingRPCMessage_Data_Type{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_proto_msgTypes[8]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage_Data_Type) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*OutgoingRPCMessage_Data_Type) ProtoMessage() {}
|
||
|
|
||
|
func (x *OutgoingRPCMessage_Data_Type) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_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 OutgoingRPCMessage_Data_Type.ProtoReflect.Descriptor instead.
|
||
|
func (*OutgoingRPCMessage_Data_Type) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_proto_rawDescGZIP(), []int{4, 1, 0}
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage_Data_Type) GetEmptyArr() *EmptyArr {
|
||
|
if x != nil {
|
||
|
return x.EmptyArr
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *OutgoingRPCMessage_Data_Type) GetMessageType() MessageType {
|
||
|
if x != nil {
|
||
|
return x.MessageType
|
||
|
}
|
||
|
return MessageType_UNKNOWN_MESSAGE_TYPE
|
||
|
}
|
||
|
|
||
|
var File_rpc_proto protoreflect.FileDescriptor
|
||
|
|
||
|
//go:embed rpc.pb.raw
|
||
|
var file_rpc_proto_rawDesc []byte
|
||
|
|
||
|
var (
|
||
|
file_rpc_proto_rawDescOnce sync.Once
|
||
|
file_rpc_proto_rawDescData = file_rpc_proto_rawDesc
|
||
|
)
|
||
|
|
||
|
func file_rpc_proto_rawDescGZIP() []byte {
|
||
|
file_rpc_proto_rawDescOnce.Do(func() {
|
||
|
file_rpc_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_proto_rawDescData)
|
||
|
})
|
||
|
return file_rpc_proto_rawDescData
|
||
|
}
|
||
|
|
||
|
var file_rpc_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
||
|
var file_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
||
|
var file_rpc_proto_goTypes = []interface{}{
|
||
|
(BugleRoute)(0), // 0: rpc.BugleRoute
|
||
|
(ActionType)(0), // 1: rpc.ActionType
|
||
|
(MessageType)(0), // 2: rpc.MessageType
|
||
|
(*StartAckMessage)(nil), // 3: rpc.StartAckMessage
|
||
|
(*LongPollingPayload)(nil), // 4: rpc.LongPollingPayload
|
||
|
(*IncomingRPCMessage)(nil), // 5: rpc.IncomingRPCMessage
|
||
|
(*RPCMessageData)(nil), // 6: rpc.RPCMessageData
|
||
|
(*OutgoingRPCMessage)(nil), // 7: rpc.OutgoingRPCMessage
|
||
|
(*OutgoingRPCData)(nil), // 8: rpc.OutgoingRPCData
|
||
|
(*OutgoingRPCMessage_Auth)(nil), // 9: rpc.OutgoingRPCMessage.Auth
|
||
|
(*OutgoingRPCMessage_Data)(nil), // 10: rpc.OutgoingRPCMessage.Data
|
||
|
(*OutgoingRPCMessage_Data_Type)(nil), // 11: rpc.OutgoingRPCMessage.Data.Type
|
||
|
(*EmptyArr)(nil), // 12: util.EmptyArr
|
||
|
(*Device)(nil), // 13: authentication.Device
|
||
|
(*ConfigVersion)(nil), // 14: authentication.ConfigVersion
|
||
|
}
|
||
|
var file_rpc_proto_depIdxs = []int32{
|
||
|
5, // 0: rpc.LongPollingPayload.data:type_name -> rpc.IncomingRPCMessage
|
||
|
12, // 1: rpc.LongPollingPayload.heartbeat:type_name -> util.EmptyArr
|
||
|
3, // 2: rpc.LongPollingPayload.ack:type_name -> rpc.StartAckMessage
|
||
|
12, // 3: rpc.LongPollingPayload.startRead:type_name -> util.EmptyArr
|
||
|
0, // 4: rpc.IncomingRPCMessage.bugleRoute:type_name -> rpc.BugleRoute
|
||
|
2, // 5: rpc.IncomingRPCMessage.messageType:type_name -> rpc.MessageType
|
||
|
13, // 6: rpc.IncomingRPCMessage.mobile:type_name -> authentication.Device
|
||
|
13, // 7: rpc.IncomingRPCMessage.browser:type_name -> authentication.Device
|
||
|
1, // 8: rpc.RPCMessageData.action:type_name -> rpc.ActionType
|
||
|
13, // 9: rpc.OutgoingRPCMessage.mobile:type_name -> authentication.Device
|
||
|
10, // 10: rpc.OutgoingRPCMessage.messageData:type_name -> rpc.OutgoingRPCMessage.Data
|
||
|
9, // 11: rpc.OutgoingRPCMessage.messageAuth:type_name -> rpc.OutgoingRPCMessage.Auth
|
||
|
12, // 12: rpc.OutgoingRPCMessage.emptyArr:type_name -> util.EmptyArr
|
||
|
1, // 13: rpc.OutgoingRPCData.action:type_name -> rpc.ActionType
|
||
|
14, // 14: rpc.OutgoingRPCMessage.Auth.configVersion:type_name -> authentication.ConfigVersion
|
||
|
0, // 15: rpc.OutgoingRPCMessage.Data.bugleRoute:type_name -> rpc.BugleRoute
|
||
|
11, // 16: rpc.OutgoingRPCMessage.Data.messageTypeData:type_name -> rpc.OutgoingRPCMessage.Data.Type
|
||
|
12, // 17: rpc.OutgoingRPCMessage.Data.Type.emptyArr:type_name -> util.EmptyArr
|
||
|
2, // 18: rpc.OutgoingRPCMessage.Data.Type.messageType:type_name -> rpc.MessageType
|
||
|
19, // [19:19] is the sub-list for method output_type
|
||
|
19, // [19:19] is the sub-list for method input_type
|
||
|
19, // [19:19] is the sub-list for extension type_name
|
||
|
19, // [19:19] is the sub-list for extension extendee
|
||
|
0, // [0:19] is the sub-list for field type_name
|
||
|
}
|
||
|
|
||
|
func init() { file_rpc_proto_init() }
|
||
|
func file_rpc_proto_init() {
|
||
|
if File_rpc_proto != nil {
|
||
|
return
|
||
|
}
|
||
|
file_authentication_proto_init()
|
||
|
file_util_proto_init()
|
||
|
if !protoimpl.UnsafeEnabled {
|
||
|
file_rpc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*StartAckMessage); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*LongPollingPayload); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*IncomingRPCMessage); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*RPCMessageData); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*OutgoingRPCMessage); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*OutgoingRPCData); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*OutgoingRPCMessage_Auth); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*OutgoingRPCMessage_Data); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*OutgoingRPCMessage_Data_Type); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
file_rpc_proto_msgTypes[0].OneofWrappers = []interface{}{}
|
||
|
file_rpc_proto_msgTypes[1].OneofWrappers = []interface{}{}
|
||
|
type x struct{}
|
||
|
out := protoimpl.TypeBuilder{
|
||
|
File: protoimpl.DescBuilder{
|
||
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
|
RawDescriptor: file_rpc_proto_rawDesc,
|
||
|
NumEnums: 3,
|
||
|
NumMessages: 9,
|
||
|
NumExtensions: 0,
|
||
|
NumServices: 0,
|
||
|
},
|
||
|
GoTypes: file_rpc_proto_goTypes,
|
||
|
DependencyIndexes: file_rpc_proto_depIdxs,
|
||
|
EnumInfos: file_rpc_proto_enumTypes,
|
||
|
MessageInfos: file_rpc_proto_msgTypes,
|
||
|
}.Build()
|
||
|
File_rpc_proto = out.File
|
||
|
file_rpc_proto_rawDesc = nil
|
||
|
file_rpc_proto_goTypes = nil
|
||
|
file_rpc_proto_depIdxs = nil
|
||
|
}
|