Path: blob/main/components/registry-facade-api/go/provider.pb.go
2496 views
// Copyright (c) 2023 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 v3.20.18// source: provider.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 GetImageSpecRequest struct {27state protoimpl.MessageState28sizeCache protoimpl.SizeCache29unknownFields protoimpl.UnknownFields3031Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`32}3334func (x *GetImageSpecRequest) Reset() {35*x = GetImageSpecRequest{}36if protoimpl.UnsafeEnabled {37mi := &file_provider_proto_msgTypes[0]38ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))39ms.StoreMessageInfo(mi)40}41}4243func (x *GetImageSpecRequest) String() string {44return protoimpl.X.MessageStringOf(x)45}4647func (*GetImageSpecRequest) ProtoMessage() {}4849func (x *GetImageSpecRequest) ProtoReflect() protoreflect.Message {50mi := &file_provider_proto_msgTypes[0]51if protoimpl.UnsafeEnabled && x != nil {52ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))53if ms.LoadMessageInfo() == nil {54ms.StoreMessageInfo(mi)55}56return ms57}58return mi.MessageOf(x)59}6061// Deprecated: Use GetImageSpecRequest.ProtoReflect.Descriptor instead.62func (*GetImageSpecRequest) Descriptor() ([]byte, []int) {63return file_provider_proto_rawDescGZIP(), []int{0}64}6566func (x *GetImageSpecRequest) GetId() string {67if x != nil {68return x.Id69}70return ""71}7273type GetImageSpecResponse struct {74state protoimpl.MessageState75sizeCache protoimpl.SizeCache76unknownFields protoimpl.UnknownFields7778Spec *ImageSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`79}8081func (x *GetImageSpecResponse) Reset() {82*x = GetImageSpecResponse{}83if protoimpl.UnsafeEnabled {84mi := &file_provider_proto_msgTypes[1]85ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))86ms.StoreMessageInfo(mi)87}88}8990func (x *GetImageSpecResponse) String() string {91return protoimpl.X.MessageStringOf(x)92}9394func (*GetImageSpecResponse) ProtoMessage() {}9596func (x *GetImageSpecResponse) ProtoReflect() protoreflect.Message {97mi := &file_provider_proto_msgTypes[1]98if protoimpl.UnsafeEnabled && x != nil {99ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))100if ms.LoadMessageInfo() == nil {101ms.StoreMessageInfo(mi)102}103return ms104}105return mi.MessageOf(x)106}107108// Deprecated: Use GetImageSpecResponse.ProtoReflect.Descriptor instead.109func (*GetImageSpecResponse) Descriptor() ([]byte, []int) {110return file_provider_proto_rawDescGZIP(), []int{1}111}112113func (x *GetImageSpecResponse) GetSpec() *ImageSpec {114if x != nil {115return x.Spec116}117return nil118}119120var File_provider_proto protoreflect.FileDescriptor121122var file_provider_proto_rawDesc = []byte{1230x0a, 0x0e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,1240x12, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x66, 0x61, 0x63, 0x61, 0x64, 0x65,1250x1a, 0x0f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74,1260x6f, 0x22, 0x25, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x70, 0x65,1270x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,1280x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x45, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x49,1290x6d, 0x61, 0x67, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,1300x12, 0x2d, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,1310x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x66, 0x61, 0x63, 0x61, 0x64, 0x65, 0x2e,1320x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x32,1330x6b, 0x0a, 0x0c, 0x53, 0x70, 0x65, 0x63, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12,1340x5b, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12,1350x23, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x66, 0x61, 0x63, 0x61, 0x64, 0x65,1360x2e, 0x47, 0x65, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x71,1370x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x66,1380x61, 0x63, 0x61, 0x64, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x70,1390x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x31, 0x5a, 0x2f,1400x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f,1410x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x72, 0x65, 0x67, 0x69,1420x73, 0x74, 0x72, 0x79, 0x2d, 0x66, 0x61, 0x63, 0x61, 0x64, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x62,1430x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,144}145146var (147file_provider_proto_rawDescOnce sync.Once148file_provider_proto_rawDescData = file_provider_proto_rawDesc149)150151func file_provider_proto_rawDescGZIP() []byte {152file_provider_proto_rawDescOnce.Do(func() {153file_provider_proto_rawDescData = protoimpl.X.CompressGZIP(file_provider_proto_rawDescData)154})155return file_provider_proto_rawDescData156}157158var file_provider_proto_msgTypes = make([]protoimpl.MessageInfo, 2)159var file_provider_proto_goTypes = []interface{}{160(*GetImageSpecRequest)(nil), // 0: registryfacade.GetImageSpecRequest161(*GetImageSpecResponse)(nil), // 1: registryfacade.GetImageSpecResponse162(*ImageSpec)(nil), // 2: registryfacade.ImageSpec163}164var file_provider_proto_depIdxs = []int32{1652, // 0: registryfacade.GetImageSpecResponse.spec:type_name -> registryfacade.ImageSpec1660, // 1: registryfacade.SpecProvider.GetImageSpec:input_type -> registryfacade.GetImageSpecRequest1671, // 2: registryfacade.SpecProvider.GetImageSpec:output_type -> registryfacade.GetImageSpecResponse1682, // [2:3] is the sub-list for method output_type1691, // [1:2] is the sub-list for method input_type1701, // [1:1] is the sub-list for extension type_name1711, // [1:1] is the sub-list for extension extendee1720, // [0:1] is the sub-list for field type_name173}174175func init() { file_provider_proto_init() }176func file_provider_proto_init() {177if File_provider_proto != nil {178return179}180file_imagespec_proto_init()181if !protoimpl.UnsafeEnabled {182file_provider_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {183switch v := v.(*GetImageSpecRequest); i {184case 0:185return &v.state186case 1:187return &v.sizeCache188case 2:189return &v.unknownFields190default:191return nil192}193}194file_provider_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {195switch v := v.(*GetImageSpecResponse); i {196case 0:197return &v.state198case 1:199return &v.sizeCache200case 2:201return &v.unknownFields202default:203return nil204}205}206}207type x struct{}208out := protoimpl.TypeBuilder{209File: protoimpl.DescBuilder{210GoPackagePath: reflect.TypeOf(x{}).PkgPath(),211RawDescriptor: file_provider_proto_rawDesc,212NumEnums: 0,213NumMessages: 2,214NumExtensions: 0,215NumServices: 1,216},217GoTypes: file_provider_proto_goTypes,218DependencyIndexes: file_provider_proto_depIdxs,219MessageInfos: file_provider_proto_msgTypes,220}.Build()221File_provider_proto = out.File222file_provider_proto_rawDesc = nil223file_provider_proto_goTypes = nil224file_provider_proto_depIdxs = nil225}226227228