go_dreamfactory/pb/addrecharge_msg.pb.go
2023-08-09 16:34:40 +08:00

494 lines
17 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc v3.20.0
// source: addrecharge/addrecharge_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 AddRechargeInfoReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *AddRechargeInfoReq) Reset() {
*x = AddRechargeInfoReq{}
if protoimpl.UnsafeEnabled {
mi := &file_addrecharge_addrecharge_msg_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AddRechargeInfoReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AddRechargeInfoReq) ProtoMessage() {}
func (x *AddRechargeInfoReq) ProtoReflect() protoreflect.Message {
mi := &file_addrecharge_addrecharge_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 AddRechargeInfoReq.ProtoReflect.Descriptor instead.
func (*AddRechargeInfoReq) Descriptor() ([]byte, []int) {
return file_addrecharge_addrecharge_msg_proto_rawDescGZIP(), []int{0}
}
//开服任务数据
type AddRechargeInfoResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Integral int32 `protobuf:"varint,1,opt,name=integral,proto3" json:"integral"`
Record map[int32]bool `protobuf:"bytes,2,rep,name=record,proto3" json:"record" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
}
func (x *AddRechargeInfoResp) Reset() {
*x = AddRechargeInfoResp{}
if protoimpl.UnsafeEnabled {
mi := &file_addrecharge_addrecharge_msg_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AddRechargeInfoResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AddRechargeInfoResp) ProtoMessage() {}
func (x *AddRechargeInfoResp) ProtoReflect() protoreflect.Message {
mi := &file_addrecharge_addrecharge_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 AddRechargeInfoResp.ProtoReflect.Descriptor instead.
func (*AddRechargeInfoResp) Descriptor() ([]byte, []int) {
return file_addrecharge_addrecharge_msg_proto_rawDescGZIP(), []int{1}
}
func (x *AddRechargeInfoResp) GetIntegral() int32 {
if x != nil {
return x.Integral
}
return 0
}
func (x *AddRechargeInfoResp) GetRecord() map[int32]bool {
if x != nil {
return x.Record
}
return nil
}
//领奖 请求
type AddRechargeReceiveReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
}
func (x *AddRechargeReceiveReq) Reset() {
*x = AddRechargeReceiveReq{}
if protoimpl.UnsafeEnabled {
mi := &file_addrecharge_addrecharge_msg_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AddRechargeReceiveReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AddRechargeReceiveReq) ProtoMessage() {}
func (x *AddRechargeReceiveReq) ProtoReflect() protoreflect.Message {
mi := &file_addrecharge_addrecharge_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 AddRechargeReceiveReq.ProtoReflect.Descriptor instead.
func (*AddRechargeReceiveReq) Descriptor() ([]byte, []int) {
return file_addrecharge_addrecharge_msg_proto_rawDescGZIP(), []int{2}
}
func (x *AddRechargeReceiveReq) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
//领奖 请求回应
type AddRechargeReceiveResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
Award []*UserAssets `protobuf:"bytes,2,rep,name=award,proto3" json:"award"` //奖励
}
func (x *AddRechargeReceiveResp) Reset() {
*x = AddRechargeReceiveResp{}
if protoimpl.UnsafeEnabled {
mi := &file_addrecharge_addrecharge_msg_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AddRechargeReceiveResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AddRechargeReceiveResp) ProtoMessage() {}
func (x *AddRechargeReceiveResp) ProtoReflect() protoreflect.Message {
mi := &file_addrecharge_addrecharge_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 AddRechargeReceiveResp.ProtoReflect.Descriptor instead.
func (*AddRechargeReceiveResp) Descriptor() ([]byte, []int) {
return file_addrecharge_addrecharge_msg_proto_rawDescGZIP(), []int{3}
}
func (x *AddRechargeReceiveResp) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
func (x *AddRechargeReceiveResp) GetAward() []*UserAssets {
if x != nil {
return x.Award
}
return nil
}
//一键领奖 请求
type AddRechargeReceiveAllReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *AddRechargeReceiveAllReq) Reset() {
*x = AddRechargeReceiveAllReq{}
if protoimpl.UnsafeEnabled {
mi := &file_addrecharge_addrecharge_msg_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AddRechargeReceiveAllReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AddRechargeReceiveAllReq) ProtoMessage() {}
func (x *AddRechargeReceiveAllReq) ProtoReflect() protoreflect.Message {
mi := &file_addrecharge_addrecharge_msg_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 AddRechargeReceiveAllReq.ProtoReflect.Descriptor instead.
func (*AddRechargeReceiveAllReq) Descriptor() ([]byte, []int) {
return file_addrecharge_addrecharge_msg_proto_rawDescGZIP(), []int{4}
}
//一键领奖 请求回应
type AddRechargeReceiveAllResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Record map[int32]bool `protobuf:"bytes,1,rep,name=record,proto3" json:"record" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
Award []*UserAssets `protobuf:"bytes,2,rep,name=award,proto3" json:"award"` //奖励
}
func (x *AddRechargeReceiveAllResp) Reset() {
*x = AddRechargeReceiveAllResp{}
if protoimpl.UnsafeEnabled {
mi := &file_addrecharge_addrecharge_msg_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AddRechargeReceiveAllResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AddRechargeReceiveAllResp) ProtoMessage() {}
func (x *AddRechargeReceiveAllResp) ProtoReflect() protoreflect.Message {
mi := &file_addrecharge_addrecharge_msg_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 AddRechargeReceiveAllResp.ProtoReflect.Descriptor instead.
func (*AddRechargeReceiveAllResp) Descriptor() ([]byte, []int) {
return file_addrecharge_addrecharge_msg_proto_rawDescGZIP(), []int{5}
}
func (x *AddRechargeReceiveAllResp) GetRecord() map[int32]bool {
if x != nil {
return x.Record
}
return nil
}
func (x *AddRechargeReceiveAllResp) GetAward() []*UserAssets {
if x != nil {
return x.Award
}
return nil
}
var File_addrecharge_addrecharge_msg_proto protoreflect.FileDescriptor
var file_addrecharge_addrecharge_msg_proto_rawDesc = []byte{
0x0a, 0x21, 0x61, 0x64, 0x64, 0x72, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x2f, 0x61, 0x64,
0x64, 0x72, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
0x14, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x52, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e,
0x66, 0x6f, 0x52, 0x65, 0x71, 0x22, 0xa6, 0x01, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x52, 0x65, 0x63,
0x68, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1a, 0x0a,
0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x38, 0x0a, 0x06, 0x72, 0x65, 0x63,
0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x41, 0x64, 0x64, 0x52,
0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x2e,
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x72, 0x65, 0x63,
0x6f, 0x72, 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x45, 0x6e, 0x74,
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x27,
0x0a, 0x15, 0x41, 0x64, 0x64, 0x52, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52, 0x65, 0x63,
0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4b, 0x0a, 0x16, 0x41, 0x64, 0x64, 0x52, 0x65,
0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73,
0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69,
0x64, 0x12, 0x21, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x61,
0x77, 0x61, 0x72, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x41, 0x64, 0x64, 0x52, 0x65, 0x63, 0x68, 0x61,
0x72, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71,
0x22, 0xb9, 0x01, 0x0a, 0x19, 0x41, 0x64, 0x64, 0x52, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65,
0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3e,
0x0a, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26,
0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65,
0x69, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72,
0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x21,
0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72,
0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79,
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b,
0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04,
0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_addrecharge_addrecharge_msg_proto_rawDescOnce sync.Once
file_addrecharge_addrecharge_msg_proto_rawDescData = file_addrecharge_addrecharge_msg_proto_rawDesc
)
func file_addrecharge_addrecharge_msg_proto_rawDescGZIP() []byte {
file_addrecharge_addrecharge_msg_proto_rawDescOnce.Do(func() {
file_addrecharge_addrecharge_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_addrecharge_addrecharge_msg_proto_rawDescData)
})
return file_addrecharge_addrecharge_msg_proto_rawDescData
}
var file_addrecharge_addrecharge_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_addrecharge_addrecharge_msg_proto_goTypes = []interface{}{
(*AddRechargeInfoReq)(nil), // 0: AddRechargeInfoReq
(*AddRechargeInfoResp)(nil), // 1: AddRechargeInfoResp
(*AddRechargeReceiveReq)(nil), // 2: AddRechargeReceiveReq
(*AddRechargeReceiveResp)(nil), // 3: AddRechargeReceiveResp
(*AddRechargeReceiveAllReq)(nil), // 4: AddRechargeReceiveAllReq
(*AddRechargeReceiveAllResp)(nil), // 5: AddRechargeReceiveAllResp
nil, // 6: AddRechargeInfoResp.RecordEntry
nil, // 7: AddRechargeReceiveAllResp.RecordEntry
(*UserAssets)(nil), // 8: UserAssets
}
var file_addrecharge_addrecharge_msg_proto_depIdxs = []int32{
6, // 0: AddRechargeInfoResp.record:type_name -> AddRechargeInfoResp.RecordEntry
8, // 1: AddRechargeReceiveResp.award:type_name -> UserAssets
7, // 2: AddRechargeReceiveAllResp.record:type_name -> AddRechargeReceiveAllResp.RecordEntry
8, // 3: AddRechargeReceiveAllResp.award:type_name -> UserAssets
4, // [4:4] is the sub-list for method output_type
4, // [4:4] is the sub-list for method input_type
4, // [4:4] is the sub-list for extension type_name
4, // [4:4] is the sub-list for extension extendee
0, // [0:4] is the sub-list for field type_name
}
func init() { file_addrecharge_addrecharge_msg_proto_init() }
func file_addrecharge_addrecharge_msg_proto_init() {
if File_addrecharge_addrecharge_msg_proto != nil {
return
}
file_comm_proto_init()
if !protoimpl.UnsafeEnabled {
file_addrecharge_addrecharge_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AddRechargeInfoReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_addrecharge_addrecharge_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AddRechargeInfoResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_addrecharge_addrecharge_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AddRechargeReceiveReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_addrecharge_addrecharge_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AddRechargeReceiveResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_addrecharge_addrecharge_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AddRechargeReceiveAllReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_addrecharge_addrecharge_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AddRechargeReceiveAllResp); 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_addrecharge_addrecharge_msg_proto_rawDesc,
NumEnums: 0,
NumMessages: 8,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_addrecharge_addrecharge_msg_proto_goTypes,
DependencyIndexes: file_addrecharge_addrecharge_msg_proto_depIdxs,
MessageInfos: file_addrecharge_addrecharge_msg_proto_msgTypes,
}.Build()
File_addrecharge_addrecharge_msg_proto = out.File
file_addrecharge_addrecharge_msg_proto_rawDesc = nil
file_addrecharge_addrecharge_msg_proto_goTypes = nil
file_addrecharge_addrecharge_msg_proto_depIdxs = nil
}