You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

615 lines
20 KiB
Go

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.33.0
// protoc v5.29.1
// source: w_coin.proto
package w_coinpb
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 SaveReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProjectHashId string `protobuf:"bytes,1,opt,name=project_hash_id,json=projectHashId,proto3" json:"project_hash_id,omitempty"` //项目hash_id
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` //积分标题
OpenPush int32 `protobuf:"varint,3,opt,name=open_push,json=openPush,proto3" json:"open_push,omitempty"` //同步推送(0-关闭,1-开启)
ExpSelect []string `protobuf:"bytes,4,rep,name=exp_select,json=expSelect,proto3" json:"exp_select,omitempty"` //有效期选择['7','30','90', '0']
Langs []*SaveReq_Lang `protobuf:"bytes,5,rep,name=langs,proto3" json:"langs,omitempty"` //语言配置
}
func (x *SaveReq) Reset() {
*x = SaveReq{}
if protoimpl.UnsafeEnabled {
mi := &file_w_coin_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SaveReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SaveReq) ProtoMessage() {}
func (x *SaveReq) ProtoReflect() protoreflect.Message {
mi := &file_w_coin_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 SaveReq.ProtoReflect.Descriptor instead.
func (*SaveReq) Descriptor() ([]byte, []int) {
return file_w_coin_proto_rawDescGZIP(), []int{0}
}
func (x *SaveReq) GetProjectHashId() string {
if x != nil {
return x.ProjectHashId
}
return ""
}
func (x *SaveReq) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *SaveReq) GetOpenPush() int32 {
if x != nil {
return x.OpenPush
}
return 0
}
func (x *SaveReq) GetExpSelect() []string {
if x != nil {
return x.ExpSelect
}
return nil
}
func (x *SaveReq) GetLangs() []*SaveReq_Lang {
if x != nil {
return x.Langs
}
return nil
}
type SaveRes struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *SaveRes) Reset() {
*x = SaveRes{}
if protoimpl.UnsafeEnabled {
mi := &file_w_coin_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SaveRes) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SaveRes) ProtoMessage() {}
func (x *SaveRes) ProtoReflect() protoreflect.Message {
mi := &file_w_coin_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 SaveRes.ProtoReflect.Descriptor instead.
func (*SaveRes) Descriptor() ([]byte, []int) {
return file_w_coin_proto_rawDescGZIP(), []int{1}
}
type ShowReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProjectHashId string `protobuf:"bytes,1,opt,name=project_hash_id,json=projectHashId,proto3" json:"project_hash_id,omitempty"` //项目hash_id
ProjectId int64 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` //项目ID
}
func (x *ShowReq) Reset() {
*x = ShowReq{}
if protoimpl.UnsafeEnabled {
mi := &file_w_coin_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ShowReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ShowReq) ProtoMessage() {}
func (x *ShowReq) ProtoReflect() protoreflect.Message {
mi := &file_w_coin_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 ShowReq.ProtoReflect.Descriptor instead.
func (*ShowReq) Descriptor() ([]byte, []int) {
return file_w_coin_proto_rawDescGZIP(), []int{2}
}
func (x *ShowReq) GetProjectHashId() string {
if x != nil {
return x.ProjectHashId
}
return ""
}
func (x *ShowReq) GetProjectId() int64 {
if x != nil {
return x.ProjectId
}
return 0
}
type ShowRes struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` //积分标题
OpenPush int32 `protobuf:"varint,2,opt,name=open_push,json=openPush,proto3" json:"open_push,omitempty"` //同步推送(0-关闭,1-开启)
ExpSelect []string `protobuf:"bytes,3,rep,name=exp_select,json=expSelect,proto3" json:"exp_select,omitempty"` //有效期选择['7','30','90', '0']
Langs []*ShowRes_Lang `protobuf:"bytes,4,rep,name=langs,proto3" json:"langs,omitempty"` //语言配置
}
func (x *ShowRes) Reset() {
*x = ShowRes{}
if protoimpl.UnsafeEnabled {
mi := &file_w_coin_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ShowRes) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ShowRes) ProtoMessage() {}
func (x *ShowRes) ProtoReflect() protoreflect.Message {
mi := &file_w_coin_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 ShowRes.ProtoReflect.Descriptor instead.
func (*ShowRes) Descriptor() ([]byte, []int) {
return file_w_coin_proto_rawDescGZIP(), []int{3}
}
func (x *ShowRes) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *ShowRes) GetOpenPush() int32 {
if x != nil {
return x.OpenPush
}
return 0
}
func (x *ShowRes) GetExpSelect() []string {
if x != nil {
return x.ExpSelect
}
return nil
}
func (x *ShowRes) GetLangs() []*ShowRes_Lang {
if x != nil {
return x.Langs
}
return nil
}
type SaveReq_Lang struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
LangMark string `protobuf:"bytes,1,opt,name=lang_mark,json=langMark,proto3" json:"lang_mark,omitempty"` //语言标识
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` //展示标题
ImgUrl string `protobuf:"bytes,3,opt,name=img_url,json=imgUrl,proto3" json:"img_url,omitempty"` //展示图片
Rule string `protobuf:"bytes,4,opt,name=rule,proto3" json:"rule,omitempty"` //积分规则
IsDefault int32 `protobuf:"varint,5,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` //是否默认(0-否,1-是)
}
func (x *SaveReq_Lang) Reset() {
*x = SaveReq_Lang{}
if protoimpl.UnsafeEnabled {
mi := &file_w_coin_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SaveReq_Lang) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SaveReq_Lang) ProtoMessage() {}
func (x *SaveReq_Lang) ProtoReflect() protoreflect.Message {
mi := &file_w_coin_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 SaveReq_Lang.ProtoReflect.Descriptor instead.
func (*SaveReq_Lang) Descriptor() ([]byte, []int) {
return file_w_coin_proto_rawDescGZIP(), []int{0, 0}
}
func (x *SaveReq_Lang) GetLangMark() string {
if x != nil {
return x.LangMark
}
return ""
}
func (x *SaveReq_Lang) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *SaveReq_Lang) GetImgUrl() string {
if x != nil {
return x.ImgUrl
}
return ""
}
func (x *SaveReq_Lang) GetRule() string {
if x != nil {
return x.Rule
}
return ""
}
func (x *SaveReq_Lang) GetIsDefault() int32 {
if x != nil {
return x.IsDefault
}
return 0
}
type ShowRes_Lang struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
LangMark string `protobuf:"bytes,1,opt,name=lang_mark,json=langMark,proto3" json:"lang_mark,omitempty"` //语言标识
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` //展示标题
ImgUrl string `protobuf:"bytes,3,opt,name=img_url,json=imgUrl,proto3" json:"img_url,omitempty"` //展示图片
Rule string `protobuf:"bytes,4,opt,name=rule,proto3" json:"rule,omitempty"` //积分规则
IsDefault int32 `protobuf:"varint,5,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` //是否默认(0-否,1-是)
}
func (x *ShowRes_Lang) Reset() {
*x = ShowRes_Lang{}
if protoimpl.UnsafeEnabled {
mi := &file_w_coin_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ShowRes_Lang) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ShowRes_Lang) ProtoMessage() {}
func (x *ShowRes_Lang) ProtoReflect() protoreflect.Message {
mi := &file_w_coin_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 ShowRes_Lang.ProtoReflect.Descriptor instead.
func (*ShowRes_Lang) Descriptor() ([]byte, []int) {
return file_w_coin_proto_rawDescGZIP(), []int{3, 0}
}
func (x *ShowRes_Lang) GetLangMark() string {
if x != nil {
return x.LangMark
}
return ""
}
func (x *ShowRes_Lang) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *ShowRes_Lang) GetImgUrl() string {
if x != nil {
return x.ImgUrl
}
return ""
}
func (x *ShowRes_Lang) GetRule() string {
if x != nil {
return x.Rule
}
return ""
}
func (x *ShowRes_Lang) GetIsDefault() int32 {
if x != nil {
return x.IsDefault
}
return 0
}
var File_w_coin_proto protoreflect.FileDescriptor
var file_w_coin_proto_rawDesc = []byte{
0x0a, 0x0c, 0x77, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08,
0x77, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x70, 0x62, 0x22, 0xb9, 0x02, 0x0a, 0x07, 0x53, 0x61, 0x76,
0x65, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f,
0x68, 0x61, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70,
0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x48, 0x61, 0x73, 0x68, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05,
0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74,
0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x70, 0x75, 0x73, 0x68, 0x18,
0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x50, 0x75, 0x73, 0x68, 0x12,
0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20,
0x03, 0x28, 0x09, 0x52, 0x09, 0x65, 0x78, 0x70, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x2c,
0x0a, 0x05, 0x6c, 0x61, 0x6e, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e,
0x77, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x70, 0x62, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x52, 0x65, 0x71,
0x2e, 0x4c, 0x61, 0x6e, 0x67, 0x52, 0x05, 0x6c, 0x61, 0x6e, 0x67, 0x73, 0x1a, 0x85, 0x01, 0x0a,
0x04, 0x4c, 0x61, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x61, 0x6e, 0x67, 0x5f, 0x6d, 0x61,
0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x4d, 0x61,
0x72, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x6d, 0x67, 0x5f,
0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x6d, 0x67, 0x55, 0x72,
0x6c, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
0x04, 0x72, 0x75, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x66, 0x61,
0x75, 0x6c, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x69, 0x73, 0x44, 0x65, 0x66,
0x61, 0x75, 0x6c, 0x74, 0x22, 0x09, 0x0a, 0x07, 0x53, 0x61, 0x76, 0x65, 0x52, 0x65, 0x73, 0x22,
0x50, 0x0a, 0x07, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x72,
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x48, 0x61, 0x73, 0x68,
0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64,
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49,
0x64, 0x22, 0x91, 0x02, 0x0a, 0x07, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x12, 0x14, 0x0a,
0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69,
0x74, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x70, 0x75, 0x73, 0x68,
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x50, 0x75, 0x73, 0x68,
0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x18, 0x03,
0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x65, 0x78, 0x70, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x12,
0x2c, 0x0a, 0x05, 0x6c, 0x61, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16,
0x2e, 0x77, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x70, 0x62, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65,
0x73, 0x2e, 0x4c, 0x61, 0x6e, 0x67, 0x52, 0x05, 0x6c, 0x61, 0x6e, 0x67, 0x73, 0x1a, 0x85, 0x01,
0x0a, 0x04, 0x4c, 0x61, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x61, 0x6e, 0x67, 0x5f, 0x6d,
0x61, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x4d,
0x61, 0x72, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x6d, 0x67,
0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x6d, 0x67, 0x55,
0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x66,
0x61, 0x75, 0x6c, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x69, 0x73, 0x44, 0x65,
0x66, 0x61, 0x75, 0x6c, 0x74, 0x32, 0x67, 0x0a, 0x05, 0x57, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x2e,
0x0a, 0x04, 0x53, 0x61, 0x76, 0x65, 0x12, 0x11, 0x2e, 0x77, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x70,
0x62, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x77, 0x5f, 0x63, 0x6f,
0x69, 0x6e, 0x70, 0x62, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x2e,
0x0a, 0x04, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x11, 0x2e, 0x77, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x70,
0x62, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x77, 0x5f, 0x63, 0x6f,
0x69, 0x6e, 0x70, 0x62, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x22, 0x00, 0x42, 0x0d,
0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x77, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x70, 0x62, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_w_coin_proto_rawDescOnce sync.Once
file_w_coin_proto_rawDescData = file_w_coin_proto_rawDesc
)
func file_w_coin_proto_rawDescGZIP() []byte {
file_w_coin_proto_rawDescOnce.Do(func() {
file_w_coin_proto_rawDescData = protoimpl.X.CompressGZIP(file_w_coin_proto_rawDescData)
})
return file_w_coin_proto_rawDescData
}
var file_w_coin_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_w_coin_proto_goTypes = []interface{}{
(*SaveReq)(nil), // 0: w_coinpb.SaveReq
(*SaveRes)(nil), // 1: w_coinpb.SaveRes
(*ShowReq)(nil), // 2: w_coinpb.ShowReq
(*ShowRes)(nil), // 3: w_coinpb.ShowRes
(*SaveReq_Lang)(nil), // 4: w_coinpb.SaveReq.Lang
(*ShowRes_Lang)(nil), // 5: w_coinpb.ShowRes.Lang
}
var file_w_coin_proto_depIdxs = []int32{
4, // 0: w_coinpb.SaveReq.langs:type_name -> w_coinpb.SaveReq.Lang
5, // 1: w_coinpb.ShowRes.langs:type_name -> w_coinpb.ShowRes.Lang
0, // 2: w_coinpb.WCoin.Save:input_type -> w_coinpb.SaveReq
2, // 3: w_coinpb.WCoin.Show:input_type -> w_coinpb.ShowReq
1, // 4: w_coinpb.WCoin.Save:output_type -> w_coinpb.SaveRes
3, // 5: w_coinpb.WCoin.Show:output_type -> w_coinpb.ShowRes
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_w_coin_proto_init() }
func file_w_coin_proto_init() {
if File_w_coin_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_w_coin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SaveReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_coin_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SaveRes); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_coin_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ShowReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_coin_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ShowRes); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_coin_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SaveReq_Lang); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_coin_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ShowRes_Lang); 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_w_coin_proto_rawDesc,
NumEnums: 0,
NumMessages: 6,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_w_coin_proto_goTypes,
DependencyIndexes: file_w_coin_proto_depIdxs,
MessageInfos: file_w_coin_proto_msgTypes,
}.Build()
File_w_coin_proto = out.File
file_w_coin_proto_rawDesc = nil
file_w_coin_proto_goTypes = nil
file_w_coin_proto_depIdxs = nil
}