Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/supervisor-api/go/info.pb.go
2498 views
1
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
2
// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
// Code generated by protoc-gen-go. DO NOT EDIT.
6
// versions:
7
// protoc-gen-go v1.28.1
8
// protoc v3.20.1
9
// source: info.proto
10
11
package api
12
13
import (
14
_ "google.golang.org/genproto/googleapis/api/annotations"
15
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
16
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
17
reflect "reflect"
18
sync "sync"
19
)
20
21
const (
22
// Verify that this generated code is sufficiently up-to-date.
23
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24
// Verify that runtime/protoimpl is sufficiently up-to-date.
25
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26
)
27
28
type DebugWorkspaceType int32
29
30
const (
31
DebugWorkspaceType_noDebug DebugWorkspaceType = 0
32
DebugWorkspaceType_regular DebugWorkspaceType = 1
33
DebugWorkspaceType_prebuild DebugWorkspaceType = 2
34
)
35
36
// Enum value maps for DebugWorkspaceType.
37
var (
38
DebugWorkspaceType_name = map[int32]string{
39
0: "noDebug",
40
1: "regular",
41
2: "prebuild",
42
}
43
DebugWorkspaceType_value = map[string]int32{
44
"noDebug": 0,
45
"regular": 1,
46
"prebuild": 2,
47
}
48
)
49
50
func (x DebugWorkspaceType) Enum() *DebugWorkspaceType {
51
p := new(DebugWorkspaceType)
52
*p = x
53
return p
54
}
55
56
func (x DebugWorkspaceType) String() string {
57
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
58
}
59
60
func (DebugWorkspaceType) Descriptor() protoreflect.EnumDescriptor {
61
return file_info_proto_enumTypes[0].Descriptor()
62
}
63
64
func (DebugWorkspaceType) Type() protoreflect.EnumType {
65
return &file_info_proto_enumTypes[0]
66
}
67
68
func (x DebugWorkspaceType) Number() protoreflect.EnumNumber {
69
return protoreflect.EnumNumber(x)
70
}
71
72
// Deprecated: Use DebugWorkspaceType.Descriptor instead.
73
func (DebugWorkspaceType) EnumDescriptor() ([]byte, []int) {
74
return file_info_proto_rawDescGZIP(), []int{0}
75
}
76
77
type WorkspaceInfoRequest struct {
78
state protoimpl.MessageState
79
sizeCache protoimpl.SizeCache
80
unknownFields protoimpl.UnknownFields
81
}
82
83
func (x *WorkspaceInfoRequest) Reset() {
84
*x = WorkspaceInfoRequest{}
85
if protoimpl.UnsafeEnabled {
86
mi := &file_info_proto_msgTypes[0]
87
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
88
ms.StoreMessageInfo(mi)
89
}
90
}
91
92
func (x *WorkspaceInfoRequest) String() string {
93
return protoimpl.X.MessageStringOf(x)
94
}
95
96
func (*WorkspaceInfoRequest) ProtoMessage() {}
97
98
func (x *WorkspaceInfoRequest) ProtoReflect() protoreflect.Message {
99
mi := &file_info_proto_msgTypes[0]
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 WorkspaceInfoRequest.ProtoReflect.Descriptor instead.
111
func (*WorkspaceInfoRequest) Descriptor() ([]byte, []int) {
112
return file_info_proto_rawDescGZIP(), []int{0}
113
}
114
115
type WorkspaceInfoResponse struct {
116
state protoimpl.MessageState
117
sizeCache protoimpl.SizeCache
118
unknownFields protoimpl.UnknownFields
119
120
// workspace_id is the workspace ID of this workspace.
121
WorkspaceId string `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
122
// instance_id is the instance ID of this workspace.
123
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
124
// checkout_location is the path where we initialized the workspace content
125
CheckoutLocation string `protobuf:"bytes,3,opt,name=checkout_location,json=checkoutLocation,proto3" json:"checkout_location,omitempty"`
126
// workspace_location is the location of the IDE workspace
127
//
128
// Types that are assignable to WorkspaceLocation:
129
//
130
// *WorkspaceInfoResponse_WorkspaceLocationFile
131
// *WorkspaceInfoResponse_WorkspaceLocationFolder
132
WorkspaceLocation isWorkspaceInfoResponse_WorkspaceLocation `protobuf_oneof:"workspace_location"`
133
// user_home is the path to the user's home.
134
UserHome string `protobuf:"bytes,6,opt,name=user_home,json=userHome,proto3" json:"user_home,omitempty"`
135
// GitpodAPI provides information to reach the Gitpod server API.
136
GitpodApi *WorkspaceInfoResponse_GitpodAPI `protobuf:"bytes,7,opt,name=gitpod_api,json=gitpodApi,proto3" json:"gitpod_api,omitempty"`
137
// gitpod_host provides Gitpod host URL.
138
GitpodHost string `protobuf:"bytes,8,opt,name=gitpod_host,json=gitpodHost,proto3" json:"gitpod_host,omitempty"`
139
// workspace_context_url is an URL for which the workspace was created.
140
WorkspaceContextUrl string `protobuf:"bytes,9,opt,name=workspace_context_url,json=workspaceContextUrl,proto3" json:"workspace_context_url,omitempty"`
141
// repository is a repository from which this workspace was created
142
Repository *WorkspaceInfoResponse_Repository `protobuf:"bytes,10,opt,name=repository,proto3" json:"repository,omitempty"`
143
// workspace_cluster_host provides the cluster host under which this workspace is served, e.g. ws-eu11.gitpod.io
144
WorkspaceClusterHost string `protobuf:"bytes,11,opt,name=workspace_cluster_host,json=workspaceClusterHost,proto3" json:"workspace_cluster_host,omitempty"`
145
// workspace_url is an URL for which the workspace is accessed.
146
WorkspaceUrl string `protobuf:"bytes,12,opt,name=workspace_url,json=workspaceUrl,proto3" json:"workspace_url,omitempty"`
147
// ide_alias is an alias of IDE to be run. Possible values: "code", "code-latest", "theia"
148
IdeAlias string `protobuf:"bytes,13,opt,name=ide_alias,json=ideAlias,proto3" json:"ide_alias,omitempty"`
149
// ide_port is the port on which the IDE is to be run
150
IdePort uint32 `protobuf:"varint,14,opt,name=ide_port,json=idePort,proto3" json:"ide_port,omitempty"`
151
// workspace_class denotes the class of the workspace
152
WorkspaceClass *WorkspaceInfoResponse_WorkspaceClass `protobuf:"bytes,15,opt,name=workspace_class,json=workspaceClass,proto3" json:"workspace_class,omitempty"`
153
// owner_id is user id who owns the workspace
154
OwnerId string `protobuf:"bytes,16,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
155
// debug_workspace_type indicates whether it is a regular or prebuild debug workspace
156
DebugWorkspaceType DebugWorkspaceType `protobuf:"varint,17,opt,name=debug_workspace_type,json=debugWorkspaceType,proto3,enum=supervisor.DebugWorkspaceType" json:"debug_workspace_type,omitempty"`
157
// configcat_enabled controls whether configcat is enabled
158
ConfigcatEnabled bool `protobuf:"varint,18,opt,name=configcat_enabled,json=configcatEnabled,proto3" json:"configcat_enabled,omitempty"`
159
}
160
161
func (x *WorkspaceInfoResponse) Reset() {
162
*x = WorkspaceInfoResponse{}
163
if protoimpl.UnsafeEnabled {
164
mi := &file_info_proto_msgTypes[1]
165
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
166
ms.StoreMessageInfo(mi)
167
}
168
}
169
170
func (x *WorkspaceInfoResponse) String() string {
171
return protoimpl.X.MessageStringOf(x)
172
}
173
174
func (*WorkspaceInfoResponse) ProtoMessage() {}
175
176
func (x *WorkspaceInfoResponse) ProtoReflect() protoreflect.Message {
177
mi := &file_info_proto_msgTypes[1]
178
if protoimpl.UnsafeEnabled && x != nil {
179
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
180
if ms.LoadMessageInfo() == nil {
181
ms.StoreMessageInfo(mi)
182
}
183
return ms
184
}
185
return mi.MessageOf(x)
186
}
187
188
// Deprecated: Use WorkspaceInfoResponse.ProtoReflect.Descriptor instead.
189
func (*WorkspaceInfoResponse) Descriptor() ([]byte, []int) {
190
return file_info_proto_rawDescGZIP(), []int{1}
191
}
192
193
func (x *WorkspaceInfoResponse) GetWorkspaceId() string {
194
if x != nil {
195
return x.WorkspaceId
196
}
197
return ""
198
}
199
200
func (x *WorkspaceInfoResponse) GetInstanceId() string {
201
if x != nil {
202
return x.InstanceId
203
}
204
return ""
205
}
206
207
func (x *WorkspaceInfoResponse) GetCheckoutLocation() string {
208
if x != nil {
209
return x.CheckoutLocation
210
}
211
return ""
212
}
213
214
func (m *WorkspaceInfoResponse) GetWorkspaceLocation() isWorkspaceInfoResponse_WorkspaceLocation {
215
if m != nil {
216
return m.WorkspaceLocation
217
}
218
return nil
219
}
220
221
func (x *WorkspaceInfoResponse) GetWorkspaceLocationFile() string {
222
if x, ok := x.GetWorkspaceLocation().(*WorkspaceInfoResponse_WorkspaceLocationFile); ok {
223
return x.WorkspaceLocationFile
224
}
225
return ""
226
}
227
228
func (x *WorkspaceInfoResponse) GetWorkspaceLocationFolder() string {
229
if x, ok := x.GetWorkspaceLocation().(*WorkspaceInfoResponse_WorkspaceLocationFolder); ok {
230
return x.WorkspaceLocationFolder
231
}
232
return ""
233
}
234
235
func (x *WorkspaceInfoResponse) GetUserHome() string {
236
if x != nil {
237
return x.UserHome
238
}
239
return ""
240
}
241
242
func (x *WorkspaceInfoResponse) GetGitpodApi() *WorkspaceInfoResponse_GitpodAPI {
243
if x != nil {
244
return x.GitpodApi
245
}
246
return nil
247
}
248
249
func (x *WorkspaceInfoResponse) GetGitpodHost() string {
250
if x != nil {
251
return x.GitpodHost
252
}
253
return ""
254
}
255
256
func (x *WorkspaceInfoResponse) GetWorkspaceContextUrl() string {
257
if x != nil {
258
return x.WorkspaceContextUrl
259
}
260
return ""
261
}
262
263
func (x *WorkspaceInfoResponse) GetRepository() *WorkspaceInfoResponse_Repository {
264
if x != nil {
265
return x.Repository
266
}
267
return nil
268
}
269
270
func (x *WorkspaceInfoResponse) GetWorkspaceClusterHost() string {
271
if x != nil {
272
return x.WorkspaceClusterHost
273
}
274
return ""
275
}
276
277
func (x *WorkspaceInfoResponse) GetWorkspaceUrl() string {
278
if x != nil {
279
return x.WorkspaceUrl
280
}
281
return ""
282
}
283
284
func (x *WorkspaceInfoResponse) GetIdeAlias() string {
285
if x != nil {
286
return x.IdeAlias
287
}
288
return ""
289
}
290
291
func (x *WorkspaceInfoResponse) GetIdePort() uint32 {
292
if x != nil {
293
return x.IdePort
294
}
295
return 0
296
}
297
298
func (x *WorkspaceInfoResponse) GetWorkspaceClass() *WorkspaceInfoResponse_WorkspaceClass {
299
if x != nil {
300
return x.WorkspaceClass
301
}
302
return nil
303
}
304
305
func (x *WorkspaceInfoResponse) GetOwnerId() string {
306
if x != nil {
307
return x.OwnerId
308
}
309
return ""
310
}
311
312
func (x *WorkspaceInfoResponse) GetDebugWorkspaceType() DebugWorkspaceType {
313
if x != nil {
314
return x.DebugWorkspaceType
315
}
316
return DebugWorkspaceType_noDebug
317
}
318
319
func (x *WorkspaceInfoResponse) GetConfigcatEnabled() bool {
320
if x != nil {
321
return x.ConfigcatEnabled
322
}
323
return false
324
}
325
326
type isWorkspaceInfoResponse_WorkspaceLocation interface {
327
isWorkspaceInfoResponse_WorkspaceLocation()
328
}
329
330
type WorkspaceInfoResponse_WorkspaceLocationFile struct {
331
// file means the workspace root is a file describing the workspace layout.
332
WorkspaceLocationFile string `protobuf:"bytes,4,opt,name=workspace_location_file,json=workspaceLocationFile,proto3,oneof"`
333
}
334
335
type WorkspaceInfoResponse_WorkspaceLocationFolder struct {
336
// folder means the workspace root is a simple folder.
337
WorkspaceLocationFolder string `protobuf:"bytes,5,opt,name=workspace_location_folder,json=workspaceLocationFolder,proto3,oneof"`
338
}
339
340
func (*WorkspaceInfoResponse_WorkspaceLocationFile) isWorkspaceInfoResponse_WorkspaceLocation() {}
341
342
func (*WorkspaceInfoResponse_WorkspaceLocationFolder) isWorkspaceInfoResponse_WorkspaceLocation() {}
343
344
type WorkspaceInfoResponse_GitpodAPI struct {
345
state protoimpl.MessageState
346
sizeCache protoimpl.SizeCache
347
unknownFields protoimpl.UnknownFields
348
349
// endpoint is the websocket URL on which the token-accessible Gitpod API is served on
350
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
351
// host is the host of the endpoint. Use this host to ask supervisor a token.
352
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
353
}
354
355
func (x *WorkspaceInfoResponse_GitpodAPI) Reset() {
356
*x = WorkspaceInfoResponse_GitpodAPI{}
357
if protoimpl.UnsafeEnabled {
358
mi := &file_info_proto_msgTypes[2]
359
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
360
ms.StoreMessageInfo(mi)
361
}
362
}
363
364
func (x *WorkspaceInfoResponse_GitpodAPI) String() string {
365
return protoimpl.X.MessageStringOf(x)
366
}
367
368
func (*WorkspaceInfoResponse_GitpodAPI) ProtoMessage() {}
369
370
func (x *WorkspaceInfoResponse_GitpodAPI) ProtoReflect() protoreflect.Message {
371
mi := &file_info_proto_msgTypes[2]
372
if protoimpl.UnsafeEnabled && x != nil {
373
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
374
if ms.LoadMessageInfo() == nil {
375
ms.StoreMessageInfo(mi)
376
}
377
return ms
378
}
379
return mi.MessageOf(x)
380
}
381
382
// Deprecated: Use WorkspaceInfoResponse_GitpodAPI.ProtoReflect.Descriptor instead.
383
func (*WorkspaceInfoResponse_GitpodAPI) Descriptor() ([]byte, []int) {
384
return file_info_proto_rawDescGZIP(), []int{1, 0}
385
}
386
387
func (x *WorkspaceInfoResponse_GitpodAPI) GetEndpoint() string {
388
if x != nil {
389
return x.Endpoint
390
}
391
return ""
392
}
393
394
func (x *WorkspaceInfoResponse_GitpodAPI) GetHost() string {
395
if x != nil {
396
return x.Host
397
}
398
return ""
399
}
400
401
type WorkspaceInfoResponse_Repository struct {
402
state protoimpl.MessageState
403
sizeCache protoimpl.SizeCache
404
unknownFields protoimpl.UnknownFields
405
406
// owner is the repository owner
407
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
408
// name is the repository name
409
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
410
}
411
412
func (x *WorkspaceInfoResponse_Repository) Reset() {
413
*x = WorkspaceInfoResponse_Repository{}
414
if protoimpl.UnsafeEnabled {
415
mi := &file_info_proto_msgTypes[3]
416
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
417
ms.StoreMessageInfo(mi)
418
}
419
}
420
421
func (x *WorkspaceInfoResponse_Repository) String() string {
422
return protoimpl.X.MessageStringOf(x)
423
}
424
425
func (*WorkspaceInfoResponse_Repository) ProtoMessage() {}
426
427
func (x *WorkspaceInfoResponse_Repository) ProtoReflect() protoreflect.Message {
428
mi := &file_info_proto_msgTypes[3]
429
if protoimpl.UnsafeEnabled && x != nil {
430
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
431
if ms.LoadMessageInfo() == nil {
432
ms.StoreMessageInfo(mi)
433
}
434
return ms
435
}
436
return mi.MessageOf(x)
437
}
438
439
// Deprecated: Use WorkspaceInfoResponse_Repository.ProtoReflect.Descriptor instead.
440
func (*WorkspaceInfoResponse_Repository) Descriptor() ([]byte, []int) {
441
return file_info_proto_rawDescGZIP(), []int{1, 1}
442
}
443
444
func (x *WorkspaceInfoResponse_Repository) GetOwner() string {
445
if x != nil {
446
return x.Owner
447
}
448
return ""
449
}
450
451
func (x *WorkspaceInfoResponse_Repository) GetName() string {
452
if x != nil {
453
return x.Name
454
}
455
return ""
456
}
457
458
type WorkspaceInfoResponse_WorkspaceClass struct {
459
state protoimpl.MessageState
460
sizeCache protoimpl.SizeCache
461
unknownFields protoimpl.UnknownFields
462
463
// id is the id of the workspace class
464
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
465
// display_name is the display_name of the workspace class
466
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
467
// description is the description of the workspace class
468
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
469
}
470
471
func (x *WorkspaceInfoResponse_WorkspaceClass) Reset() {
472
*x = WorkspaceInfoResponse_WorkspaceClass{}
473
if protoimpl.UnsafeEnabled {
474
mi := &file_info_proto_msgTypes[4]
475
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
476
ms.StoreMessageInfo(mi)
477
}
478
}
479
480
func (x *WorkspaceInfoResponse_WorkspaceClass) String() string {
481
return protoimpl.X.MessageStringOf(x)
482
}
483
484
func (*WorkspaceInfoResponse_WorkspaceClass) ProtoMessage() {}
485
486
func (x *WorkspaceInfoResponse_WorkspaceClass) ProtoReflect() protoreflect.Message {
487
mi := &file_info_proto_msgTypes[4]
488
if protoimpl.UnsafeEnabled && x != nil {
489
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
490
if ms.LoadMessageInfo() == nil {
491
ms.StoreMessageInfo(mi)
492
}
493
return ms
494
}
495
return mi.MessageOf(x)
496
}
497
498
// Deprecated: Use WorkspaceInfoResponse_WorkspaceClass.ProtoReflect.Descriptor instead.
499
func (*WorkspaceInfoResponse_WorkspaceClass) Descriptor() ([]byte, []int) {
500
return file_info_proto_rawDescGZIP(), []int{1, 2}
501
}
502
503
func (x *WorkspaceInfoResponse_WorkspaceClass) GetId() string {
504
if x != nil {
505
return x.Id
506
}
507
return ""
508
}
509
510
func (x *WorkspaceInfoResponse_WorkspaceClass) GetDisplayName() string {
511
if x != nil {
512
return x.DisplayName
513
}
514
return ""
515
}
516
517
func (x *WorkspaceInfoResponse_WorkspaceClass) GetDescription() string {
518
if x != nil {
519
return x.Description
520
}
521
return ""
522
}
523
524
var File_info_proto protoreflect.FileDescriptor
525
526
var file_info_proto_rawDesc = []byte{
527
0x0a, 0x0a, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x73, 0x75,
528
0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
529
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
530
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x16, 0x0a, 0x14, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70,
531
0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8c,
532
0x09, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f,
533
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b,
534
0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
535
0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x69,
536
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
537
0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x11,
538
0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
539
0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75,
540
0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x17, 0x77, 0x6f, 0x72,
541
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
542
0x66, 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x15, 0x77, 0x6f,
543
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46,
544
0x69, 0x6c, 0x65, 0x12, 0x3c, 0x0a, 0x19, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,
545
0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72,
546
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70,
547
0x61, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x6c, 0x64, 0x65,
548
0x72, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x68, 0x6f, 0x6d, 0x65, 0x18, 0x06,
549
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x12, 0x4a,
550
0x0a, 0x0a, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x5f, 0x61, 0x70, 0x69, 0x18, 0x07, 0x20, 0x01,
551
0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e,
552
0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73,
553
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x47, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x41, 0x50, 0x49, 0x52,
554
0x09, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x41, 0x70, 0x69, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x69,
555
0x74, 0x70, 0x6f, 0x64, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
556
0x0a, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x77,
557
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74,
558
0x5f, 0x75, 0x72, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x77, 0x6f, 0x72, 0x6b,
559
0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x55, 0x72, 0x6c, 0x12,
560
0x4c, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x0a, 0x20,
561
0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72,
562
0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,
563
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72,
564
0x79, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x34, 0x0a,
565
0x16, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74,
566
0x65, 0x72, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x77,
567
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48,
568
0x6f, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,
569
0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b,
570
0x73, 0x70, 0x61, 0x63, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x64, 0x65, 0x5f,
571
0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x64, 0x65,
572
0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x64, 0x65, 0x5f, 0x70, 0x6f, 0x72,
573
0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x69, 0x64, 0x65, 0x50, 0x6f, 0x72, 0x74,
574
0x12, 0x59, 0x0a, 0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x6c,
575
0x61, 0x73, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x73, 0x75, 0x70, 0x65,
576
0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,
577
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x57, 0x6f, 0x72,
578
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x0e, 0x77, 0x6f, 0x72,
579
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f,
580
0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f,
581
0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x14, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f,
582
0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x11,
583
0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f,
584
0x72, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,
585
0x54, 0x79, 0x70, 0x65, 0x52, 0x12, 0x64, 0x65, 0x62, 0x75, 0x67, 0x57, 0x6f, 0x72, 0x6b, 0x73,
586
0x70, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x66,
587
0x69, 0x67, 0x63, 0x61, 0x74, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x12, 0x20,
588
0x01, 0x28, 0x08, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x63, 0x61, 0x74, 0x45, 0x6e,
589
0x61, 0x62, 0x6c, 0x65, 0x64, 0x1a, 0x3b, 0x0a, 0x09, 0x47, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x41,
590
0x50, 0x49, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01,
591
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x12,
592
0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f,
593
0x73, 0x74, 0x1a, 0x36, 0x0a, 0x0a, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79,
594
0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
595
0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
596
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x65, 0x0a, 0x0e, 0x57, 0x6f,
597
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x0e, 0x0a, 0x02,
598
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c,
599
0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
600
0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12,
601
0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
602
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
603
0x6e, 0x42, 0x14, 0x0a, 0x12, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x6c,
604
0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4a, 0x04, 0x08, 0x13, 0x10, 0x14, 0x2a, 0x3c, 0x0a,
605
0x12, 0x44, 0x65, 0x62, 0x75, 0x67, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54,
606
0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x6e, 0x6f, 0x44, 0x65, 0x62, 0x75, 0x67, 0x10, 0x00,
607
0x12, 0x0b, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x10, 0x01, 0x12, 0x0c, 0x0a,
608
0x08, 0x70, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x10, 0x02, 0x32, 0x7f, 0x0a, 0x0b, 0x49,
609
0x6e, 0x66, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x70, 0x0a, 0x0d, 0x57, 0x6f,
610
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x2e, 0x73, 0x75,
611
0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
612
0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e,
613
0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73,
614
0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
615
0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x12, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e,
616
0x66, 0x6f, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x42, 0x46, 0x0a, 0x18,
617
0x69, 0x6f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76,
618
0x69, 0x73, 0x6f, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
619
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67,
620
0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72,
621
0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
622
}
623
624
var (
625
file_info_proto_rawDescOnce sync.Once
626
file_info_proto_rawDescData = file_info_proto_rawDesc
627
)
628
629
func file_info_proto_rawDescGZIP() []byte {
630
file_info_proto_rawDescOnce.Do(func() {
631
file_info_proto_rawDescData = protoimpl.X.CompressGZIP(file_info_proto_rawDescData)
632
})
633
return file_info_proto_rawDescData
634
}
635
636
var file_info_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
637
var file_info_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
638
var file_info_proto_goTypes = []interface{}{
639
(DebugWorkspaceType)(0), // 0: supervisor.DebugWorkspaceType
640
(*WorkspaceInfoRequest)(nil), // 1: supervisor.WorkspaceInfoRequest
641
(*WorkspaceInfoResponse)(nil), // 2: supervisor.WorkspaceInfoResponse
642
(*WorkspaceInfoResponse_GitpodAPI)(nil), // 3: supervisor.WorkspaceInfoResponse.GitpodAPI
643
(*WorkspaceInfoResponse_Repository)(nil), // 4: supervisor.WorkspaceInfoResponse.Repository
644
(*WorkspaceInfoResponse_WorkspaceClass)(nil), // 5: supervisor.WorkspaceInfoResponse.WorkspaceClass
645
}
646
var file_info_proto_depIdxs = []int32{
647
3, // 0: supervisor.WorkspaceInfoResponse.gitpod_api:type_name -> supervisor.WorkspaceInfoResponse.GitpodAPI
648
4, // 1: supervisor.WorkspaceInfoResponse.repository:type_name -> supervisor.WorkspaceInfoResponse.Repository
649
5, // 2: supervisor.WorkspaceInfoResponse.workspace_class:type_name -> supervisor.WorkspaceInfoResponse.WorkspaceClass
650
0, // 3: supervisor.WorkspaceInfoResponse.debug_workspace_type:type_name -> supervisor.DebugWorkspaceType
651
1, // 4: supervisor.InfoService.WorkspaceInfo:input_type -> supervisor.WorkspaceInfoRequest
652
2, // 5: supervisor.InfoService.WorkspaceInfo:output_type -> supervisor.WorkspaceInfoResponse
653
5, // [5:6] is the sub-list for method output_type
654
4, // [4:5] is the sub-list for method input_type
655
4, // [4:4] is the sub-list for extension type_name
656
4, // [4:4] is the sub-list for extension extendee
657
0, // [0:4] is the sub-list for field type_name
658
}
659
660
func init() { file_info_proto_init() }
661
func file_info_proto_init() {
662
if File_info_proto != nil {
663
return
664
}
665
if !protoimpl.UnsafeEnabled {
666
file_info_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
667
switch v := v.(*WorkspaceInfoRequest); i {
668
case 0:
669
return &v.state
670
case 1:
671
return &v.sizeCache
672
case 2:
673
return &v.unknownFields
674
default:
675
return nil
676
}
677
}
678
file_info_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
679
switch v := v.(*WorkspaceInfoResponse); i {
680
case 0:
681
return &v.state
682
case 1:
683
return &v.sizeCache
684
case 2:
685
return &v.unknownFields
686
default:
687
return nil
688
}
689
}
690
file_info_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
691
switch v := v.(*WorkspaceInfoResponse_GitpodAPI); i {
692
case 0:
693
return &v.state
694
case 1:
695
return &v.sizeCache
696
case 2:
697
return &v.unknownFields
698
default:
699
return nil
700
}
701
}
702
file_info_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
703
switch v := v.(*WorkspaceInfoResponse_Repository); i {
704
case 0:
705
return &v.state
706
case 1:
707
return &v.sizeCache
708
case 2:
709
return &v.unknownFields
710
default:
711
return nil
712
}
713
}
714
file_info_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
715
switch v := v.(*WorkspaceInfoResponse_WorkspaceClass); i {
716
case 0:
717
return &v.state
718
case 1:
719
return &v.sizeCache
720
case 2:
721
return &v.unknownFields
722
default:
723
return nil
724
}
725
}
726
}
727
file_info_proto_msgTypes[1].OneofWrappers = []interface{}{
728
(*WorkspaceInfoResponse_WorkspaceLocationFile)(nil),
729
(*WorkspaceInfoResponse_WorkspaceLocationFolder)(nil),
730
}
731
type x struct{}
732
out := protoimpl.TypeBuilder{
733
File: protoimpl.DescBuilder{
734
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
735
RawDescriptor: file_info_proto_rawDesc,
736
NumEnums: 1,
737
NumMessages: 5,
738
NumExtensions: 0,
739
NumServices: 1,
740
},
741
GoTypes: file_info_proto_goTypes,
742
DependencyIndexes: file_info_proto_depIdxs,
743
EnumInfos: file_info_proto_enumTypes,
744
MessageInfos: file_info_proto_msgTypes,
745
}.Build()
746
File_info_proto = out.File
747
file_info_proto_rawDesc = nil
748
file_info_proto_goTypes = nil
749
file_info_proto_depIdxs = nil
750
}
751
752