2571 lines
76 KiB
Go
2571 lines
76 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: comm.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
anypb "google.golang.org/protobuf/types/known/anypb"
|
|
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 HeroAttributesType int32
|
|
|
|
const (
|
|
HeroAttributesType_Hp HeroAttributesType = 0 //血量
|
|
HeroAttributesType_Atk HeroAttributesType = 1 //攻击
|
|
HeroAttributesType_Def HeroAttributesType = 2 //防御
|
|
HeroAttributesType_Speed HeroAttributesType = 3 //速度
|
|
HeroAttributesType_Crit HeroAttributesType = 4 //暴击
|
|
)
|
|
|
|
// Enum value maps for HeroAttributesType.
|
|
var (
|
|
HeroAttributesType_name = map[int32]string{
|
|
0: "Hp",
|
|
1: "Atk",
|
|
2: "Def",
|
|
3: "Speed",
|
|
4: "Crit",
|
|
}
|
|
HeroAttributesType_value = map[string]int32{
|
|
"Hp": 0,
|
|
"Atk": 1,
|
|
"Def": 2,
|
|
"Speed": 3,
|
|
"Crit": 4,
|
|
}
|
|
)
|
|
|
|
func (x HeroAttributesType) Enum() *HeroAttributesType {
|
|
p := new(HeroAttributesType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x HeroAttributesType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (HeroAttributesType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_comm_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (HeroAttributesType) Type() protoreflect.EnumType {
|
|
return &file_comm_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x HeroAttributesType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use HeroAttributesType.Descriptor instead.
|
|
func (HeroAttributesType) EnumDescriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type ErrorData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=ErrorCode" json:"code"`
|
|
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
|
|
Dataint int32 `protobuf:"varint,3,opt,name=dataint,proto3" json:"dataint"`
|
|
Datastring string `protobuf:"bytes,4,opt,name=datastring,proto3" json:"datastring"`
|
|
Atn *UserAssets `protobuf:"bytes,5,opt,name=atn,proto3" json:"atn"`
|
|
Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message"`
|
|
}
|
|
|
|
func (x *ErrorData) Reset() {
|
|
*x = ErrorData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ErrorData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ErrorData) ProtoMessage() {}
|
|
|
|
func (x *ErrorData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_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 ErrorData.ProtoReflect.Descriptor instead.
|
|
func (*ErrorData) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ErrorData) GetCode() ErrorCode {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ErrorCode_Success
|
|
}
|
|
|
|
func (x *ErrorData) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ErrorData) GetDataint() int32 {
|
|
if x != nil {
|
|
return x.Dataint
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ErrorData) GetDatastring() string {
|
|
if x != nil {
|
|
return x.Datastring
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ErrorData) GetAtn() *UserAssets {
|
|
if x != nil {
|
|
return x.Atn
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ErrorData) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//用户消息流结构1
|
|
type UserMessage struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
MsgId uint32 `protobuf:"varint,1,opt,name=MsgId,proto3" json:"MsgId"` //消息id 客户端标记
|
|
MainType string `protobuf:"bytes,2,opt,name=MainType,proto3" json:"MainType"` //用户消息处理 模块名 例如:user 对应项目中 user的模块
|
|
SubType string `protobuf:"bytes,3,opt,name=SubType,proto3" json:"SubType"` //用户消息处理函数名 例如:login 对应项目中 user的模块中
|
|
// api_login 的处理函数
|
|
ServicePath string `protobuf:"bytes,4,opt,name=servicePath,proto3" json:"servicePath"` // 消息路由地址 部分消息前端确定转发给谁 \worker\worker0
|
|
Data *anypb.Any `protobuf:"bytes,5,opt,name=data,proto3" json:"data"`
|
|
Sec string `protobuf:"bytes,6,opt,name=sec,proto3" json:"sec"` //密文
|
|
}
|
|
|
|
func (x *UserMessage) Reset() {
|
|
*x = UserMessage{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UserMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserMessage) ProtoMessage() {}
|
|
|
|
func (x *UserMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_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 UserMessage.ProtoReflect.Descriptor instead.
|
|
func (*UserMessage) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *UserMessage) GetMsgId() uint32 {
|
|
if x != nil {
|
|
return x.MsgId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserMessage) GetMainType() string {
|
|
if x != nil {
|
|
return x.MainType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserMessage) GetSubType() string {
|
|
if x != nil {
|
|
return x.SubType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserMessage) GetServicePath() string {
|
|
if x != nil {
|
|
return x.ServicePath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserMessage) GetData() *anypb.Any {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UserMessage) GetSec() string {
|
|
if x != nil {
|
|
return x.Sec
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//代理用户转发消息结构
|
|
type AgentMessage struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Ip string `protobuf:"bytes,1,opt,name=Ip,proto3" json:"Ip"`
|
|
UserSessionId string `protobuf:"bytes,2,opt,name=UserSessionId,proto3" json:"UserSessionId"`
|
|
UserId string `protobuf:"bytes,3,opt,name=UserId,proto3" json:"UserId"`
|
|
ServiceTag string `protobuf:"bytes,4,opt,name=ServiceTag,proto3" json:"ServiceTag"`
|
|
GatewayServiceId string `protobuf:"bytes,5,opt,name=GatewayServiceId,proto3" json:"GatewayServiceId"`
|
|
MainType string `protobuf:"bytes,6,opt,name=MainType,proto3" json:"MainType"`
|
|
SubType string `protobuf:"bytes,7,opt,name=SubType,proto3" json:"SubType"`
|
|
Message *anypb.Any `protobuf:"bytes,8,opt,name=Message,proto3" json:"Message"`
|
|
}
|
|
|
|
func (x *AgentMessage) Reset() {
|
|
*x = AgentMessage{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AgentMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AgentMessage) ProtoMessage() {}
|
|
|
|
func (x *AgentMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_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 AgentMessage.ProtoReflect.Descriptor instead.
|
|
func (*AgentMessage) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *AgentMessage) GetIp() string {
|
|
if x != nil {
|
|
return x.Ip
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AgentMessage) GetUserSessionId() string {
|
|
if x != nil {
|
|
return x.UserSessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AgentMessage) GetUserId() string {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AgentMessage) GetServiceTag() string {
|
|
if x != nil {
|
|
return x.ServiceTag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AgentMessage) GetGatewayServiceId() string {
|
|
if x != nil {
|
|
return x.GatewayServiceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AgentMessage) GetMainType() string {
|
|
if x != nil {
|
|
return x.MainType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AgentMessage) GetSubType() string {
|
|
if x != nil {
|
|
return x.SubType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AgentMessage) GetMessage() *anypb.Any {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// RPC 服务固定回复结构
|
|
type RPCMessageReply struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ErrorData *ErrorData `protobuf:"bytes,1,opt,name=ErrorData,proto3" json:"ErrorData"`
|
|
Reply []*UserMessage `protobuf:"bytes,2,rep,name=Reply,proto3" json:"Reply"`
|
|
}
|
|
|
|
func (x *RPCMessageReply) Reset() {
|
|
*x = RPCMessageReply{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RPCMessageReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RPCMessageReply) ProtoMessage() {}
|
|
|
|
func (x *RPCMessageReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_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 RPCMessageReply.ProtoReflect.Descriptor instead.
|
|
func (*RPCMessageReply) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *RPCMessageReply) GetErrorData() *ErrorData {
|
|
if x != nil {
|
|
return x.ErrorData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RPCMessageReply) GetReply() []*UserMessage {
|
|
if x != nil {
|
|
return x.Reply
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//用户代理绑定Uid请求
|
|
type AgentBuildReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserSessionId string `protobuf:"bytes,1,opt,name=UserSessionId,proto3" json:"UserSessionId"`
|
|
UserId string `protobuf:"bytes,2,opt,name=UserId,proto3" json:"UserId"`
|
|
WorkerId string `protobuf:"bytes,3,opt,name=WorkerId,proto3" json:"WorkerId"`
|
|
}
|
|
|
|
func (x *AgentBuildReq) Reset() {
|
|
*x = AgentBuildReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AgentBuildReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AgentBuildReq) ProtoMessage() {}
|
|
|
|
func (x *AgentBuildReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_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 AgentBuildReq.ProtoReflect.Descriptor instead.
|
|
func (*AgentBuildReq) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *AgentBuildReq) GetUserSessionId() string {
|
|
if x != nil {
|
|
return x.UserSessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AgentBuildReq) GetUserId() string {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AgentBuildReq) GetWorkerId() string {
|
|
if x != nil {
|
|
return x.WorkerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//用户代理解绑请求
|
|
type AgentUnBuildReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserSessionId string `protobuf:"bytes,1,opt,name=UserSessionId,proto3" json:"UserSessionId"`
|
|
}
|
|
|
|
func (x *AgentUnBuildReq) Reset() {
|
|
*x = AgentUnBuildReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AgentUnBuildReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AgentUnBuildReq) ProtoMessage() {}
|
|
|
|
func (x *AgentUnBuildReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_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 AgentUnBuildReq.ProtoReflect.Descriptor instead.
|
|
func (*AgentUnBuildReq) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *AgentUnBuildReq) GetUserSessionId() string {
|
|
if x != nil {
|
|
return x.UserSessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//向用户代理发送消息请求
|
|
type AgentSendMessageReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserSessionId string `protobuf:"bytes,1,opt,name=UserSessionId,proto3" json:"UserSessionId"`
|
|
Reply []*UserMessage `protobuf:"bytes,2,rep,name=Reply,proto3" json:"Reply"`
|
|
}
|
|
|
|
func (x *AgentSendMessageReq) Reset() {
|
|
*x = AgentSendMessageReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AgentSendMessageReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AgentSendMessageReq) ProtoMessage() {}
|
|
|
|
func (x *AgentSendMessageReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_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 AgentSendMessageReq.ProtoReflect.Descriptor instead.
|
|
func (*AgentSendMessageReq) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *AgentSendMessageReq) GetUserSessionId() string {
|
|
if x != nil {
|
|
return x.UserSessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AgentSendMessageReq) GetReply() []*UserMessage {
|
|
if x != nil {
|
|
return x.Reply
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//发送批量消息
|
|
type BatchMessageReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserSessionIds []string `protobuf:"bytes,1,rep,name=UserSessionIds,proto3" json:"UserSessionIds"`
|
|
MainType string `protobuf:"bytes,2,opt,name=MainType,proto3" json:"MainType"`
|
|
SubType string `protobuf:"bytes,3,opt,name=SubType,proto3" json:"SubType"`
|
|
Data *anypb.Any `protobuf:"bytes,4,opt,name=Data,proto3" json:"Data"`
|
|
}
|
|
|
|
func (x *BatchMessageReq) Reset() {
|
|
*x = BatchMessageReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BatchMessageReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BatchMessageReq) ProtoMessage() {}
|
|
|
|
func (x *BatchMessageReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_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 BatchMessageReq.ProtoReflect.Descriptor instead.
|
|
func (*BatchMessageReq) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *BatchMessageReq) GetUserSessionIds() []string {
|
|
if x != nil {
|
|
return x.UserSessionIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BatchMessageReq) GetMainType() string {
|
|
if x != nil {
|
|
return x.MainType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BatchMessageReq) GetSubType() string {
|
|
if x != nil {
|
|
return x.SubType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BatchMessageReq) GetData() *anypb.Any {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//发送广播消息
|
|
type BroadCastMessageReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
MainType string `protobuf:"bytes,1,opt,name=MainType,proto3" json:"MainType"` //服务名
|
|
SubType string `protobuf:"bytes,2,opt,name=SubType,proto3" json:"SubType"`
|
|
Data *anypb.Any `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data"`
|
|
}
|
|
|
|
func (x *BroadCastMessageReq) Reset() {
|
|
*x = BroadCastMessageReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BroadCastMessageReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BroadCastMessageReq) ProtoMessage() {}
|
|
|
|
func (x *BroadCastMessageReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_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 BroadCastMessageReq.ProtoReflect.Descriptor instead.
|
|
func (*BroadCastMessageReq) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *BroadCastMessageReq) GetMainType() string {
|
|
if x != nil {
|
|
return x.MainType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BroadCastMessageReq) GetSubType() string {
|
|
if x != nil {
|
|
return x.SubType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BroadCastMessageReq) GetData() *anypb.Any {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//关闭用户代理
|
|
type AgentCloseeReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserSessionId string `protobuf:"bytes,1,opt,name=UserSessionId,proto3" json:"UserSessionId"`
|
|
}
|
|
|
|
func (x *AgentCloseeReq) Reset() {
|
|
*x = AgentCloseeReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AgentCloseeReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AgentCloseeReq) ProtoMessage() {}
|
|
|
|
func (x *AgentCloseeReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AgentCloseeReq.ProtoReflect.Descriptor instead.
|
|
func (*AgentCloseeReq) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *AgentCloseeReq) GetUserSessionId() string {
|
|
if x != nil {
|
|
return x.UserSessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//通知用户登录
|
|
type NoticeUserLoginReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Ip string `protobuf:"bytes,1,opt,name=Ip,proto3" json:"Ip"`
|
|
UserSessionId string `protobuf:"bytes,2,opt,name=UserSessionId,proto3" json:"UserSessionId"`
|
|
UserId string `protobuf:"bytes,3,opt,name=UserId,proto3" json:"UserId"`
|
|
ServiceTag string `protobuf:"bytes,4,opt,name=ServiceTag,proto3" json:"ServiceTag"`
|
|
GatewayServiceId string `protobuf:"bytes,5,opt,name=GatewayServiceId,proto3" json:"GatewayServiceId"`
|
|
}
|
|
|
|
func (x *NoticeUserLoginReq) Reset() {
|
|
*x = NoticeUserLoginReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NoticeUserLoginReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NoticeUserLoginReq) ProtoMessage() {}
|
|
|
|
func (x *NoticeUserLoginReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NoticeUserLoginReq.ProtoReflect.Descriptor instead.
|
|
func (*NoticeUserLoginReq) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *NoticeUserLoginReq) GetIp() string {
|
|
if x != nil {
|
|
return x.Ip
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NoticeUserLoginReq) GetUserSessionId() string {
|
|
if x != nil {
|
|
return x.UserSessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NoticeUserLoginReq) GetUserId() string {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NoticeUserLoginReq) GetServiceTag() string {
|
|
if x != nil {
|
|
return x.ServiceTag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NoticeUserLoginReq) GetGatewayServiceId() string {
|
|
if x != nil {
|
|
return x.GatewayServiceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//通知用户登录
|
|
type NoticeUserCreateReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Ip string `protobuf:"bytes,1,opt,name=Ip,proto3" json:"Ip"`
|
|
UserSessionId string `protobuf:"bytes,2,opt,name=UserSessionId,proto3" json:"UserSessionId"`
|
|
UserId string `protobuf:"bytes,3,opt,name=UserId,proto3" json:"UserId"`
|
|
ServiceTag string `protobuf:"bytes,4,opt,name=ServiceTag,proto3" json:"ServiceTag"`
|
|
GatewayServiceId string `protobuf:"bytes,5,opt,name=GatewayServiceId,proto3" json:"GatewayServiceId"`
|
|
}
|
|
|
|
func (x *NoticeUserCreateReq) Reset() {
|
|
*x = NoticeUserCreateReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NoticeUserCreateReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NoticeUserCreateReq) ProtoMessage() {}
|
|
|
|
func (x *NoticeUserCreateReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[11]
|
|
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 NoticeUserCreateReq.ProtoReflect.Descriptor instead.
|
|
func (*NoticeUserCreateReq) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *NoticeUserCreateReq) GetIp() string {
|
|
if x != nil {
|
|
return x.Ip
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NoticeUserCreateReq) GetUserSessionId() string {
|
|
if x != nil {
|
|
return x.UserSessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NoticeUserCreateReq) GetUserId() string {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NoticeUserCreateReq) GetServiceTag() string {
|
|
if x != nil {
|
|
return x.ServiceTag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NoticeUserCreateReq) GetGatewayServiceId() string {
|
|
if x != nil {
|
|
return x.GatewayServiceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//通知用户离线
|
|
type NoticeUserCloseReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Ip string `protobuf:"bytes,1,opt,name=Ip,proto3" json:"Ip"`
|
|
UserSessionId string `protobuf:"bytes,2,opt,name=UserSessionId,proto3" json:"UserSessionId"`
|
|
UserId string `protobuf:"bytes,3,opt,name=UserId,proto3" json:"UserId"`
|
|
ServiceTag string `protobuf:"bytes,4,opt,name=ServiceTag,proto3" json:"ServiceTag"`
|
|
GatewayServiceId string `protobuf:"bytes,5,opt,name=GatewayServiceId,proto3" json:"GatewayServiceId"`
|
|
}
|
|
|
|
func (x *NoticeUserCloseReq) Reset() {
|
|
*x = NoticeUserCloseReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NoticeUserCloseReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NoticeUserCloseReq) ProtoMessage() {}
|
|
|
|
func (x *NoticeUserCloseReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[12]
|
|
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 NoticeUserCloseReq.ProtoReflect.Descriptor instead.
|
|
func (*NoticeUserCloseReq) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *NoticeUserCloseReq) GetIp() string {
|
|
if x != nil {
|
|
return x.Ip
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NoticeUserCloseReq) GetUserSessionId() string {
|
|
if x != nil {
|
|
return x.UserSessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NoticeUserCloseReq) GetUserId() string {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NoticeUserCloseReq) GetServiceTag() string {
|
|
if x != nil {
|
|
return x.ServiceTag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NoticeUserCloseReq) GetGatewayServiceId() string {
|
|
if x != nil {
|
|
return x.GatewayServiceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SkillData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
SkillID int32 `protobuf:"varint,1,opt,name=skillID,proto3" json:"skillID"`
|
|
SkillLv int32 `protobuf:"varint,2,opt,name=skillLv,proto3" json:"skillLv"`
|
|
}
|
|
|
|
func (x *SkillData) Reset() {
|
|
*x = SkillData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SkillData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SkillData) ProtoMessage() {}
|
|
|
|
func (x *SkillData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[13]
|
|
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 SkillData.ProtoReflect.Descriptor instead.
|
|
func (*SkillData) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *SkillData) GetSkillID() int32 {
|
|
if x != nil {
|
|
return x.SkillID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SkillData) GetSkillLv() int32 {
|
|
if x != nil {
|
|
return x.SkillLv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//用户资产数据 对标*cfg.Game_atn 数据结构
|
|
type UserAssets struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
A string `protobuf:"bytes,1,opt,name=A,proto3" json:"A"`
|
|
T string `protobuf:"bytes,2,opt,name=T,proto3" json:"T"`
|
|
N int32 `protobuf:"varint,3,opt,name=N,proto3" json:"N"`
|
|
}
|
|
|
|
func (x *UserAssets) Reset() {
|
|
*x = UserAssets{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UserAssets) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserAssets) ProtoMessage() {}
|
|
|
|
func (x *UserAssets) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[14]
|
|
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 UserAssets.ProtoReflect.Descriptor instead.
|
|
func (*UserAssets) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *UserAssets) GetA() string {
|
|
if x != nil {
|
|
return x.A
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserAssets) GetT() string {
|
|
if x != nil {
|
|
return x.T
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserAssets) GetN() int32 {
|
|
if x != nil {
|
|
return x.N
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// ATNO 类型
|
|
type UserAtno struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
A string `protobuf:"bytes,1,opt,name=A,proto3" json:"A"`
|
|
T string `protobuf:"bytes,2,opt,name=T,proto3" json:"T"`
|
|
N int32 `protobuf:"varint,3,opt,name=N,proto3" json:"N"`
|
|
O string `protobuf:"bytes,4,opt,name=O,proto3" json:"O"`
|
|
}
|
|
|
|
func (x *UserAtno) Reset() {
|
|
*x = UserAtno{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UserAtno) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserAtno) ProtoMessage() {}
|
|
|
|
func (x *UserAtno) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[15]
|
|
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 UserAtno.ProtoReflect.Descriptor instead.
|
|
func (*UserAtno) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *UserAtno) GetA() string {
|
|
if x != nil {
|
|
return x.A
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserAtno) GetT() string {
|
|
if x != nil {
|
|
return x.T
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserAtno) GetN() int32 {
|
|
if x != nil {
|
|
return x.N
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserAtno) GetO() string {
|
|
if x != nil {
|
|
return x.O
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TaskParam struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
First int32 `protobuf:"varint,1,opt,name=first,proto3" json:"first"` //限定条件
|
|
Second int32 `protobuf:"varint,2,opt,name=second,proto3" json:"second"` //次数
|
|
}
|
|
|
|
func (x *TaskParam) Reset() {
|
|
*x = TaskParam{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskParam) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskParam) ProtoMessage() {}
|
|
|
|
func (x *TaskParam) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[16]
|
|
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 TaskParam.ProtoReflect.Descriptor instead.
|
|
func (*TaskParam) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *TaskParam) GetFirst() int32 {
|
|
if x != nil {
|
|
return x.First
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TaskParam) GetSecond() int32 {
|
|
if x != nil {
|
|
return x.Second
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RtaskParam struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Param1 int32 `protobuf:"varint,1,opt,name=param1,proto3" json:"param1"`
|
|
Param2 int32 `protobuf:"varint,2,opt,name=param2,proto3" json:"param2"`
|
|
Param3 int32 `protobuf:"varint,3,opt,name=param3,proto3" json:"param3"`
|
|
}
|
|
|
|
func (x *RtaskParam) Reset() {
|
|
*x = RtaskParam{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskParam) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskParam) ProtoMessage() {}
|
|
|
|
func (x *RtaskParam) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[17]
|
|
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 RtaskParam.ProtoReflect.Descriptor instead.
|
|
func (*RtaskParam) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *RtaskParam) GetParam1() int32 {
|
|
if x != nil {
|
|
return x.Param1
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RtaskParam) GetParam2() int32 {
|
|
if x != nil {
|
|
return x.Param2
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RtaskParam) GetParam3() int32 {
|
|
if x != nil {
|
|
return x.Param3
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UIdReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"`
|
|
}
|
|
|
|
func (x *UIdReq) Reset() {
|
|
*x = UIdReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UIdReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UIdReq) ProtoMessage() {}
|
|
|
|
func (x *UIdReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[18]
|
|
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 UIdReq.ProtoReflect.Descriptor instead.
|
|
func (*UIdReq) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *UIdReq) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type NameReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"`
|
|
}
|
|
|
|
func (x *NameReq) Reset() {
|
|
*x = NameReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NameReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NameReq) ProtoMessage() {}
|
|
|
|
func (x *NameReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[19]
|
|
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 NameReq.ProtoReflect.Descriptor instead.
|
|
func (*NameReq) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *NameReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EmptyReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *EmptyReq) Reset() {
|
|
*x = EmptyReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EmptyReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EmptyReq) ProtoMessage() {}
|
|
|
|
func (x *EmptyReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[20]
|
|
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 EmptyReq.ProtoReflect.Descriptor instead.
|
|
func (*EmptyReq) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
type EmptyResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *EmptyResp) Reset() {
|
|
*x = EmptyResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EmptyResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EmptyResp) ProtoMessage() {}
|
|
|
|
func (x *EmptyResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[21]
|
|
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 EmptyResp.ProtoReflect.Descriptor instead.
|
|
func (*EmptyResp) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
// rpc 通用请求消息 1
|
|
type RPCGeneralReqA1 struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1"`
|
|
}
|
|
|
|
func (x *RPCGeneralReqA1) Reset() {
|
|
*x = RPCGeneralReqA1{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RPCGeneralReqA1) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RPCGeneralReqA1) ProtoMessage() {}
|
|
|
|
func (x *RPCGeneralReqA1) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[22]
|
|
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 RPCGeneralReqA1.ProtoReflect.Descriptor instead.
|
|
func (*RPCGeneralReqA1) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *RPCGeneralReqA1) GetParam1() string {
|
|
if x != nil {
|
|
return x.Param1
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// rpc 通用请求消息 1
|
|
type RPCGeneralReqA2 struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1"`
|
|
Param2 string `protobuf:"bytes,2,opt,name=param2,proto3" json:"param2"`
|
|
}
|
|
|
|
func (x *RPCGeneralReqA2) Reset() {
|
|
*x = RPCGeneralReqA2{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RPCGeneralReqA2) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RPCGeneralReqA2) ProtoMessage() {}
|
|
|
|
func (x *RPCGeneralReqA2) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[23]
|
|
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 RPCGeneralReqA2.ProtoReflect.Descriptor instead.
|
|
func (*RPCGeneralReqA2) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *RPCGeneralReqA2) GetParam1() string {
|
|
if x != nil {
|
|
return x.Param1
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RPCGeneralReqA2) GetParam2() string {
|
|
if x != nil {
|
|
return x.Param2
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// rpc 通用请求消息 1
|
|
type RPCGeneralReqA3 struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1"`
|
|
Param2 string `protobuf:"bytes,2,opt,name=param2,proto3" json:"param2"`
|
|
Param3 string `protobuf:"bytes,3,opt,name=param3,proto3" json:"param3"`
|
|
}
|
|
|
|
func (x *RPCGeneralReqA3) Reset() {
|
|
*x = RPCGeneralReqA3{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RPCGeneralReqA3) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RPCGeneralReqA3) ProtoMessage() {}
|
|
|
|
func (x *RPCGeneralReqA3) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[24]
|
|
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 RPCGeneralReqA3.ProtoReflect.Descriptor instead.
|
|
func (*RPCGeneralReqA3) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *RPCGeneralReqA3) GetParam1() string {
|
|
if x != nil {
|
|
return x.Param1
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RPCGeneralReqA3) GetParam2() string {
|
|
if x != nil {
|
|
return x.Param2
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RPCGeneralReqA3) GetParam3() string {
|
|
if x != nil {
|
|
return x.Param3
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// rpc 通用请求消息 1
|
|
type RPCGeneralReqA4 struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1"`
|
|
Param2 string `protobuf:"bytes,2,opt,name=param2,proto3" json:"param2"`
|
|
Param3 string `protobuf:"bytes,3,opt,name=param3,proto3" json:"param3"`
|
|
Param4 string `protobuf:"bytes,4,opt,name=param4,proto3" json:"param4"`
|
|
}
|
|
|
|
func (x *RPCGeneralReqA4) Reset() {
|
|
*x = RPCGeneralReqA4{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RPCGeneralReqA4) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RPCGeneralReqA4) ProtoMessage() {}
|
|
|
|
func (x *RPCGeneralReqA4) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[25]
|
|
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 RPCGeneralReqA4.ProtoReflect.Descriptor instead.
|
|
func (*RPCGeneralReqA4) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *RPCGeneralReqA4) GetParam1() string {
|
|
if x != nil {
|
|
return x.Param1
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RPCGeneralReqA4) GetParam2() string {
|
|
if x != nil {
|
|
return x.Param2
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RPCGeneralReqA4) GetParam3() string {
|
|
if x != nil {
|
|
return x.Param3
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RPCGeneralReqA4) GetParam4() string {
|
|
if x != nil {
|
|
return x.Param4
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// rpc 通用请求消息 1
|
|
type RPCRTaskReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"`
|
|
TaskType int32 `protobuf:"varint,2,opt,name=taskType,proto3" json:"taskType"`
|
|
Param []int32 `protobuf:"varint,3,rep,packed,name=param,proto3" json:"param"`
|
|
}
|
|
|
|
func (x *RPCRTaskReq) Reset() {
|
|
*x = RPCRTaskReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RPCRTaskReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RPCRTaskReq) ProtoMessage() {}
|
|
|
|
func (x *RPCRTaskReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[26]
|
|
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 RPCRTaskReq.ProtoReflect.Descriptor instead.
|
|
func (*RPCRTaskReq) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *RPCRTaskReq) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RPCRTaskReq) GetTaskType() int32 {
|
|
if x != nil {
|
|
return x.TaskType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RPCRTaskReq) GetParam() []int32 {
|
|
if x != nil {
|
|
return x.Param
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//服务列表信息
|
|
type ServiceDBInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Serverid string `protobuf:"bytes,1,opt,name=serverid,proto3" json:"serverid" bson:"serverid"`
|
|
ServerName string `protobuf:"bytes,2,opt,name=serverName,proto3" json:"serverName" bson:"serverName"`
|
|
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner" bson:"owner"`
|
|
Cross string `protobuf:"bytes,4,opt,name=cross,proto3" json:"cross" bson:"cross"`
|
|
CrossId string `protobuf:"bytes,5,opt,name=crossId,proto3" json:"crossId" bson:"crossId"`
|
|
Singleserver string `protobuf:"bytes,6,opt,name=singleserver,proto3" json:"singleserver" bson:"singleserver"`
|
|
Opentime int64 `protobuf:"varint,7,opt,name=opentime,proto3" json:"opentime" bson:"opentime"`
|
|
RedisIsCluster bool `protobuf:"varint,8,opt,name=redisIsCluster,proto3" json:"redisIsCluster" bson:"redisIsCluster"`
|
|
RedisAddr []string `protobuf:"bytes,9,rep,name=redisAddr,proto3" json:"redisAddr" bson:"redisAddr"`
|
|
RedisPassword string `protobuf:"bytes,10,opt,name=redisPassword,proto3" json:"redisPassword" bson:"redisPassword"`
|
|
RedisDb int32 `protobuf:"varint,11,opt,name=redisDb,proto3" json:"redisDb" bson:"redisDb"`
|
|
MongodbUrl string `protobuf:"bytes,12,opt,name=MongodbUrl,proto3" json:"MongodbUrl" bson:"MongodbUrl"`
|
|
MongodbDatabase string `protobuf:"bytes,13,opt,name=mongodbDatabase,proto3" json:"mongodbDatabase" bson:"mongodbDatabase"`
|
|
}
|
|
|
|
func (x *ServiceDBInfo) Reset() {
|
|
*x = ServiceDBInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_comm_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ServiceDBInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ServiceDBInfo) ProtoMessage() {}
|
|
|
|
func (x *ServiceDBInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_comm_proto_msgTypes[27]
|
|
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 ServiceDBInfo.ProtoReflect.Descriptor instead.
|
|
func (*ServiceDBInfo) Descriptor() ([]byte, []int) {
|
|
return file_comm_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *ServiceDBInfo) GetServerid() string {
|
|
if x != nil {
|
|
return x.Serverid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ServiceDBInfo) GetServerName() string {
|
|
if x != nil {
|
|
return x.ServerName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ServiceDBInfo) GetOwner() string {
|
|
if x != nil {
|
|
return x.Owner
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ServiceDBInfo) GetCross() string {
|
|
if x != nil {
|
|
return x.Cross
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ServiceDBInfo) GetCrossId() string {
|
|
if x != nil {
|
|
return x.CrossId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ServiceDBInfo) GetSingleserver() string {
|
|
if x != nil {
|
|
return x.Singleserver
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ServiceDBInfo) GetOpentime() int64 {
|
|
if x != nil {
|
|
return x.Opentime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ServiceDBInfo) GetRedisIsCluster() bool {
|
|
if x != nil {
|
|
return x.RedisIsCluster
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ServiceDBInfo) GetRedisAddr() []string {
|
|
if x != nil {
|
|
return x.RedisAddr
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ServiceDBInfo) GetRedisPassword() string {
|
|
if x != nil {
|
|
return x.RedisPassword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ServiceDBInfo) GetRedisDb() int32 {
|
|
if x != nil {
|
|
return x.RedisDb
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ServiceDBInfo) GetMongodbUrl() string {
|
|
if x != nil {
|
|
return x.MongodbUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ServiceDBInfo) GetMongodbDatabase() string {
|
|
if x != nil {
|
|
return x.MongodbDatabase
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_comm_proto protoreflect.FileDescriptor
|
|
|
|
var file_comm_proto_rawDesc = []byte{
|
|
0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x65, 0x72,
|
|
0x72, 0x6f, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67,
|
|
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61,
|
|
0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb4, 0x01, 0x0a, 0x09, 0x45, 0x72, 0x72,
|
|
0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65,
|
|
0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07,
|
|
0x64, 0x61, 0x74, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64,
|
|
0x61, 0x74, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74,
|
|
0x72, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61,
|
|
0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x03, 0x61, 0x74, 0x6e, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73,
|
|
0x52, 0x03, 0x61, 0x74, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22,
|
|
0xb7, 0x01, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
|
|
0x14, 0x0a, 0x05, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05,
|
|
0x4d, 0x73, 0x67, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x4d, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70,
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4d, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70,
|
|
0x65, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x07, 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73,
|
|
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x28, 0x0a,
|
|
0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f,
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e,
|
|
0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x63, 0x18, 0x06,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x65, 0x63, 0x22, 0x8e, 0x02, 0x0a, 0x0c, 0x41, 0x67,
|
|
0x65, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x70,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x70, 0x12, 0x24, 0x0a, 0x0d, 0x55, 0x73,
|
|
0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64,
|
|
0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x65, 0x72, 0x76,
|
|
0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x53, 0x65,
|
|
0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x12, 0x2a, 0x0a, 0x10, 0x47, 0x61, 0x74, 0x65,
|
|
0x77, 0x61, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x10, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69,
|
|
0x63, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x4d, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65,
|
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4d, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65,
|
|
0x12, 0x18, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x07, 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x07, 0x4d, 0x65,
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f,
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e,
|
|
0x79, 0x52, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x5f, 0x0a, 0x0f, 0x52, 0x50,
|
|
0x43, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x28, 0x0a,
|
|
0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x0a, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x09, 0x45, 0x72,
|
|
0x72, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x05, 0x52, 0x65, 0x70, 0x6c, 0x79,
|
|
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x73,
|
|
0x73, 0x61, 0x67, 0x65, 0x52, 0x05, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x69, 0x0a, 0x0d, 0x41,
|
|
0x67, 0x65, 0x6e, 0x74, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x12, 0x24, 0x0a, 0x0d,
|
|
0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
|
|
0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x57, 0x6f,
|
|
0x72, 0x6b, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x57, 0x6f,
|
|
0x72, 0x6b, 0x65, 0x72, 0x49, 0x64, 0x22, 0x37, 0x0a, 0x0f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x55,
|
|
0x6e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x12, 0x24, 0x0a, 0x0d, 0x55, 0x73, 0x65,
|
|
0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22,
|
|
0x5f, 0x0a, 0x13, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73,
|
|
0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x24, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65,
|
|
0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x55,
|
|
0x73, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x05,
|
|
0x52, 0x65, 0x70, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x55, 0x73,
|
|
0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x05, 0x52, 0x65, 0x70, 0x6c, 0x79,
|
|
0x22, 0x99, 0x01, 0x0a, 0x0f, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
0x65, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73,
|
|
0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x55, 0x73,
|
|
0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x12, 0x1a, 0x0a, 0x08,
|
|
0x4d, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
|
0x4d, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x54,
|
|
0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x53, 0x75, 0x62, 0x54, 0x79,
|
|
0x70, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x75, 0x0a, 0x13,
|
|
0x42, 0x72, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x4d, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4d, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12,
|
|
0x18, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x07, 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x44, 0x61, 0x74,
|
|
0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x04, 0x44,
|
|
0x61, 0x74, 0x61, 0x22, 0x36, 0x0a, 0x0e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73,
|
|
0x65, 0x65, 0x52, 0x65, 0x71, 0x12, 0x24, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x73,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x55, 0x73,
|
|
0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xae, 0x01, 0x0a, 0x12,
|
|
0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52,
|
|
0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
|
|
0x49, 0x70, 0x12, 0x24, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f,
|
|
0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x53,
|
|
0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72,
|
|
0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64,
|
|
0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x18, 0x04,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67,
|
|
0x12, 0x2a, 0x0a, 0x10, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69,
|
|
0x63, 0x65, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x47, 0x61, 0x74, 0x65,
|
|
0x77, 0x61, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x22, 0xaf, 0x01, 0x0a,
|
|
0x13, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74,
|
|
0x65, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x02, 0x49, 0x70, 0x12, 0x24, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73,
|
|
0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x55, 0x73, 0x65,
|
|
0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73,
|
|
0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72,
|
|
0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54,
|
|
0x61, 0x67, 0x12, 0x2a, 0x0a, 0x10, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x53, 0x65, 0x72,
|
|
0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x47, 0x61,
|
|
0x74, 0x65, 0x77, 0x61, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x22, 0xae,
|
|
0x01, 0x0a, 0x12, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6c, 0x6f,
|
|
0x73, 0x65, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x02, 0x49, 0x70, 0x12, 0x24, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x73,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x55, 0x73,
|
|
0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x55,
|
|
0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65,
|
|
0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61,
|
|
0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
|
0x54, 0x61, 0x67, 0x12, 0x2a, 0x0a, 0x10, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x53, 0x65,
|
|
0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x47,
|
|
0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x22,
|
|
0x3f, 0x0a, 0x09, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07,
|
|
0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73,
|
|
0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x4c,
|
|
0x76, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x76,
|
|
0x22, 0x36, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x12, 0x0c,
|
|
0x0a, 0x01, 0x41, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x01, 0x41, 0x12, 0x0c, 0x0a, 0x01,
|
|
0x54, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x01, 0x54, 0x12, 0x0c, 0x0a, 0x01, 0x4e, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x4e, 0x22, 0x42, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72,
|
|
0x41, 0x74, 0x6e, 0x6f, 0x12, 0x0c, 0x0a, 0x01, 0x41, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x01, 0x41, 0x12, 0x0c, 0x0a, 0x01, 0x54, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x01, 0x54,
|
|
0x12, 0x0c, 0x0a, 0x01, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x4e, 0x12, 0x0c,
|
|
0x0a, 0x01, 0x4f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x01, 0x4f, 0x22, 0x39, 0x0a, 0x09,
|
|
0x54, 0x61, 0x73, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x72,
|
|
0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x66, 0x69, 0x72, 0x73, 0x74, 0x12,
|
|
0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x06, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x22, 0x54, 0x0a, 0x0a, 0x52, 0x74, 0x61, 0x73, 0x6b,
|
|
0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x12, 0x16, 0x0a,
|
|
0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x70,
|
|
0x61, 0x72, 0x61, 0x6d, 0x32, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x33, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x33, 0x22, 0x1a, 0x0a,
|
|
0x06, 0x55, 0x49, 0x64, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0x1d, 0x0a, 0x07, 0x4e, 0x61, 0x6d,
|
|
0x65, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x0a, 0x0a, 0x08, 0x45, 0x6d, 0x70, 0x74,
|
|
0x79, 0x52, 0x65, 0x71, 0x22, 0x0b, 0x0a, 0x09, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x73,
|
|
0x70, 0x22, 0x29, 0x0a, 0x0f, 0x52, 0x50, 0x43, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52,
|
|
0x65, 0x71, 0x41, 0x31, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x22, 0x41, 0x0a, 0x0f,
|
|
0x52, 0x50, 0x43, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x41, 0x32, 0x12,
|
|
0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d,
|
|
0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x32, 0x22,
|
|
0x59, 0x0a, 0x0f, 0x52, 0x50, 0x43, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x71,
|
|
0x41, 0x33, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61,
|
|
0x72, 0x61, 0x6d, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61,
|
|
0x6d, 0x32, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x33, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x33, 0x22, 0x71, 0x0a, 0x0f, 0x52, 0x50,
|
|
0x43, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x41, 0x34, 0x12, 0x16, 0x0a,
|
|
0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70,
|
|
0x61, 0x72, 0x61, 0x6d, 0x31, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x32, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x32, 0x12, 0x16, 0x0a,
|
|
0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x33, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70,
|
|
0x61, 0x72, 0x61, 0x6d, 0x33, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x34, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x34, 0x22, 0x51, 0x0a,
|
|
0x0b, 0x52, 0x50, 0x43, 0x52, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03,
|
|
0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a,
|
|
0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61,
|
|
0x72, 0x61, 0x6d, 0x18, 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d,
|
|
0x22, 0xa1, 0x03, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x42, 0x49, 0x6e,
|
|
0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x69, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x69, 0x64, 0x12, 0x1e,
|
|
0x0a, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14,
|
|
0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f,
|
|
0x77, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x18, 0x04, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72,
|
|
0x6f, 0x73, 0x73, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x6f,
|
|
0x73, 0x73, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x73, 0x65,
|
|
0x72, 0x76, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x69, 0x6e, 0x67,
|
|
0x6c, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x6e,
|
|
0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e,
|
|
0x74, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x49, 0x73, 0x43,
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x72, 0x65,
|
|
0x64, 0x69, 0x73, 0x49, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09,
|
|
0x72, 0x65, 0x64, 0x69, 0x73, 0x41, 0x64, 0x64, 0x72, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52,
|
|
0x09, 0x72, 0x65, 0x64, 0x69, 0x73, 0x41, 0x64, 0x64, 0x72, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65,
|
|
0x64, 0x69, 0x73, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0d, 0x72, 0x65, 0x64, 0x69, 0x73, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64,
|
|
0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x64, 0x69, 0x73, 0x44, 0x62, 0x18, 0x0b, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x07, 0x72, 0x65, 0x64, 0x69, 0x73, 0x44, 0x62, 0x12, 0x1e, 0x0a, 0x0a, 0x4d, 0x6f,
|
|
0x6e, 0x67, 0x6f, 0x64, 0x62, 0x55, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
|
0x4d, 0x6f, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x55, 0x72, 0x6c, 0x12, 0x28, 0x0a, 0x0f, 0x6d, 0x6f,
|
|
0x6e, 0x67, 0x6f, 0x64, 0x62, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x0d, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0f, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x44, 0x61, 0x74, 0x61,
|
|
0x62, 0x61, 0x73, 0x65, 0x2a, 0x43, 0x0a, 0x12, 0x48, 0x65, 0x72, 0x6f, 0x41, 0x74, 0x74, 0x72,
|
|
0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x06, 0x0a, 0x02, 0x48, 0x70,
|
|
0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x74, 0x6b, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44,
|
|
0x65, 0x66, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x70, 0x65, 0x65, 0x64, 0x10, 0x03, 0x12,
|
|
0x08, 0x0a, 0x04, 0x43, 0x72, 0x69, 0x74, 0x10, 0x04, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70,
|
|
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_comm_proto_rawDescOnce sync.Once
|
|
file_comm_proto_rawDescData = file_comm_proto_rawDesc
|
|
)
|
|
|
|
func file_comm_proto_rawDescGZIP() []byte {
|
|
file_comm_proto_rawDescOnce.Do(func() {
|
|
file_comm_proto_rawDescData = protoimpl.X.CompressGZIP(file_comm_proto_rawDescData)
|
|
})
|
|
return file_comm_proto_rawDescData
|
|
}
|
|
|
|
var file_comm_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_comm_proto_msgTypes = make([]protoimpl.MessageInfo, 28)
|
|
var file_comm_proto_goTypes = []interface{}{
|
|
(HeroAttributesType)(0), // 0: HeroAttributesType
|
|
(*ErrorData)(nil), // 1: ErrorData
|
|
(*UserMessage)(nil), // 2: UserMessage
|
|
(*AgentMessage)(nil), // 3: AgentMessage
|
|
(*RPCMessageReply)(nil), // 4: RPCMessageReply
|
|
(*AgentBuildReq)(nil), // 5: AgentBuildReq
|
|
(*AgentUnBuildReq)(nil), // 6: AgentUnBuildReq
|
|
(*AgentSendMessageReq)(nil), // 7: AgentSendMessageReq
|
|
(*BatchMessageReq)(nil), // 8: BatchMessageReq
|
|
(*BroadCastMessageReq)(nil), // 9: BroadCastMessageReq
|
|
(*AgentCloseeReq)(nil), // 10: AgentCloseeReq
|
|
(*NoticeUserLoginReq)(nil), // 11: NoticeUserLoginReq
|
|
(*NoticeUserCreateReq)(nil), // 12: NoticeUserCreateReq
|
|
(*NoticeUserCloseReq)(nil), // 13: NoticeUserCloseReq
|
|
(*SkillData)(nil), // 14: SkillData
|
|
(*UserAssets)(nil), // 15: UserAssets
|
|
(*UserAtno)(nil), // 16: UserAtno
|
|
(*TaskParam)(nil), // 17: TaskParam
|
|
(*RtaskParam)(nil), // 18: RtaskParam
|
|
(*UIdReq)(nil), // 19: UIdReq
|
|
(*NameReq)(nil), // 20: NameReq
|
|
(*EmptyReq)(nil), // 21: EmptyReq
|
|
(*EmptyResp)(nil), // 22: EmptyResp
|
|
(*RPCGeneralReqA1)(nil), // 23: RPCGeneralReqA1
|
|
(*RPCGeneralReqA2)(nil), // 24: RPCGeneralReqA2
|
|
(*RPCGeneralReqA3)(nil), // 25: RPCGeneralReqA3
|
|
(*RPCGeneralReqA4)(nil), // 26: RPCGeneralReqA4
|
|
(*RPCRTaskReq)(nil), // 27: RPCRTaskReq
|
|
(*ServiceDBInfo)(nil), // 28: ServiceDBInfo
|
|
(ErrorCode)(0), // 29: ErrorCode
|
|
(*anypb.Any)(nil), // 30: google.protobuf.Any
|
|
}
|
|
var file_comm_proto_depIdxs = []int32{
|
|
29, // 0: ErrorData.code:type_name -> ErrorCode
|
|
15, // 1: ErrorData.atn:type_name -> UserAssets
|
|
30, // 2: UserMessage.data:type_name -> google.protobuf.Any
|
|
30, // 3: AgentMessage.Message:type_name -> google.protobuf.Any
|
|
1, // 4: RPCMessageReply.ErrorData:type_name -> ErrorData
|
|
2, // 5: RPCMessageReply.Reply:type_name -> UserMessage
|
|
2, // 6: AgentSendMessageReq.Reply:type_name -> UserMessage
|
|
30, // 7: BatchMessageReq.Data:type_name -> google.protobuf.Any
|
|
30, // 8: BroadCastMessageReq.Data:type_name -> google.protobuf.Any
|
|
9, // [9:9] is the sub-list for method output_type
|
|
9, // [9:9] is the sub-list for method input_type
|
|
9, // [9:9] is the sub-list for extension type_name
|
|
9, // [9:9] is the sub-list for extension extendee
|
|
0, // [0:9] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_comm_proto_init() }
|
|
func file_comm_proto_init() {
|
|
if File_comm_proto != nil {
|
|
return
|
|
}
|
|
file_errorcode_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_comm_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ErrorData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UserMessage); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AgentMessage); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RPCMessageReply); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AgentBuildReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AgentUnBuildReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AgentSendMessageReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BatchMessageReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BroadCastMessageReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AgentCloseeReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NoticeUserLoginReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NoticeUserCreateReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NoticeUserCloseReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SkillData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UserAssets); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UserAtno); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskParam); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RtaskParam); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UIdReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NameReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EmptyReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EmptyResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RPCGeneralReqA1); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RPCGeneralReqA2); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RPCGeneralReqA3); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RPCGeneralReqA4); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RPCRTaskReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_comm_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ServiceDBInfo); 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_comm_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 28,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_comm_proto_goTypes,
|
|
DependencyIndexes: file_comm_proto_depIdxs,
|
|
EnumInfos: file_comm_proto_enumTypes,
|
|
MessageInfos: file_comm_proto_msgTypes,
|
|
}.Build()
|
|
File_comm_proto = out.File
|
|
file_comm_proto_rawDesc = nil
|
|
file_comm_proto_goTypes = nil
|
|
file_comm_proto_depIdxs = nil
|
|
}
|