Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/public-api/go/v1/editor.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/editor.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
type EditorReference struct {
28
state protoimpl.MessageState
29
sizeCache protoimpl.SizeCache
30
unknownFields protoimpl.UnknownFields
31
32
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
33
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
34
// prefer_toolbox indicates whether the editor should be launched with the
35
// JetBrains Toolbox instead of JetBrains Gateway
36
PreferToolbox bool `protobuf:"varint,3,opt,name=prefer_toolbox,json=preferToolbox,proto3" json:"prefer_toolbox,omitempty"`
37
}
38
39
func (x *EditorReference) Reset() {
40
*x = EditorReference{}
41
if protoimpl.UnsafeEnabled {
42
mi := &file_gitpod_v1_editor_proto_msgTypes[0]
43
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
44
ms.StoreMessageInfo(mi)
45
}
46
}
47
48
func (x *EditorReference) String() string {
49
return protoimpl.X.MessageStringOf(x)
50
}
51
52
func (*EditorReference) ProtoMessage() {}
53
54
func (x *EditorReference) ProtoReflect() protoreflect.Message {
55
mi := &file_gitpod_v1_editor_proto_msgTypes[0]
56
if protoimpl.UnsafeEnabled && x != nil {
57
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
58
if ms.LoadMessageInfo() == nil {
59
ms.StoreMessageInfo(mi)
60
}
61
return ms
62
}
63
return mi.MessageOf(x)
64
}
65
66
// Deprecated: Use EditorReference.ProtoReflect.Descriptor instead.
67
func (*EditorReference) Descriptor() ([]byte, []int) {
68
return file_gitpod_v1_editor_proto_rawDescGZIP(), []int{0}
69
}
70
71
func (x *EditorReference) GetName() string {
72
if x != nil {
73
return x.Name
74
}
75
return ""
76
}
77
78
func (x *EditorReference) GetVersion() string {
79
if x != nil {
80
return x.Version
81
}
82
return ""
83
}
84
85
func (x *EditorReference) GetPreferToolbox() bool {
86
if x != nil {
87
return x.PreferToolbox
88
}
89
return false
90
}
91
92
var File_gitpod_v1_editor_proto protoreflect.FileDescriptor
93
94
var file_gitpod_v1_editor_proto_rawDesc = []byte{
95
0x0a, 0x16, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x64, 0x69, 0x74,
96
0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64,
97
0x2e, 0x76, 0x31, 0x22, 0x66, 0x0a, 0x0f, 0x45, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x66,
98
0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
99
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65,
100
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72,
101
0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x5f, 0x74,
102
0x6f, 0x6f, 0x6c, 0x62, 0x6f, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x70, 0x72,
103
0x65, 0x66, 0x65, 0x72, 0x54, 0x6f, 0x6f, 0x6c, 0x62, 0x6f, 0x78, 0x42, 0x51, 0x0a, 0x16, 0x69,
104
0x6f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x61,
105
0x70, 0x69, 0x2e, 0x76, 0x31, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
106
0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70,
107
0x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x70, 0x75,
108
0x62, 0x6c, 0x69, 0x63, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06,
109
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
110
}
111
112
var (
113
file_gitpod_v1_editor_proto_rawDescOnce sync.Once
114
file_gitpod_v1_editor_proto_rawDescData = file_gitpod_v1_editor_proto_rawDesc
115
)
116
117
func file_gitpod_v1_editor_proto_rawDescGZIP() []byte {
118
file_gitpod_v1_editor_proto_rawDescOnce.Do(func() {
119
file_gitpod_v1_editor_proto_rawDescData = protoimpl.X.CompressGZIP(file_gitpod_v1_editor_proto_rawDescData)
120
})
121
return file_gitpod_v1_editor_proto_rawDescData
122
}
123
124
var file_gitpod_v1_editor_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
125
var file_gitpod_v1_editor_proto_goTypes = []interface{}{
126
(*EditorReference)(nil), // 0: gitpod.v1.EditorReference
127
}
128
var file_gitpod_v1_editor_proto_depIdxs = []int32{
129
0, // [0:0] is the sub-list for method output_type
130
0, // [0:0] is the sub-list for method input_type
131
0, // [0:0] is the sub-list for extension type_name
132
0, // [0:0] is the sub-list for extension extendee
133
0, // [0:0] is the sub-list for field type_name
134
}
135
136
func init() { file_gitpod_v1_editor_proto_init() }
137
func file_gitpod_v1_editor_proto_init() {
138
if File_gitpod_v1_editor_proto != nil {
139
return
140
}
141
if !protoimpl.UnsafeEnabled {
142
file_gitpod_v1_editor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
143
switch v := v.(*EditorReference); i {
144
case 0:
145
return &v.state
146
case 1:
147
return &v.sizeCache
148
case 2:
149
return &v.unknownFields
150
default:
151
return nil
152
}
153
}
154
}
155
type x struct{}
156
out := protoimpl.TypeBuilder{
157
File: protoimpl.DescBuilder{
158
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
159
RawDescriptor: file_gitpod_v1_editor_proto_rawDesc,
160
NumEnums: 0,
161
NumMessages: 1,
162
NumExtensions: 0,
163
NumServices: 0,
164
},
165
GoTypes: file_gitpod_v1_editor_proto_goTypes,
166
DependencyIndexes: file_gitpod_v1_editor_proto_depIdxs,
167
MessageInfos: file_gitpod_v1_editor_proto_msgTypes,
168
}.Build()
169
File_gitpod_v1_editor_proto = out.File
170
file_gitpod_v1_editor_proto_rawDesc = nil
171
file_gitpod_v1_editor_proto_goTypes = nil
172
file_gitpod_v1_editor_proto_depIdxs = nil
173
}
174
175