Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/public-api/go/v1/scm.pb.go
2500 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/v1/scm.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 SearchSCMTokensRequest struct {
29
state protoimpl.MessageState
30
sizeCache protoimpl.SizeCache
31
unknownFields protoimpl.UnknownFields
32
33
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
34
}
35
36
func (x *SearchSCMTokensRequest) Reset() {
37
*x = SearchSCMTokensRequest{}
38
if protoimpl.UnsafeEnabled {
39
mi := &file_gitpod_v1_scm_proto_msgTypes[0]
40
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
41
ms.StoreMessageInfo(mi)
42
}
43
}
44
45
func (x *SearchSCMTokensRequest) String() string {
46
return protoimpl.X.MessageStringOf(x)
47
}
48
49
func (*SearchSCMTokensRequest) ProtoMessage() {}
50
51
func (x *SearchSCMTokensRequest) ProtoReflect() protoreflect.Message {
52
mi := &file_gitpod_v1_scm_proto_msgTypes[0]
53
if protoimpl.UnsafeEnabled && x != nil {
54
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55
if ms.LoadMessageInfo() == nil {
56
ms.StoreMessageInfo(mi)
57
}
58
return ms
59
}
60
return mi.MessageOf(x)
61
}
62
63
// Deprecated: Use SearchSCMTokensRequest.ProtoReflect.Descriptor instead.
64
func (*SearchSCMTokensRequest) Descriptor() ([]byte, []int) {
65
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{0}
66
}
67
68
func (x *SearchSCMTokensRequest) GetHost() string {
69
if x != nil {
70
return x.Host
71
}
72
return ""
73
}
74
75
type SearchSCMTokensResponse struct {
76
state protoimpl.MessageState
77
sizeCache protoimpl.SizeCache
78
unknownFields protoimpl.UnknownFields
79
80
Tokens []*SCMToken `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
81
}
82
83
func (x *SearchSCMTokensResponse) Reset() {
84
*x = SearchSCMTokensResponse{}
85
if protoimpl.UnsafeEnabled {
86
mi := &file_gitpod_v1_scm_proto_msgTypes[1]
87
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
88
ms.StoreMessageInfo(mi)
89
}
90
}
91
92
func (x *SearchSCMTokensResponse) String() string {
93
return protoimpl.X.MessageStringOf(x)
94
}
95
96
func (*SearchSCMTokensResponse) ProtoMessage() {}
97
98
func (x *SearchSCMTokensResponse) ProtoReflect() protoreflect.Message {
99
mi := &file_gitpod_v1_scm_proto_msgTypes[1]
100
if protoimpl.UnsafeEnabled && x != nil {
101
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
102
if ms.LoadMessageInfo() == nil {
103
ms.StoreMessageInfo(mi)
104
}
105
return ms
106
}
107
return mi.MessageOf(x)
108
}
109
110
// Deprecated: Use SearchSCMTokensResponse.ProtoReflect.Descriptor instead.
111
func (*SearchSCMTokensResponse) Descriptor() ([]byte, []int) {
112
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{1}
113
}
114
115
func (x *SearchSCMTokensResponse) GetTokens() []*SCMToken {
116
if x != nil {
117
return x.Tokens
118
}
119
return nil
120
}
121
122
type GuessTokenScopesRequest struct {
123
state protoimpl.MessageState
124
sizeCache protoimpl.SizeCache
125
unknownFields protoimpl.UnknownFields
126
127
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
128
RepoUrl string `protobuf:"bytes,2,opt,name=repo_url,json=repoUrl,proto3" json:"repo_url,omitempty"`
129
GitCommand string `protobuf:"bytes,3,opt,name=git_command,json=gitCommand,proto3" json:"git_command,omitempty"`
130
}
131
132
func (x *GuessTokenScopesRequest) Reset() {
133
*x = GuessTokenScopesRequest{}
134
if protoimpl.UnsafeEnabled {
135
mi := &file_gitpod_v1_scm_proto_msgTypes[2]
136
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
137
ms.StoreMessageInfo(mi)
138
}
139
}
140
141
func (x *GuessTokenScopesRequest) String() string {
142
return protoimpl.X.MessageStringOf(x)
143
}
144
145
func (*GuessTokenScopesRequest) ProtoMessage() {}
146
147
func (x *GuessTokenScopesRequest) ProtoReflect() protoreflect.Message {
148
mi := &file_gitpod_v1_scm_proto_msgTypes[2]
149
if protoimpl.UnsafeEnabled && x != nil {
150
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
151
if ms.LoadMessageInfo() == nil {
152
ms.StoreMessageInfo(mi)
153
}
154
return ms
155
}
156
return mi.MessageOf(x)
157
}
158
159
// Deprecated: Use GuessTokenScopesRequest.ProtoReflect.Descriptor instead.
160
func (*GuessTokenScopesRequest) Descriptor() ([]byte, []int) {
161
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{2}
162
}
163
164
func (x *GuessTokenScopesRequest) GetHost() string {
165
if x != nil {
166
return x.Host
167
}
168
return ""
169
}
170
171
func (x *GuessTokenScopesRequest) GetRepoUrl() string {
172
if x != nil {
173
return x.RepoUrl
174
}
175
return ""
176
}
177
178
func (x *GuessTokenScopesRequest) GetGitCommand() string {
179
if x != nil {
180
return x.GitCommand
181
}
182
return ""
183
}
184
185
type GuessTokenScopesResponse struct {
186
state protoimpl.MessageState
187
sizeCache protoimpl.SizeCache
188
unknownFields protoimpl.UnknownFields
189
190
Scopes []string `protobuf:"bytes,1,rep,name=scopes,proto3" json:"scopes,omitempty"`
191
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
192
}
193
194
func (x *GuessTokenScopesResponse) Reset() {
195
*x = GuessTokenScopesResponse{}
196
if protoimpl.UnsafeEnabled {
197
mi := &file_gitpod_v1_scm_proto_msgTypes[3]
198
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
199
ms.StoreMessageInfo(mi)
200
}
201
}
202
203
func (x *GuessTokenScopesResponse) String() string {
204
return protoimpl.X.MessageStringOf(x)
205
}
206
207
func (*GuessTokenScopesResponse) ProtoMessage() {}
208
209
func (x *GuessTokenScopesResponse) ProtoReflect() protoreflect.Message {
210
mi := &file_gitpod_v1_scm_proto_msgTypes[3]
211
if protoimpl.UnsafeEnabled && x != nil {
212
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
213
if ms.LoadMessageInfo() == nil {
214
ms.StoreMessageInfo(mi)
215
}
216
return ms
217
}
218
return mi.MessageOf(x)
219
}
220
221
// Deprecated: Use GuessTokenScopesResponse.ProtoReflect.Descriptor instead.
222
func (*GuessTokenScopesResponse) Descriptor() ([]byte, []int) {
223
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{3}
224
}
225
226
func (x *GuessTokenScopesResponse) GetScopes() []string {
227
if x != nil {
228
return x.Scopes
229
}
230
return nil
231
}
232
233
func (x *GuessTokenScopesResponse) GetMessage() string {
234
if x != nil {
235
return x.Message
236
}
237
return ""
238
}
239
240
type SearchRepositoriesRequest struct {
241
state protoimpl.MessageState
242
sizeCache protoimpl.SizeCache
243
unknownFields protoimpl.UnknownFields
244
245
SearchString string `protobuf:"bytes,1,opt,name=search_string,json=searchString,proto3" json:"search_string,omitempty"`
246
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
247
}
248
249
func (x *SearchRepositoriesRequest) Reset() {
250
*x = SearchRepositoriesRequest{}
251
if protoimpl.UnsafeEnabled {
252
mi := &file_gitpod_v1_scm_proto_msgTypes[4]
253
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
254
ms.StoreMessageInfo(mi)
255
}
256
}
257
258
func (x *SearchRepositoriesRequest) String() string {
259
return protoimpl.X.MessageStringOf(x)
260
}
261
262
func (*SearchRepositoriesRequest) ProtoMessage() {}
263
264
func (x *SearchRepositoriesRequest) ProtoReflect() protoreflect.Message {
265
mi := &file_gitpod_v1_scm_proto_msgTypes[4]
266
if protoimpl.UnsafeEnabled && x != nil {
267
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
268
if ms.LoadMessageInfo() == nil {
269
ms.StoreMessageInfo(mi)
270
}
271
return ms
272
}
273
return mi.MessageOf(x)
274
}
275
276
// Deprecated: Use SearchRepositoriesRequest.ProtoReflect.Descriptor instead.
277
func (*SearchRepositoriesRequest) Descriptor() ([]byte, []int) {
278
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{4}
279
}
280
281
func (x *SearchRepositoriesRequest) GetSearchString() string {
282
if x != nil {
283
return x.SearchString
284
}
285
return ""
286
}
287
288
func (x *SearchRepositoriesRequest) GetLimit() int32 {
289
if x != nil {
290
return x.Limit
291
}
292
return 0
293
}
294
295
type SearchRepositoriesResponse struct {
296
state protoimpl.MessageState
297
sizeCache protoimpl.SizeCache
298
unknownFields protoimpl.UnknownFields
299
300
Repositories []*SuggestedRepository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
301
}
302
303
func (x *SearchRepositoriesResponse) Reset() {
304
*x = SearchRepositoriesResponse{}
305
if protoimpl.UnsafeEnabled {
306
mi := &file_gitpod_v1_scm_proto_msgTypes[5]
307
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
308
ms.StoreMessageInfo(mi)
309
}
310
}
311
312
func (x *SearchRepositoriesResponse) String() string {
313
return protoimpl.X.MessageStringOf(x)
314
}
315
316
func (*SearchRepositoriesResponse) ProtoMessage() {}
317
318
func (x *SearchRepositoriesResponse) ProtoReflect() protoreflect.Message {
319
mi := &file_gitpod_v1_scm_proto_msgTypes[5]
320
if protoimpl.UnsafeEnabled && x != nil {
321
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
322
if ms.LoadMessageInfo() == nil {
323
ms.StoreMessageInfo(mi)
324
}
325
return ms
326
}
327
return mi.MessageOf(x)
328
}
329
330
// Deprecated: Use SearchRepositoriesResponse.ProtoReflect.Descriptor instead.
331
func (*SearchRepositoriesResponse) Descriptor() ([]byte, []int) {
332
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{5}
333
}
334
335
func (x *SearchRepositoriesResponse) GetRepositories() []*SuggestedRepository {
336
if x != nil {
337
return x.Repositories
338
}
339
return nil
340
}
341
342
type ListSuggestedRepositoriesRequest struct {
343
state protoimpl.MessageState
344
sizeCache protoimpl.SizeCache
345
unknownFields protoimpl.UnknownFields
346
347
Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
348
OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
349
ExcludeConfigurations bool `protobuf:"varint,3,opt,name=exclude_configurations,json=excludeConfigurations,proto3" json:"exclude_configurations,omitempty"`
350
}
351
352
func (x *ListSuggestedRepositoriesRequest) Reset() {
353
*x = ListSuggestedRepositoriesRequest{}
354
if protoimpl.UnsafeEnabled {
355
mi := &file_gitpod_v1_scm_proto_msgTypes[6]
356
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
357
ms.StoreMessageInfo(mi)
358
}
359
}
360
361
func (x *ListSuggestedRepositoriesRequest) String() string {
362
return protoimpl.X.MessageStringOf(x)
363
}
364
365
func (*ListSuggestedRepositoriesRequest) ProtoMessage() {}
366
367
func (x *ListSuggestedRepositoriesRequest) ProtoReflect() protoreflect.Message {
368
mi := &file_gitpod_v1_scm_proto_msgTypes[6]
369
if protoimpl.UnsafeEnabled && x != nil {
370
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
371
if ms.LoadMessageInfo() == nil {
372
ms.StoreMessageInfo(mi)
373
}
374
return ms
375
}
376
return mi.MessageOf(x)
377
}
378
379
// Deprecated: Use ListSuggestedRepositoriesRequest.ProtoReflect.Descriptor instead.
380
func (*ListSuggestedRepositoriesRequest) Descriptor() ([]byte, []int) {
381
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{6}
382
}
383
384
func (x *ListSuggestedRepositoriesRequest) GetPagination() *PaginationRequest {
385
if x != nil {
386
return x.Pagination
387
}
388
return nil
389
}
390
391
func (x *ListSuggestedRepositoriesRequest) GetOrganizationId() string {
392
if x != nil {
393
return x.OrganizationId
394
}
395
return ""
396
}
397
398
func (x *ListSuggestedRepositoriesRequest) GetExcludeConfigurations() bool {
399
if x != nil {
400
return x.ExcludeConfigurations
401
}
402
return false
403
}
404
405
type ListSuggestedRepositoriesResponse struct {
406
state protoimpl.MessageState
407
sizeCache protoimpl.SizeCache
408
unknownFields protoimpl.UnknownFields
409
410
Pagination *PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
411
Repositories []*SuggestedRepository `protobuf:"bytes,2,rep,name=repositories,proto3" json:"repositories,omitempty"`
412
}
413
414
func (x *ListSuggestedRepositoriesResponse) Reset() {
415
*x = ListSuggestedRepositoriesResponse{}
416
if protoimpl.UnsafeEnabled {
417
mi := &file_gitpod_v1_scm_proto_msgTypes[7]
418
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
419
ms.StoreMessageInfo(mi)
420
}
421
}
422
423
func (x *ListSuggestedRepositoriesResponse) String() string {
424
return protoimpl.X.MessageStringOf(x)
425
}
426
427
func (*ListSuggestedRepositoriesResponse) ProtoMessage() {}
428
429
func (x *ListSuggestedRepositoriesResponse) ProtoReflect() protoreflect.Message {
430
mi := &file_gitpod_v1_scm_proto_msgTypes[7]
431
if protoimpl.UnsafeEnabled && x != nil {
432
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
433
if ms.LoadMessageInfo() == nil {
434
ms.StoreMessageInfo(mi)
435
}
436
return ms
437
}
438
return mi.MessageOf(x)
439
}
440
441
// Deprecated: Use ListSuggestedRepositoriesResponse.ProtoReflect.Descriptor instead.
442
func (*ListSuggestedRepositoriesResponse) Descriptor() ([]byte, []int) {
443
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{7}
444
}
445
446
func (x *ListSuggestedRepositoriesResponse) GetPagination() *PaginationResponse {
447
if x != nil {
448
return x.Pagination
449
}
450
return nil
451
}
452
453
func (x *ListSuggestedRepositoriesResponse) GetRepositories() []*SuggestedRepository {
454
if x != nil {
455
return x.Repositories
456
}
457
return nil
458
}
459
460
type SCMToken struct {
461
state protoimpl.MessageState
462
sizeCache protoimpl.SizeCache
463
unknownFields protoimpl.UnknownFields
464
465
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
466
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
467
IdToken string `protobuf:"bytes,3,opt,name=id_token,json=idToken,proto3" json:"id_token,omitempty"`
468
RefreshToken string `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
469
Scopes []string `protobuf:"bytes,5,rep,name=scopes,proto3" json:"scopes,omitempty"`
470
UpdateDate *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_date,json=updateDate,proto3" json:"update_date,omitempty"`
471
ExpiryDate *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expiry_date,json=expiryDate,proto3" json:"expiry_date,omitempty"`
472
}
473
474
func (x *SCMToken) Reset() {
475
*x = SCMToken{}
476
if protoimpl.UnsafeEnabled {
477
mi := &file_gitpod_v1_scm_proto_msgTypes[8]
478
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
479
ms.StoreMessageInfo(mi)
480
}
481
}
482
483
func (x *SCMToken) String() string {
484
return protoimpl.X.MessageStringOf(x)
485
}
486
487
func (*SCMToken) ProtoMessage() {}
488
489
func (x *SCMToken) ProtoReflect() protoreflect.Message {
490
mi := &file_gitpod_v1_scm_proto_msgTypes[8]
491
if protoimpl.UnsafeEnabled && x != nil {
492
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
493
if ms.LoadMessageInfo() == nil {
494
ms.StoreMessageInfo(mi)
495
}
496
return ms
497
}
498
return mi.MessageOf(x)
499
}
500
501
// Deprecated: Use SCMToken.ProtoReflect.Descriptor instead.
502
func (*SCMToken) Descriptor() ([]byte, []int) {
503
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{8}
504
}
505
506
func (x *SCMToken) GetUsername() string {
507
if x != nil {
508
return x.Username
509
}
510
return ""
511
}
512
513
func (x *SCMToken) GetValue() string {
514
if x != nil {
515
return x.Value
516
}
517
return ""
518
}
519
520
func (x *SCMToken) GetIdToken() string {
521
if x != nil {
522
return x.IdToken
523
}
524
return ""
525
}
526
527
func (x *SCMToken) GetRefreshToken() string {
528
if x != nil {
529
return x.RefreshToken
530
}
531
return ""
532
}
533
534
func (x *SCMToken) GetScopes() []string {
535
if x != nil {
536
return x.Scopes
537
}
538
return nil
539
}
540
541
func (x *SCMToken) GetUpdateDate() *timestamppb.Timestamp {
542
if x != nil {
543
return x.UpdateDate
544
}
545
return nil
546
}
547
548
func (x *SCMToken) GetExpiryDate() *timestamppb.Timestamp {
549
if x != nil {
550
return x.ExpiryDate
551
}
552
return nil
553
}
554
555
type SuggestedRepository struct {
556
state protoimpl.MessageState
557
sizeCache protoimpl.SizeCache
558
unknownFields protoimpl.UnknownFields
559
560
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
561
RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
562
ConfigurationId string `protobuf:"bytes,3,opt,name=configuration_id,json=configurationId,proto3" json:"configuration_id,omitempty"`
563
ConfigurationName string `protobuf:"bytes,4,opt,name=configuration_name,json=configurationName,proto3" json:"configuration_name,omitempty"`
564
}
565
566
func (x *SuggestedRepository) Reset() {
567
*x = SuggestedRepository{}
568
if protoimpl.UnsafeEnabled {
569
mi := &file_gitpod_v1_scm_proto_msgTypes[9]
570
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
571
ms.StoreMessageInfo(mi)
572
}
573
}
574
575
func (x *SuggestedRepository) String() string {
576
return protoimpl.X.MessageStringOf(x)
577
}
578
579
func (*SuggestedRepository) ProtoMessage() {}
580
581
func (x *SuggestedRepository) ProtoReflect() protoreflect.Message {
582
mi := &file_gitpod_v1_scm_proto_msgTypes[9]
583
if protoimpl.UnsafeEnabled && x != nil {
584
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
585
if ms.LoadMessageInfo() == nil {
586
ms.StoreMessageInfo(mi)
587
}
588
return ms
589
}
590
return mi.MessageOf(x)
591
}
592
593
// Deprecated: Use SuggestedRepository.ProtoReflect.Descriptor instead.
594
func (*SuggestedRepository) Descriptor() ([]byte, []int) {
595
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{9}
596
}
597
598
func (x *SuggestedRepository) GetUrl() string {
599
if x != nil {
600
return x.Url
601
}
602
return ""
603
}
604
605
func (x *SuggestedRepository) GetRepoName() string {
606
if x != nil {
607
return x.RepoName
608
}
609
return ""
610
}
611
612
func (x *SuggestedRepository) GetConfigurationId() string {
613
if x != nil {
614
return x.ConfigurationId
615
}
616
return ""
617
}
618
619
func (x *SuggestedRepository) GetConfigurationName() string {
620
if x != nil {
621
return x.ConfigurationName
622
}
623
return ""
624
}
625
626
type Author struct {
627
state protoimpl.MessageState
628
sizeCache protoimpl.SizeCache
629
unknownFields protoimpl.UnknownFields
630
631
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
632
AvatarUrl string `protobuf:"bytes,2,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
633
}
634
635
func (x *Author) Reset() {
636
*x = Author{}
637
if protoimpl.UnsafeEnabled {
638
mi := &file_gitpod_v1_scm_proto_msgTypes[10]
639
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
640
ms.StoreMessageInfo(mi)
641
}
642
}
643
644
func (x *Author) String() string {
645
return protoimpl.X.MessageStringOf(x)
646
}
647
648
func (*Author) ProtoMessage() {}
649
650
func (x *Author) ProtoReflect() protoreflect.Message {
651
mi := &file_gitpod_v1_scm_proto_msgTypes[10]
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 Author.ProtoReflect.Descriptor instead.
663
func (*Author) Descriptor() ([]byte, []int) {
664
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{10}
665
}
666
667
func (x *Author) GetName() string {
668
if x != nil {
669
return x.Name
670
}
671
return ""
672
}
673
674
func (x *Author) GetAvatarUrl() string {
675
if x != nil {
676
return x.AvatarUrl
677
}
678
return ""
679
}
680
681
type Commit struct {
682
state protoimpl.MessageState
683
sizeCache protoimpl.SizeCache
684
unknownFields protoimpl.UnknownFields
685
686
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
687
Author *Author `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"`
688
AuthorDate *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=author_date,json=authorDate,proto3" json:"author_date,omitempty"`
689
Sha string `protobuf:"bytes,4,opt,name=sha,proto3" json:"sha,omitempty"`
690
}
691
692
func (x *Commit) Reset() {
693
*x = Commit{}
694
if protoimpl.UnsafeEnabled {
695
mi := &file_gitpod_v1_scm_proto_msgTypes[11]
696
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
697
ms.StoreMessageInfo(mi)
698
}
699
}
700
701
func (x *Commit) String() string {
702
return protoimpl.X.MessageStringOf(x)
703
}
704
705
func (*Commit) ProtoMessage() {}
706
707
func (x *Commit) ProtoReflect() protoreflect.Message {
708
mi := &file_gitpod_v1_scm_proto_msgTypes[11]
709
if protoimpl.UnsafeEnabled && x != nil {
710
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
711
if ms.LoadMessageInfo() == nil {
712
ms.StoreMessageInfo(mi)
713
}
714
return ms
715
}
716
return mi.MessageOf(x)
717
}
718
719
// Deprecated: Use Commit.ProtoReflect.Descriptor instead.
720
func (*Commit) Descriptor() ([]byte, []int) {
721
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{11}
722
}
723
724
func (x *Commit) GetMessage() string {
725
if x != nil {
726
return x.Message
727
}
728
return ""
729
}
730
731
func (x *Commit) GetAuthor() *Author {
732
if x != nil {
733
return x.Author
734
}
735
return nil
736
}
737
738
func (x *Commit) GetAuthorDate() *timestamppb.Timestamp {
739
if x != nil {
740
return x.AuthorDate
741
}
742
return nil
743
}
744
745
func (x *Commit) GetSha() string {
746
if x != nil {
747
return x.Sha
748
}
749
return ""
750
}
751
752
var File_gitpod_v1_scm_proto protoreflect.FileDescriptor
753
754
var file_gitpod_v1_scm_proto_rawDesc = []byte{
755
0x0a, 0x13, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x6d, 0x2e,
756
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31,
757
0x1a, 0x1a, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x67, 0x69,
758
0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
759
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
760
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a,
761
0x16, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x43, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73,
762
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18,
763
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x22, 0x46, 0x0a, 0x17, 0x53,
764
0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x43, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65,
765
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73,
766
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e,
767
0x76, 0x31, 0x2e, 0x53, 0x43, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x06, 0x74, 0x6f, 0x6b,
768
0x65, 0x6e, 0x73, 0x22, 0x69, 0x0a, 0x17, 0x47, 0x75, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65,
769
0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
770
0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f,
771
0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02,
772
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x6f, 0x55, 0x72, 0x6c, 0x12, 0x1f, 0x0a,
773
0x0b, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01,
774
0x28, 0x09, 0x52, 0x0a, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x4c,
775
0x0a, 0x18, 0x47, 0x75, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x63, 0x6f, 0x70,
776
0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63,
777
0x6f, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70,
778
0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20,
779
0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x56, 0x0a, 0x19,
780
0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69,
781
0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x61,
782
0x72, 0x63, 0x68, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
783
0x52, 0x0c, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x14,
784
0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c,
785
0x69, 0x6d, 0x69, 0x74, 0x22, 0x60, 0x0a, 0x1a, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65,
786
0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
787
0x73, 0x65, 0x12, 0x42, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69,
788
0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f,
789
0x64, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65,
790
0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69,
791
0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x22, 0xc0, 0x01, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x53,
792
0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f,
793
0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0a, 0x70,
794
0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
795
0x1c, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69,
796
0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70,
797
0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67,
798
0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
799
0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
800
0x49, 0x64, 0x12, 0x35, 0x0a, 0x16, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x63, 0x6f,
801
0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01,
802
0x28, 0x08, 0x52, 0x15, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
803
0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xa6, 0x01, 0x0a, 0x21, 0x4c, 0x69,
804
0x73, 0x74, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73,
805
0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
806
0x3d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
807
0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e,
808
0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
809
0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42,
810
0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02,
811
0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31,
812
0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69,
813
0x74, 0x6f, 0x72, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69,
814
0x65, 0x73, 0x22, 0x8e, 0x02, 0x0a, 0x08, 0x53, 0x43, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12,
815
0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
816
0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76,
817
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
818
0x65, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20,
819
0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x23, 0x0a, 0x0d,
820
0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20,
821
0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x6f, 0x6b, 0x65,
822
0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28,
823
0x09, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64,
824
0x61, 0x74, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
825
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
826
0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61,
827
0x74, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79,
828
0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
829
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
830
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x44,
831
0x61, 0x74, 0x65, 0x22, 0x9e, 0x01, 0x0a, 0x13, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x65,
832
0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75,
833
0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1b, 0x0a,
834
0x09, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
835
0x52, 0x08, 0x72, 0x65, 0x70, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f,
836
0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03,
837
0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74,
838
0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75,
839
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
840
0x09, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
841
0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3b, 0x0a, 0x06, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x12,
842
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
843
0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c,
844
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72,
845
0x6c, 0x22, 0x9c, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07,
846
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d,
847
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72,
848
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e,
849
0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f,
850
0x72, 0x12, 0x3b, 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x65,
851
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
852
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
853
0x6d, 0x70, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x65, 0x12, 0x10,
854
0x0a, 0x03, 0x73, 0x68, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x68, 0x61,
855
0x32, 0xa6, 0x03, 0x0a, 0x0a, 0x53, 0x43, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
856
0x5a, 0x0a, 0x0f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x43, 0x4d, 0x54, 0x6f, 0x6b, 0x65,
857
0x6e, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x53,
858
0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x43, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65,
859
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76,
860
0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x43, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
861
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x10, 0x47,
862
0x75, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12,
863
0x22, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x75, 0x65, 0x73,
864
0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
865
0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e,
866
0x47, 0x75, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73,
867
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x12, 0x53, 0x65,
868
0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73,
869
0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61,
870
0x72, 0x63, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52,
871
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e,
872
0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
873
0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
874
0x78, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x65, 0x64,
875
0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x2b, 0x2e, 0x67,
876
0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x67,
877
0x67, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69,
878
0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x70,
879
0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73,
880
0x74, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52,
881
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x51, 0x0a, 0x16, 0x69, 0x6f, 0x2e,
882
0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x61, 0x70, 0x69,
883
0x2e, 0x76, 0x31, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
884
0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64,
885
0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c,
886
0x69, 0x63, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72,
887
0x6f, 0x74, 0x6f, 0x33,
888
}
889
890
var (
891
file_gitpod_v1_scm_proto_rawDescOnce sync.Once
892
file_gitpod_v1_scm_proto_rawDescData = file_gitpod_v1_scm_proto_rawDesc
893
)
894
895
func file_gitpod_v1_scm_proto_rawDescGZIP() []byte {
896
file_gitpod_v1_scm_proto_rawDescOnce.Do(func() {
897
file_gitpod_v1_scm_proto_rawDescData = protoimpl.X.CompressGZIP(file_gitpod_v1_scm_proto_rawDescData)
898
})
899
return file_gitpod_v1_scm_proto_rawDescData
900
}
901
902
var file_gitpod_v1_scm_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
903
var file_gitpod_v1_scm_proto_goTypes = []interface{}{
904
(*SearchSCMTokensRequest)(nil), // 0: gitpod.v1.SearchSCMTokensRequest
905
(*SearchSCMTokensResponse)(nil), // 1: gitpod.v1.SearchSCMTokensResponse
906
(*GuessTokenScopesRequest)(nil), // 2: gitpod.v1.GuessTokenScopesRequest
907
(*GuessTokenScopesResponse)(nil), // 3: gitpod.v1.GuessTokenScopesResponse
908
(*SearchRepositoriesRequest)(nil), // 4: gitpod.v1.SearchRepositoriesRequest
909
(*SearchRepositoriesResponse)(nil), // 5: gitpod.v1.SearchRepositoriesResponse
910
(*ListSuggestedRepositoriesRequest)(nil), // 6: gitpod.v1.ListSuggestedRepositoriesRequest
911
(*ListSuggestedRepositoriesResponse)(nil), // 7: gitpod.v1.ListSuggestedRepositoriesResponse
912
(*SCMToken)(nil), // 8: gitpod.v1.SCMToken
913
(*SuggestedRepository)(nil), // 9: gitpod.v1.SuggestedRepository
914
(*Author)(nil), // 10: gitpod.v1.Author
915
(*Commit)(nil), // 11: gitpod.v1.Commit
916
(*PaginationRequest)(nil), // 12: gitpod.v1.PaginationRequest
917
(*PaginationResponse)(nil), // 13: gitpod.v1.PaginationResponse
918
(*timestamppb.Timestamp)(nil), // 14: google.protobuf.Timestamp
919
}
920
var file_gitpod_v1_scm_proto_depIdxs = []int32{
921
8, // 0: gitpod.v1.SearchSCMTokensResponse.tokens:type_name -> gitpod.v1.SCMToken
922
9, // 1: gitpod.v1.SearchRepositoriesResponse.repositories:type_name -> gitpod.v1.SuggestedRepository
923
12, // 2: gitpod.v1.ListSuggestedRepositoriesRequest.pagination:type_name -> gitpod.v1.PaginationRequest
924
13, // 3: gitpod.v1.ListSuggestedRepositoriesResponse.pagination:type_name -> gitpod.v1.PaginationResponse
925
9, // 4: gitpod.v1.ListSuggestedRepositoriesResponse.repositories:type_name -> gitpod.v1.SuggestedRepository
926
14, // 5: gitpod.v1.SCMToken.update_date:type_name -> google.protobuf.Timestamp
927
14, // 6: gitpod.v1.SCMToken.expiry_date:type_name -> google.protobuf.Timestamp
928
10, // 7: gitpod.v1.Commit.author:type_name -> gitpod.v1.Author
929
14, // 8: gitpod.v1.Commit.author_date:type_name -> google.protobuf.Timestamp
930
0, // 9: gitpod.v1.SCMService.SearchSCMTokens:input_type -> gitpod.v1.SearchSCMTokensRequest
931
2, // 10: gitpod.v1.SCMService.GuessTokenScopes:input_type -> gitpod.v1.GuessTokenScopesRequest
932
4, // 11: gitpod.v1.SCMService.SearchRepositories:input_type -> gitpod.v1.SearchRepositoriesRequest
933
6, // 12: gitpod.v1.SCMService.ListSuggestedRepositories:input_type -> gitpod.v1.ListSuggestedRepositoriesRequest
934
1, // 13: gitpod.v1.SCMService.SearchSCMTokens:output_type -> gitpod.v1.SearchSCMTokensResponse
935
3, // 14: gitpod.v1.SCMService.GuessTokenScopes:output_type -> gitpod.v1.GuessTokenScopesResponse
936
5, // 15: gitpod.v1.SCMService.SearchRepositories:output_type -> gitpod.v1.SearchRepositoriesResponse
937
7, // 16: gitpod.v1.SCMService.ListSuggestedRepositories:output_type -> gitpod.v1.ListSuggestedRepositoriesResponse
938
13, // [13:17] is the sub-list for method output_type
939
9, // [9:13] is the sub-list for method input_type
940
9, // [9:9] is the sub-list for extension type_name
941
9, // [9:9] is the sub-list for extension extendee
942
0, // [0:9] is the sub-list for field type_name
943
}
944
945
func init() { file_gitpod_v1_scm_proto_init() }
946
func file_gitpod_v1_scm_proto_init() {
947
if File_gitpod_v1_scm_proto != nil {
948
return
949
}
950
file_gitpod_v1_pagination_proto_init()
951
if !protoimpl.UnsafeEnabled {
952
file_gitpod_v1_scm_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
953
switch v := v.(*SearchSCMTokensRequest); 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_v1_scm_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
965
switch v := v.(*SearchSCMTokensResponse); 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_v1_scm_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
977
switch v := v.(*GuessTokenScopesRequest); 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_v1_scm_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
989
switch v := v.(*GuessTokenScopesResponse); 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_v1_scm_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1001
switch v := v.(*SearchRepositoriesRequest); 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_v1_scm_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1013
switch v := v.(*SearchRepositoriesResponse); 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_v1_scm_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1025
switch v := v.(*ListSuggestedRepositoriesRequest); 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_v1_scm_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1037
switch v := v.(*ListSuggestedRepositoriesResponse); 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_v1_scm_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1049
switch v := v.(*SCMToken); 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_v1_scm_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1061
switch v := v.(*SuggestedRepository); 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_v1_scm_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1073
switch v := v.(*Author); 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_v1_scm_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1085
switch v := v.(*Commit); 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
}
1097
type x struct{}
1098
out := protoimpl.TypeBuilder{
1099
File: protoimpl.DescBuilder{
1100
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1101
RawDescriptor: file_gitpod_v1_scm_proto_rawDesc,
1102
NumEnums: 0,
1103
NumMessages: 12,
1104
NumExtensions: 0,
1105
NumServices: 1,
1106
},
1107
GoTypes: file_gitpod_v1_scm_proto_goTypes,
1108
DependencyIndexes: file_gitpod_v1_scm_proto_depIdxs,
1109
MessageInfos: file_gitpod_v1_scm_proto_msgTypes,
1110
}.Build()
1111
File_gitpod_v1_scm_proto = out.File
1112
file_gitpod_v1_scm_proto_rawDesc = nil
1113
file_gitpod_v1_scm_proto_goTypes = nil
1114
file_gitpod_v1_scm_proto_depIdxs = nil
1115
}
1116
1117