Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/ide-service-api/go/ide.pb.go
2498 views
1
// Copyright (c) 2022 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: ide.proto
10
11
package api
12
13
import (
14
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16
reflect "reflect"
17
sync "sync"
18
)
19
20
const (
21
// Verify that this generated code is sufficiently up-to-date.
22
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
23
// Verify that runtime/protoimpl is sufficiently up-to-date.
24
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
25
)
26
27
type WorkspaceType int32
28
29
const (
30
WorkspaceType_REGULAR WorkspaceType = 0
31
WorkspaceType_PREBUILD WorkspaceType = 1
32
)
33
34
// Enum value maps for WorkspaceType.
35
var (
36
WorkspaceType_name = map[int32]string{
37
0: "REGULAR",
38
1: "PREBUILD",
39
}
40
WorkspaceType_value = map[string]int32{
41
"REGULAR": 0,
42
"PREBUILD": 1,
43
}
44
)
45
46
func (x WorkspaceType) Enum() *WorkspaceType {
47
p := new(WorkspaceType)
48
*p = x
49
return p
50
}
51
52
func (x WorkspaceType) String() string {
53
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
54
}
55
56
func (WorkspaceType) Descriptor() protoreflect.EnumDescriptor {
57
return file_ide_proto_enumTypes[0].Descriptor()
58
}
59
60
func (WorkspaceType) Type() protoreflect.EnumType {
61
return &file_ide_proto_enumTypes[0]
62
}
63
64
func (x WorkspaceType) Number() protoreflect.EnumNumber {
65
return protoreflect.EnumNumber(x)
66
}
67
68
// Deprecated: Use WorkspaceType.Descriptor instead.
69
func (WorkspaceType) EnumDescriptor() ([]byte, []int) {
70
return file_ide_proto_rawDescGZIP(), []int{0}
71
}
72
73
type GetConfigRequest struct {
74
state protoimpl.MessageState
75
sizeCache protoimpl.SizeCache
76
unknownFields protoimpl.UnknownFields
77
78
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
79
}
80
81
func (x *GetConfigRequest) Reset() {
82
*x = GetConfigRequest{}
83
if protoimpl.UnsafeEnabled {
84
mi := &file_ide_proto_msgTypes[0]
85
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
86
ms.StoreMessageInfo(mi)
87
}
88
}
89
90
func (x *GetConfigRequest) String() string {
91
return protoimpl.X.MessageStringOf(x)
92
}
93
94
func (*GetConfigRequest) ProtoMessage() {}
95
96
func (x *GetConfigRequest) ProtoReflect() protoreflect.Message {
97
mi := &file_ide_proto_msgTypes[0]
98
if protoimpl.UnsafeEnabled && x != nil {
99
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
100
if ms.LoadMessageInfo() == nil {
101
ms.StoreMessageInfo(mi)
102
}
103
return ms
104
}
105
return mi.MessageOf(x)
106
}
107
108
// Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.
109
func (*GetConfigRequest) Descriptor() ([]byte, []int) {
110
return file_ide_proto_rawDescGZIP(), []int{0}
111
}
112
113
func (x *GetConfigRequest) GetUser() *User {
114
if x != nil {
115
return x.User
116
}
117
return nil
118
}
119
120
type GetConfigResponse struct {
121
state protoimpl.MessageState
122
sizeCache protoimpl.SizeCache
123
unknownFields protoimpl.UnknownFields
124
125
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
126
}
127
128
func (x *GetConfigResponse) Reset() {
129
*x = GetConfigResponse{}
130
if protoimpl.UnsafeEnabled {
131
mi := &file_ide_proto_msgTypes[1]
132
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
133
ms.StoreMessageInfo(mi)
134
}
135
}
136
137
func (x *GetConfigResponse) String() string {
138
return protoimpl.X.MessageStringOf(x)
139
}
140
141
func (*GetConfigResponse) ProtoMessage() {}
142
143
func (x *GetConfigResponse) ProtoReflect() protoreflect.Message {
144
mi := &file_ide_proto_msgTypes[1]
145
if protoimpl.UnsafeEnabled && x != nil {
146
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
147
if ms.LoadMessageInfo() == nil {
148
ms.StoreMessageInfo(mi)
149
}
150
return ms
151
}
152
return mi.MessageOf(x)
153
}
154
155
// Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead.
156
func (*GetConfigResponse) Descriptor() ([]byte, []int) {
157
return file_ide_proto_rawDescGZIP(), []int{1}
158
}
159
160
func (x *GetConfigResponse) GetContent() string {
161
if x != nil {
162
return x.Content
163
}
164
return ""
165
}
166
167
// TODO: import type from other packages
168
// EnvironmentVariable describes an env var as key/value pair
169
type EnvironmentVariable struct {
170
state protoimpl.MessageState
171
sizeCache protoimpl.SizeCache
172
unknownFields protoimpl.UnknownFields
173
174
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
175
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
176
}
177
178
func (x *EnvironmentVariable) Reset() {
179
*x = EnvironmentVariable{}
180
if protoimpl.UnsafeEnabled {
181
mi := &file_ide_proto_msgTypes[2]
182
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
183
ms.StoreMessageInfo(mi)
184
}
185
}
186
187
func (x *EnvironmentVariable) String() string {
188
return protoimpl.X.MessageStringOf(x)
189
}
190
191
func (*EnvironmentVariable) ProtoMessage() {}
192
193
func (x *EnvironmentVariable) ProtoReflect() protoreflect.Message {
194
mi := &file_ide_proto_msgTypes[2]
195
if protoimpl.UnsafeEnabled && x != nil {
196
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
197
if ms.LoadMessageInfo() == nil {
198
ms.StoreMessageInfo(mi)
199
}
200
return ms
201
}
202
return mi.MessageOf(x)
203
}
204
205
// Deprecated: Use EnvironmentVariable.ProtoReflect.Descriptor instead.
206
func (*EnvironmentVariable) Descriptor() ([]byte, []int) {
207
return file_ide_proto_rawDescGZIP(), []int{2}
208
}
209
210
func (x *EnvironmentVariable) GetName() string {
211
if x != nil {
212
return x.Name
213
}
214
return ""
215
}
216
217
func (x *EnvironmentVariable) GetValue() string {
218
if x != nil {
219
return x.Value
220
}
221
return ""
222
}
223
224
type User 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
Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"`
231
}
232
233
func (x *User) Reset() {
234
*x = User{}
235
if protoimpl.UnsafeEnabled {
236
mi := &file_ide_proto_msgTypes[3]
237
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
238
ms.StoreMessageInfo(mi)
239
}
240
}
241
242
func (x *User) String() string {
243
return protoimpl.X.MessageStringOf(x)
244
}
245
246
func (*User) ProtoMessage() {}
247
248
func (x *User) ProtoReflect() protoreflect.Message {
249
mi := &file_ide_proto_msgTypes[3]
250
if protoimpl.UnsafeEnabled && x != nil {
251
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
252
if ms.LoadMessageInfo() == nil {
253
ms.StoreMessageInfo(mi)
254
}
255
return ms
256
}
257
return mi.MessageOf(x)
258
}
259
260
// Deprecated: Use User.ProtoReflect.Descriptor instead.
261
func (*User) Descriptor() ([]byte, []int) {
262
return file_ide_proto_rawDescGZIP(), []int{3}
263
}
264
265
func (x *User) GetId() string {
266
if x != nil {
267
return x.Id
268
}
269
return ""
270
}
271
272
func (x *User) GetEmail() string {
273
if x != nil && x.Email != nil {
274
return *x.Email
275
}
276
return ""
277
}
278
279
type ResolveWorkspaceConfigRequest struct {
280
state protoimpl.MessageState
281
sizeCache protoimpl.SizeCache
282
unknownFields protoimpl.UnknownFields
283
284
Type WorkspaceType `protobuf:"varint,1,opt,name=type,proto3,enum=ide_service_api.WorkspaceType" json:"type,omitempty"`
285
Context string `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
286
IdeSettings string `protobuf:"bytes,3,opt,name=ide_settings,json=ideSettings,proto3" json:"ide_settings,omitempty"`
287
WorkspaceConfig string `protobuf:"bytes,4,opt,name=workspace_config,json=workspaceConfig,proto3" json:"workspace_config,omitempty"`
288
User *User `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"`
289
}
290
291
func (x *ResolveWorkspaceConfigRequest) Reset() {
292
*x = ResolveWorkspaceConfigRequest{}
293
if protoimpl.UnsafeEnabled {
294
mi := &file_ide_proto_msgTypes[4]
295
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
296
ms.StoreMessageInfo(mi)
297
}
298
}
299
300
func (x *ResolveWorkspaceConfigRequest) String() string {
301
return protoimpl.X.MessageStringOf(x)
302
}
303
304
func (*ResolveWorkspaceConfigRequest) ProtoMessage() {}
305
306
func (x *ResolveWorkspaceConfigRequest) ProtoReflect() protoreflect.Message {
307
mi := &file_ide_proto_msgTypes[4]
308
if protoimpl.UnsafeEnabled && x != nil {
309
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
310
if ms.LoadMessageInfo() == nil {
311
ms.StoreMessageInfo(mi)
312
}
313
return ms
314
}
315
return mi.MessageOf(x)
316
}
317
318
// Deprecated: Use ResolveWorkspaceConfigRequest.ProtoReflect.Descriptor instead.
319
func (*ResolveWorkspaceConfigRequest) Descriptor() ([]byte, []int) {
320
return file_ide_proto_rawDescGZIP(), []int{4}
321
}
322
323
func (x *ResolveWorkspaceConfigRequest) GetType() WorkspaceType {
324
if x != nil {
325
return x.Type
326
}
327
return WorkspaceType_REGULAR
328
}
329
330
func (x *ResolveWorkspaceConfigRequest) GetContext() string {
331
if x != nil {
332
return x.Context
333
}
334
return ""
335
}
336
337
func (x *ResolveWorkspaceConfigRequest) GetIdeSettings() string {
338
if x != nil {
339
return x.IdeSettings
340
}
341
return ""
342
}
343
344
func (x *ResolveWorkspaceConfigRequest) GetWorkspaceConfig() string {
345
if x != nil {
346
return x.WorkspaceConfig
347
}
348
return ""
349
}
350
351
func (x *ResolveWorkspaceConfigRequest) GetUser() *User {
352
if x != nil {
353
return x.User
354
}
355
return nil
356
}
357
358
type ResolveWorkspaceConfigResponse struct {
359
state protoimpl.MessageState
360
sizeCache protoimpl.SizeCache
361
unknownFields protoimpl.UnknownFields
362
363
Envvars []*EnvironmentVariable `protobuf:"bytes,1,rep,name=envvars,proto3" json:"envvars,omitempty"`
364
SupervisorImage string `protobuf:"bytes,2,opt,name=supervisor_image,json=supervisorImage,proto3" json:"supervisor_image,omitempty"`
365
WebImage string `protobuf:"bytes,3,opt,name=web_image,json=webImage,proto3" json:"web_image,omitempty"`
366
IdeImageLayers []string `protobuf:"bytes,4,rep,name=ide_image_layers,json=ideImageLayers,proto3" json:"ide_image_layers,omitempty"`
367
// control whether to configure default IDE for a user
368
RefererIde string `protobuf:"bytes,5,opt,name=referer_ide,json=refererIde,proto3" json:"referer_ide,omitempty"`
369
Tasks string `protobuf:"bytes,6,opt,name=tasks,proto3" json:"tasks,omitempty"`
370
IdeSettings string `protobuf:"bytes,7,opt,name=ide_settings,json=ideSettings,proto3" json:"ide_settings,omitempty"`
371
}
372
373
func (x *ResolveWorkspaceConfigResponse) Reset() {
374
*x = ResolveWorkspaceConfigResponse{}
375
if protoimpl.UnsafeEnabled {
376
mi := &file_ide_proto_msgTypes[5]
377
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
378
ms.StoreMessageInfo(mi)
379
}
380
}
381
382
func (x *ResolveWorkspaceConfigResponse) String() string {
383
return protoimpl.X.MessageStringOf(x)
384
}
385
386
func (*ResolveWorkspaceConfigResponse) ProtoMessage() {}
387
388
func (x *ResolveWorkspaceConfigResponse) ProtoReflect() protoreflect.Message {
389
mi := &file_ide_proto_msgTypes[5]
390
if protoimpl.UnsafeEnabled && x != nil {
391
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
392
if ms.LoadMessageInfo() == nil {
393
ms.StoreMessageInfo(mi)
394
}
395
return ms
396
}
397
return mi.MessageOf(x)
398
}
399
400
// Deprecated: Use ResolveWorkspaceConfigResponse.ProtoReflect.Descriptor instead.
401
func (*ResolveWorkspaceConfigResponse) Descriptor() ([]byte, []int) {
402
return file_ide_proto_rawDescGZIP(), []int{5}
403
}
404
405
func (x *ResolveWorkspaceConfigResponse) GetEnvvars() []*EnvironmentVariable {
406
if x != nil {
407
return x.Envvars
408
}
409
return nil
410
}
411
412
func (x *ResolveWorkspaceConfigResponse) GetSupervisorImage() string {
413
if x != nil {
414
return x.SupervisorImage
415
}
416
return ""
417
}
418
419
func (x *ResolveWorkspaceConfigResponse) GetWebImage() string {
420
if x != nil {
421
return x.WebImage
422
}
423
return ""
424
}
425
426
func (x *ResolveWorkspaceConfigResponse) GetIdeImageLayers() []string {
427
if x != nil {
428
return x.IdeImageLayers
429
}
430
return nil
431
}
432
433
func (x *ResolveWorkspaceConfigResponse) GetRefererIde() string {
434
if x != nil {
435
return x.RefererIde
436
}
437
return ""
438
}
439
440
func (x *ResolveWorkspaceConfigResponse) GetTasks() string {
441
if x != nil {
442
return x.Tasks
443
}
444
return ""
445
}
446
447
func (x *ResolveWorkspaceConfigResponse) GetIdeSettings() string {
448
if x != nil {
449
return x.IdeSettings
450
}
451
return ""
452
}
453
454
var File_ide_proto protoreflect.FileDescriptor
455
456
var file_ide_proto_rawDesc = []byte{
457
0x0a, 0x09, 0x69, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x69, 0x64, 0x65,
458
0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x70, 0x69, 0x22, 0x3d, 0x0a, 0x10,
459
0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
460
0x12, 0x29, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15,
461
0x2e, 0x69, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x70, 0x69,
462
0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x2d, 0x0a, 0x11, 0x47,
463
0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
464
0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
465
0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x3f, 0x0a, 0x13, 0x45, 0x6e,
466
0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c,
467
0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
468
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
469
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3b, 0x0a, 0x04, 0x55,
470
0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
471
0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01,
472
0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x08,
473
0x0a, 0x06, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0xe6, 0x01, 0x0a, 0x1d, 0x52, 0x65, 0x73,
474
0x6f, 0x6c, 0x76, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e,
475
0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x04, 0x74, 0x79,
476
0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x73,
477
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73,
478
0x70, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18,
479
0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
480
0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x64, 0x65, 0x5f,
481
0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
482
0x69, 0x64, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x77,
483
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18,
484
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,
485
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x29, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x05,
486
0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
487
0x63, 0x65, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65,
488
0x72, 0x22, 0xac, 0x02, 0x0a, 0x1e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x57, 0x6f, 0x72,
489
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70,
490
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x07, 0x65, 0x6e, 0x76, 0x76, 0x61, 0x72, 0x73, 0x18,
491
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76,
492
0x69, 0x63, 0x65, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d,
493
0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x07, 0x65, 0x6e, 0x76,
494
0x76, 0x61, 0x72, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73,
495
0x6f, 0x72, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f,
496
0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12,
497
0x1b, 0x0a, 0x09, 0x77, 0x65, 0x62, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01,
498
0x28, 0x09, 0x52, 0x08, 0x77, 0x65, 0x62, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x28, 0x0a, 0x10,
499
0x69, 0x64, 0x65, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73,
500
0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x64, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65,
501
0x4c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65,
502
0x72, 0x5f, 0x69, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x66,
503
0x65, 0x72, 0x65, 0x72, 0x49, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73,
504
0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x21, 0x0a,
505
0x0c, 0x69, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x07, 0x20,
506
0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x64, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
507
0x2a, 0x2a, 0x0a, 0x0d, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70,
508
0x65, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x47, 0x55, 0x4c, 0x41, 0x52, 0x10, 0x00, 0x12, 0x0c,
509
0x0a, 0x08, 0x50, 0x52, 0x45, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x10, 0x01, 0x32, 0xe5, 0x01, 0x0a,
510
0x0a, 0x49, 0x44, 0x45, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x57, 0x0a, 0x09, 0x47,
511
0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x73,
512
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f,
513
0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x69, 0x64,
514
0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65,
515
0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
516
0x03, 0x90, 0x02, 0x02, 0x12, 0x7e, 0x0a, 0x16, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x57,
517
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2e,
518
0x2e, 0x69, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x70, 0x69,
519
0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
520
0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f,
521
0x2e, 0x69, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x70, 0x69,
522
0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
523
0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
524
0x03, 0x90, 0x02, 0x02, 0x42, 0x47, 0x0a, 0x18, 0x69, 0x6f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f,
525
0x64, 0x2e, 0x69, 0x64, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69,
526
0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74,
527
0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x69, 0x64,
528
0x65, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70,
529
0x72, 0x6f, 0x74, 0x6f, 0x33,
530
}
531
532
var (
533
file_ide_proto_rawDescOnce sync.Once
534
file_ide_proto_rawDescData = file_ide_proto_rawDesc
535
)
536
537
func file_ide_proto_rawDescGZIP() []byte {
538
file_ide_proto_rawDescOnce.Do(func() {
539
file_ide_proto_rawDescData = protoimpl.X.CompressGZIP(file_ide_proto_rawDescData)
540
})
541
return file_ide_proto_rawDescData
542
}
543
544
var file_ide_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
545
var file_ide_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
546
var file_ide_proto_goTypes = []interface{}{
547
(WorkspaceType)(0), // 0: ide_service_api.WorkspaceType
548
(*GetConfigRequest)(nil), // 1: ide_service_api.GetConfigRequest
549
(*GetConfigResponse)(nil), // 2: ide_service_api.GetConfigResponse
550
(*EnvironmentVariable)(nil), // 3: ide_service_api.EnvironmentVariable
551
(*User)(nil), // 4: ide_service_api.User
552
(*ResolveWorkspaceConfigRequest)(nil), // 5: ide_service_api.ResolveWorkspaceConfigRequest
553
(*ResolveWorkspaceConfigResponse)(nil), // 6: ide_service_api.ResolveWorkspaceConfigResponse
554
}
555
var file_ide_proto_depIdxs = []int32{
556
4, // 0: ide_service_api.GetConfigRequest.user:type_name -> ide_service_api.User
557
0, // 1: ide_service_api.ResolveWorkspaceConfigRequest.type:type_name -> ide_service_api.WorkspaceType
558
4, // 2: ide_service_api.ResolveWorkspaceConfigRequest.user:type_name -> ide_service_api.User
559
3, // 3: ide_service_api.ResolveWorkspaceConfigResponse.envvars:type_name -> ide_service_api.EnvironmentVariable
560
1, // 4: ide_service_api.IDEService.GetConfig:input_type -> ide_service_api.GetConfigRequest
561
5, // 5: ide_service_api.IDEService.ResolveWorkspaceConfig:input_type -> ide_service_api.ResolveWorkspaceConfigRequest
562
2, // 6: ide_service_api.IDEService.GetConfig:output_type -> ide_service_api.GetConfigResponse
563
6, // 7: ide_service_api.IDEService.ResolveWorkspaceConfig:output_type -> ide_service_api.ResolveWorkspaceConfigResponse
564
6, // [6:8] is the sub-list for method output_type
565
4, // [4:6] is the sub-list for method input_type
566
4, // [4:4] is the sub-list for extension type_name
567
4, // [4:4] is the sub-list for extension extendee
568
0, // [0:4] is the sub-list for field type_name
569
}
570
571
func init() { file_ide_proto_init() }
572
func file_ide_proto_init() {
573
if File_ide_proto != nil {
574
return
575
}
576
if !protoimpl.UnsafeEnabled {
577
file_ide_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
578
switch v := v.(*GetConfigRequest); i {
579
case 0:
580
return &v.state
581
case 1:
582
return &v.sizeCache
583
case 2:
584
return &v.unknownFields
585
default:
586
return nil
587
}
588
}
589
file_ide_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
590
switch v := v.(*GetConfigResponse); i {
591
case 0:
592
return &v.state
593
case 1:
594
return &v.sizeCache
595
case 2:
596
return &v.unknownFields
597
default:
598
return nil
599
}
600
}
601
file_ide_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
602
switch v := v.(*EnvironmentVariable); i {
603
case 0:
604
return &v.state
605
case 1:
606
return &v.sizeCache
607
case 2:
608
return &v.unknownFields
609
default:
610
return nil
611
}
612
}
613
file_ide_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
614
switch v := v.(*User); i {
615
case 0:
616
return &v.state
617
case 1:
618
return &v.sizeCache
619
case 2:
620
return &v.unknownFields
621
default:
622
return nil
623
}
624
}
625
file_ide_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
626
switch v := v.(*ResolveWorkspaceConfigRequest); i {
627
case 0:
628
return &v.state
629
case 1:
630
return &v.sizeCache
631
case 2:
632
return &v.unknownFields
633
default:
634
return nil
635
}
636
}
637
file_ide_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
638
switch v := v.(*ResolveWorkspaceConfigResponse); i {
639
case 0:
640
return &v.state
641
case 1:
642
return &v.sizeCache
643
case 2:
644
return &v.unknownFields
645
default:
646
return nil
647
}
648
}
649
}
650
file_ide_proto_msgTypes[3].OneofWrappers = []interface{}{}
651
type x struct{}
652
out := protoimpl.TypeBuilder{
653
File: protoimpl.DescBuilder{
654
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
655
RawDescriptor: file_ide_proto_rawDesc,
656
NumEnums: 1,
657
NumMessages: 6,
658
NumExtensions: 0,
659
NumServices: 1,
660
},
661
GoTypes: file_ide_proto_goTypes,
662
DependencyIndexes: file_ide_proto_depIdxs,
663
EnumInfos: file_ide_proto_enumTypes,
664
MessageInfos: file_ide_proto_msgTypes,
665
}.Build()
666
File_ide_proto = out.File
667
file_ide_proto_rawDesc = nil
668
file_ide_proto_goTypes = nil
669
file_ide_proto_depIdxs = nil
670
}
671
672