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/tokens.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/tokens.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
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
17
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
18
reflect "reflect"
19
sync "sync"
20
)
21
22
const (
23
// Verify that this generated code is sufficiently up-to-date.
24
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
25
// Verify that runtime/protoimpl is sufficiently up-to-date.
26
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
27
)
28
29
// PersonalAccessToken represents details of an access token for personal use.
30
type PersonalAccessToken struct {
31
state protoimpl.MessageState
32
sizeCache protoimpl.SizeCache
33
unknownFields protoimpl.UnknownFields
34
35
// id is the unique identifier of this token
36
// Read only.
37
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
38
// value is the secret value of the token
39
// The value property is only populated when the PersonalAccessToken is first created, and never again.
40
// Read only.
41
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
42
// name is the name of the token for humans, set by the user.
43
// Must match regexp ^[a-zA-Z0-9-_ ]{3,63}$
44
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
45
// expiration_time is the time when the token expires
46
// Read only.
47
ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
48
// scopes are the permission scopes attached to this token.
49
// By default, no scopes are attached and therefore no access is granted to this token.
50
// Specifying '*' grants all permissions the owner of the token has.
51
Scopes []string `protobuf:"bytes,5,rep,name=scopes,proto3" json:"scopes,omitempty"`
52
// created_time is the time when the token was first created.
53
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
54
}
55
56
func (x *PersonalAccessToken) Reset() {
57
*x = PersonalAccessToken{}
58
if protoimpl.UnsafeEnabled {
59
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[0]
60
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61
ms.StoreMessageInfo(mi)
62
}
63
}
64
65
func (x *PersonalAccessToken) String() string {
66
return protoimpl.X.MessageStringOf(x)
67
}
68
69
func (*PersonalAccessToken) ProtoMessage() {}
70
71
func (x *PersonalAccessToken) ProtoReflect() protoreflect.Message {
72
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[0]
73
if protoimpl.UnsafeEnabled && x != nil {
74
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75
if ms.LoadMessageInfo() == nil {
76
ms.StoreMessageInfo(mi)
77
}
78
return ms
79
}
80
return mi.MessageOf(x)
81
}
82
83
// Deprecated: Use PersonalAccessToken.ProtoReflect.Descriptor instead.
84
func (*PersonalAccessToken) Descriptor() ([]byte, []int) {
85
return file_gitpod_experimental_v1_tokens_proto_rawDescGZIP(), []int{0}
86
}
87
88
func (x *PersonalAccessToken) GetId() string {
89
if x != nil {
90
return x.Id
91
}
92
return ""
93
}
94
95
func (x *PersonalAccessToken) GetValue() string {
96
if x != nil {
97
return x.Value
98
}
99
return ""
100
}
101
102
func (x *PersonalAccessToken) GetName() string {
103
if x != nil {
104
return x.Name
105
}
106
return ""
107
}
108
109
func (x *PersonalAccessToken) GetExpirationTime() *timestamppb.Timestamp {
110
if x != nil {
111
return x.ExpirationTime
112
}
113
return nil
114
}
115
116
func (x *PersonalAccessToken) GetScopes() []string {
117
if x != nil {
118
return x.Scopes
119
}
120
return nil
121
}
122
123
func (x *PersonalAccessToken) GetCreatedAt() *timestamppb.Timestamp {
124
if x != nil {
125
return x.CreatedAt
126
}
127
return nil
128
}
129
130
type CreatePersonalAccessTokenRequest struct {
131
state protoimpl.MessageState
132
sizeCache protoimpl.SizeCache
133
unknownFields protoimpl.UnknownFields
134
135
Token *PersonalAccessToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
136
}
137
138
func (x *CreatePersonalAccessTokenRequest) Reset() {
139
*x = CreatePersonalAccessTokenRequest{}
140
if protoimpl.UnsafeEnabled {
141
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[1]
142
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
143
ms.StoreMessageInfo(mi)
144
}
145
}
146
147
func (x *CreatePersonalAccessTokenRequest) String() string {
148
return protoimpl.X.MessageStringOf(x)
149
}
150
151
func (*CreatePersonalAccessTokenRequest) ProtoMessage() {}
152
153
func (x *CreatePersonalAccessTokenRequest) ProtoReflect() protoreflect.Message {
154
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[1]
155
if protoimpl.UnsafeEnabled && x != nil {
156
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
157
if ms.LoadMessageInfo() == nil {
158
ms.StoreMessageInfo(mi)
159
}
160
return ms
161
}
162
return mi.MessageOf(x)
163
}
164
165
// Deprecated: Use CreatePersonalAccessTokenRequest.ProtoReflect.Descriptor instead.
166
func (*CreatePersonalAccessTokenRequest) Descriptor() ([]byte, []int) {
167
return file_gitpod_experimental_v1_tokens_proto_rawDescGZIP(), []int{1}
168
}
169
170
func (x *CreatePersonalAccessTokenRequest) GetToken() *PersonalAccessToken {
171
if x != nil {
172
return x.Token
173
}
174
return nil
175
}
176
177
type CreatePersonalAccessTokenResponse struct {
178
state protoimpl.MessageState
179
sizeCache protoimpl.SizeCache
180
unknownFields protoimpl.UnknownFields
181
182
Token *PersonalAccessToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
183
}
184
185
func (x *CreatePersonalAccessTokenResponse) Reset() {
186
*x = CreatePersonalAccessTokenResponse{}
187
if protoimpl.UnsafeEnabled {
188
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[2]
189
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
190
ms.StoreMessageInfo(mi)
191
}
192
}
193
194
func (x *CreatePersonalAccessTokenResponse) String() string {
195
return protoimpl.X.MessageStringOf(x)
196
}
197
198
func (*CreatePersonalAccessTokenResponse) ProtoMessage() {}
199
200
func (x *CreatePersonalAccessTokenResponse) ProtoReflect() protoreflect.Message {
201
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[2]
202
if protoimpl.UnsafeEnabled && x != nil {
203
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
204
if ms.LoadMessageInfo() == nil {
205
ms.StoreMessageInfo(mi)
206
}
207
return ms
208
}
209
return mi.MessageOf(x)
210
}
211
212
// Deprecated: Use CreatePersonalAccessTokenResponse.ProtoReflect.Descriptor instead.
213
func (*CreatePersonalAccessTokenResponse) Descriptor() ([]byte, []int) {
214
return file_gitpod_experimental_v1_tokens_proto_rawDescGZIP(), []int{2}
215
}
216
217
func (x *CreatePersonalAccessTokenResponse) GetToken() *PersonalAccessToken {
218
if x != nil {
219
return x.Token
220
}
221
return nil
222
}
223
224
type GetPersonalAccessTokenRequest struct {
225
state protoimpl.MessageState
226
sizeCache protoimpl.SizeCache
227
unknownFields protoimpl.UnknownFields
228
229
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
230
}
231
232
func (x *GetPersonalAccessTokenRequest) Reset() {
233
*x = GetPersonalAccessTokenRequest{}
234
if protoimpl.UnsafeEnabled {
235
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[3]
236
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
237
ms.StoreMessageInfo(mi)
238
}
239
}
240
241
func (x *GetPersonalAccessTokenRequest) String() string {
242
return protoimpl.X.MessageStringOf(x)
243
}
244
245
func (*GetPersonalAccessTokenRequest) ProtoMessage() {}
246
247
func (x *GetPersonalAccessTokenRequest) ProtoReflect() protoreflect.Message {
248
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[3]
249
if protoimpl.UnsafeEnabled && x != nil {
250
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
251
if ms.LoadMessageInfo() == nil {
252
ms.StoreMessageInfo(mi)
253
}
254
return ms
255
}
256
return mi.MessageOf(x)
257
}
258
259
// Deprecated: Use GetPersonalAccessTokenRequest.ProtoReflect.Descriptor instead.
260
func (*GetPersonalAccessTokenRequest) Descriptor() ([]byte, []int) {
261
return file_gitpod_experimental_v1_tokens_proto_rawDescGZIP(), []int{3}
262
}
263
264
func (x *GetPersonalAccessTokenRequest) GetId() string {
265
if x != nil {
266
return x.Id
267
}
268
return ""
269
}
270
271
type GetPersonalAccessTokenResponse struct {
272
state protoimpl.MessageState
273
sizeCache protoimpl.SizeCache
274
unknownFields protoimpl.UnknownFields
275
276
Token *PersonalAccessToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
277
}
278
279
func (x *GetPersonalAccessTokenResponse) Reset() {
280
*x = GetPersonalAccessTokenResponse{}
281
if protoimpl.UnsafeEnabled {
282
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[4]
283
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
284
ms.StoreMessageInfo(mi)
285
}
286
}
287
288
func (x *GetPersonalAccessTokenResponse) String() string {
289
return protoimpl.X.MessageStringOf(x)
290
}
291
292
func (*GetPersonalAccessTokenResponse) ProtoMessage() {}
293
294
func (x *GetPersonalAccessTokenResponse) ProtoReflect() protoreflect.Message {
295
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[4]
296
if protoimpl.UnsafeEnabled && x != nil {
297
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
298
if ms.LoadMessageInfo() == nil {
299
ms.StoreMessageInfo(mi)
300
}
301
return ms
302
}
303
return mi.MessageOf(x)
304
}
305
306
// Deprecated: Use GetPersonalAccessTokenResponse.ProtoReflect.Descriptor instead.
307
func (*GetPersonalAccessTokenResponse) Descriptor() ([]byte, []int) {
308
return file_gitpod_experimental_v1_tokens_proto_rawDescGZIP(), []int{4}
309
}
310
311
func (x *GetPersonalAccessTokenResponse) GetToken() *PersonalAccessToken {
312
if x != nil {
313
return x.Token
314
}
315
return nil
316
}
317
318
type ListPersonalAccessTokensRequest struct {
319
state protoimpl.MessageState
320
sizeCache protoimpl.SizeCache
321
unknownFields protoimpl.UnknownFields
322
323
// Page information
324
Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
325
}
326
327
func (x *ListPersonalAccessTokensRequest) Reset() {
328
*x = ListPersonalAccessTokensRequest{}
329
if protoimpl.UnsafeEnabled {
330
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[5]
331
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
332
ms.StoreMessageInfo(mi)
333
}
334
}
335
336
func (x *ListPersonalAccessTokensRequest) String() string {
337
return protoimpl.X.MessageStringOf(x)
338
}
339
340
func (*ListPersonalAccessTokensRequest) ProtoMessage() {}
341
342
func (x *ListPersonalAccessTokensRequest) ProtoReflect() protoreflect.Message {
343
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[5]
344
if protoimpl.UnsafeEnabled && x != nil {
345
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
346
if ms.LoadMessageInfo() == nil {
347
ms.StoreMessageInfo(mi)
348
}
349
return ms
350
}
351
return mi.MessageOf(x)
352
}
353
354
// Deprecated: Use ListPersonalAccessTokensRequest.ProtoReflect.Descriptor instead.
355
func (*ListPersonalAccessTokensRequest) Descriptor() ([]byte, []int) {
356
return file_gitpod_experimental_v1_tokens_proto_rawDescGZIP(), []int{5}
357
}
358
359
func (x *ListPersonalAccessTokensRequest) GetPagination() *Pagination {
360
if x != nil {
361
return x.Pagination
362
}
363
return nil
364
}
365
366
type ListPersonalAccessTokensResponse struct {
367
state protoimpl.MessageState
368
sizeCache protoimpl.SizeCache
369
unknownFields protoimpl.UnknownFields
370
371
Tokens []*PersonalAccessToken `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
372
TotalResults int64 `protobuf:"varint,2,opt,name=total_results,json=totalResults,proto3" json:"total_results,omitempty"`
373
}
374
375
func (x *ListPersonalAccessTokensResponse) Reset() {
376
*x = ListPersonalAccessTokensResponse{}
377
if protoimpl.UnsafeEnabled {
378
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[6]
379
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
380
ms.StoreMessageInfo(mi)
381
}
382
}
383
384
func (x *ListPersonalAccessTokensResponse) String() string {
385
return protoimpl.X.MessageStringOf(x)
386
}
387
388
func (*ListPersonalAccessTokensResponse) ProtoMessage() {}
389
390
func (x *ListPersonalAccessTokensResponse) ProtoReflect() protoreflect.Message {
391
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[6]
392
if protoimpl.UnsafeEnabled && x != nil {
393
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
394
if ms.LoadMessageInfo() == nil {
395
ms.StoreMessageInfo(mi)
396
}
397
return ms
398
}
399
return mi.MessageOf(x)
400
}
401
402
// Deprecated: Use ListPersonalAccessTokensResponse.ProtoReflect.Descriptor instead.
403
func (*ListPersonalAccessTokensResponse) Descriptor() ([]byte, []int) {
404
return file_gitpod_experimental_v1_tokens_proto_rawDescGZIP(), []int{6}
405
}
406
407
func (x *ListPersonalAccessTokensResponse) GetTokens() []*PersonalAccessToken {
408
if x != nil {
409
return x.Tokens
410
}
411
return nil
412
}
413
414
func (x *ListPersonalAccessTokensResponse) GetTotalResults() int64 {
415
if x != nil {
416
return x.TotalResults
417
}
418
return 0
419
}
420
421
type RegeneratePersonalAccessTokenRequest struct {
422
state protoimpl.MessageState
423
sizeCache protoimpl.SizeCache
424
unknownFields protoimpl.UnknownFields
425
426
// id is the ID of the PersonalAccessToken
427
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
428
// expiration time is the time when the new token should expire
429
ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
430
}
431
432
func (x *RegeneratePersonalAccessTokenRequest) Reset() {
433
*x = RegeneratePersonalAccessTokenRequest{}
434
if protoimpl.UnsafeEnabled {
435
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[7]
436
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
437
ms.StoreMessageInfo(mi)
438
}
439
}
440
441
func (x *RegeneratePersonalAccessTokenRequest) String() string {
442
return protoimpl.X.MessageStringOf(x)
443
}
444
445
func (*RegeneratePersonalAccessTokenRequest) ProtoMessage() {}
446
447
func (x *RegeneratePersonalAccessTokenRequest) ProtoReflect() protoreflect.Message {
448
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[7]
449
if protoimpl.UnsafeEnabled && x != nil {
450
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
451
if ms.LoadMessageInfo() == nil {
452
ms.StoreMessageInfo(mi)
453
}
454
return ms
455
}
456
return mi.MessageOf(x)
457
}
458
459
// Deprecated: Use RegeneratePersonalAccessTokenRequest.ProtoReflect.Descriptor instead.
460
func (*RegeneratePersonalAccessTokenRequest) Descriptor() ([]byte, []int) {
461
return file_gitpod_experimental_v1_tokens_proto_rawDescGZIP(), []int{7}
462
}
463
464
func (x *RegeneratePersonalAccessTokenRequest) GetId() string {
465
if x != nil {
466
return x.Id
467
}
468
return ""
469
}
470
471
func (x *RegeneratePersonalAccessTokenRequest) GetExpirationTime() *timestamppb.Timestamp {
472
if x != nil {
473
return x.ExpirationTime
474
}
475
return nil
476
}
477
478
type RegeneratePersonalAccessTokenResponse struct {
479
state protoimpl.MessageState
480
sizeCache protoimpl.SizeCache
481
unknownFields protoimpl.UnknownFields
482
483
Token *PersonalAccessToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
484
}
485
486
func (x *RegeneratePersonalAccessTokenResponse) Reset() {
487
*x = RegeneratePersonalAccessTokenResponse{}
488
if protoimpl.UnsafeEnabled {
489
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[8]
490
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
491
ms.StoreMessageInfo(mi)
492
}
493
}
494
495
func (x *RegeneratePersonalAccessTokenResponse) String() string {
496
return protoimpl.X.MessageStringOf(x)
497
}
498
499
func (*RegeneratePersonalAccessTokenResponse) ProtoMessage() {}
500
501
func (x *RegeneratePersonalAccessTokenResponse) ProtoReflect() protoreflect.Message {
502
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[8]
503
if protoimpl.UnsafeEnabled && x != nil {
504
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
505
if ms.LoadMessageInfo() == nil {
506
ms.StoreMessageInfo(mi)
507
}
508
return ms
509
}
510
return mi.MessageOf(x)
511
}
512
513
// Deprecated: Use RegeneratePersonalAccessTokenResponse.ProtoReflect.Descriptor instead.
514
func (*RegeneratePersonalAccessTokenResponse) Descriptor() ([]byte, []int) {
515
return file_gitpod_experimental_v1_tokens_proto_rawDescGZIP(), []int{8}
516
}
517
518
func (x *RegeneratePersonalAccessTokenResponse) GetToken() *PersonalAccessToken {
519
if x != nil {
520
return x.Token
521
}
522
return nil
523
}
524
525
type UpdatePersonalAccessTokenRequest struct {
526
state protoimpl.MessageState
527
sizeCache protoimpl.SizeCache
528
unknownFields protoimpl.UnknownFields
529
530
Token *PersonalAccessToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
531
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
532
}
533
534
func (x *UpdatePersonalAccessTokenRequest) Reset() {
535
*x = UpdatePersonalAccessTokenRequest{}
536
if protoimpl.UnsafeEnabled {
537
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[9]
538
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
539
ms.StoreMessageInfo(mi)
540
}
541
}
542
543
func (x *UpdatePersonalAccessTokenRequest) String() string {
544
return protoimpl.X.MessageStringOf(x)
545
}
546
547
func (*UpdatePersonalAccessTokenRequest) ProtoMessage() {}
548
549
func (x *UpdatePersonalAccessTokenRequest) ProtoReflect() protoreflect.Message {
550
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[9]
551
if protoimpl.UnsafeEnabled && x != nil {
552
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
553
if ms.LoadMessageInfo() == nil {
554
ms.StoreMessageInfo(mi)
555
}
556
return ms
557
}
558
return mi.MessageOf(x)
559
}
560
561
// Deprecated: Use UpdatePersonalAccessTokenRequest.ProtoReflect.Descriptor instead.
562
func (*UpdatePersonalAccessTokenRequest) Descriptor() ([]byte, []int) {
563
return file_gitpod_experimental_v1_tokens_proto_rawDescGZIP(), []int{9}
564
}
565
566
func (x *UpdatePersonalAccessTokenRequest) GetToken() *PersonalAccessToken {
567
if x != nil {
568
return x.Token
569
}
570
return nil
571
}
572
573
func (x *UpdatePersonalAccessTokenRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
574
if x != nil {
575
return x.UpdateMask
576
}
577
return nil
578
}
579
580
type UpdatePersonalAccessTokenResponse struct {
581
state protoimpl.MessageState
582
sizeCache protoimpl.SizeCache
583
unknownFields protoimpl.UnknownFields
584
585
Token *PersonalAccessToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
586
}
587
588
func (x *UpdatePersonalAccessTokenResponse) Reset() {
589
*x = UpdatePersonalAccessTokenResponse{}
590
if protoimpl.UnsafeEnabled {
591
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[10]
592
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
593
ms.StoreMessageInfo(mi)
594
}
595
}
596
597
func (x *UpdatePersonalAccessTokenResponse) String() string {
598
return protoimpl.X.MessageStringOf(x)
599
}
600
601
func (*UpdatePersonalAccessTokenResponse) ProtoMessage() {}
602
603
func (x *UpdatePersonalAccessTokenResponse) ProtoReflect() protoreflect.Message {
604
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[10]
605
if protoimpl.UnsafeEnabled && x != nil {
606
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
607
if ms.LoadMessageInfo() == nil {
608
ms.StoreMessageInfo(mi)
609
}
610
return ms
611
}
612
return mi.MessageOf(x)
613
}
614
615
// Deprecated: Use UpdatePersonalAccessTokenResponse.ProtoReflect.Descriptor instead.
616
func (*UpdatePersonalAccessTokenResponse) Descriptor() ([]byte, []int) {
617
return file_gitpod_experimental_v1_tokens_proto_rawDescGZIP(), []int{10}
618
}
619
620
func (x *UpdatePersonalAccessTokenResponse) GetToken() *PersonalAccessToken {
621
if x != nil {
622
return x.Token
623
}
624
return nil
625
}
626
627
type DeletePersonalAccessTokenRequest struct {
628
state protoimpl.MessageState
629
sizeCache protoimpl.SizeCache
630
unknownFields protoimpl.UnknownFields
631
632
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
633
}
634
635
func (x *DeletePersonalAccessTokenRequest) Reset() {
636
*x = DeletePersonalAccessTokenRequest{}
637
if protoimpl.UnsafeEnabled {
638
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[11]
639
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
640
ms.StoreMessageInfo(mi)
641
}
642
}
643
644
func (x *DeletePersonalAccessTokenRequest) String() string {
645
return protoimpl.X.MessageStringOf(x)
646
}
647
648
func (*DeletePersonalAccessTokenRequest) ProtoMessage() {}
649
650
func (x *DeletePersonalAccessTokenRequest) ProtoReflect() protoreflect.Message {
651
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[11]
652
if protoimpl.UnsafeEnabled && x != nil {
653
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
654
if ms.LoadMessageInfo() == nil {
655
ms.StoreMessageInfo(mi)
656
}
657
return ms
658
}
659
return mi.MessageOf(x)
660
}
661
662
// Deprecated: Use DeletePersonalAccessTokenRequest.ProtoReflect.Descriptor instead.
663
func (*DeletePersonalAccessTokenRequest) Descriptor() ([]byte, []int) {
664
return file_gitpod_experimental_v1_tokens_proto_rawDescGZIP(), []int{11}
665
}
666
667
func (x *DeletePersonalAccessTokenRequest) GetId() string {
668
if x != nil {
669
return x.Id
670
}
671
return ""
672
}
673
674
type DeletePersonalAccessTokenResponse struct {
675
state protoimpl.MessageState
676
sizeCache protoimpl.SizeCache
677
unknownFields protoimpl.UnknownFields
678
}
679
680
func (x *DeletePersonalAccessTokenResponse) Reset() {
681
*x = DeletePersonalAccessTokenResponse{}
682
if protoimpl.UnsafeEnabled {
683
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[12]
684
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
685
ms.StoreMessageInfo(mi)
686
}
687
}
688
689
func (x *DeletePersonalAccessTokenResponse) String() string {
690
return protoimpl.X.MessageStringOf(x)
691
}
692
693
func (*DeletePersonalAccessTokenResponse) ProtoMessage() {}
694
695
func (x *DeletePersonalAccessTokenResponse) ProtoReflect() protoreflect.Message {
696
mi := &file_gitpod_experimental_v1_tokens_proto_msgTypes[12]
697
if protoimpl.UnsafeEnabled && x != nil {
698
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
699
if ms.LoadMessageInfo() == nil {
700
ms.StoreMessageInfo(mi)
701
}
702
return ms
703
}
704
return mi.MessageOf(x)
705
}
706
707
// Deprecated: Use DeletePersonalAccessTokenResponse.ProtoReflect.Descriptor instead.
708
func (*DeletePersonalAccessTokenResponse) Descriptor() ([]byte, []int) {
709
return file_gitpod_experimental_v1_tokens_proto_rawDescGZIP(), []int{12}
710
}
711
712
var File_gitpod_experimental_v1_tokens_proto protoreflect.FileDescriptor
713
714
var file_gitpod_experimental_v1_tokens_proto_rawDesc = []byte{
715
0x0a, 0x23, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d,
716
0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x2e,
717
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78,
718
0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x1a, 0x27, 0x67,
719
0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74,
720
0x61, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
721
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
722
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61,
723
0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
724
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
725
0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe7, 0x01, 0x0a, 0x13, 0x50, 0x65,
726
0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65,
727
0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
728
0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
729
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
730
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x65,
731
0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04,
732
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
733
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
734
0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65,
735
0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09,
736
0x52, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61,
737
0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
738
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
739
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
740
0x64, 0x41, 0x74, 0x22, 0x65, 0x0a, 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x65, 0x72,
741
0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
742
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
743
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e,
744
0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e,
745
0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f,
746
0x6b, 0x65, 0x6e, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x66, 0x0a, 0x21, 0x43, 0x72,
747
0x65, 0x61, 0x74, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65,
748
0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
749
0x41, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b,
750
0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65,
751
0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c,
752
0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x05, 0x74, 0x6f, 0x6b,
753
0x65, 0x6e, 0x22, 0x2f, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61,
754
0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75,
755
0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
756
0x02, 0x69, 0x64, 0x22, 0x63, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e,
757
0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73,
758
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01,
759
0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78,
760
0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65,
761
0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65,
762
0x6e, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x65, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74,
763
0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f,
764
0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x0a, 0x70,
765
0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
766
0x22, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d,
767
0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
768
0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22,
769
0x8c, 0x01, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c,
770
0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70,
771
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x01,
772
0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78,
773
0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65,
774
0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65,
775
0x6e, 0x52, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x6f, 0x74,
776
0x61, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
777
0x52, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x7b,
778
0x0a, 0x24, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x50, 0x65, 0x72, 0x73,
779
0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52,
780
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
781
0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x43, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61,
782
0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
783
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
784
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x65, 0x78, 0x70,
785
0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x6a, 0x0a, 0x25, 0x52,
786
0x65, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61,
787
0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70,
788
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20,
789
0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70,
790
0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72,
791
0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
792
0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xa2, 0x01, 0x0a, 0x20, 0x55, 0x70, 0x64, 0x61,
793
0x74, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
794
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x05,
795
0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x69,
796
0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61,
797
0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63,
798
0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12,
799
0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02,
800
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
801
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b,
802
0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x66, 0x0a, 0x21,
803
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63,
804
0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
805
0x65, 0x12, 0x41, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
806
0x32, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69,
807
0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e,
808
0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x05, 0x74,
809
0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x32, 0x0a, 0x20, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x65,
810
0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65,
811
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
812
0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x23, 0x0a, 0x21, 0x44, 0x65, 0x6c, 0x65,
813
0x74, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
814
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x8d, 0x07,
815
0x0a, 0x0d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
816
0x92, 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e,
817
0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x38, 0x2e,
818
0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e,
819
0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x65, 0x72,
820
0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
821
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64,
822
0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31,
823
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41,
824
0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
825
0x73, 0x65, 0x22, 0x00, 0x12, 0x89, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x73,
826
0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12,
827
0x35, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d,
828
0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x73,
829
0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52,
830
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e,
831
0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e,
832
0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73,
833
0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
834
0x12, 0x8f, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61,
835
0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x37, 0x2e,
836
0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e,
837
0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x65, 0x72, 0x73, 0x6f,
838
0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52,
839
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e,
840
0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e,
841
0x4c, 0x69, 0x73, 0x74, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65,
842
0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
843
0x22, 0x00, 0x12, 0x9e, 0x01, 0x0a, 0x1d, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
844
0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54,
845
0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x3c, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78,
846
0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65,
847
0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c,
848
0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
849
0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65,
850
0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x65,
851
0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63,
852
0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
853
0x65, 0x22, 0x00, 0x12, 0x92, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x65,
854
0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65,
855
0x6e, 0x12, 0x38, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72,
856
0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
857
0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54,
858
0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x67, 0x69,
859
0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61,
860
0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f,
861
0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65,
862
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x92, 0x01, 0x0a, 0x19, 0x44, 0x65, 0x6c,
863
0x65, 0x74, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73,
864
0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x38, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e,
865
0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e,
866
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63,
867
0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
868
0x1a, 0x39, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69,
869
0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
870
0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f,
871
0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x6b, 0x0a,
872
0x23, 0x69, 0x6f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69,
873
0x63, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61,
874
0x6c, 0x2e, 0x76, 0x31, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
875
0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f,
876
0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x70, 0x75, 0x62,
877
0x6c, 0x69, 0x63, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x78, 0x70, 0x65, 0x72,
878
0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
879
0x6f, 0x33,
880
}
881
882
var (
883
file_gitpod_experimental_v1_tokens_proto_rawDescOnce sync.Once
884
file_gitpod_experimental_v1_tokens_proto_rawDescData = file_gitpod_experimental_v1_tokens_proto_rawDesc
885
)
886
887
func file_gitpod_experimental_v1_tokens_proto_rawDescGZIP() []byte {
888
file_gitpod_experimental_v1_tokens_proto_rawDescOnce.Do(func() {
889
file_gitpod_experimental_v1_tokens_proto_rawDescData = protoimpl.X.CompressGZIP(file_gitpod_experimental_v1_tokens_proto_rawDescData)
890
})
891
return file_gitpod_experimental_v1_tokens_proto_rawDescData
892
}
893
894
var file_gitpod_experimental_v1_tokens_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
895
var file_gitpod_experimental_v1_tokens_proto_goTypes = []interface{}{
896
(*PersonalAccessToken)(nil), // 0: gitpod.experimental.v1.PersonalAccessToken
897
(*CreatePersonalAccessTokenRequest)(nil), // 1: gitpod.experimental.v1.CreatePersonalAccessTokenRequest
898
(*CreatePersonalAccessTokenResponse)(nil), // 2: gitpod.experimental.v1.CreatePersonalAccessTokenResponse
899
(*GetPersonalAccessTokenRequest)(nil), // 3: gitpod.experimental.v1.GetPersonalAccessTokenRequest
900
(*GetPersonalAccessTokenResponse)(nil), // 4: gitpod.experimental.v1.GetPersonalAccessTokenResponse
901
(*ListPersonalAccessTokensRequest)(nil), // 5: gitpod.experimental.v1.ListPersonalAccessTokensRequest
902
(*ListPersonalAccessTokensResponse)(nil), // 6: gitpod.experimental.v1.ListPersonalAccessTokensResponse
903
(*RegeneratePersonalAccessTokenRequest)(nil), // 7: gitpod.experimental.v1.RegeneratePersonalAccessTokenRequest
904
(*RegeneratePersonalAccessTokenResponse)(nil), // 8: gitpod.experimental.v1.RegeneratePersonalAccessTokenResponse
905
(*UpdatePersonalAccessTokenRequest)(nil), // 9: gitpod.experimental.v1.UpdatePersonalAccessTokenRequest
906
(*UpdatePersonalAccessTokenResponse)(nil), // 10: gitpod.experimental.v1.UpdatePersonalAccessTokenResponse
907
(*DeletePersonalAccessTokenRequest)(nil), // 11: gitpod.experimental.v1.DeletePersonalAccessTokenRequest
908
(*DeletePersonalAccessTokenResponse)(nil), // 12: gitpod.experimental.v1.DeletePersonalAccessTokenResponse
909
(*timestamppb.Timestamp)(nil), // 13: google.protobuf.Timestamp
910
(*Pagination)(nil), // 14: gitpod.experimental.v1.Pagination
911
(*fieldmaskpb.FieldMask)(nil), // 15: google.protobuf.FieldMask
912
}
913
var file_gitpod_experimental_v1_tokens_proto_depIdxs = []int32{
914
13, // 0: gitpod.experimental.v1.PersonalAccessToken.expiration_time:type_name -> google.protobuf.Timestamp
915
13, // 1: gitpod.experimental.v1.PersonalAccessToken.created_at:type_name -> google.protobuf.Timestamp
916
0, // 2: gitpod.experimental.v1.CreatePersonalAccessTokenRequest.token:type_name -> gitpod.experimental.v1.PersonalAccessToken
917
0, // 3: gitpod.experimental.v1.CreatePersonalAccessTokenResponse.token:type_name -> gitpod.experimental.v1.PersonalAccessToken
918
0, // 4: gitpod.experimental.v1.GetPersonalAccessTokenResponse.token:type_name -> gitpod.experimental.v1.PersonalAccessToken
919
14, // 5: gitpod.experimental.v1.ListPersonalAccessTokensRequest.pagination:type_name -> gitpod.experimental.v1.Pagination
920
0, // 6: gitpod.experimental.v1.ListPersonalAccessTokensResponse.tokens:type_name -> gitpod.experimental.v1.PersonalAccessToken
921
13, // 7: gitpod.experimental.v1.RegeneratePersonalAccessTokenRequest.expiration_time:type_name -> google.protobuf.Timestamp
922
0, // 8: gitpod.experimental.v1.RegeneratePersonalAccessTokenResponse.token:type_name -> gitpod.experimental.v1.PersonalAccessToken
923
0, // 9: gitpod.experimental.v1.UpdatePersonalAccessTokenRequest.token:type_name -> gitpod.experimental.v1.PersonalAccessToken
924
15, // 10: gitpod.experimental.v1.UpdatePersonalAccessTokenRequest.update_mask:type_name -> google.protobuf.FieldMask
925
0, // 11: gitpod.experimental.v1.UpdatePersonalAccessTokenResponse.token:type_name -> gitpod.experimental.v1.PersonalAccessToken
926
1, // 12: gitpod.experimental.v1.TokensService.CreatePersonalAccessToken:input_type -> gitpod.experimental.v1.CreatePersonalAccessTokenRequest
927
3, // 13: gitpod.experimental.v1.TokensService.GetPersonalAccessToken:input_type -> gitpod.experimental.v1.GetPersonalAccessTokenRequest
928
5, // 14: gitpod.experimental.v1.TokensService.ListPersonalAccessTokens:input_type -> gitpod.experimental.v1.ListPersonalAccessTokensRequest
929
7, // 15: gitpod.experimental.v1.TokensService.RegeneratePersonalAccessToken:input_type -> gitpod.experimental.v1.RegeneratePersonalAccessTokenRequest
930
9, // 16: gitpod.experimental.v1.TokensService.UpdatePersonalAccessToken:input_type -> gitpod.experimental.v1.UpdatePersonalAccessTokenRequest
931
11, // 17: gitpod.experimental.v1.TokensService.DeletePersonalAccessToken:input_type -> gitpod.experimental.v1.DeletePersonalAccessTokenRequest
932
2, // 18: gitpod.experimental.v1.TokensService.CreatePersonalAccessToken:output_type -> gitpod.experimental.v1.CreatePersonalAccessTokenResponse
933
4, // 19: gitpod.experimental.v1.TokensService.GetPersonalAccessToken:output_type -> gitpod.experimental.v1.GetPersonalAccessTokenResponse
934
6, // 20: gitpod.experimental.v1.TokensService.ListPersonalAccessTokens:output_type -> gitpod.experimental.v1.ListPersonalAccessTokensResponse
935
8, // 21: gitpod.experimental.v1.TokensService.RegeneratePersonalAccessToken:output_type -> gitpod.experimental.v1.RegeneratePersonalAccessTokenResponse
936
10, // 22: gitpod.experimental.v1.TokensService.UpdatePersonalAccessToken:output_type -> gitpod.experimental.v1.UpdatePersonalAccessTokenResponse
937
12, // 23: gitpod.experimental.v1.TokensService.DeletePersonalAccessToken:output_type -> gitpod.experimental.v1.DeletePersonalAccessTokenResponse
938
18, // [18:24] is the sub-list for method output_type
939
12, // [12:18] is the sub-list for method input_type
940
12, // [12:12] is the sub-list for extension type_name
941
12, // [12:12] is the sub-list for extension extendee
942
0, // [0:12] is the sub-list for field type_name
943
}
944
945
func init() { file_gitpod_experimental_v1_tokens_proto_init() }
946
func file_gitpod_experimental_v1_tokens_proto_init() {
947
if File_gitpod_experimental_v1_tokens_proto != nil {
948
return
949
}
950
file_gitpod_experimental_v1_pagination_proto_init()
951
if !protoimpl.UnsafeEnabled {
952
file_gitpod_experimental_v1_tokens_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
953
switch v := v.(*PersonalAccessToken); i {
954
case 0:
955
return &v.state
956
case 1:
957
return &v.sizeCache
958
case 2:
959
return &v.unknownFields
960
default:
961
return nil
962
}
963
}
964
file_gitpod_experimental_v1_tokens_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
965
switch v := v.(*CreatePersonalAccessTokenRequest); i {
966
case 0:
967
return &v.state
968
case 1:
969
return &v.sizeCache
970
case 2:
971
return &v.unknownFields
972
default:
973
return nil
974
}
975
}
976
file_gitpod_experimental_v1_tokens_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
977
switch v := v.(*CreatePersonalAccessTokenResponse); i {
978
case 0:
979
return &v.state
980
case 1:
981
return &v.sizeCache
982
case 2:
983
return &v.unknownFields
984
default:
985
return nil
986
}
987
}
988
file_gitpod_experimental_v1_tokens_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
989
switch v := v.(*GetPersonalAccessTokenRequest); i {
990
case 0:
991
return &v.state
992
case 1:
993
return &v.sizeCache
994
case 2:
995
return &v.unknownFields
996
default:
997
return nil
998
}
999
}
1000
file_gitpod_experimental_v1_tokens_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1001
switch v := v.(*GetPersonalAccessTokenResponse); i {
1002
case 0:
1003
return &v.state
1004
case 1:
1005
return &v.sizeCache
1006
case 2:
1007
return &v.unknownFields
1008
default:
1009
return nil
1010
}
1011
}
1012
file_gitpod_experimental_v1_tokens_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1013
switch v := v.(*ListPersonalAccessTokensRequest); i {
1014
case 0:
1015
return &v.state
1016
case 1:
1017
return &v.sizeCache
1018
case 2:
1019
return &v.unknownFields
1020
default:
1021
return nil
1022
}
1023
}
1024
file_gitpod_experimental_v1_tokens_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1025
switch v := v.(*ListPersonalAccessTokensResponse); i {
1026
case 0:
1027
return &v.state
1028
case 1:
1029
return &v.sizeCache
1030
case 2:
1031
return &v.unknownFields
1032
default:
1033
return nil
1034
}
1035
}
1036
file_gitpod_experimental_v1_tokens_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1037
switch v := v.(*RegeneratePersonalAccessTokenRequest); i {
1038
case 0:
1039
return &v.state
1040
case 1:
1041
return &v.sizeCache
1042
case 2:
1043
return &v.unknownFields
1044
default:
1045
return nil
1046
}
1047
}
1048
file_gitpod_experimental_v1_tokens_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1049
switch v := v.(*RegeneratePersonalAccessTokenResponse); i {
1050
case 0:
1051
return &v.state
1052
case 1:
1053
return &v.sizeCache
1054
case 2:
1055
return &v.unknownFields
1056
default:
1057
return nil
1058
}
1059
}
1060
file_gitpod_experimental_v1_tokens_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1061
switch v := v.(*UpdatePersonalAccessTokenRequest); i {
1062
case 0:
1063
return &v.state
1064
case 1:
1065
return &v.sizeCache
1066
case 2:
1067
return &v.unknownFields
1068
default:
1069
return nil
1070
}
1071
}
1072
file_gitpod_experimental_v1_tokens_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1073
switch v := v.(*UpdatePersonalAccessTokenResponse); i {
1074
case 0:
1075
return &v.state
1076
case 1:
1077
return &v.sizeCache
1078
case 2:
1079
return &v.unknownFields
1080
default:
1081
return nil
1082
}
1083
}
1084
file_gitpod_experimental_v1_tokens_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1085
switch v := v.(*DeletePersonalAccessTokenRequest); i {
1086
case 0:
1087
return &v.state
1088
case 1:
1089
return &v.sizeCache
1090
case 2:
1091
return &v.unknownFields
1092
default:
1093
return nil
1094
}
1095
}
1096
file_gitpod_experimental_v1_tokens_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
1097
switch v := v.(*DeletePersonalAccessTokenResponse); i {
1098
case 0:
1099
return &v.state
1100
case 1:
1101
return &v.sizeCache
1102
case 2:
1103
return &v.unknownFields
1104
default:
1105
return nil
1106
}
1107
}
1108
}
1109
type x struct{}
1110
out := protoimpl.TypeBuilder{
1111
File: protoimpl.DescBuilder{
1112
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1113
RawDescriptor: file_gitpod_experimental_v1_tokens_proto_rawDesc,
1114
NumEnums: 0,
1115
NumMessages: 13,
1116
NumExtensions: 0,
1117
NumServices: 1,
1118
},
1119
GoTypes: file_gitpod_experimental_v1_tokens_proto_goTypes,
1120
DependencyIndexes: file_gitpod_experimental_v1_tokens_proto_depIdxs,
1121
MessageInfos: file_gitpod_experimental_v1_tokens_proto_msgTypes,
1122
}.Build()
1123
File_gitpod_experimental_v1_tokens_proto = out.File
1124
file_gitpod_experimental_v1_tokens_proto_rawDesc = nil
1125
file_gitpod_experimental_v1_tokens_proto_goTypes = nil
1126
file_gitpod_experimental_v1_tokens_proto_depIdxs = nil
1127
}
1128
1129