liuxiaolong
2020-05-27 0b026a39029cf04954e2fc2ffe52e40720a7faa7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: dic.proto
 
package user
 
import (
    fmt "fmt"
    proto "github.com/golang/protobuf/proto"
    math "math"
)
 
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
 
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
type FindDicByTypeReq struct {
    Type                 string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}
 
func (m *FindDicByTypeReq) Reset()         { *m = FindDicByTypeReq{} }
func (m *FindDicByTypeReq) String() string { return proto.CompactTextString(m) }
func (*FindDicByTypeReq) ProtoMessage()    {}
func (*FindDicByTypeReq) Descriptor() ([]byte, []int) {
    return fileDescriptor_0db43d2c5555aa8c, []int{0}
}
 
func (m *FindDicByTypeReq) XXX_Unmarshal(b []byte) error {
    return xxx_messageInfo_FindDicByTypeReq.Unmarshal(m, b)
}
func (m *FindDicByTypeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    return xxx_messageInfo_FindDicByTypeReq.Marshal(b, m, deterministic)
}
func (m *FindDicByTypeReq) XXX_Merge(src proto.Message) {
    xxx_messageInfo_FindDicByTypeReq.Merge(m, src)
}
func (m *FindDicByTypeReq) XXX_Size() int {
    return xxx_messageInfo_FindDicByTypeReq.Size(m)
}
func (m *FindDicByTypeReq) XXX_DiscardUnknown() {
    xxx_messageInfo_FindDicByTypeReq.DiscardUnknown(m)
}
 
var xxx_messageInfo_FindDicByTypeReq proto.InternalMessageInfo
 
func (m *FindDicByTypeReq) GetType() string {
    if m != nil {
        return m.Type
    }
    return ""
}
 
