| 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 | Capabilities []string `protobuf:"bytes,8,rep,name=capabilities,proto3" json:"capabilities,omitempty"` // Capability flags the runner advertises (e.g. "cancelling"). |
| 149 | } |
| 150 | |
| 151 | func (x *RegisterRequest) Reset() { |
| 152 | *x = RegisterRequest{} |
| 153 | if protoimpl.UnsafeEnabled { |
| 154 | mi := &file_runner_v1_messages_proto_msgTypes[0] |
| 155 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 156 | ms.StoreMessageInfo(mi) |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | func (x *RegisterRequest) String() string { |
| 161 | return protoimpl.X.MessageStringOf(x) |
| 162 | } |
| 163 | |
| 164 | func (*RegisterRequest) ProtoMessage() {} |
| 165 | |
| 166 | func (x *RegisterRequest) ProtoReflect() protoreflect.Message { |
| 167 | mi := &file_runner_v1_messages_proto_msgTypes[0] |
| 168 | if protoimpl.UnsafeEnabled && x != nil { |
| 169 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 170 | if ms.LoadMessageInfo() == nil { |
| 171 | ms.StoreMessageInfo(mi) |
| 172 | } |
| 173 | return ms |
| 174 | } |
| 175 | return mi.MessageOf(x) |
| 176 | } |
| 177 | |
| 178 | // Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead. |
| 179 | func (*RegisterRequest) Descriptor() ([]byte, []int) { |
| 180 | return file_runner_v1_messages_proto_rawDescGZIP(), []int{0} |
| 181 | } |
| 182 | |
| 183 | func (x *RegisterRequest) GetName() string { |
| 184 | if x != nil { |
| 185 | return x.Name |
| 186 | } |
| 187 | return "" |
| 188 | } |
| 189 | |
| 190 | func (x *RegisterRequest) GetToken() string { |
| 191 | if x != nil { |
| 192 | return x.Token |
| 193 | } |
| 194 | return "" |
| 195 | } |
| 196 | |
| 197 | // Deprecated: Do not use. |
| 198 | func (x *RegisterRequest) GetAgentLabels() []string { |
| 199 | if x != nil { |
| 200 | return x.AgentLabels |
| 201 | } |
| 202 | return nil |
| 203 | } |
| 204 | |
| 205 | // Deprecated: Do not use. |
| 206 | func (x *RegisterRequest) GetCustomLabels() []string { |
| 207 | if x != nil { |
| 208 | return x.CustomLabels |
| 209 | } |
| 210 | return nil |
| 211 | } |
| 212 | |
| 213 | func (x *RegisterRequest) GetVersion() string { |
| 214 | if x != nil { |
| 215 | return x.Version |
| 216 | } |
| 217 | return "" |
| 218 | } |
| 219 | |
| 220 | func (x *RegisterRequest) GetLabels() []string { |
| 221 | if x != nil { |
| 222 | return x.Labels |
| 223 | } |
| 224 | return nil |
| 225 | } |
| 226 | |
| 227 | func (x *RegisterRequest) GetEphemeral() bool { |
| 228 | if x != nil { |
| 229 | return x.Ephemeral |
| 230 | } |
| 231 | return false |
| 232 | } |
| 233 | |
| 234 | func (x *RegisterRequest) GetCapabilities() []string { |
| 235 | if x != nil { |
| 236 | return x.Capabilities |
| 237 | } |
| 238 | return nil |
| 239 | } |
| 240 | |
| 241 | type RegisterResponse struct { |
| 242 | state protoimpl.MessageState |
| 243 | sizeCache protoimpl.SizeCache |
| 244 | unknownFields protoimpl.UnknownFields |
| 245 | |
| 246 | Runner *Runner `protobuf:"bytes,1,opt,name=runner,proto3" json:"runner,omitempty"` |
| 247 | } |
| 248 | |
| 249 | func (x *RegisterResponse) Reset() { |
| 250 | *x = RegisterResponse{} |
| 251 | if protoimpl.UnsafeEnabled { |
| 252 | mi := &file_runner_v1_messages_proto_msgTypes[1] |
| 253 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 254 | ms.StoreMessageInfo(mi) |
| 255 | } |
| 256 | } |
| 257 | |
| 258 | func (x *RegisterResponse) String() string { |
| 259 | return protoimpl.X.MessageStringOf(x) |
| 260 | } |
| 261 | |
| 262 | func (*RegisterResponse) ProtoMessage() {} |
| 263 | |
| 264 | func (x *RegisterResponse) ProtoReflect() protoreflect.Message { |
| 265 | mi := &file_runner_v1_messages_proto_msgTypes[1] |
| 266 | if protoimpl.UnsafeEnabled && x != nil { |
| 267 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 268 | if ms.LoadMessageInfo() == nil { |
| 269 | ms.StoreMessageInfo(mi) |
| 270 | } |
| 271 | return ms |
| 272 | } |
| 273 | return mi.MessageOf(x) |
| 274 | } |
| 275 | |
| 276 | // Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead. |
| 277 | func (*RegisterResponse) Descriptor() ([]byte, []int) { |
| 278 | return file_runner_v1_messages_proto_rawDescGZIP(), []int{1} |
| 279 | } |
| 280 | |
| 281 | func (x *RegisterResponse) GetRunner() *Runner { |
| 282 | if x != nil { |
| 283 | return x.Runner |
| 284 | } |
| 285 | return nil |
| 286 | } |
| 287 | |
| 288 | type DeclareRequest struct { |
| 289 | state protoimpl.MessageState |
| 290 | sizeCache protoimpl.SizeCache |
| 291 | unknownFields protoimpl.UnknownFields |
| 292 | |
| 293 | Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` |
| 294 | Labels []string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"` |
| 295 | Capabilities []string `protobuf:"bytes,3,rep,name=capabilities,proto3" json:"capabilities,omitempty"` // Capability flags the runner advertises (e.g. "cancelling"). |
| 296 | } |
| 297 | |
| 298 | func (x *DeclareRequest) Reset() { |
| 299 | *x = DeclareRequest{} |
| 300 | if protoimpl.UnsafeEnabled { |
| 301 | mi := &file_runner_v1_messages_proto_msgTypes[2] |
| 302 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 303 | ms.StoreMessageInfo(mi) |
| 304 | } |
| 305 | } |
| 306 | |
| 307 | func (x *DeclareRequest) String() string { |
| 308 | return protoimpl.X.MessageStringOf(x) |
| 309 | } |
| 310 | |
| 311 | func (*DeclareRequest) ProtoMessage() {} |
| 312 | |
| 313 | func (x *DeclareRequest) ProtoReflect() protoreflect.Message { |
| 314 | mi := &file_runner_v1_messages_proto_msgTypes[2] |
| 315 | if protoimpl.UnsafeEnabled && x != nil { |
| 316 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 317 | if ms.LoadMessageInfo() == nil { |
| 318 | ms.StoreMessageInfo(mi) |
| 319 | } |
| 320 | return ms |
| 321 | } |
| 322 | return mi.MessageOf(x) |
| 323 | } |
| 324 | |
| 325 | // Deprecated: Use DeclareRequest.ProtoReflect.Descriptor instead. |
| 326 | func (*DeclareRequest) Descriptor() ([]byte, []int) { |
| 327 | return file_runner_v1_messages_proto_rawDescGZIP(), []int{2} |
| 328 | } |
| 329 | |
| 330 | func (x *DeclareRequest) GetVersion() string { |
| 331 | if x != nil { |
| 332 | return x.Version |
| 333 | } |
| 334 | return "" |
| 335 | } |
| 336 | |
| 337 | func (x *DeclareRequest) GetLabels() []string { |
| 338 | if x != nil { |
| 339 | return x.Labels |
| 340 | } |
| 341 | return nil |
| 342 | } |
| 343 | |
| 344 | func (x *DeclareRequest) GetCapabilities() []string { |
| 345 | if x != nil { |
| 346 | return x.Capabilities |
| 347 | } |
| 348 | return nil |
| 349 | } |
| 350 | |
| 351 | type DeclareResponse struct { |
| 352 | state protoimpl.MessageState |
| 353 | sizeCache protoimpl.SizeCache |
| 354 | unknownFields protoimpl.UnknownFields |
| 355 | |
| 356 | Runner *Runner `protobuf:"bytes,1,opt,name=runner,proto3" json:"runner,omitempty"` |
| 357 | } |
| 358 | |
| 359 | func (x *DeclareResponse) Reset() { |
| 360 | *x = DeclareResponse{} |
| 361 | if protoimpl.UnsafeEnabled { |
| 362 | mi := &file_runner_v1_messages_proto_msgTypes[3] |
| 363 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 364 | ms.StoreMessageInfo(mi) |
| 365 | } |
| 366 | } |
| 367 | |
| 368 | func (x *DeclareResponse) String() string { |
| 369 | return protoimpl.X.MessageStringOf(x) |
| 370 | } |
| 371 | |
| 372 | func (*DeclareResponse) ProtoMessage() {} |
| 373 | |
| 374 | func (x *DeclareResponse) ProtoReflect() protoreflect.Message { |
| 375 | mi := &file_runner_v1_messages_proto_msgTypes[3] |
| 376 | if protoimpl.UnsafeEnabled && x != nil { |
| 377 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 378 | if ms.LoadMessageInfo() == nil { |
| 379 | ms.StoreMessageInfo(mi) |
| 380 | } |
| 381 | return ms |
| 382 | } |
| 383 | return mi.MessageOf(x) |
| 384 | } |
| 385 | |
| 386 | // Deprecated: Use DeclareResponse.ProtoReflect.Descriptor instead. |
| 387 | func (*DeclareResponse) Descriptor() ([]byte, []int) { |
| 388 | return file_runner_v1_messages_proto_rawDescGZIP(), []int{3} |
| 389 | } |
| 390 | |
| 391 | func (x *DeclareResponse) GetRunner() *Runner { |
| 392 | if x != nil { |
| 393 | return x.Runner |
| 394 | } |
| 395 | return nil |
| 396 | } |
| 397 | |
| 398 | type FetchTaskRequest struct { |
| 399 | state protoimpl.MessageState |
| 400 | sizeCache protoimpl.SizeCache |
| 401 | unknownFields protoimpl.UnknownFields |
| 402 | |
| 403 | TasksVersion int64 `protobuf:"varint,1,opt,name=tasks_version,json=tasksVersion,proto3" json:"tasks_version,omitempty"` // Runner use `tasks_version` to compare with Gitea and detemine whether new tasks may exist. |
| 404 | } |
| 405 | |
| 406 | func (x *FetchTaskRequest) Reset() { |
| 407 | *x = FetchTaskRequest{} |
| 408 | if protoimpl.UnsafeEnabled { |
| 409 | mi := &file_runner_v1_messages_proto_msgTypes[4] |
| 410 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 411 | ms.StoreMessageInfo(mi) |
| 412 | } |
| 413 | } |
| 414 | |
| 415 | func (x *FetchTaskRequest) String() string { |
| 416 | return protoimpl.X.MessageStringOf(x) |
| 417 | } |
| 418 | |
| 419 | func (*FetchTaskRequest) ProtoMessage() {} |
| 420 | |
| 421 | func (x *FetchTaskRequest) ProtoReflect() protoreflect.Message { |
| 422 | mi := &file_runner_v1_messages_proto_msgTypes[4] |
| 423 | if protoimpl.UnsafeEnabled && x != nil { |
| 424 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 425 | if ms.LoadMessageInfo() == nil { |
| 426 | ms.StoreMessageInfo(mi) |
| 427 | } |
| 428 | return ms |
| 429 | } |
| 430 | return mi.MessageOf(x) |
| 431 | } |
| 432 | |
| 433 | // Deprecated: Use FetchTaskRequest.ProtoReflect.Descriptor instead. |
| 434 | func (*FetchTaskRequest) Descriptor() ([]byte, []int) { |
| 435 | return file_runner_v1_messages_proto_rawDescGZIP(), []int{4} |
| 436 | } |
| 437 | |
| 438 | func (x *FetchTaskRequest) GetTasksVersion() int64 { |
| 439 | if x != nil { |
| 440 | return x.TasksVersion |
| 441 | } |
| 442 | return 0 |
| 443 | } |
| 444 | |
| 445 | type FetchTaskResponse struct { |
| 446 | state protoimpl.MessageState |
| 447 | sizeCache protoimpl.SizeCache |
| 448 | unknownFields protoimpl.UnknownFields |
| 449 | |
| 450 | Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` |
| 451 | TasksVersion int64 `protobuf:"varint,2,opt,name=tasks_version,json=tasksVersion,proto3" json:"tasks_version,omitempty"` // Gitea informs the Runner of the latest version of tasks through `tasks_version`. |
| 452 | } |
| 453 | |
| 454 | func (x *FetchTaskResponse) Reset() { |
| 455 | *x = FetchTaskResponse{} |
| 456 | if protoimpl.UnsafeEnabled { |
| 457 | mi := &file_runner_v1_messages_proto_msgTypes[5] |
| 458 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 459 | ms.StoreMessageInfo(mi) |
| 460 | } |
| 461 | } |
| 462 | |
| 463 | func (x *FetchTaskResponse) String() string { |
| 464 | return protoimpl.X.MessageStringOf(x) |
| 465 | } |
| 466 | |
| 467 | func (*FetchTaskResponse) ProtoMessage() {} |
| 468 | |
| 469 | func (x *FetchTaskResponse) ProtoReflect() protoreflect.Message { |
| 470 | mi := &file_runner_v1_messages_proto_msgTypes[5] |
| 471 | if protoimpl.UnsafeEnabled && x != nil { |
| 472 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 473 | if ms.LoadMessageInfo() == nil { |
| 474 | ms.StoreMessageInfo(mi) |
| 475 | } |
| 476 | return ms |
| 477 | } |
| 478 | return mi.MessageOf(x) |
| 479 | } |
| 480 | |
| 481 | // Deprecated: Use FetchTaskResponse.ProtoReflect.Descriptor instead. |
| 482 | func (*FetchTaskResponse) Descriptor() ([]byte, []int) { |
| 483 | return file_runner_v1_messages_proto_rawDescGZIP(), []int{5} |
| 484 | } |
| 485 | |
| 486 | func (x *FetchTaskResponse) GetTask() *Task { |
| 487 | if x != nil { |
| 488 | return x.Task |
| 489 | } |
| 490 | return nil |
| 491 | } |
| 492 | |
| 493 | func (x *FetchTaskResponse) GetTasksVersion() int64 { |
| 494 | if x != nil { |
| 495 | return x.TasksVersion |
| 496 | } |
| 497 | return 0 |
| 498 | } |
| 499 | |
| 500 | type UpdateTaskRequest struct { |
| 501 | state protoimpl.MessageState |
| 502 | sizeCache protoimpl.SizeCache |
| 503 | unknownFields protoimpl.UnknownFields |
| 504 | |
| 505 | State *TaskState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` |
| 506 | 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. |
| 507 | } |
| 508 | |
| 509 | func (x *UpdateTaskRequest) Reset() { |
| 510 | *x = UpdateTaskRequest{} |
| 511 | if protoimpl.UnsafeEnabled { |
| 512 | mi := &file_runner_v1_messages_proto_msgTypes[6] |
| 513 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 514 | ms.StoreMessageInfo(mi) |
| 515 | } |
| 516 | } |
| 517 | |
| 518 | func (x *UpdateTaskRequest) String() string { |
| 519 | return protoimpl.X.MessageStringOf(x) |
| 520 | } |
| 521 | |
| 522 | func (*UpdateTaskRequest) ProtoMessage() {} |
| 523 | |
| 524 | func (x *UpdateTaskRequest) ProtoReflect() protoreflect.Message { |
| 525 | mi := &file_runner_v1_messages_proto_msgTypes[6] |
| 526 | if protoimpl.UnsafeEnabled && x != nil { |
| 527 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 528 | if ms.LoadMessageInfo() == nil { |
| 529 | ms.StoreMessageInfo(mi) |
| 530 | } |
| 531 | return ms |
| 532 | } |
| 533 | return mi.MessageOf(x) |
| 534 | } |
| 535 | |
| 536 | // Deprecated: Use UpdateTaskRequest.ProtoReflect.Descriptor instead. |
| 537 | func (*UpdateTaskRequest) Descriptor() ([]byte, []int) { |
| 538 | return file_runner_v1_messages_proto_rawDescGZIP(), []int{6} |
| 539 | } |
| 540 | |
| 541 | func (x *UpdateTaskRequest) GetState() *TaskState { |
| 542 | if x != nil { |
| 543 | return x.State |
| 544 | } |
| 545 | return nil |
| 546 | } |
| 547 | |
| 548 | func (x *UpdateTaskRequest) GetOutputs() map[string]string { |
| 549 | if x != nil { |
| 550 | return x.Outputs |
| 551 | } |
| 552 | return nil |
| 553 | } |
| 554 | |
| 555 | type UpdateTaskResponse struct { |
| 556 | state protoimpl.MessageState |
| 557 | sizeCache protoimpl.SizeCache |
| 558 | unknownFields protoimpl.UnknownFields |
| 559 | |
| 560 | State *TaskState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` |
| 561 | 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. |
| 562 | } |
| 563 | |
| 564 | func (x *UpdateTaskResponse) Reset() { |
| 565 | *x = UpdateTaskResponse{} |
| 566 | if protoimpl.UnsafeEnabled { |
| 567 | mi := &file_runner_v1_messages_proto_msgTypes[7] |
| 568 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 569 | ms.StoreMessageInfo(mi) |
| 570 | } |
| 571 | } |
| 572 | |
| 573 | func (x *UpdateTaskResponse) String() string { |
| 574 | return protoimpl.X.MessageStringOf(x) |
| 575 | } |
| 576 | |
| 577 | func (*UpdateTaskResponse) ProtoMessage() {} |
| 578 | |
| 579 | func (x *UpdateTaskResponse) ProtoReflect() protoreflect.Message { |
| 580 | mi := &file_runner_v1_messages_proto_msgTypes[7] |
| 581 | if protoimpl.UnsafeEnabled && x != nil { |
| 582 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 583 | if ms.LoadMessageInfo() == nil { |
| 584 | ms.StoreMessageInfo(mi) |
| 585 | } |
| 586 | return ms |
| 587 | } |
| 588 | return mi.MessageOf(x) |
| 589 | } |
| 590 | |
| 591 | // Deprecated: Use UpdateTaskResponse.ProtoReflect.Descriptor instead. |
| 592 | func (*UpdateTaskResponse) Descriptor() ([]byte, []int) { |
| 593 | return file_runner_v1_messages_proto_rawDescGZIP(), []int{7} |
| 594 | } |
| 595 | |
| 596 | func (x *UpdateTaskResponse) GetState() *TaskState { |
| 597 | if x != nil { |
| 598 | return x.State |
| 599 | } |
| 600 | return nil |
| 601 | } |
| 602 | |
| 603 | func (x *UpdateTaskResponse) GetSentOutputs() []string { |
| 604 | if x != nil { |
| 605 | return x.SentOutputs |
| 606 | } |
| 607 | return nil |
| 608 | } |
| 609 | |
| 610 | type UpdateLogRequest struct { |
| 611 | state protoimpl.MessageState |
| 612 | sizeCache protoimpl.SizeCache |
| 613 | unknownFields protoimpl.UnknownFields |
| 614 | |
| 615 | TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` |
| 616 | Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` // The actual index of the first line. |
| 617 | Rows []*LogRow `protobuf:"bytes,3,rep,name=rows,proto3" json:"rows,omitempty"` |
| 618 | NoMore bool `protobuf:"varint,4,opt,name=no_more,json=noMore,proto3" json:"no_more,omitempty"` // No more logs. |
| 619 | } |
| 620 | |
| 621 | func (x *UpdateLogRequest) Reset() { |
| 622 | *x = UpdateLogRequest{} |
| 623 | if protoimpl.UnsafeEnabled { |
| 624 | mi := &file_runner_v1_messages_proto_msgTypes[8] |
| 625 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 626 | ms.StoreMessageInfo(mi) |
| 627 | } |
| 628 | } |
| 629 | |
| 630 | func (x *UpdateLogRequest) String() string { |
| 631 | return protoimpl.X.MessageStringOf(x) |
| 632 | } |
| 633 | |
| 634 | func (*UpdateLogRequest) ProtoMessage() {} |
| 635 | |
| 636 | func (x *UpdateLogRequest) ProtoReflect() protoreflect.Message { |
| 637 | mi := &file_runner_v1_messages_proto_msgTypes[8] |
| 638 | if protoimpl.UnsafeEnabled && x != nil { |
| 639 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 640 | if ms.LoadMessageInfo() == nil { |
| 641 | ms.StoreMessageInfo(mi) |
| 642 | } |
| 643 | return ms |
| 644 | } |
| 645 | return mi.MessageOf(x) |
| 646 | } |
| 647 | |
| 648 | // Deprecated: Use UpdateLogRequest.ProtoReflect.Descriptor instead. |
| 649 | func (*UpdateLogRequest) Descriptor() ([]byte, []int) { |
| 650 | return file_runner_v1_messages_proto_rawDescGZIP(), []int{8} |
| 651 | } |
| 652 | |
| 653 | func (x *UpdateLogRequest) GetTaskId() int64 { |
| 654 | if x != nil { |
| 655 | return x.TaskId |
| 656 | } |
| 657 | return 0 |
| 658 | } |
| 659 | |
| 660 | func (x *UpdateLogRequest) GetIndex() int64 { |
| 661 | if x != nil { |
| 662 | return x.Index |
| 663 | } |
| 664 | return 0 |
| 665 | } |
| 666 | |
| 667 | func (x *UpdateLogRequest) GetRows() []*LogRow { |
| 668 | if x != nil { |
| 669 | return x.Rows |
| 670 | } |
| 671 | return nil |
| 672 | } |
| 673 | |
| 674 | func (x *UpdateLogRequest) GetNoMore() bool { |
| 675 | if x != nil { |
| 676 | return x.NoMore |
| 677 | } |
| 678 | return false |
| 679 | } |
| 680 | |
| 681 | type UpdateLogResponse struct { |
| 682 | state protoimpl.MessageState |
| 683 | sizeCache protoimpl.SizeCache |
| 684 | unknownFields protoimpl.UnknownFields |
| 685 | |
| 686 | 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). |
| 687 | } |
| 688 | |
| 689 | func (x *UpdateLogResponse) Reset() { |
| 690 | *x = UpdateLogResponse{} |
| 691 | if protoimpl.UnsafeEnabled { |
| 692 | mi := &file_runner_v1_messages_proto_msgTypes[9] |
| 693 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 694 | ms.StoreMessageInfo(mi) |
| 695 | } |
| 696 | } |
| 697 | |
| 698 | func (x *UpdateLogResponse) String() string { |
| 699 | return protoimpl.X.MessageStringOf(x) |
| 700 | } |
| 701 | |
| 702 | func (*UpdateLogResponse) ProtoMessage() {} |
| 703 | |
| 704 | func (x *UpdateLogResponse) ProtoReflect() protoreflect.Message { |
| 705 | mi := &file_runner_v1_messages_proto_msgTypes[9] |
| 706 | if protoimpl.UnsafeEnabled && x != nil { |
| 707 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 708 | if ms.LoadMessageInfo() == nil { |
| 709 | ms.StoreMessageInfo(mi) |
| 710 | } |
| 711 | return ms |
| 712 | } |
| 713 | return mi.MessageOf(x) |
| 714 | } |
| 715 | |
| 716 | // Deprecated: Use UpdateLogResponse.ProtoReflect.Descriptor instead. |
| 717 | func (*UpdateLogResponse) Descriptor() ([]byte, []int) { |
| 718 | return file_runner_v1_messages_proto_rawDescGZIP(), []int{9} |
| 719 | } |
| 720 | |
| 721 | func (x *UpdateLogResponse) GetAckIndex() int64 { |
| 722 | if x != nil { |
| 723 | return x.AckIndex |
| 724 | } |
| 725 | return 0 |
| 726 | } |
| 727 | |
| 728 | // Runner Payload |
| 729 | type Runner struct { |
| 730 | state protoimpl.MessageState |
| 731 | sizeCache protoimpl.SizeCache |
| 732 | unknownFields protoimpl.UnknownFields |
| 733 | |
| 734 | Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` |
| 735 | Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` |
| 736 | Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` |
| 737 | Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` |
| 738 | Status RunnerStatus `protobuf:"varint,5,opt,name=status,proto3,enum=runner.v1.RunnerStatus" json:"status,omitempty"` |
| 739 | // Deprecated: Do not use. |
| 740 | AgentLabels []string `protobuf:"bytes,6,rep,name=agent_labels,json=agentLabels,proto3" json:"agent_labels,omitempty"` |
| 741 | // Deprecated: Do not use. |
| 742 | CustomLabels []string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty"` |
| 743 | Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"` |
| 744 | Labels []string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty"` |
| 745 | Ephemeral bool `protobuf:"varint,10,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"` |
| 746 | } |
| 747 | |
| 748 | func (x *Runner) Reset() { |
| 749 | *x = Runner{} |
| 750 | if protoimpl.UnsafeEnabled { |
| 751 | mi := &file_runner_v1_messages_proto_msgTypes[10] |
| 752 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 753 | ms.StoreMessageInfo(mi) |
| 754 | } |
| 755 | } |
| 756 | |
| 757 | func (x *Runner) String() string { |
| 758 | return protoimpl.X.MessageStringOf(x) |
| 759 | } |
| 760 | |
| 761 | func (*Runner) ProtoMessage() {} |
| 762 | |
| 763 | func (x *Runner) ProtoReflect() protoreflect.Message { |
| 764 | mi := &file_runner_v1_messages_proto_msgTypes[10] |
| 765 | if protoimpl.UnsafeEnabled && x != nil { |
| 766 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 767 | if ms.LoadMessageInfo() == nil { |
| 768 | ms.StoreMessageInfo(mi) |
| 769 | } |
| 770 | return ms |
| 771 | } |
| 772 | return mi.MessageOf(x) |
| 773 | } |
| 774 | |
| 775 | // Deprecated: Use Runner.ProtoReflect.Descriptor instead. |
| 776 | func (*Runner) Descriptor() ([]byte, []int) { |
| 777 | return file_runner_v1_messages_proto_rawDescGZIP(), []int{10} |
| 778 | } |
| 779 | |
| 780 | func (x *Runner) GetId() int64 { |
| 781 | if x != nil { |
| 782 | return x.Id |
| 783 | } |
| 784 | return 0 |
| 785 | } |
| 786 | |
| 787 | func (x *Runner) GetUuid() string { |
| 788 | if x != nil { |
| 789 | return x.Uuid |
| 790 | } |
| 791 | return "" |
| 792 | } |
| 793 | |
| 794 | func (x *Runner) GetToken() string { |
| 795 | if x != nil { |
| 796 | return x.Token |
| 797 | } |
| 798 | return "" |
| 799 | } |
| 800 | |
| 801 | func (x *Runner) GetName() string { |
| 802 | if x != nil { |
| 803 | return x.Name |
| 804 | } |
| 805 | return "" |
| 806 | } |
| 807 | |
| 808 | func (x *Runner) GetStatus() RunnerStatus { |
| 809 | if x != nil { |
| 810 | return x.Status |
| 811 | } |
| 812 | return RunnerStatus_RUNNER_STATUS_UNSPECIFIED |
| 813 | } |
| 814 | |
| 815 | // Deprecated: Do not use. |
| 816 | func (x *Runner) GetAgentLabels() []string { |
| 817 | if x != nil { |
| 818 | return x.AgentLabels |
| 819 | } |
| 820 | return nil |
| 821 | } |
| 822 | |
| 823 | // Deprecated: Do not use. |
| 824 | func (x *Runner) GetCustomLabels() []string { |
| 825 | if x != nil { |
| 826 | return x.CustomLabels |
| 827 | } |
| 828 | return nil |
| 829 | } |
| 830 | |
| 831 | func (x *Runner) GetVersion() string { |
| 832 | if x != nil { |
| 833 | return x.Version |
| 834 | } |
| 835 | return "" |
| 836 | } |
| 837 | |
| 838 | func (x *Runner) GetLabels() []string { |
| 839 | if x != nil { |
| 840 | return x.Labels |
| 841 | } |
| 842 | return nil |
| 843 | } |
| 844 | |
| 845 | func (x *Runner) GetEphemeral() bool { |
| 846 | if x != nil { |
| 847 | return x.Ephemeral |
| 848 | } |
| 849 | return false |
| 850 | } |
| 851 | |
| 852 | // Task represents a task. |
| 853 | type Task struct { |
| 854 | state protoimpl.MessageState |
| 855 | sizeCache protoimpl.SizeCache |
| 856 | unknownFields protoimpl.UnknownFields |
| 857 | |
| 858 | 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. |
| 859 | 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. |
| 860 | 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 . |
| 861 | 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 . |
| 862 | // Deprecated: Do not use. |
| 863 | Machine string `protobuf:"bytes,5,opt,name=machine,proto3" json:"machine,omitempty"` // Unused. |
| 864 | 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 . |
| 865 | 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 . |
| 866 | } |
| 867 | |
| 868 | func (x *Task) Reset() { |
| 869 | *x = Task{} |
| 870 | if protoimpl.UnsafeEnabled { |
| 871 | mi := &file_runner_v1_messages_proto_msgTypes[11] |
| 872 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 873 | ms.StoreMessageInfo(mi) |
| 874 | } |
| 875 | } |
| 876 | |
| 877 | func (x *Task) String() string { |
| 878 | return protoimpl.X.MessageStringOf(x) |
| 879 | } |
| 880 | |
| 881 | func (*Task) ProtoMessage() {} |
| 882 | |
| 883 | func (x *Task) ProtoReflect() protoreflect.Message { |
| 884 | mi := &file_runner_v1_messages_proto_msgTypes[11] |
| 885 | if protoimpl.UnsafeEnabled && x != nil { |
| 886 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 887 | if ms.LoadMessageInfo() == nil { |
| 888 | ms.StoreMessageInfo(mi) |
| 889 | } |
| 890 | return ms |
| 891 | } |
| 892 | return mi.MessageOf(x) |
| 893 | } |
| 894 | |
| 895 | // Deprecated: Use Task.ProtoReflect.Descriptor instead. |
| 896 | func (*Task) Descriptor() ([]byte, []int) { |
| 897 | return file_runner_v1_messages_proto_rawDescGZIP(), []int{11} |
| 898 | } |
| 899 | |
| 900 | func (x *Task) GetId() int64 { |
| 901 | if x != nil { |
| 902 | return x.Id |
| 903 | } |
| 904 | return 0 |
| 905 | } |
| 906 | |
| 907 | func (x *Task) GetWorkflowPayload() []byte { |
| 908 | if x != nil { |
| 909 | return x.WorkflowPayload |
| 910 | } |
| 911 | return nil |
| 912 | } |
| 913 | |
| 914 | func (x *Task) GetContext() *structpb.Struct { |
| 915 | if x != nil { |
| 916 | return x.Context |
| 917 | } |
| 918 | return nil |
| 919 | } |
| 920 | |
| 921 | func (x *Task) GetSecrets() map[string]string { |
| 922 | if x != nil { |
| 923 | return x.Secrets |
| 924 | } |
| 925 | return nil |
| 926 | } |
| 927 | |
| 928 | // Deprecated: Do not use. |
| 929 | func (x *Task) GetMachine() string { |
| 930 | if x != nil { |
| 931 | return x.Machine |
| 932 | } |
| 933 | return "" |
| 934 | } |
| 935 | |
| 936 | func (x *Task) GetNeeds() map[string]*TaskNeed { |
| 937 | if x != nil { |
| 938 | return x.Needs |
| 939 | } |
| 940 | return nil |
| 941 | } |
| 942 | |
| 943 | func (x *Task) GetVars() map[string]string { |
| 944 | if x != nil { |
| 945 | return x.Vars |
| 946 | } |
| 947 | return nil |
| 948 | } |
| 949 | |
| 950 | // TaskNeed represents a task need. |
| 951 | type TaskNeed struct { |
| 952 | state protoimpl.MessageState |
| 953 | sizeCache protoimpl.SizeCache |
| 954 | unknownFields protoimpl.UnknownFields |
| 955 | |
| 956 | 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. |
| 957 | 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. |
| 958 | } |
| 959 | |
| 960 | func (x *TaskNeed) Reset() { |
| 961 | *x = TaskNeed{} |
| 962 | if protoimpl.UnsafeEnabled { |
| 963 | mi := &file_runner_v1_messages_proto_msgTypes[12] |
| 964 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 965 | ms.StoreMessageInfo(mi) |
| 966 | } |
| 967 | } |
| 968 | |
| 969 | func (x *TaskNeed) String() string { |
| 970 | return protoimpl.X.MessageStringOf(x) |
| 971 | } |
| 972 | |
| 973 | func (*TaskNeed) ProtoMessage() {} |
| 974 | |
| 975 | func (x *TaskNeed) ProtoReflect() protoreflect.Message { |
| 976 | mi := &file_runner_v1_messages_proto_msgTypes[12] |
| 977 | if protoimpl.UnsafeEnabled && x != nil { |
| 978 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 979 | if ms.LoadMessageInfo() == nil { |
| 980 | ms.StoreMessageInfo(mi) |
| 981 | } |
| 982 | return ms |
| 983 | } |
| 984 | return mi.MessageOf(x) |
| 985 | } |
| 986 | |
| 987 | // Deprecated: Use TaskNeed.ProtoReflect.Descriptor instead. |
| 988 | func (*TaskNeed) Descriptor() ([]byte, []int) { |
| 989 | return file_runner_v1_messages_proto_rawDescGZIP(), []int{12} |
| 990 | } |
| 991 | |
| 992 | func (x *TaskNeed) GetOutputs() map[string]string { |
| 993 | if x != nil { |
| 994 | return x.Outputs |
| 995 | } |
| 996 | return nil |
| 997 | } |
| 998 | |
| 999 | func (x *TaskNeed) GetResult() Result { |
| 1000 | if x != nil { |
| 1001 | return x.Result |
| 1002 | } |
| 1003 | return Result_RESULT_UNSPECIFIED |
| 1004 | } |
| 1005 | |
| 1006 | // TaskState represents the state of a task. |
| 1007 | type TaskState struct { |
| 1008 | state protoimpl.MessageState |
| 1009 | sizeCache protoimpl.SizeCache |
| 1010 | unknownFields protoimpl.UnknownFields |
| 1011 | |
| 1012 | Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` |
| 1013 | Result Result `protobuf:"varint,2,opt,name=result,proto3,enum=runner.v1.Result" json:"result,omitempty"` |
| 1014 | StartedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` |
| 1015 | StoppedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=stopped_at,json=stoppedAt,proto3" json:"stopped_at,omitempty"` |
| 1016 | Steps []*StepState `protobuf:"bytes,5,rep,name=steps,proto3" json:"steps,omitempty"` |
| 1017 | } |
| 1018 | |
| 1019 | func (x *TaskState) Reset() { |
| 1020 | *x = TaskState{} |
| 1021 | if protoimpl.UnsafeEnabled { |
| 1022 | mi := &file_runner_v1_messages_proto_msgTypes[13] |
| 1023 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1024 | ms.StoreMessageInfo(mi) |
| 1025 | } |
| 1026 | } |
| 1027 | |
| 1028 | func (x *TaskState) String() string { |
| 1029 | return protoimpl.X.MessageStringOf(x) |
| 1030 | } |
| 1031 | |
| 1032 | func (*TaskState) ProtoMessage() {} |
| 1033 | |
| 1034 | func (x *TaskState) ProtoReflect() protoreflect.Message { |
| 1035 | mi := &file_runner_v1_messages_proto_msgTypes[13] |
| 1036 | if protoimpl.UnsafeEnabled && x != nil { |
| 1037 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1038 | if ms.LoadMessageInfo() == nil { |
| 1039 | ms.StoreMessageInfo(mi) |
| 1040 | } |
| 1041 | return ms |
| 1042 | } |
| 1043 | return mi.MessageOf(x) |
| 1044 | } |
| 1045 | |
| 1046 | // Deprecated: Use TaskState.ProtoReflect.Descriptor instead. |
| 1047 | func (*TaskState) Descriptor() ([]byte, []int) { |
| 1048 | return file_runner_v1_messages_proto_rawDescGZIP(), []int{13} |
| 1049 | } |
| 1050 | |
| 1051 | func (x *TaskState) GetId() int64 { |
| 1052 | if x != nil { |
| 1053 | return x.Id |
| 1054 | } |
| 1055 | return 0 |
| 1056 | } |
| 1057 | |
| 1058 | func (x *TaskState) GetResult() Result { |
| 1059 | if x != nil { |
| 1060 | return x.Result |
| 1061 | } |
| 1062 | return Result_RESULT_UNSPECIFIED |
| 1063 | } |
| 1064 | |
| 1065 | func (x *TaskState) GetStartedAt() *timestamppb.Timestamp { |
| 1066 | if x != nil { |
| 1067 | return x.StartedAt |
| 1068 | } |
| 1069 | return nil |
| 1070 | } |
| 1071 | |
| 1072 | func (x *TaskState) GetStoppedAt() *timestamppb.Timestamp { |
| 1073 | if x != nil { |
| 1074 | return x.StoppedAt |
| 1075 | } |
| 1076 | return nil |
| 1077 | } |
| 1078 | |
| 1079 | func (x *TaskState) GetSteps() []*StepState { |
| 1080 | if x != nil { |
| 1081 | return x.Steps |
| 1082 | } |
| 1083 | return nil |
| 1084 | } |
| 1085 | |
| 1086 | // TaskState represents the state of a step. |
| 1087 | type StepState struct { |
| 1088 | state protoimpl.MessageState |
| 1089 | sizeCache protoimpl.SizeCache |
| 1090 | unknownFields protoimpl.UnknownFields |
| 1091 | |
| 1092 | Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` |
| 1093 | Result Result `protobuf:"varint,2,opt,name=result,proto3,enum=runner.v1.Result" json:"result,omitempty"` |
| 1094 | StartedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` |
| 1095 | StoppedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=stopped_at,json=stoppedAt,proto3" json:"stopped_at,omitempty"` |
| 1096 | LogIndex int64 `protobuf:"varint,5,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"` // Where the first line log of the step. |
| 1097 | LogLength int64 `protobuf:"varint,6,opt,name=log_length,json=logLength,proto3" json:"log_length,omitempty"` // How many logs the step has. |
| 1098 | } |
| 1099 | |
| 1100 | func (x *StepState) Reset() { |
| 1101 | *x = StepState{} |
| 1102 | if protoimpl.UnsafeEnabled { |
| 1103 | mi := &file_runner_v1_messages_proto_msgTypes[14] |
| 1104 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1105 | ms.StoreMessageInfo(mi) |
| 1106 | } |
| 1107 | } |
| 1108 | |
| 1109 | func (x *StepState) String() string { |
| 1110 | return protoimpl.X.MessageStringOf(x) |
| 1111 | } |
| 1112 | |
| 1113 | func (*StepState) ProtoMessage() {} |
| 1114 | |
| 1115 | func (x *StepState) ProtoReflect() protoreflect.Message { |
| 1116 | mi := &file_runner_v1_messages_proto_msgTypes[14] |
| 1117 | if protoimpl.UnsafeEnabled && x != nil { |
| 1118 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1119 | if ms.LoadMessageInfo() == nil { |
| 1120 | ms.StoreMessageInfo(mi) |
| 1121 | } |
| 1122 | return ms |
| 1123 | } |
| 1124 | return mi.MessageOf(x) |
| 1125 | } |
| 1126 | |
| 1127 | // Deprecated: Use StepState.ProtoReflect.Descriptor instead. |
| 1128 | func (*StepState) Descriptor() ([]byte, []int) { |
| 1129 | return file_runner_v1_messages_proto_rawDescGZIP(), []int{14} |
| 1130 | } |
| 1131 | |
| 1132 | func (x *StepState) GetId() int64 { |
| 1133 | if x != nil { |
| 1134 | return x.Id |
| 1135 | } |
| 1136 | return 0 |
| 1137 | } |
| 1138 | |
| 1139 | func (x *StepState) GetResult() Result { |
| 1140 | if x != nil { |
| 1141 | return x.Result |
| 1142 | } |
| 1143 | return Result_RESULT_UNSPECIFIED |
| 1144 | } |
| 1145 | |
| 1146 | func (x *StepState) GetStartedAt() *timestamppb.Timestamp { |
| 1147 | if x != nil { |
| 1148 | return x.StartedAt |
| 1149 | } |
| 1150 | return nil |
| 1151 | } |
| 1152 | |
| 1153 | func (x *StepState) GetStoppedAt() *timestamppb.Timestamp { |
| 1154 | if x != nil { |
| 1155 | return x.StoppedAt |
| 1156 | } |
| 1157 | return nil |
| 1158 | } |
| 1159 | |
| 1160 | func (x *StepState) GetLogIndex() int64 { |
| 1161 | if x != nil { |
| 1162 | return x.LogIndex |
| 1163 | } |
| 1164 | return 0 |
| 1165 | } |
| 1166 | |
| 1167 | func (x *StepState) GetLogLength() int64 { |
| 1168 | if x != nil { |
| 1169 | return x.LogLength |
| 1170 | } |
| 1171 | return 0 |
| 1172 | } |
| 1173 | |
| 1174 | // LogRow represents a row of logs. |
| 1175 | type LogRow struct { |
| 1176 | state protoimpl.MessageState |
| 1177 | sizeCache protoimpl.SizeCache |
| 1178 | unknownFields protoimpl.UnknownFields |
| 1179 | |
| 1180 | Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` |
| 1181 | Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` |
| 1182 | } |
| 1183 | |
| 1184 | func (x *LogRow) Reset() { |
| 1185 | *x = LogRow{} |
| 1186 | if protoimpl.UnsafeEnabled { |
| 1187 | mi := &file_runner_v1_messages_proto_msgTypes[15] |
| 1188 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1189 | ms.StoreMessageInfo(mi) |
| 1190 | } |
| 1191 | } |
| 1192 | |
| 1193 | func (x *LogRow) String() string { |
| 1194 | return protoimpl.X.MessageStringOf(x) |
| 1195 | } |
| 1196 | |
| 1197 | func (*LogRow) ProtoMessage() {} |
| 1198 | |
| 1199 | func (x *LogRow) ProtoReflect() protoreflect.Message { |
| 1200 | mi := &file_runner_v1_messages_proto_msgTypes[15] |
| 1201 | if protoimpl.UnsafeEnabled && x != nil { |
| 1202 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1203 | if ms.LoadMessageInfo() == nil { |
| 1204 | ms.StoreMessageInfo(mi) |
| 1205 | } |
| 1206 | return ms |
| 1207 | } |
| 1208 | return mi.MessageOf(x) |
| 1209 | } |
| 1210 | |
| 1211 | // Deprecated: Use LogRow.ProtoReflect.Descriptor instead. |
| 1212 | func (*LogRow) Descriptor() ([]byte, []int) { |
| 1213 | return file_runner_v1_messages_proto_rawDescGZIP(), []int{15} |
| 1214 | } |
| 1215 | |
| 1216 | func (x *LogRow) GetTime() *timestamppb.Timestamp { |
| 1217 | if x != nil { |
| 1218 | return x.Time |
| 1219 | } |
| 1220 | return nil |
| 1221 | } |
| 1222 | |
| 1223 | func (x *LogRow) GetContent() string { |
| 1224 | if x != nil { |
| 1225 | return x.Content |
| 1226 | } |
| 1227 | return "" |
| 1228 | } |
| 1229 | |
| 1230 | var File_runner_v1_messages_proto protoreflect.FileDescriptor |
| 1231 | |
| 1232 | var file_runner_v1_messages_proto_rawDesc = []byte{ |
| 1233 | 0x0a, 0x18, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, |
| 1234 | 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x72, 0x75, 0x6e, 0x6e, |
| 1235 | 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, |
| 1236 | 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, |
| 1237 | 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, |
| 1238 | 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, |
| 1239 | 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xff, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, |
| 1240 | 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
| 1241 | 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, |
| 1242 | 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, |
| 1243 | 0x65, 0x6e, 0x12, 0x25, 0x0a, 0x0c, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x61, 0x62, 0x65, |
| 1244 | 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x61, 0x67, |
| 1245 | 0x65, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x27, 0x0a, 0x0d, 0x63, 0x75, 0x73, |
| 1246 | 0x74, 0x6f, 0x6d, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, |
| 1247 | 0x42, 0x02, 0x18, 0x01, 0x52, 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4c, 0x61, 0x62, 0x65, |
| 1248 | 0x6c, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, |
| 1249 | 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, |
| 1250 | 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, |
| 1251 | 0x62, 0x65, 0x6c, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, |
| 1252 | 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, |
| 1253 | 0x61, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, |
| 1254 | 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, |
| 1255 | 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x3d, 0x0a, 0x10, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, |
| 1256 | 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x72, 0x75, |
| 1257 | 0x6e, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x72, 0x75, 0x6e, |
| 1258 | 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x52, 0x06, 0x72, |
| 1259 | 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x22, 0x66, 0x0a, 0x0e, 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x65, |
| 1260 | 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, |
| 1261 | 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, |
| 1262 | 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, |
| 1263 | 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x61, 0x70, |
| 1264 | 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, |
| 1265 | 0x0c, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x3c, 0x0a, |
| 1266 | 0x0f, 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, |
| 1267 | 0x12, 0x29, 0x0a, 0x06, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, |
| 1268 | 0x32, 0x11, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, |
| 1269 | 0x6e, 0x65, 0x72, 0x52, 0x06, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x22, 0x37, 0x0a, 0x10, 0x46, |
| 1270 | 0x65, 0x74, 0x63, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, |
| 1271 | 0x23, 0x0a, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, |
| 1272 | 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x56, 0x65, 0x72, |
| 1273 | 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x5d, 0x0a, 0x11, 0x46, 0x65, 0x74, 0x63, 0x68, 0x54, 0x61, 0x73, |
| 1274 | 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x74, 0x61, 0x73, |
| 1275 | 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, |
| 1276 | 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x23, |
| 1277 | 0x0a, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, |
| 1278 | 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x56, 0x65, 0x72, 0x73, |
| 1279 | 0x69, 0x6f, 0x6e, 0x22, 0xc0, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, |
| 1280 | 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x05, 0x73, 0x74, 0x61, |
| 1281 | 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, |
| 1282 | 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, |
| 1283 | 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, |
| 1284 | 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, |
| 1285 | 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, |
| 1286 | 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, |
| 1287 | 0x79, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x75, |
| 1288 | 0x74, 0x70, 0x75, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, |
| 1289 | 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, |
| 1290 | 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, |
| 1291 | 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x63, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, |
| 1292 | 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x05, |
| 1293 | 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x72, 0x75, |
| 1294 | 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, |
| 1295 | 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x6e, 0x74, |
| 1296 | 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, |
| 1297 | 0x73, 0x65, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, 0x81, 0x01, 0x0a, 0x10, |
| 1298 | 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 1299 | 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 1300 | 0x03, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, |
| 1301 | 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, |
| 1302 | 0x25, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, |
| 1303 | 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x6f, 0x77, |
| 1304 | 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x5f, 0x6d, 0x6f, 0x72, |
| 1305 | 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6e, 0x6f, 0x4d, 0x6f, 0x72, 0x65, 0x22, |
| 1306 | 0x30, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, |
| 1307 | 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, |
| 1308 | 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, |
| 1309 | 0x78, 0x22, 0xa7, 0x02, 0x0a, 0x06, 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, |
| 1310 | 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, |
| 1311 | 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, |
| 1312 | 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 1313 | 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, |
| 1314 | 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, |
| 1315 | 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x72, 0x75, 0x6e, |
| 1316 | 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, |
| 1317 | 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x0c, 0x61, |
| 1318 | 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, |
| 1319 | 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, |
| 1320 | 0x6c, 0x73, 0x12, 0x27, 0x0a, 0x0d, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x6c, 0x61, 0x62, |
| 1321 | 0x65, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0c, 0x63, |
| 1322 | 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, |
| 1323 | 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, |
| 1324 | 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, |
| 1325 | 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x1c, 0x0a, |
| 1326 | 0x09, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, |
| 1327 | 0x52, 0x09, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x22, 0x9a, 0x04, 0x0a, 0x04, |
| 1328 | 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, |
| 1329 | 0x52, 0x02, 0x69, 0x64, 0x12, 0x2e, 0x0a, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, |
| 1330 | 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, |
| 1331 | 0x52, 0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, |
| 1332 | 0x64, 0x88, 0x01, 0x01, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, |
| 1333 | 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 1334 | 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x01, |
| 1335 | 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x88, 0x01, 0x01, 0x12, 0x36, 0x0a, 0x07, |
| 1336 | 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, |
| 1337 | 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x53, |
| 1338 | 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x73, 0x65, 0x63, |
| 1339 | 0x72, 0x65, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x07, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x18, |
| 1340 | 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x6d, 0x61, 0x63, 0x68, 0x69, |
| 1341 | 0x6e, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x6e, 0x65, 0x65, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, |
| 1342 | 0x0b, 0x32, 0x1a, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, |
| 1343 | 0x73, 0x6b, 0x2e, 0x4e, 0x65, 0x65, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x6e, |
| 1344 | 0x65, 0x65, 0x64, 0x73, 0x12, 0x2d, 0x0a, 0x04, 0x76, 0x61, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, |
| 1345 | 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, |
| 1346 | 0x61, 0x73, 0x6b, 0x2e, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x76, |
| 1347 | 0x61, 0x72, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x45, 0x6e, |
| 1348 | 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 1349 | 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, |
| 1350 | 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, |
| 1351 | 0x4d, 0x0a, 0x0a, 0x4e, 0x65, 0x65, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, |
| 1352 | 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, |
| 1353 | 0x29, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, |
| 1354 | 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4e, |
| 1355 | 0x65, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x37, |
| 1356 | 0x0a, 0x09, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, |
| 1357 | 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, |
| 1358 | 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, |
| 1359 | 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x77, 0x6f, 0x72, 0x6b, |
| 1360 | 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x0a, 0x0a, 0x08, |
| 1361 | 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0xad, 0x01, 0x0a, 0x08, 0x54, 0x61, 0x73, |
| 1362 | 0x6b, 0x4e, 0x65, 0x65, 0x64, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, |
| 1363 | 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, |
| 1364 | 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x65, 0x65, 0x64, 0x2e, 0x4f, 0x75, 0x74, 0x70, |
| 1365 | 0x75, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, |
| 1366 | 0x73, 0x12, 0x29, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 1367 | 0x0e, 0x32, 0x11, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, |
| 1368 | 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x1a, 0x3a, 0x0a, 0x0c, |
| 1369 | 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, |
| 1370 | 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, |
| 1371 | 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, |
| 1372 | 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xe8, 0x01, 0x0a, 0x09, 0x54, 0x61, 0x73, |
| 1373 | 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, |
| 1374 | 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x29, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, |
| 1375 | 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, |
| 1376 | 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, |
| 1377 | 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, |
| 1378 | 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 1379 | 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, |
| 1380 | 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a, |
| 1381 | 0x73, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, |
| 1382 | 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 1383 | 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, |
| 1384 | 0x6f, 0x70, 0x70, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, |
| 1385 | 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, |
| 1386 | 0x76, 0x31, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, |
| 1387 | 0x65, 0x70, 0x73, 0x22, 0xf8, 0x01, 0x0a, 0x09, 0x53, 0x74, 0x65, 0x70, 0x53, 0x74, 0x61, 0x74, |
| 1388 | 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, |
| 1389 | 0x64, 0x12, 0x29, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 1390 | 0x0e, 0x32, 0x11, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, |
| 1391 | 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x39, 0x0a, 0x0a, |
| 1392 | 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, |
| 1393 | 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 1394 | 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, |
| 1395 | 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x70, |
| 1396 | 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, |
| 1397 | 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, |
| 1398 | 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, |
| 1399 | 0x41, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, |
| 1400 | 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, |
| 1401 | 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x67, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x06, 0x20, |
| 1402 | 0x01, 0x28, 0x03, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x22, 0x52, |
| 1403 | 0x0a, 0x06, 0x4c, 0x6f, 0x67, 0x52, 0x6f, 0x77, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, |
| 1404 | 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1405 | 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, |
| 1406 | 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, |
| 1407 | 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, |
| 1408 | 0x6e, 0x74, 0x2a, 0x7a, 0x0a, 0x0c, 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, |
| 1409 | 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x55, 0x4e, 0x4e, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, |
| 1410 | 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, |
| 1411 | 0x00, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x55, 0x4e, 0x4e, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, |
| 1412 | 0x55, 0x53, 0x5f, 0x49, 0x44, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x55, 0x4e, |
| 1413 | 0x4e, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, |
| 1414 | 0x45, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x55, 0x4e, 0x4e, 0x45, 0x52, 0x5f, 0x53, 0x54, |
| 1415 | 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x03, 0x2a, 0x72, |
| 1416 | 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x53, 0x55, |
| 1417 | 0x4c, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, |
| 1418 | 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, |
| 1419 | 0x53, 0x53, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x46, |
| 1420 | 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x45, 0x53, 0x55, |
| 1421 | 0x4c, 0x54, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x12, |
| 1422 | 0x0a, 0x0e, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x53, 0x4b, 0x49, 0x50, 0x50, 0x45, 0x44, |
| 1423 | 0x10, 0x04, 0x42, 0x92, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, |
| 1424 | 0x72, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x50, 0x72, |
| 1425 | 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x65, 0x61, 0x2e, 0x64, 0x65, 0x76, |
| 1426 | 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2d, 0x67, |
| 1427 | 0x6f, 0x2f, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x75, 0x6e, 0x6e, |
| 1428 | 0x65, 0x72, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x52, 0x58, 0x58, 0xaa, 0x02, 0x09, 0x52, 0x75, 0x6e, |
| 1429 | 0x6e, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x09, 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x5c, |
| 1430 | 0x56, 0x31, 0xe2, 0x02, 0x15, 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x47, |
| 1431 | 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0a, 0x52, 0x75, 0x6e, |
| 1432 | 0x6e, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 1433 | } |
| 1434 | |
| 1435 | var ( |
| 1436 | file_runner_v1_messages_proto_rawDescOnce sync.Once |
| 1437 | file_runner_v1_messages_proto_rawDescData = file_runner_v1_messages_proto_rawDesc |
| 1438 | ) |
| 1439 | |
| 1440 | func file_runner_v1_messages_proto_rawDescGZIP() []byte { |
| 1441 | file_runner_v1_messages_proto_rawDescOnce.Do(func() { |
| 1442 | file_runner_v1_messages_proto_rawDescData = protoimpl.X.CompressGZIP(file_runner_v1_messages_proto_rawDescData) |
| 1443 | }) |
| 1444 | return file_runner_v1_messages_proto_rawDescData |
| 1445 | } |
| 1446 | |
| 1447 | var file_runner_v1_messages_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| 1448 | var file_runner_v1_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 21) |
| 1449 | var file_runner_v1_messages_proto_goTypes = []interface{}{ |
| 1450 | (RunnerStatus)(0), // 0: runner.v1.RunnerStatus |
| 1451 | (Result)(0), // 1: runner.v1.Result |
| 1452 | (*RegisterRequest)(nil), // 2: runner.v1.RegisterRequest |
| 1453 | (*RegisterResponse)(nil), // 3: runner.v1.RegisterResponse |
| 1454 | (*DeclareRequest)(nil), // 4: runner.v1.DeclareRequest |
| 1455 | (*DeclareResponse)(nil), // 5: runner.v1.DeclareResponse |
| 1456 | (*FetchTaskRequest)(nil), // 6: runner.v1.FetchTaskRequest |
| 1457 | (*FetchTaskResponse)(nil), // 7: runner.v1.FetchTaskResponse |
| 1458 | (*UpdateTaskRequest)(nil), // 8: runner.v1.UpdateTaskRequest |
| 1459 | (*UpdateTaskResponse)(nil), // 9: runner.v1.UpdateTaskResponse |
| 1460 | (*UpdateLogRequest)(nil), // 10: runner.v1.UpdateLogRequest |
| 1461 | (*UpdateLogResponse)(nil), // 11: runner.v1.UpdateLogResponse |
| 1462 | (*Runner)(nil), // 12: runner.v1.Runner |
| 1463 | (*Task)(nil), // 13: runner.v1.Task |
| 1464 | (*TaskNeed)(nil), // 14: runner.v1.TaskNeed |
| 1465 | (*TaskState)(nil), // 15: runner.v1.TaskState |
| 1466 | (*StepState)(nil), // 16: runner.v1.StepState |
| 1467 | (*LogRow)(nil), // 17: runner.v1.LogRow |
| 1468 | nil, // 18: runner.v1.UpdateTaskRequest.OutputsEntry |
| 1469 | nil, // 19: runner.v1.Task.SecretsEntry |
| 1470 | nil, // 20: runner.v1.Task.NeedsEntry |
| 1471 | nil, // 21: runner.v1.Task.VarsEntry |
| 1472 | nil, // 22: runner.v1.TaskNeed.OutputsEntry |
| 1473 | (*structpb.Struct)(nil), // 23: google.protobuf.Struct |
| 1474 | (*timestamppb.Timestamp)(nil), // 24: google.protobuf.Timestamp |
| 1475 | } |
| 1476 | var file_runner_v1_messages_proto_depIdxs = []int32{ |
| 1477 | 12, // 0: runner.v1.RegisterResponse.runner:type_name -> runner.v1.Runner |
| 1478 | 12, // 1: runner.v1.DeclareResponse.runner:type_name -> runner.v1.Runner |
| 1479 | 13, // 2: runner.v1.FetchTaskResponse.task:type_name -> runner.v1.Task |
| 1480 | 15, // 3: runner.v1.UpdateTaskRequest.state:type_name -> runner.v1.TaskState |
| 1481 | 18, // 4: runner.v1.UpdateTaskRequest.outputs:type_name -> runner.v1.UpdateTaskRequest.OutputsEntry |
| 1482 | 15, // 5: runner.v1.UpdateTaskResponse.state:type_name -> runner.v1.TaskState |
| 1483 | 17, // 6: runner.v1.UpdateLogRequest.rows:type_name -> runner.v1.LogRow |
| 1484 | 0, // 7: runner.v1.Runner.status:type_name -> runner.v1.RunnerStatus |
| 1485 | 23, // 8: runner.v1.Task.context:type_name -> google.protobuf.Struct |
| 1486 | 19, // 9: runner.v1.Task.secrets:type_name -> runner.v1.Task.SecretsEntry |
| 1487 | 20, // 10: runner.v1.Task.needs:type_name -> runner.v1.Task.NeedsEntry |
| 1488 | 21, // 11: runner.v1.Task.vars:type_name -> runner.v1.Task.VarsEntry |
| 1489 | 22, // 12: runner.v1.TaskNeed.outputs:type_name -> runner.v1.TaskNeed.OutputsEntry |
| 1490 | 1, // 13: runner.v1.TaskNeed.result:type_name -> runner.v1.Result |
| 1491 | 1, // 14: runner.v1.TaskState.result:type_name -> runner.v1.Result |
| 1492 | 24, // 15: runner.v1.TaskState.started_at:type_name -> google.protobuf.Timestamp |
| 1493 | 24, // 16: runner.v1.TaskState.stopped_at:type_name -> google.protobuf.Timestamp |
| 1494 | 16, // 17: runner.v1.TaskState.steps:type_name -> runner.v1.StepState |
| 1495 | 1, // 18: runner.v1.StepState.result:type_name -> runner.v1.Result |
| 1496 | 24, // 19: runner.v1.StepState.started_at:type_name -> google.protobuf.Timestamp |
| 1497 | 24, // 20: runner.v1.StepState.stopped_at:type_name -> google.protobuf.Timestamp |
| 1498 | 24, // 21: runner.v1.LogRow.time:type_name -> google.protobuf.Timestamp |
| 1499 | 14, // 22: runner.v1.Task.NeedsEntry.value:type_name -> runner.v1.TaskNeed |
| 1500 | 23, // [23:23] is the sub-list for method output_type |
| 1501 | 23, // [23:23] is the sub-list for method input_type |
| 1502 | 23, // [23:23] is the sub-list for extension type_name |
| 1503 | 23, // [23:23] is the sub-list for extension extendee |
| 1504 | 0, // [0:23] is the sub-list for field type_name |
| 1505 | } |
| 1506 | |
| 1507 | func init() { file_runner_v1_messages_proto_init() } |
| 1508 | func file_runner_v1_messages_proto_init() { |
| 1509 | if File_runner_v1_messages_proto != nil { |
| 1510 | return |
| 1511 | } |
| 1512 | if !protoimpl.UnsafeEnabled { |
| 1513 | file_runner_v1_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 1514 | switch v := v.(*RegisterRequest); i { |
| 1515 | case 0: |
| 1516 | return &v.state |
| 1517 | case 1: |
| 1518 | return &v.sizeCache |
| 1519 | case 2: |
| 1520 | return &v.unknownFields |
| 1521 | default: |
| 1522 | return nil |
| 1523 | } |
| 1524 | } |
| 1525 | file_runner_v1_messages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 1526 | switch v := v.(*RegisterResponse); i { |
| 1527 | case 0: |
| 1528 | return &v.state |
| 1529 | case 1: |
| 1530 | return &v.sizeCache |
| 1531 | case 2: |
| 1532 | return &v.unknownFields |
| 1533 | default: |
| 1534 | return nil |
| 1535 | } |
| 1536 | } |
| 1537 | file_runner_v1_messages_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 1538 | switch v := v.(*DeclareRequest); i { |
| 1539 | case 0: |
| 1540 | return &v.state |
| 1541 | case 1: |
| 1542 | return &v.sizeCache |
| 1543 | case 2: |
| 1544 | return &v.unknownFields |
| 1545 | default: |
| 1546 | return nil |
| 1547 | } |
| 1548 | } |
| 1549 | file_runner_v1_messages_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 1550 | switch v := v.(*DeclareResponse); i { |
| 1551 | case 0: |
| 1552 | return &v.state |
| 1553 | case 1: |
| 1554 | return &v.sizeCache |
| 1555 | case 2: |
| 1556 | return &v.unknownFields |
| 1557 | default: |
| 1558 | return nil |
| 1559 | } |
| 1560 | } |
| 1561 | file_runner_v1_messages_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 1562 | switch v := v.(*FetchTaskRequest); i { |
| 1563 | case 0: |
| 1564 | return &v.state |
| 1565 | case 1: |
| 1566 | return &v.sizeCache |
| 1567 | case 2: |
| 1568 | return &v.unknownFields |
| 1569 | default: |
| 1570 | return nil |
| 1571 | } |
| 1572 | } |
| 1573 | file_runner_v1_messages_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 1574 | switch v := v.(*FetchTaskResponse); i { |
| 1575 | case 0: |
| 1576 | return &v.state |
| 1577 | case 1: |
| 1578 | return &v.sizeCache |
| 1579 | case 2: |
| 1580 | return &v.unknownFields |
| 1581 | default: |
| 1582 | return nil |
| 1583 | } |
| 1584 | } |
| 1585 | file_runner_v1_messages_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 1586 | switch v := v.(*UpdateTaskRequest); i { |
| 1587 | case 0: |
| 1588 | return &v.state |
| 1589 | case 1: |
| 1590 | return &v.sizeCache |
| 1591 | case 2: |
| 1592 | return &v.unknownFields |
| 1593 | default: |
| 1594 | return nil |
| 1595 | } |
| 1596 | } |
| 1597 | file_runner_v1_messages_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| 1598 | switch v := v.(*UpdateTaskResponse); i { |
| 1599 | case 0: |
| 1600 | return &v.state |
| 1601 | case 1: |
| 1602 | return &v.sizeCache |
| 1603 | case 2: |
| 1604 | return &v.unknownFields |
| 1605 | default: |
| 1606 | return nil |
| 1607 | } |
| 1608 | } |
| 1609 | file_runner_v1_messages_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| 1610 | switch v := v.(*UpdateLogRequest); i { |
| 1611 | case 0: |
| 1612 | return &v.state |
| 1613 | case 1: |
| 1614 | return &v.sizeCache |
| 1615 | case 2: |
| 1616 | return &v.unknownFields |
| 1617 | default: |
| 1618 | return nil |
| 1619 | } |
| 1620 | } |
| 1621 | file_runner_v1_messages_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| 1622 | switch v := v.(*UpdateLogResponse); i { |
| 1623 | case 0: |
| 1624 | return &v.state |
| 1625 | case 1: |
| 1626 | return &v.sizeCache |
| 1627 | case 2: |
| 1628 | return &v.unknownFields |
| 1629 | default: |
| 1630 | return nil |
| 1631 | } |
| 1632 | } |
| 1633 | file_runner_v1_messages_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| 1634 | switch v := v.(*Runner); i { |
| 1635 | case 0: |
| 1636 | return &v.state |
| 1637 | case 1: |
| 1638 | return &v.sizeCache |
| 1639 | case 2: |
| 1640 | return &v.unknownFields |
| 1641 | default: |
| 1642 | return nil |
| 1643 | } |
| 1644 | } |
| 1645 | file_runner_v1_messages_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
| 1646 | switch v := v.(*Task); i { |
| 1647 | case 0: |
| 1648 | return &v.state |
| 1649 | case 1: |
| 1650 | return &v.sizeCache |
| 1651 | case 2: |
| 1652 | return &v.unknownFields |
| 1653 | default: |
| 1654 | return nil |
| 1655 | } |
| 1656 | } |
| 1657 | file_runner_v1_messages_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
| 1658 | switch v := v.(*TaskNeed); i { |
| 1659 | case 0: |
| 1660 | return &v.state |
| 1661 | case 1: |
| 1662 | return &v.sizeCache |
| 1663 | case 2: |
| 1664 | return &v.unknownFields |
| 1665 | default: |
| 1666 | return nil |
| 1667 | } |
| 1668 | } |
| 1669 | file_runner_v1_messages_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { |
| 1670 | switch v := v.(*TaskState); i { |
| 1671 | case 0: |
| 1672 | return &v.state |
| 1673 | case 1: |
| 1674 | return &v.sizeCache |
| 1675 | case 2: |
| 1676 | return &v.unknownFields |
| 1677 | default: |
| 1678 | return nil |
| 1679 | } |
| 1680 | } |
| 1681 | file_runner_v1_messages_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { |
| 1682 | switch v := v.(*StepState); i { |
| 1683 | case 0: |
| 1684 | return &v.state |
| 1685 | case 1: |
| 1686 | return &v.sizeCache |
| 1687 | case 2: |
| 1688 | return &v.unknownFields |
| 1689 | default: |
| 1690 | return nil |
| 1691 | } |
| 1692 | } |
| 1693 | file_runner_v1_messages_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { |
| 1694 | switch v := v.(*LogRow); i { |
| 1695 | case 0: |
| 1696 | return &v.state |
| 1697 | case 1: |
| 1698 | return &v.sizeCache |
| 1699 | case 2: |
| 1700 | return &v.unknownFields |
| 1701 | default: |
| 1702 | return nil |
| 1703 | } |
| 1704 | } |
| 1705 | } |
| 1706 | file_runner_v1_messages_proto_msgTypes[11].OneofWrappers = []interface{}{} |
| 1707 | type x struct{} |
| 1708 | out := protoimpl.TypeBuilder{ |
| 1709 | File: protoimpl.DescBuilder{ |
| 1710 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1711 | RawDescriptor: file_runner_v1_messages_proto_rawDesc, |
| 1712 | NumEnums: 2, |
| 1713 | NumMessages: 21, |
| 1714 | NumExtensions: 0, |
| 1715 | NumServices: 0, |
| 1716 | }, |
| 1717 | GoTypes: file_runner_v1_messages_proto_goTypes, |
| 1718 | DependencyIndexes: file_runner_v1_messages_proto_depIdxs, |
| 1719 | EnumInfos: file_runner_v1_messages_proto_enumTypes, |
| 1720 | MessageInfos: file_runner_v1_messages_proto_msgTypes, |
| 1721 | }.Build() |
| 1722 | File_runner_v1_messages_proto = out.File |
| 1723 | file_runner_v1_messages_proto_rawDesc = nil |
| 1724 | file_runner_v1_messages_proto_goTypes = nil |
| 1725 | file_runner_v1_messages_proto_depIdxs = nil |
| 1726 | } |