530 lines
18 KiB
Go
530 lines
18 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.10
|
|
// protoc v3.12.4
|
|
// source: api/proto/message_router.proto
|
|
|
|
package router
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
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)
|
|
)
|
|
|
|
// RouteMessageRequest routes an MPC message
|
|
type RouteMessageRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
FromParty string `protobuf:"bytes,2,opt,name=from_party,json=fromParty,proto3" json:"from_party,omitempty"`
|
|
ToParties []string `protobuf:"bytes,3,rep,name=to_parties,json=toParties,proto3" json:"to_parties,omitempty"` // Empty for broadcast
|
|
RoundNumber int32 `protobuf:"varint,4,opt,name=round_number,json=roundNumber,proto3" json:"round_number,omitempty"`
|
|
MessageType string `protobuf:"bytes,5,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"`
|
|
Payload []byte `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"` // Encrypted MPC message
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RouteMessageRequest) Reset() {
|
|
*x = RouteMessageRequest{}
|
|
mi := &file_api_proto_message_router_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RouteMessageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RouteMessageRequest) ProtoMessage() {}
|
|
|
|
func (x *RouteMessageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_proto_message_router_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RouteMessageRequest.ProtoReflect.Descriptor instead.
|
|
func (*RouteMessageRequest) Descriptor() ([]byte, []int) {
|
|
return file_api_proto_message_router_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *RouteMessageRequest) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RouteMessageRequest) GetFromParty() string {
|
|
if x != nil {
|
|
return x.FromParty
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RouteMessageRequest) GetToParties() []string {
|
|
if x != nil {
|
|
return x.ToParties
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RouteMessageRequest) GetRoundNumber() int32 {
|
|
if x != nil {
|
|
return x.RoundNumber
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RouteMessageRequest) GetMessageType() string {
|
|
if x != nil {
|
|
return x.MessageType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RouteMessageRequest) GetPayload() []byte {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// RouteMessageResponse confirms message routing
|
|
type RouteMessageResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RouteMessageResponse) Reset() {
|
|
*x = RouteMessageResponse{}
|
|
mi := &file_api_proto_message_router_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RouteMessageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RouteMessageResponse) ProtoMessage() {}
|
|
|
|
func (x *RouteMessageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_proto_message_router_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RouteMessageResponse.ProtoReflect.Descriptor instead.
|
|
func (*RouteMessageResponse) Descriptor() ([]byte, []int) {
|
|
return file_api_proto_message_router_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *RouteMessageResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *RouteMessageResponse) GetMessageId() string {
|
|
if x != nil {
|
|
return x.MessageId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// SubscribeMessagesRequest subscribes to messages for a party
|
|
type SubscribeMessagesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeMessagesRequest) Reset() {
|
|
*x = SubscribeMessagesRequest{}
|
|
mi := &file_api_proto_message_router_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeMessagesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeMessagesRequest) ProtoMessage() {}
|
|
|
|
func (x *SubscribeMessagesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_proto_message_router_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeMessagesRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeMessagesRequest) Descriptor() ([]byte, []int) {
|
|
return file_api_proto_message_router_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *SubscribeMessagesRequest) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubscribeMessagesRequest) GetPartyId() string {
|
|
if x != nil {
|
|
return x.PartyId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// MPCMessage represents an MPC protocol message
|
|
type MPCMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
|
|
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
FromParty string `protobuf:"bytes,3,opt,name=from_party,json=fromParty,proto3" json:"from_party,omitempty"`
|
|
IsBroadcast bool `protobuf:"varint,4,opt,name=is_broadcast,json=isBroadcast,proto3" json:"is_broadcast,omitempty"`
|
|
RoundNumber int32 `protobuf:"varint,5,opt,name=round_number,json=roundNumber,proto3" json:"round_number,omitempty"`
|
|
MessageType string `protobuf:"bytes,6,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"`
|
|
Payload []byte `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
CreatedAt int64 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Unix timestamp milliseconds
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MPCMessage) Reset() {
|
|
*x = MPCMessage{}
|
|
mi := &file_api_proto_message_router_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MPCMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MPCMessage) ProtoMessage() {}
|
|
|
|
func (x *MPCMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_proto_message_router_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MPCMessage.ProtoReflect.Descriptor instead.
|
|
func (*MPCMessage) Descriptor() ([]byte, []int) {
|
|
return file_api_proto_message_router_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *MPCMessage) GetMessageId() string {
|
|
if x != nil {
|
|
return x.MessageId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MPCMessage) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MPCMessage) GetFromParty() string {
|
|
if x != nil {
|
|
return x.FromParty
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MPCMessage) GetIsBroadcast() bool {
|
|
if x != nil {
|
|
return x.IsBroadcast
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *MPCMessage) GetRoundNumber() int32 {
|
|
if x != nil {
|
|
return x.RoundNumber
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MPCMessage) GetMessageType() string {
|
|
if x != nil {
|
|
return x.MessageType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MPCMessage) GetPayload() []byte {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MPCMessage) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// GetPendingMessagesRequest retrieves pending messages
|
|
type GetPendingMessagesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
|
|
AfterTimestamp int64 `protobuf:"varint,3,opt,name=after_timestamp,json=afterTimestamp,proto3" json:"after_timestamp,omitempty"` // Get messages after this timestamp
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPendingMessagesRequest) Reset() {
|
|
*x = GetPendingMessagesRequest{}
|
|
mi := &file_api_proto_message_router_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPendingMessagesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPendingMessagesRequest) ProtoMessage() {}
|
|
|
|
func (x *GetPendingMessagesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_proto_message_router_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPendingMessagesRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetPendingMessagesRequest) Descriptor() ([]byte, []int) {
|
|
return file_api_proto_message_router_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *GetPendingMessagesRequest) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetPendingMessagesRequest) GetPartyId() string {
|
|
if x != nil {
|
|
return x.PartyId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetPendingMessagesRequest) GetAfterTimestamp() int64 {
|
|
if x != nil {
|
|
return x.AfterTimestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// GetPendingMessagesResponse contains pending messages
|
|
type GetPendingMessagesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Messages []*MPCMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPendingMessagesResponse) Reset() {
|
|
*x = GetPendingMessagesResponse{}
|
|
mi := &file_api_proto_message_router_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPendingMessagesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPendingMessagesResponse) ProtoMessage() {}
|
|
|
|
func (x *GetPendingMessagesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_proto_message_router_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPendingMessagesResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetPendingMessagesResponse) Descriptor() ([]byte, []int) {
|
|
return file_api_proto_message_router_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *GetPendingMessagesResponse) GetMessages() []*MPCMessage {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_api_proto_message_router_proto protoreflect.FileDescriptor
|
|
|
|
const file_api_proto_message_router_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x1eapi/proto/message_router.proto\x12\rmpc.router.v1\"\xd2\x01\n" +
|
|
"\x13RouteMessageRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x01 \x01(\tR\tsessionId\x12\x1d\n" +
|
|
"\n" +
|
|
"from_party\x18\x02 \x01(\tR\tfromParty\x12\x1d\n" +
|
|
"\n" +
|
|
"to_parties\x18\x03 \x03(\tR\ttoParties\x12!\n" +
|
|
"\fround_number\x18\x04 \x01(\x05R\vroundNumber\x12!\n" +
|
|
"\fmessage_type\x18\x05 \x01(\tR\vmessageType\x12\x18\n" +
|
|
"\apayload\x18\x06 \x01(\fR\apayload\"O\n" +
|
|
"\x14RouteMessageResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1d\n" +
|
|
"\n" +
|
|
"message_id\x18\x02 \x01(\tR\tmessageId\"T\n" +
|
|
"\x18SubscribeMessagesRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x01 \x01(\tR\tsessionId\x12\x19\n" +
|
|
"\bparty_id\x18\x02 \x01(\tR\apartyId\"\x8b\x02\n" +
|
|
"\n" +
|
|
"MPCMessage\x12\x1d\n" +
|
|
"\n" +
|
|
"message_id\x18\x01 \x01(\tR\tmessageId\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x02 \x01(\tR\tsessionId\x12\x1d\n" +
|
|
"\n" +
|
|
"from_party\x18\x03 \x01(\tR\tfromParty\x12!\n" +
|
|
"\fis_broadcast\x18\x04 \x01(\bR\visBroadcast\x12!\n" +
|
|
"\fround_number\x18\x05 \x01(\x05R\vroundNumber\x12!\n" +
|
|
"\fmessage_type\x18\x06 \x01(\tR\vmessageType\x12\x18\n" +
|
|
"\apayload\x18\a \x01(\fR\apayload\x12\x1d\n" +
|
|
"\n" +
|
|
"created_at\x18\b \x01(\x03R\tcreatedAt\"~\n" +
|
|
"\x19GetPendingMessagesRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x01 \x01(\tR\tsessionId\x12\x19\n" +
|
|
"\bparty_id\x18\x02 \x01(\tR\apartyId\x12'\n" +
|
|
"\x0fafter_timestamp\x18\x03 \x01(\x03R\x0eafterTimestamp\"S\n" +
|
|
"\x1aGetPendingMessagesResponse\x125\n" +
|
|
"\bmessages\x18\x01 \x03(\v2\x19.mpc.router.v1.MPCMessageR\bmessages2\xae\x02\n" +
|
|
"\rMessageRouter\x12W\n" +
|
|
"\fRouteMessage\x12\".mpc.router.v1.RouteMessageRequest\x1a#.mpc.router.v1.RouteMessageResponse\x12Y\n" +
|
|
"\x11SubscribeMessages\x12'.mpc.router.v1.SubscribeMessagesRequest\x1a\x19.mpc.router.v1.MPCMessage0\x01\x12i\n" +
|
|
"\x12GetPendingMessages\x12(.mpc.router.v1.GetPendingMessagesRequest\x1a).mpc.router.v1.GetPendingMessagesResponseB;Z9github.com/rwadurian/mpc-system/api/grpc/router/v1;routerb\x06proto3"
|
|
|
|
var (
|
|
file_api_proto_message_router_proto_rawDescOnce sync.Once
|
|
file_api_proto_message_router_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_api_proto_message_router_proto_rawDescGZIP() []byte {
|
|
file_api_proto_message_router_proto_rawDescOnce.Do(func() {
|
|
file_api_proto_message_router_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_proto_message_router_proto_rawDesc), len(file_api_proto_message_router_proto_rawDesc)))
|
|
})
|
|
return file_api_proto_message_router_proto_rawDescData
|
|
}
|
|
|
|
var file_api_proto_message_router_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
var file_api_proto_message_router_proto_goTypes = []any{
|
|
(*RouteMessageRequest)(nil), // 0: mpc.router.v1.RouteMessageRequest
|
|
(*RouteMessageResponse)(nil), // 1: mpc.router.v1.RouteMessageResponse
|
|
(*SubscribeMessagesRequest)(nil), // 2: mpc.router.v1.SubscribeMessagesRequest
|
|
(*MPCMessage)(nil), // 3: mpc.router.v1.MPCMessage
|
|
(*GetPendingMessagesRequest)(nil), // 4: mpc.router.v1.GetPendingMessagesRequest
|
|
(*GetPendingMessagesResponse)(nil), // 5: mpc.router.v1.GetPendingMessagesResponse
|
|
}
|
|
var file_api_proto_message_router_proto_depIdxs = []int32{
|
|
3, // 0: mpc.router.v1.GetPendingMessagesResponse.messages:type_name -> mpc.router.v1.MPCMessage
|
|
0, // 1: mpc.router.v1.MessageRouter.RouteMessage:input_type -> mpc.router.v1.RouteMessageRequest
|
|
2, // 2: mpc.router.v1.MessageRouter.SubscribeMessages:input_type -> mpc.router.v1.SubscribeMessagesRequest
|
|
4, // 3: mpc.router.v1.MessageRouter.GetPendingMessages:input_type -> mpc.router.v1.GetPendingMessagesRequest
|
|
1, // 4: mpc.router.v1.MessageRouter.RouteMessage:output_type -> mpc.router.v1.RouteMessageResponse
|
|
3, // 5: mpc.router.v1.MessageRouter.SubscribeMessages:output_type -> mpc.router.v1.MPCMessage
|
|
5, // 6: mpc.router.v1.MessageRouter.GetPendingMessages:output_type -> mpc.router.v1.GetPendingMessagesResponse
|
|
4, // [4:7] is the sub-list for method output_type
|
|
1, // [1:4] is the sub-list for method input_type
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
0, // [0:1] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_api_proto_message_router_proto_init() }
|
|
func file_api_proto_message_router_proto_init() {
|
|
if File_api_proto_message_router_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_proto_message_router_proto_rawDesc), len(file_api_proto_message_router_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 6,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_api_proto_message_router_proto_goTypes,
|
|
DependencyIndexes: file_api_proto_message_router_proto_depIdxs,
|
|
MessageInfos: file_api_proto_message_router_proto_msgTypes,
|
|
}.Build()
|
|
File_api_proto_message_router_proto = out.File
|
|
file_api_proto_message_router_proto_goTypes = nil
|
|
file_api_proto_message_router_proto_depIdxs = nil
|
|
}
|