665 lines
21 KiB
Go
665 lines
21 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: privilege/privilege_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 PrivilegeGetListReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *PrivilegeGetListReq) Reset() {
|
|
*x = PrivilegeGetListReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_privilege_privilege_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PrivilegeGetListReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PrivilegeGetListReq) ProtoMessage() {}
|
|
|
|
func (x *PrivilegeGetListReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_privilege_privilege_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 PrivilegeGetListReq.ProtoReflect.Descriptor instead.
|
|
func (*PrivilegeGetListReq) Descriptor() ([]byte, []int) {
|
|
return file_privilege_privilege_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
// 返回特权列表数据
|
|
type PrivilegeGetListResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data []*DBPrivilege `protobuf:"bytes,1,rep,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *PrivilegeGetListResp) Reset() {
|
|
*x = PrivilegeGetListResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_privilege_privilege_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PrivilegeGetListResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PrivilegeGetListResp) ProtoMessage() {}
|
|
|
|
func (x *PrivilegeGetListResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_privilege_privilege_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 PrivilegeGetListResp.ProtoReflect.Descriptor instead.
|
|
func (*PrivilegeGetListResp) Descriptor() ([]byte, []int) {
|
|
return file_privilege_privilege_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *PrivilegeGetListResp) GetData() []*DBPrivilege {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 购买月卡
|
|
type PrivilegeBuyYuekaReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CID string `protobuf:"bytes,1,opt,name=cID,proto3" json:"cID"`
|
|
}
|
|
|
|
func (x *PrivilegeBuyYuekaReq) Reset() {
|
|
*x = PrivilegeBuyYuekaReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_privilege_privilege_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PrivilegeBuyYuekaReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PrivilegeBuyYuekaReq) ProtoMessage() {}
|
|
|
|
func (x *PrivilegeBuyYuekaReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_privilege_privilege_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 PrivilegeBuyYuekaReq.ProtoReflect.Descriptor instead.
|
|
func (*PrivilegeBuyYuekaReq) Descriptor() ([]byte, []int) {
|
|
return file_privilege_privilege_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *PrivilegeBuyYuekaReq) GetCID() string {
|
|
if x != nil {
|
|
return x.CID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PrivilegeBuyYuekaResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data []*DBPrivilege `protobuf:"bytes,1,rep,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *PrivilegeBuyYuekaResp) Reset() {
|
|
*x = PrivilegeBuyYuekaResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_privilege_privilege_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PrivilegeBuyYuekaResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PrivilegeBuyYuekaResp) ProtoMessage() {}
|
|
|
|
func (x *PrivilegeBuyYuekaResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_privilege_privilege_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 PrivilegeBuyYuekaResp.ProtoReflect.Descriptor instead.
|
|
func (*PrivilegeBuyYuekaResp) Descriptor() ([]byte, []int) {
|
|
return file_privilege_privilege_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *PrivilegeBuyYuekaResp) GetData() []*DBPrivilege {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PrivilegeBuyGiftReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
VipLv int32 `protobuf:"varint,1,opt,name=vipLv,proto3" json:"vipLv"` // vip 等级
|
|
}
|
|
|
|
func (x *PrivilegeBuyGiftReq) Reset() {
|
|
*x = PrivilegeBuyGiftReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_privilege_privilege_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PrivilegeBuyGiftReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PrivilegeBuyGiftReq) ProtoMessage() {}
|
|
|
|
func (x *PrivilegeBuyGiftReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_privilege_privilege_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 PrivilegeBuyGiftReq.ProtoReflect.Descriptor instead.
|
|
func (*PrivilegeBuyGiftReq) Descriptor() ([]byte, []int) {
|
|
return file_privilege_privilege_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *PrivilegeBuyGiftReq) GetVipLv() int32 {
|
|
if x != nil {
|
|
return x.VipLv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PrivilegeBuyGiftResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBVip `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
|
Res []*UserAtno `protobuf:"bytes,2,rep,name=res,proto3" json:"res"`
|
|
}
|
|
|
|
func (x *PrivilegeBuyGiftResp) Reset() {
|
|
*x = PrivilegeBuyGiftResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_privilege_privilege_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PrivilegeBuyGiftResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PrivilegeBuyGiftResp) ProtoMessage() {}
|
|
|
|
func (x *PrivilegeBuyGiftResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_privilege_privilege_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 PrivilegeBuyGiftResp.ProtoReflect.Descriptor instead.
|
|
func (*PrivilegeBuyGiftResp) Descriptor() ([]byte, []int) {
|
|
return file_privilege_privilege_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *PrivilegeBuyGiftResp) GetData() *DBVip {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PrivilegeBuyGiftResp) GetRes() []*UserAtno {
|
|
if x != nil {
|
|
return x.Res
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PrivilegeVipListReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *PrivilegeVipListReq) Reset() {
|
|
*x = PrivilegeVipListReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_privilege_privilege_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PrivilegeVipListReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PrivilegeVipListReq) ProtoMessage() {}
|
|
|
|
func (x *PrivilegeVipListReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_privilege_privilege_msg_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 PrivilegeVipListReq.ProtoReflect.Descriptor instead.
|
|
func (*PrivilegeVipListReq) Descriptor() ([]byte, []int) {
|
|
return file_privilege_privilege_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
type PrivilegeVipListResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBVip `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *PrivilegeVipListResp) Reset() {
|
|
*x = PrivilegeVipListResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_privilege_privilege_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PrivilegeVipListResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PrivilegeVipListResp) ProtoMessage() {}
|
|
|
|
func (x *PrivilegeVipListResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_privilege_privilege_msg_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 PrivilegeVipListResp.ProtoReflect.Descriptor instead.
|
|
func (*PrivilegeVipListResp) Descriptor() ([]byte, []int) {
|
|
return file_privilege_privilege_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *PrivilegeVipListResp) GetData() *DBVip {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PrivilegeChangePush struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Privilege map[int32]*PrivilegeList `protobuf:"bytes,1,rep,name=privilege,proto3" json:"privilege" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *PrivilegeChangePush) Reset() {
|
|
*x = PrivilegeChangePush{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_privilege_privilege_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PrivilegeChangePush) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PrivilegeChangePush) ProtoMessage() {}
|
|
|
|
func (x *PrivilegeChangePush) ProtoReflect() protoreflect.Message {
|
|
mi := &file_privilege_privilege_msg_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 PrivilegeChangePush.ProtoReflect.Descriptor instead.
|
|
func (*PrivilegeChangePush) Descriptor() ([]byte, []int) {
|
|
return file_privilege_privilege_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *PrivilegeChangePush) GetPrivilege() map[int32]*PrivilegeList {
|
|
if x != nil {
|
|
return x.Privilege
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_privilege_privilege_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_privilege_privilege_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x1d, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x69, 0x76,
|
|
0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
|
|
0x1c, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x69,
|
|
0x6c, 0x65, 0x67, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63,
|
|
0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x50, 0x72, 0x69,
|
|
0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71,
|
|
0x22, 0x38, 0x0a, 0x14, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x47, 0x65, 0x74,
|
|
0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
|
|
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x69, 0x76, 0x69,
|
|
0x6c, 0x65, 0x67, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x28, 0x0a, 0x14, 0x50, 0x72,
|
|
0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x42, 0x75, 0x79, 0x59, 0x75, 0x65, 0x6b, 0x61, 0x52,
|
|
0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x03, 0x63, 0x49, 0x44, 0x22, 0x39, 0x0a, 0x15, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67,
|
|
0x65, 0x42, 0x75, 0x79, 0x59, 0x75, 0x65, 0x6b, 0x61, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a,
|
|
0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42,
|
|
0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22,
|
|
0x2b, 0x0a, 0x13, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x42, 0x75, 0x79, 0x47,
|
|
0x69, 0x66, 0x74, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x69, 0x70, 0x4c, 0x76, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x69, 0x70, 0x4c, 0x76, 0x22, 0x4f, 0x0a, 0x14,
|
|
0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x42, 0x75, 0x79, 0x47, 0x69, 0x66, 0x74,
|
|
0x52, 0x65, 0x73, 0x70, 0x12, 0x1a, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x06, 0x2e, 0x44, 0x42, 0x56, 0x69, 0x70, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
|
|
0x12, 0x1b, 0x0a, 0x03, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e,
|
|
0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x03, 0x72, 0x65, 0x73, 0x22, 0x15, 0x0a,
|
|
0x13, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x56, 0x69, 0x70, 0x4c, 0x69, 0x73,
|
|
0x74, 0x52, 0x65, 0x71, 0x22, 0x32, 0x0a, 0x14, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67,
|
|
0x65, 0x56, 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1a, 0x0a, 0x04,
|
|
0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x44, 0x42, 0x56,
|
|
0x69, 0x70, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xa6, 0x01, 0x0a, 0x13, 0x50, 0x72, 0x69,
|
|
0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68,
|
|
0x12, 0x41, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x18, 0x01, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x43,
|
|
0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c,
|
|
0x65, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c,
|
|
0x65, 0x67, 0x65, 0x1a, 0x4c, 0x0a, 0x0e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65,
|
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65,
|
|
0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 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_privilege_privilege_msg_proto_rawDescOnce sync.Once
|
|
file_privilege_privilege_msg_proto_rawDescData = file_privilege_privilege_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_privilege_privilege_msg_proto_rawDescGZIP() []byte {
|
|
file_privilege_privilege_msg_proto_rawDescOnce.Do(func() {
|
|
file_privilege_privilege_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_privilege_privilege_msg_proto_rawDescData)
|
|
})
|
|
return file_privilege_privilege_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_privilege_privilege_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
var file_privilege_privilege_msg_proto_goTypes = []interface{}{
|
|
(*PrivilegeGetListReq)(nil), // 0: PrivilegeGetListReq
|
|
(*PrivilegeGetListResp)(nil), // 1: PrivilegeGetListResp
|
|
(*PrivilegeBuyYuekaReq)(nil), // 2: PrivilegeBuyYuekaReq
|
|
(*PrivilegeBuyYuekaResp)(nil), // 3: PrivilegeBuyYuekaResp
|
|
(*PrivilegeBuyGiftReq)(nil), // 4: PrivilegeBuyGiftReq
|
|
(*PrivilegeBuyGiftResp)(nil), // 5: PrivilegeBuyGiftResp
|
|
(*PrivilegeVipListReq)(nil), // 6: PrivilegeVipListReq
|
|
(*PrivilegeVipListResp)(nil), // 7: PrivilegeVipListResp
|
|
(*PrivilegeChangePush)(nil), // 8: PrivilegeChangePush
|
|
nil, // 9: PrivilegeChangePush.PrivilegeEntry
|
|
(*DBPrivilege)(nil), // 10: DBPrivilege
|
|
(*DBVip)(nil), // 11: DBVip
|
|
(*UserAtno)(nil), // 12: UserAtno
|
|
(*PrivilegeList)(nil), // 13: PrivilegeList
|
|
}
|
|
var file_privilege_privilege_msg_proto_depIdxs = []int32{
|
|
10, // 0: PrivilegeGetListResp.data:type_name -> DBPrivilege
|
|
10, // 1: PrivilegeBuyYuekaResp.data:type_name -> DBPrivilege
|
|
11, // 2: PrivilegeBuyGiftResp.data:type_name -> DBVip
|
|
12, // 3: PrivilegeBuyGiftResp.res:type_name -> UserAtno
|
|
11, // 4: PrivilegeVipListResp.data:type_name -> DBVip
|
|
9, // 5: PrivilegeChangePush.privilege:type_name -> PrivilegeChangePush.PrivilegeEntry
|
|
13, // 6: PrivilegeChangePush.PrivilegeEntry.value:type_name -> PrivilegeList
|
|
7, // [7:7] is the sub-list for method output_type
|
|
7, // [7:7] is the sub-list for method input_type
|
|
7, // [7:7] is the sub-list for extension type_name
|
|
7, // [7:7] is the sub-list for extension extendee
|
|
0, // [0:7] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_privilege_privilege_msg_proto_init() }
|
|
func file_privilege_privilege_msg_proto_init() {
|
|
if File_privilege_privilege_msg_proto != nil {
|
|
return
|
|
}
|
|
file_privilege_privilege_db_proto_init()
|
|
file_comm_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_privilege_privilege_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PrivilegeGetListReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_privilege_privilege_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PrivilegeGetListResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_privilege_privilege_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PrivilegeBuyYuekaReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_privilege_privilege_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PrivilegeBuyYuekaResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_privilege_privilege_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PrivilegeBuyGiftReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_privilege_privilege_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PrivilegeBuyGiftResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_privilege_privilege_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PrivilegeVipListReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_privilege_privilege_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PrivilegeVipListResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_privilege_privilege_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PrivilegeChangePush); 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_privilege_privilege_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 10,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_privilege_privilege_msg_proto_goTypes,
|
|
DependencyIndexes: file_privilege_privilege_msg_proto_depIdxs,
|
|
MessageInfos: file_privilege_privilege_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_privilege_privilege_msg_proto = out.File
|
|
file_privilege_privilege_msg_proto_rawDesc = nil
|
|
file_privilege_privilege_msg_proto_goTypes = nil
|
|
file_privilege_privilege_msg_proto_depIdxs = nil
|
|
}
|