Path: blob/main/components/public-api/go/v1/editor.pb.go
2500 views
// Copyright (c) 2025 Gitpod GmbH. All rights reserved.1// Licensed under the GNU Affero General Public License (AGPL).2// See License.AGPL.txt in the project root for license information.34// Code generated by protoc-gen-go. DO NOT EDIT.5// versions:6// protoc-gen-go v1.28.17// protoc (unknown)8// source: gitpod/v1/editor.proto910package v11112import (13protoreflect "google.golang.org/protobuf/reflect/protoreflect"14protoimpl "google.golang.org/protobuf/runtime/protoimpl"15reflect "reflect"16sync "sync"17)1819const (20// Verify that this generated code is sufficiently up-to-date.21_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)22// Verify that runtime/protoimpl is sufficiently up-to-date.23_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)24)2526type EditorReference struct {27state protoimpl.MessageState28sizeCache protoimpl.SizeCache29unknownFields protoimpl.UnknownFields3031Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`32Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`33// prefer_toolbox indicates whether the editor should be launched with the34// JetBrains Toolbox instead of JetBrains Gateway35PreferToolbox bool `protobuf:"varint,3,opt,name=prefer_toolbox,json=preferToolbox,proto3" json:"prefer_toolbox,omitempty"`36}3738func (x *EditorReference) Reset() {39*x = EditorReference{}40if protoimpl.UnsafeEnabled {41mi := &file_gitpod_v1_editor_proto_msgTypes[0]42ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))43ms.StoreMessageInfo(mi)44}45}4647func (x *EditorReference) String() string {48return protoimpl.X.MessageStringOf(x)49}5051func (*EditorReference) ProtoMessage() {}5253func (x *EditorReference) ProtoReflect() protoreflect.Message {54mi := &file_gitpod_v1_editor_proto_msgTypes[0]55if protoimpl.UnsafeEnabled && x != nil {56ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))57if ms.LoadMessageInfo() == nil {58ms.StoreMessageInfo(mi)59}60return ms61}62return mi.MessageOf(x)63}6465// Deprecated: Use EditorReference.ProtoReflect.Descriptor instead.66func (*EditorReference) Descriptor() ([]byte, []int) {67return file_gitpod_v1_editor_proto_rawDescGZIP(), []int{0}68}6970func (x *EditorReference) GetName() string {71if x != nil {72return x.Name73}74return ""75}7677func (x *EditorReference) GetVersion() string {78if x != nil {79return x.Version80}81return ""82}8384func (x *EditorReference) GetPreferToolbox() bool {85if x != nil {86return x.PreferToolbox87}88return false89}9091var File_gitpod_v1_editor_proto protoreflect.FileDescriptor9293var file_gitpod_v1_editor_proto_rawDesc = []byte{940x0a, 0x16, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x64, 0x69, 0x74,950x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64,960x2e, 0x76, 0x31, 0x22, 0x66, 0x0a, 0x0f, 0x45, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x66,970x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,980x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65,990x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72,1000x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x5f, 0x74,1010x6f, 0x6f, 0x6c, 0x62, 0x6f, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x70, 0x72,1020x65, 0x66, 0x65, 0x72, 0x54, 0x6f, 0x6f, 0x6c, 0x62, 0x6f, 0x78, 0x42, 0x51, 0x0a, 0x16, 0x69,1030x6f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x61,1040x70, 0x69, 0x2e, 0x76, 0x31, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,1050x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70,1060x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x70, 0x75,1070x62, 0x6c, 0x69, 0x63, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06,1080x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,109}110111var (112file_gitpod_v1_editor_proto_rawDescOnce sync.Once113file_gitpod_v1_editor_proto_rawDescData = file_gitpod_v1_editor_proto_rawDesc114)115116func file_gitpod_v1_editor_proto_rawDescGZIP() []byte {117file_gitpod_v1_editor_proto_rawDescOnce.Do(func() {118file_gitpod_v1_editor_proto_rawDescData = protoimpl.X.CompressGZIP(file_gitpod_v1_editor_proto_rawDescData)119})120return file_gitpod_v1_editor_proto_rawDescData121}122123var file_gitpod_v1_editor_proto_msgTypes = make([]protoimpl.MessageInfo, 1)124var file_gitpod_v1_editor_proto_goTypes = []interface{}{125(*EditorReference)(nil), // 0: gitpod.v1.EditorReference126}127var file_gitpod_v1_editor_proto_depIdxs = []int32{1280, // [0:0] is the sub-list for method output_type1290, // [0:0] is the sub-list for method input_type1300, // [0:0] is the sub-list for extension type_name1310, // [0:0] is the sub-list for extension extendee1320, // [0:0] is the sub-list for field type_name133}134135func init() { file_gitpod_v1_editor_proto_init() }136func file_gitpod_v1_editor_proto_init() {137if File_gitpod_v1_editor_proto != nil {138return139}140if !protoimpl.UnsafeEnabled {141file_gitpod_v1_editor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {142switch v := v.(*EditorReference); i {143case 0:144return &v.state145case 1:146return &v.sizeCache147case 2:148return &v.unknownFields149default:150return nil151}152}153}154type x struct{}155out := protoimpl.TypeBuilder{156File: protoimpl.DescBuilder{157GoPackagePath: reflect.TypeOf(x{}).PkgPath(),158RawDescriptor: file_gitpod_v1_editor_proto_rawDesc,159NumEnums: 0,160NumMessages: 1,161NumExtensions: 0,162NumServices: 0,163},164GoTypes: file_gitpod_v1_editor_proto_goTypes,165DependencyIndexes: file_gitpod_v1_editor_proto_depIdxs,166MessageInfos: file_gitpod_v1_editor_proto_msgTypes,167}.Build()168File_gitpod_v1_editor_proto = out.File169file_gitpod_v1_editor_proto_rawDesc = nil170file_gitpod_v1_editor_proto_goTypes = nil171file_gitpod_v1_editor_proto_depIdxs = nil172}173174175