Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/registry-facade-api/go/provider.pb.go
2496 views
1
// Copyright (c) 2023 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 v3.20.1
9
// source: provider.proto
10
11
package api
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 GetImageSpecRequest struct {
28
state protoimpl.MessageState
29
sizeCache protoimpl.SizeCache
30
unknownFields protoimpl.UnknownFields
31
32
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
33
}
34
35
func (x *GetImageSpecRequest) Reset() {
36
*x = GetImageSpecRequest{}
37
if protoimpl.UnsafeEnabled {
38
mi := &file_provider_proto_msgTypes[0]
39
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
40
ms.StoreMessageInfo(mi)
41
}
42
}
43
44
func (x *GetImageSpecRequest) String() string {
45
return protoimpl.X.MessageStringOf(x)
46
}
47
48
func (*GetImageSpecRequest) ProtoMessage() {}
49
50
func (x *GetImageSpecRequest) ProtoReflect() protoreflect.Message {
51
mi := &file_provider_proto_msgTypes[0]
52
if protoimpl.UnsafeEnabled && x != nil {
53
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54
if ms.LoadMessageInfo() == nil {
55
ms.StoreMessageInfo(mi)
56
}
57
return ms
58
}
59
return mi.MessageOf(x)
60
}
61
62
// Deprecated: Use GetImageSpecRequest.ProtoReflect.Descriptor instead.
63
func (*GetImageSpecRequest) Descriptor() ([]byte, []int) {
64
return file_provider_proto_rawDescGZIP(), []int{0}
65
}
66
67
func (x *GetImageSpecRequest) GetId() string {
68
if x != nil {
69
return x.Id
70
}
71
return ""
72
}
73
74
type GetImageSpecResponse struct {
75
state protoimpl.MessageState
76
sizeCache protoimpl.SizeCache
77
unknownFields protoimpl.UnknownFields
78
79
Spec *ImageSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
80
}
81
82
func (x *GetImageSpecResponse) Reset() {
83
*x = GetImageSpecResponse{}
84
if protoimpl.UnsafeEnabled {
85
mi := &file_provider_proto_msgTypes[1]
86
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
87
ms.StoreMessageInfo(mi)
88
}
89
}
90
91
func (x *GetImageSpecResponse) String() string {
92
return protoimpl.X.MessageStringOf(x)
93
}
94
95
func (*GetImageSpecResponse) ProtoMessage() {}
96
97
func (x *GetImageSpecResponse) ProtoReflect() protoreflect.Message {
98
mi := &file_provider_proto_msgTypes[1]
99
if protoimpl.UnsafeEnabled && x != nil {
100
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
101
if ms.LoadMessageInfo() == nil {
102
ms.StoreMessageInfo(mi)
103
}
104
return ms
105
}
106
return mi.MessageOf(x)
107
}
108
109
// Deprecated: Use GetImageSpecResponse.ProtoReflect.Descriptor instead.
110
func (*GetImageSpecResponse) Descriptor() ([]byte, []int) {
111
return file_provider_proto_rawDescGZIP(), []int{1}
112
}
113
114
func (x *GetImageSpecResponse) GetSpec() *ImageSpec {
115
if x != nil {
116
return x.Spec
117
}
118
return nil
119
}
120
121
var File_provider_proto protoreflect.FileDescriptor
122
123
var file_provider_proto_rawDesc = []byte{
124
0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
125
0x12, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x66, 0x61, 0x63, 0x61, 0x64, 0x65,
126
0x1a, 0x0f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74,
127
0x6f, 0x22, 0x25, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x70, 0x65,
128
0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
129
0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x45, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x49,
130
0x6d, 0x61, 0x67, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
131
0x12, 0x2d, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
132
0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x66, 0x61, 0x63, 0x61, 0x64, 0x65, 0x2e,
133
0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x32,
134
0x6b, 0x0a, 0x0c, 0x53, 0x70, 0x65, 0x63, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12,
135
0x5b, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12,
136
0x23, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x66, 0x61, 0x63, 0x61, 0x64, 0x65,
137
0x2e, 0x47, 0x65, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x71,
138
0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x66,
139
0x61, 0x63, 0x61, 0x64, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x70,
140
0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x31, 0x5a, 0x2f,
141
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f,
142
0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x72, 0x65, 0x67, 0x69,
143
0x73, 0x74, 0x72, 0x79, 0x2d, 0x66, 0x61, 0x63, 0x61, 0x64, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x62,
144
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
145
}
146
147
var (
148
file_provider_proto_rawDescOnce sync.Once
149
file_provider_proto_rawDescData = file_provider_proto_rawDesc
150
)
151
152
func file_provider_proto_rawDescGZIP() []byte {
153
file_provider_proto_rawDescOnce.Do(func() {
154
file_provider_proto_rawDescData = protoimpl.X.CompressGZIP(file_provider_proto_rawDescData)
155
})
156
return file_provider_proto_rawDescData
157
}
158
159
var file_provider_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
160
var file_provider_proto_goTypes = []interface{}{
161
(*GetImageSpecRequest)(nil), // 0: registryfacade.GetImageSpecRequest
162
(*GetImageSpecResponse)(nil), // 1: registryfacade.GetImageSpecResponse
163
(*ImageSpec)(nil), // 2: registryfacade.ImageSpec
164
}
165
var file_provider_proto_depIdxs = []int32{
166
2, // 0: registryfacade.GetImageSpecResponse.spec:type_name -> registryfacade.ImageSpec
167
0, // 1: registryfacade.SpecProvider.GetImageSpec:input_type -> registryfacade.GetImageSpecRequest
168
1, // 2: registryfacade.SpecProvider.GetImageSpec:output_type -> registryfacade.GetImageSpecResponse
169
2, // [2:3] is the sub-list for method output_type
170
1, // [1:2] is the sub-list for method input_type
171
1, // [1:1] is the sub-list for extension type_name
172
1, // [1:1] is the sub-list for extension extendee
173
0, // [0:1] is the sub-list for field type_name
174
}
175
176
func init() { file_provider_proto_init() }
177
func file_provider_proto_init() {
178
if File_provider_proto != nil {
179
return
180
}
181
file_imagespec_proto_init()
182
if !protoimpl.UnsafeEnabled {
183
file_provider_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
184
switch v := v.(*GetImageSpecRequest); i {
185
case 0:
186
return &v.state
187
case 1:
188
return &v.sizeCache
189
case 2:
190
return &v.unknownFields
191
default:
192
return nil
193
}
194
}
195
file_provider_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
196
switch v := v.(*GetImageSpecResponse); i {
197
case 0:
198
return &v.state
199
case 1:
200
return &v.sizeCache
201
case 2:
202
return &v.unknownFields
203
default:
204
return nil
205
}
206
}
207
}
208
type x struct{}
209
out := protoimpl.TypeBuilder{
210
File: protoimpl.DescBuilder{
211
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
212
RawDescriptor: file_provider_proto_rawDesc,
213
NumEnums: 0,
214
NumMessages: 2,
215
NumExtensions: 0,
216
NumServices: 1,
217
},
218
GoTypes: file_provider_proto_goTypes,
219
DependencyIndexes: file_provider_proto_depIdxs,
220
MessageInfos: file_provider_proto_msgTypes,
221
}.Build()
222
File_provider_proto = out.File
223
file_provider_proto_rawDesc = nil
224
file_provider_proto_goTypes = nil
225
file_provider_proto_depIdxs = nil
226
}
227
228