mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-13 05:25:59 +08:00
packet name pb
This commit is contained in:
+365
-185
@@ -1,238 +1,437 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.29.1
|
||||
// protoc v4.22.0
|
||||
// source: rtc/rtc.proto
|
||||
|
||||
package rtc // import "OpenIM/pkg/proto/rtc"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import sdkws "OpenIM/pkg/proto/sdkws"
|
||||
package rtc
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
context "context"
|
||||
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
||||
grpc "google.golang.org/grpc"
|
||||
codes "google.golang.org/grpc/codes"
|
||||
status "google.golang.org/grpc/status"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
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 SignalMessageAssembleReq struct {
|
||||
SignalReq *sdkws.SignalReq `protobuf:"bytes,1,opt,name=signalReq" json:"signalReq,omitempty"`
|
||||
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
SignalReq *sdkws.SignalReq `protobuf:"bytes,1,opt,name=signalReq,proto3" json:"signalReq"`
|
||||
OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID"`
|
||||
}
|
||||
|
||||
func (m *SignalMessageAssembleReq) Reset() { *m = SignalMessageAssembleReq{} }
|
||||
func (m *SignalMessageAssembleReq) String() string { return proto.CompactTextString(m) }
|
||||
func (*SignalMessageAssembleReq) ProtoMessage() {}
|
||||
func (x *SignalMessageAssembleReq) Reset() {
|
||||
*x = SignalMessageAssembleReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_rtc_rtc_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SignalMessageAssembleReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SignalMessageAssembleReq) ProtoMessage() {}
|
||||
|
||||
func (x *SignalMessageAssembleReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_rtc_rtc_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 SignalMessageAssembleReq.ProtoReflect.Descriptor instead.
|
||||
func (*SignalMessageAssembleReq) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_rtc_1c78526032681b55, []int{0}
|
||||
}
|
||||
func (m *SignalMessageAssembleReq) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SignalMessageAssembleReq.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SignalMessageAssembleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SignalMessageAssembleReq.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *SignalMessageAssembleReq) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SignalMessageAssembleReq.Merge(dst, src)
|
||||
}
|
||||
func (m *SignalMessageAssembleReq) XXX_Size() int {
|
||||
return xxx_messageInfo_SignalMessageAssembleReq.Size(m)
|
||||
}
|
||||
func (m *SignalMessageAssembleReq) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SignalMessageAssembleReq.DiscardUnknown(m)
|
||||
return file_rtc_rtc_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SignalMessageAssembleReq proto.InternalMessageInfo
|
||||
|
||||
func (m *SignalMessageAssembleReq) GetSignalReq() *sdkws.SignalReq {
|
||||
if m != nil {
|
||||
return m.SignalReq
|
||||
func (x *SignalMessageAssembleReq) GetSignalReq() *sdkws.SignalReq {
|
||||
if x != nil {
|
||||
return x.SignalReq
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *SignalMessageAssembleReq) GetOperationID() string {
|
||||
if m != nil {
|
||||
return m.OperationID
|
||||
func (x *SignalMessageAssembleReq) GetOperationID() string {
|
||||
if x != nil {
|
||||
return x.OperationID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type SignalMessageAssembleResp struct {
|
||||
IsPass bool `protobuf:"varint,1,opt,name=isPass" json:"isPass,omitempty"`
|
||||
SignalResp *sdkws.SignalResp `protobuf:"bytes,2,opt,name=signalResp" json:"signalResp,omitempty"`
|
||||
MsgData *sdkws.MsgData `protobuf:"bytes,3,opt,name=msgData" json:"msgData,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
IsPass bool `protobuf:"varint,1,opt,name=isPass,proto3" json:"isPass"`
|
||||
SignalResp *sdkws.SignalResp `protobuf:"bytes,2,opt,name=signalResp,proto3" json:"signalResp"`
|
||||
MsgData *sdkws.MsgData `protobuf:"bytes,3,opt,name=msgData,proto3" json:"msgData"`
|
||||
}
|
||||
|
||||
func (m *SignalMessageAssembleResp) Reset() { *m = SignalMessageAssembleResp{} }
|
||||
func (m *SignalMessageAssembleResp) String() string { return proto.CompactTextString(m) }
|
||||
func (*SignalMessageAssembleResp) ProtoMessage() {}
|
||||
func (x *SignalMessageAssembleResp) Reset() {
|
||||
*x = SignalMessageAssembleResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_rtc_rtc_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SignalMessageAssembleResp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SignalMessageAssembleResp) ProtoMessage() {}
|
||||
|
||||
func (x *SignalMessageAssembleResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_rtc_rtc_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 SignalMessageAssembleResp.ProtoReflect.Descriptor instead.
|
||||
func (*SignalMessageAssembleResp) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_rtc_1c78526032681b55, []int{1}
|
||||
}
|
||||
func (m *SignalMessageAssembleResp) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SignalMessageAssembleResp.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SignalMessageAssembleResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SignalMessageAssembleResp.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *SignalMessageAssembleResp) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SignalMessageAssembleResp.Merge(dst, src)
|
||||
}
|
||||
func (m *SignalMessageAssembleResp) XXX_Size() int {
|
||||
return xxx_messageInfo_SignalMessageAssembleResp.Size(m)
|
||||
}
|
||||
func (m *SignalMessageAssembleResp) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SignalMessageAssembleResp.DiscardUnknown(m)
|
||||
return file_rtc_rtc_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SignalMessageAssembleResp proto.InternalMessageInfo
|
||||
|
||||
func (m *SignalMessageAssembleResp) GetIsPass() bool {
|
||||
if m != nil {
|
||||
return m.IsPass
|
||||
func (x *SignalMessageAssembleResp) GetIsPass() bool {
|
||||
if x != nil {
|
||||
return x.IsPass
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *SignalMessageAssembleResp) GetSignalResp() *sdkws.SignalResp {
|
||||
if m != nil {
|
||||
return m.SignalResp
|
||||
func (x *SignalMessageAssembleResp) GetSignalResp() *sdkws.SignalResp {
|
||||
if x != nil {
|
||||
return x.SignalResp
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *SignalMessageAssembleResp) GetMsgData() *sdkws.MsgData {
|
||||
if m != nil {
|
||||
return m.MsgData
|
||||
func (x *SignalMessageAssembleResp) GetMsgData() *sdkws.MsgData {
|
||||
if x != nil {
|
||||
return x.MsgData
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type SignalGetRoomsReq struct {
|
||||
RoomID string `protobuf:"bytes,1,opt,name=roomID" json:"roomID,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
RoomID string `protobuf:"bytes,1,opt,name=roomID,proto3" json:"roomID"`
|
||||
}
|
||||
|
||||
func (m *SignalGetRoomsReq) Reset() { *m = SignalGetRoomsReq{} }
|
||||
func (m *SignalGetRoomsReq) String() string { return proto.CompactTextString(m) }
|
||||
func (*SignalGetRoomsReq) ProtoMessage() {}
|
||||
func (x *SignalGetRoomsReq) Reset() {
|
||||
*x = SignalGetRoomsReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_rtc_rtc_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SignalGetRoomsReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SignalGetRoomsReq) ProtoMessage() {}
|
||||
|
||||
func (x *SignalGetRoomsReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_rtc_rtc_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 SignalGetRoomsReq.ProtoReflect.Descriptor instead.
|
||||
func (*SignalGetRoomsReq) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_rtc_1c78526032681b55, []int{2}
|
||||
}
|
||||
func (m *SignalGetRoomsReq) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SignalGetRoomsReq.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SignalGetRoomsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SignalGetRoomsReq.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *SignalGetRoomsReq) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SignalGetRoomsReq.Merge(dst, src)
|
||||
}
|
||||
func (m *SignalGetRoomsReq) XXX_Size() int {
|
||||
return xxx_messageInfo_SignalGetRoomsReq.Size(m)
|
||||
}
|
||||
func (m *SignalGetRoomsReq) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SignalGetRoomsReq.DiscardUnknown(m)
|
||||
return file_rtc_rtc_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SignalGetRoomsReq proto.InternalMessageInfo
|
||||
|
||||
func (m *SignalGetRoomsReq) GetRoomID() string {
|
||||
if m != nil {
|
||||
return m.RoomID
|
||||
func (x *SignalGetRoomsReq) GetRoomID() string {
|
||||
if x != nil {
|
||||
return x.RoomID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type SignalGetRoomsResp struct {
|
||||
Rooms []*sdkws.SignalGetRoomByGroupIDReply `protobuf:"bytes,1,rep,name=rooms" json:"rooms,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Rooms []*sdkws.SignalGetRoomByGroupIDReply `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms"`
|
||||
}
|
||||
|
||||
func (m *SignalGetRoomsResp) Reset() { *m = SignalGetRoomsResp{} }
|
||||
func (m *SignalGetRoomsResp) String() string { return proto.CompactTextString(m) }
|
||||
func (*SignalGetRoomsResp) ProtoMessage() {}
|
||||
func (x *SignalGetRoomsResp) Reset() {
|
||||
*x = SignalGetRoomsResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_rtc_rtc_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SignalGetRoomsResp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SignalGetRoomsResp) ProtoMessage() {}
|
||||
|
||||
func (x *SignalGetRoomsResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_rtc_rtc_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 SignalGetRoomsResp.ProtoReflect.Descriptor instead.
|
||||
func (*SignalGetRoomsResp) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_rtc_1c78526032681b55, []int{3}
|
||||
}
|
||||
func (m *SignalGetRoomsResp) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SignalGetRoomsResp.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SignalGetRoomsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SignalGetRoomsResp.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *SignalGetRoomsResp) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SignalGetRoomsResp.Merge(dst, src)
|
||||
}
|
||||
func (m *SignalGetRoomsResp) XXX_Size() int {
|
||||
return xxx_messageInfo_SignalGetRoomsResp.Size(m)
|
||||
}
|
||||
func (m *SignalGetRoomsResp) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SignalGetRoomsResp.DiscardUnknown(m)
|
||||
return file_rtc_rtc_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SignalGetRoomsResp proto.InternalMessageInfo
|
||||
|
||||
func (m *SignalGetRoomsResp) GetRooms() []*sdkws.SignalGetRoomByGroupIDReply {
|
||||
if m != nil {
|
||||
return m.Rooms
|
||||
func (x *SignalGetRoomsResp) GetRooms() []*sdkws.SignalGetRoomByGroupIDReply {
|
||||
if x != nil {
|
||||
return x.Rooms
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*SignalMessageAssembleReq)(nil), "OpenIMServer.rtc.SignalMessageAssembleReq")
|
||||
proto.RegisterType((*SignalMessageAssembleResp)(nil), "OpenIMServer.rtc.SignalMessageAssembleResp")
|
||||
proto.RegisterType((*SignalGetRoomsReq)(nil), "OpenIMServer.rtc.SignalGetRoomsReq")
|
||||
proto.RegisterType((*SignalGetRoomsResp)(nil), "OpenIMServer.rtc.SignalGetRoomsResp")
|
||||
var File_rtc_rtc_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_rtc_rtc_proto_rawDesc = []byte{
|
||||
0x0a, 0x0d, 0x72, 0x74, 0x63, 0x2f, 0x72, 0x74, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||||
0x10, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x72, 0x74,
|
||||
0x63, 0x1a, 0x11, 0x73, 0x64, 0x6b, 0x77, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x77, 0x73, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, 0x0a, 0x18, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4d, 0x65,
|
||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x71,
|
||||
0x12, 0x3b, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76,
|
||||
0x65, 0x72, 0x2e, 0x73, 0x64, 0x6b, 0x77, 0x73, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x52,
|
||||
0x65, 0x71, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a,
|
||||
0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22,
|
||||
0xaa, 0x01, 0x0a, 0x19, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
||||
0x65, 0x41, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a,
|
||||
0x06, 0x69, 0x73, 0x50, 0x61, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69,
|
||||
0x73, 0x50, 0x61, 0x73, 0x73, 0x12, 0x3e, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x52,
|
||||
0x65, 0x73, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x4f, 0x70, 0x65, 0x6e,
|
||||
0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x73, 0x64, 0x6b, 0x77, 0x73, 0x2e, 0x53,
|
||||
0x69, 0x67, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61,
|
||||
0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x35, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x44, 0x61, 0x74, 0x61,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53,
|
||||
0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x73, 0x64, 0x6b, 0x77, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x44,
|
||||
0x61, 0x74, 0x61, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x44, 0x61, 0x74, 0x61, 0x22, 0x2b, 0x0a, 0x11,
|
||||
0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65,
|
||||
0x71, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x22, 0x5b, 0x0a, 0x12, 0x53, 0x69, 0x67,
|
||||
0x6e, 0x61, 0x6c, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12,
|
||||
0x45, 0x0a, 0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f,
|
||||
0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x73, 0x64,
|
||||
0x6b, 0x77, 0x73, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f,
|
||||
0x6d, 0x42, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x52,
|
||||
0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x32, 0xdb, 0x01, 0x0a, 0x0a, 0x52, 0x74, 0x63, 0x53, 0x65,
|
||||
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x70, 0x0a, 0x15, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x65, 0x12, 0x2a,
|
||||
0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x72, 0x74,
|
||||
0x63, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41,
|
||||
0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x2b, 0x2e, 0x4f, 0x70, 0x65,
|
||||
0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x72, 0x74, 0x63, 0x2e, 0x53, 0x69,
|
||||
0x67, 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x73, 0x73, 0x65, 0x6d,
|
||||
0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x5b, 0x0a, 0x0e, 0x53, 0x69, 0x67, 0x6e, 0x61,
|
||||
0x6c, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x12, 0x23, 0x2e, 0x4f, 0x70, 0x65, 0x6e,
|
||||
0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x72, 0x74, 0x63, 0x2e, 0x53, 0x69, 0x67,
|
||||
0x6e, 0x61, 0x6c, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x24,
|
||||
0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x72, 0x74,
|
||||
0x63, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73,
|
||||
0x52, 0x65, 0x73, 0x70, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
|
||||
0x6f, 0x6d, 0x2f, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x44, 0x4b, 0x2f, 0x4f, 0x70, 0x65,
|
||||
0x6e, 0x2d, 0x49, 0x4d, 0x2d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x6b, 0x67, 0x2f,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x74, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
file_rtc_rtc_proto_rawDescOnce sync.Once
|
||||
file_rtc_rtc_proto_rawDescData = file_rtc_rtc_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_rtc_rtc_proto_rawDescGZIP() []byte {
|
||||
file_rtc_rtc_proto_rawDescOnce.Do(func() {
|
||||
file_rtc_rtc_proto_rawDescData = protoimpl.X.CompressGZIP(file_rtc_rtc_proto_rawDescData)
|
||||
})
|
||||
return file_rtc_rtc_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_rtc_rtc_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
||||
var file_rtc_rtc_proto_goTypes = []interface{}{
|
||||
(*SignalMessageAssembleReq)(nil), // 0: OpenIMServer.rtc.SignalMessageAssembleReq
|
||||
(*SignalMessageAssembleResp)(nil), // 1: OpenIMServer.rtc.SignalMessageAssembleResp
|
||||
(*SignalGetRoomsReq)(nil), // 2: OpenIMServer.rtc.SignalGetRoomsReq
|
||||
(*SignalGetRoomsResp)(nil), // 3: OpenIMServer.rtc.SignalGetRoomsResp
|
||||
(*sdkws.SignalReq)(nil), // 4: OpenIMServer.sdkws.SignalReq
|
||||
(*sdkws.SignalResp)(nil), // 5: OpenIMServer.sdkws.SignalResp
|
||||
(*sdkws.MsgData)(nil), // 6: OpenIMServer.sdkws.MsgData
|
||||
(*sdkws.SignalGetRoomByGroupIDReply)(nil), // 7: OpenIMServer.sdkws.SignalGetRoomByGroupIDReply
|
||||
}
|
||||
var file_rtc_rtc_proto_depIdxs = []int32{
|
||||
4, // 0: OpenIMServer.rtc.SignalMessageAssembleReq.signalReq:type_name -> OpenIMServer.sdkws.SignalReq
|
||||
5, // 1: OpenIMServer.rtc.SignalMessageAssembleResp.signalResp:type_name -> OpenIMServer.sdkws.SignalResp
|
||||
6, // 2: OpenIMServer.rtc.SignalMessageAssembleResp.msgData:type_name -> OpenIMServer.sdkws.MsgData
|
||||
7, // 3: OpenIMServer.rtc.SignalGetRoomsResp.rooms:type_name -> OpenIMServer.sdkws.SignalGetRoomByGroupIDReply
|
||||
0, // 4: OpenIMServer.rtc.RtcService.SignalMessageAssemble:input_type -> OpenIMServer.rtc.SignalMessageAssembleReq
|
||||
2, // 5: OpenIMServer.rtc.RtcService.SignalGetRooms:input_type -> OpenIMServer.rtc.SignalGetRoomsReq
|
||||
1, // 6: OpenIMServer.rtc.RtcService.SignalMessageAssemble:output_type -> OpenIMServer.rtc.SignalMessageAssembleResp
|
||||
3, // 7: OpenIMServer.rtc.RtcService.SignalGetRooms:output_type -> OpenIMServer.rtc.SignalGetRoomsResp
|
||||
6, // [6:8] is the sub-list for method output_type
|
||||
4, // [4:6] is the sub-list for method input_type
|
||||
4, // [4:4] is the sub-list for extension type_name
|
||||
4, // [4:4] is the sub-list for extension extendee
|
||||
0, // [0:4] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_rtc_rtc_proto_init() }
|
||||
func file_rtc_rtc_proto_init() {
|
||||
if File_rtc_rtc_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_rtc_rtc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*SignalMessageAssembleReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_rtc_rtc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*SignalMessageAssembleResp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_rtc_rtc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*SignalGetRoomsReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_rtc_rtc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*SignalGetRoomsResp); 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_rtc_rtc_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 4,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
GoTypes: file_rtc_rtc_proto_goTypes,
|
||||
DependencyIndexes: file_rtc_rtc_proto_depIdxs,
|
||||
MessageInfos: file_rtc_rtc_proto_msgTypes,
|
||||
}.Build()
|
||||
File_rtc_rtc_proto = out.File
|
||||
file_rtc_rtc_proto_rawDesc = nil
|
||||
file_rtc_rtc_proto_goTypes = nil
|
||||
file_rtc_rtc_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
var _ grpc.ClientConnInterface
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for RtcService service
|
||||
const _ = grpc.SupportPackageIsVersion6
|
||||
|
||||
// RtcServiceClient is the client API for RtcService service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type RtcServiceClient interface {
|
||||
SignalMessageAssemble(ctx context.Context, in *SignalMessageAssembleReq, opts ...grpc.CallOption) (*SignalMessageAssembleResp, error)
|
||||
SignalGetRooms(ctx context.Context, in *SignalGetRoomsReq, opts ...grpc.CallOption) (*SignalGetRoomsResp, error)
|
||||
}
|
||||
|
||||
type rtcServiceClient struct {
|
||||
cc *grpc.ClientConn
|
||||
cc grpc.ClientConnInterface
|
||||
}
|
||||
|
||||
func NewRtcServiceClient(cc *grpc.ClientConn) RtcServiceClient {
|
||||
func NewRtcServiceClient(cc grpc.ClientConnInterface) RtcServiceClient {
|
||||
return &rtcServiceClient{cc}
|
||||
}
|
||||
|
||||
func (c *rtcServiceClient) SignalMessageAssemble(ctx context.Context, in *SignalMessageAssembleReq, opts ...grpc.CallOption) (*SignalMessageAssembleResp, error) {
|
||||
out := new(SignalMessageAssembleResp)
|
||||
err := grpc.Invoke(ctx, "/OpenIMServer.rtc.RtcService/SignalMessageAssemble", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/OpenIMServer.rtc.RtcService/SignalMessageAssemble", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -241,20 +440,30 @@ func (c *rtcServiceClient) SignalMessageAssemble(ctx context.Context, in *Signal
|
||||
|
||||
func (c *rtcServiceClient) SignalGetRooms(ctx context.Context, in *SignalGetRoomsReq, opts ...grpc.CallOption) (*SignalGetRoomsResp, error) {
|
||||
out := new(SignalGetRoomsResp)
|
||||
err := grpc.Invoke(ctx, "/OpenIMServer.rtc.RtcService/SignalGetRooms", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/OpenIMServer.rtc.RtcService/SignalGetRooms", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for RtcService service
|
||||
|
||||
// RtcServiceServer is the server API for RtcService service.
|
||||
type RtcServiceServer interface {
|
||||
SignalMessageAssemble(context.Context, *SignalMessageAssembleReq) (*SignalMessageAssembleResp, error)
|
||||
SignalGetRooms(context.Context, *SignalGetRoomsReq) (*SignalGetRoomsResp, error)
|
||||
}
|
||||
|
||||
// UnimplementedRtcServiceServer can be embedded to have forward compatible implementations.
|
||||
type UnimplementedRtcServiceServer struct {
|
||||
}
|
||||
|
||||
func (*UnimplementedRtcServiceServer) SignalMessageAssemble(context.Context, *SignalMessageAssembleReq) (*SignalMessageAssembleResp, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SignalMessageAssemble not implemented")
|
||||
}
|
||||
func (*UnimplementedRtcServiceServer) SignalGetRooms(context.Context, *SignalGetRoomsReq) (*SignalGetRoomsResp, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SignalGetRooms not implemented")
|
||||
}
|
||||
|
||||
func RegisterRtcServiceServer(s *grpc.Server, srv RtcServiceServer) {
|
||||
s.RegisterService(&_RtcService_serviceDesc, srv)
|
||||
}
|
||||
@@ -311,32 +520,3 @@ var _RtcService_serviceDesc = grpc.ServiceDesc{
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "rtc/rtc.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("rtc/rtc.proto", fileDescriptor_rtc_1c78526032681b55) }
|
||||
|
||||
var fileDescriptor_rtc_1c78526032681b55 = []byte{
|
||||
// 368 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xdd, 0x4a, 0xe3, 0x40,
|
||||
0x14, 0x80, 0xc9, 0x96, 0xed, 0x6e, 0x4f, 0xd8, 0x65, 0x77, 0x60, 0x4b, 0x36, 0xa2, 0x94, 0x28,
|
||||
0x58, 0x2c, 0x4d, 0x20, 0xe2, 0x55, 0x41, 0xb0, 0x44, 0x4a, 0x2e, 0x82, 0x32, 0xbd, 0xb3, 0x57,
|
||||
0x69, 0x1c, 0x42, 0x68, 0xd3, 0x99, 0xce, 0x19, 0x2d, 0x7d, 0x25, 0x5f, 0xc9, 0x97, 0x91, 0x4c,
|
||||
0x5a, 0x4c, 0x4b, 0xa3, 0x5e, 0x9e, 0x33, 0xdf, 0x77, 0x7e, 0x66, 0x06, 0x7e, 0x49, 0x95, 0x78,
|
||||
0x52, 0x25, 0xae, 0x90, 0x5c, 0x71, 0xf2, 0xe7, 0x4e, 0xb0, 0x45, 0x18, 0x8d, 0x99, 0x7c, 0x66,
|
||||
0xd2, 0x95, 0x2a, 0xb1, 0xcf, 0x8b, 0x4c, 0x3f, 0x8c, 0xfa, 0x65, 0xce, 0x13, 0xb3, 0xd4, 0xd3,
|
||||
0xac, 0x87, 0x8f, 0xb3, 0x15, 0x7a, 0x2b, 0x2c, 0x55, 0x67, 0x0d, 0xd6, 0x38, 0x4b, 0x17, 0xf1,
|
||||
0x3c, 0x62, 0x88, 0x71, 0xca, 0x6e, 0x10, 0x59, 0x3e, 0x9d, 0x33, 0xca, 0x96, 0x64, 0x00, 0x2d,
|
||||
0xd4, 0x67, 0x94, 0x2d, 0x2d, 0xa3, 0x63, 0x74, 0x4d, 0xff, 0xd8, 0xdd, 0x69, 0xa5, 0x8b, 0xb9,
|
||||
0xe3, 0x2d, 0x44, 0xdf, 0x79, 0xd2, 0x01, 0x93, 0x0b, 0x26, 0x63, 0x95, 0xf1, 0x45, 0x18, 0x58,
|
||||
0xdf, 0x3a, 0x46, 0xb7, 0x45, 0xab, 0x29, 0xe7, 0xc5, 0x80, 0xff, 0x35, 0xbd, 0x51, 0x90, 0x36,
|
||||
0x34, 0x33, 0xbc, 0x8f, 0x11, 0x75, 0xe7, 0x9f, 0x74, 0x13, 0x91, 0x6b, 0x80, 0x6d, 0x13, 0x14,
|
||||
0xba, 0xac, 0xe9, 0x9f, 0x7c, 0x34, 0x15, 0x0a, 0x5a, 0x31, 0xc8, 0x15, 0xfc, 0xc8, 0x31, 0x0d,
|
||||
0x62, 0x15, 0x5b, 0x0d, 0x2d, 0x1f, 0x1d, 0x92, 0xa3, 0x12, 0xa1, 0x5b, 0xd6, 0xe9, 0xc1, 0xdf,
|
||||
0xb2, 0xe0, 0x88, 0x29, 0xca, 0x79, 0x8e, 0xc5, 0x8e, 0x6d, 0x68, 0x4a, 0xce, 0xf3, 0x30, 0xd0,
|
||||
0x33, 0xb6, 0xe8, 0x26, 0x72, 0x26, 0x40, 0xf6, 0x61, 0x14, 0xe4, 0x16, 0xbe, 0x17, 0xe7, 0xc5,
|
||||
0x42, 0x8d, 0xae, 0xe9, 0x7b, 0xf5, 0x43, 0x6f, 0xb4, 0xe1, 0x7a, 0x24, 0xf9, 0x93, 0x08, 0x03,
|
||||
0xca, 0xc4, 0x7c, 0x4d, 0x4b, 0xdb, 0x7f, 0x35, 0x00, 0xa8, 0x4a, 0x0a, 0x2d, 0x4b, 0x18, 0x11,
|
||||
0xf0, 0xef, 0xe0, 0x25, 0x92, 0x0b, 0x77, 0xff, 0x57, 0xb8, 0x75, 0x2f, 0x6d, 0xf7, 0xbe, 0xcc,
|
||||
0xa2, 0x20, 0x13, 0xf8, 0xbd, 0xbb, 0x1d, 0x39, 0xad, 0xd3, 0x2b, 0x97, 0x65, 0x9f, 0x7d, 0x0e,
|
||||
0xa1, 0x18, 0xda, 0x0f, 0x56, 0x89, 0x55, 0xbe, 0xac, 0x54, 0xc9, 0x40, 0xaa, 0x64, 0xda, 0xd4,
|
||||
0xe1, 0xe5, 0x5b, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6d, 0x79, 0xb8, 0x52, 0xfe, 0x02, 0x00, 0x00,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user