// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v5.29.3 // source: msgcall.proto package pb import ( reflect "reflect" sync "sync" unsafe "unsafe" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) 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 MsgReq struct { state protoimpl.MessageState `protogen:"open.v1"` Head *HeadReq `protobuf:"bytes,1,opt,name=head,proto3" json:"head,omitempty"` Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MsgReq) Reset() { *x = MsgReq{} mi := &file_msgcall_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MsgReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*MsgReq) ProtoMessage() {} func (x *MsgReq) ProtoReflect() protoreflect.Message { mi := &file_msgcall_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MsgReq.ProtoReflect.Descriptor instead. func (*MsgReq) Descriptor() ([]byte, []int) { return file_msgcall_proto_rawDescGZIP(), []int{0} } func (x *MsgReq) GetHead() *HeadReq { if x != nil { return x.Head } return nil } func (x *MsgReq) GetService() string { if x != nil { return x.Service } return "" } func (x *MsgReq) GetMethod() string { if x != nil { return x.Method } return "" } func (x *MsgReq) GetData() []byte { if x != nil { return x.Data } return nil } type MsgRes struct { state protoimpl.MessageState `protogen:"open.v1"` Head *HeadRes `protobuf:"bytes,1,opt,name=head,proto3" json:"head,omitempty"` Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MsgRes) Reset() { *x = MsgRes{} mi := &file_msgcall_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MsgRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*MsgRes) ProtoMessage() {} func (x *MsgRes) ProtoReflect() protoreflect.Message { mi := &file_msgcall_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MsgRes.ProtoReflect.Descriptor instead. func (*MsgRes) Descriptor() ([]byte, []int) { return file_msgcall_proto_rawDescGZIP(), []int{1} } func (x *MsgRes) GetHead() *HeadRes { if x != nil { return x.Head } return nil } func (x *MsgRes) GetService() string { if x != nil { return x.Service } return "" } func (x *MsgRes) GetMethod() string { if x != nil { return x.Method } return "" } func (x *MsgRes) GetData() []byte { if x != nil { return x.Data } return nil } var File_msgcall_proto protoreflect.FileDescriptor const file_msgcall_proto_rawDesc = "" + "\n" + "\rmsgcall.proto\x12\tPbMsgCall\x1a\fcommon.proto\"u\n" + "\x06MsgReq\x12%\n" + "\x04head\x18\x01 \x01(\v2\x11.PbCommon.HeadReqR\x04head\x12\x18\n" + "\aservice\x18\x02 \x01(\tR\aservice\x12\x16\n" + "\x06method\x18\x03 \x01(\tR\x06method\x12\x12\n" + "\x04data\x18\x04 \x01(\fR\x04data\"u\n" + "\x06MsgRes\x12%\n" + "\x04head\x18\x01 \x01(\v2\x11.PbCommon.HeadResR\x04head\x12\x18\n" + "\aservice\x18\x02 \x01(\tR\aservice\x12\x16\n" + "\x06method\x18\x03 \x01(\tR\x06method\x12\x12\n" + "\x04data\x18\x04 \x01(\fR\x04data2r\n" + "\aMsgCall\x12/\n" + "\aOneCall\x12\x11.PbMsgCall.MsgReq\x1a\x11.PbMsgCall.MsgRes\x126\n" + "\n" + "StreamCall\x12\x11.PbMsgCall.MsgReq\x1a\x11.PbMsgCall.MsgRes(\x010\x01B\x05Z\x03pb/b\x06proto3" var ( file_msgcall_proto_rawDescOnce sync.Once file_msgcall_proto_rawDescData []byte ) func file_msgcall_proto_rawDescGZIP() []byte { file_msgcall_proto_rawDescOnce.Do(func() { file_msgcall_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_msgcall_proto_rawDesc), len(file_msgcall_proto_rawDesc))) }) return file_msgcall_proto_rawDescData } var file_msgcall_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_msgcall_proto_goTypes = []any{ (*MsgReq)(nil), // 0: PbMsgCall.MsgReq (*MsgRes)(nil), // 1: PbMsgCall.MsgRes (*HeadReq)(nil), // 2: PbCommon.HeadReq (*HeadRes)(nil), // 3: PbCommon.HeadRes } var file_msgcall_proto_depIdxs = []int32{ 2, // 0: PbMsgCall.MsgReq.head:type_name -> PbCommon.HeadReq 3, // 1: PbMsgCall.MsgRes.head:type_name -> PbCommon.HeadRes 0, // 2: PbMsgCall.MsgCall.OneCall:input_type -> PbMsgCall.MsgReq 0, // 3: PbMsgCall.MsgCall.StreamCall:input_type -> PbMsgCall.MsgReq 1, // 4: PbMsgCall.MsgCall.OneCall:output_type -> PbMsgCall.MsgRes 1, // 5: PbMsgCall.MsgCall.StreamCall:output_type -> PbMsgCall.MsgRes 4, // [4:6] is the sub-list for method output_type 2, // [2:4] 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_msgcall_proto_init() } func file_msgcall_proto_init() { if File_msgcall_proto != nil { return } file_common_proto_init() type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_msgcall_proto_rawDesc), len(file_msgcall_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 1, }, GoTypes: file_msgcall_proto_goTypes, DependencyIndexes: file_msgcall_proto_depIdxs, MessageInfos: file_msgcall_proto_msgTypes, }.Build() File_msgcall_proto = out.File file_msgcall_proto_goTypes = nil file_msgcall_proto_depIdxs = nil }