1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-06 20:13:50 +08:00
MiraiGo/client/pb/oidb/oidb0xe5b.pb.go
2021-04-05 06:49:36 +00:00

383 lines
13 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.14.0
// source: oidb0xe5b.proto
package oidb
import (
reflect "reflect"
sync "sync"
proto "github.com/golang/protobuf/proto"
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)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
type LifeAchievementItem struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AchievementId *uint32 `protobuf:"varint,1,opt,name=achievementId" json:"achievementId,omitempty"`
AchievementTitle *string `protobuf:"bytes,2,opt,name=achievementTitle" json:"achievementTitle,omitempty"`
AchievementIcon *string `protobuf:"bytes,3,opt,name=achievementIcon" json:"achievementIcon,omitempty"`
HasPraised *bool `protobuf:"varint,4,opt,name=hasPraised" json:"hasPraised,omitempty"`
PraiseNum *uint32 `protobuf:"varint,5,opt,name=praiseNum" json:"praiseNum,omitempty"`
AchievementContent []byte `protobuf:"bytes,6,opt,name=achievementContent" json:"achievementContent,omitempty"`
}
func (x *LifeAchievementItem) Reset() {
*x = LifeAchievementItem{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xe5b_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LifeAchievementItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LifeAchievementItem) ProtoMessage() {}
func (x *LifeAchievementItem) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xe5b_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 LifeAchievementItem.ProtoReflect.Descriptor instead.
func (*LifeAchievementItem) Descriptor() ([]byte, []int) {
return file_oidb0xe5b_proto_rawDescGZIP(), []int{0}
}
func (x *LifeAchievementItem) GetAchievementId() uint32 {
if x != nil && x.AchievementId != nil {
return *x.AchievementId
}
return 0
}
func (x *LifeAchievementItem) GetAchievementTitle() string {
if x != nil && x.AchievementTitle != nil {
return *x.AchievementTitle
}
return ""
}
func (x *LifeAchievementItem) GetAchievementIcon() string {
if x != nil && x.AchievementIcon != nil {
return *x.AchievementIcon
}
return ""
}
func (x *LifeAchievementItem) GetHasPraised() bool {
if x != nil && x.HasPraised != nil {
return *x.HasPraised
}
return false
}
func (x *LifeAchievementItem) GetPraiseNum() uint32 {
if x != nil && x.PraiseNum != nil {
return *x.PraiseNum
}
return 0
}
func (x *LifeAchievementItem) GetAchievementContent() []byte {
if x != nil {
return x.AchievementContent
}
return nil
}
type DE5BReqBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Uin *uint64 `protobuf:"varint,1,opt,name=uin" json:"uin,omitempty"`
AchievementId []uint32 `protobuf:"varint,2,rep,name=achievementId" json:"achievementId,omitempty"`
MaxCount *uint32 `protobuf:"varint,3,opt,name=maxCount" json:"maxCount,omitempty"`
ReqAchievementContent *bool `protobuf:"varint,4,opt,name=reqAchievementContent" json:"reqAchievementContent,omitempty"`
}
func (x *DE5BReqBody) Reset() {
*x = DE5BReqBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xe5b_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DE5BReqBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DE5BReqBody) ProtoMessage() {}
func (x *DE5BReqBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xe5b_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 DE5BReqBody.ProtoReflect.Descriptor instead.
func (*DE5BReqBody) Descriptor() ([]byte, []int) {
return file_oidb0xe5b_proto_rawDescGZIP(), []int{1}
}
func (x *DE5BReqBody) GetUin() uint64 {
if x != nil && x.Uin != nil {
return *x.Uin
}
return 0
}
func (x *DE5BReqBody) GetAchievementId() []uint32 {
if x != nil {
return x.AchievementId
}
return nil
}
func (x *DE5BReqBody) GetMaxCount() uint32 {
if x != nil && x.MaxCount != nil {
return *x.MaxCount
}
return 0
}
func (x *DE5BReqBody) GetReqAchievementContent() bool {
if x != nil && x.ReqAchievementContent != nil {
return *x.ReqAchievementContent
}
return false
}
type DE5BRspBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AchievementTotalCount *uint32 `protobuf:"varint,1,opt,name=achievementTotalCount" json:"achievementTotalCount,omitempty"`
LifeAchItem []*LifeAchievementItem `protobuf:"bytes,2,rep,name=lifeAchItem" json:"lifeAchItem,omitempty"`
AchievementOpenid *string `protobuf:"bytes,3,opt,name=achievementOpenid" json:"achievementOpenid,omitempty"`
}
func (x *DE5BRspBody) Reset() {
*x = DE5BRspBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xe5b_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DE5BRspBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DE5BRspBody) ProtoMessage() {}
func (x *DE5BRspBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xe5b_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 DE5BRspBody.ProtoReflect.Descriptor instead.
func (*DE5BRspBody) Descriptor() ([]byte, []int) {
return file_oidb0xe5b_proto_rawDescGZIP(), []int{2}
}
func (x *DE5BRspBody) GetAchievementTotalCount() uint32 {
if x != nil && x.AchievementTotalCount != nil {
return *x.AchievementTotalCount
}
return 0
}
func (x *DE5BRspBody) GetLifeAchItem() []*LifeAchievementItem {
if x != nil {
return x.LifeAchItem
}
return nil
}
func (x *DE5BRspBody) GetAchievementOpenid() string {
if x != nil && x.AchievementOpenid != nil {
return *x.AchievementOpenid
}
return ""
}
var File_oidb0xe5b_proto protoreflect.FileDescriptor
var file_oidb0xe5b_proto_rawDesc = []byte{
0x0a, 0x0f, 0x6f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x65, 0x35, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0xff, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x66, 0x65, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76,
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x63, 0x68,
0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
0x52, 0x0d, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12,
0x2a, 0x0a, 0x10, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x69,
0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x63, 0x68, 0x69, 0x65,
0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x61,
0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x63, 0x6f, 0x6e, 0x18, 0x03,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e,
0x74, 0x49, 0x63, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x61, 0x73, 0x50, 0x72, 0x61, 0x69,
0x73, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x50, 0x72,
0x61, 0x69, 0x73, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x61, 0x69, 0x73, 0x65, 0x4e,
0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x72, 0x61, 0x69, 0x73, 0x65,
0x4e, 0x75, 0x6d, 0x12, 0x2e, 0x0a, 0x12, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65,
0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52,
0x12, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74,
0x65, 0x6e, 0x74, 0x22, 0x97, 0x01, 0x0a, 0x0b, 0x44, 0x45, 0x35, 0x42, 0x52, 0x65, 0x71, 0x42,
0x6f, 0x64, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
0x52, 0x03, 0x75, 0x69, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65,
0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x61, 0x63,
0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6d,
0x61, 0x78, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d,
0x61, 0x78, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x15, 0x72, 0x65, 0x71, 0x41, 0x63,
0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x72, 0x65, 0x71, 0x41, 0x63, 0x68, 0x69, 0x65,
0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0xa9, 0x01,
0x0a, 0x0b, 0x44, 0x45, 0x35, 0x42, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x34, 0x0a,
0x15, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x74, 0x61,
0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x61, 0x63,
0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f,
0x75, 0x6e, 0x74, 0x12, 0x36, 0x0a, 0x0b, 0x6c, 0x69, 0x66, 0x65, 0x41, 0x63, 0x68, 0x49, 0x74,
0x65, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x41,
0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x0b,
0x6c, 0x69, 0x66, 0x65, 0x41, 0x63, 0x68, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x2c, 0x0a, 0x11, 0x61,
0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x69, 0x64,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d,
0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x69, 0x64, 0x42, 0x08, 0x5a, 0x06, 0x2e, 0x3b, 0x6f,
0x69, 0x64, 0x62,
}
var (
file_oidb0xe5b_proto_rawDescOnce sync.Once
file_oidb0xe5b_proto_rawDescData = file_oidb0xe5b_proto_rawDesc
)
func file_oidb0xe5b_proto_rawDescGZIP() []byte {
file_oidb0xe5b_proto_rawDescOnce.Do(func() {
file_oidb0xe5b_proto_rawDescData = protoimpl.X.CompressGZIP(file_oidb0xe5b_proto_rawDescData)
})
return file_oidb0xe5b_proto_rawDescData
}
var file_oidb0xe5b_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_oidb0xe5b_proto_goTypes = []interface{}{
(*LifeAchievementItem)(nil), // 0: LifeAchievementItem
(*DE5BReqBody)(nil), // 1: DE5BReqBody
(*DE5BRspBody)(nil), // 2: DE5BRspBody
}
var file_oidb0xe5b_proto_depIdxs = []int32{
0, // 0: DE5BRspBody.lifeAchItem:type_name -> LifeAchievementItem
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_oidb0xe5b_proto_init() }
func file_oidb0xe5b_proto_init() {
if File_oidb0xe5b_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_oidb0xe5b_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LifeAchievementItem); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xe5b_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DE5BReqBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xe5b_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DE5BRspBody); 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_oidb0xe5b_proto_rawDesc,
NumEnums: 0,
NumMessages: 3,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_oidb0xe5b_proto_goTypes,
DependencyIndexes: file_oidb0xe5b_proto_depIdxs,
MessageInfos: file_oidb0xe5b_proto_msgTypes,
}.Build()
File_oidb0xe5b_proto = out.File
file_oidb0xe5b_proto_rawDesc = nil
file_oidb0xe5b_proto_goTypes = nil
file_oidb0xe5b_proto_depIdxs = nil
}