-
Notifications
You must be signed in to change notification settings - Fork 1
/
get_permission_list.pb.go
304 lines (274 loc) · 11.5 KB
/
get_permission_list.pb.go
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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: get_permission_list.proto
package permission
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
_ "github.com/mwitkow/go-proto-validators"
permission "github.com/easyopsapis/easyops-api-go/protorepo-models/easyops/model/permission"
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.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//
//GetPermissionList请求
type GetPermissionListRequest struct {
//
//action名称过滤,多个用,分隔
Action_In string `protobuf:"bytes,1,opt,name=action__in,json=actionIn,proto3" json:"action__in" form:"action__in"`
//
//分页
Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page" form:"page"`
//
//分页大小
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"`
//
//sdk限制字段使用
XXX_RestFieldMask []string `protobuf:"bytes,4,rep,name=XXX_RestFieldMask,json=XXXRestFieldMask,proto3" json:"XXX_RestFieldMask" form:"XXX_RestFieldMask"`
//
//需要鉴权的动作, 全局唯一
Action string `protobuf:"bytes,5,opt,name=action,proto3" json:"action" form:"action"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetPermissionListRequest) Reset() { *m = GetPermissionListRequest{} }
func (m *GetPermissionListRequest) String() string { return proto.CompactTextString(m) }
func (*GetPermissionListRequest) ProtoMessage() {}
func (*GetPermissionListRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_53c9348b35d4c1b0, []int{0}
}
func (m *GetPermissionListRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetPermissionListRequest.Unmarshal(m, b)
}
func (m *GetPermissionListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetPermissionListRequest.Marshal(b, m, deterministic)
}
func (m *GetPermissionListRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetPermissionListRequest.Merge(m, src)
}
func (m *GetPermissionListRequest) XXX_Size() int {
return xxx_messageInfo_GetPermissionListRequest.Size(m)
}
func (m *GetPermissionListRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetPermissionListRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetPermissionListRequest proto.InternalMessageInfo
func (m *GetPermissionListRequest) GetAction_In() string {
if m != nil {
return m.Action_In
}
return ""
}
func (m *GetPermissionListRequest) GetPage() int32 {
if m != nil {
return m.Page
}
return 0
}
func (m *GetPermissionListRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *GetPermissionListRequest) GetXXX_RestFieldMask() []string {
if m != nil {
return m.XXX_RestFieldMask
}
return nil
}
func (m *GetPermissionListRequest) GetAction() string {
if m != nil {
return m.Action
}
return ""
}
//
//GetPermissionList返回
type GetPermissionListResponse struct {
//
//返回码
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
//
//总数
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total" form:"total"`
//
//页码
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page" form:"page"`
//
//分页大小
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"`
//
//数据
Data []*permission.Permission `protobuf:"bytes,5,rep,name=data,proto3" json:"data" form:"data"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetPermissionListResponse) Reset() { *m = GetPermissionListResponse{} }
func (m *GetPermissionListResponse) String() string { return proto.CompactTextString(m) }
func (*GetPermissionListResponse) ProtoMessage() {}
func (*GetPermissionListResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_53c9348b35d4c1b0, []int{1}
}
func (m *GetPermissionListResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetPermissionListResponse.Unmarshal(m, b)
}
func (m *GetPermissionListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetPermissionListResponse.Marshal(b, m, deterministic)
}
func (m *GetPermissionListResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetPermissionListResponse.Merge(m, src)
}
func (m *GetPermissionListResponse) XXX_Size() int {
return xxx_messageInfo_GetPermissionListResponse.Size(m)
}
func (m *GetPermissionListResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetPermissionListResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetPermissionListResponse proto.InternalMessageInfo
func (m *GetPermissionListResponse) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *GetPermissionListResponse) GetTotal() int32 {
if m != nil {
return m.Total
}
return 0
}
func (m *GetPermissionListResponse) GetPage() int32 {
if m != nil {
return m.Page
}
return 0
}
func (m *GetPermissionListResponse) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *GetPermissionListResponse) GetData() []*permission.Permission {
if m != nil {
return m.Data
}
return nil
}
//
//GetPermissionListApi返回
type GetPermissionListResponseWrapper struct {
//
//返回码
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
//
//返回码解释
CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
//
//错误详情
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
//
//返回数据
Data *GetPermissionListResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetPermissionListResponseWrapper) Reset() { *m = GetPermissionListResponseWrapper{} }
func (m *GetPermissionListResponseWrapper) String() string { return proto.CompactTextString(m) }
func (*GetPermissionListResponseWrapper) ProtoMessage() {}
func (*GetPermissionListResponseWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_53c9348b35d4c1b0, []int{2}
}
func (m *GetPermissionListResponseWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetPermissionListResponseWrapper.Unmarshal(m, b)
}
func (m *GetPermissionListResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetPermissionListResponseWrapper.Marshal(b, m, deterministic)
}
func (m *GetPermissionListResponseWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetPermissionListResponseWrapper.Merge(m, src)
}
func (m *GetPermissionListResponseWrapper) XXX_Size() int {
return xxx_messageInfo_GetPermissionListResponseWrapper.Size(m)
}
func (m *GetPermissionListResponseWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_GetPermissionListResponseWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_GetPermissionListResponseWrapper proto.InternalMessageInfo
func (m *GetPermissionListResponseWrapper) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *GetPermissionListResponseWrapper) GetCodeExplain() string {
if m != nil {
return m.CodeExplain
}
return ""
}
func (m *GetPermissionListResponseWrapper) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *GetPermissionListResponseWrapper) GetData() *GetPermissionListResponse {
if m != nil {
return m.Data
}
return nil
}
func init() {
proto.RegisterType((*GetPermissionListRequest)(nil), "permission.GetPermissionListRequest")
proto.RegisterType((*GetPermissionListResponse)(nil), "permission.GetPermissionListResponse")
proto.RegisterType((*GetPermissionListResponseWrapper)(nil), "permission.GetPermissionListResponseWrapper")
}
func init() { proto.RegisterFile("get_permission_list.proto", fileDescriptor_53c9348b35d4c1b0) }
var fileDescriptor_53c9348b35d4c1b0 = []byte{
// 510 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xdf, 0x8a, 0xd3, 0x40,
0x18, 0xc5, 0xed, 0xbf, 0x65, 0x3b, 0x55, 0xec, 0x0e, 0xb8, 0x64, 0x8b, 0x90, 0x32, 0xa2, 0x74,
0x2f, 0x9a, 0xc0, 0x2e, 0xa8, 0xe8, 0x5d, 0x41, 0x65, 0x45, 0x41, 0x46, 0xc4, 0xdc, 0x85, 0x69,
0x32, 0x1b, 0x87, 0x4d, 0xf2, 0xc5, 0x99, 0xa9, 0xab, 0xfb, 0x06, 0x3e, 0x8a, 0x2f, 0x15, 0xc1,
0x47, 0x08, 0x78, 0x2f, 0x99, 0x89, 0x4d, 0x44, 0x0b, 0xee, 0x55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