Path: blob/main/components/content-service-api/go/ideplugin.pb.go
2498 views
// Copyright (c) 2021 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: ideplugin.proto910package api1112import (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 PluginUploadURLRequest struct {27state protoimpl.MessageState28sizeCache protoimpl.SizeCache29unknownFields protoimpl.UnknownFields3031Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`32Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`33}3435func (x *PluginUploadURLRequest) Reset() {36*x = PluginUploadURLRequest{}37if protoimpl.UnsafeEnabled {38mi := &file_ideplugin_proto_msgTypes[0]39ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))40ms.StoreMessageInfo(mi)41}42}4344func (x *PluginUploadURLRequest) String() string {45return protoimpl.X.MessageStringOf(x)46}4748func (*PluginUploadURLRequest) ProtoMessage() {}4950func (x *PluginUploadURLRequest) ProtoReflect() protoreflect.Message {51mi := &file_ideplugin_proto_msgTypes[0]52if protoimpl.UnsafeEnabled && x != nil {53ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))54if ms.LoadMessageInfo() == nil {55ms.StoreMessageInfo(mi)56}57return ms58}59return mi.MessageOf(x)60}6162// Deprecated: Use PluginUploadURLRequest.ProtoReflect.Descriptor instead.63func (*PluginUploadURLRequest) Descriptor() ([]byte, []int) {64return file_ideplugin_proto_rawDescGZIP(), []int{0}65}6667func (x *PluginUploadURLRequest) GetBucket() string {68if x != nil {69return x.Bucket70}71return ""72}7374func (x *PluginUploadURLRequest) GetName() string {75if x != nil {76return x.Name77}78return ""79}8081type PluginUploadURLResponse struct {82state protoimpl.MessageState83sizeCache protoimpl.SizeCache84unknownFields protoimpl.UnknownFields8586Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`87}8889func (x *PluginUploadURLResponse) Reset() {90*x = PluginUploadURLResponse{}91if protoimpl.UnsafeEnabled {92mi := &file_ideplugin_proto_msgTypes[1]93ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))94ms.StoreMessageInfo(mi)95}96}9798func (x *PluginUploadURLResponse) String() string {99return protoimpl.X.MessageStringOf(x)100}101102func (*PluginUploadURLResponse) ProtoMessage() {}103104func (x *PluginUploadURLResponse) ProtoReflect() protoreflect.Message {105mi := &file_ideplugin_proto_msgTypes[1]106if protoimpl.UnsafeEnabled && x != nil {107ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))108if ms.LoadMessageInfo() == nil {109ms.StoreMessageInfo(mi)110}111return ms112}113return mi.MessageOf(x)114}115116// Deprecated: Use PluginUploadURLResponse.ProtoReflect.Descriptor instead.117func (*PluginUploadURLResponse) Descriptor() ([]byte, []int) {118return file_ideplugin_proto_rawDescGZIP(), []int{1}119}120121func (x *PluginUploadURLResponse) GetUrl() string {122if x != nil {123return x.Url124}125return ""126}127128type PluginDownloadURLRequest struct {129state protoimpl.MessageState130sizeCache protoimpl.SizeCache131unknownFields protoimpl.UnknownFields132133Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`134Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`135}136137func (x *PluginDownloadURLRequest) Reset() {138*x = PluginDownloadURLRequest{}139if protoimpl.UnsafeEnabled {140mi := &file_ideplugin_proto_msgTypes[2]141ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))142ms.StoreMessageInfo(mi)143}144}145146func (x *PluginDownloadURLRequest) String() string {147return protoimpl.X.MessageStringOf(x)148}149150func (*PluginDownloadURLRequest) ProtoMessage() {}151152func (x *PluginDownloadURLRequest) ProtoReflect() protoreflect.Message {153mi := &file_ideplugin_proto_msgTypes[2]154if protoimpl.UnsafeEnabled && x != nil {155ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))156if ms.LoadMessageInfo() == nil {157ms.StoreMessageInfo(mi)158}159return ms160}161return mi.MessageOf(x)162}163164// Deprecated: Use PluginDownloadURLRequest.ProtoReflect.Descriptor instead.165func (*PluginDownloadURLRequest) Descriptor() ([]byte, []int) {166return file_ideplugin_proto_rawDescGZIP(), []int{2}167}168169func (x *PluginDownloadURLRequest) GetBucket() string {170if x != nil {171return x.Bucket172}173return ""174}175176func (x *PluginDownloadURLRequest) GetName() string {177if x != nil {178return x.Name179}180return ""181}182183type PluginDownloadURLResponse struct {184state protoimpl.MessageState185sizeCache protoimpl.SizeCache186unknownFields protoimpl.UnknownFields187188Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`189}190191func (x *PluginDownloadURLResponse) Reset() {192*x = PluginDownloadURLResponse{}193if protoimpl.UnsafeEnabled {194mi := &file_ideplugin_proto_msgTypes[3]195ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))196ms.StoreMessageInfo(mi)197}198}199200func (x *PluginDownloadURLResponse) String() string {201return protoimpl.X.MessageStringOf(x)202}203204func (*PluginDownloadURLResponse) ProtoMessage() {}205206func (x *PluginDownloadURLResponse) ProtoReflect() protoreflect.Message {207mi := &file_ideplugin_proto_msgTypes[3]208if protoimpl.UnsafeEnabled && x != nil {209ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))210if ms.LoadMessageInfo() == nil {211ms.StoreMessageInfo(mi)212}213return ms214}215return mi.MessageOf(x)216}217218// Deprecated: Use PluginDownloadURLResponse.ProtoReflect.Descriptor instead.219func (*PluginDownloadURLResponse) Descriptor() ([]byte, []int) {220return file_ideplugin_proto_rawDescGZIP(), []int{3}221}222223func (x *PluginDownloadURLResponse) GetUrl() string {224if x != nil {225return x.Url226}227return ""228}229230type PluginHashRequest struct {231state protoimpl.MessageState232sizeCache protoimpl.SizeCache233unknownFields protoimpl.UnknownFields234235Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`236Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`237}238239func (x *PluginHashRequest) Reset() {240*x = PluginHashRequest{}241if protoimpl.UnsafeEnabled {242mi := &file_ideplugin_proto_msgTypes[4]243ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))244ms.StoreMessageInfo(mi)245}246}247248func (x *PluginHashRequest) String() string {249return protoimpl.X.MessageStringOf(x)250}251252func (*PluginHashRequest) ProtoMessage() {}253254func (x *PluginHashRequest) ProtoReflect() protoreflect.Message {255mi := &file_ideplugin_proto_msgTypes[4]256if protoimpl.UnsafeEnabled && x != nil {257ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))258if ms.LoadMessageInfo() == nil {259ms.StoreMessageInfo(mi)260}261return ms262}263return mi.MessageOf(x)264}265266// Deprecated: Use PluginHashRequest.ProtoReflect.Descriptor instead.267func (*PluginHashRequest) Descriptor() ([]byte, []int) {268return file_ideplugin_proto_rawDescGZIP(), []int{4}269}270271func (x *PluginHashRequest) GetBucket() string {272if x != nil {273return x.Bucket274}275return ""276}277278func (x *PluginHashRequest) GetName() string {279if x != nil {280return x.Name281}282return ""283}284285type PluginHashResponse struct {286state protoimpl.MessageState287sizeCache protoimpl.SizeCache288unknownFields protoimpl.UnknownFields289290Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`291}292293func (x *PluginHashResponse) Reset() {294*x = PluginHashResponse{}295if protoimpl.UnsafeEnabled {296mi := &file_ideplugin_proto_msgTypes[5]297ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))298ms.StoreMessageInfo(mi)299}300}301302func (x *PluginHashResponse) String() string {303return protoimpl.X.MessageStringOf(x)304}305306func (*PluginHashResponse) ProtoMessage() {}307308func (x *PluginHashResponse) ProtoReflect() protoreflect.Message {309mi := &file_ideplugin_proto_msgTypes[5]310if protoimpl.UnsafeEnabled && x != nil {311ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))312if ms.LoadMessageInfo() == nil {313ms.StoreMessageInfo(mi)314}315return ms316}317return mi.MessageOf(x)318}319320// Deprecated: Use PluginHashResponse.ProtoReflect.Descriptor instead.321func (*PluginHashResponse) Descriptor() ([]byte, []int) {322return file_ideplugin_proto_rawDescGZIP(), []int{5}323}324325func (x *PluginHashResponse) GetHash() string {326if x != nil {327return x.Hash328}329return ""330}331332var File_ideplugin_proto protoreflect.FileDescriptor333334var file_ideplugin_proto_rawDesc = []byte{3350x0a, 0x0f, 0x69, 0x64, 0x65, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,3360x6f, 0x12, 0x09, 0x69, 0x64, 0x65, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x22, 0x44, 0x0a, 0x16,3370x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, 0x4c, 0x52,3380x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74,3390x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x12,3400x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,3410x6d, 0x65, 0x22, 0x2b, 0x0a, 0x17, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x55, 0x70, 0x6c, 0x6f,3420x61, 0x64, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a,3430x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22,3440x46, 0x0a, 0x18, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61,3450x64, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x62,3460x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63,3470x6b, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,3480x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2d, 0x0a, 0x19, 0x50, 0x6c, 0x75, 0x67, 0x69,3490x6e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70,3500x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,3510x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x3f, 0x0a, 0x11, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e,3520x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x62,3530x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63,3540x6b, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,3550x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x28, 0x0a, 0x12, 0x50, 0x6c, 0x75, 0x67, 0x69,3560x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a,3570x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73,3580x68, 0x32, 0x91, 0x02, 0x0a, 0x10, 0x49, 0x44, 0x45, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x53,3590x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x54, 0x0a, 0x09, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64,3600x55, 0x52, 0x4c, 0x12, 0x21, 0x2e, 0x69, 0x64, 0x65, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e,3610x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, 0x4c, 0x52,3620x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x69, 0x64, 0x65, 0x70, 0x6c, 0x75, 0x67,3630x69, 0x6e, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55,3640x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x0b,3650x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, 0x4c, 0x12, 0x23, 0x2e, 0x69, 0x64,3660x65, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x44, 0x6f,3670x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,3680x1a, 0x24, 0x2e, 0x69, 0x64, 0x65, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x75,3690x67, 0x69, 0x6e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, 0x4c, 0x52, 0x65,3700x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x0a, 0x50, 0x6c, 0x75, 0x67,3710x69, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1c, 0x2e, 0x69, 0x64, 0x65, 0x70, 0x6c, 0x75, 0x67,3720x69, 0x6e, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71,3730x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x69, 0x64, 0x65, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e,3740x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f,3750x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x31, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,3760x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69,3770x74, 0x70, 0x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x73, 0x65, 0x72,3780x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,379}380381var (382file_ideplugin_proto_rawDescOnce sync.Once383file_ideplugin_proto_rawDescData = file_ideplugin_proto_rawDesc384)385386func file_ideplugin_proto_rawDescGZIP() []byte {387file_ideplugin_proto_rawDescOnce.Do(func() {388file_ideplugin_proto_rawDescData = protoimpl.X.CompressGZIP(file_ideplugin_proto_rawDescData)389})390return file_ideplugin_proto_rawDescData391}392393var file_ideplugin_proto_msgTypes = make([]protoimpl.MessageInfo, 6)394var file_ideplugin_proto_goTypes = []interface{}{395(*PluginUploadURLRequest)(nil), // 0: ideplugin.PluginUploadURLRequest396(*PluginUploadURLResponse)(nil), // 1: ideplugin.PluginUploadURLResponse397(*PluginDownloadURLRequest)(nil), // 2: ideplugin.PluginDownloadURLRequest398(*PluginDownloadURLResponse)(nil), // 3: ideplugin.PluginDownloadURLResponse399(*PluginHashRequest)(nil), // 4: ideplugin.PluginHashRequest400(*PluginHashResponse)(nil), // 5: ideplugin.PluginHashResponse401}402var file_ideplugin_proto_depIdxs = []int32{4030, // 0: ideplugin.IDEPluginService.UploadURL:input_type -> ideplugin.PluginUploadURLRequest4042, // 1: ideplugin.IDEPluginService.DownloadURL:input_type -> ideplugin.PluginDownloadURLRequest4054, // 2: ideplugin.IDEPluginService.PluginHash:input_type -> ideplugin.PluginHashRequest4061, // 3: ideplugin.IDEPluginService.UploadURL:output_type -> ideplugin.PluginUploadURLResponse4073, // 4: ideplugin.IDEPluginService.DownloadURL:output_type -> ideplugin.PluginDownloadURLResponse4085, // 5: ideplugin.IDEPluginService.PluginHash:output_type -> ideplugin.PluginHashResponse4093, // [3:6] is the sub-list for method output_type4100, // [0:3] is the sub-list for method input_type4110, // [0:0] is the sub-list for extension type_name4120, // [0:0] is the sub-list for extension extendee4130, // [0:0] is the sub-list for field type_name414}415416func init() { file_ideplugin_proto_init() }417func file_ideplugin_proto_init() {418if File_ideplugin_proto != nil {419return420}421if !protoimpl.UnsafeEnabled {422file_ideplugin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {423switch v := v.(*PluginUploadURLRequest); i {424case 0:425return &v.state426case 1:427return &v.sizeCache428case 2:429return &v.unknownFields430default:431return nil432}433}434file_ideplugin_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {435switch v := v.(*PluginUploadURLResponse); i {436case 0:437return &v.state438case 1:439return &v.sizeCache440case 2:441return &v.unknownFields442default:443return nil444}445}446file_ideplugin_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {447switch v := v.(*PluginDownloadURLRequest); i {448case 0:449return &v.state450case 1:451return &v.sizeCache452case 2:453return &v.unknownFields454default:455return nil456}457}458file_ideplugin_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {459switch v := v.(*PluginDownloadURLResponse); i {460case 0:461return &v.state462case 1:463return &v.sizeCache464case 2:465return &v.unknownFields466default:467return nil468}469}470file_ideplugin_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {471switch v := v.(*PluginHashRequest); i {472case 0:473return &v.state474case 1:475return &v.sizeCache476case 2:477return &v.unknownFields478default:479return nil480}481}482file_ideplugin_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {483switch v := v.(*PluginHashResponse); i {484case 0:485return &v.state486case 1:487return &v.sizeCache488case 2:489return &v.unknownFields490default:491return nil492}493}494}495type x struct{}496out := protoimpl.TypeBuilder{497File: protoimpl.DescBuilder{498GoPackagePath: reflect.TypeOf(x{}).PkgPath(),499RawDescriptor: file_ideplugin_proto_rawDesc,500NumEnums: 0,501NumMessages: 6,502NumExtensions: 0,503NumServices: 1,504},505GoTypes: file_ideplugin_proto_goTypes,506DependencyIndexes: file_ideplugin_proto_depIdxs,507MessageInfos: file_ideplugin_proto_msgTypes,508}.Build()509File_ideplugin_proto = out.File510file_ideplugin_proto_rawDesc = nil511file_ideplugin_proto_goTypes = nil512file_ideplugin_proto_depIdxs = nil513}514515516