Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/content-service-api/go/headless-log.pb.go
2498 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: headless-log.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 LogDownloadURLRequest 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
InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
35
TaskId string `protobuf:"bytes,4,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
36
}
37
38
func (x *LogDownloadURLRequest) Reset() {
39
*x = LogDownloadURLRequest{}
40
if protoimpl.UnsafeEnabled {
41
mi := &file_headless_log_proto_msgTypes[0]
42
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
43
ms.StoreMessageInfo(mi)
44
}
45
}
46
47
func (x *LogDownloadURLRequest) String() string {
48
return protoimpl.X.MessageStringOf(x)
49
}
50
51
func (*LogDownloadURLRequest) ProtoMessage() {}
52
53
func (x *LogDownloadURLRequest) ProtoReflect() protoreflect.Message {
54
mi := &file_headless_log_proto_msgTypes[0]
55
if protoimpl.UnsafeEnabled && x != nil {
56
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57
if ms.LoadMessageInfo() == nil {
58
ms.StoreMessageInfo(mi)
59
}
60
return ms
61
}
62
return mi.MessageOf(x)
63
}
64
65
// Deprecated: Use LogDownloadURLRequest.ProtoReflect.Descriptor instead.
66
func (*LogDownloadURLRequest) Descriptor() ([]byte, []int) {
67
return file_headless_log_proto_rawDescGZIP(), []int{0}
68
}
69
70
func (x *LogDownloadURLRequest) GetOwnerId() string {
71
if x != nil {
72
return x.OwnerId
73
}
74
return ""
75
}
76
77
func (x *LogDownloadURLRequest) GetWorkspaceId() string {
78
if x != nil {
79
return x.WorkspaceId
80
}
81
return ""
82
}
83
84
func (x *LogDownloadURLRequest) GetInstanceId() string {
85
if x != nil {
86
return x.InstanceId
87
}
88
return ""
89
}
90
91
func (x *LogDownloadURLRequest) GetTaskId() string {
92
if x != nil {
93
return x.TaskId
94
}
95
return ""
96
}
97
98
type LogDownloadURLResponse struct {
99
state protoimpl.MessageState
100
sizeCache protoimpl.SizeCache
101
unknownFields protoimpl.UnknownFields
102
103
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
104
}
105
106
func (x *LogDownloadURLResponse) Reset() {
107
*x = LogDownloadURLResponse{}
108
if protoimpl.UnsafeEnabled {
109
mi := &file_headless_log_proto_msgTypes[1]
110
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
111
ms.StoreMessageInfo(mi)
112
}
113
}
114
115
func (x *LogDownloadURLResponse) String() string {
116
return protoimpl.X.MessageStringOf(x)
117
}
118
119
func (*LogDownloadURLResponse) ProtoMessage() {}
120
121
func (x *LogDownloadURLResponse) ProtoReflect() protoreflect.Message {
122
mi := &file_headless_log_proto_msgTypes[1]
123
if protoimpl.UnsafeEnabled && x != nil {
124
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
125
if ms.LoadMessageInfo() == nil {
126
ms.StoreMessageInfo(mi)
127
}
128
return ms
129
}
130
return mi.MessageOf(x)
131
}
132
133
// Deprecated: Use LogDownloadURLResponse.ProtoReflect.Descriptor instead.
134
func (*LogDownloadURLResponse) Descriptor() ([]byte, []int) {
135
return file_headless_log_proto_rawDescGZIP(), []int{1}
136
}
137
138
func (x *LogDownloadURLResponse) GetUrl() string {
139
if x != nil {
140
return x.Url
141
}
142
return ""
143
}
144
145
type ListLogsRequest struct {
146
state protoimpl.MessageState
147
sizeCache protoimpl.SizeCache
148
unknownFields protoimpl.UnknownFields
149
150
OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
151
WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
152
InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
153
}
154
155
func (x *ListLogsRequest) Reset() {
156
*x = ListLogsRequest{}
157
if protoimpl.UnsafeEnabled {
158
mi := &file_headless_log_proto_msgTypes[2]
159
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
160
ms.StoreMessageInfo(mi)
161
}
162
}
163
164
func (x *ListLogsRequest) String() string {
165
return protoimpl.X.MessageStringOf(x)
166
}
167
168
func (*ListLogsRequest) ProtoMessage() {}
169
170
func (x *ListLogsRequest) ProtoReflect() protoreflect.Message {
171
mi := &file_headless_log_proto_msgTypes[2]
172
if protoimpl.UnsafeEnabled && x != nil {
173
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
174
if ms.LoadMessageInfo() == nil {
175
ms.StoreMessageInfo(mi)
176
}
177
return ms
178
}
179
return mi.MessageOf(x)
180
}
181
182
// Deprecated: Use ListLogsRequest.ProtoReflect.Descriptor instead.
183
func (*ListLogsRequest) Descriptor() ([]byte, []int) {
184
return file_headless_log_proto_rawDescGZIP(), []int{2}
185
}
186
187
func (x *ListLogsRequest) GetOwnerId() string {
188
if x != nil {
189
return x.OwnerId
190
}
191
return ""
192
}
193
194
func (x *ListLogsRequest) GetWorkspaceId() string {
195
if x != nil {
196
return x.WorkspaceId
197
}
198
return ""
199
}
200
201
func (x *ListLogsRequest) GetInstanceId() string {
202
if x != nil {
203
return x.InstanceId
204
}
205
return ""
206
}
207
208
type ListLogsResponse struct {
209
state protoimpl.MessageState
210
sizeCache protoimpl.SizeCache
211
unknownFields protoimpl.UnknownFields
212
213
TaskId []string `protobuf:"bytes,1,rep,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
214
}
215
216
func (x *ListLogsResponse) Reset() {
217
*x = ListLogsResponse{}
218
if protoimpl.UnsafeEnabled {
219
mi := &file_headless_log_proto_msgTypes[3]
220
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
221
ms.StoreMessageInfo(mi)
222
}
223
}
224
225
func (x *ListLogsResponse) String() string {
226
return protoimpl.X.MessageStringOf(x)
227
}
228
229
func (*ListLogsResponse) ProtoMessage() {}
230
231
func (x *ListLogsResponse) ProtoReflect() protoreflect.Message {
232
mi := &file_headless_log_proto_msgTypes[3]
233
if protoimpl.UnsafeEnabled && x != nil {
234
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
235
if ms.LoadMessageInfo() == nil {
236
ms.StoreMessageInfo(mi)
237
}
238
return ms
239
}
240
return mi.MessageOf(x)
241
}
242
243
// Deprecated: Use ListLogsResponse.ProtoReflect.Descriptor instead.
244
func (*ListLogsResponse) Descriptor() ([]byte, []int) {
245
return file_headless_log_proto_rawDescGZIP(), []int{3}
246
}
247
248
func (x *ListLogsResponse) GetTaskId() []string {
249
if x != nil {
250
return x.TaskId
251
}
252
return nil
253
}
254
255
var File_headless_log_proto protoreflect.FileDescriptor
256
257
var file_headless_log_proto_rawDesc = []byte{
258
0x0a, 0x12, 0x68, 0x65, 0x61, 0x64, 0x6c, 0x65, 0x73, 0x73, 0x2d, 0x6c, 0x6f, 0x67, 0x2e, 0x70,
259
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72,
260
0x76, 0x69, 0x63, 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x15, 0x4c, 0x6f, 0x67, 0x44, 0x6f, 0x77, 0x6e,
261
0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19,
262
0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
263
0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f, 0x72,
264
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
265
0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b,
266
0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
267
0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a,
268
0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
269
0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x2a, 0x0a, 0x16, 0x4c, 0x6f, 0x67, 0x44, 0x6f, 0x77,
270
0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
271
0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75,
272
0x72, 0x6c, 0x22, 0x70, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65,
273
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69,
274
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64,
275
0x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64,
276
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
277
0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f,
278
0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,
279
0x63, 0x65, 0x49, 0x64, 0x22, 0x2b, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x73,
280
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b,
281
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49,
282
0x64, 0x32, 0xc8, 0x01, 0x0a, 0x12, 0x48, 0x65, 0x61, 0x64, 0x6c, 0x65, 0x73, 0x73, 0x4c, 0x6f,
283
0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x0e, 0x4c, 0x6f, 0x67, 0x44,
284
0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, 0x4c, 0x12, 0x25, 0x2e, 0x63, 0x6f, 0x6e,
285
0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4c, 0x6f, 0x67, 0x44,
286
0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
287
0x74, 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69,
288
0x63, 0x65, 0x2e, 0x4c, 0x6f, 0x67, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52,
289
0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x08, 0x4c,
290
0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x1f, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
291
0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67,
292
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65,
293
0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f,
294
0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x31, 0x5a, 0x2f,
295
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f,
296
0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74,
297
0x65, 0x6e, 0x74, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x62,
298
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
299
}
300
301
var (
302
file_headless_log_proto_rawDescOnce sync.Once
303
file_headless_log_proto_rawDescData = file_headless_log_proto_rawDesc
304
)
305
306
func file_headless_log_proto_rawDescGZIP() []byte {
307
file_headless_log_proto_rawDescOnce.Do(func() {
308
file_headless_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_headless_log_proto_rawDescData)
309
})
310
return file_headless_log_proto_rawDescData
311
}
312
313
var file_headless_log_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
314
var file_headless_log_proto_goTypes = []interface{}{
315
(*LogDownloadURLRequest)(nil), // 0: contentservice.LogDownloadURLRequest
316
(*LogDownloadURLResponse)(nil), // 1: contentservice.LogDownloadURLResponse
317
(*ListLogsRequest)(nil), // 2: contentservice.ListLogsRequest
318
(*ListLogsResponse)(nil), // 3: contentservice.ListLogsResponse
319
}
320
var file_headless_log_proto_depIdxs = []int32{
321
0, // 0: contentservice.HeadlessLogService.LogDownloadURL:input_type -> contentservice.LogDownloadURLRequest
322
2, // 1: contentservice.HeadlessLogService.ListLogs:input_type -> contentservice.ListLogsRequest
323
1, // 2: contentservice.HeadlessLogService.LogDownloadURL:output_type -> contentservice.LogDownloadURLResponse
324
3, // 3: contentservice.HeadlessLogService.ListLogs:output_type -> contentservice.ListLogsResponse
325
2, // [2:4] is the sub-list for method output_type
326
0, // [0:2] is the sub-list for method input_type
327
0, // [0:0] is the sub-list for extension type_name
328
0, // [0:0] is the sub-list for extension extendee
329
0, // [0:0] is the sub-list for field type_name
330
}
331
332
func init() { file_headless_log_proto_init() }
333
func file_headless_log_proto_init() {
334
if File_headless_log_proto != nil {
335
return
336
}
337
if !protoimpl.UnsafeEnabled {
338
file_headless_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
339
switch v := v.(*LogDownloadURLRequest); i {
340
case 0:
341
return &v.state
342
case 1:
343
return &v.sizeCache
344
case 2:
345
return &v.unknownFields
346
default:
347
return nil
348
}
349
}
350
file_headless_log_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
351
switch v := v.(*LogDownloadURLResponse); i {
352
case 0:
353
return &v.state
354
case 1:
355
return &v.sizeCache
356
case 2:
357
return &v.unknownFields
358
default:
359
return nil
360
}
361
}
362
file_headless_log_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
363
switch v := v.(*ListLogsRequest); i {
364
case 0:
365
return &v.state
366
case 1:
367
return &v.sizeCache
368
case 2:
369
return &v.unknownFields
370
default:
371
return nil
372
}
373
}
374
file_headless_log_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
375
switch v := v.(*ListLogsResponse); i {
376
case 0:
377
return &v.state
378
case 1:
379
return &v.sizeCache
380
case 2:
381
return &v.unknownFields
382
default:
383
return nil
384
}
385
}
386
}
387
type x struct{}
388
out := protoimpl.TypeBuilder{
389
File: protoimpl.DescBuilder{
390
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
391
RawDescriptor: file_headless_log_proto_rawDesc,
392
NumEnums: 0,
393
NumMessages: 4,
394
NumExtensions: 0,
395
NumServices: 1,
396
},
397
GoTypes: file_headless_log_proto_goTypes,
398
DependencyIndexes: file_headless_log_proto_depIdxs,
399
MessageInfos: file_headless_log_proto_msgTypes,
400
}.Build()
401
File_headless_log_proto = out.File
402
file_headless_log_proto_rawDesc = nil
403
file_headless_log_proto_goTypes = nil
404
file_headless_log_proto_depIdxs = nil
405
}
406
407