forked from pydio/cells
-
Notifications
You must be signed in to change notification settings - Fork 0
/
frontend.pb.go
377 lines (324 loc) · 13.7 KB
/
frontend.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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: frontend.proto
package rest
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// Frontend Log Level
type LogLevel int32
const (
LogLevel_DEBUG LogLevel = 0
LogLevel_INFO LogLevel = 1
LogLevel_NOTICE LogLevel = 2
LogLevel_WARNING LogLevel = 3
LogLevel_ERROR LogLevel = 4
)
var LogLevel_name = map[int32]string{
0: "DEBUG",
1: "INFO",
2: "NOTICE",
3: "WARNING",
4: "ERROR",
}
var LogLevel_value = map[string]int32{
"DEBUG": 0,
"INFO": 1,
"NOTICE": 2,
"WARNING": 3,
"ERROR": 4,
}
func (x LogLevel) String() string {
return proto.EnumName(LogLevel_name, int32(x))
}
func (LogLevel) EnumDescriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
// Frontend message to log
type FrontLogMessage struct {
Level LogLevel `protobuf:"varint,1,opt,name=Level,enum=rest.LogLevel" json:"Level,omitempty"`
Ip string `protobuf:"bytes,2,opt,name=Ip" json:"Ip,omitempty"`
UserId string `protobuf:"bytes,3,opt,name=UserId" json:"UserId,omitempty"`
WorkspaceId string `protobuf:"bytes,4,opt,name=WorkspaceId" json:"WorkspaceId,omitempty"`
Source string `protobuf:"bytes,5,opt,name=Source" json:"Source,omitempty"`
Prefix string `protobuf:"bytes,6,opt,name=Prefix" json:"Prefix,omitempty"`
Message string `protobuf:"bytes,7,opt,name=Message" json:"Message,omitempty"`
Nodes []string `protobuf:"bytes,8,rep,name=Nodes" json:"Nodes,omitempty"`
}
func (m *FrontLogMessage) Reset() { *m = FrontLogMessage{} }
func (m *FrontLogMessage) String() string { return proto.CompactTextString(m) }
func (*FrontLogMessage) ProtoMessage() {}
func (*FrontLogMessage) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
func (m *FrontLogMessage) GetLevel() LogLevel {
if m != nil {
return m.Level
}
return LogLevel_DEBUG
}
func (m *FrontLogMessage) GetIp() string {
if m != nil {
return m.Ip
}
return ""
}
func (m *FrontLogMessage) GetUserId() string {
if m != nil {
return m.UserId
}
return ""
}
func (m *FrontLogMessage) GetWorkspaceId() string {
if m != nil {
return m.WorkspaceId
}
return ""
}
func (m *FrontLogMessage) GetSource() string {
if m != nil {
return m.Source
}
return ""
}
func (m *FrontLogMessage) GetPrefix() string {
if m != nil {
return m.Prefix
}
return ""
}
func (m *FrontLogMessage) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
func (m *FrontLogMessage) GetNodes() []string {
if m != nil {
return m.Nodes
}
return nil
}
// Basic response for confirmation
type FrontLogResponse struct {
Success bool `protobuf:"varint,1,opt,name=Success" json:"Success,omitempty"`
}
func (m *FrontLogResponse) Reset() { *m = FrontLogResponse{} }
func (m *FrontLogResponse) String() string { return proto.CompactTextString(m) }
func (*FrontLogResponse) ProtoMessage() {}
func (*FrontLogResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{1} }
func (m *FrontLogResponse) GetSuccess() bool {
if m != nil {
return m.Success
}
return false
}
type SettingsMenuRequest struct {
}
func (m *SettingsMenuRequest) Reset() { *m = SettingsMenuRequest{} }
func (m *SettingsMenuRequest) String() string { return proto.CompactTextString(m) }
func (*SettingsMenuRequest) ProtoMessage() {}
func (*SettingsMenuRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{2} }
type SettingsEntryMeta struct {
IconClass string `protobuf:"bytes,1,opt,name=IconClass,json=icon_class" json:"IconClass,omitempty"`
Component string `protobuf:"bytes,2,opt,name=Component,json=component" json:"Component,omitempty"`
Props string `protobuf:"bytes,3,opt,name=Props,json=props" json:"Props,omitempty"`
}
func (m *SettingsEntryMeta) Reset() { *m = SettingsEntryMeta{} }
func (m *SettingsEntryMeta) String() string { return proto.CompactTextString(m) }
func (*SettingsEntryMeta) ProtoMessage() {}
func (*SettingsEntryMeta) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{3} }
func (m *SettingsEntryMeta) GetIconClass() string {
if m != nil {
return m.IconClass
}
return ""
}
func (m *SettingsEntryMeta) GetComponent() string {
if m != nil {
return m.Component
}
return ""
}
func (m *SettingsEntryMeta) GetProps() string {
if m != nil {
return m.Props
}
return ""
}
type SettingsEntry struct {
Key string `protobuf:"bytes,1,opt,name=Key" json:"Key,omitempty"`
Label string `protobuf:"bytes,2,opt,name=Label,json=LABEL" json:"Label,omitempty"`
Description string `protobuf:"bytes,3,opt,name=Description,json=DESCRIPTION" json:"Description,omitempty"`
Manager string `protobuf:"bytes,4,opt,name=Manager,json=MANAGER" json:"Manager,omitempty"`
Alias string `protobuf:"bytes,5,opt,name=Alias,json=ALIAS" json:"Alias,omitempty"`
Metadata *SettingsEntryMeta `protobuf:"bytes,6,opt,name=Metadata,json=METADATA" json:"Metadata,omitempty"`
}
func (m *SettingsEntry) Reset() { *m = SettingsEntry{} }
func (m *SettingsEntry) String() string { return proto.CompactTextString(m) }
func (*SettingsEntry) ProtoMessage() {}
func (*SettingsEntry) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{4} }
func (m *SettingsEntry) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
func (m *SettingsEntry) GetLabel() string {
if m != nil {
return m.Label
}
return ""
}
func (m *SettingsEntry) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *SettingsEntry) GetManager() string {
if m != nil {
return m.Manager
}
return ""
}
func (m *SettingsEntry) GetAlias() string {
if m != nil {
return m.Alias
}
return ""
}
func (m *SettingsEntry) GetMetadata() *SettingsEntryMeta {
if m != nil {
return m.Metadata
}
return nil
}
type SettingsSection struct {
Key string `protobuf:"bytes,1,opt,name=Key" json:"Key,omitempty"`
Label string `protobuf:"bytes,2,opt,name=Label,json=LABEL" json:"Label,omitempty"`
Description string `protobuf:"bytes,3,opt,name=Description,json=DESCRIPTION" json:"Description,omitempty"`
Children []*SettingsEntry `protobuf:"bytes,4,rep,name=Children,json=CHILDREN" json:"Children,omitempty"`
}
func (m *SettingsSection) Reset() { *m = SettingsSection{} }
func (m *SettingsSection) String() string { return proto.CompactTextString(m) }
func (*SettingsSection) ProtoMessage() {}
func (*SettingsSection) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{5} }
func (m *SettingsSection) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
func (m *SettingsSection) GetLabel() string {
if m != nil {
return m.Label
}
return ""
}
func (m *SettingsSection) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *SettingsSection) GetChildren() []*SettingsEntry {
if m != nil {
return m.Children
}
return nil
}
type SettingsMenuResponse struct {
RootMetadata *SettingsEntryMeta `protobuf:"bytes,1,opt,name=RootMetadata,json=__metadata__" json:"RootMetadata,omitempty"`
Sections []*SettingsSection `protobuf:"bytes,2,rep,name=Sections" json:"Sections,omitempty"`
}
func (m *SettingsMenuResponse) Reset() { *m = SettingsMenuResponse{} }
func (m *SettingsMenuResponse) String() string { return proto.CompactTextString(m) }
func (*SettingsMenuResponse) ProtoMessage() {}
func (*SettingsMenuResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{6} }
func (m *SettingsMenuResponse) GetRootMetadata() *SettingsEntryMeta {
if m != nil {
return m.RootMetadata
}
return nil
}
func (m *SettingsMenuResponse) GetSections() []*SettingsSection {
if m != nil {
return m.Sections
}
return nil
}
type FrontBootConfRequest struct {
}
func (m *FrontBootConfRequest) Reset() { *m = FrontBootConfRequest{} }
func (m *FrontBootConfRequest) String() string { return proto.CompactTextString(m) }
func (*FrontBootConfRequest) ProtoMessage() {}
func (*FrontBootConfRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{7} }
type FrontBootConfResponse struct {
JsonData map[string]string `protobuf:"bytes,1,rep,name=JsonData" json:"JsonData,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
}
func (m *FrontBootConfResponse) Reset() { *m = FrontBootConfResponse{} }
func (m *FrontBootConfResponse) String() string { return proto.CompactTextString(m) }
func (*FrontBootConfResponse) ProtoMessage() {}
func (*FrontBootConfResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{8} }
func (m *FrontBootConfResponse) GetJsonData() map[string]string {
if m != nil {
return m.JsonData
}
return nil
}
func init() {
proto.RegisterType((*FrontLogMessage)(nil), "rest.FrontLogMessage")
proto.RegisterType((*FrontLogResponse)(nil), "rest.FrontLogResponse")
proto.RegisterType((*SettingsMenuRequest)(nil), "rest.SettingsMenuRequest")
proto.RegisterType((*SettingsEntryMeta)(nil), "rest.SettingsEntryMeta")
proto.RegisterType((*SettingsEntry)(nil), "rest.SettingsEntry")
proto.RegisterType((*SettingsSection)(nil), "rest.SettingsSection")
proto.RegisterType((*SettingsMenuResponse)(nil), "rest.SettingsMenuResponse")
proto.RegisterType((*FrontBootConfRequest)(nil), "rest.FrontBootConfRequest")
proto.RegisterType((*FrontBootConfResponse)(nil), "rest.FrontBootConfResponse")
proto.RegisterEnum("rest.LogLevel", LogLevel_name, LogLevel_value)
}
func init() { proto.RegisterFile("frontend.proto", fileDescriptor4) }
var fileDescriptor4 = []byte{
// 629 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xdd, 0x6e, 0xd3, 0x4a,
0x10, 0x3e, 0xce, 0xaf, 0x3d, 0x69, 0x53, 0x9f, 0xed, 0xcf, 0xb1, 0x8e, 0x40, 0x8a, 0x2c, 0x2e,
0x02, 0x42, 0x41, 0xb4, 0x37, 0x88, 0x5e, 0xb9, 0x8e, 0x5b, 0x0c, 0x8e, 0x53, 0x6d, 0x52, 0xf5,
0x32, 0x72, 0x9d, 0x49, 0xb0, 0x9a, 0xee, 0x1a, 0xaf, 0x53, 0xd1, 0x17, 0xe0, 0x8a, 0x37, 0xe0,
0x5d, 0x78, 0x17, 0xde, 0x04, 0xad, 0xbd, 0x2e, 0x04, 0x2a, 0xae, 0xb8, 0xcb, 0xf7, 0x7d, 0x33,
0xb3, 0x33, 0xf3, 0x4d, 0x0c, 0xdd, 0x45, 0xc6, 0x59, 0x8e, 0x6c, 0x3e, 0x48, 0x33, 0x9e, 0x73,
0xd2, 0xc8, 0x50, 0xe4, 0xf6, 0x37, 0x0d, 0x76, 0x4e, 0xa5, 0x10, 0xf0, 0xe5, 0x08, 0x85, 0x88,
0x96, 0x48, 0x9e, 0x40, 0x33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