Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/public-api/go/experimental/v1/editor_service.pb.go
2501 views
1
// Copyright (c) 2025 Gitpod GmbH. All rights reserved.
2
// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
// Code generated by protoc-gen-go. DO NOT EDIT.
6
// versions:
7
// protoc-gen-go v1.28.1
8
// protoc (unknown)
9
// source: gitpod/experimental/v1/editor_service.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
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
// The type of the editor, currently browser or desktop.
28
type EditorOption_Type int32
29
30
const (
31
EditorOption_TYPE_UNSPECIFIED EditorOption_Type = 0
32
EditorOption_TYPE_BROWSER EditorOption_Type = 1
33
EditorOption_TYPE_DESKTOP EditorOption_Type = 2
34
)
35
36
// Enum value maps for EditorOption_Type.
37
var (
38
EditorOption_Type_name = map[int32]string{
39
0: "TYPE_UNSPECIFIED",
40
1: "TYPE_BROWSER",
41
2: "TYPE_DESKTOP",
42
}
43
EditorOption_Type_value = map[string]int32{
44
"TYPE_UNSPECIFIED": 0,
45
"TYPE_BROWSER": 1,
46
"TYPE_DESKTOP": 2,
47
}
48
)
49
50
func (x EditorOption_Type) Enum() *EditorOption_Type {
51
p := new(EditorOption_Type)
52
*p = x
53
return p
54
}
55
56
func (x EditorOption_Type) String() string {
57
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
58
}
59
60
func (EditorOption_Type) Descriptor() protoreflect.EnumDescriptor {
61
return file_gitpod_experimental_v1_editor_service_proto_enumTypes[0].Descriptor()
62
}
63
64
func (EditorOption_Type) Type() protoreflect.EnumType {
65
return &file_gitpod_experimental_v1_editor_service_proto_enumTypes[0]
66
}
67
68
func (x EditorOption_Type) Number() protoreflect.EnumNumber {
69
return protoreflect.EnumNumber(x)
70
}
71
72
// Deprecated: Use EditorOption_Type.Descriptor instead.
73
func (EditorOption_Type) EnumDescriptor() ([]byte, []int) {
74
return file_gitpod_experimental_v1_editor_service_proto_rawDescGZIP(), []int{2, 0}
75
}
76
77
type ListEditorOptionsRequest struct {
78
state protoimpl.MessageState
79
sizeCache protoimpl.SizeCache
80
unknownFields protoimpl.UnknownFields
81
}
82
83
func (x *ListEditorOptionsRequest) Reset() {
84
*x = ListEditorOptionsRequest{}
85
if protoimpl.UnsafeEnabled {
86
mi := &file_gitpod_experimental_v1_editor_service_proto_msgTypes[0]
87
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
88
ms.StoreMessageInfo(mi)
89
}
90
}
91
92
func (x *ListEditorOptionsRequest) String() string {
93
return protoimpl.X.MessageStringOf(x)
94
}
95
96
func (*ListEditorOptionsRequest) ProtoMessage() {}
97
98
func (x *ListEditorOptionsRequest) ProtoReflect() protoreflect.Message {
99
mi := &file_gitpod_experimental_v1_editor_service_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 ListEditorOptionsRequest.ProtoReflect.Descriptor instead.
111
func (*ListEditorOptionsRequest) Descriptor() ([]byte, []int) {
112
return file_gitpod_experimental_v1_editor_service_proto_rawDescGZIP(), []int{0}
113
}
114
115
type ListEditorOptionsResponse struct {
116
state protoimpl.MessageState
117
sizeCache protoimpl.SizeCache
118
unknownFields protoimpl.UnknownFields
119
120
Result []*EditorOption `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
121
}
122
123
func (x *ListEditorOptionsResponse) Reset() {
124
*x = ListEditorOptionsResponse{}
125
if protoimpl.UnsafeEnabled {
126
mi := &file_gitpod_experimental_v1_editor_service_proto_msgTypes[1]
127
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
128
ms.StoreMessageInfo(mi)
129
}
130
}
131
132
func (x *ListEditorOptionsResponse) String() string {
133
return protoimpl.X.MessageStringOf(x)
134
}
135
136
func (*ListEditorOptionsResponse) ProtoMessage() {}
137
138
func (x *ListEditorOptionsResponse) ProtoReflect() protoreflect.Message {
139
mi := &file_gitpod_experimental_v1_editor_service_proto_msgTypes[1]
140
if protoimpl.UnsafeEnabled && x != nil {
141
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
142
if ms.LoadMessageInfo() == nil {
143
ms.StoreMessageInfo(mi)
144
}
145
return ms
146
}
147
return mi.MessageOf(x)
148
}
149
150
// Deprecated: Use ListEditorOptionsResponse.ProtoReflect.Descriptor instead.
151
func (*ListEditorOptionsResponse) Descriptor() ([]byte, []int) {
152
return file_gitpod_experimental_v1_editor_service_proto_rawDescGZIP(), []int{1}
153
}
154
155
func (x *ListEditorOptionsResponse) GetResult() []*EditorOption {
156
if x != nil {
157
return x.Result
158
}
159
return nil
160
}
161
162
type EditorOption struct {
163
state protoimpl.MessageState
164
sizeCache protoimpl.SizeCache
165
unknownFields protoimpl.UnknownFields
166
167
// The unique identifier for an editor.
168
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
169
// Human readable title text of the editor (plain text only).
170
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
171
Type EditorOption_Type `protobuf:"varint,3,opt,name=type,proto3,enum=gitpod.experimental.v1.EditorOption_Type" json:"type,omitempty"`
172
// The logo for the editor
173
Logo string `protobuf:"bytes,4,opt,name=logo,proto3" json:"logo,omitempty"`
174
// Text of an optional label next to the editor option like “Insiders” (plain
175
// text only).
176
Label string `protobuf:"bytes,5,opt,name=label,proto3" json:"label,omitempty"`
177
Stable *EditorOption_Kind `protobuf:"bytes,6,opt,name=stable,proto3" json:"stable,omitempty"`
178
Latest *EditorOption_Kind `protobuf:"bytes,7,opt,name=latest,proto3" json:"latest,omitempty"`
179
}
180
181
func (x *EditorOption) Reset() {
182
*x = EditorOption{}
183
if protoimpl.UnsafeEnabled {
184
mi := &file_gitpod_experimental_v1_editor_service_proto_msgTypes[2]
185
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
186
ms.StoreMessageInfo(mi)
187
}
188
}
189
190
func (x *EditorOption) String() string {
191
return protoimpl.X.MessageStringOf(x)
192
}
193
194
func (*EditorOption) ProtoMessage() {}
195
196
func (x *EditorOption) ProtoReflect() protoreflect.Message {
197
mi := &file_gitpod_experimental_v1_editor_service_proto_msgTypes[2]
198
if protoimpl.UnsafeEnabled && x != nil {
199
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
200
if ms.LoadMessageInfo() == nil {
201
ms.StoreMessageInfo(mi)
202
}
203
return ms
204
}
205
return mi.MessageOf(x)
206
}
207
208
// Deprecated: Use EditorOption.ProtoReflect.Descriptor instead.
209
func (*EditorOption) Descriptor() ([]byte, []int) {
210
return file_gitpod_experimental_v1_editor_service_proto_rawDescGZIP(), []int{2}
211
}
212
213
func (x *EditorOption) GetId() string {
214
if x != nil {
215
return x.Id
216
}
217
return ""
218
}
219
220
func (x *EditorOption) GetTitle() string {
221
if x != nil {
222
return x.Title
223
}
224
return ""
225
}
226
227
func (x *EditorOption) GetType() EditorOption_Type {
228
if x != nil {
229
return x.Type
230
}
231
return EditorOption_TYPE_UNSPECIFIED
232
}
233
234
func (x *EditorOption) GetLogo() string {
235
if x != nil {
236
return x.Logo
237
}
238
return ""
239
}
240
241
func (x *EditorOption) GetLabel() string {
242
if x != nil {
243
return x.Label
244
}
245
return ""
246
}
247
248
func (x *EditorOption) GetStable() *EditorOption_Kind {
249
if x != nil {
250
return x.Stable
251
}
252
return nil
253
}
254
255
func (x *EditorOption) GetLatest() *EditorOption_Kind {
256
if x != nil {
257
return x.Latest
258
}
259
return nil
260
}
261
262
type EditorOption_Kind struct {
263
state protoimpl.MessageState
264
sizeCache protoimpl.SizeCache
265
unknownFields protoimpl.UnknownFields
266
267
// The semantic version of the editor.
268
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
269
}
270
271
func (x *EditorOption_Kind) Reset() {
272
*x = EditorOption_Kind{}
273
if protoimpl.UnsafeEnabled {
274
mi := &file_gitpod_experimental_v1_editor_service_proto_msgTypes[3]
275
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
276
ms.StoreMessageInfo(mi)
277
}
278
}
279
280
func (x *EditorOption_Kind) String() string {
281
return protoimpl.X.MessageStringOf(x)
282
}
283
284
func (*EditorOption_Kind) ProtoMessage() {}
285
286
func (x *EditorOption_Kind) ProtoReflect() protoreflect.Message {
287
mi := &file_gitpod_experimental_v1_editor_service_proto_msgTypes[3]
288
if protoimpl.UnsafeEnabled && x != nil {
289
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
290
if ms.LoadMessageInfo() == nil {
291
ms.StoreMessageInfo(mi)
292
}
293
return ms
294
}
295
return mi.MessageOf(x)
296
}
297
298
// Deprecated: Use EditorOption_Kind.ProtoReflect.Descriptor instead.
299
func (*EditorOption_Kind) Descriptor() ([]byte, []int) {
300
return file_gitpod_experimental_v1_editor_service_proto_rawDescGZIP(), []int{2, 0}
301
}
302
303
func (x *EditorOption_Kind) GetVersion() string {
304
if x != nil {
305
return x.Version
306
}
307
return ""
308
}
309
310
var File_gitpod_experimental_v1_editor_service_proto protoreflect.FileDescriptor
311
312
var file_gitpod_experimental_v1_editor_service_proto_rawDesc = []byte{
313
0x0a, 0x2b, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d,
314
0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x5f,
315
0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67,
316
0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74,
317
0x61, 0x6c, 0x2e, 0x76, 0x31, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x64, 0x69,
318
0x74, 0x6f, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
319
0x74, 0x22, 0x59, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x4f,
320
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c,
321
0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24,
322
0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65,
323
0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x4f, 0x70,
324
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x87, 0x03, 0x0a,
325
0x0c, 0x45, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a,
326
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a,
327
0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69,
328
0x74, 0x6c, 0x65, 0x12, 0x3d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
329
0x0e, 0x32, 0x29, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72,
330
0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x6f,
331
0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79,
332
0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
333
0x52, 0x04, 0x6c, 0x6f, 0x67, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18,
334
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x41, 0x0a, 0x06,
335
0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67,
336
0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74,
337
0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x4f, 0x70, 0x74, 0x69,
338
0x6f, 0x6e, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12,
339
0x41, 0x0a, 0x06, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
340
0x29, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d,
341
0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x4f,
342
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x6c, 0x61, 0x74, 0x65,
343
0x73, 0x74, 0x1a, 0x20, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65,
344
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72,
345
0x73, 0x69, 0x6f, 0x6e, 0x22, 0x40, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10,
346
0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
347
0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x52, 0x4f, 0x57, 0x53,
348
0x45, 0x52, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x53,
349
0x4b, 0x54, 0x4f, 0x50, 0x10, 0x02, 0x32, 0x8b, 0x01, 0x0a, 0x0d, 0x45, 0x64, 0x69, 0x74, 0x6f,
350
0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7a, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74,
351
0x45, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x2e,
352
0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e,
353
0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x64, 0x69, 0x74, 0x6f,
354
0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
355
0x31, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d,
356
0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x64, 0x69,
357
0x74, 0x6f, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
358
0x73, 0x65, 0x22, 0x00, 0x42, 0x6b, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f,
359
0x64, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x65,
360
0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x5a, 0x44, 0x67, 0x69, 0x74,
361
0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69,
362
0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65,
363
0x6e, 0x74, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x67,
364
0x6f, 0x2f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2f, 0x76,
365
0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
366
}
367
368
var (
369
file_gitpod_experimental_v1_editor_service_proto_rawDescOnce sync.Once
370
file_gitpod_experimental_v1_editor_service_proto_rawDescData = file_gitpod_experimental_v1_editor_service_proto_rawDesc
371
)
372
373
func file_gitpod_experimental_v1_editor_service_proto_rawDescGZIP() []byte {
374
file_gitpod_experimental_v1_editor_service_proto_rawDescOnce.Do(func() {
375
file_gitpod_experimental_v1_editor_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_gitpod_experimental_v1_editor_service_proto_rawDescData)
376
})
377
return file_gitpod_experimental_v1_editor_service_proto_rawDescData
378
}
379
380
var file_gitpod_experimental_v1_editor_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
381
var file_gitpod_experimental_v1_editor_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
382
var file_gitpod_experimental_v1_editor_service_proto_goTypes = []interface{}{
383
(EditorOption_Type)(0), // 0: gitpod.experimental.v1.EditorOption.Type
384
(*ListEditorOptionsRequest)(nil), // 1: gitpod.experimental.v1.ListEditorOptionsRequest
385
(*ListEditorOptionsResponse)(nil), // 2: gitpod.experimental.v1.ListEditorOptionsResponse
386
(*EditorOption)(nil), // 3: gitpod.experimental.v1.EditorOption
387
(*EditorOption_Kind)(nil), // 4: gitpod.experimental.v1.EditorOption.Kind
388
}
389
var file_gitpod_experimental_v1_editor_service_proto_depIdxs = []int32{
390
3, // 0: gitpod.experimental.v1.ListEditorOptionsResponse.result:type_name -> gitpod.experimental.v1.EditorOption
391
0, // 1: gitpod.experimental.v1.EditorOption.type:type_name -> gitpod.experimental.v1.EditorOption.Type
392
4, // 2: gitpod.experimental.v1.EditorOption.stable:type_name -> gitpod.experimental.v1.EditorOption.Kind
393
4, // 3: gitpod.experimental.v1.EditorOption.latest:type_name -> gitpod.experimental.v1.EditorOption.Kind
394
1, // 4: gitpod.experimental.v1.EditorService.ListEditorOptions:input_type -> gitpod.experimental.v1.ListEditorOptionsRequest
395
2, // 5: gitpod.experimental.v1.EditorService.ListEditorOptions:output_type -> gitpod.experimental.v1.ListEditorOptionsResponse
396
5, // [5:6] is the sub-list for method output_type
397
4, // [4:5] is the sub-list for method input_type
398
4, // [4:4] is the sub-list for extension type_name
399
4, // [4:4] is the sub-list for extension extendee
400
0, // [0:4] is the sub-list for field type_name
401
}
402
403
func init() { file_gitpod_experimental_v1_editor_service_proto_init() }
404
func file_gitpod_experimental_v1_editor_service_proto_init() {
405
if File_gitpod_experimental_v1_editor_service_proto != nil {
406
return
407
}
408
if !protoimpl.UnsafeEnabled {
409
file_gitpod_experimental_v1_editor_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
410
switch v := v.(*ListEditorOptionsRequest); i {
411
case 0:
412
return &v.state
413
case 1:
414
return &v.sizeCache
415
case 2:
416
return &v.unknownFields
417
default:
418
return nil
419
}
420
}
421
file_gitpod_experimental_v1_editor_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
422
switch v := v.(*ListEditorOptionsResponse); i {
423
case 0:
424
return &v.state
425
case 1:
426
return &v.sizeCache
427
case 2:
428
return &v.unknownFields
429
default:
430
return nil
431
}
432
}
433
file_gitpod_experimental_v1_editor_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
434
switch v := v.(*EditorOption); i {
435
case 0:
436
return &v.state
437
case 1:
438
return &v.sizeCache
439
case 2:
440
return &v.unknownFields
441
default:
442
return nil
443
}
444
}
445
file_gitpod_experimental_v1_editor_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
446
switch v := v.(*EditorOption_Kind); i {
447
case 0:
448
return &v.state
449
case 1:
450
return &v.sizeCache
451
case 2:
452
return &v.unknownFields
453
default:
454
return nil
455
}
456
}
457
}
458
type x struct{}
459
out := protoimpl.TypeBuilder{
460
File: protoimpl.DescBuilder{
461
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
462
RawDescriptor: file_gitpod_experimental_v1_editor_service_proto_rawDesc,
463
NumEnums: 1,
464
NumMessages: 4,
465
NumExtensions: 0,
466
NumServices: 1,
467
},
468
GoTypes: file_gitpod_experimental_v1_editor_service_proto_goTypes,
469
DependencyIndexes: file_gitpod_experimental_v1_editor_service_proto_depIdxs,
470
EnumInfos: file_gitpod_experimental_v1_editor_service_proto_enumTypes,
471
MessageInfos: file_gitpod_experimental_v1_editor_service_proto_msgTypes,
472
}.Build()
473
File_gitpod_experimental_v1_editor_service_proto = out.File
474
file_gitpod_experimental_v1_editor_service_proto_rawDesc = nil
475
file_gitpod_experimental_v1_editor_service_proto_goTypes = nil
476
file_gitpod_experimental_v1_editor_service_proto_depIdxs = nil
477
}
478
479