Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/supervisor-api/go/task.pb.go
2498 views
1
// Copyright (c) 2024 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: task.proto
10
11
package api
12
13
import (
14
_ "google.golang.org/genproto/googleapis/api/annotations"
15
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
16
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
17
reflect "reflect"
18
sync "sync"
19
)
20
21
const (
22
// Verify that this generated code is sufficiently up-to-date.
23
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24
// Verify that runtime/protoimpl is sufficiently up-to-date.
25
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26
)
27
28
type ListenToOutputRequest struct {
29
state protoimpl.MessageState
30
sizeCache protoimpl.SizeCache
31
unknownFields protoimpl.UnknownFields
32
33
TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
34
}
35
36
func (x *ListenToOutputRequest) Reset() {
37
*x = ListenToOutputRequest{}
38
if protoimpl.UnsafeEnabled {
39
mi := &file_task_proto_msgTypes[0]
40
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
41
ms.StoreMessageInfo(mi)
42
}
43
}
44
45
func (x *ListenToOutputRequest) String() string {
46
return protoimpl.X.MessageStringOf(x)
47
}
48
49
func (*ListenToOutputRequest) ProtoMessage() {}
50
51
func (x *ListenToOutputRequest) ProtoReflect() protoreflect.Message {
52
mi := &file_task_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 ListenToOutputRequest.ProtoReflect.Descriptor instead.
64
func (*ListenToOutputRequest) Descriptor() ([]byte, []int) {
65
return file_task_proto_rawDescGZIP(), []int{0}
66
}
67
68
func (x *ListenToOutputRequest) GetTaskId() string {
69
if x != nil {
70
return x.TaskId
71
}
72
return ""
73
}
74
75
type ListenToOutputResponse struct {
76
state protoimpl.MessageState
77
sizeCache protoimpl.SizeCache
78
unknownFields protoimpl.UnknownFields
79
80
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
81
}
82
83
func (x *ListenToOutputResponse) Reset() {
84
*x = ListenToOutputResponse{}
85
if protoimpl.UnsafeEnabled {
86
mi := &file_task_proto_msgTypes[1]
87
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
88
ms.StoreMessageInfo(mi)
89
}
90
}
91
92
func (x *ListenToOutputResponse) String() string {
93
return protoimpl.X.MessageStringOf(x)
94
}
95
96
func (*ListenToOutputResponse) ProtoMessage() {}
97
98
func (x *ListenToOutputResponse) ProtoReflect() protoreflect.Message {
99
mi := &file_task_proto_msgTypes[1]
100
if protoimpl.UnsafeEnabled && x != nil {
101
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
102
if ms.LoadMessageInfo() == nil {
103
ms.StoreMessageInfo(mi)
104
}
105
return ms
106
}
107
return mi.MessageOf(x)
108
}
109
110
// Deprecated: Use ListenToOutputResponse.ProtoReflect.Descriptor instead.
111
func (*ListenToOutputResponse) Descriptor() ([]byte, []int) {
112
return file_task_proto_rawDescGZIP(), []int{1}
113
}
114
115
func (x *ListenToOutputResponse) GetData() []byte {
116
if x != nil {
117
return x.Data
118
}
119
return nil
120
}
121
122
var File_task_proto protoreflect.FileDescriptor
123
124
var file_task_proto_rawDesc = []byte{
125
0x0a, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x73, 0x75,
126
0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
127
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
128
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e,
129
0x54, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
130
0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
131
0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x2c, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74,
132
0x65, 0x6e, 0x54, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
133
0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
134
0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0x93, 0x01, 0x0a, 0x0b, 0x54, 0x61, 0x73, 0x6b, 0x53,
135
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x65,
136
0x6e, 0x54, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x21, 0x2e, 0x73, 0x75, 0x70, 0x65,
137
0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x54, 0x6f, 0x4f,
138
0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x73,
139
0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e,
140
0x54, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
141
0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61,
142
0x73, 0x6b, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x5f,
143
0x69, 0x64, 0x7d, 0x2f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x30, 0x01, 0x42, 0x46, 0x0a, 0x18,
144
0x69, 0x6f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76,
145
0x69, 0x73, 0x6f, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
146
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67,
147
0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72,
148
0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
149
}
150
151
var (
152
file_task_proto_rawDescOnce sync.Once
153
file_task_proto_rawDescData = file_task_proto_rawDesc
154
)
155
156
func file_task_proto_rawDescGZIP() []byte {
157
file_task_proto_rawDescOnce.Do(func() {
158
file_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_task_proto_rawDescData)
159
})
160
return file_task_proto_rawDescData
161
}
162
163
var file_task_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
164
var file_task_proto_goTypes = []interface{}{
165
(*ListenToOutputRequest)(nil), // 0: supervisor.ListenToOutputRequest
166
(*ListenToOutputResponse)(nil), // 1: supervisor.ListenToOutputResponse
167
}
168
var file_task_proto_depIdxs = []int32{
169
0, // 0: supervisor.TaskService.ListenToOutput:input_type -> supervisor.ListenToOutputRequest
170
1, // 1: supervisor.TaskService.ListenToOutput:output_type -> supervisor.ListenToOutputResponse
171
1, // [1:2] is the sub-list for method output_type
172
0, // [0:1] is the sub-list for method input_type
173
0, // [0:0] is the sub-list for extension type_name
174
0, // [0:0] is the sub-list for extension extendee
175
0, // [0:0] is the sub-list for field type_name
176
}
177
178
func init() { file_task_proto_init() }
179
func file_task_proto_init() {
180
if File_task_proto != nil {
181
return
182
}
183
if !protoimpl.UnsafeEnabled {
184
file_task_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
185
switch v := v.(*ListenToOutputRequest); i {
186
case 0:
187
return &v.state
188
case 1:
189
return &v.sizeCache
190
case 2:
191
return &v.unknownFields
192
default:
193
return nil
194
}
195
}
196
file_task_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
197
switch v := v.(*ListenToOutputResponse); i {
198
case 0:
199
return &v.state
200
case 1:
201
return &v.sizeCache
202
case 2:
203
return &v.unknownFields
204
default:
205
return nil
206
}
207
}
208
}
209
type x struct{}
210
out := protoimpl.TypeBuilder{
211
File: protoimpl.DescBuilder{
212
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
213
RawDescriptor: file_task_proto_rawDesc,
214
NumEnums: 0,
215
NumMessages: 2,
216
NumExtensions: 0,
217
NumServices: 1,
218
},
219
GoTypes: file_task_proto_goTypes,
220
DependencyIndexes: file_task_proto_depIdxs,
221
MessageInfos: file_task_proto_msgTypes,
222
}.Build()
223
File_task_proto = out.File
224
file_task_proto_rawDesc = nil
225
file_task_proto_goTypes = nil
226
file_task_proto_depIdxs = nil
227
}
228
229