728 lines
24 KiB
Go
728 lines
24 KiB
Go
// protoc -I=. -I=$GOPATH/src --go_out=plugins=grpc:. *.proto
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.27.1
|
|
// protoc v3.19.1
|
|
// source: answer.proto
|
|
|
|
package answer
|
|
|
|
import (
|
|
proto "gitlab.33.cn/chat/imparse/proto"
|
|
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 PushCommonMsgReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
|
|
Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
|
|
}
|
|
|
|
func (x *PushCommonMsgReq) Reset() {
|
|
*x = PushCommonMsgReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_answer_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PushCommonMsgReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PushCommonMsgReq) ProtoMessage() {}
|
|
|
|
func (x *PushCommonMsgReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_answer_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 PushCommonMsgReq.ProtoReflect.Descriptor instead.
|
|
func (*PushCommonMsgReq) Descriptor() ([]byte, []int) {
|
|
return file_answer_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *PushCommonMsgReq) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PushCommonMsgReq) GetFrom() string {
|
|
if x != nil {
|
|
return x.From
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PushCommonMsgReq) GetBody() []byte {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PushCommonMsgReply struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
|
|
Time uint64 `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
|
|
}
|
|
|
|
func (x *PushCommonMsgReply) Reset() {
|
|
*x = PushCommonMsgReply{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_answer_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PushCommonMsgReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PushCommonMsgReply) ProtoMessage() {}
|
|
|
|
func (x *PushCommonMsgReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_answer_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 PushCommonMsgReply.ProtoReflect.Descriptor instead.
|
|
func (*PushCommonMsgReply) Descriptor() ([]byte, []int) {
|
|
return file_answer_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *PushCommonMsgReply) GetMid() int64 {
|
|
if x != nil {
|
|
return x.Mid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PushCommonMsgReply) GetTime() uint64 {
|
|
if x != nil {
|
|
return x.Time
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PushNoticeMsgReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Seq string `protobuf:"bytes,1,opt,name=seq,proto3" json:"seq,omitempty"`
|
|
ChannelType int32 `protobuf:"varint,2,opt,name=channelType,proto3" json:"channelType,omitempty"`
|
|
From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
|
|
Target string `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"`
|
|
Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
|
|
}
|
|
|
|
func (x *PushNoticeMsgReq) Reset() {
|
|
*x = PushNoticeMsgReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_answer_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PushNoticeMsgReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PushNoticeMsgReq) ProtoMessage() {}
|
|
|
|
func (x *PushNoticeMsgReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_answer_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 PushNoticeMsgReq.ProtoReflect.Descriptor instead.
|
|
func (*PushNoticeMsgReq) Descriptor() ([]byte, []int) {
|
|
return file_answer_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *PushNoticeMsgReq) GetSeq() string {
|
|
if x != nil {
|
|
return x.Seq
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PushNoticeMsgReq) GetChannelType() int32 {
|
|
if x != nil {
|
|
return x.ChannelType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PushNoticeMsgReq) GetFrom() string {
|
|
if x != nil {
|
|
return x.From
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PushNoticeMsgReq) GetTarget() string {
|
|
if x != nil {
|
|
return x.Target
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PushNoticeMsgReq) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PushNoticeMsgReply struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
|
|
}
|
|
|
|
func (x *PushNoticeMsgReply) Reset() {
|
|
*x = PushNoticeMsgReply{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_answer_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PushNoticeMsgReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PushNoticeMsgReply) ProtoMessage() {}
|
|
|
|
func (x *PushNoticeMsgReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_answer_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 PushNoticeMsgReply.ProtoReflect.Descriptor instead.
|
|
func (*PushNoticeMsgReply) Descriptor() ([]byte, []int) {
|
|
return file_answer_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *PushNoticeMsgReply) GetMid() int64 {
|
|
if x != nil {
|
|
return x.Mid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UniCastSignalReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Type proto.SignalType `protobuf:"varint,1,opt,name=type,proto3,enum=imparse.signal.SignalType" json:"type,omitempty"`
|
|
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
|
|
Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
|
|
}
|
|
|
|
func (x *UniCastSignalReq) Reset() {
|
|
*x = UniCastSignalReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_answer_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UniCastSignalReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UniCastSignalReq) ProtoMessage() {}
|
|
|
|
func (x *UniCastSignalReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_answer_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 UniCastSignalReq.ProtoReflect.Descriptor instead.
|
|
func (*UniCastSignalReq) Descriptor() ([]byte, []int) {
|
|
return file_answer_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *UniCastSignalReq) GetType() proto.SignalType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return proto.SignalType(0)
|
|
}
|
|
|
|
func (x *UniCastSignalReq) GetTarget() string {
|
|
if x != nil {
|
|
return x.Target
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UniCastSignalReq) GetBody() []byte {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UniCastSignalReply struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
|
|
}
|
|
|
|
func (x *UniCastSignalReply) Reset() {
|
|
*x = UniCastSignalReply{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_answer_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UniCastSignalReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UniCastSignalReply) ProtoMessage() {}
|
|
|
|
func (x *UniCastSignalReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_answer_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 UniCastSignalReply.ProtoReflect.Descriptor instead.
|
|
func (*UniCastSignalReply) Descriptor() ([]byte, []int) {
|
|
return file_answer_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *UniCastSignalReply) GetMid() int64 {
|
|
if x != nil {
|
|
return x.Mid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GroupCastSignalReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Type proto.SignalType `protobuf:"varint,1,opt,name=type,proto3,enum=imparse.signal.SignalType" json:"type,omitempty"`
|
|
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
|
|
Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
|
|
}
|
|
|
|
func (x *GroupCastSignalReq) Reset() {
|
|
*x = GroupCastSignalReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_answer_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GroupCastSignalReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupCastSignalReq) ProtoMessage() {}
|
|
|
|
func (x *GroupCastSignalReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_answer_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 GroupCastSignalReq.ProtoReflect.Descriptor instead.
|
|
func (*GroupCastSignalReq) Descriptor() ([]byte, []int) {
|
|
return file_answer_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *GroupCastSignalReq) GetType() proto.SignalType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return proto.SignalType(0)
|
|
}
|
|
|
|
func (x *GroupCastSignalReq) GetTarget() string {
|
|
if x != nil {
|
|
return x.Target
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GroupCastSignalReq) GetBody() []byte {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupCastSignalReply struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
|
|
}
|
|
|
|
func (x *GroupCastSignalReply) Reset() {
|
|
*x = GroupCastSignalReply{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_answer_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GroupCastSignalReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupCastSignalReply) ProtoMessage() {}
|
|
|
|
func (x *GroupCastSignalReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_answer_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 GroupCastSignalReply.ProtoReflect.Descriptor instead.
|
|
func (*GroupCastSignalReply) Descriptor() ([]byte, []int) {
|
|
return file_answer_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *GroupCastSignalReply) GetMid() int64 {
|
|
if x != nil {
|
|
return x.Mid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_answer_proto protoreflect.FileDescriptor
|
|
|
|
var file_answer_proto_rawDesc = []byte{
|
|
0x0a, 0x0c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c,
|
|
0x64, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x1a, 0x2c, 0x67, 0x69,
|
|
0x74, 0x6c, 0x61, 0x62, 0x2e, 0x33, 0x33, 0x2e, 0x63, 0x6e, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x2f,
|
|
0x69, 0x6d, 0x70, 0x61, 0x72, 0x73, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x69,
|
|
0x67, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x10, 0x50, 0x75,
|
|
0x73, 0x68, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x12, 0x10,
|
|
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
|
|
0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
0x66, 0x72, 0x6f, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x3a, 0x0a, 0x12, 0x50, 0x75, 0x73, 0x68,
|
|
0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x10,
|
|
0x0a, 0x03, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6d, 0x69, 0x64,
|
|
0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04,
|
|
0x74, 0x69, 0x6d, 0x65, 0x22, 0x86, 0x01, 0x0a, 0x10, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74,
|
|
0x69, 0x63, 0x65, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x63,
|
|
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a,
|
|
0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x72, 0x6f,
|
|
0x6d, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74,
|
|
0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x26, 0x0a,
|
|
0x12, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x4d, 0x73, 0x67, 0x52, 0x65,
|
|
0x70, 0x6c, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x03, 0x6d, 0x69, 0x64, 0x22, 0x6e, 0x0a, 0x10, 0x55, 0x6e, 0x69, 0x43, 0x61, 0x73, 0x74,
|
|
0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x79, 0x70,
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x69, 0x6d, 0x70, 0x61, 0x72, 0x73,
|
|
0x65, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x54,
|
|
0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72,
|
|
0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65,
|
|
0x74, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
|
0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x26, 0x0a, 0x12, 0x55, 0x6e, 0x69, 0x43, 0x61, 0x73, 0x74,
|
|
0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6d,
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6d, 0x69, 0x64, 0x22, 0x70, 0x0a,
|
|
0x12, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x61, 0x73, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c,
|
|
0x52, 0x65, 0x71, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0e, 0x32, 0x1a, 0x2e, 0x69, 0x6d, 0x70, 0x61, 0x72, 0x73, 0x65, 0x2e, 0x73, 0x69, 0x67, 0x6e,
|
|
0x61, 0x6c, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74,
|
|
0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x62,
|
|
0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22,
|
|
0x28, 0x0a, 0x14, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x61, 0x73, 0x74, 0x53, 0x69, 0x67, 0x6e,
|
|
0x61, 0x6c, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6d, 0x69, 0x64, 0x32, 0xda, 0x02, 0x0a, 0x06, 0x41, 0x6e,
|
|
0x73, 0x77, 0x65, 0x72, 0x12, 0x51, 0x0a, 0x0d, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x6d, 0x6d,
|
|
0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x12, 0x1e, 0x2e, 0x64, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x61, 0x6e,
|
|
0x73, 0x77, 0x65, 0x72, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4d,
|
|
0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x64, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x61, 0x6e,
|
|
0x73, 0x77, 0x65, 0x72, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4d,
|
|
0x73, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x51, 0x0a, 0x0d, 0x50, 0x75, 0x73, 0x68, 0x4e,
|
|
0x6f, 0x74, 0x69, 0x63, 0x65, 0x4d, 0x73, 0x67, 0x12, 0x1e, 0x2e, 0x64, 0x74, 0x61, 0x6c, 0x6b,
|
|
0x2e, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69,
|
|
0x63, 0x65, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x64, 0x74, 0x61, 0x6c, 0x6b,
|
|
0x2e, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69,
|
|
0x63, 0x65, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x51, 0x0a, 0x0d, 0x55, 0x6e,
|
|
0x69, 0x43, 0x61, 0x73, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x12, 0x1e, 0x2e, 0x64, 0x74,
|
|
0x61, 0x6c, 0x6b, 0x2e, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x2e, 0x55, 0x6e, 0x69, 0x43, 0x61,
|
|
0x73, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x64, 0x74,
|
|
0x61, 0x6c, 0x6b, 0x2e, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x2e, 0x55, 0x6e, 0x69, 0x43, 0x61,
|
|
0x73, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x57, 0x0a,
|
|
0x0f, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x61, 0x73, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c,
|
|
0x12, 0x20, 0x2e, 0x64, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x2e,
|
|
0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x61, 0x73, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x52,
|
|
0x65, 0x71, 0x1a, 0x22, 0x2e, 0x64, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x61, 0x6e, 0x73, 0x77, 0x65,
|
|
0x72, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x61, 0x73, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61,
|
|
0x6c, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62,
|
|
0x2e, 0x33, 0x33, 0x2e, 0x63, 0x6e, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x64, 0x74, 0x61, 0x6c,
|
|
0x6b, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64,
|
|
0x2f, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_answer_proto_rawDescOnce sync.Once
|
|
file_answer_proto_rawDescData = file_answer_proto_rawDesc
|
|
)
|
|
|
|
func file_answer_proto_rawDescGZIP() []byte {
|
|
file_answer_proto_rawDescOnce.Do(func() {
|
|
file_answer_proto_rawDescData = protoimpl.X.CompressGZIP(file_answer_proto_rawDescData)
|
|
})
|
|
return file_answer_proto_rawDescData
|
|
}
|
|
|
|
var file_answer_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
|
var file_answer_proto_goTypes = []interface{}{
|
|
(*PushCommonMsgReq)(nil), // 0: dtalk.answer.PushCommonMsgReq
|
|
(*PushCommonMsgReply)(nil), // 1: dtalk.answer.PushCommonMsgReply
|
|
(*PushNoticeMsgReq)(nil), // 2: dtalk.answer.PushNoticeMsgReq
|
|
(*PushNoticeMsgReply)(nil), // 3: dtalk.answer.PushNoticeMsgReply
|
|
(*UniCastSignalReq)(nil), // 4: dtalk.answer.UniCastSignalReq
|
|
(*UniCastSignalReply)(nil), // 5: dtalk.answer.UniCastSignalReply
|
|
(*GroupCastSignalReq)(nil), // 6: dtalk.answer.GroupCastSignalReq
|
|
(*GroupCastSignalReply)(nil), // 7: dtalk.answer.GroupCastSignalReply
|
|
(proto.SignalType)(0), // 8: imparse.signal.SignalType
|
|
}
|
|
var file_answer_proto_depIdxs = []int32{
|
|
8, // 0: dtalk.answer.UniCastSignalReq.type:type_name -> imparse.signal.SignalType
|
|
8, // 1: dtalk.answer.GroupCastSignalReq.type:type_name -> imparse.signal.SignalType
|
|
0, // 2: dtalk.answer.Answer.PushCommonMsg:input_type -> dtalk.answer.PushCommonMsgReq
|
|
2, // 3: dtalk.answer.Answer.PushNoticeMsg:input_type -> dtalk.answer.PushNoticeMsgReq
|
|
4, // 4: dtalk.answer.Answer.UniCastSignal:input_type -> dtalk.answer.UniCastSignalReq
|
|
6, // 5: dtalk.answer.Answer.GroupCastSignal:input_type -> dtalk.answer.GroupCastSignalReq
|
|
1, // 6: dtalk.answer.Answer.PushCommonMsg:output_type -> dtalk.answer.PushCommonMsgReply
|
|
3, // 7: dtalk.answer.Answer.PushNoticeMsg:output_type -> dtalk.answer.PushNoticeMsgReply
|
|
5, // 8: dtalk.answer.Answer.UniCastSignal:output_type -> dtalk.answer.UniCastSignalReply
|
|
7, // 9: dtalk.answer.Answer.GroupCastSignal:output_type -> dtalk.answer.GroupCastSignalReply
|
|
6, // [6:10] is the sub-list for method output_type
|
|
2, // [2:6] is the sub-list for method input_type
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
2, // [2:2] is the sub-list for extension extendee
|
|
0, // [0:2] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_answer_proto_init() }
|
|
func file_answer_proto_init() {
|
|
if File_answer_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_answer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PushCommonMsgReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_answer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PushCommonMsgReply); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_answer_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PushNoticeMsgReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_answer_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PushNoticeMsgReply); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_answer_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UniCastSignalReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_answer_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UniCastSignalReply); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_answer_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GroupCastSignalReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_answer_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GroupCastSignalReply); 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_answer_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 8,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_answer_proto_goTypes,
|
|
DependencyIndexes: file_answer_proto_depIdxs,
|
|
MessageInfos: file_answer_proto_msgTypes,
|
|
}.Build()
|
|
File_answer_proto = out.File
|
|
file_answer_proto_rawDesc = nil
|
|
file_answer_proto_goTypes = nil
|
|
file_answer_proto_depIdxs = nil
|
|
}
|