Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/content-service-api/go/blobs.pb.go
2498 views
1
// Copyright (c) 2020 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: blobs.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 UploadUrlRequest struct {
28
state protoimpl.MessageState
29
sizeCache protoimpl.SizeCache
30
unknownFields protoimpl.UnknownFields
31
32
OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
33
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
34
ContentType string `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
35
}
36
37
func (x *UploadUrlRequest) Reset() {
38
*x = UploadUrlRequest{}
39
if protoimpl.UnsafeEnabled {
40
mi := &file_blobs_proto_msgTypes[0]
41
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
42
ms.StoreMessageInfo(mi)
43
}
44
}
45
46
func (x *UploadUrlRequest) String() string {
47
return protoimpl.X.MessageStringOf(x)
48
}
49
50
func (*UploadUrlRequest) ProtoMessage() {}
51
52
func (x *UploadUrlRequest) ProtoReflect() protoreflect.Message {
53
mi := &file_blobs_proto_msgTypes[0]
54
if protoimpl.UnsafeEnabled && x != nil {
55
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56
if ms.LoadMessageInfo() == nil {
57
ms.StoreMessageInfo(mi)
58
}
59
return ms
60
}
61
return mi.MessageOf(x)
62
}
63
64
// Deprecated: Use UploadUrlRequest.ProtoReflect.Descriptor instead.
65
func (*UploadUrlRequest) Descriptor() ([]byte, []int) {
66
return file_blobs_proto_rawDescGZIP(), []int{0}
67
}
68
69
func (x *UploadUrlRequest) GetOwnerId() string {
70
if x != nil {
71
return x.OwnerId
72
}
73
return ""
74
}
75
76
func (x *UploadUrlRequest) GetName() string {
77
if x != nil {
78
return x.Name
79
}
80
return ""
81
}
82
83
func (x *UploadUrlRequest) GetContentType() string {
84
if x != nil {
85
return x.ContentType
86
}
87
return ""
88
}
89
90
type UploadUrlResponse struct {
91
state protoimpl.MessageState
92
sizeCache protoimpl.SizeCache
93
unknownFields protoimpl.UnknownFields
94
95
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
96
}
97
98
func (x *UploadUrlResponse) Reset() {
99
*x = UploadUrlResponse{}
100
if protoimpl.UnsafeEnabled {
101
mi := &file_blobs_proto_msgTypes[1]
102
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
103
ms.StoreMessageInfo(mi)
104
}
105
}
106
107
func (x *UploadUrlResponse) String() string {
108
return protoimpl.X.MessageStringOf(x)
109
}
110
111
func (*UploadUrlResponse) ProtoMessage() {}
112
113
func (x *UploadUrlResponse) ProtoReflect() protoreflect.Message {
114
mi := &file_blobs_proto_msgTypes[1]
115
if protoimpl.UnsafeEnabled && x != nil {
116
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
117
if ms.LoadMessageInfo() == nil {
118
ms.StoreMessageInfo(mi)
119
}
120
return ms
121
}
122
return mi.MessageOf(x)
123
}
124
125
// Deprecated: Use UploadUrlResponse.ProtoReflect.Descriptor instead.
126
func (*UploadUrlResponse) Descriptor() ([]byte, []int) {
127
return file_blobs_proto_rawDescGZIP(), []int{1}
128
}
129
130
func (x *UploadUrlResponse) GetUrl() string {
131
if x != nil {
132
return x.Url
133
}
134
return ""
135
}
136
137
type DownloadUrlRequest struct {
138
state protoimpl.MessageState
139
sizeCache protoimpl.SizeCache
140
unknownFields protoimpl.UnknownFields
141
142
OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
143
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
144
ContentType string `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
145
}
146
147
func (x *DownloadUrlRequest) Reset() {
148
*x = DownloadUrlRequest{}
149
if protoimpl.UnsafeEnabled {
150
mi := &file_blobs_proto_msgTypes[2]
151
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
152
ms.StoreMessageInfo(mi)
153
}
154
}
155
156
func (x *DownloadUrlRequest) String() string {
157
return protoimpl.X.MessageStringOf(x)
158
}
159
160
func (*DownloadUrlRequest) ProtoMessage() {}
161
162
func (x *DownloadUrlRequest) ProtoReflect() protoreflect.Message {
163
mi := &file_blobs_proto_msgTypes[2]
164
if protoimpl.UnsafeEnabled && x != nil {
165
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
166
if ms.LoadMessageInfo() == nil {
167
ms.StoreMessageInfo(mi)
168
}
169
return ms
170
}
171
return mi.MessageOf(x)
172
}
173
174
// Deprecated: Use DownloadUrlRequest.ProtoReflect.Descriptor instead.
175
func (*DownloadUrlRequest) Descriptor() ([]byte, []int) {
176
return file_blobs_proto_rawDescGZIP(), []int{2}
177
}
178
179
func (x *DownloadUrlRequest) GetOwnerId() string {
180
if x != nil {
181
return x.OwnerId
182
}
183
return ""
184
}
185
186
func (x *DownloadUrlRequest) GetName() string {
187
if x != nil {
188
return x.Name
189
}
190
return ""
191
}
192
193
func (x *DownloadUrlRequest) GetContentType() string {
194
if x != nil {
195
return x.ContentType
196
}
197
return ""
198
}
199
200
type DownloadUrlResponse struct {
201
state protoimpl.MessageState
202
sizeCache protoimpl.SizeCache
203
unknownFields protoimpl.UnknownFields
204
205
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
206
}
207
208
func (x *DownloadUrlResponse) Reset() {
209
*x = DownloadUrlResponse{}
210
if protoimpl.UnsafeEnabled {
211
mi := &file_blobs_proto_msgTypes[3]
212
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
213
ms.StoreMessageInfo(mi)
214
}
215
}
216
217
func (x *DownloadUrlResponse) String() string {
218
return protoimpl.X.MessageStringOf(x)
219
}
220
221
func (*DownloadUrlResponse) ProtoMessage() {}
222
223
func (x *DownloadUrlResponse) ProtoReflect() protoreflect.Message {
224
mi := &file_blobs_proto_msgTypes[3]
225
if protoimpl.UnsafeEnabled && x != nil {
226
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
227
if ms.LoadMessageInfo() == nil {
228
ms.StoreMessageInfo(mi)
229
}
230
return ms
231
}
232
return mi.MessageOf(x)
233
}
234
235
// Deprecated: Use DownloadUrlResponse.ProtoReflect.Descriptor instead.
236
func (*DownloadUrlResponse) Descriptor() ([]byte, []int) {
237
return file_blobs_proto_rawDescGZIP(), []int{3}
238
}
239
240
func (x *DownloadUrlResponse) GetUrl() string {
241
if x != nil {
242
return x.Url
243
}
244
return ""
245
}
246
247
type DeleteRequest struct {
248
state protoimpl.MessageState
249
sizeCache protoimpl.SizeCache
250
unknownFields protoimpl.UnknownFields
251
252
OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
253
// Types that are assignable to Name:
254
//
255
// *DeleteRequest_Exact
256
// *DeleteRequest_Prefix
257
Name isDeleteRequest_Name `protobuf_oneof:"name"`
258
}
259
260
func (x *DeleteRequest) Reset() {
261
*x = DeleteRequest{}
262
if protoimpl.UnsafeEnabled {
263
mi := &file_blobs_proto_msgTypes[4]
264
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
265
ms.StoreMessageInfo(mi)
266
}
267
}
268
269
func (x *DeleteRequest) String() string {
270
return protoimpl.X.MessageStringOf(x)
271
}
272
273
func (*DeleteRequest) ProtoMessage() {}
274
275
func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
276
mi := &file_blobs_proto_msgTypes[4]
277
if protoimpl.UnsafeEnabled && x != nil {
278
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
279
if ms.LoadMessageInfo() == nil {
280
ms.StoreMessageInfo(mi)
281
}
282
return ms
283
}
284
return mi.MessageOf(x)
285
}
286
287
// Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
288
func (*DeleteRequest) Descriptor() ([]byte, []int) {
289
return file_blobs_proto_rawDescGZIP(), []int{4}
290
}
291
292
func (x *DeleteRequest) GetOwnerId() string {
293
if x != nil {
294
return x.OwnerId
295
}
296
return ""
297
}
298
299
func (m *DeleteRequest) GetName() isDeleteRequest_Name {
300
if m != nil {
301
return m.Name
302
}
303
return nil
304
}
305
306
func (x *DeleteRequest) GetExact() string {
307
if x, ok := x.GetName().(*DeleteRequest_Exact); ok {
308
return x.Exact
309
}
310
return ""
311
}
312
313
func (x *DeleteRequest) GetPrefix() string {
314
if x, ok := x.GetName().(*DeleteRequest_Prefix); ok {
315
return x.Prefix
316
}
317
return ""
318
}
319
320
type isDeleteRequest_Name interface {
321
isDeleteRequest_Name()
322
}
323
324
type DeleteRequest_Exact struct {
325
Exact string `protobuf:"bytes,2,opt,name=exact,proto3,oneof"`
326
}
327
328
type DeleteRequest_Prefix struct {
329
Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3,oneof"`
330
}
331
332
func (*DeleteRequest_Exact) isDeleteRequest_Name() {}
333
334
func (*DeleteRequest_Prefix) isDeleteRequest_Name() {}
335
336
type DeleteResponse struct {
337
state protoimpl.MessageState
338
sizeCache protoimpl.SizeCache
339
unknownFields protoimpl.UnknownFields
340
}
341
342
func (x *DeleteResponse) Reset() {
343
*x = DeleteResponse{}
344
if protoimpl.UnsafeEnabled {
345
mi := &file_blobs_proto_msgTypes[5]
346
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
347
ms.StoreMessageInfo(mi)
348
}
349
}
350
351
func (x *DeleteResponse) String() string {
352
return protoimpl.X.MessageStringOf(x)
353
}
354
355
func (*DeleteResponse) ProtoMessage() {}
356
357
func (x *DeleteResponse) ProtoReflect() protoreflect.Message {
358
mi := &file_blobs_proto_msgTypes[5]
359
if protoimpl.UnsafeEnabled && x != nil {
360
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
361
if ms.LoadMessageInfo() == nil {
362
ms.StoreMessageInfo(mi)
363
}
364
return ms
365
}
366
return mi.MessageOf(x)
367
}
368
369
// Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
370
func (*DeleteResponse) Descriptor() ([]byte, []int) {
371
return file_blobs_proto_rawDescGZIP(), []int{5}
372
}
373
374
var File_blobs_proto protoreflect.FileDescriptor
375
376
var file_blobs_proto_rawDesc = []byte{
377
0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x62, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x63,
378
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x64, 0x0a,
379
0x10, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
380
0x74, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
381
0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04,
382
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
383
0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65,
384
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54,
385
0x79, 0x70, 0x65, 0x22, 0x25, 0x0a, 0x11, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c,
386
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18,
387
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x66, 0x0a, 0x12, 0x44, 0x6f,
388
0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
389
0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
390
0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e,
391
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
392
0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
393
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79,
394
0x70, 0x65, 0x22, 0x27, 0x0a, 0x13, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72,
395
0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c,
396
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x64, 0x0a, 0x0d, 0x44,
397
0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08,
398
0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
399
0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x05, 0x65, 0x78, 0x61, 0x63, 0x74,
400
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x65, 0x78, 0x61, 0x63, 0x74, 0x12,
401
0x18, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48,
402
0x00, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x42, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
403
0x65, 0x22, 0x10, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
404
0x6e, 0x73, 0x65, 0x32, 0x86, 0x02, 0x0a, 0x0b, 0x42, 0x6c, 0x6f, 0x62, 0x53, 0x65, 0x72, 0x76,
405
0x69, 0x63, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c,
406
0x12, 0x20, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
407
0x65, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65,
408
0x73, 0x74, 0x1a, 0x21, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76,
409
0x69, 0x63, 0x65, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x73,
410
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0b, 0x44, 0x6f, 0x77, 0x6e, 0x6c,
411
0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x22, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
412
0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64,
413
0x55, 0x72, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x63, 0x6f, 0x6e,
414
0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x6f, 0x77, 0x6e,
415
0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
416
0x00, 0x12, 0x49, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x1d, 0x2e, 0x63, 0x6f,
417
0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c,
418
0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x63, 0x6f, 0x6e,
419
0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65,
420
0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x31, 0x5a, 0x2f,
421
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f,
422
0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74,
423
0x65, 0x6e, 0x74, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x62,
424
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
425
}
426
427
var (
428
file_blobs_proto_rawDescOnce sync.Once
429
file_blobs_proto_rawDescData = file_blobs_proto_rawDesc
430
)
431
432
func file_blobs_proto_rawDescGZIP() []byte {
433
file_blobs_proto_rawDescOnce.Do(func() {
434
file_blobs_proto_rawDescData = protoimpl.X.CompressGZIP(file_blobs_proto_rawDescData)
435
})
436
return file_blobs_proto_rawDescData
437
}
438
439
var file_blobs_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
440
var file_blobs_proto_goTypes = []interface{}{
441
(*UploadUrlRequest)(nil), // 0: contentservice.UploadUrlRequest
442
(*UploadUrlResponse)(nil), // 1: contentservice.UploadUrlResponse
443
(*DownloadUrlRequest)(nil), // 2: contentservice.DownloadUrlRequest
444
(*DownloadUrlResponse)(nil), // 3: contentservice.DownloadUrlResponse
445
(*DeleteRequest)(nil), // 4: contentservice.DeleteRequest
446
(*DeleteResponse)(nil), // 5: contentservice.DeleteResponse
447
}
448
var file_blobs_proto_depIdxs = []int32{
449
0, // 0: contentservice.BlobService.UploadUrl:input_type -> contentservice.UploadUrlRequest
450
2, // 1: contentservice.BlobService.DownloadUrl:input_type -> contentservice.DownloadUrlRequest
451
4, // 2: contentservice.BlobService.Delete:input_type -> contentservice.DeleteRequest
452
1, // 3: contentservice.BlobService.UploadUrl:output_type -> contentservice.UploadUrlResponse
453
3, // 4: contentservice.BlobService.DownloadUrl:output_type -> contentservice.DownloadUrlResponse
454
5, // 5: contentservice.BlobService.Delete:output_type -> contentservice.DeleteResponse
455
3, // [3:6] is the sub-list for method output_type
456
0, // [0:3] is the sub-list for method input_type
457
0, // [0:0] is the sub-list for extension type_name
458
0, // [0:0] is the sub-list for extension extendee
459
0, // [0:0] is the sub-list for field type_name
460
}
461
462
func init() { file_blobs_proto_init() }
463
func file_blobs_proto_init() {
464
if File_blobs_proto != nil {
465
return
466
}
467
if !protoimpl.UnsafeEnabled {
468
file_blobs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
469
switch v := v.(*UploadUrlRequest); i {
470
case 0:
471
return &v.state
472
case 1:
473
return &v.sizeCache
474
case 2:
475
return &v.unknownFields
476
default:
477
return nil
478
}
479
}
480
file_blobs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
481
switch v := v.(*UploadUrlResponse); i {
482
case 0:
483
return &v.state
484
case 1:
485
return &v.sizeCache
486
case 2:
487
return &v.unknownFields
488
default:
489
return nil
490
}
491
}
492
file_blobs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
493
switch v := v.(*DownloadUrlRequest); i {
494
case 0:
495
return &v.state
496
case 1:
497
return &v.sizeCache
498
case 2:
499
return &v.unknownFields
500
default:
501
return nil
502
}
503
}
504
file_blobs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
505
switch v := v.(*DownloadUrlResponse); i {
506
case 0:
507
return &v.state
508
case 1:
509
return &v.sizeCache
510
case 2:
511
return &v.unknownFields
512
default:
513
return nil
514
}
515
}
516
file_blobs_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
517
switch v := v.(*DeleteRequest); i {
518
case 0:
519
return &v.state
520
case 1:
521
return &v.sizeCache
522
case 2:
523
return &v.unknownFields
524
default:
525
return nil
526
}
527
}
528
file_blobs_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
529
switch v := v.(*DeleteResponse); i {
530
case 0:
531
return &v.state
532
case 1:
533
return &v.sizeCache
534
case 2:
535
return &v.unknownFields
536
default:
537
return nil
538
}
539
}
540
}
541
file_blobs_proto_msgTypes[4].OneofWrappers = []interface{}{
542
(*DeleteRequest_Exact)(nil),
543
(*DeleteRequest_Prefix)(nil),
544
}
545
type x struct{}
546
out := protoimpl.TypeBuilder{
547
File: protoimpl.DescBuilder{
548
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
549
RawDescriptor: file_blobs_proto_rawDesc,
550
NumEnums: 0,
551
NumMessages: 6,
552
NumExtensions: 0,
553
NumServices: 1,
554
},
555
GoTypes: file_blobs_proto_goTypes,
556
DependencyIndexes: file_blobs_proto_depIdxs,
557
MessageInfos: file_blobs_proto_msgTypes,
558
}.Build()
559
File_blobs_proto = out.File
560
file_blobs_proto_rawDesc = nil
561
file_blobs_proto_goTypes = nil
562
file_blobs_proto_depIdxs = nil
563
}
564
565