Debian Codegraph @

runner/v1/messages.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.28.1
4 // protoc (unknown)
5 // source: runner/v1/messages.proto
6
7 package runnerv1
8
9 import (
10 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12 structpb "google.golang.org/protobuf/types/known/structpb"
13 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
14 reflect "reflect"
15 sync "sync"
16 )
17
18 const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 // RunnerStatus runner all status
26 type RunnerStatus int32
27
28 const (
29 RunnerStatus_RUNNER_STATUS_UNSPECIFIED RunnerStatus = 0
30 RunnerStatus_RUNNER_STATUS_IDLE RunnerStatus = 1
31 RunnerStatus_RUNNER_STATUS_ACTIVE RunnerStatus = 2
32 RunnerStatus_RUNNER_STATUS_OFFLINE RunnerStatus = 3
33 )
34
35 // Enum value maps for RunnerStatus.
36 var (
37 RunnerStatus_name = map[int32]string{
38 0: "RUNNER_STATUS_UNSPECIFIED",
39 1: "RUNNER_STATUS_IDLE",
40 2: "RUNNER_STATUS_ACTIVE",
41 3: "RUNNER_STATUS_OFFLINE",
42 }
43 RunnerStatus_value = map[string]int32{
44 "RUNNER_STATUS_UNSPECIFIED": 0,
45 "RUNNER_STATUS_IDLE": 1,
46 "RUNNER_STATUS_ACTIVE": 2,
47 "RUNNER_STATUS_OFFLINE": 3,
48 }
49 )
50
51 func (x RunnerStatus) Enum() *RunnerStatus {
52 p := new(RunnerStatus)
53 *p = x
54 return p
55 }
56
57 func (x RunnerStatus) String() string {
58 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
59 }
60
61 func (RunnerStatus) Descriptor() protoreflect.EnumDescriptor {
62 return file_runner_v1_messages_proto_enumTypes[0].Descriptor()
63 }
64
65 func (RunnerStatus) Type() protoreflect.EnumType {
66 return &file_runner_v1_messages_proto_enumTypes[0]
67 }
68
69 func (x RunnerStatus) Number() protoreflect.EnumNumber {
70 return protoreflect.EnumNumber(x)
71 }
72
73 // Deprecated: Use RunnerStatus.Descriptor instead.
74 func (RunnerStatus) EnumDescriptor() ([]byte, []int) {
75 return file_runner_v1_messages_proto_rawDescGZIP(), []int{0}
76 }
77
78 // The result of a task or a step, see https://docs.github.com/en/actions/learn-github-actions/contexts#jobs-context .
79 type Result int32
80
81 const (
82 Result_RESULT_UNSPECIFIED Result = 0
83 Result_RESULT_SUCCESS Result = 1
84 Result_RESULT_FAILURE Result = 2
85 Result_RESULT_CANCELLED Result = 3
86 Result_RESULT_SKIPPED Result = 4
87 )
88
89 // Enum value maps for Result.
90 var (
91 Result_name = map[int32]string{
92 0: "RESULT_UNSPECIFIED",
93 1: "RESULT_SUCCESS",
94 2: "RESULT_FAILURE",
95 3: "RESULT_CANCELLED",
96 4: "RESULT_SKIPPED",
97 }
98 Result_value = map[string]int32{
99 "RESULT_UNSPECIFIED": 0,
100 "RESULT_SUCCESS": 1,
101 "RESULT_FAILURE": 2,
102 "RESULT_CANCELLED": 3,
103 "RESULT_SKIPPED": 4,
104 }
105 )
106
107 func (x Result) Enum() *Result {
108 p := new(Result)
109 *p = x
110 return p
111 }
112
113 func (x Result) String() string {
114 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
115 }
116
117 func (Result) Descriptor() protoreflect.EnumDescriptor {
118 return file_runner_v1_messages_proto_enumTypes[1].Descriptor()
119 }
120
121 func (Result) Type() protoreflect.EnumType {
122 return &file_runner_v1_messages_proto_enumTypes[1]
123 }
124
125 func (x Result) Number() protoreflect.EnumNumber {
126 return protoreflect.EnumNumber(x)
127 }
128
129 // Deprecated: Use Result.Descriptor instead.
130 func (Result) EnumDescriptor() ([]byte, []int) {
131 return file_runner_v1_messages_proto_rawDescGZIP(), []int{1}
132 }
133
134 type RegisterRequest struct {
135 state protoimpl.MessageState
136 sizeCache protoimpl.SizeCache
137 unknownFields protoimpl.UnknownFields
138
139 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
140 Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
141 // Deprecated: Do not use.
142 AgentLabels []string `protobuf:"bytes,3,rep,name=agent_labels,json=agentLabels,proto3" json:"agent_labels,omitempty"`
143 // Deprecated: Do not use.
144 CustomLabels []string `protobuf:"bytes,4,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty"`
145 Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
146 Labels []string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty"`
147 Ephemeral bool `protobuf:"varint,7,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
148 }
149
150 func (x *RegisterRequest) Reset() {
151 *x = RegisterRequest{}
152 if protoimpl.UnsafeEnabled {
153 mi := &file_runner_v1_messages_proto_msgTypes[0]
154 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
155 ms.StoreMessageInfo(mi)
156 }
157 }
158
159 func (x *RegisterRequest) String() string {
160 return protoimpl.X.MessageStringOf(x)
161 }
162
163 func (*RegisterRequest) ProtoMessage() {}
164
165 func (x *RegisterRequest) ProtoReflect() protoreflect.Message {
166 mi := &file_runner_v1_messages_proto_msgTypes[0]
167 if protoimpl.UnsafeEnabled && x != nil {
168 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
169 if ms.LoadMessageInfo() == nil {
170 ms.StoreMessageInfo(mi)
171 }
172 return ms
173 }
174 return mi.MessageOf(x)
175 }
176
177 // Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
178 func (*RegisterRequest) Descriptor() ([]byte, []int) {
179 return file_runner_v1_messages_proto_rawDescGZIP(), []int{0}
180 }
181
182 func (x *RegisterRequest) GetName() string {
183 if x != nil {
184 return x.Name
185 }
186 return ""
187 }
188
189 func (x *RegisterRequest) GetToken() string {
190 if x != nil {
191 return x.Token
192 }
193 return ""
194 }
195
196 // Deprecated: Do not use.
197 func (x *RegisterRequest) GetAgentLabels() []string {
198 if x != nil {
199 return x.AgentLabels
200 }
201 return nil
202 }
203
204 // Deprecated: Do not use.
205 func (x *RegisterRequest) GetCustomLabels() []string {
206 if x != nil {
207 return x.CustomLabels
208 }
209 return nil
210 }
211
212 func (x *RegisterRequest) GetVersion() string {
213 if x != nil {
214 return x.Version
215 }
216 return ""
217 }
218
219 func (x *RegisterRequest) GetLabels() []string {
220 if x != nil {
221 return x.Labels
222 }
223 return nil
224 }
225
226 func (x *RegisterRequest) GetEphemeral() bool {
227 if x != nil {
228 return x.Ephemeral
229 }
230 return false
231 }
232
233 type RegisterResponse struct {
234 state protoimpl.MessageState
235 sizeCache protoimpl.SizeCache
236 unknownFields protoimpl.UnknownFields
237
238 Runner *Runner `protobuf:"bytes,1,opt,name=runner,proto3" json:"runner,omitempty"`
239 }
240
241 func (x *RegisterResponse) Reset() {
242 *x = RegisterResponse{}
243 if protoimpl.UnsafeEnabled {
244 mi := &file_runner_v1_messages_proto_msgTypes[1]
245 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
246 ms.StoreMessageInfo(mi)
247 }
248 }
249
250 func (x *RegisterResponse) String() string {
251 return protoimpl.X.MessageStringOf(x)
252 }
253
254 func (*RegisterResponse) ProtoMessage() {}
255
256 func (x *RegisterResponse) ProtoReflect() protoreflect.Message {
257 mi := &file_runner_v1_messages_proto_msgTypes[1]
258 if protoimpl.UnsafeEnabled && x != nil {
259 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
260 if ms.LoadMessageInfo() == nil {
261 ms.StoreMessageInfo(mi)
262 }
263 return ms
264 }
265 return mi.MessageOf(x)
266 }
267
268 // Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
269 func (*RegisterResponse) Descriptor() ([]byte, []int) {
270 return file_runner_v1_messages_proto_rawDescGZIP(), []int{1}
271 }
272
273 func (x *RegisterResponse) GetRunner() *Runner {
274 if x != nil {
275 return x.Runner
276 }
277 return nil
278 }
279
280 type DeclareRequest struct {
281 state protoimpl.MessageState
282 sizeCache protoimpl.SizeCache
283 unknownFields protoimpl.UnknownFields
284
285 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
286 Labels []string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"`
287 }
288
289 func (x *DeclareRequest) Reset() {
290 *x = DeclareRequest{}
291 if protoimpl.UnsafeEnabled {
292 mi := &file_runner_v1_messages_proto_msgTypes[2]
293 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
294 ms.StoreMessageInfo(mi)
295 }
296 }
297
298 func (x *DeclareRequest) String() string {
299 return protoimpl.X.MessageStringOf(x)
300 }
301
302 func (*DeclareRequest) ProtoMessage() {}
303
304 func (x *DeclareRequest) ProtoReflect() protoreflect.Message {
305 mi := &file_runner_v1_messages_proto_msgTypes[2]
306 if protoimpl.UnsafeEnabled && x != nil {
307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
308 if ms.LoadMessageInfo() == nil {
309 ms.StoreMessageInfo(mi)
310 }
311 return ms
312 }
313 return mi.MessageOf(x)
314 }
315
316 // Deprecated: Use DeclareRequest.ProtoReflect.Descriptor instead.
317 func (*DeclareRequest) Descriptor() ([]byte, []int) {
318 return file_runner_v1_messages_proto_rawDescGZIP(), []int{2}
319 }
320
321 func (x *DeclareRequest) GetVersion() string {
322 if x != nil {
323 return x.Version
324 }
325 return ""
326 }
327
328 func (x *DeclareRequest) GetLabels() []string {
329 if x != nil {
330 return x.Labels
331 }
332 return nil
333 }
334
335 type DeclareResponse struct {
336 state protoimpl.MessageState
337 sizeCache protoimpl.SizeCache
338 unknownFields protoimpl.UnknownFields
339
340 Runner *Runner `protobuf:"bytes,1,opt,name=runner,proto3" json:"runner,omitempty"`
341 }
342
343 func (x *DeclareResponse) Reset() {
344 *x = DeclareResponse{}
345 if protoimpl.UnsafeEnabled {
346 mi := &file_runner_v1_messages_proto_msgTypes[3]
347 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
348 ms.StoreMessageInfo(mi)
349 }
350 }
351
352 func (x *DeclareResponse) String() string {
353 return protoimpl.X.MessageStringOf(x)
354 }
355
356 func (*DeclareResponse) ProtoMessage() {}
357
358 func (x *DeclareResponse) ProtoReflect() protoreflect.Message {
359 mi := &file_runner_v1_messages_proto_msgTypes[3]
360 if protoimpl.UnsafeEnabled && x != nil {
361 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
362 if ms.LoadMessageInfo() == nil {
363 ms.StoreMessageInfo(mi)
364 }
365 return ms
366 }
367 return mi.MessageOf(x)
368 }
369
370 // Deprecated: Use DeclareResponse.ProtoReflect.Descriptor instead.
371 func (*DeclareResponse) Descriptor() ([]byte, []int) {
372 return file_runner_v1_messages_proto_rawDescGZIP(), []int{3}
373 }
374
375 func (x *DeclareResponse) GetRunner() *Runner {
376 if x != nil {
377 return x.Runner
378 }
379 return nil
380 }
381
382 type FetchTaskRequest struct {
383 state protoimpl.MessageState
384 sizeCache protoimpl.SizeCache
385 unknownFields protoimpl.UnknownFields
386
387 // Runner use `tasks_version` to compare with Gitea and determine whether new tasks may exist.
388 TasksVersion int64 `protobuf:"varint,1,opt,name=tasks_version,json=tasksVersion,proto3" json:"tasks_version,omitempty"`
389 // If provided and `>1`, then multiple tasks may be returned from FetchTask in `additional_tasks`.
390 TaskCapacity *int64 `protobuf:"varint,2,opt,name=task_capacity,json=taskCapacity,proto3,oneof" json:"task_capacity,omitempty"`
391 }
392
393 func (x *FetchTaskRequest) Reset() {
394 *x = FetchTaskRequest{}
395 if protoimpl.UnsafeEnabled {
396 mi := &file_runner_v1_messages_proto_msgTypes[4]
397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
398 ms.StoreMessageInfo(mi)
399 }
400 }
401
402 func (x *FetchTaskRequest) String() string {
403 return protoimpl.X.MessageStringOf(x)
404 }
405
406 func (*FetchTaskRequest) ProtoMessage() {}
407
408 func (x *FetchTaskRequest) ProtoReflect() protoreflect.Message {
409 mi := &file_runner_v1_messages_proto_msgTypes[4]
410 if protoimpl.UnsafeEnabled && x != nil {
411 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
412 if ms.LoadMessageInfo() == nil {
413 ms.StoreMessageInfo(mi)
414 }
415 return ms
416 }
417 return mi.MessageOf(x)
418 }
419
420 // Deprecated: Use FetchTaskRequest.ProtoReflect.Descriptor instead.
421 func (*FetchTaskRequest) Descriptor() ([]byte, []int) {
422 return file_runner_v1_messages_proto_rawDescGZIP(), []int{4}
423 }
424
425 func (x *FetchTaskRequest) GetTasksVersion() int64 {
426 if x != nil {
427 return x.TasksVersion
428 }
429 return 0
430 }
431
432 func (x *FetchTaskRequest) GetTaskCapacity() int64 {
433 if x != nil && x.TaskCapacity != nil {
434 return *x.TaskCapacity
435 }
436 return 0
437 }
438
439 type FetchTaskResponse struct {
440 state protoimpl.MessageState
441 sizeCache protoimpl.SizeCache
442 unknownFields protoimpl.UnknownFields
443
444 Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
445 // Gitea informs the Runner of the latest version of tasks through `tasks_version`.
446 TasksVersion int64 `protobuf:"varint,2,opt,name=tasks_version,json=tasksVersion,proto3" json:"tasks_version,omitempty"`
447 // If `task_capacity` was provided in `FetchTaskRequest`, then additional_tasks may indicate multiple assigned tasks
448 // to this runner which are returned in `additional_tasks`. `task` would always be populated for the first task, and
449 // the first task is omitted from this collection.
450 AdditionalTasks []*Task `protobuf:"bytes,3,rep,name=additional_tasks,json=additionalTasks,proto3" json:"additional_tasks,omitempty"`
451 }
452
453 func (x *FetchTaskResponse) Reset() {
454 *x = FetchTaskResponse{}
455 if protoimpl.UnsafeEnabled {
456 mi := &file_runner_v1_messages_proto_msgTypes[5]
457 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
458 ms.StoreMessageInfo(mi)
459 }
460 }
461
462 func (x *FetchTaskResponse) String() string {
463 return protoimpl.X.MessageStringOf(x)
464 }
465
466 func (*FetchTaskResponse) ProtoMessage() {}
467
468 func (x *FetchTaskResponse) ProtoReflect() protoreflect.Message {
469 mi := &file_runner_v1_messages_proto_msgTypes[5]
470 if protoimpl.UnsafeEnabled && x != nil {
471 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
472 if ms.LoadMessageInfo() == nil {
473 ms.StoreMessageInfo(mi)
474 }
475 return ms
476 }
477 return mi.MessageOf(x)
478 }
479
480 // Deprecated: Use FetchTaskResponse.ProtoReflect.Descriptor instead.
481 func (*FetchTaskResponse) Descriptor() ([]byte, []int) {
482 return file_runner_v1_messages_proto_rawDescGZIP(), []int{5}
483 }
484
485 func (x *FetchTaskResponse) GetTask() *Task {
486 if x != nil {
487 return x.Task
488 }
489 return nil
490 }
491
492 func (x *FetchTaskResponse) GetTasksVersion() int64 {
493 if x != nil {
494 return x.TasksVersion
495 }
496 return 0
497 }
498
499 func (x *FetchTaskResponse) GetAdditionalTasks() []*Task {
500 if x != nil {
501 return x.AdditionalTasks
502 }
503 return nil
504 }
505
506 type FetchSingleTaskRequest struct {
507 state protoimpl.MessageState
508 sizeCache protoimpl.SizeCache
509 unknownFields protoimpl.UnknownFields
510
511 // The latest `task_version` received from Forgejo or 0 when none has been received so far. Used by Forgejo to
512 // determine whether new tasks are waiting for this runner.
513 TasksVersion int64 `protobuf:"varint,1,opt,name=tasks_version,json=tasksVersion,proto3" json:"tasks_version,omitempty"`
514 // Optionally request a particular attempt by providing its handle. If the attempt is not ready to be run or not
515 // suitable for this runner, Forgejo will not return any task.
516 Handle *string `protobuf:"bytes,2,opt,name=handle,proto3,oneof" json:"handle,omitempty"`
517 }
518
519 func (x *FetchSingleTaskRequest) Reset() {
520 *x = FetchSingleTaskRequest{}
521 if protoimpl.UnsafeEnabled {
522 mi := &file_runner_v1_messages_proto_msgTypes[6]
523 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
524 ms.StoreMessageInfo(mi)
525 }
526 }
527
528 func (x *FetchSingleTaskRequest) String() string {
529 return protoimpl.X.MessageStringOf(x)
530 }
531
532 func (*FetchSingleTaskRequest) ProtoMessage() {}
533
534 func (x *FetchSingleTaskRequest) ProtoReflect() protoreflect.Message {
535 mi := &file_runner_v1_messages_proto_msgTypes[6]
536 if protoimpl.UnsafeEnabled && x != nil {
537 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
538 if ms.LoadMessageInfo() == nil {
539 ms.StoreMessageInfo(mi)
540 }
541 return ms
542 }
543 return mi.MessageOf(x)
544 }
545
546 // Deprecated: Use FetchSingleTaskRequest.ProtoReflect.Descriptor instead.
547 func (*FetchSingleTaskRequest) Descriptor() ([]byte, []int) {
548 return file_runner_v1_messages_proto_rawDescGZIP(), []int{6}
549 }
550
551 func (x *FetchSingleTaskRequest) GetTasksVersion() int64 {
552 if x != nil {
553 return x.TasksVersion
554 }
555 return 0
556 }
557
558 func (x *FetchSingleTaskRequest) GetHandle() string {
559 if x != nil && x.Handle != nil {
560 return *x.Handle
561 }
562 return ""
563 }
564
565 type FetchSingleTaskResponse struct {
566 state protoimpl.MessageState
567 sizeCache protoimpl.SizeCache
568 unknownFields protoimpl.UnknownFields
569
570 // The latest `task_version` recorded by Forgejo. To be included in the next FetchSingleTaskRequest.
571 TasksVersion int64 `protobuf:"varint,1,opt,name=tasks_version,json=tasksVersion,proto3" json:"tasks_version,omitempty"`
572 // Task returned by Forgejo in response to the original request, if any.
573 Task *Task `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"`
574 }
575
576 func (x *FetchSingleTaskResponse) Reset() {
577 *x = FetchSingleTaskResponse{}
578 if protoimpl.UnsafeEnabled {
579 mi := &file_runner_v1_messages_proto_msgTypes[7]
580 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
581 ms.StoreMessageInfo(mi)
582 }
583 }
584
585 func (x *FetchSingleTaskResponse) String() string {
586 return protoimpl.X.MessageStringOf(x)
587 }
588
589 func (*FetchSingleTaskResponse) ProtoMessage() {}
590
591 func (x *FetchSingleTaskResponse) ProtoReflect() protoreflect.Message {
592 mi := &file_runner_v1_messages_proto_msgTypes[7]
593 if protoimpl.UnsafeEnabled && x != nil {
594 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
595 if ms.LoadMessageInfo() == nil {
596 ms.StoreMessageInfo(mi)
597 }
598 return ms
599 }
600 return mi.MessageOf(x)
601 }
602
603 // Deprecated: Use FetchSingleTaskResponse.ProtoReflect.Descriptor instead.
604 func (*FetchSingleTaskResponse) Descriptor() ([]byte, []int) {
605 return file_runner_v1_messages_proto_rawDescGZIP(), []int{7}
606 }
607
608 func (x *FetchSingleTaskResponse) GetTasksVersion() int64 {
609 if x != nil {
610 return x.TasksVersion
611 }
612 return 0
613 }
614
615 func (x *FetchSingleTaskResponse) GetTask() *Task {
616 if x != nil {
617 return x.Task
618 }
619 return nil
620 }
621
622 type UpdateTaskRequest struct {
623 state protoimpl.MessageState
624 sizeCache protoimpl.SizeCache
625 unknownFields protoimpl.UnknownFields
626
627 State *TaskState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
628 Outputs map[string]string `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The outputs of the task. Since the outputs may be large, the client does not need to send all outputs every time, only the unsent outputs.
629 }
630
631 func (x *UpdateTaskRequest) Reset() {
632 *x = UpdateTaskRequest{}
633 if protoimpl.UnsafeEnabled {
634 mi := &file_runner_v1_messages_proto_msgTypes[8]
635 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
636 ms.StoreMessageInfo(mi)
637 }
638 }
639
640 func (x *UpdateTaskRequest) String() string {
641 return protoimpl.X.MessageStringOf(x)
642 }
643
644 func (*UpdateTaskRequest) ProtoMessage() {}
645
646 func (x *UpdateTaskRequest) ProtoReflect() protoreflect.Message {
647 mi := &file_runner_v1_messages_proto_msgTypes[8]
648 if protoimpl.UnsafeEnabled && x != nil {
649 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
650 if ms.LoadMessageInfo() == nil {
651 ms.StoreMessageInfo(mi)
652 }
653 return ms
654 }
655 return mi.MessageOf(x)
656 }
657
658 // Deprecated: Use UpdateTaskRequest.ProtoReflect.Descriptor instead.
659 func (*UpdateTaskRequest) Descriptor() ([]byte, []int) {
660 return file_runner_v1_messages_proto_rawDescGZIP(), []int{8}
661 }
662
663 func (x *UpdateTaskRequest) GetState() *TaskState {
664 if x != nil {
665 return x.State
666 }
667 return nil
668 }
669
670 func (x *UpdateTaskRequest) GetOutputs() map[string]string {
671 if x != nil {
672 return x.Outputs
673 }
674 return nil
675 }
676
677 type UpdateTaskResponse struct {
678 state protoimpl.MessageState
679 sizeCache protoimpl.SizeCache
680 unknownFields protoimpl.UnknownFields
681
682 State *TaskState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
683 SentOutputs []string `protobuf:"bytes,2,rep,name=sent_outputs,json=sentOutputs,proto3" json:"sent_outputs,omitempty"` // The keys of the outputs that have been sent, not only the ones that have been sent this time, but also those that have been sent before.
684 }
685
686 func (x *UpdateTaskResponse) Reset() {
687 *x = UpdateTaskResponse{}
688 if protoimpl.UnsafeEnabled {
689 mi := &file_runner_v1_messages_proto_msgTypes[9]
690 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
691 ms.StoreMessageInfo(mi)
692 }
693 }
694
695 func (x *UpdateTaskResponse) String() string {
696 return protoimpl.X.MessageStringOf(x)
697 }
698
699 func (*UpdateTaskResponse) ProtoMessage() {}
700
701 func (x *UpdateTaskResponse) ProtoReflect() protoreflect.Message {
702 mi := &file_runner_v1_messages_proto_msgTypes[9]
703 if protoimpl.UnsafeEnabled && x != nil {
704 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
705 if ms.LoadMessageInfo() == nil {
706 ms.StoreMessageInfo(mi)
707 }
708 return ms
709 }
710 return mi.MessageOf(x)
711 }
712
713 // Deprecated: Use UpdateTaskResponse.ProtoReflect.Descriptor instead.
714 func (*UpdateTaskResponse) Descriptor() ([]byte, []int) {
715 return file_runner_v1_messages_proto_rawDescGZIP(), []int{9}
716 }
717
718 func (x *UpdateTaskResponse) GetState() *TaskState {
719 if x != nil {
720 return x.State
721 }
722 return nil
723 }
724
725 func (x *UpdateTaskResponse) GetSentOutputs() []string {
726 if x != nil {
727 return x.SentOutputs
728 }
729 return nil
730 }
731
732 type UpdateLogRequest struct {
733 state protoimpl.MessageState
734 sizeCache protoimpl.SizeCache
735 unknownFields protoimpl.UnknownFields
736
737 TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
738 Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` // The actual index of the first line.
739 Rows []*LogRow `protobuf:"bytes,3,rep,name=rows,proto3" json:"rows,omitempty"`
740 NoMore bool `protobuf:"varint,4,opt,name=no_more,json=noMore,proto3" json:"no_more,omitempty"` // No more logs.
741 }
742
743 func (x *UpdateLogRequest) Reset() {
744 *x = UpdateLogRequest{}
745 if protoimpl.UnsafeEnabled {
746 mi := &file_runner_v1_messages_proto_msgTypes[10]
747 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
748 ms.StoreMessageInfo(mi)
749 }
750 }
751
752 func (x *UpdateLogRequest) String() string {
753 return protoimpl.X.MessageStringOf(x)
754 }
755
756 func (*UpdateLogRequest) ProtoMessage() {}
757
758 func (x *UpdateLogRequest) ProtoReflect() protoreflect.Message {
759 mi := &file_runner_v1_messages_proto_msgTypes[10]
760 if protoimpl.UnsafeEnabled && x != nil {
761 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
762 if ms.LoadMessageInfo() == nil {
763 ms.StoreMessageInfo(mi)
764 }
765 return ms
766 }
767 return mi.MessageOf(x)
768 }
769
770 // Deprecated: Use UpdateLogRequest.ProtoReflect.Descriptor instead.
771 func (*UpdateLogRequest) Descriptor() ([]byte, []int) {
772 return file_runner_v1_messages_proto_rawDescGZIP(), []int{10}
773 }
774
775 func (x *UpdateLogRequest) GetTaskId() int64 {
776 if x != nil {
777 return x.TaskId
778 }
779 return 0
780 }
781
782 func (x *UpdateLogRequest) GetIndex() int64 {
783 if x != nil {
784 return x.Index
785 }
786 return 0
787 }
788
789 func (x *UpdateLogRequest) GetRows() []*LogRow {
790 if x != nil {
791 return x.Rows
792 }
793 return nil
794 }
795
796 func (x *UpdateLogRequest) GetNoMore() bool {
797 if x != nil {
798 return x.NoMore
799 }
800 return false
801 }
802
803 type UpdateLogResponse struct {
804 state protoimpl.MessageState
805 sizeCache protoimpl.SizeCache
806 unknownFields protoimpl.UnknownFields
807
808 AckIndex int64 `protobuf:"varint,1,opt,name=ack_index,json=ackIndex,proto3" json:"ack_index,omitempty"` // If all lines are received, should be index + length(lines).
809 }
810
811 func (x *UpdateLogResponse) Reset() {
812 *x = UpdateLogResponse{}
813 if protoimpl.UnsafeEnabled {
814 mi := &file_runner_v1_messages_proto_msgTypes[11]
815 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
816 ms.StoreMessageInfo(mi)
817 }
818 }
819
820 func (x *UpdateLogResponse) String() string {
821 return protoimpl.X.MessageStringOf(x)
822 }
823
824 func (*UpdateLogResponse) ProtoMessage() {}
825
826 func (x *UpdateLogResponse) ProtoReflect() protoreflect.Message {
827 mi := &file_runner_v1_messages_proto_msgTypes[11]
828 if protoimpl.UnsafeEnabled && x != nil {
829 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
830 if ms.LoadMessageInfo() == nil {
831 ms.StoreMessageInfo(mi)
832 }
833 return ms
834 }
835 return mi.MessageOf(x)
836 }
837
838 // Deprecated: Use UpdateLogResponse.ProtoReflect.Descriptor instead.
839 func (*UpdateLogResponse) Descriptor() ([]byte, []int) {
840 return file_runner_v1_messages_proto_rawDescGZIP(), []int{11}
841 }
842
843 func (x *UpdateLogResponse) GetAckIndex() int64 {
844 if x != nil {
845 return x.AckIndex
846 }
847 return 0
848 }
849
850 type StepSummary struct {
851 state protoimpl.MessageState
852 sizeCache protoimpl.SizeCache
853 unknownFields protoimpl.UnknownFields
854
855 StepNumber int64 `protobuf:"varint,1,opt,name=step_number,json=stepNumber,proto3" json:"step_number,omitempty"` // Same as StepState.id (zero-based index of a task's step).
856 Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // Markdown, to be rendered. Capped at 1MiB and in contrast to Github truncated on upload.
857 }
858
859 func (x *StepSummary) Reset() {
860 *x = StepSummary{}
861 if protoimpl.UnsafeEnabled {
862 mi := &file_runner_v1_messages_proto_msgTypes[12]
863 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
864 ms.StoreMessageInfo(mi)
865 }
866 }
867
868 func (x *StepSummary) String() string {
869 return protoimpl.X.MessageStringOf(x)
870 }
871
872 func (*StepSummary) ProtoMessage() {}
873
874 func (x *StepSummary) ProtoReflect() protoreflect.Message {
875 mi := &file_runner_v1_messages_proto_msgTypes[12]
876 if protoimpl.UnsafeEnabled && x != nil {
877 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
878 if ms.LoadMessageInfo() == nil {
879 ms.StoreMessageInfo(mi)
880 }
881 return ms
882 }
883 return mi.MessageOf(x)
884 }
885
886 // Deprecated: Use StepSummary.ProtoReflect.Descriptor instead.
887 func (*StepSummary) Descriptor() ([]byte, []int) {
888 return file_runner_v1_messages_proto_rawDescGZIP(), []int{12}
889 }
890
891 func (x *StepSummary) GetStepNumber() int64 {
892 if x != nil {
893 return x.StepNumber
894 }
895 return 0
896 }
897
898 func (x *StepSummary) GetContent() string {
899 if x != nil {
900 return x.Content
901 }
902 return ""
903 }
904
905 type UpdateStepSummaryRequest struct {
906 state protoimpl.MessageState
907 sizeCache protoimpl.SizeCache
908 unknownFields protoimpl.UnknownFields
909
910 TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
911 // The full current content of each step summary that changed since the last successful call.
912 // The server upserts each entry by (task_id, step_number), making retries idempotent.
913 Summaries []*StepSummary `protobuf:"bytes,2,rep,name=summaries,proto3" json:"summaries,omitempty"`
914 }
915
916 func (x *UpdateStepSummaryRequest) Reset() {
917 *x = UpdateStepSummaryRequest{}
918 if protoimpl.UnsafeEnabled {
919 mi := &file_runner_v1_messages_proto_msgTypes[13]
920 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
921 ms.StoreMessageInfo(mi)
922 }
923 }
924
925 func (x *UpdateStepSummaryRequest) String() string {
926 return protoimpl.X.MessageStringOf(x)
927 }
928
929 func (*UpdateStepSummaryRequest) ProtoMessage() {}
930
931 func (x *UpdateStepSummaryRequest) ProtoReflect() protoreflect.Message {
932 mi := &file_runner_v1_messages_proto_msgTypes[13]
933 if protoimpl.UnsafeEnabled && x != nil {
934 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
935 if ms.LoadMessageInfo() == nil {
936 ms.StoreMessageInfo(mi)
937 }
938 return ms
939 }
940 return mi.MessageOf(x)
941 }
942
943 // Deprecated: Use UpdateStepSummaryRequest.ProtoReflect.Descriptor instead.
944 func (*UpdateStepSummaryRequest) Descriptor() ([]byte, []int) {
945 return file_runner_v1_messages_proto_rawDescGZIP(), []int{13}
946 }
947
948 func (x *UpdateStepSummaryRequest) GetTaskId() int64 {
949 if x != nil {
950 return x.TaskId
951 }
952 return 0
953 }
954
955 func (x *UpdateStepSummaryRequest) GetSummaries() []*StepSummary {
956 if x != nil {
957 return x.Summaries
958 }
959 return nil
960 }
961
962 type UpdateStepSummaryResponse struct {
963 state protoimpl.MessageState
964 sizeCache protoimpl.SizeCache
965 unknownFields protoimpl.UnknownFields
966 }
967
968 func (x *UpdateStepSummaryResponse) Reset() {
969 *x = UpdateStepSummaryResponse{}
970 if protoimpl.UnsafeEnabled {
971 mi := &file_runner_v1_messages_proto_msgTypes[14]
972 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
973 ms.StoreMessageInfo(mi)
974 }
975 }
976
977 func (x *UpdateStepSummaryResponse) String() string {
978 return protoimpl.X.MessageStringOf(x)
979 }
980
981 func (*UpdateStepSummaryResponse) ProtoMessage() {}
982
983 func (x *UpdateStepSummaryResponse) ProtoReflect() protoreflect.Message {
984 mi := &file_runner_v1_messages_proto_msgTypes[14]
985 if protoimpl.UnsafeEnabled && x != nil {
986 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
987 if ms.LoadMessageInfo() == nil {
988 ms.StoreMessageInfo(mi)
989 }
990 return ms
991 }
992 return mi.MessageOf(x)
993 }
994
995 // Deprecated: Use UpdateStepSummaryResponse.ProtoReflect.Descriptor instead.
996 func (*UpdateStepSummaryResponse) Descriptor() ([]byte, []int) {
997 return file_runner_v1_messages_proto_rawDescGZIP(), []int{14}
998 }
999
1000 // Runner Payload
1001 type Runner struct {
1002 state protoimpl.MessageState
1003 sizeCache protoimpl.SizeCache
1004 unknownFields protoimpl.UnknownFields
1005
1006 Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
1007 Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
1008 Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
1009 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
1010 Status RunnerStatus `protobuf:"varint,5,opt,name=status,proto3,enum=runner.v1.RunnerStatus" json:"status,omitempty"`
1011 // Deprecated: Do not use.
1012 AgentLabels []string `protobuf:"bytes,6,rep,name=agent_labels,json=agentLabels,proto3" json:"agent_labels,omitempty"`
1013 // Deprecated: Do not use.
1014 CustomLabels []string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty"`
1015 Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"`
1016 Labels []string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty"`
1017 Ephemeral bool `protobuf:"varint,10,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
1018 }
1019
1020 func (x *Runner) Reset() {
1021 *x = Runner{}
1022 if protoimpl.UnsafeEnabled {
1023 mi := &file_runner_v1_messages_proto_msgTypes[15]
1024 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1025 ms.StoreMessageInfo(mi)
1026 }
1027 }
1028
1029 func (x *Runner) String() string {
1030 return protoimpl.X.MessageStringOf(x)
1031 }
1032
1033 func (*Runner) ProtoMessage() {}
1034
1035 func (x *Runner) ProtoReflect() protoreflect.Message {
1036 mi := &file_runner_v1_messages_proto_msgTypes[15]
1037 if protoimpl.UnsafeEnabled && x != nil {
1038 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1039 if ms.LoadMessageInfo() == nil {
1040 ms.StoreMessageInfo(mi)
1041 }
1042 return ms
1043 }
1044 return mi.MessageOf(x)
1045 }
1046
1047 // Deprecated: Use Runner.ProtoReflect.Descriptor instead.
1048 func (*Runner) Descriptor() ([]byte, []int) {
1049 return file_runner_v1_messages_proto_rawDescGZIP(), []int{15}
1050 }
1051
1052 func (x *Runner) GetId() int64 {
1053 if x != nil {
1054 return x.Id
1055 }
1056 return 0
1057 }
1058
1059 func (x *Runner) GetUuid() string {
1060 if x != nil {
1061 return x.Uuid
1062 }
1063 return ""
1064 }
1065
1066 func (x *Runner) GetToken() string {
1067 if x != nil {
1068 return x.Token
1069 }
1070 return ""
1071 }
1072
1073 func (x *Runner) GetName() string {
1074 if x != nil {
1075 return x.Name
1076 }
1077 return ""
1078 }
1079
1080 func (x *Runner) GetStatus() RunnerStatus {
1081 if x != nil {
1082 return x.Status
1083 }
1084 return RunnerStatus_RUNNER_STATUS_UNSPECIFIED
1085 }
1086
1087 // Deprecated: Do not use.
1088 func (x *Runner) GetAgentLabels() []string {
1089 if x != nil {
1090 return x.AgentLabels
1091 }
1092 return nil
1093 }
1094
1095 // Deprecated: Do not use.
1096 func (x *Runner) GetCustomLabels() []string {
1097 if x != nil {
1098 return x.CustomLabels
1099 }
1100 return nil
1101 }
1102
1103 func (x *Runner) GetVersion() string {
1104 if x != nil {
1105 return x.Version
1106 }
1107 return ""
1108 }
1109
1110 func (x *Runner) GetLabels() []string {
1111 if x != nil {
1112 return x.Labels
1113 }
1114 return nil
1115 }
1116
1117 func (x *Runner) GetEphemeral() bool {
1118 if x != nil {
1119 return x.Ephemeral
1120 }
1121 return false
1122 }
1123
1124 // Task represents a task.
1125 type Task struct {
1126 state protoimpl.MessageState
1127 sizeCache protoimpl.SizeCache
1128 unknownFields protoimpl.UnknownFields
1129
1130 Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // A unique number for each workflow run, unlike run_id or job_id, task_id never be reused.
1131 WorkflowPayload []byte `protobuf:"bytes,2,opt,name=workflow_payload,json=workflowPayload,proto3,oneof" json:"workflow_payload,omitempty"` // The content of the expanded workflow yaml file.
1132 Context *structpb.Struct `protobuf:"bytes,3,opt,name=context,proto3,oneof" json:"context,omitempty"` // See https://docs.github.com/en/actions/learn-github-actions/contexts#github-context .
1133 Secrets map[string]string `protobuf:"bytes,4,rep,name=secrets,proto3" json:"secrets,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // See https://docs.github.com/en/actions/learn-github-actions/contexts#secrets-context .
1134 // Deprecated: Do not use.
1135 Machine string `protobuf:"bytes,5,opt,name=machine,proto3" json:"machine,omitempty"` // Unused.
1136 Needs map[string]*TaskNeed `protobuf:"bytes,6,rep,name=needs,proto3" json:"needs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // See https://docs.github.com/en/actions/learn-github-actions/contexts#needs-context .
1137 Vars map[string]string `protobuf:"bytes,7,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // See https://docs.github.com/en/actions/learn-github-actions/contexts#vars-context .
1138 }
1139
1140 func (x *Task) Reset() {
1141 *x = Task{}
1142 if protoimpl.UnsafeEnabled {
1143 mi := &file_runner_v1_messages_proto_msgTypes[16]
1144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1145 ms.StoreMessageInfo(mi)
1146 }
1147 }
1148
1149 func (x *Task) String() string {
1150 return protoimpl.X.MessageStringOf(x)
1151 }
1152
1153 func (*Task) ProtoMessage() {}
1154
1155 func (x *Task) ProtoReflect() protoreflect.Message {
1156 mi := &file_runner_v1_messages_proto_msgTypes[16]
1157 if protoimpl.UnsafeEnabled && x != nil {
1158 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1159 if ms.LoadMessageInfo() == nil {
1160 ms.StoreMessageInfo(mi)
1161 }
1162 return ms
1163 }
1164 return mi.MessageOf(x)
1165 }
1166
1167 // Deprecated: Use Task.ProtoReflect.Descriptor instead.
1168 func (*Task) Descriptor() ([]byte, []int) {
1169 return file_runner_v1_messages_proto_rawDescGZIP(), []int{16}
1170 }
1171
1172 func (x *Task) GetId() int64 {
1173 if x != nil {
1174 return x.Id
1175 }
1176 return 0
1177 }
1178
1179 func (x *Task) GetWorkflowPayload() []byte {
1180 if x != nil {
1181 return x.WorkflowPayload
1182 }
1183 return nil
1184 }
1185
1186 func (x *Task) GetContext() *structpb.Struct {
1187 if x != nil {
1188 return x.Context
1189 }
1190 return nil
1191 }
1192
1193 func (x *Task) GetSecrets() map[string]string {
1194 if x != nil {
1195 return x.Secrets
1196 }
1197 return nil
1198 }
1199
1200 // Deprecated: Do not use.
1201 func (x *Task) GetMachine() string {
1202 if x != nil {
1203 return x.Machine
1204 }
1205 return ""
1206 }
1207
1208 func (x *Task) GetNeeds() map[string]*TaskNeed {
1209 if x != nil {
1210 return x.Needs
1211 }
1212 return nil
1213 }
1214
1215 func (x *Task) GetVars() map[string]string {
1216 if x != nil {
1217 return x.Vars
1218 }
1219 return nil
1220 }
1221
1222 // TaskNeed represents a task need.
1223 type TaskNeed struct {
1224 state protoimpl.MessageState
1225 sizeCache protoimpl.SizeCache
1226 unknownFields protoimpl.UnknownFields
1227
1228 Outputs map[string]string `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The set of outputs of a job that the current job depends on.
1229 Result Result `protobuf:"varint,2,opt,name=result,proto3,enum=runner.v1.Result" json:"result,omitempty"` // The result of a job that the current job depends on. Possible values are success, failure, cancelled, or skipped.
1230 }
1231
1232 func (x *TaskNeed) Reset() {
1233 *x = TaskNeed{}
1234 if protoimpl.UnsafeEnabled {
1235 mi := &file_runner_v1_messages_proto_msgTypes[17]
1236 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1237 ms.StoreMessageInfo(mi)
1238 }
1239 }
1240
1241 func (x *TaskNeed) String() string {
1242 return protoimpl.X.MessageStringOf(x)
1243 }
1244
1245 func (*TaskNeed) ProtoMessage() {}
1246
1247 func (x *TaskNeed) ProtoReflect() protoreflect.Message {
1248 mi := &file_runner_v1_messages_proto_msgTypes[17]
1249 if protoimpl.UnsafeEnabled && x != nil {
1250 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1251 if ms.LoadMessageInfo() == nil {
1252 ms.StoreMessageInfo(mi)
1253 }
1254 return ms
1255 }
1256 return mi.MessageOf(x)
1257 }
1258
1259 // Deprecated: Use TaskNeed.ProtoReflect.Descriptor instead.
1260 func (*TaskNeed) Descriptor() ([]byte, []int) {
1261 return file_runner_v1_messages_proto_rawDescGZIP(), []int{17}
1262 }
1263
1264 func (x *TaskNeed) GetOutputs() map[string]string {
1265 if x != nil {
1266 return x.Outputs
1267 }
1268 return nil
1269 }
1270
1271 func (x *TaskNeed) GetResult() Result {
1272 if x != nil {
1273 return x.Result
1274 }
1275 return Result_RESULT_UNSPECIFIED
1276 }
1277
1278 // TaskState represents the state of a task.
1279 type TaskState struct {
1280 state protoimpl.MessageState
1281 sizeCache protoimpl.SizeCache
1282 unknownFields protoimpl.UnknownFields
1283
1284 Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
1285 Result Result `protobuf:"varint,2,opt,name=result,proto3,enum=runner.v1.Result" json:"result,omitempty"`
1286 StartedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
1287 StoppedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=stopped_at,json=stoppedAt,proto3" json:"stopped_at,omitempty"`
1288 Steps []*StepState `protobuf:"bytes,5,rep,name=steps,proto3" json:"steps,omitempty"`
1289 }
1290
1291 func (x *TaskState) Reset() {
1292 *x = TaskState{}
1293 if protoimpl.UnsafeEnabled {
1294 mi := &file_runner_v1_messages_proto_msgTypes[18]
1295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1296 ms.StoreMessageInfo(mi)
1297 }
1298 }
1299
1300 func (x *TaskState) String() string {
1301 return protoimpl.X.MessageStringOf(x)
1302 }
1303
1304 func (*TaskState) ProtoMessage() {}
1305
1306 func (x *TaskState) ProtoReflect() protoreflect.Message {
1307 mi := &file_runner_v1_messages_proto_msgTypes[18]
1308 if protoimpl.UnsafeEnabled && x != nil {
1309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1310 if ms.LoadMessageInfo() == nil {
1311 ms.StoreMessageInfo(mi)
1312 }
1313 return ms
1314 }
1315 return mi.MessageOf(x)
1316 }
1317
1318 // Deprecated: Use TaskState.ProtoReflect.Descriptor instead.
1319 func (*TaskState) Descriptor() ([]byte, []int) {
1320 return file_runner_v1_messages_proto_rawDescGZIP(), []int{18}
1321 }
1322
1323 func (x *TaskState) GetId() int64 {
1324 if x != nil {
1325 return x.Id
1326 }
1327 return 0
1328 }
1329
1330 func (x *TaskState) GetResult() Result {
1331 if x != nil {
1332 return x.Result
1333 }
1334 return Result_RESULT_UNSPECIFIED
1335 }
1336
1337 func (x *TaskState) GetStartedAt() *timestamppb.Timestamp {
1338 if x != nil {
1339 return x.StartedAt
1340 }
1341 return nil
1342 }
1343
1344 func (x *TaskState) GetStoppedAt() *timestamppb.Timestamp {
1345 if x != nil {
1346 return x.StoppedAt
1347 }
1348 return nil
1349 }
1350
1351 func (x *TaskState) GetSteps() []*StepState {
1352 if x != nil {
1353 return x.Steps
1354 }
1355 return nil
1356 }
1357
1358 // TaskState represents the state of a step.
1359 type StepState struct {
1360 state protoimpl.MessageState
1361 sizeCache protoimpl.SizeCache
1362 unknownFields protoimpl.UnknownFields
1363
1364 Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
1365 Result Result `protobuf:"varint,2,opt,name=result,proto3,enum=runner.v1.Result" json:"result,omitempty"`
1366 StartedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
1367 StoppedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=stopped_at,json=stoppedAt,proto3" json:"stopped_at,omitempty"`
1368 LogIndex int64 `protobuf:"varint,5,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"` // Where the first line log of the step.
1369 LogLength int64 `protobuf:"varint,6,opt,name=log_length,json=logLength,proto3" json:"log_length,omitempty"` // How many logs the step has.
1370 }
1371
1372 func (x *StepState) Reset() {
1373 *x = StepState{}
1374 if protoimpl.UnsafeEnabled {
1375 mi := &file_runner_v1_messages_proto_msgTypes[19]
1376 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1377 ms.StoreMessageInfo(mi)
1378 }
1379 }
1380
1381 func (x *StepState) String() string {
1382 return protoimpl.X.MessageStringOf(x)
1383 }
1384
1385 func (*StepState) ProtoMessage() {}
1386
1387 func (x *StepState) ProtoReflect() protoreflect.Message {
1388 mi := &file_runner_v1_messages_proto_msgTypes[19]
1389 if protoimpl.UnsafeEnabled && x != nil {
1390 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1391 if ms.LoadMessageInfo() == nil {
1392 ms.StoreMessageInfo(mi)
1393 }
1394 return ms
1395 }
1396 return mi.MessageOf(x)
1397 }
1398
1399 // Deprecated: Use StepState.ProtoReflect.Descriptor instead.
1400 func (*StepState) Descriptor() ([]byte, []int) {
1401 return file_runner_v1_messages_proto_rawDescGZIP(), []int{19}
1402 }
1403
1404 func (x *StepState) GetId() int64 {
1405 if x != nil {
1406 return x.Id
1407 }
1408 return 0
1409 }
1410
1411 func (x *StepState) GetResult() Result {
1412 if x != nil {
1413 return x.Result
1414 }
1415 return Result_RESULT_UNSPECIFIED
1416 }
1417
1418 func (x *StepState) GetStartedAt() *timestamppb.Timestamp {
1419 if x != nil {
1420 return x.StartedAt
1421 }
1422 return nil
1423 }
1424
1425 func (x *StepState) GetStoppedAt() *timestamppb.Timestamp {
1426 if x != nil {
1427 return x.StoppedAt
1428 }
1429 return nil
1430 }
1431
1432 func (x *StepState) GetLogIndex() int64 {
1433 if x != nil {
1434 return x.LogIndex
1435 }
1436 return 0
1437 }
1438
1439 func (x *StepState) GetLogLength() int64 {
1440 if x != nil {
1441 return x.LogLength
1442 }
1443 return 0
1444 }
1445
1446 // LogRow represents a row of logs.
1447 type LogRow struct {
1448 state protoimpl.MessageState
1449 sizeCache protoimpl.SizeCache
1450 unknownFields protoimpl.UnknownFields
1451
1452 Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
1453 Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
1454 }
1455
1456 func (x *LogRow) Reset() {
1457 *x = LogRow{}
1458 if protoimpl.UnsafeEnabled {
1459 mi := &file_runner_v1_messages_proto_msgTypes[20]
1460 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1461 ms.StoreMessageInfo(mi)
1462 }
1463 }
1464
1465 func (x *LogRow) String() string {
1466 return protoimpl.X.MessageStringOf(x)
1467 }
1468
1469 func (*LogRow) ProtoMessage() {}
1470
1471 func (x *LogRow) ProtoReflect() protoreflect.Message {
1472 mi := &file_runner_v1_messages_proto_msgTypes[20]
1473 if protoimpl.UnsafeEnabled && x != nil {
1474 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1475 if ms.LoadMessageInfo() == nil {
1476 ms.StoreMessageInfo(mi)
1477 }
1478 return ms
1479 }
1480 return mi.MessageOf(x)
1481 }
1482
1483 // Deprecated: Use LogRow.ProtoReflect.Descriptor instead.
1484 func (*LogRow) Descriptor() ([]byte, []int) {
1485 return file_runner_v1_messages_proto_rawDescGZIP(), []int{20}
1486 }
1487
1488 func (x *LogRow) GetTime() *timestamppb.Timestamp {
1489 if x != nil {
1490 return x.Time
1491 }
1492 return nil
1493 }
1494
1495 func (x *LogRow) GetContent() string {
1496 if x != nil {
1497 return x.Content
1498 }
1499 return ""
1500 }
1501
1502 var File_runner_v1_messages_proto protoreflect.FileDescriptor
1503
1504 var file_runner_v1_messages_proto_rawDesc = []byte{
1505 0x0a, 0x18, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73,
1506 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x72, 0x75, 0x6e, 0x6e,
1507 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
1508 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72,
1509 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
1510 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70,
1511 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdb, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65,
1512 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
1513 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05,
1514 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b,
1515 0x65, 0x6e, 0x12, 0x25, 0x0a, 0x0c, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x61, 0x62, 0x65,
1516 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x61, 0x67,
1517 0x65, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x27, 0x0a, 0x0d, 0x63, 0x75, 0x73,
1518 0x74, 0x6f, 0x6d, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09,
1519 0x42, 0x02, 0x18, 0x01, 0x52, 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4c, 0x61, 0x62, 0x65,
1520 0x6c, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20,
1521 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06,
1522 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61,
1523 0x62, 0x65, 0x6c, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61,
1524 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72,
1525 0x61, 0x6c, 0x22, 0x3d, 0x0a, 0x10, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65,
1526 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72,
1527 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e,
1528 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x52, 0x06, 0x72, 0x75, 0x6e, 0x6e, 0x65,
1529 0x72, 0x22, 0x42, 0x0a, 0x0e, 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75,
1530 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01,
1531 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a,
1532 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c,
1533 0x61, 0x62, 0x65, 0x6c, 0x73, 0x22, 0x3c, 0x0a, 0x0f, 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x65,
1534 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x72, 0x75, 0x6e, 0x6e,
1535 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65,
1536 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x52, 0x06, 0x72, 0x75, 0x6e,
1537 0x6e, 0x65, 0x72, 0x22, 0x73, 0x0a, 0x10, 0x46, 0x65, 0x74, 0x63, 0x68, 0x54, 0x61, 0x73, 0x6b,
1538 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x73,
1539 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c,
1540 0x74, 0x61, 0x73, 0x6b, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x0d,
1541 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20,
1542 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x43, 0x61, 0x70, 0x61, 0x63,
1543 0x69, 0x74, 0x79, 0x88, 0x01, 0x01, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f,
1544 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x22, 0x99, 0x01, 0x0a, 0x11, 0x46, 0x65, 0x74,
1545 0x63, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23,
1546 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x72,
1547 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x04, 0x74,
1548 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x76, 0x65, 0x72,
1549 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x74, 0x61, 0x73, 0x6b,
1550 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x10, 0x61, 0x64, 0x64, 0x69,
1551 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x03,
1552 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54,
1553 0x61, 0x73, 0x6b, 0x52, 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x54,
1554 0x61, 0x73, 0x6b, 0x73, 0x22, 0x65, 0x0a, 0x16, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x6e,
1555 0x67, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23,
1556 0x0a, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
1557 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x56, 0x65, 0x72, 0x73,
1558 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x02, 0x20,
1559 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x88, 0x01, 0x01,
1560 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x22, 0x63, 0x0a, 0x17, 0x46,
1561 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65,
1562 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f,
1563 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x74,
1564 0x61, 0x73, 0x6b, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x04, 0x74,
1565 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x72, 0x75, 0x6e, 0x6e,
1566 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x04, 0x74, 0x61, 0x73, 0x6b,
1567 0x22, 0xc0, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52,
1568 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18,
1569 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76,
1570 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61,
1571 0x74, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20,
1572 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
1573 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1574 0x74, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07,
1575 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x75, 0x74, 0x70, 0x75,
1576 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
1577 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
1578 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
1579 0x02, 0x38, 0x01, 0x22, 0x63, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73,
1580 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x05, 0x73, 0x74, 0x61,
1581 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65,
1582 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05,
1583 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x75,
1584 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x6e,
1585 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, 0x81, 0x01, 0x0a, 0x10, 0x55, 0x70, 0x64,
1586 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a,
1587 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
1588 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18,
1589 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x25, 0x0a, 0x04,
1590 0x72, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x72, 0x75, 0x6e,
1591 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x6f, 0x77, 0x52, 0x04, 0x72,
1592 0x6f, 0x77, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x5f, 0x6d, 0x6f, 0x72, 0x65, 0x18, 0x04,
1593 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6e, 0x6f, 0x4d, 0x6f, 0x72, 0x65, 0x22, 0x30, 0x0a, 0x11,
1594 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1595 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01,
1596 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x48,
1597 0x0a, 0x0b, 0x53, 0x74, 0x65, 0x70, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x1f, 0x0a,
1598 0x0b, 0x73, 0x74, 0x65, 0x70, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
1599 0x28, 0x03, 0x52, 0x0a, 0x73, 0x74, 0x65, 0x70, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x18,
1600 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
1601 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x69, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61,
1602 0x74, 0x65, 0x53, 0x74, 0x65, 0x70, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71,
1603 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18,
1604 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x34, 0x0a,
1605 0x09, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
1606 0x32, 0x16, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x65,
1607 0x70, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x09, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72,
1608 0x69, 0x65, 0x73, 0x22, 0x1b, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x65,
1609 0x70, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
1610 0x22, 0xa7, 0x02, 0x0a, 0x06, 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69,
1611 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75,
1612 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12,
1613 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
1614 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20,
1615 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61,
1616 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x72, 0x75, 0x6e, 0x6e,
1617 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74,
1618 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x0c, 0x61, 0x67,
1619 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09,
1620 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c,
1621 0x73, 0x12, 0x27, 0x0a, 0x0d, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x6c, 0x61, 0x62, 0x65,
1622 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0c, 0x63, 0x75,
1623 0x73, 0x74, 0x6f, 0x6d, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65,
1624 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72,
1625 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x09,
1626 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x1c, 0x0a, 0x09,
1627 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52,
1628 0x09, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x22, 0x9a, 0x04, 0x0a, 0x04, 0x54,
1629 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
1630 0x02, 0x69, 0x64, 0x12, 0x2e, 0x0a, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f,
1631 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52,
1632 0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
1633 0x88, 0x01, 0x01, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03,
1634 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
1635 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x01, 0x52,
1636 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x88, 0x01, 0x01, 0x12, 0x36, 0x0a, 0x07, 0x73,
1637 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x72,
1638 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x53, 0x65,
1639 0x63, 0x72, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x73, 0x65, 0x63, 0x72,
1640 0x65, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x07, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x18, 0x05,
1641 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e,
1642 0x65, 0x12, 0x30, 0x0a, 0x05, 0x6e, 0x65, 0x65, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b,
1643 0x32, 0x1a, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73,
1644 0x6b, 0x2e, 0x4e, 0x65, 0x65, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x6e, 0x65,
1645 0x65, 0x64, 0x73, 0x12, 0x2d, 0x0a, 0x04, 0x76, 0x61, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,
1646 0x0b, 0x32, 0x19, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61,
1647 0x73, 0x6b, 0x2e, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x76, 0x61,
1648 0x72, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74,
1649 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
1650 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
1651 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4d,
1652 0x0a, 0x0a, 0x4e, 0x65, 0x65, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
1653 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x29,
1654 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e,
1655 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x65,
1656 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x37, 0x0a,
1657 0x09, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
1658 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
1659 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
1660 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66,
1661 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x5f,
1662 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0xad, 0x01, 0x0a, 0x08, 0x54, 0x61, 0x73, 0x6b,
1663 0x4e, 0x65, 0x65, 0x64, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18,
1664 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76,
1665 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x65, 0x65, 0x64, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75,
1666 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73,
1667 0x12, 0x29, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
1668 0x32, 0x11, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73,
1669 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f,
1670 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
1671 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
1672 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
1673 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xe8, 0x01, 0x0a, 0x09, 0x54, 0x61, 0x73, 0x6b,
1674 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
1675 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x29, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18,
1676 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76,
1677 0x31, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
1678 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03,
1679 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
1680 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
1681 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x73,
1682 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
1683 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1684 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x6f,
1685 0x70, 0x70, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18,
1686 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76,
1687 0x31, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x65,
1688 0x70, 0x73, 0x22, 0xf8, 0x01, 0x0a, 0x09, 0x53, 0x74, 0x65, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65,
1689 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
1690 0x12, 0x29, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
1691 0x32, 0x11, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73,
1692 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x73,
1693 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
1694 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1695 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61,
1696 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x65,
1697 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
1698 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
1699 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x41,
1700 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05,
1701 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d,
1702 0x0a, 0x0a, 0x6c, 0x6f, 0x67, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01,
1703 0x28, 0x03, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x22, 0x52, 0x0a,
1704 0x06, 0x4c, 0x6f, 0x67, 0x52, 0x6f, 0x77, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18,
1705 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
1706 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
1707 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65,
1708 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
1709 0x74, 0x2a, 0x7a, 0x0a, 0x0c, 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75,
1710 0x73, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x55, 0x4e, 0x4e, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54,
1711 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
1712 0x12, 0x16, 0x0a, 0x12, 0x52, 0x55, 0x4e, 0x4e, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55,
1713 0x53, 0x5f, 0x49, 0x44, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x55, 0x4e, 0x4e,
1714 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45,
1715 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x55, 0x4e, 0x4e, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41,
1716 0x54, 0x55, 0x53, 0x5f, 0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x03, 0x2a, 0x72, 0x0a,
1717 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x53, 0x55, 0x4c,
1718 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
1719 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53,
1720 0x53, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x46, 0x41,
1721 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x45, 0x53, 0x55, 0x4c,
1722 0x54, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x12, 0x0a,
1723 0x0e, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x53, 0x4b, 0x49, 0x50, 0x50, 0x45, 0x44, 0x10,
1724 0x04, 0x42, 0x9e, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72,
1725 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x50, 0x72, 0x6f,
1726 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x39, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x66, 0x6f, 0x72, 0x67, 0x65,
1727 0x6a, 0x6f, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x6a, 0x6f, 0x2f, 0x61,
1728 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x75, 0x6e,
1729 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x76, 0x31, 0xa2,
1730 0x02, 0x03, 0x52, 0x58, 0x58, 0xaa, 0x02, 0x09, 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x56,
1731 0x31, 0xca, 0x02, 0x09, 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15,
1732 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74,
1733 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0a, 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x3a, 0x3a,
1734 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1735 }
1736
1737 var (
1738 file_runner_v1_messages_proto_rawDescOnce sync.Once
1739 file_runner_v1_messages_proto_rawDescData = file_runner_v1_messages_proto_rawDesc
1740 )
1741
1742 func file_runner_v1_messages_proto_rawDescGZIP() []byte {
1743 file_runner_v1_messages_proto_rawDescOnce.Do(func() {
1744 file_runner_v1_messages_proto_rawDescData = protoimpl.X.CompressGZIP(file_runner_v1_messages_proto_rawDescData)
1745 })
1746 return file_runner_v1_messages_proto_rawDescData
1747 }
1748
1749 var file_runner_v1_messages_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1750 var file_runner_v1_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
1751 var file_runner_v1_messages_proto_goTypes = []interface{}{
1752 (RunnerStatus)(0), // 0: runner.v1.RunnerStatus
1753 (Result)(0), // 1: runner.v1.Result
1754 (*RegisterRequest)(nil), // 2: runner.v1.RegisterRequest
1755 (*RegisterResponse)(nil), // 3: runner.v1.RegisterResponse
1756 (*DeclareRequest)(nil), // 4: runner.v1.DeclareRequest
1757 (*DeclareResponse)(nil), // 5: runner.v1.DeclareResponse
1758 (*FetchTaskRequest)(nil), // 6: runner.v1.FetchTaskRequest
1759 (*FetchTaskResponse)(nil), // 7: runner.v1.FetchTaskResponse
1760 (*FetchSingleTaskRequest)(nil), // 8: runner.v1.FetchSingleTaskRequest
1761 (*FetchSingleTaskResponse)(nil), // 9: runner.v1.FetchSingleTaskResponse
1762 (*UpdateTaskRequest)(nil), // 10: runner.v1.UpdateTaskRequest
1763 (*UpdateTaskResponse)(nil), // 11: runner.v1.UpdateTaskResponse
1764 (*UpdateLogRequest)(nil), // 12: runner.v1.UpdateLogRequest
1765 (*UpdateLogResponse)(nil), // 13: runner.v1.UpdateLogResponse
1766 (*StepSummary)(nil), // 14: runner.v1.StepSummary
1767 (*UpdateStepSummaryRequest)(nil), // 15: runner.v1.UpdateStepSummaryRequest
1768 (*UpdateStepSummaryResponse)(nil), // 16: runner.v1.UpdateStepSummaryResponse
1769 (*Runner)(nil), // 17: runner.v1.Runner
1770 (*Task)(nil), // 18: runner.v1.Task
1771 (*TaskNeed)(nil), // 19: runner.v1.TaskNeed
1772 (*TaskState)(nil), // 20: runner.v1.TaskState
1773 (*StepState)(nil), // 21: runner.v1.StepState
1774 (*LogRow)(nil), // 22: runner.v1.LogRow
1775 nil, // 23: runner.v1.UpdateTaskRequest.OutputsEntry
1776 nil, // 24: runner.v1.Task.SecretsEntry
1777 nil, // 25: runner.v1.Task.NeedsEntry
1778 nil, // 26: runner.v1.Task.VarsEntry
1779 nil, // 27: runner.v1.TaskNeed.OutputsEntry
1780 (*structpb.Struct)(nil), // 28: google.protobuf.Struct
1781 (*timestamppb.Timestamp)(nil), // 29: google.protobuf.Timestamp
1782 }
1783 var file_runner_v1_messages_proto_depIdxs = []int32{
1784 17, // 0: runner.v1.RegisterResponse.runner:type_name -> runner.v1.Runner
1785 17, // 1: runner.v1.DeclareResponse.runner:type_name -> runner.v1.Runner
1786 18, // 2: runner.v1.FetchTaskResponse.task:type_name -> runner.v1.Task
1787 18, // 3: runner.v1.FetchTaskResponse.additional_tasks:type_name -> runner.v1.Task
1788 18, // 4: runner.v1.FetchSingleTaskResponse.task:type_name -> runner.v1.Task
1789 20, // 5: runner.v1.UpdateTaskRequest.state:type_name -> runner.v1.TaskState
1790 23, // 6: runner.v1.UpdateTaskRequest.outputs:type_name -> runner.v1.UpdateTaskRequest.OutputsEntry
1791 20, // 7: runner.v1.UpdateTaskResponse.state:type_name -> runner.v1.TaskState
1792 22, // 8: runner.v1.UpdateLogRequest.rows:type_name -> runner.v1.LogRow
1793 14, // 9: runner.v1.UpdateStepSummaryRequest.summaries:type_name -> runner.v1.StepSummary
1794 0, // 10: runner.v1.Runner.status:type_name -> runner.v1.RunnerStatus
1795 28, // 11: runner.v1.Task.context:type_name -> google.protobuf.Struct
1796 24, // 12: runner.v1.Task.secrets:type_name -> runner.v1.Task.SecretsEntry
1797 25, // 13: runner.v1.Task.needs:type_name -> runner.v1.Task.NeedsEntry
1798 26, // 14: runner.v1.Task.vars:type_name -> runner.v1.Task.VarsEntry
1799 27, // 15: runner.v1.TaskNeed.outputs:type_name -> runner.v1.TaskNeed.OutputsEntry
1800 1, // 16: runner.v1.TaskNeed.result:type_name -> runner.v1.Result
1801 1, // 17: runner.v1.TaskState.result:type_name -> runner.v1.Result
1802 29, // 18: runner.v1.TaskState.started_at:type_name -> google.protobuf.Timestamp
1803 29, // 19: runner.v1.TaskState.stopped_at:type_name -> google.protobuf.Timestamp
1804 21, // 20: runner.v1.TaskState.steps:type_name -> runner.v1.StepState
1805 1, // 21: runner.v1.StepState.result:type_name -> runner.v1.Result
1806 29, // 22: runner.v1.StepState.started_at:type_name -> google.protobuf.Timestamp
1807 29, // 23: runner.v1.StepState.stopped_at:type_name -> google.protobuf.Timestamp
1808 29, // 24: runner.v1.LogRow.time:type_name -> google.protobuf.Timestamp
1809 19, // 25: runner.v1.Task.NeedsEntry.value:type_name -> runner.v1.TaskNeed
1810 26, // [26:26] is the sub-list for method output_type
1811 26, // [26:26] is the sub-list for method input_type
1812 26, // [26:26] is the sub-list for extension type_name
1813 26, // [26:26] is the sub-list for extension extendee
1814 0, // [0:26] is the sub-list for field type_name
1815 }
1816
1817 func init() { file_runner_v1_messages_proto_init() }
1818 func file_runner_v1_messages_proto_init() {
1819 if File_runner_v1_messages_proto != nil {
1820 return
1821 }
1822 if !protoimpl.UnsafeEnabled {
1823 file_runner_v1_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1824 switch v := v.(*RegisterRequest); i {
1825 case 0:
1826 return &v.state
1827 case 1:
1828 return &v.sizeCache
1829 case 2:
1830 return &v.unknownFields
1831 default:
1832 return nil
1833 }
1834 }
1835 file_runner_v1_messages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1836 switch v := v.(*RegisterResponse); i {
1837 case 0:
1838 return &v.state
1839 case 1:
1840 return &v.sizeCache
1841 case 2:
1842 return &v.unknownFields
1843 default:
1844 return nil
1845 }
1846 }
1847 file_runner_v1_messages_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1848 switch v := v.(*DeclareRequest); i {
1849 case 0:
1850 return &v.state
1851 case 1:
1852 return &v.sizeCache
1853 case 2:
1854 return &v.unknownFields
1855 default:
1856 return nil
1857 }
1858 }
1859 file_runner_v1_messages_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1860 switch v := v.(*DeclareResponse); i {
1861 case 0:
1862 return &v.state
1863 case 1:
1864 return &v.sizeCache
1865 case 2:
1866 return &v.unknownFields
1867 default:
1868 return nil
1869 }
1870 }
1871 file_runner_v1_messages_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1872 switch v := v.(*FetchTaskRequest); i {
1873 case 0:
1874 return &v.state
1875 case 1:
1876 return &v.sizeCache
1877 case 2:
1878 return &v.unknownFields
1879 default:
1880 return nil
1881 }
1882 }
1883 file_runner_v1_messages_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1884 switch v := v.(*FetchTaskResponse); i {
1885 case 0:
1886 return &v.state
1887 case 1:
1888 return &v.sizeCache
1889 case 2:
1890 return &v.unknownFields
1891 default:
1892 return nil
1893 }
1894 }
1895 file_runner_v1_messages_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1896 switch v := v.(*FetchSingleTaskRequest); i {
1897 case 0:
1898 return &v.state
1899 case 1:
1900 return &v.sizeCache
1901 case 2:
1902 return &v.unknownFields
1903 default:
1904 return nil
1905 }
1906 }
1907 file_runner_v1_messages_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1908 switch v := v.(*FetchSingleTaskResponse); i {
1909 case 0:
1910 return &v.state
1911 case 1:
1912 return &v.sizeCache
1913 case 2:
1914 return &v.unknownFields
1915 default:
1916 return nil
1917 }
1918 }
1919 file_runner_v1_messages_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1920 switch v := v.(*UpdateTaskRequest); i {
1921 case 0:
1922 return &v.state
1923 case 1:
1924 return &v.sizeCache
1925 case 2:
1926 return &v.unknownFields
1927 default:
1928 return nil
1929 }
1930 }
1931 file_runner_v1_messages_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1932 switch v := v.(*UpdateTaskResponse); i {
1933 case 0:
1934 return &v.state
1935 case 1:
1936 return &v.sizeCache
1937 case 2:
1938 return &v.unknownFields
1939 default:
1940 return nil
1941 }
1942 }
1943 file_runner_v1_messages_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1944 switch v := v.(*UpdateLogRequest); i {
1945 case 0:
1946 return &v.state
1947 case 1:
1948 return &v.sizeCache
1949 case 2:
1950 return &v.unknownFields
1951 default:
1952 return nil
1953 }
1954 }
1955 file_runner_v1_messages_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1956 switch v := v.(*UpdateLogResponse); i {
1957 case 0:
1958 return &v.state
1959 case 1:
1960 return &v.sizeCache
1961 case 2:
1962 return &v.unknownFields
1963 default:
1964 return nil
1965 }
1966 }
1967 file_runner_v1_messages_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
1968 switch v := v.(*StepSummary); i {
1969 case 0:
1970 return &v.state
1971 case 1:
1972 return &v.sizeCache
1973 case 2:
1974 return &v.unknownFields
1975 default:
1976 return nil
1977 }
1978 }
1979 file_runner_v1_messages_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
1980 switch v := v.(*UpdateStepSummaryRequest); i {
1981 case 0:
1982 return &v.state
1983 case 1:
1984 return &v.sizeCache
1985 case 2:
1986 return &v.unknownFields
1987 default:
1988 return nil
1989 }
1990 }
1991 file_runner_v1_messages_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
1992 switch v := v.(*UpdateStepSummaryResponse); i {
1993 case 0:
1994 return &v.state
1995 case 1:
1996 return &v.sizeCache
1997 case 2:
1998 return &v.unknownFields
1999 default:
2000 return nil
2001 }
2002 }
2003 file_runner_v1_messages_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
2004 switch v := v.(*Runner); i {
2005 case 0:
2006 return &v.state
2007 case 1:
2008 return &v.sizeCache
2009 case 2:
2010 return &v.unknownFields
2011 default:
2012 return nil
2013 }
2014 }
2015 file_runner_v1_messages_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
2016 switch v := v.(*Task); i {
2017 case 0:
2018 return &v.state
2019 case 1:
2020 return &v.sizeCache
2021 case 2:
2022 return &v.unknownFields
2023 default:
2024 return nil
2025 }
2026 }
2027 file_runner_v1_messages_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
2028 switch v := v.(*TaskNeed); i {
2029 case 0:
2030 return &v.state
2031 case 1:
2032 return &v.sizeCache
2033 case 2:
2034 return &v.unknownFields
2035 default:
2036 return nil
2037 }
2038 }
2039 file_runner_v1_messages_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
2040 switch v := v.(*TaskState); i {
2041 case 0:
2042 return &v.state
2043 case 1:
2044 return &v.sizeCache
2045 case 2:
2046 return &v.unknownFields
2047 default:
2048 return nil
2049 }
2050 }
2051 file_runner_v1_messages_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
2052 switch v := v.(*StepState); i {
2053 case 0:
2054 return &v.state
2055 case 1:
2056 return &v.sizeCache
2057 case 2:
2058 return &v.unknownFields
2059 default:
2060 return nil
2061 }
2062 }
2063 file_runner_v1_messages_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
2064 switch v := v.(*LogRow); i {
2065 case 0:
2066 return &v.state
2067 case 1:
2068 return &v.sizeCache
2069 case 2:
2070 return &v.unknownFields
2071 default:
2072 return nil
2073 }
2074 }
2075 }
2076 file_runner_v1_messages_proto_msgTypes[4].OneofWrappers = []interface{}{}
2077 file_runner_v1_messages_proto_msgTypes[6].OneofWrappers = []interface{}{}
2078 file_runner_v1_messages_proto_msgTypes[16].OneofWrappers = []interface{}{}
2079 type x struct{}
2080 out := protoimpl.TypeBuilder{
2081 File: protoimpl.DescBuilder{
2082 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2083 RawDescriptor: file_runner_v1_messages_proto_rawDesc,
2084 NumEnums: 2,
2085 NumMessages: 26,
2086 NumExtensions: 0,
2087 NumServices: 0,
2088 },
2089 GoTypes: file_runner_v1_messages_proto_goTypes,
2090 DependencyIndexes: file_runner_v1_messages_proto_depIdxs,
2091 EnumInfos: file_runner_v1_messages_proto_enumTypes,
2092 MessageInfos: file_runner_v1_messages_proto_msgTypes,
2093 }.Build()
2094 File_runner_v1_messages_proto = out.File
2095 file_runner_v1_messages_proto_rawDesc = nil
2096 file_runner_v1_messages_proto_goTypes = nil
2097 file_runner_v1_messages_proto_depIdxs = nil
2098 }