type Dic struct {
    Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
    Type                 string   `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
    Sort                 int32    `protobuf:"varint,5,opt,name=sort,proto3" json:"sort,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}
 
func (m *Dic) Reset()         { *m = Dic{} }
func (m *Dic) String() string { return proto.CompactTextString(m) }
func (*Dic) ProtoMessage()    {}
func (*Dic) Descriptor() ([]byte, []int) {
    return fileDescriptor_0db43d2c5555aa8c, []int{1}
}
 
func (m *Dic) XXX_Unmarshal(b []byte) error {
    return xxx_messageInfo_Dic.Unmarshal(m, b)
}
func (m *Dic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    return xxx_messageInfo_Dic.Marshal(b, m, deterministic)
}
func (m *Dic) XXX_Merge(src proto.Message) {
    xxx_messageInfo_Dic.Merge(m, src)
}
func (m *Dic) XXX_Size() int {
    return xxx_messageInfo_Dic.Size(m)
}
func (m *Dic) XXX_DiscardUnknown() {
    xxx_messageInfo_Dic.DiscardUnknown(m)
}
 
var xxx_messageInfo_Dic proto.InternalMessageInfo
 
func (m *Dic) GetId() string {
    if m != nil {
        return m.Id
    }
    return ""
}
 
func (m *Dic) GetValue() string {
    if m != nil {
        return m.Value
    }
    return ""
}
 
func (m *Dic) GetName() string {
    if m != nil {
        return m.Name
    }
    return ""
}
 
func (m *Dic) GetType() string {
    if m != nil {
        return m.Type
    }
    return ""
}
 
func (m *Dic) GetSort() int32 {
    if m != nil {
        return m.Sort
    }
    return 0
}
 
type FindDicByTypeReply struct {
    Dics                 []*Dic   `protobuf:"bytes,1,rep,name=dics,proto3" json:"dics,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}
 
func (m *FindDicByTypeReply) Reset()         { *m = FindDicByTypeReply{} }
func (m *FindDicByTypeReply) String() string { return proto.CompactTextString(m) }
func (*FindDicByTypeReply) ProtoMessage()    {}
func (*FindDicByTypeReply) Descriptor() ([]byte, []int) {
    return fileDescriptor_0db43d2c5555aa8c, []int{2}
}
 
func (m *FindDicByTypeReply) XXX_Unmarshal(b []byte) error {
    return xxx_messageInfo_FindDicByTypeReply.Unmarshal(m, b)
}
func (m *FindDicByTypeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    return xxx_messageInfo_FindDicByTypeReply.Marshal(b, m, deterministic)
}
func (m *FindDicByTypeReply) XXX_Merge(src proto.Message) {
    xxx_messageInfo_FindDicByTypeReply.Merge(m, src)
}
func (m *FindDicByTypeReply) XXX_Size() int {
    return xxx_messageInfo_FindDicByTypeReply.Size(m)
}
func (m *FindDicByTypeReply) XXX_DiscardUnknown() {
    xxx_messageInfo_FindDicByTypeReply.DiscardUnknown(m)
}
 
var xxx_messageInfo_FindDicByTypeReply proto.InternalMessageInfo
 
func (m *FindDicByTypeReply) GetDics() []*Dic {
    if m != nil {
        return m.Dics
    }
    return nil
}
 
func init() {
    proto.RegisterType((*FindDicByTypeReq)(nil), "user.FindDicByTypeReq")
    proto.RegisterType((*Dic)(nil), "user.Dic")
    proto.RegisterType((*FindDicByTypeReply)(nil), "user.FindDicByTypeReply")
}
 
func init() { proto.RegisterFile("dic.proto", fileDescriptor_0db43d2c5555aa8c) }
 
var fileDescriptor_0db43d2c5555aa8c = []byte{
    // 214 bytes of a gzipped FileDescriptorProto
    0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xc1, 0x4a, 0xc4, 0x30,
    0x10, 0x86, 0x6d, 0x9b, 0x0a, 0x1d, 0x51, 0x64, 0x10, 0x09, 0x82, 0x50, 0x72, 0x90, 0x9e, 0x7a,
    0xd8, 0x7d, 0x03, 0x0d, 0xde, 0x8d, 0xbe, 0xc0, 0x9a, 0x0c, 0x32, 0x50, 0xb7, 0x31, 0xed, 0x2e,
    0xe4, 0xed, 0x25, 0xa9, 0x28, 0x96, 0xbd, 0xfd, 0xf9, 0x32, 0x7c, 0xfc, 0x33, 0xd0, 0x38, 0xb6,
    0xbd, 0x0f, 0xe3, 0x3c, 0xa2, 0x38, 0x4c, 0x14, 0xd4, 0x03, 0x5c, 0x3f, 0xf3, 0xde, 0x69, 0xb6,
    0x8f, 0xf1, 0x2d, 0x7a, 0x32, 0xf4, 0x85, 0x08, 0x62, 0x8e, 0x9e, 0x64, 0xd1, 0x16, 0x5d, 0x63,
    0x72, 0x56, 0x1f, 0x50, 0x69, 0xb6, 0x78, 0x05, 0x25, 0xbb, 0x9f, 0x8f, 0x92, 0x1d, 0xde, 0x40,
    0x7d, 0xdc, 0x0d, 0x07, 0x92, 0x65, 0x46, 0xcb, 0x23, 0x09, 0xf6, 0xbb, 0x4f, 0x92, 0xd5, 0x22,
    0x48, 0xf9, 0x57, 0x2a, 0xfe, 0xa4, 0x89, 0x4d, 0x63, 0x98, 0x65, 0xdd, 0x16, 0x5d, 0x6d, 0x72,
    0x56, 0x5b, 0xc0, 0x55, 0x21, 0x3f, 0x44, 0xbc, 0x07, 0xe1, 0xd8, 0x4e, 0xb2, 0x68, 0xab, 0xee,
    0x62, 0xd3, 0xf4, 0xa9, 0x7b, 0xaf, 0xd9, 0x9a, 0x8c, 0x37, 0x2f, 0x00, 0x9a, 0xed, 0x2b, 0x85,
    0x23, 0x5b, 0xc2, 0x27, 0xb8, 0xfc, 0xa7, 0xc0, 0xdb, 0x65, 0x7e, 0xbd, 0xe8, 0x9d, 0x3c, 0xc9,
    0xfd, 0x10, 0xd5, 0xd9, 0xfb, 0x79, 0xbe, 0xd2, 0xf6, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xad, 0x25,
    0x2f, 0xe1, 0x32, 0x01, 0x00, 0x00,
}