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