Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/public-api/go/experimental/v1/user.pb.go
2501 views
1
// Copyright (c) 2025 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 (unknown)
9
// source: gitpod/experimental/v1/user.proto
10
11
package v1
12
13
import (
14
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
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 User struct {
29
state protoimpl.MessageState
30
sizeCache protoimpl.SizeCache
31
unknownFields protoimpl.UnknownFields
32
33
// id is a UUID of the user
34
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
35
// name is the username
36
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
37
// avatar_url is a link to the user avatar
38
AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
39
// created_at is the creation time
40
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
41
}
42
43
func (x *User) Reset() {
44
*x = User{}
45
if protoimpl.UnsafeEnabled {
46
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[0]
47
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
48
ms.StoreMessageInfo(mi)
49
}
50
}
51
52
func (x *User) String() string {
53
return protoimpl.X.MessageStringOf(x)
54
}
55
56
func (*User) ProtoMessage() {}
57
58
func (x *User) ProtoReflect() protoreflect.Message {
59
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[0]
60
if protoimpl.UnsafeEnabled && x != nil {
61
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62
if ms.LoadMessageInfo() == nil {
63
ms.StoreMessageInfo(mi)
64
}
65
return ms
66
}
67
return mi.MessageOf(x)
68
}
69
70
// Deprecated: Use User.ProtoReflect.Descriptor instead.
71
func (*User) Descriptor() ([]byte, []int) {
72
return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{0}
73
}
74
75
func (x *User) GetId() string {
76
if x != nil {
77
return x.Id
78
}
79
return ""
80
}
81
82
func (x *User) GetName() string {
83
if x != nil {
84
return x.Name
85
}
86
return ""
87
}
88
89
func (x *User) GetAvatarUrl() string {
90
if x != nil {
91
return x.AvatarUrl
92
}
93
return ""
94
}
95
96
func (x *User) GetCreatedAt() *timestamppb.Timestamp {
97
if x != nil {
98
return x.CreatedAt
99
}
100
return nil
101
}
102
103
type SSHKey struct {
104
state protoimpl.MessageState
105
sizeCache protoimpl.SizeCache
106
unknownFields protoimpl.UnknownFields
107
108
// id is a UUID of the SSH key
109
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
110
// name is the name of the SSH key
111
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
112
// key is the public SSH key
113
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
114
// created_at is the creation time
115
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
116
}
117
118
func (x *SSHKey) Reset() {
119
*x = SSHKey{}
120
if protoimpl.UnsafeEnabled {
121
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[1]
122
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
123
ms.StoreMessageInfo(mi)
124
}
125
}
126
127
func (x *SSHKey) String() string {
128
return protoimpl.X.MessageStringOf(x)
129
}
130
131
func (*SSHKey) ProtoMessage() {}
132
133
func (x *SSHKey) ProtoReflect() protoreflect.Message {
134
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[1]
135
if protoimpl.UnsafeEnabled && x != nil {
136
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
137
if ms.LoadMessageInfo() == nil {
138
ms.StoreMessageInfo(mi)
139
}
140
return ms
141
}
142
return mi.MessageOf(x)
143
}
144
145
// Deprecated: Use SSHKey.ProtoReflect.Descriptor instead.
146
func (*SSHKey) Descriptor() ([]byte, []int) {
147
return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{1}
148
}
149
150
func (x *SSHKey) GetId() string {
151
if x != nil {
152
return x.Id
153
}
154
return ""
155
}
156
157
func (x *SSHKey) GetName() string {
158
if x != nil {
159
return x.Name
160
}
161
return ""
162
}
163
164
func (x *SSHKey) GetKey() string {
165
if x != nil {
166
return x.Key
167
}
168
return ""
169
}
170
171
func (x *SSHKey) GetCreatedAt() *timestamppb.Timestamp {
172
if x != nil {
173
return x.CreatedAt
174
}
175
return nil
176
}
177
178
type GetAuthenticatedUserRequest struct {
179
state protoimpl.MessageState
180
sizeCache protoimpl.SizeCache
181
unknownFields protoimpl.UnknownFields
182
}
183
184
func (x *GetAuthenticatedUserRequest) Reset() {
185
*x = GetAuthenticatedUserRequest{}
186
if protoimpl.UnsafeEnabled {
187
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[2]
188
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
189
ms.StoreMessageInfo(mi)
190
}
191
}
192
193
func (x *GetAuthenticatedUserRequest) String() string {
194
return protoimpl.X.MessageStringOf(x)
195
}
196
197
func (*GetAuthenticatedUserRequest) ProtoMessage() {}
198
199
func (x *GetAuthenticatedUserRequest) ProtoReflect() protoreflect.Message {
200
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[2]
201
if protoimpl.UnsafeEnabled && x != nil {
202
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
203
if ms.LoadMessageInfo() == nil {
204
ms.StoreMessageInfo(mi)
205
}
206
return ms
207
}
208
return mi.MessageOf(x)
209
}
210
211
// Deprecated: Use GetAuthenticatedUserRequest.ProtoReflect.Descriptor instead.
212
func (*GetAuthenticatedUserRequest) Descriptor() ([]byte, []int) {
213
return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{2}
214
}
215
216
type GetAuthenticatedUserResponse struct {
217
state protoimpl.MessageState
218
sizeCache protoimpl.SizeCache
219
unknownFields protoimpl.UnknownFields
220
221
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
222
}
223
224
func (x *GetAuthenticatedUserResponse) Reset() {
225
*x = GetAuthenticatedUserResponse{}
226
if protoimpl.UnsafeEnabled {
227
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[3]
228
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
229
ms.StoreMessageInfo(mi)
230
}
231
}
232
233
func (x *GetAuthenticatedUserResponse) String() string {
234
return protoimpl.X.MessageStringOf(x)
235
}
236
237
func (*GetAuthenticatedUserResponse) ProtoMessage() {}
238
239
func (x *GetAuthenticatedUserResponse) ProtoReflect() protoreflect.Message {
240
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[3]
241
if protoimpl.UnsafeEnabled && x != nil {
242
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
243
if ms.LoadMessageInfo() == nil {
244
ms.StoreMessageInfo(mi)
245
}
246
return ms
247
}
248
return mi.MessageOf(x)
249
}
250
251
// Deprecated: Use GetAuthenticatedUserResponse.ProtoReflect.Descriptor instead.
252
func (*GetAuthenticatedUserResponse) Descriptor() ([]byte, []int) {
253
return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{3}
254
}
255
256
func (x *GetAuthenticatedUserResponse) GetUser() *User {
257
if x != nil {
258
return x.User
259
}
260
return nil
261
}
262
263
type ListSSHKeysRequest struct {
264
state protoimpl.MessageState
265
sizeCache protoimpl.SizeCache
266
unknownFields protoimpl.UnknownFields
267
}
268
269
func (x *ListSSHKeysRequest) Reset() {
270
*x = ListSSHKeysRequest{}
271
if protoimpl.UnsafeEnabled {
272
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[4]
273
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
274
ms.StoreMessageInfo(mi)
275
}
276
}
277
278
func (x *ListSSHKeysRequest) String() string {
279
return protoimpl.X.MessageStringOf(x)
280
}
281
282
func (*ListSSHKeysRequest) ProtoMessage() {}
283
284
func (x *ListSSHKeysRequest) ProtoReflect() protoreflect.Message {
285
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[4]
286
if protoimpl.UnsafeEnabled && x != nil {
287
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
288
if ms.LoadMessageInfo() == nil {
289
ms.StoreMessageInfo(mi)
290
}
291
return ms
292
}
293
return mi.MessageOf(x)
294
}
295
296
// Deprecated: Use ListSSHKeysRequest.ProtoReflect.Descriptor instead.
297
func (*ListSSHKeysRequest) Descriptor() ([]byte, []int) {
298
return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{4}
299
}
300
301
type ListSSHKeysResponse struct {
302
state protoimpl.MessageState
303
sizeCache protoimpl.SizeCache
304
unknownFields protoimpl.UnknownFields
305
306
Keys []*SSHKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
307
}
308
309
func (x *ListSSHKeysResponse) Reset() {
310
*x = ListSSHKeysResponse{}
311
if protoimpl.UnsafeEnabled {
312
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[5]
313
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
314
ms.StoreMessageInfo(mi)
315
}
316
}
317
318
func (x *ListSSHKeysResponse) String() string {
319
return protoimpl.X.MessageStringOf(x)
320
}
321
322
func (*ListSSHKeysResponse) ProtoMessage() {}
323
324
func (x *ListSSHKeysResponse) ProtoReflect() protoreflect.Message {
325
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[5]
326
if protoimpl.UnsafeEnabled && x != nil {
327
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
328
if ms.LoadMessageInfo() == nil {
329
ms.StoreMessageInfo(mi)
330
}
331
return ms
332
}
333
return mi.MessageOf(x)
334
}
335
336
// Deprecated: Use ListSSHKeysResponse.ProtoReflect.Descriptor instead.
337
func (*ListSSHKeysResponse) Descriptor() ([]byte, []int) {
338
return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{5}
339
}
340
341
func (x *ListSSHKeysResponse) GetKeys() []*SSHKey {
342
if x != nil {
343
return x.Keys
344
}
345
return nil
346
}
347
348
type CreateSSHKeyRequest struct {
349
state protoimpl.MessageState
350
sizeCache protoimpl.SizeCache
351
unknownFields protoimpl.UnknownFields
352
353
// name is the SSH key name
354
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
355
// the public SSH key
356
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
357
}
358
359
func (x *CreateSSHKeyRequest) Reset() {
360
*x = CreateSSHKeyRequest{}
361
if protoimpl.UnsafeEnabled {
362
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[6]
363
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
364
ms.StoreMessageInfo(mi)
365
}
366
}
367
368
func (x *CreateSSHKeyRequest) String() string {
369
return protoimpl.X.MessageStringOf(x)
370
}
371
372
func (*CreateSSHKeyRequest) ProtoMessage() {}
373
374
func (x *CreateSSHKeyRequest) ProtoReflect() protoreflect.Message {
375
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[6]
376
if protoimpl.UnsafeEnabled && x != nil {
377
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
378
if ms.LoadMessageInfo() == nil {
379
ms.StoreMessageInfo(mi)
380
}
381
return ms
382
}
383
return mi.MessageOf(x)
384
}
385
386
// Deprecated: Use CreateSSHKeyRequest.ProtoReflect.Descriptor instead.
387
func (*CreateSSHKeyRequest) Descriptor() ([]byte, []int) {
388
return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{6}
389
}
390
391
func (x *CreateSSHKeyRequest) GetName() string {
392
if x != nil {
393
return x.Name
394
}
395
return ""
396
}
397
398
func (x *CreateSSHKeyRequest) GetKey() string {
399
if x != nil {
400
return x.Key
401
}
402
return ""
403
}
404
405
type CreateSSHKeyResponse struct {
406
state protoimpl.MessageState
407
sizeCache protoimpl.SizeCache
408
unknownFields protoimpl.UnknownFields
409
410
Key *SSHKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
411
}
412
413
func (x *CreateSSHKeyResponse) Reset() {
414
*x = CreateSSHKeyResponse{}
415
if protoimpl.UnsafeEnabled {
416
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[7]
417
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
418
ms.StoreMessageInfo(mi)
419
}
420
}
421
422
func (x *CreateSSHKeyResponse) String() string {
423
return protoimpl.X.MessageStringOf(x)
424
}
425
426
func (*CreateSSHKeyResponse) ProtoMessage() {}
427
428
func (x *CreateSSHKeyResponse) ProtoReflect() protoreflect.Message {
429
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[7]
430
if protoimpl.UnsafeEnabled && x != nil {
431
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
432
if ms.LoadMessageInfo() == nil {
433
ms.StoreMessageInfo(mi)
434
}
435
return ms
436
}
437
return mi.MessageOf(x)
438
}
439
440
// Deprecated: Use CreateSSHKeyResponse.ProtoReflect.Descriptor instead.
441
func (*CreateSSHKeyResponse) Descriptor() ([]byte, []int) {
442
return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{7}
443
}
444
445
func (x *CreateSSHKeyResponse) GetKey() *SSHKey {
446
if x != nil {
447
return x.Key
448
}
449
return nil
450
}
451
452
type GetSSHKeyRequest struct {
453
state protoimpl.MessageState
454
sizeCache protoimpl.SizeCache
455
unknownFields protoimpl.UnknownFields
456
457
// id is the unique identifier of the SSH key to retreive.
458
KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
459
}
460
461
func (x *GetSSHKeyRequest) Reset() {
462
*x = GetSSHKeyRequest{}
463
if protoimpl.UnsafeEnabled {
464
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[8]
465
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
466
ms.StoreMessageInfo(mi)
467
}
468
}
469
470
func (x *GetSSHKeyRequest) String() string {
471
return protoimpl.X.MessageStringOf(x)
472
}
473
474
func (*GetSSHKeyRequest) ProtoMessage() {}
475
476
func (x *GetSSHKeyRequest) ProtoReflect() protoreflect.Message {
477
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[8]
478
if protoimpl.UnsafeEnabled && x != nil {
479
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
480
if ms.LoadMessageInfo() == nil {
481
ms.StoreMessageInfo(mi)
482
}
483
return ms
484
}
485
return mi.MessageOf(x)
486
}
487
488
// Deprecated: Use GetSSHKeyRequest.ProtoReflect.Descriptor instead.
489
func (*GetSSHKeyRequest) Descriptor() ([]byte, []int) {
490
return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{8}
491
}
492
493
func (x *GetSSHKeyRequest) GetKeyId() string {
494
if x != nil {
495
return x.KeyId
496
}
497
return ""
498
}
499
500
type GetSSHKeyResponse struct {
501
state protoimpl.MessageState
502
sizeCache protoimpl.SizeCache
503
unknownFields protoimpl.UnknownFields
504
505
Key *SSHKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
506
}
507
508
func (x *GetSSHKeyResponse) Reset() {
509
*x = GetSSHKeyResponse{}
510
if protoimpl.UnsafeEnabled {
511
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[9]
512
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
513
ms.StoreMessageInfo(mi)
514
}
515
}
516
517
func (x *GetSSHKeyResponse) String() string {
518
return protoimpl.X.MessageStringOf(x)
519
}
520
521
func (*GetSSHKeyResponse) ProtoMessage() {}
522
523
func (x *GetSSHKeyResponse) ProtoReflect() protoreflect.Message {
524
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[9]
525
if protoimpl.UnsafeEnabled && x != nil {
526
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
527
if ms.LoadMessageInfo() == nil {
528
ms.StoreMessageInfo(mi)
529
}
530
return ms
531
}
532
return mi.MessageOf(x)
533
}
534
535
// Deprecated: Use GetSSHKeyResponse.ProtoReflect.Descriptor instead.
536
func (*GetSSHKeyResponse) Descriptor() ([]byte, []int) {
537
return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{9}
538
}
539
540
func (x *GetSSHKeyResponse) GetKey() *SSHKey {
541
if x != nil {
542
return x.Key
543
}
544
return nil
545
}
546
547
type DeleteSSHKeyRequest struct {
548
state protoimpl.MessageState
549
sizeCache protoimpl.SizeCache
550
unknownFields protoimpl.UnknownFields
551
552
// id is the unique identifier of the SSH key to retreive.
553
KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
554
}
555
556
func (x *DeleteSSHKeyRequest) Reset() {
557
*x = DeleteSSHKeyRequest{}
558
if protoimpl.UnsafeEnabled {
559
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[10]
560
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
561
ms.StoreMessageInfo(mi)
562
}
563
}
564
565
func (x *DeleteSSHKeyRequest) String() string {
566
return protoimpl.X.MessageStringOf(x)
567
}
568
569
func (*DeleteSSHKeyRequest) ProtoMessage() {}
570
571
func (x *DeleteSSHKeyRequest) ProtoReflect() protoreflect.Message {
572
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[10]
573
if protoimpl.UnsafeEnabled && x != nil {
574
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
575
if ms.LoadMessageInfo() == nil {
576
ms.StoreMessageInfo(mi)
577
}
578
return ms
579
}
580
return mi.MessageOf(x)
581
}
582
583
// Deprecated: Use DeleteSSHKeyRequest.ProtoReflect.Descriptor instead.
584
func (*DeleteSSHKeyRequest) Descriptor() ([]byte, []int) {
585
return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{10}
586
}
587
588
func (x *DeleteSSHKeyRequest) GetKeyId() string {
589
if x != nil {
590
return x.KeyId
591
}
592
return ""
593
}
594
595
type DeleteSSHKeyResponse struct {
596
state protoimpl.MessageState
597
sizeCache protoimpl.SizeCache
598
unknownFields protoimpl.UnknownFields
599
}
600
601
func (x *DeleteSSHKeyResponse) Reset() {
602
*x = DeleteSSHKeyResponse{}
603
if protoimpl.UnsafeEnabled {
604
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[11]
605
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
606
ms.StoreMessageInfo(mi)
607
}
608
}
609
610
func (x *DeleteSSHKeyResponse) String() string {
611
return protoimpl.X.MessageStringOf(x)
612
}
613
614
func (*DeleteSSHKeyResponse) ProtoMessage() {}
615
616
func (x *DeleteSSHKeyResponse) ProtoReflect() protoreflect.Message {
617
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[11]
618
if protoimpl.UnsafeEnabled && x != nil {
619
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
620
if ms.LoadMessageInfo() == nil {
621
ms.StoreMessageInfo(mi)
622
}
623
return ms
624
}
625
return mi.MessageOf(x)
626
}
627
628
// Deprecated: Use DeleteSSHKeyResponse.ProtoReflect.Descriptor instead.
629
func (*DeleteSSHKeyResponse) Descriptor() ([]byte, []int) {
630
return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{11}
631
}
632
633
type GetGitTokenRequest struct {
634
state protoimpl.MessageState
635
sizeCache protoimpl.SizeCache
636
unknownFields protoimpl.UnknownFields
637
638
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
639
}
640
641
func (x *GetGitTokenRequest) Reset() {
642
*x = GetGitTokenRequest{}
643
if protoimpl.UnsafeEnabled {
644
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[12]
645
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
646
ms.StoreMessageInfo(mi)
647
}
648
}
649
650
func (x *GetGitTokenRequest) String() string {
651
return protoimpl.X.MessageStringOf(x)
652
}
653
654
func (*GetGitTokenRequest) ProtoMessage() {}
655
656
func (x *GetGitTokenRequest) ProtoReflect() protoreflect.Message {
657
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[12]
658
if protoimpl.UnsafeEnabled && x != nil {
659
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
660
if ms.LoadMessageInfo() == nil {
661
ms.StoreMessageInfo(mi)
662
}
663
return ms
664
}
665
return mi.MessageOf(x)
666
}
667
668
// Deprecated: Use GetGitTokenRequest.ProtoReflect.Descriptor instead.
669
func (*GetGitTokenRequest) Descriptor() ([]byte, []int) {
670
return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{12}
671
}
672
673
func (x *GetGitTokenRequest) GetHost() string {
674
if x != nil {
675
return x.Host
676
}
677
return ""
678
}
679
680
type GetGitTokenResponse struct {
681
state protoimpl.MessageState
682
sizeCache protoimpl.SizeCache
683
unknownFields protoimpl.UnknownFields
684
685
Token *GitToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
686
}
687
688
func (x *GetGitTokenResponse) Reset() {
689
*x = GetGitTokenResponse{}
690
if protoimpl.UnsafeEnabled {
691
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[13]
692
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
693
ms.StoreMessageInfo(mi)
694
}
695
}
696
697
func (x *GetGitTokenResponse) String() string {
698
return protoimpl.X.MessageStringOf(x)
699
}
700
701
func (*GetGitTokenResponse) ProtoMessage() {}
702
703
func (x *GetGitTokenResponse) ProtoReflect() protoreflect.Message {
704
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[13]
705
if protoimpl.UnsafeEnabled && x != nil {
706
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
707
if ms.LoadMessageInfo() == nil {
708
ms.StoreMessageInfo(mi)
709
}
710
return ms
711
}
712
return mi.MessageOf(x)
713
}
714
715
// Deprecated: Use GetGitTokenResponse.ProtoReflect.Descriptor instead.
716
func (*GetGitTokenResponse) Descriptor() ([]byte, []int) {
717
return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{13}
718
}
719
720
func (x *GetGitTokenResponse) GetToken() *GitToken {
721
if x != nil {
722
return x.Token
723
}
724
return nil
725
}
726
727
type GitToken struct {
728
state protoimpl.MessageState
729
sizeCache protoimpl.SizeCache
730
unknownFields protoimpl.UnknownFields
731
732
// expiry_date is the date when the token will expire
733
ExpiryDate string `protobuf:"bytes,1,opt,name=expiry_date,json=expiryDate,proto3" json:"expiry_date,omitempty"`
734
// id_token is the unique identifier for the token
735
IdToken string `protobuf:"bytes,2,opt,name=id_token,json=idToken,proto3" json:"id_token,omitempty"`
736
// refresh_token is the token used to refresh the git token
737
RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
738
// scopes is a list of permissions associated with the token
739
Scopes []string `protobuf:"bytes,4,rep,name=scopes,proto3" json:"scopes,omitempty"`
740
// update_date is the date when the token was last updated
741
UpdateDate string `protobuf:"bytes,5,opt,name=update_date,json=updateDate,proto3" json:"update_date,omitempty"`
742
// username is the username associated with the token
743
Username string `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty"`
744
// value is the actual token value for the token
745
Value string `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"`
746
}
747
748
func (x *GitToken) Reset() {
749
*x = GitToken{}
750
if protoimpl.UnsafeEnabled {
751
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[14]
752
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
753
ms.StoreMessageInfo(mi)
754
}
755
}
756
757
func (x *GitToken) String() string {
758
return protoimpl.X.MessageStringOf(x)
759
}
760
761
func (*GitToken) ProtoMessage() {}
762
763
func (x *GitToken) ProtoReflect() protoreflect.Message {
764
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[14]
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 GitToken.ProtoReflect.Descriptor instead.
776
func (*GitToken) Descriptor() ([]byte, []int) {
777
return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{14}
778
}
779
780
func (x *GitToken) GetExpiryDate() string {
781
if x != nil {
782
return x.ExpiryDate
783
}
784
return ""
785
}
786
787
func (x *GitToken) GetIdToken() string {
788
if x != nil {
789
return x.IdToken
790
}
791
return ""
792
}
793
794
func (x *GitToken) GetRefreshToken() string {
795
if x != nil {
796
return x.RefreshToken
797
}
798
return ""
799
}
800
801
func (x *GitToken) GetScopes() []string {
802
if x != nil {
803
return x.Scopes
804
}
805
return nil
806
}
807
808
func (x *GitToken) GetUpdateDate() string {
809
if x != nil {
810
return x.UpdateDate
811
}
812
return ""
813
}
814
815
func (x *GitToken) GetUsername() string {
816
if x != nil {
817
return x.Username
818
}
819
return ""
820
}
821
822
func (x *GitToken) GetValue() string {
823
if x != nil {
824
return x.Value
825
}
826
return ""
827
}
828
829
type BlockUserRequest struct {
830
state protoimpl.MessageState
831
sizeCache protoimpl.SizeCache
832
unknownFields protoimpl.UnknownFields
833
834
// the ID of a User to block
835
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
836
// reason is the reason for blocking the user
837
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
838
}
839
840
func (x *BlockUserRequest) Reset() {
841
*x = BlockUserRequest{}
842
if protoimpl.UnsafeEnabled {
843
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[15]
844
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
845
ms.StoreMessageInfo(mi)
846
}
847
}
848
849
func (x *BlockUserRequest) String() string {
850
return protoimpl.X.MessageStringOf(x)
851
}
852
853
func (*BlockUserRequest) ProtoMessage() {}
854
855
func (x *BlockUserRequest) ProtoReflect() protoreflect.Message {
856
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[15]
857
if protoimpl.UnsafeEnabled && x != nil {
858
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
859
if ms.LoadMessageInfo() == nil {
860
ms.StoreMessageInfo(mi)
861
}
862
return ms
863
}
864
return mi.MessageOf(x)
865
}
866
867
// Deprecated: Use BlockUserRequest.ProtoReflect.Descriptor instead.
868
func (*BlockUserRequest) Descriptor() ([]byte, []int) {
869
return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{15}
870
}
871
872
func (x *BlockUserRequest) GetUserId() string {
873
if x != nil {
874
return x.UserId
875
}
876
return ""
877
}
878
879
func (x *BlockUserRequest) GetReason() string {
880
if x != nil {
881
return x.Reason
882
}
883
return ""
884
}
885
886
type BlockUserResponse struct {
887
state protoimpl.MessageState
888
sizeCache protoimpl.SizeCache
889
unknownFields protoimpl.UnknownFields
890
}
891
892
func (x *BlockUserResponse) Reset() {
893
*x = BlockUserResponse{}
894
if protoimpl.UnsafeEnabled {
895
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[16]
896
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
897
ms.StoreMessageInfo(mi)
898
}
899
}
900
901
func (x *BlockUserResponse) String() string {
902
return protoimpl.X.MessageStringOf(x)
903
}
904
905
func (*BlockUserResponse) ProtoMessage() {}
906
907
func (x *BlockUserResponse) ProtoReflect() protoreflect.Message {
908
mi := &file_gitpod_experimental_v1_user_proto_msgTypes[16]
909
if protoimpl.UnsafeEnabled && x != nil {
910
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
911
if ms.LoadMessageInfo() == nil {
912
ms.StoreMessageInfo(mi)
913
}
914
return ms
915
}
916
return mi.MessageOf(x)
917
}
918
919
// Deprecated: Use BlockUserResponse.ProtoReflect.Descriptor instead.
920
func (*BlockUserResponse) Descriptor() ([]byte, []int) {
921
return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{16}
922
}
923
924
var File_gitpod_experimental_v1_user_proto protoreflect.FileDescriptor
925
926
var file_gitpod_experimental_v1_user_proto_rawDesc = []byte{
927
0x0a, 0x21, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d,
928
0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72,
929
0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65,
930
0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
931
0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d,
932
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x01, 0x0a,
933
0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
934
0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
935
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61,
936
0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
937
0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61,
938
0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
939
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
940
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
941
0x64, 0x41, 0x74, 0x22, 0x79, 0x0a, 0x06, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x12, 0x0e, 0x0a,
942
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a,
943
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
944
0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
945
0x6b, 0x65, 0x79, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61,
946
0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
947
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
948
0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x1d,
949
0x0a, 0x1b, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74,
950
0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x50, 0x0a,
951
0x1c, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65,
952
0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a,
953
0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x69,
954
0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61,
955
0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22,
956
0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65,
957
0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x49, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x48,
958
0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x04,
959
0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74,
960
0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c,
961
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73,
962
0x22, 0x3b, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79,
963
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
964
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b,
965
0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x48, 0x0a,
966
0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73,
967
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
968
0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65,
969
0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x53, 0x48, 0x4b,
970
0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x29, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x53,
971
0x48, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6b,
972
0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6b, 0x65, 0x79,
973
0x49, 0x64, 0x22, 0x45, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x52,
974
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
975
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78,
976
0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x53,
977
0x48, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x2c, 0x0a, 0x13, 0x44, 0x65, 0x6c,
978
0x65, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
979
0x12, 0x15, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
980
0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74,
981
0x65, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
982
0x28, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x47, 0x69, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65,
983
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20,
984
0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x22, 0x4d, 0x0a, 0x13, 0x47, 0x65, 0x74,
985
0x47, 0x69, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
986
0x12, 0x36, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
987
0x20, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d,
988
0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x69, 0x74, 0x54, 0x6f, 0x6b, 0x65,
989
0x6e, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xd6, 0x01, 0x0a, 0x08, 0x47, 0x69, 0x74,
990
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x5f,
991
0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69,
992
0x72, 0x79, 0x44, 0x61, 0x74, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x64, 0x5f, 0x74, 0x6f, 0x6b,
993
0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x64, 0x54, 0x6f, 0x6b, 0x65,
994
0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x6f, 0x6b,
995
0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73,
996
0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73,
997
0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x1f,
998
0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20,
999
0x01, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12,
1000
0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
1001
0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76,
1002
0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
1003
0x65, 0x22, 0x43, 0x0a, 0x10, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
1004
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64,
1005
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16,
1006
0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
1007
0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x13, 0x0a, 0x11, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55,
1008
0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x89, 0x06, 0x0a, 0x0b,
1009
0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x14,
1010
0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64,
1011
0x55, 0x73, 0x65, 0x72, 0x12, 0x33, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78,
1012
0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
1013
0x74, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x55, 0x73,
1014
0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x69, 0x74, 0x70,
1015
0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e,
1016
0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61,
1017
0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
1018
0x00, 0x12, 0x68, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x73,
1019
0x12, 0x2a, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69,
1020
0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53,
1021
0x48, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x67,
1022
0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74,
1023
0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79,
1024
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x0c, 0x43,
1025
0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x12, 0x2b, 0x2e, 0x67, 0x69,
1026
0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61,
1027
0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b, 0x65,
1028
0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f,
1029
0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76,
1030
0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x52, 0x65,
1031
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53,
1032
0x53, 0x48, 0x4b, 0x65, 0x79, 0x12, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65,
1033
0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47,
1034
0x65, 0x74, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
1035
0x29, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d,
1036
0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x53, 0x48, 0x4b,
1037
0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x0c,
1038
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x12, 0x2b, 0x2e, 0x67,
1039
0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74,
1040
0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b,
1041
0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x70,
1042
0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e,
1043
0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x52,
1044
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x68, 0x0a, 0x0b, 0x47, 0x65, 0x74,
1045
0x47, 0x69, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2a, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f,
1046
0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76,
1047
0x31, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x69, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71,
1048
0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78,
1049
0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
1050
0x74, 0x47, 0x69, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1051
0x65, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72,
1052
0x12, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69,
1053
0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55,
1054
0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x69, 0x74,
1055
0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c,
1056
0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73,
1057
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x6b, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x67, 0x69,
1058
0x74, 0x70, 0x6f, 0x64, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x61, 0x70, 0x69, 0x2e, 0x65,
1059
0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x5a, 0x44,
1060
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f,
1061
0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x70,
1062
0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2d, 0x61, 0x70,
1063
0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61,
1064
0x6c, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1065
}
1066
1067
var (
1068
file_gitpod_experimental_v1_user_proto_rawDescOnce sync.Once
1069
file_gitpod_experimental_v1_user_proto_rawDescData = file_gitpod_experimental_v1_user_proto_rawDesc
1070
)
1071
1072
func file_gitpod_experimental_v1_user_proto_rawDescGZIP() []byte {
1073
file_gitpod_experimental_v1_user_proto_rawDescOnce.Do(func() {
1074
file_gitpod_experimental_v1_user_proto_rawDescData = protoimpl.X.CompressGZIP(file_gitpod_experimental_v1_user_proto_rawDescData)
1075
})
1076
return file_gitpod_experimental_v1_user_proto_rawDescData
1077
}
1078
1079
var file_gitpod_experimental_v1_user_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
1080
var file_gitpod_experimental_v1_user_proto_goTypes = []interface{}{
1081
(*User)(nil), // 0: gitpod.experimental.v1.User
1082
(*SSHKey)(nil), // 1: gitpod.experimental.v1.SSHKey
1083
(*GetAuthenticatedUserRequest)(nil), // 2: gitpod.experimental.v1.GetAuthenticatedUserRequest
1084
(*GetAuthenticatedUserResponse)(nil), // 3: gitpod.experimental.v1.GetAuthenticatedUserResponse
1085
(*ListSSHKeysRequest)(nil), // 4: gitpod.experimental.v1.ListSSHKeysRequest
1086
(*ListSSHKeysResponse)(nil), // 5: gitpod.experimental.v1.ListSSHKeysResponse
1087
(*CreateSSHKeyRequest)(nil), // 6: gitpod.experimental.v1.CreateSSHKeyRequest
1088
(*CreateSSHKeyResponse)(nil), // 7: gitpod.experimental.v1.CreateSSHKeyResponse
1089
(*GetSSHKeyRequest)(nil), // 8: gitpod.experimental.v1.GetSSHKeyRequest
1090
(*GetSSHKeyResponse)(nil), // 9: gitpod.experimental.v1.GetSSHKeyResponse
1091
(*DeleteSSHKeyRequest)(nil), // 10: gitpod.experimental.v1.DeleteSSHKeyRequest
1092
(*DeleteSSHKeyResponse)(nil), // 11: gitpod.experimental.v1.DeleteSSHKeyResponse
1093
(*GetGitTokenRequest)(nil), // 12: gitpod.experimental.v1.GetGitTokenRequest
1094
(*GetGitTokenResponse)(nil), // 13: gitpod.experimental.v1.GetGitTokenResponse
1095
(*GitToken)(nil), // 14: gitpod.experimental.v1.GitToken
1096
(*BlockUserRequest)(nil), // 15: gitpod.experimental.v1.BlockUserRequest
1097
(*BlockUserResponse)(nil), // 16: gitpod.experimental.v1.BlockUserResponse
1098
(*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp
1099
}
1100
var file_gitpod_experimental_v1_user_proto_depIdxs = []int32{
1101
17, // 0: gitpod.experimental.v1.User.created_at:type_name -> google.protobuf.Timestamp
1102
17, // 1: gitpod.experimental.v1.SSHKey.created_at:type_name -> google.protobuf.Timestamp
1103
0, // 2: gitpod.experimental.v1.GetAuthenticatedUserResponse.user:type_name -> gitpod.experimental.v1.User
1104
1, // 3: gitpod.experimental.v1.ListSSHKeysResponse.keys:type_name -> gitpod.experimental.v1.SSHKey
1105
1, // 4: gitpod.experimental.v1.CreateSSHKeyResponse.key:type_name -> gitpod.experimental.v1.SSHKey
1106
1, // 5: gitpod.experimental.v1.GetSSHKeyResponse.key:type_name -> gitpod.experimental.v1.SSHKey
1107
14, // 6: gitpod.experimental.v1.GetGitTokenResponse.token:type_name -> gitpod.experimental.v1.GitToken
1108
2, // 7: gitpod.experimental.v1.UserService.GetAuthenticatedUser:input_type -> gitpod.experimental.v1.GetAuthenticatedUserRequest
1109
4, // 8: gitpod.experimental.v1.UserService.ListSSHKeys:input_type -> gitpod.experimental.v1.ListSSHKeysRequest
1110
6, // 9: gitpod.experimental.v1.UserService.CreateSSHKey:input_type -> gitpod.experimental.v1.CreateSSHKeyRequest
1111
8, // 10: gitpod.experimental.v1.UserService.GetSSHKey:input_type -> gitpod.experimental.v1.GetSSHKeyRequest
1112
10, // 11: gitpod.experimental.v1.UserService.DeleteSSHKey:input_type -> gitpod.experimental.v1.DeleteSSHKeyRequest
1113
12, // 12: gitpod.experimental.v1.UserService.GetGitToken:input_type -> gitpod.experimental.v1.GetGitTokenRequest
1114
15, // 13: gitpod.experimental.v1.UserService.BlockUser:input_type -> gitpod.experimental.v1.BlockUserRequest
1115
3, // 14: gitpod.experimental.v1.UserService.GetAuthenticatedUser:output_type -> gitpod.experimental.v1.GetAuthenticatedUserResponse
1116
5, // 15: gitpod.experimental.v1.UserService.ListSSHKeys:output_type -> gitpod.experimental.v1.ListSSHKeysResponse
1117
7, // 16: gitpod.experimental.v1.UserService.CreateSSHKey:output_type -> gitpod.experimental.v1.CreateSSHKeyResponse
1118
9, // 17: gitpod.experimental.v1.UserService.GetSSHKey:output_type -> gitpod.experimental.v1.GetSSHKeyResponse
1119
11, // 18: gitpod.experimental.v1.UserService.DeleteSSHKey:output_type -> gitpod.experimental.v1.DeleteSSHKeyResponse
1120
13, // 19: gitpod.experimental.v1.UserService.GetGitToken:output_type -> gitpod.experimental.v1.GetGitTokenResponse
1121
16, // 20: gitpod.experimental.v1.UserService.BlockUser:output_type -> gitpod.experimental.v1.BlockUserResponse
1122
14, // [14:21] is the sub-list for method output_type
1123
7, // [7:14] is the sub-list for method input_type
1124
7, // [7:7] is the sub-list for extension type_name
1125
7, // [7:7] is the sub-list for extension extendee
1126
0, // [0:7] is the sub-list for field type_name
1127
}
1128
1129
func init() { file_gitpod_experimental_v1_user_proto_init() }
1130
func file_gitpod_experimental_v1_user_proto_init() {
1131
if File_gitpod_experimental_v1_user_proto != nil {
1132
return
1133
}
1134
if !protoimpl.UnsafeEnabled {
1135
file_gitpod_experimental_v1_user_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1136
switch v := v.(*User); i {
1137
case 0:
1138
return &v.state
1139
case 1:
1140
return &v.sizeCache
1141
case 2:
1142
return &v.unknownFields
1143
default:
1144
return nil
1145
}
1146
}
1147
file_gitpod_experimental_v1_user_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1148
switch v := v.(*SSHKey); i {
1149
case 0:
1150
return &v.state
1151
case 1:
1152
return &v.sizeCache
1153
case 2:
1154
return &v.unknownFields
1155
default:
1156
return nil
1157
}
1158
}
1159
file_gitpod_experimental_v1_user_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1160
switch v := v.(*GetAuthenticatedUserRequest); i {
1161
case 0:
1162
return &v.state
1163
case 1:
1164
return &v.sizeCache
1165
case 2:
1166
return &v.unknownFields
1167
default:
1168
return nil
1169
}
1170
}
1171
file_gitpod_experimental_v1_user_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1172
switch v := v.(*GetAuthenticatedUserResponse); i {
1173
case 0:
1174
return &v.state
1175
case 1:
1176
return &v.sizeCache
1177
case 2:
1178
return &v.unknownFields
1179
default:
1180
return nil
1181
}
1182
}
1183
file_gitpod_experimental_v1_user_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1184
switch v := v.(*ListSSHKeysRequest); i {
1185
case 0:
1186
return &v.state
1187
case 1:
1188
return &v.sizeCache
1189
case 2:
1190
return &v.unknownFields
1191
default:
1192
return nil
1193
}
1194
}
1195
file_gitpod_experimental_v1_user_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1196
switch v := v.(*ListSSHKeysResponse); i {
1197
case 0:
1198
return &v.state
1199
case 1:
1200
return &v.sizeCache
1201
case 2:
1202
return &v.unknownFields
1203
default:
1204
return nil
1205
}
1206
}
1207
file_gitpod_experimental_v1_user_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1208
switch v := v.(*CreateSSHKeyRequest); i {
1209
case 0:
1210
return &v.state
1211
case 1:
1212
return &v.sizeCache
1213
case 2:
1214
return &v.unknownFields
1215
default:
1216
return nil
1217
}
1218
}
1219
file_gitpod_experimental_v1_user_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1220
switch v := v.(*CreateSSHKeyResponse); i {
1221
case 0:
1222
return &v.state
1223
case 1:
1224
return &v.sizeCache
1225
case 2:
1226
return &v.unknownFields
1227
default:
1228
return nil
1229
}
1230
}
1231
file_gitpod_experimental_v1_user_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1232
switch v := v.(*GetSSHKeyRequest); i {
1233
case 0:
1234
return &v.state
1235
case 1:
1236
return &v.sizeCache
1237
case 2:
1238
return &v.unknownFields
1239
default:
1240
return nil
1241
}
1242
}
1243
file_gitpod_experimental_v1_user_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1244
switch v := v.(*GetSSHKeyResponse); i {
1245
case 0:
1246
return &v.state
1247
case 1:
1248
return &v.sizeCache
1249
case 2:
1250
return &v.unknownFields
1251
default:
1252
return nil
1253
}
1254
}
1255
file_gitpod_experimental_v1_user_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1256
switch v := v.(*DeleteSSHKeyRequest); i {
1257
case 0:
1258
return &v.state
1259
case 1:
1260
return &v.sizeCache
1261
case 2:
1262
return &v.unknownFields
1263
default:
1264
return nil
1265
}
1266
}
1267
file_gitpod_experimental_v1_user_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1268
switch v := v.(*DeleteSSHKeyResponse); i {
1269
case 0:
1270
return &v.state
1271
case 1:
1272
return &v.sizeCache
1273
case 2:
1274
return &v.unknownFields
1275
default:
1276
return nil
1277
}
1278
}
1279
file_gitpod_experimental_v1_user_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
1280
switch v := v.(*GetGitTokenRequest); i {
1281
case 0:
1282
return &v.state
1283
case 1:
1284
return &v.sizeCache
1285
case 2:
1286
return &v.unknownFields
1287
default:
1288
return nil
1289
}
1290
}
1291
file_gitpod_experimental_v1_user_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
1292
switch v := v.(*GetGitTokenResponse); i {
1293
case 0:
1294
return &v.state
1295
case 1:
1296
return &v.sizeCache
1297
case 2:
1298
return &v.unknownFields
1299
default:
1300
return nil
1301
}
1302
}
1303
file_gitpod_experimental_v1_user_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
1304
switch v := v.(*GitToken); i {
1305
case 0:
1306
return &v.state
1307
case 1:
1308
return &v.sizeCache
1309
case 2:
1310
return &v.unknownFields
1311
default:
1312
return nil
1313
}
1314
}
1315
file_gitpod_experimental_v1_user_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
1316
switch v := v.(*BlockUserRequest); i {
1317
case 0:
1318
return &v.state
1319
case 1:
1320
return &v.sizeCache
1321
case 2:
1322
return &v.unknownFields
1323
default:
1324
return nil
1325
}
1326
}
1327
file_gitpod_experimental_v1_user_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
1328
switch v := v.(*BlockUserResponse); i {
1329
case 0:
1330
return &v.state
1331
case 1:
1332
return &v.sizeCache
1333
case 2:
1334
return &v.unknownFields
1335
default:
1336
return nil
1337
}
1338
}
1339
}
1340
type x struct{}
1341
out := protoimpl.TypeBuilder{
1342
File: protoimpl.DescBuilder{
1343
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1344
RawDescriptor: file_gitpod_experimental_v1_user_proto_rawDesc,
1345
NumEnums: 0,
1346
NumMessages: 17,
1347
NumExtensions: 0,
1348
NumServices: 1,
1349
},
1350
GoTypes: file_gitpod_experimental_v1_user_proto_goTypes,
1351
DependencyIndexes: file_gitpod_experimental_v1_user_proto_depIdxs,
1352
MessageInfos: file_gitpod_experimental_v1_user_proto_msgTypes,
1353
}.Build()
1354
File_gitpod_experimental_v1_user_proto = out.File
1355
file_gitpod_experimental_v1_user_proto_rawDesc = nil
1356
file_gitpod_experimental_v1_user_proto_goTypes = nil
1357
file_gitpod_experimental_v1_user_proto_depIdxs = nil
1358
}
1359
1360