359 lines
11 KiB
Go
359 lines
11 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: shopcenter/shopcenter_msg.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
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 ShopCenterInfoReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ShopCenterInfoReq) Reset() {
|
|
*x = ShopCenterInfoReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_shopcenter_shopcenter_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ShopCenterInfoReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ShopCenterInfoReq) ProtoMessage() {}
|
|
|
|
func (x *ShopCenterInfoReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_shopcenter_shopcenter_msg_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 ShopCenterInfoReq.ProtoReflect.Descriptor instead.
|
|
func (*ShopCenterInfoReq) Descriptor() ([]byte, []int) {
|
|
return file_shopcenter_shopcenter_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type ShopCenterInfoResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Info *DBShopCenter `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
|
|
}
|
|
|
|
func (x *ShopCenterInfoResp) Reset() {
|
|
*x = ShopCenterInfoResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_shopcenter_shopcenter_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ShopCenterInfoResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ShopCenterInfoResp) ProtoMessage() {}
|
|
|
|
func (x *ShopCenterInfoResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_shopcenter_shopcenter_msg_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 ShopCenterInfoResp.ProtoReflect.Descriptor instead.
|
|
func (*ShopCenterInfoResp) Descriptor() ([]byte, []int) {
|
|
return file_shopcenter_shopcenter_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ShopCenterInfoResp) GetInfo() *DBShopCenter {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ShopCenterReceiveReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Fid int32 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid"` //基金id
|
|
Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid"` //进度id
|
|
}
|
|
|
|
func (x *ShopCenterReceiveReq) Reset() {
|
|
*x = ShopCenterReceiveReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_shopcenter_shopcenter_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ShopCenterReceiveReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ShopCenterReceiveReq) ProtoMessage() {}
|
|
|
|
func (x *ShopCenterReceiveReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_shopcenter_shopcenter_msg_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 ShopCenterReceiveReq.ProtoReflect.Descriptor instead.
|
|
func (*ShopCenterReceiveReq) Descriptor() ([]byte, []int) {
|
|
return file_shopcenter_shopcenter_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ShopCenterReceiveReq) GetFid() int32 {
|
|
if x != nil {
|
|
return x.Fid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ShopCenterReceiveReq) GetPid() int32 {
|
|
if x != nil {
|
|
return x.Pid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ShopCenterReceiveResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Fid int32 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid"` //基金id
|
|
Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid"` //进度id
|
|
Award []*UserAtno `protobuf:"bytes,3,rep,name=award,proto3" json:"award"` //奖励
|
|
}
|
|
|
|
func (x *ShopCenterReceiveResp) Reset() {
|
|
*x = ShopCenterReceiveResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_shopcenter_shopcenter_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ShopCenterReceiveResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ShopCenterReceiveResp) ProtoMessage() {}
|
|
|
|
func (x *ShopCenterReceiveResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_shopcenter_shopcenter_msg_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 ShopCenterReceiveResp.ProtoReflect.Descriptor instead.
|
|
func (*ShopCenterReceiveResp) Descriptor() ([]byte, []int) {
|
|
return file_shopcenter_shopcenter_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ShopCenterReceiveResp) GetFid() int32 {
|
|
if x != nil {
|
|
return x.Fid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ShopCenterReceiveResp) GetPid() int32 {
|
|
if x != nil {
|
|
return x.Pid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ShopCenterReceiveResp) GetAward() []*UserAtno {
|
|
if x != nil {
|
|
return x.Award
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_shopcenter_shopcenter_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_shopcenter_shopcenter_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x1f, 0x73, 0x68, 0x6f, 0x70, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x73, 0x68, 0x6f,
|
|
0x70, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x1a, 0x1e, 0x73, 0x68, 0x6f, 0x70, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x73, 0x68,
|
|
0x6f, 0x70, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x13, 0x0a,
|
|
0x11, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52,
|
|
0x65, 0x71, 0x22, 0x37, 0x0a, 0x12, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72,
|
|
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x53, 0x68, 0x6f, 0x70, 0x43,
|
|
0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x3a, 0x0a, 0x14, 0x53,
|
|
0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
|
|
0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x03, 0x66, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x03, 0x70, 0x69, 0x64, 0x22, 0x5c, 0x0a, 0x15, 0x53, 0x68, 0x6f, 0x70, 0x43,
|
|
0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
0x12, 0x10, 0x0a, 0x03, 0x66, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x66,
|
|
0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x03, 0x70, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x05,
|
|
0x61, 0x77, 0x61, 0x72, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_shopcenter_shopcenter_msg_proto_rawDescOnce sync.Once
|
|
file_shopcenter_shopcenter_msg_proto_rawDescData = file_shopcenter_shopcenter_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_shopcenter_shopcenter_msg_proto_rawDescGZIP() []byte {
|
|
file_shopcenter_shopcenter_msg_proto_rawDescOnce.Do(func() {
|
|
file_shopcenter_shopcenter_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_shopcenter_shopcenter_msg_proto_rawDescData)
|
|
})
|
|
return file_shopcenter_shopcenter_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_shopcenter_shopcenter_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
var file_shopcenter_shopcenter_msg_proto_goTypes = []interface{}{
|
|
(*ShopCenterInfoReq)(nil), // 0: ShopCenterInfoReq
|
|
(*ShopCenterInfoResp)(nil), // 1: ShopCenterInfoResp
|
|
(*ShopCenterReceiveReq)(nil), // 2: ShopCenterReceiveReq
|
|
(*ShopCenterReceiveResp)(nil), // 3: ShopCenterReceiveResp
|
|
(*DBShopCenter)(nil), // 4: DBShopCenter
|
|
(*UserAtno)(nil), // 5: UserAtno
|
|
}
|
|
var file_shopcenter_shopcenter_msg_proto_depIdxs = []int32{
|
|
4, // 0: ShopCenterInfoResp.info:type_name -> DBShopCenter
|
|
5, // 1: ShopCenterReceiveResp.award:type_name -> UserAtno
|
|
2, // [2:2] is the sub-list for method output_type
|
|
2, // [2:2] 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_shopcenter_shopcenter_msg_proto_init() }
|
|
func file_shopcenter_shopcenter_msg_proto_init() {
|
|
if File_shopcenter_shopcenter_msg_proto != nil {
|
|
return
|
|
}
|
|
file_shopcenter_shopcenter_db_proto_init()
|
|
file_comm_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_shopcenter_shopcenter_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ShopCenterInfoReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_shopcenter_shopcenter_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ShopCenterInfoResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_shopcenter_shopcenter_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ShopCenterReceiveReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_shopcenter_shopcenter_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ShopCenterReceiveResp); 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_shopcenter_shopcenter_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 4,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_shopcenter_shopcenter_msg_proto_goTypes,
|
|
DependencyIndexes: file_shopcenter_shopcenter_msg_proto_depIdxs,
|
|
MessageInfos: file_shopcenter_shopcenter_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_shopcenter_shopcenter_msg_proto = out.File
|
|
file_shopcenter_shopcenter_msg_proto_rawDesc = nil
|
|
file_shopcenter_shopcenter_msg_proto_goTypes = nil
|
|
file_shopcenter_shopcenter_msg_proto_depIdxs = nil
|
|
}
|