Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/supervisor-api/go/notification.pb.go
2498 views
1
// Copyright (c) 2021 Gitpod GmbH. All rights reserved.
2
// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
// Code generated by protoc-gen-go. DO NOT EDIT.
6
// versions:
7
// protoc-gen-go v1.28.1
8
// protoc v3.20.1
9
// source: notification.proto
10
11
package api
12
13
import (
14
_ "google.golang.org/genproto/googleapis/api/annotations"
15
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
16
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
17
reflect "reflect"
18
sync "sync"
19
)
20
21
const (
22
// Verify that this generated code is sufficiently up-to-date.
23
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24
// Verify that runtime/protoimpl is sufficiently up-to-date.
25
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26
)
27
28
type NotifyRequest_Level int32
29
30
const (
31
NotifyRequest_ERROR NotifyRequest_Level = 0
32
NotifyRequest_WARNING NotifyRequest_Level = 1
33
NotifyRequest_INFO NotifyRequest_Level = 2
34
)
35
36
// Enum value maps for NotifyRequest_Level.
37
var (
38
NotifyRequest_Level_name = map[int32]string{
39
0: "ERROR",
40
1: "WARNING",
41
2: "INFO",
42
}
43
NotifyRequest_Level_value = map[string]int32{
44
"ERROR": 0,
45
"WARNING": 1,
46
"INFO": 2,
47
}
48
)
49
50
func (x NotifyRequest_Level) Enum() *NotifyRequest_Level {
51
p := new(NotifyRequest_Level)
52
*p = x
53
return p
54
}
55
56
func (x NotifyRequest_Level) String() string {
57
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
58
}
59
60
func (NotifyRequest_Level) Descriptor() protoreflect.EnumDescriptor {
61
return file_notification_proto_enumTypes[0].Descriptor()
62
}
63
64
func (NotifyRequest_Level) Type() protoreflect.EnumType {
65
return &file_notification_proto_enumTypes[0]
66
}
67
68
func (x NotifyRequest_Level) Number() protoreflect.EnumNumber {
69
return protoreflect.EnumNumber(x)
70
}
71
72
// Deprecated: Use NotifyRequest_Level.Descriptor instead.
73
func (NotifyRequest_Level) EnumDescriptor() ([]byte, []int) {
74
return file_notification_proto_rawDescGZIP(), []int{0, 0}
75
}
76
77
type NotifyRequest struct {
78
state protoimpl.MessageState
79
sizeCache protoimpl.SizeCache
80
unknownFields protoimpl.UnknownFields
81
82
Level NotifyRequest_Level `protobuf:"varint,1,opt,name=level,proto3,enum=supervisor.NotifyRequest_Level" json:"level,omitempty"`
83
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
84
// if actions are empty, Notify will return immediately
85
Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
86
}
87
88
func (x *NotifyRequest) Reset() {
89
*x = NotifyRequest{}
90
if protoimpl.UnsafeEnabled {
91
mi := &file_notification_proto_msgTypes[0]
92
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
93
ms.StoreMessageInfo(mi)
94
}
95
}
96
97
func (x *NotifyRequest) String() string {
98
return protoimpl.X.MessageStringOf(x)
99
}
100
101
func (*NotifyRequest) ProtoMessage() {}
102
103
func (x *NotifyRequest) ProtoReflect() protoreflect.Message {
104
mi := &file_notification_proto_msgTypes[0]
105
if protoimpl.UnsafeEnabled && x != nil {
106
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
107
if ms.LoadMessageInfo() == nil {
108
ms.StoreMessageInfo(mi)
109
}
110
return ms
111
}
112
return mi.MessageOf(x)
113
}
114
115
// Deprecated: Use NotifyRequest.ProtoReflect.Descriptor instead.
116
func (*NotifyRequest) Descriptor() ([]byte, []int) {
117
return file_notification_proto_rawDescGZIP(), []int{0}
118
}
119
120
func (x *NotifyRequest) GetLevel() NotifyRequest_Level {
121
if x != nil {
122
return x.Level
123
}
124
return NotifyRequest_ERROR
125
}
126
127
func (x *NotifyRequest) GetMessage() string {
128
if x != nil {
129
return x.Message
130
}
131
return ""
132
}
133
134
func (x *NotifyRequest) GetActions() []string {
135
if x != nil {
136
return x.Actions
137
}
138
return nil
139
}
140
141
type NotifyResponse struct {
142
state protoimpl.MessageState
143
sizeCache protoimpl.SizeCache
144
unknownFields protoimpl.UnknownFields
145
146
// action chosen by the user or empty string if cancelled
147
Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
148
}
149
150
func (x *NotifyResponse) Reset() {
151
*x = NotifyResponse{}
152
if protoimpl.UnsafeEnabled {
153
mi := &file_notification_proto_msgTypes[1]
154
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
155
ms.StoreMessageInfo(mi)
156
}
157
}
158
159
func (x *NotifyResponse) String() string {
160
return protoimpl.X.MessageStringOf(x)
161
}
162
163
func (*NotifyResponse) ProtoMessage() {}
164
165
func (x *NotifyResponse) ProtoReflect() protoreflect.Message {
166
mi := &file_notification_proto_msgTypes[1]
167
if protoimpl.UnsafeEnabled && x != nil {
168
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
169
if ms.LoadMessageInfo() == nil {
170
ms.StoreMessageInfo(mi)
171
}
172
return ms
173
}
174
return mi.MessageOf(x)
175
}
176
177
// Deprecated: Use NotifyResponse.ProtoReflect.Descriptor instead.
178
func (*NotifyResponse) Descriptor() ([]byte, []int) {
179
return file_notification_proto_rawDescGZIP(), []int{1}
180
}
181
182
func (x *NotifyResponse) GetAction() string {
183
if x != nil {
184
return x.Action
185
}
186
return ""
187
}
188
189
type SubscribeRequest struct {
190
state protoimpl.MessageState
191
sizeCache protoimpl.SizeCache
192
unknownFields protoimpl.UnknownFields
193
}
194
195
func (x *SubscribeRequest) Reset() {
196
*x = SubscribeRequest{}
197
if protoimpl.UnsafeEnabled {
198
mi := &file_notification_proto_msgTypes[2]
199
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
200
ms.StoreMessageInfo(mi)
201
}
202
}
203
204
func (x *SubscribeRequest) String() string {
205
return protoimpl.X.MessageStringOf(x)
206
}
207
208
func (*SubscribeRequest) ProtoMessage() {}
209
210
func (x *SubscribeRequest) ProtoReflect() protoreflect.Message {
211
mi := &file_notification_proto_msgTypes[2]
212
if protoimpl.UnsafeEnabled && x != nil {
213
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
214
if ms.LoadMessageInfo() == nil {
215
ms.StoreMessageInfo(mi)
216
}
217
return ms
218
}
219
return mi.MessageOf(x)
220
}
221
222
// Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.
223
func (*SubscribeRequest) Descriptor() ([]byte, []int) {
224
return file_notification_proto_rawDescGZIP(), []int{2}
225
}
226
227
type SubscribeResponse struct {
228
state protoimpl.MessageState
229
sizeCache protoimpl.SizeCache
230
unknownFields protoimpl.UnknownFields
231
232
RequestId uint64 `protobuf:"varint,1,opt,name=requestId,proto3" json:"requestId,omitempty"`
233
Request *NotifyRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
234
}
235
236
func (x *SubscribeResponse) Reset() {
237
*x = SubscribeResponse{}
238
if protoimpl.UnsafeEnabled {
239
mi := &file_notification_proto_msgTypes[3]
240
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
241
ms.StoreMessageInfo(mi)
242
}
243
}
244
245
func (x *SubscribeResponse) String() string {
246
return protoimpl.X.MessageStringOf(x)
247
}
248
249
func (*SubscribeResponse) ProtoMessage() {}
250
251
func (x *SubscribeResponse) ProtoReflect() protoreflect.Message {
252
mi := &file_notification_proto_msgTypes[3]
253
if protoimpl.UnsafeEnabled && x != nil {
254
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
255
if ms.LoadMessageInfo() == nil {
256
ms.StoreMessageInfo(mi)
257
}
258
return ms
259
}
260
return mi.MessageOf(x)
261
}
262
263
// Deprecated: Use SubscribeResponse.ProtoReflect.Descriptor instead.
264
func (*SubscribeResponse) Descriptor() ([]byte, []int) {
265
return file_notification_proto_rawDescGZIP(), []int{3}
266
}
267
268
func (x *SubscribeResponse) GetRequestId() uint64 {
269
if x != nil {
270
return x.RequestId
271
}
272
return 0
273
}
274
275
func (x *SubscribeResponse) GetRequest() *NotifyRequest {
276
if x != nil {
277
return x.Request
278
}
279
return nil
280
}
281
282
type RespondRequest struct {
283
state protoimpl.MessageState
284
sizeCache protoimpl.SizeCache
285
unknownFields protoimpl.UnknownFields
286
287
RequestId uint64 `protobuf:"varint,1,opt,name=requestId,proto3" json:"requestId,omitempty"`
288
Response *NotifyResponse `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
289
}
290
291
func (x *RespondRequest) Reset() {
292
*x = RespondRequest{}
293
if protoimpl.UnsafeEnabled {
294
mi := &file_notification_proto_msgTypes[4]
295
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
296
ms.StoreMessageInfo(mi)
297
}
298
}
299
300
func (x *RespondRequest) String() string {
301
return protoimpl.X.MessageStringOf(x)
302
}
303
304
func (*RespondRequest) ProtoMessage() {}
305
306
func (x *RespondRequest) ProtoReflect() protoreflect.Message {
307
mi := &file_notification_proto_msgTypes[4]
308
if protoimpl.UnsafeEnabled && x != nil {
309
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
310
if ms.LoadMessageInfo() == nil {
311
ms.StoreMessageInfo(mi)
312
}
313
return ms
314
}
315
return mi.MessageOf(x)
316
}
317
318
// Deprecated: Use RespondRequest.ProtoReflect.Descriptor instead.
319
func (*RespondRequest) Descriptor() ([]byte, []int) {
320
return file_notification_proto_rawDescGZIP(), []int{4}
321
}
322
323
func (x *RespondRequest) GetRequestId() uint64 {
324
if x != nil {
325
return x.RequestId
326
}
327
return 0
328
}
329
330
func (x *RespondRequest) GetResponse() *NotifyResponse {
331
if x != nil {
332
return x.Response
333
}
334
return nil
335
}
336
337
type RespondResponse struct {
338
state protoimpl.MessageState
339
sizeCache protoimpl.SizeCache
340
unknownFields protoimpl.UnknownFields
341
}
342
343
func (x *RespondResponse) Reset() {
344
*x = RespondResponse{}
345
if protoimpl.UnsafeEnabled {
346
mi := &file_notification_proto_msgTypes[5]
347
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
348
ms.StoreMessageInfo(mi)
349
}
350
}
351
352
func (x *RespondResponse) String() string {
353
return protoimpl.X.MessageStringOf(x)
354
}
355
356
func (*RespondResponse) ProtoMessage() {}
357
358
func (x *RespondResponse) ProtoReflect() protoreflect.Message {
359
mi := &file_notification_proto_msgTypes[5]
360
if protoimpl.UnsafeEnabled && x != nil {
361
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
362
if ms.LoadMessageInfo() == nil {
363
ms.StoreMessageInfo(mi)
364
}
365
return ms
366
}
367
return mi.MessageOf(x)
368
}
369
370
// Deprecated: Use RespondResponse.ProtoReflect.Descriptor instead.
371
func (*RespondResponse) Descriptor() ([]byte, []int) {
372
return file_notification_proto_rawDescGZIP(), []int{5}
373
}
374
375
type NotifyActiveRequest struct {
376
state protoimpl.MessageState
377
sizeCache protoimpl.SizeCache
378
unknownFields protoimpl.UnknownFields
379
380
// Types that are assignable to ActionData:
381
//
382
// *NotifyActiveRequest_Open
383
// *NotifyActiveRequest_Preview
384
ActionData isNotifyActiveRequest_ActionData `protobuf_oneof:"action_data"`
385
}
386
387
func (x *NotifyActiveRequest) Reset() {
388
*x = NotifyActiveRequest{}
389
if protoimpl.UnsafeEnabled {
390
mi := &file_notification_proto_msgTypes[6]
391
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
392
ms.StoreMessageInfo(mi)
393
}
394
}
395
396
func (x *NotifyActiveRequest) String() string {
397
return protoimpl.X.MessageStringOf(x)
398
}
399
400
func (*NotifyActiveRequest) ProtoMessage() {}
401
402
func (x *NotifyActiveRequest) ProtoReflect() protoreflect.Message {
403
mi := &file_notification_proto_msgTypes[6]
404
if protoimpl.UnsafeEnabled && x != nil {
405
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
406
if ms.LoadMessageInfo() == nil {
407
ms.StoreMessageInfo(mi)
408
}
409
return ms
410
}
411
return mi.MessageOf(x)
412
}
413
414
// Deprecated: Use NotifyActiveRequest.ProtoReflect.Descriptor instead.
415
func (*NotifyActiveRequest) Descriptor() ([]byte, []int) {
416
return file_notification_proto_rawDescGZIP(), []int{6}
417
}
418
419
func (m *NotifyActiveRequest) GetActionData() isNotifyActiveRequest_ActionData {
420
if m != nil {
421
return m.ActionData
422
}
423
return nil
424
}
425
426
func (x *NotifyActiveRequest) GetOpen() *NotifyActiveRequest_OpenData {
427
if x, ok := x.GetActionData().(*NotifyActiveRequest_Open); ok {
428
return x.Open
429
}
430
return nil
431
}
432
433
func (x *NotifyActiveRequest) GetPreview() *NotifyActiveRequest_PreviewData {
434
if x, ok := x.GetActionData().(*NotifyActiveRequest_Preview); ok {
435
return x.Preview
436
}
437
return nil
438
}
439
440
type isNotifyActiveRequest_ActionData interface {
441
isNotifyActiveRequest_ActionData()
442
}
443
444
type NotifyActiveRequest_Open struct {
445
Open *NotifyActiveRequest_OpenData `protobuf:"bytes,1,opt,name=open,proto3,oneof"`
446
}
447
448
type NotifyActiveRequest_Preview struct {
449
Preview *NotifyActiveRequest_PreviewData `protobuf:"bytes,2,opt,name=preview,proto3,oneof"`
450
}
451
452
func (*NotifyActiveRequest_Open) isNotifyActiveRequest_ActionData() {}
453
454
func (*NotifyActiveRequest_Preview) isNotifyActiveRequest_ActionData() {}
455
456
type NotifyActiveResponse struct {
457
state protoimpl.MessageState
458
sizeCache protoimpl.SizeCache
459
unknownFields protoimpl.UnknownFields
460
}
461
462
func (x *NotifyActiveResponse) Reset() {
463
*x = NotifyActiveResponse{}
464
if protoimpl.UnsafeEnabled {
465
mi := &file_notification_proto_msgTypes[7]
466
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
467
ms.StoreMessageInfo(mi)
468
}
469
}
470
471
func (x *NotifyActiveResponse) String() string {
472
return protoimpl.X.MessageStringOf(x)
473
}
474
475
func (*NotifyActiveResponse) ProtoMessage() {}
476
477
func (x *NotifyActiveResponse) ProtoReflect() protoreflect.Message {
478
mi := &file_notification_proto_msgTypes[7]
479
if protoimpl.UnsafeEnabled && x != nil {
480
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
481
if ms.LoadMessageInfo() == nil {
482
ms.StoreMessageInfo(mi)
483
}
484
return ms
485
}
486
return mi.MessageOf(x)
487
}
488
489
// Deprecated: Use NotifyActiveResponse.ProtoReflect.Descriptor instead.
490
func (*NotifyActiveResponse) Descriptor() ([]byte, []int) {
491
return file_notification_proto_rawDescGZIP(), []int{7}
492
}
493
494
type SubscribeActiveRequest struct {
495
state protoimpl.MessageState
496
sizeCache protoimpl.SizeCache
497
unknownFields protoimpl.UnknownFields
498
}
499
500
func (x *SubscribeActiveRequest) Reset() {
501
*x = SubscribeActiveRequest{}
502
if protoimpl.UnsafeEnabled {
503
mi := &file_notification_proto_msgTypes[8]
504
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
505
ms.StoreMessageInfo(mi)
506
}
507
}
508
509
func (x *SubscribeActiveRequest) String() string {
510
return protoimpl.X.MessageStringOf(x)
511
}
512
513
func (*SubscribeActiveRequest) ProtoMessage() {}
514
515
func (x *SubscribeActiveRequest) ProtoReflect() protoreflect.Message {
516
mi := &file_notification_proto_msgTypes[8]
517
if protoimpl.UnsafeEnabled && x != nil {
518
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
519
if ms.LoadMessageInfo() == nil {
520
ms.StoreMessageInfo(mi)
521
}
522
return ms
523
}
524
return mi.MessageOf(x)
525
}
526
527
// Deprecated: Use SubscribeActiveRequest.ProtoReflect.Descriptor instead.
528
func (*SubscribeActiveRequest) Descriptor() ([]byte, []int) {
529
return file_notification_proto_rawDescGZIP(), []int{8}
530
}
531
532
type SubscribeActiveResponse struct {
533
state protoimpl.MessageState
534
sizeCache protoimpl.SizeCache
535
unknownFields protoimpl.UnknownFields
536
537
RequestId uint64 `protobuf:"varint,1,opt,name=requestId,proto3" json:"requestId,omitempty"`
538
Request *NotifyActiveRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
539
}
540
541
func (x *SubscribeActiveResponse) Reset() {
542
*x = SubscribeActiveResponse{}
543
if protoimpl.UnsafeEnabled {
544
mi := &file_notification_proto_msgTypes[9]
545
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
546
ms.StoreMessageInfo(mi)
547
}
548
}
549
550
func (x *SubscribeActiveResponse) String() string {
551
return protoimpl.X.MessageStringOf(x)
552
}
553
554
func (*SubscribeActiveResponse) ProtoMessage() {}
555
556
func (x *SubscribeActiveResponse) ProtoReflect() protoreflect.Message {
557
mi := &file_notification_proto_msgTypes[9]
558
if protoimpl.UnsafeEnabled && x != nil {
559
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
560
if ms.LoadMessageInfo() == nil {
561
ms.StoreMessageInfo(mi)
562
}
563
return ms
564
}
565
return mi.MessageOf(x)
566
}
567
568
// Deprecated: Use SubscribeActiveResponse.ProtoReflect.Descriptor instead.
569
func (*SubscribeActiveResponse) Descriptor() ([]byte, []int) {
570
return file_notification_proto_rawDescGZIP(), []int{9}
571
}
572
573
func (x *SubscribeActiveResponse) GetRequestId() uint64 {
574
if x != nil {
575
return x.RequestId
576
}
577
return 0
578
}
579
580
func (x *SubscribeActiveResponse) GetRequest() *NotifyActiveRequest {
581
if x != nil {
582
return x.Request
583
}
584
return nil
585
}
586
587
type NotifyActiveRespondRequest struct {
588
state protoimpl.MessageState
589
sizeCache protoimpl.SizeCache
590
unknownFields protoimpl.UnknownFields
591
592
RequestId uint64 `protobuf:"varint,1,opt,name=requestId,proto3" json:"requestId,omitempty"`
593
Response *NotifyActiveResponse `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
594
}
595
596
func (x *NotifyActiveRespondRequest) Reset() {
597
*x = NotifyActiveRespondRequest{}
598
if protoimpl.UnsafeEnabled {
599
mi := &file_notification_proto_msgTypes[10]
600
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
601
ms.StoreMessageInfo(mi)
602
}
603
}
604
605
func (x *NotifyActiveRespondRequest) String() string {
606
return protoimpl.X.MessageStringOf(x)
607
}
608
609
func (*NotifyActiveRespondRequest) ProtoMessage() {}
610
611
func (x *NotifyActiveRespondRequest) ProtoReflect() protoreflect.Message {
612
mi := &file_notification_proto_msgTypes[10]
613
if protoimpl.UnsafeEnabled && x != nil {
614
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
615
if ms.LoadMessageInfo() == nil {
616
ms.StoreMessageInfo(mi)
617
}
618
return ms
619
}
620
return mi.MessageOf(x)
621
}
622
623
// Deprecated: Use NotifyActiveRespondRequest.ProtoReflect.Descriptor instead.
624
func (*NotifyActiveRespondRequest) Descriptor() ([]byte, []int) {
625
return file_notification_proto_rawDescGZIP(), []int{10}
626
}
627
628
func (x *NotifyActiveRespondRequest) GetRequestId() uint64 {
629
if x != nil {
630
return x.RequestId
631
}
632
return 0
633
}
634
635
func (x *NotifyActiveRespondRequest) GetResponse() *NotifyActiveResponse {
636
if x != nil {
637
return x.Response
638
}
639
return nil
640
}
641
642
type NotifyActiveRespondResponse struct {
643
state protoimpl.MessageState
644
sizeCache protoimpl.SizeCache
645
unknownFields protoimpl.UnknownFields
646
}
647
648
func (x *NotifyActiveRespondResponse) Reset() {
649
*x = NotifyActiveRespondResponse{}
650
if protoimpl.UnsafeEnabled {
651
mi := &file_notification_proto_msgTypes[11]
652
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
653
ms.StoreMessageInfo(mi)
654
}
655
}
656
657
func (x *NotifyActiveRespondResponse) String() string {
658
return protoimpl.X.MessageStringOf(x)
659
}
660
661
func (*NotifyActiveRespondResponse) ProtoMessage() {}
662
663
func (x *NotifyActiveRespondResponse) ProtoReflect() protoreflect.Message {
664
mi := &file_notification_proto_msgTypes[11]
665
if protoimpl.UnsafeEnabled && x != nil {
666
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
667
if ms.LoadMessageInfo() == nil {
668
ms.StoreMessageInfo(mi)
669
}
670
return ms
671
}
672
return mi.MessageOf(x)
673
}
674
675
// Deprecated: Use NotifyActiveRespondResponse.ProtoReflect.Descriptor instead.
676
func (*NotifyActiveRespondResponse) Descriptor() ([]byte, []int) {
677
return file_notification_proto_rawDescGZIP(), []int{11}
678
}
679
680
// open a file in editor
681
type NotifyActiveRequest_OpenData struct {
682
state protoimpl.MessageState
683
sizeCache protoimpl.SizeCache
684
unknownFields protoimpl.UnknownFields
685
686
Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"`
687
// wait until all opened files are closed
688
Await bool `protobuf:"varint,2,opt,name=await,proto3" json:"await,omitempty"`
689
}
690
691
func (x *NotifyActiveRequest_OpenData) Reset() {
692
*x = NotifyActiveRequest_OpenData{}
693
if protoimpl.UnsafeEnabled {
694
mi := &file_notification_proto_msgTypes[12]
695
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
696
ms.StoreMessageInfo(mi)
697
}
698
}
699
700
func (x *NotifyActiveRequest_OpenData) String() string {
701
return protoimpl.X.MessageStringOf(x)
702
}
703
704
func (*NotifyActiveRequest_OpenData) ProtoMessage() {}
705
706
func (x *NotifyActiveRequest_OpenData) ProtoReflect() protoreflect.Message {
707
mi := &file_notification_proto_msgTypes[12]
708
if protoimpl.UnsafeEnabled && x != nil {
709
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
710
if ms.LoadMessageInfo() == nil {
711
ms.StoreMessageInfo(mi)
712
}
713
return ms
714
}
715
return mi.MessageOf(x)
716
}
717
718
// Deprecated: Use NotifyActiveRequest_OpenData.ProtoReflect.Descriptor instead.
719
func (*NotifyActiveRequest_OpenData) Descriptor() ([]byte, []int) {
720
return file_notification_proto_rawDescGZIP(), []int{6, 0}
721
}
722
723
func (x *NotifyActiveRequest_OpenData) GetUrls() []string {
724
if x != nil {
725
return x.Urls
726
}
727
return nil
728
}
729
730
func (x *NotifyActiveRequest_OpenData) GetAwait() bool {
731
if x != nil {
732
return x.Await
733
}
734
return false
735
}
736
737
// ask editor to open a URL in its preview
738
type NotifyActiveRequest_PreviewData struct {
739
state protoimpl.MessageState
740
sizeCache protoimpl.SizeCache
741
unknownFields protoimpl.UnknownFields
742
743
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
744
// open the URL in a new browser tab
745
External bool `protobuf:"varint,2,opt,name=external,proto3" json:"external,omitempty"`
746
}
747
748
func (x *NotifyActiveRequest_PreviewData) Reset() {
749
*x = NotifyActiveRequest_PreviewData{}
750
if protoimpl.UnsafeEnabled {
751
mi := &file_notification_proto_msgTypes[13]
752
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
753
ms.StoreMessageInfo(mi)
754
}
755
}
756
757
func (x *NotifyActiveRequest_PreviewData) String() string {
758
return protoimpl.X.MessageStringOf(x)
759
}
760
761
func (*NotifyActiveRequest_PreviewData) ProtoMessage() {}
762
763
func (x *NotifyActiveRequest_PreviewData) ProtoReflect() protoreflect.Message {
764
mi := &file_notification_proto_msgTypes[13]
765
if protoimpl.UnsafeEnabled && x != nil {
766
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
767
if ms.LoadMessageInfo() == nil {
768
ms.StoreMessageInfo(mi)
769
}
770
return ms
771
}
772
return mi.MessageOf(x)
773
}
774
775
// Deprecated: Use NotifyActiveRequest_PreviewData.ProtoReflect.Descriptor instead.
776
func (*NotifyActiveRequest_PreviewData) Descriptor() ([]byte, []int) {
777
return file_notification_proto_rawDescGZIP(), []int{6, 1}
778
}
779
780
func (x *NotifyActiveRequest_PreviewData) GetUrl() string {
781
if x != nil {
782
return x.Url
783
}
784
return ""
785
}
786
787
func (x *NotifyActiveRequest_PreviewData) GetExternal() bool {
788
if x != nil {
789
return x.External
790
}
791
return false
792
}
793
794
var File_notification_proto protoreflect.FileDescriptor
795
796
var file_notification_proto_rawDesc = []byte{
797
0x0a, 0x12, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70,
798
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72,
799
0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e,
800
0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5,
801
0x01, 0x0a, 0x0d, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
802
0x12, 0x35, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
803
0x1f, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x4e, 0x6f, 0x74,
804
0x69, 0x66, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c,
805
0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
806
0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
807
0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03,
808
0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x29, 0x0a, 0x05, 0x4c,
809
0x65, 0x76, 0x65, 0x6c, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x00, 0x12,
810
0x0b, 0x0a, 0x07, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04,
811
0x49, 0x4e, 0x46, 0x4f, 0x10, 0x02, 0x22, 0x28, 0x0a, 0x0e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79,
812
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69,
813
0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
814
0x22, 0x12, 0x0a, 0x10, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71,
815
0x75, 0x65, 0x73, 0x74, 0x22, 0x66, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62,
816
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71,
817
0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x72, 0x65,
818
0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65,
819
0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72,
820
0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x52, 0x65, 0x71, 0x75,
821
0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x66, 0x0a, 0x0e,
822
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c,
823
0x0a, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
824
0x04, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x08,
825
0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
826
0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x4e, 0x6f, 0x74, 0x69,
827
0x66, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70,
828
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x52,
829
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa0, 0x02, 0x0a, 0x13, 0x4e, 0x6f, 0x74, 0x69,
830
0x66, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
831
0x3e, 0x0a, 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e,
832
0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66,
833
0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f,
834
0x70, 0x65, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x12,
835
0x47, 0x0a, 0x07, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
836
0x32, 0x2b, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x4e, 0x6f,
837
0x74, 0x69, 0x66, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
838
0x74, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52,
839
0x07, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x1a, 0x34, 0x0a, 0x08, 0x4f, 0x70, 0x65, 0x6e,
840
0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03,
841
0x28, 0x09, 0x52, 0x04, 0x75, 0x72, 0x6c, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x69,
842
0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x77, 0x61, 0x69, 0x74, 0x1a, 0x3b,
843
0x0a, 0x0b, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a,
844
0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12,
845
0x1a, 0x0a, 0x08, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
846
0x08, 0x52, 0x08, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x42, 0x0d, 0x0a, 0x0b, 0x61,
847
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x22, 0x16, 0x0a, 0x14, 0x4e, 0x6f,
848
0x74, 0x69, 0x66, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
849
0x73, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x41,
850
0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x72, 0x0a, 0x17,
851
0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52,
852
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65,
853
0x73, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75,
854
0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
855
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69,
856
0x73, 0x6f, 0x72, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65,
857
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
858
0x22, 0x78, 0x0a, 0x1a, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65,
859
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c,
860
0x0a, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
861
0x04, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x08,
862
0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20,
863
0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x4e, 0x6f, 0x74, 0x69,
864
0x66, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
865
0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x0a, 0x1b, 0x4e, 0x6f,
866
0x74, 0x69, 0x66, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
867
0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xeb, 0x05, 0x0a, 0x13, 0x4e, 0x6f,
868
0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
869
0x65, 0x12, 0x60, 0x0a, 0x06, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x2e, 0x73, 0x75,
870
0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x52,
871
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69,
872
0x73, 0x6f, 0x72, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
873
0x73, 0x65, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f,
874
0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6e, 0x6f, 0x74,
875
0x69, 0x66, 0x79, 0x12, 0x6e, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65,
876
0x12, 0x1c, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x53, 0x75,
877
0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d,
878
0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x53, 0x75, 0x62, 0x73,
879
0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82,
880
0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66,
881
0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62,
882
0x65, 0x30, 0x01, 0x12, 0x64, 0x0a, 0x07, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x12, 0x1a,
883
0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x70,
884
0x6f, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x73, 0x75, 0x70,
885
0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x52,
886
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x22,
887
0x18, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
888
0x6e, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x12, 0x87, 0x01, 0x0a, 0x0f, 0x53, 0x75,
889
0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x22, 0x2e,
890
0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63,
891
0x72, 0x69, 0x62, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
892
0x74, 0x1a, 0x23, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x53,
893
0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65,
894
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x22, 0x21,
895
0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
896
0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x2d, 0x61, 0x63, 0x74, 0x69, 0x76,
897
0x65, 0x30, 0x01, 0x12, 0x79, 0x0a, 0x0c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x41, 0x63, 0x74,
898
0x69, 0x76, 0x65, 0x12, 0x1f, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72,
899
0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71,
900
0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f,
901
0x72, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65,
902
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1e,
903
0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
904
0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2d, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x96,
905
0x01, 0x0a, 0x13, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52,
906
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x12, 0x26, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69,
907
0x73, 0x6f, 0x72, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65,
908
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27,
909
0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x4e, 0x6f, 0x74, 0x69,
910
0x66, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x52,
911
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x22,
912
0x26, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
913
0x6e, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2d, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2d,
914
0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x42, 0x46, 0x0a, 0x18, 0x69, 0x6f, 0x2e, 0x67, 0x69,
915
0x74, 0x70, 0x6f, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e,
916
0x61, 0x70, 0x69, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
917
0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64,
918
0x2f, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x62,
919
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
920
}
921
922
var (
923
file_notification_proto_rawDescOnce sync.Once
924
file_notification_proto_rawDescData = file_notification_proto_rawDesc
925
)
926
927
func file_notification_proto_rawDescGZIP() []byte {
928
file_notification_proto_rawDescOnce.Do(func() {
929
file_notification_proto_rawDescData = protoimpl.X.CompressGZIP(file_notification_proto_rawDescData)
930
})
931
return file_notification_proto_rawDescData
932
}
933
934
var file_notification_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
935
var file_notification_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
936
var file_notification_proto_goTypes = []interface{}{
937
(NotifyRequest_Level)(0), // 0: supervisor.NotifyRequest.Level
938
(*NotifyRequest)(nil), // 1: supervisor.NotifyRequest
939
(*NotifyResponse)(nil), // 2: supervisor.NotifyResponse
940
(*SubscribeRequest)(nil), // 3: supervisor.SubscribeRequest
941
(*SubscribeResponse)(nil), // 4: supervisor.SubscribeResponse
942
(*RespondRequest)(nil), // 5: supervisor.RespondRequest
943
(*RespondResponse)(nil), // 6: supervisor.RespondResponse
944
(*NotifyActiveRequest)(nil), // 7: supervisor.NotifyActiveRequest
945
(*NotifyActiveResponse)(nil), // 8: supervisor.NotifyActiveResponse
946
(*SubscribeActiveRequest)(nil), // 9: supervisor.SubscribeActiveRequest
947
(*SubscribeActiveResponse)(nil), // 10: supervisor.SubscribeActiveResponse
948
(*NotifyActiveRespondRequest)(nil), // 11: supervisor.NotifyActiveRespondRequest
949
(*NotifyActiveRespondResponse)(nil), // 12: supervisor.NotifyActiveRespondResponse
950
(*NotifyActiveRequest_OpenData)(nil), // 13: supervisor.NotifyActiveRequest.OpenData
951
(*NotifyActiveRequest_PreviewData)(nil), // 14: supervisor.NotifyActiveRequest.PreviewData
952
}
953
var file_notification_proto_depIdxs = []int32{
954
0, // 0: supervisor.NotifyRequest.level:type_name -> supervisor.NotifyRequest.Level
955
1, // 1: supervisor.SubscribeResponse.request:type_name -> supervisor.NotifyRequest
956
2, // 2: supervisor.RespondRequest.response:type_name -> supervisor.NotifyResponse
957
13, // 3: supervisor.NotifyActiveRequest.open:type_name -> supervisor.NotifyActiveRequest.OpenData
958
14, // 4: supervisor.NotifyActiveRequest.preview:type_name -> supervisor.NotifyActiveRequest.PreviewData
959
7, // 5: supervisor.SubscribeActiveResponse.request:type_name -> supervisor.NotifyActiveRequest
960
8, // 6: supervisor.NotifyActiveRespondRequest.response:type_name -> supervisor.NotifyActiveResponse
961
1, // 7: supervisor.NotificationService.Notify:input_type -> supervisor.NotifyRequest
962
3, // 8: supervisor.NotificationService.Subscribe:input_type -> supervisor.SubscribeRequest
963
5, // 9: supervisor.NotificationService.Respond:input_type -> supervisor.RespondRequest
964
9, // 10: supervisor.NotificationService.SubscribeActive:input_type -> supervisor.SubscribeActiveRequest
965
7, // 11: supervisor.NotificationService.NotifyActive:input_type -> supervisor.NotifyActiveRequest
966
11, // 12: supervisor.NotificationService.NotifyActiveRespond:input_type -> supervisor.NotifyActiveRespondRequest
967
2, // 13: supervisor.NotificationService.Notify:output_type -> supervisor.NotifyResponse
968
4, // 14: supervisor.NotificationService.Subscribe:output_type -> supervisor.SubscribeResponse
969
6, // 15: supervisor.NotificationService.Respond:output_type -> supervisor.RespondResponse
970
10, // 16: supervisor.NotificationService.SubscribeActive:output_type -> supervisor.SubscribeActiveResponse
971
8, // 17: supervisor.NotificationService.NotifyActive:output_type -> supervisor.NotifyActiveResponse
972
12, // 18: supervisor.NotificationService.NotifyActiveRespond:output_type -> supervisor.NotifyActiveRespondResponse
973
13, // [13:19] is the sub-list for method output_type
974
7, // [7:13] is the sub-list for method input_type
975
7, // [7:7] is the sub-list for extension type_name
976
7, // [7:7] is the sub-list for extension extendee
977
0, // [0:7] is the sub-list for field type_name
978
}
979
980
func init() { file_notification_proto_init() }
981
func file_notification_proto_init() {
982
if File_notification_proto != nil {
983
return
984
}
985
if !protoimpl.UnsafeEnabled {
986
file_notification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
987
switch v := v.(*NotifyRequest); i {
988
case 0:
989
return &v.state
990
case 1:
991
return &v.sizeCache
992
case 2:
993
return &v.unknownFields
994
default:
995
return nil
996
}
997
}
998
file_notification_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
999
switch v := v.(*NotifyResponse); i {
1000
case 0:
1001
return &v.state
1002
case 1:
1003
return &v.sizeCache
1004
case 2:
1005
return &v.unknownFields
1006
default:
1007
return nil
1008
}
1009
}
1010
file_notification_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1011
switch v := v.(*SubscribeRequest); i {
1012
case 0:
1013
return &v.state
1014
case 1:
1015
return &v.sizeCache
1016
case 2:
1017
return &v.unknownFields
1018
default:
1019
return nil
1020
}
1021
}
1022
file_notification_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1023
switch v := v.(*SubscribeResponse); i {
1024
case 0:
1025
return &v.state
1026
case 1:
1027
return &v.sizeCache
1028
case 2:
1029
return &v.unknownFields
1030
default:
1031
return nil
1032
}
1033
}
1034
file_notification_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1035
switch v := v.(*RespondRequest); i {
1036
case 0:
1037
return &v.state
1038
case 1:
1039
return &v.sizeCache
1040
case 2:
1041
return &v.unknownFields
1042
default:
1043
return nil
1044
}
1045
}
1046
file_notification_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1047
switch v := v.(*RespondResponse); i {
1048
case 0:
1049
return &v.state
1050
case 1:
1051
return &v.sizeCache
1052
case 2:
1053
return &v.unknownFields
1054
default:
1055
return nil
1056
}
1057
}
1058
file_notification_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1059
switch v := v.(*NotifyActiveRequest); i {
1060
case 0:
1061
return &v.state
1062
case 1:
1063
return &v.sizeCache
1064
case 2:
1065
return &v.unknownFields
1066
default:
1067
return nil
1068
}
1069
}
1070
file_notification_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1071
switch v := v.(*NotifyActiveResponse); i {
1072
case 0:
1073
return &v.state
1074
case 1:
1075
return &v.sizeCache
1076
case 2:
1077
return &v.unknownFields
1078
default:
1079
return nil
1080
}
1081
}
1082
file_notification_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1083
switch v := v.(*SubscribeActiveRequest); i {
1084
case 0:
1085
return &v.state
1086
case 1:
1087
return &v.sizeCache
1088
case 2:
1089
return &v.unknownFields
1090
default:
1091
return nil
1092
}
1093
}
1094
file_notification_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1095
switch v := v.(*SubscribeActiveResponse); i {
1096
case 0:
1097
return &v.state
1098
case 1:
1099
return &v.sizeCache
1100
case 2:
1101
return &v.unknownFields
1102
default:
1103
return nil
1104
}
1105
}
1106
file_notification_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1107
switch v := v.(*NotifyActiveRespondRequest); i {
1108
case 0:
1109
return &v.state
1110
case 1:
1111
return &v.sizeCache
1112
case 2:
1113
return &v.unknownFields
1114
default:
1115
return nil
1116
}
1117
}
1118
file_notification_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1119
switch v := v.(*NotifyActiveRespondResponse); i {
1120
case 0:
1121
return &v.state
1122
case 1:
1123
return &v.sizeCache
1124
case 2:
1125
return &v.unknownFields
1126
default:
1127
return nil
1128
}
1129
}
1130
file_notification_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
1131
switch v := v.(*NotifyActiveRequest_OpenData); i {
1132
case 0:
1133
return &v.state
1134
case 1:
1135
return &v.sizeCache
1136
case 2:
1137
return &v.unknownFields
1138
default:
1139
return nil
1140
}
1141
}
1142
file_notification_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
1143
switch v := v.(*NotifyActiveRequest_PreviewData); i {
1144
case 0:
1145
return &v.state
1146
case 1:
1147
return &v.sizeCache
1148
case 2:
1149
return &v.unknownFields
1150
default:
1151
return nil
1152
}
1153
}
1154
}
1155
file_notification_proto_msgTypes[6].OneofWrappers = []interface{}{
1156
(*NotifyActiveRequest_Open)(nil),
1157
(*NotifyActiveRequest_Preview)(nil),
1158
}
1159
type x struct{}
1160
out := protoimpl.TypeBuilder{
1161
File: protoimpl.DescBuilder{
1162
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1163
RawDescriptor: file_notification_proto_rawDesc,
1164
NumEnums: 1,
1165
NumMessages: 14,
1166
NumExtensions: 0,
1167
NumServices: 1,
1168
},
1169
GoTypes: file_notification_proto_goTypes,
1170
DependencyIndexes: file_notification_proto_depIdxs,
1171
EnumInfos: file_notification_proto_enumTypes,
1172
MessageInfos: file_notification_proto_msgTypes,
1173
}.Build()
1174
File_notification_proto = out.File
1175
file_notification_proto_rawDesc = nil
1176
file_notification_proto_goTypes = nil
1177
file_notification_proto_depIdxs = nil
1178
}
1179
1180