-
Notifications
You must be signed in to change notification settings - Fork 1
/
list.pb.go
380 lines (343 loc) · 14.3 KB
/
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
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: list.proto
package task
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
_ "github.com/mwitkow/go-proto-validators"
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
//
//ListInspectionInfo请求
type ListInspectionInfoRequest struct {
//
//套件id
PluginId string `protobuf:"bytes,1,opt,name=pluginId,proto3" json:"pluginId" form:"pluginId"`
//
//页码
Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page" form:"page"`
//
//每页大小
PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize" form:"pageSize"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListInspectionInfoRequest) Reset() { *m = ListInspectionInfoRequest{} }
func (m *ListInspectionInfoRequest) String() string { return proto.CompactTextString(m) }
func (*ListInspectionInfoRequest) ProtoMessage() {}
func (*ListInspectionInfoRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_af793ce248ee1bf0, []int{0}
}
func (m *ListInspectionInfoRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListInspectionInfoRequest.Unmarshal(m, b)
}
func (m *ListInspectionInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListInspectionInfoRequest.Marshal(b, m, deterministic)
}
func (m *ListInspectionInfoRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListInspectionInfoRequest.Merge(m, src)
}
func (m *ListInspectionInfoRequest) XXX_Size() int {
return xxx_messageInfo_ListInspectionInfoRequest.Size(m)
}
func (m *ListInspectionInfoRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListInspectionInfoRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListInspectionInfoRequest proto.InternalMessageInfo
func (m *ListInspectionInfoRequest) GetPluginId() string {
if m != nil {
return m.PluginId
}
return ""
}
func (m *ListInspectionInfoRequest) GetPage() int32 {
if m != nil {
return m.Page
}
return 0
}
func (m *ListInspectionInfoRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
//
//ListInspectionInfo返回
type ListInspectionInfoResponse struct {
//
//页数
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"`
//
//页大小
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"`
//
//总数
Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total" form:"total"`
//
//数据列表
List []*ListInspectionInfoResponse_List `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListInspectionInfoResponse) Reset() { *m = ListInspectionInfoResponse{} }
func (m *ListInspectionInfoResponse) String() string { return proto.CompactTextString(m) }
func (*ListInspectionInfoResponse) ProtoMessage() {}
func (*ListInspectionInfoResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_af793ce248ee1bf0, []int{1}
}
func (m *ListInspectionInfoResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListInspectionInfoResponse.Unmarshal(m, b)
}
func (m *ListInspectionInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListInspectionInfoResponse.Marshal(b, m, deterministic)
}
func (m *ListInspectionInfoResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListInspectionInfoResponse.Merge(m, src)
}
func (m *ListInspectionInfoResponse) XXX_Size() int {
return xxx_messageInfo_ListInspectionInfoResponse.Size(m)
}
func (m *ListInspectionInfoResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListInspectionInfoResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListInspectionInfoResponse proto.InternalMessageInfo
func (m *ListInspectionInfoResponse) GetPage() int32 {
if m != nil {
return m.Page
}
return 0
}
func (m *ListInspectionInfoResponse) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *ListInspectionInfoResponse) GetTotal() int32 {
if m != nil {
return m.Total
}
return 0
}
func (m *ListInspectionInfoResponse) GetList() []*ListInspectionInfoResponse_List {
if m != nil {
return m.List
}
return nil
}
type ListInspectionInfoResponse_List struct {
//
//巡检对象个数
Num int32 `protobuf:"varint,1,opt,name=num,proto3" json:"num" form:"num"`
//
//巡检任务Id
InspectionTaskId string `protobuf:"bytes,2,opt,name=inspectionTaskId,proto3" json:"inspectionTaskId" form:"inspectionTaskId"`
//
//巡检任务名称
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"`
//
//报告模板ID
TemplateId string `protobuf:"bytes,4,opt,name=templateId,proto3" json:"templateId" form:"templateId"`
//
//报告模板名
TemplateName string `protobuf:"bytes,5,opt,name=templateName,proto3" json:"templateName" form:"templateName"`
//
//备注
Memo string `protobuf:"bytes,6,opt,name=memo,proto3" json:"memo" form:"memo"`
//
//巡检策略(once单次,crontab周期)
TaskType string `protobuf:"bytes,7,opt,name=taskType,proto3" json:"taskType" form:"taskType"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListInspectionInfoResponse_List) Reset() { *m = ListInspectionInfoResponse_List{} }
func (m *ListInspectionInfoResponse_List) String() string { return proto.CompactTextString(m) }
func (*ListInspectionInfoResponse_List) ProtoMessage() {}
func (*ListInspectionInfoResponse_List) Descriptor() ([]byte, []int) {
return fileDescriptor_af793ce248ee1bf0, []int{1, 0}
}
func (m *ListInspectionInfoResponse_List) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListInspectionInfoResponse_List.Unmarshal(m, b)
}
func (m *ListInspectionInfoResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListInspectionInfoResponse_List.Marshal(b, m, deterministic)
}
func (m *ListInspectionInfoResponse_List) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListInspectionInfoResponse_List.Merge(m, src)
}
func (m *ListInspectionInfoResponse_List) XXX_Size() int {
return xxx_messageInfo_ListInspectionInfoResponse_List.Size(m)
}
func (m *ListInspectionInfoResponse_List) XXX_DiscardUnknown() {
xxx_messageInfo_ListInspectionInfoResponse_List.DiscardUnknown(m)
}
var xxx_messageInfo_ListInspectionInfoResponse_List proto.InternalMessageInfo
func (m *ListInspectionInfoResponse_List) GetNum() int32 {
if m != nil {
return m.Num
}
return 0
}
func (m *ListInspectionInfoResponse_List) GetInspectionTaskId() string {
if m != nil {
return m.InspectionTaskId
}
return ""
}
func (m *ListInspectionInfoResponse_List) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ListInspectionInfoResponse_List) GetTemplateId() string {
if m != nil {
return m.TemplateId
}
return ""
}
func (m *ListInspectionInfoResponse_List) GetTemplateName() string {
if m != nil {
return m.TemplateName
}
return ""
}
func (m *ListInspectionInfoResponse_List) GetMemo() string {
if m != nil {
return m.Memo
}
return ""
}
func (m *ListInspectionInfoResponse_List) GetTaskType() string {
if m != nil {
return m.TaskType
}
return ""
}
//
//ListInspectionInfoApi返回
type ListInspectionInfoResponseWrapper 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 *ListInspectionInfoResponse `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 *ListInspectionInfoResponseWrapper) Reset() { *m = ListInspectionInfoResponseWrapper{} }
func (m *ListInspectionInfoResponseWrapper) String() string { return proto.CompactTextString(m) }
func (*ListInspectionInfoResponseWrapper) ProtoMessage() {}
func (*ListInspectionInfoResponseWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_af793ce248ee1bf0, []int{2}
}
func (m *ListInspectionInfoResponseWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListInspectionInfoResponseWrapper.Unmarshal(m, b)
}
func (m *ListInspectionInfoResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListInspectionInfoResponseWrapper.Marshal(b, m, deterministic)
}
func (m *ListInspectionInfoResponseWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListInspectionInfoResponseWrapper.Merge(m, src)
}
func (m *ListInspectionInfoResponseWrapper) XXX_Size() int {
return xxx_messageInfo_ListInspectionInfoResponseWrapper.Size(m)
}
func (m *ListInspectionInfoResponseWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_ListInspectionInfoResponseWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_ListInspectionInfoResponseWrapper proto.InternalMessageInfo
func (m *ListInspectionInfoResponseWrapper) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *ListInspectionInfoResponseWrapper) GetCodeExplain() string {
if m != nil {
return m.CodeExplain
}
return ""
}
func (m *ListInspectionInfoResponseWrapper) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *ListInspectionInfoResponseWrapper) GetData() *ListInspectionInfoResponse {
if m != nil {
return m.Data
}
return nil
}
func init() {
proto.RegisterType((*ListInspectionInfoRequest)(nil), "task.ListInspectionInfoRequest")
proto.RegisterType((*ListInspectionInfoResponse)(nil), "task.ListInspectionInfoResponse")
proto.RegisterType((*ListInspectionInfoResponse_List)(nil), "task.ListInspectionInfoResponse.List")
proto.RegisterType((*ListInspectionInfoResponseWrapper)(nil), "task.ListInspectionInfoResponseWrapper")
}
func init() { proto.RegisterFile("list.proto", fileDescriptor_af793ce248ee1bf0) }
var fileDescriptor_af793ce248ee1bf0 = []byte{
// 599 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94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