-
Notifications
You must be signed in to change notification settings - Fork 1
/
job_details.pb.go
299 lines (270 loc) · 10.7 KB
/
job_details.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
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: job_details.proto
package ops_automation
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
//
//创建巡检任务
type JobDetails struct {
//
//change log 历史版本, 例如: 1
Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version" form:"version"`
//
//创建时间 2019-01-11 10:35:10.19285900
CreateTime string `protobuf:"bytes,2,opt,name=createTime,proto3" json:"createTime" form:"createTime"`
//
//更新时间 2019-01-11 10:35:10.19285900
UpdateTime string `protobuf:"bytes,3,opt,name=updateTime,proto3" json:"updateTime" form:"updateTime"`
//
//用户 easyops
Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator" form:"creator"`
//
//org
Org int32 `protobuf:"varint,5,opt,name=org,proto3" json:"org" form:"org"`
//
//作业定时详情
Scheduler *JobDetails_Scheduler `protobuf:"bytes,6,opt,name=scheduler,proto3" json:"scheduler" form:"scheduler"`
//
//任务名称
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name" form:"name"`
//
//菜单分类
Category string `protobuf:"bytes,8,opt,name=category,proto3" json:"category" form:"category"`
//
//菜单ID
MenuId string `protobuf:"bytes,9,opt,name=menuId,proto3" json:"menuId" form:"menuId"`
//
//绑定资源
BindResource *BindResource `protobuf:"bytes,10,opt,name=bindResource,proto3" json:"bindResource" form:"bindResource"`
//
//作业描述
Desc string `protobuf:"bytes,11,opt,name=desc,proto3" json:"desc" form:"desc"`
//
//执行时是否允许修改入参
AllowModify bool `protobuf:"varint,12,opt,name=allowModify,proto3" json:"allowModify" form:"allowModify"`
//
//邮件通知配置
Mail *MailInfo `protobuf:"bytes,13,opt,name=mail,proto3" json:"mail" form:"mail"`
//
//作业ID
Id string `protobuf:"bytes,14,opt,name=id,proto3" json:"id" form:"id"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *JobDetails) Reset() { *m = JobDetails{} }
func (m *JobDetails) String() string { return proto.CompactTextString(m) }
func (*JobDetails) ProtoMessage() {}
func (*JobDetails) Descriptor() ([]byte, []int) {
return fileDescriptor_747e21d27431727e, []int{0}
}
func (m *JobDetails) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_JobDetails.Unmarshal(m, b)
}
func (m *JobDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_JobDetails.Marshal(b, m, deterministic)
}
func (m *JobDetails) XXX_Merge(src proto.Message) {
xxx_messageInfo_JobDetails.Merge(m, src)
}
func (m *JobDetails) XXX_Size() int {
return xxx_messageInfo_JobDetails.Size(m)
}
func (m *JobDetails) XXX_DiscardUnknown() {
xxx_messageInfo_JobDetails.DiscardUnknown(m)
}
var xxx_messageInfo_JobDetails proto.InternalMessageInfo
func (m *JobDetails) GetVersion() int32 {
if m != nil {
return m.Version
}
return 0
}
func (m *JobDetails) GetCreateTime() string {
if m != nil {
return m.CreateTime
}
return ""
}
func (m *JobDetails) GetUpdateTime() string {
if m != nil {
return m.UpdateTime
}
return ""
}
func (m *JobDetails) GetCreator() string {
if m != nil {
return m.Creator
}
return ""
}
func (m *JobDetails) GetOrg() int32 {
if m != nil {
return m.Org
}
return 0
}
func (m *JobDetails) GetScheduler() *JobDetails_Scheduler {
if m != nil {
return m.Scheduler
}
return nil
}
func (m *JobDetails) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *JobDetails) GetCategory() string {
if m != nil {
return m.Category
}
return ""
}
func (m *JobDetails) GetMenuId() string {
if m != nil {
return m.MenuId
}
return ""
}
func (m *JobDetails) GetBindResource() *BindResource {
if m != nil {
return m.BindResource
}
return nil
}
func (m *JobDetails) GetDesc() string {
if m != nil {
return m.Desc
}
return ""
}
func (m *JobDetails) GetAllowModify() bool {
if m != nil {
return m.AllowModify
}
return false
}
func (m *JobDetails) GetMail() *MailInfo {
if m != nil {
return m.Mail
}
return nil
}
func (m *JobDetails) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type JobDetails_Scheduler struct {
//
//是否绑定
IsBound bool `protobuf:"varint,1,opt,name=isBound,proto3" json:"isBound" form:"isBound"`
//
//是否启动
IsActive bool `protobuf:"varint,2,opt,name=isActive,proto3" json:"isActive" form:"isActive"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *JobDetails_Scheduler) Reset() { *m = JobDetails_Scheduler{} }
func (m *JobDetails_Scheduler) String() string { return proto.CompactTextString(m) }
func (*JobDetails_Scheduler) ProtoMessage() {}
func (*JobDetails_Scheduler) Descriptor() ([]byte, []int) {
return fileDescriptor_747e21d27431727e, []int{0, 0}
}
func (m *JobDetails_Scheduler) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_JobDetails_Scheduler.Unmarshal(m, b)
}
func (m *JobDetails_Scheduler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_JobDetails_Scheduler.Marshal(b, m, deterministic)
}
func (m *JobDetails_Scheduler) XXX_Merge(src proto.Message) {
xxx_messageInfo_JobDetails_Scheduler.Merge(m, src)
}
func (m *JobDetails_Scheduler) XXX_Size() int {
return xxx_messageInfo_JobDetails_Scheduler.Size(m)
}
func (m *JobDetails_Scheduler) XXX_DiscardUnknown() {
xxx_messageInfo_JobDetails_Scheduler.DiscardUnknown(m)
}
var xxx_messageInfo_JobDetails_Scheduler proto.InternalMessageInfo
func (m *JobDetails_Scheduler) GetIsBound() bool {
if m != nil {
return m.IsBound
}
return false
}
func (m *JobDetails_Scheduler) GetIsActive() bool {
if m != nil {
return m.IsActive
}
return false
}
func init() {
proto.RegisterType((*JobDetails)(nil), "ops_automation.JobDetails")
proto.RegisterType((*JobDetails_Scheduler)(nil), "ops_automation.JobDetails.Scheduler")
}
func init() { proto.RegisterFile("job_details.proto", fileDescriptor_747e21d27431727e) }
var fileDescriptor_747e21d27431727e = []byte{
// 685 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0xdd, 0x4e, 0xdb, 0x3e,
0x18, 0xc6, 0x69, 0x29, 0xb4, 0x75, 0xf9, 0x34, 0xff, 0xff, 0x96, 0xb1, 0x4d, 0x29, 0x01, 0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