code.gitea.io/gitea@v1.22.3/routers/api/actions/artifact.pb.go (about) 1 // Copyright 2024 The Gitea Authors. All rights reserved. 2 // SPDX-License-Identifier: MIT 3 4 // Code generated by protoc-gen-go. DO NOT EDIT. 5 // versions: 6 // protoc-gen-go v1.32.0 7 // protoc v4.25.2 8 // source: artifact.proto 9 10 package actions 11 12 import ( 13 reflect "reflect" 14 sync "sync" 15 16 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 17 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 18 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 19 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" 20 ) 21 22 const ( 23 // Verify that this generated code is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 25 // Verify that runtime/protoimpl is sufficiently up-to-date. 26 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 27 ) 28 29 type CreateArtifactRequest struct { 30 state protoimpl.MessageState 31 sizeCache protoimpl.SizeCache 32 unknownFields protoimpl.UnknownFields 33 34 WorkflowRunBackendId string `protobuf:"bytes,1,opt,name=workflow_run_backend_id,json=workflowRunBackendId,proto3" json:"workflow_run_backend_id,omitempty"` 35 WorkflowJobRunBackendId string `protobuf:"bytes,2,opt,name=workflow_job_run_backend_id,json=workflowJobRunBackendId,proto3" json:"workflow_job_run_backend_id,omitempty"` 36 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 37 ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` 38 Version int32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` 39 } 40 41 func (x *CreateArtifactRequest) Reset() { 42 *x = CreateArtifactRequest{} 43 if protoimpl.UnsafeEnabled { 44 mi := &file_artifact_proto_msgTypes[0] 45 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 46 ms.StoreMessageInfo(mi) 47 } 48 } 49 50 func (x *CreateArtifactRequest) String() string { 51 return protoimpl.X.MessageStringOf(x) 52 } 53 54 func (*CreateArtifactRequest) ProtoMessage() {} 55 56 func (x *CreateArtifactRequest) ProtoReflect() protoreflect.Message { 57 mi := &file_artifact_proto_msgTypes[0] 58 if protoimpl.UnsafeEnabled && x != nil { 59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 60 if ms.LoadMessageInfo() == nil { 61 ms.StoreMessageInfo(mi) 62 } 63 return ms 64 } 65 return mi.MessageOf(x) 66 } 67 68 // Deprecated: Use CreateArtifactRequest.ProtoReflect.Descriptor instead. 69 func (*CreateArtifactRequest) Descriptor() ([]byte, []int) { 70 return file_artifact_proto_rawDescGZIP(), []int{0} 71 } 72 73 func (x *CreateArtifactRequest) GetWorkflowRunBackendId() string { 74 if x != nil { 75 return x.WorkflowRunBackendId 76 } 77 return "" 78 } 79 80 func (x *CreateArtifactRequest) GetWorkflowJobRunBackendId() string { 81 if x != nil { 82 return x.WorkflowJobRunBackendId 83 } 84 return "" 85 } 86 87 func (x *CreateArtifactRequest) GetName() string { 88 if x != nil { 89 return x.Name 90 } 91 return "" 92 } 93 94 func (x *CreateArtifactRequest) GetExpiresAt() *timestamppb.Timestamp { 95 if x != nil { 96 return x.ExpiresAt 97 } 98 return nil 99 } 100 101 func (x *CreateArtifactRequest) GetVersion() int32 { 102 if x != nil { 103 return x.Version 104 } 105 return 0 106 } 107 108 type CreateArtifactResponse struct { 109 state protoimpl.MessageState 110 sizeCache protoimpl.SizeCache 111 unknownFields protoimpl.UnknownFields 112 113 Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` 114 SignedUploadUrl string `protobuf:"bytes,2,opt,name=signed_upload_url,json=signedUploadUrl,proto3" json:"signed_upload_url,omitempty"` 115 } 116 117 func (x *CreateArtifactResponse) Reset() { 118 *x = CreateArtifactResponse{} 119 if protoimpl.UnsafeEnabled { 120 mi := &file_artifact_proto_msgTypes[1] 121 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 122 ms.StoreMessageInfo(mi) 123 } 124 } 125 126 func (x *CreateArtifactResponse) String() string { 127 return protoimpl.X.MessageStringOf(x) 128 } 129 130 func (*CreateArtifactResponse) ProtoMessage() {} 131 132 func (x *CreateArtifactResponse) ProtoReflect() protoreflect.Message { 133 mi := &file_artifact_proto_msgTypes[1] 134 if protoimpl.UnsafeEnabled && x != nil { 135 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 136 if ms.LoadMessageInfo() == nil { 137 ms.StoreMessageInfo(mi) 138 } 139 return ms 140 } 141 return mi.MessageOf(x) 142 } 143 144 // Deprecated: Use CreateArtifactResponse.ProtoReflect.Descriptor instead. 145 func (*CreateArtifactResponse) Descriptor() ([]byte, []int) { 146 return file_artifact_proto_rawDescGZIP(), []int{1} 147 } 148 149 func (x *CreateArtifactResponse) GetOk() bool { 150 if x != nil { 151 return x.Ok 152 } 153 return false 154 } 155 156 func (x *CreateArtifactResponse) GetSignedUploadUrl() string { 157 if x != nil { 158 return x.SignedUploadUrl 159 } 160 return "" 161 } 162 163 type FinalizeArtifactRequest struct { 164 state protoimpl.MessageState 165 sizeCache protoimpl.SizeCache 166 unknownFields protoimpl.UnknownFields 167 168 WorkflowRunBackendId string `protobuf:"bytes,1,opt,name=workflow_run_backend_id,json=workflowRunBackendId,proto3" json:"workflow_run_backend_id,omitempty"` 169 WorkflowJobRunBackendId string `protobuf:"bytes,2,opt,name=workflow_job_run_backend_id,json=workflowJobRunBackendId,proto3" json:"workflow_job_run_backend_id,omitempty"` 170 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 171 Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` 172 Hash *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"` 173 } 174 175 func (x *FinalizeArtifactRequest) Reset() { 176 *x = FinalizeArtifactRequest{} 177 if protoimpl.UnsafeEnabled { 178 mi := &file_artifact_proto_msgTypes[2] 179 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 180 ms.StoreMessageInfo(mi) 181 } 182 } 183 184 func (x *FinalizeArtifactRequest) String() string { 185 return protoimpl.X.MessageStringOf(x) 186 } 187 188 func (*FinalizeArtifactRequest) ProtoMessage() {} 189 190 func (x *FinalizeArtifactRequest) ProtoReflect() protoreflect.Message { 191 mi := &file_artifact_proto_msgTypes[2] 192 if protoimpl.UnsafeEnabled && x != nil { 193 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 194 if ms.LoadMessageInfo() == nil { 195 ms.StoreMessageInfo(mi) 196 } 197 return ms 198 } 199 return mi.MessageOf(x) 200 } 201 202 // Deprecated: Use FinalizeArtifactRequest.ProtoReflect.Descriptor instead. 203 func (*FinalizeArtifactRequest) Descriptor() ([]byte, []int) { 204 return file_artifact_proto_rawDescGZIP(), []int{2} 205 } 206 207 func (x *FinalizeArtifactRequest) GetWorkflowRunBackendId() string { 208 if x != nil { 209 return x.WorkflowRunBackendId 210 } 211 return "" 212 } 213 214 func (x *FinalizeArtifactRequest) GetWorkflowJobRunBackendId() string { 215 if x != nil { 216 return x.WorkflowJobRunBackendId 217 } 218 return "" 219 } 220 221 func (x *FinalizeArtifactRequest) GetName() string { 222 if x != nil { 223 return x.Name 224 } 225 return "" 226 } 227 228 func (x *FinalizeArtifactRequest) GetSize() int64 { 229 if x != nil { 230 return x.Size 231 } 232 return 0 233 } 234 235 func (x *FinalizeArtifactRequest) GetHash() *wrapperspb.StringValue { 236 if x != nil { 237 return x.Hash 238 } 239 return nil 240 } 241 242 type FinalizeArtifactResponse struct { 243 state protoimpl.MessageState 244 sizeCache protoimpl.SizeCache 245 unknownFields protoimpl.UnknownFields 246 247 Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` 248 ArtifactId int64 `protobuf:"varint,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` 249 } 250 251 func (x *FinalizeArtifactResponse) Reset() { 252 *x = FinalizeArtifactResponse{} 253 if protoimpl.UnsafeEnabled { 254 mi := &file_artifact_proto_msgTypes[3] 255 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 256 ms.StoreMessageInfo(mi) 257 } 258 } 259 260 func (x *FinalizeArtifactResponse) String() string { 261 return protoimpl.X.MessageStringOf(x) 262 } 263 264 func (*FinalizeArtifactResponse) ProtoMessage() {} 265 266 func (x *FinalizeArtifactResponse) ProtoReflect() protoreflect.Message { 267 mi := &file_artifact_proto_msgTypes[3] 268 if protoimpl.UnsafeEnabled && x != nil { 269 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 270 if ms.LoadMessageInfo() == nil { 271 ms.StoreMessageInfo(mi) 272 } 273 return ms 274 } 275 return mi.MessageOf(x) 276 } 277 278 // Deprecated: Use FinalizeArtifactResponse.ProtoReflect.Descriptor instead. 279 func (*FinalizeArtifactResponse) Descriptor() ([]byte, []int) { 280 return file_artifact_proto_rawDescGZIP(), []int{3} 281 } 282 283 func (x *FinalizeArtifactResponse) GetOk() bool { 284 if x != nil { 285 return x.Ok 286 } 287 return false 288 } 289 290 func (x *FinalizeArtifactResponse) GetArtifactId() int64 { 291 if x != nil { 292 return x.ArtifactId 293 } 294 return 0 295 } 296 297 type ListArtifactsRequest struct { 298 state protoimpl.MessageState 299 sizeCache protoimpl.SizeCache 300 unknownFields protoimpl.UnknownFields 301 302 WorkflowRunBackendId string `protobuf:"bytes,1,opt,name=workflow_run_backend_id,json=workflowRunBackendId,proto3" json:"workflow_run_backend_id,omitempty"` 303 WorkflowJobRunBackendId string `protobuf:"bytes,2,opt,name=workflow_job_run_backend_id,json=workflowJobRunBackendId,proto3" json:"workflow_job_run_backend_id,omitempty"` 304 NameFilter *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=name_filter,json=nameFilter,proto3" json:"name_filter,omitempty"` 305 IdFilter *wrapperspb.Int64Value `protobuf:"bytes,4,opt,name=id_filter,json=idFilter,proto3" json:"id_filter,omitempty"` 306 } 307 308 func (x *ListArtifactsRequest) Reset() { 309 *x = ListArtifactsRequest{} 310 if protoimpl.UnsafeEnabled { 311 mi := &file_artifact_proto_msgTypes[4] 312 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 313 ms.StoreMessageInfo(mi) 314 } 315 } 316 317 func (x *ListArtifactsRequest) String() string { 318 return protoimpl.X.MessageStringOf(x) 319 } 320 321 func (*ListArtifactsRequest) ProtoMessage() {} 322 323 func (x *ListArtifactsRequest) ProtoReflect() protoreflect.Message { 324 mi := &file_artifact_proto_msgTypes[4] 325 if protoimpl.UnsafeEnabled && x != nil { 326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 327 if ms.LoadMessageInfo() == nil { 328 ms.StoreMessageInfo(mi) 329 } 330 return ms 331 } 332 return mi.MessageOf(x) 333 } 334 335 // Deprecated: Use ListArtifactsRequest.ProtoReflect.Descriptor instead. 336 func (*ListArtifactsRequest) Descriptor() ([]byte, []int) { 337 return file_artifact_proto_rawDescGZIP(), []int{4} 338 } 339 340 func (x *ListArtifactsRequest) GetWorkflowRunBackendId() string { 341 if x != nil { 342 return x.WorkflowRunBackendId 343 } 344 return "" 345 } 346 347 func (x *ListArtifactsRequest) GetWorkflowJobRunBackendId() string { 348 if x != nil { 349 return x.WorkflowJobRunBackendId 350 } 351 return "" 352 } 353 354 func (x *ListArtifactsRequest) GetNameFilter() *wrapperspb.StringValue { 355 if x != nil { 356 return x.NameFilter 357 } 358 return nil 359 } 360 361 func (x *ListArtifactsRequest) GetIdFilter() *wrapperspb.Int64Value { 362 if x != nil { 363 return x.IdFilter 364 } 365 return nil 366 } 367 368 type ListArtifactsResponse struct { 369 state protoimpl.MessageState 370 sizeCache protoimpl.SizeCache 371 unknownFields protoimpl.UnknownFields 372 373 Artifacts []*ListArtifactsResponse_MonolithArtifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"` 374 } 375 376 func (x *ListArtifactsResponse) Reset() { 377 *x = ListArtifactsResponse{} 378 if protoimpl.UnsafeEnabled { 379 mi := &file_artifact_proto_msgTypes[5] 380 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 381 ms.StoreMessageInfo(mi) 382 } 383 } 384 385 func (x *ListArtifactsResponse) String() string { 386 return protoimpl.X.MessageStringOf(x) 387 } 388 389 func (*ListArtifactsResponse) ProtoMessage() {} 390 391 func (x *ListArtifactsResponse) ProtoReflect() protoreflect.Message { 392 mi := &file_artifact_proto_msgTypes[5] 393 if protoimpl.UnsafeEnabled && x != nil { 394 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 395 if ms.LoadMessageInfo() == nil { 396 ms.StoreMessageInfo(mi) 397 } 398 return ms 399 } 400 return mi.MessageOf(x) 401 } 402 403 // Deprecated: Use ListArtifactsResponse.ProtoReflect.Descriptor instead. 404 func (*ListArtifactsResponse) Descriptor() ([]byte, []int) { 405 return file_artifact_proto_rawDescGZIP(), []int{5} 406 } 407 408 func (x *ListArtifactsResponse) GetArtifacts() []*ListArtifactsResponse_MonolithArtifact { 409 if x != nil { 410 return x.Artifacts 411 } 412 return nil 413 } 414 415 type ListArtifactsResponse_MonolithArtifact struct { 416 state protoimpl.MessageState 417 sizeCache protoimpl.SizeCache 418 unknownFields protoimpl.UnknownFields 419 420 WorkflowRunBackendId string `protobuf:"bytes,1,opt,name=workflow_run_backend_id,json=workflowRunBackendId,proto3" json:"workflow_run_backend_id,omitempty"` 421 WorkflowJobRunBackendId string `protobuf:"bytes,2,opt,name=workflow_job_run_backend_id,json=workflowJobRunBackendId,proto3" json:"workflow_job_run_backend_id,omitempty"` 422 DatabaseId int64 `protobuf:"varint,3,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` 423 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` 424 Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` 425 CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` 426 } 427 428 func (x *ListArtifactsResponse_MonolithArtifact) Reset() { 429 *x = ListArtifactsResponse_MonolithArtifact{} 430 if protoimpl.UnsafeEnabled { 431 mi := &file_artifact_proto_msgTypes[6] 432 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 433 ms.StoreMessageInfo(mi) 434 } 435 } 436 437 func (x *ListArtifactsResponse_MonolithArtifact) String() string { 438 return protoimpl.X.MessageStringOf(x) 439 } 440 441 func (*ListArtifactsResponse_MonolithArtifact) ProtoMessage() {} 442 443 func (x *ListArtifactsResponse_MonolithArtifact) ProtoReflect() protoreflect.Message { 444 mi := &file_artifact_proto_msgTypes[6] 445 if protoimpl.UnsafeEnabled && x != nil { 446 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 447 if ms.LoadMessageInfo() == nil { 448 ms.StoreMessageInfo(mi) 449 } 450 return ms 451 } 452 return mi.MessageOf(x) 453 } 454 455 // Deprecated: Use ListArtifactsResponse_MonolithArtifact.ProtoReflect.Descriptor instead. 456 func (*ListArtifactsResponse_MonolithArtifact) Descriptor() ([]byte, []int) { 457 return file_artifact_proto_rawDescGZIP(), []int{6} 458 } 459 460 func (x *ListArtifactsResponse_MonolithArtifact) GetWorkflowRunBackendId() string { 461 if x != nil { 462 return x.WorkflowRunBackendId 463 } 464 return "" 465 } 466 467 func (x *ListArtifactsResponse_MonolithArtifact) GetWorkflowJobRunBackendId() string { 468 if x != nil { 469 return x.WorkflowJobRunBackendId 470 } 471 return "" 472 } 473 474 func (x *ListArtifactsResponse_MonolithArtifact) GetDatabaseId() int64 { 475 if x != nil { 476 return x.DatabaseId 477 } 478 return 0 479 } 480 481 func (x *ListArtifactsResponse_MonolithArtifact) GetName() string { 482 if x != nil { 483 return x.Name 484 } 485 return "" 486 } 487 488 func (x *ListArtifactsResponse_MonolithArtifact) GetSize() int64 { 489 if x != nil { 490 return x.Size 491 } 492 return 0 493 } 494 495 func (x *ListArtifactsResponse_MonolithArtifact) GetCreatedAt() *timestamppb.Timestamp { 496 if x != nil { 497 return x.CreatedAt 498 } 499 return nil 500 } 501 502 type GetSignedArtifactURLRequest struct { 503 state protoimpl.MessageState 504 sizeCache protoimpl.SizeCache 505 unknownFields protoimpl.UnknownFields 506 507 WorkflowRunBackendId string `protobuf:"bytes,1,opt,name=workflow_run_backend_id,json=workflowRunBackendId,proto3" json:"workflow_run_backend_id,omitempty"` 508 WorkflowJobRunBackendId string `protobuf:"bytes,2,opt,name=workflow_job_run_backend_id,json=workflowJobRunBackendId,proto3" json:"workflow_job_run_backend_id,omitempty"` 509 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 510 } 511 512 func (x *GetSignedArtifactURLRequest) Reset() { 513 *x = GetSignedArtifactURLRequest{} 514 if protoimpl.UnsafeEnabled { 515 mi := &file_artifact_proto_msgTypes[7] 516 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 517 ms.StoreMessageInfo(mi) 518 } 519 } 520 521 func (x *GetSignedArtifactURLRequest) String() string { 522 return protoimpl.X.MessageStringOf(x) 523 } 524 525 func (*GetSignedArtifactURLRequest) ProtoMessage() {} 526 527 func (x *GetSignedArtifactURLRequest) ProtoReflect() protoreflect.Message { 528 mi := &file_artifact_proto_msgTypes[7] 529 if protoimpl.UnsafeEnabled && x != nil { 530 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 531 if ms.LoadMessageInfo() == nil { 532 ms.StoreMessageInfo(mi) 533 } 534 return ms 535 } 536 return mi.MessageOf(x) 537 } 538 539 // Deprecated: Use GetSignedArtifactURLRequest.ProtoReflect.Descriptor instead. 540 func (*GetSignedArtifactURLRequest) Descriptor() ([]byte, []int) { 541 return file_artifact_proto_rawDescGZIP(), []int{7} 542 } 543 544 func (x *GetSignedArtifactURLRequest) GetWorkflowRunBackendId() string { 545 if x != nil { 546 return x.WorkflowRunBackendId 547 } 548 return "" 549 } 550 551 func (x *GetSignedArtifactURLRequest) GetWorkflowJobRunBackendId() string { 552 if x != nil { 553 return x.WorkflowJobRunBackendId 554 } 555 return "" 556 } 557 558 func (x *GetSignedArtifactURLRequest) GetName() string { 559 if x != nil { 560 return x.Name 561 } 562 return "" 563 } 564 565 type GetSignedArtifactURLResponse struct { 566 state protoimpl.MessageState 567 sizeCache protoimpl.SizeCache 568 unknownFields protoimpl.UnknownFields 569 570 SignedUrl string `protobuf:"bytes,1,opt,name=signed_url,json=signedUrl,proto3" json:"signed_url,omitempty"` 571 } 572 573 func (x *GetSignedArtifactURLResponse) Reset() { 574 *x = GetSignedArtifactURLResponse{} 575 if protoimpl.UnsafeEnabled { 576 mi := &file_artifact_proto_msgTypes[8] 577 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 578 ms.StoreMessageInfo(mi) 579 } 580 } 581 582 func (x *GetSignedArtifactURLResponse) String() string { 583 return protoimpl.X.MessageStringOf(x) 584 } 585 586 func (*GetSignedArtifactURLResponse) ProtoMessage() {} 587 588 func (x *GetSignedArtifactURLResponse) ProtoReflect() protoreflect.Message { 589 mi := &file_artifact_proto_msgTypes[8] 590 if protoimpl.UnsafeEnabled && x != nil { 591 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 592 if ms.LoadMessageInfo() == nil { 593 ms.StoreMessageInfo(mi) 594 } 595 return ms 596 } 597 return mi.MessageOf(x) 598 } 599 600 // Deprecated: Use GetSignedArtifactURLResponse.ProtoReflect.Descriptor instead. 601 func (*GetSignedArtifactURLResponse) Descriptor() ([]byte, []int) { 602 return file_artifact_proto_rawDescGZIP(), []int{8} 603 } 604 605 func (x *GetSignedArtifactURLResponse) GetSignedUrl() string { 606 if x != nil { 607 return x.SignedUrl 608 } 609 return "" 610 } 611 612 type DeleteArtifactRequest struct { 613 state protoimpl.MessageState 614 sizeCache protoimpl.SizeCache 615 unknownFields protoimpl.UnknownFields 616 617 WorkflowRunBackendId string `protobuf:"bytes,1,opt,name=workflow_run_backend_id,json=workflowRunBackendId,proto3" json:"workflow_run_backend_id,omitempty"` 618 WorkflowJobRunBackendId string `protobuf:"bytes,2,opt,name=workflow_job_run_backend_id,json=workflowJobRunBackendId,proto3" json:"workflow_job_run_backend_id,omitempty"` 619 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 620 } 621 622 func (x *DeleteArtifactRequest) Reset() { 623 *x = DeleteArtifactRequest{} 624 if protoimpl.UnsafeEnabled { 625 mi := &file_artifact_proto_msgTypes[9] 626 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 627 ms.StoreMessageInfo(mi) 628 } 629 } 630 631 func (x *DeleteArtifactRequest) String() string { 632 return protoimpl.X.MessageStringOf(x) 633 } 634 635 func (*DeleteArtifactRequest) ProtoMessage() {} 636 637 func (x *DeleteArtifactRequest) ProtoReflect() protoreflect.Message { 638 mi := &file_artifact_proto_msgTypes[9] 639 if protoimpl.UnsafeEnabled && x != nil { 640 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 641 if ms.LoadMessageInfo() == nil { 642 ms.StoreMessageInfo(mi) 643 } 644 return ms 645 } 646 return mi.MessageOf(x) 647 } 648 649 // Deprecated: Use DeleteArtifactRequest.ProtoReflect.Descriptor instead. 650 func (*DeleteArtifactRequest) Descriptor() ([]byte, []int) { 651 return file_artifact_proto_rawDescGZIP(), []int{9} 652 } 653 654 func (x *DeleteArtifactRequest) GetWorkflowRunBackendId() string { 655 if x != nil { 656 return x.WorkflowRunBackendId 657 } 658 return "" 659 } 660 661 func (x *DeleteArtifactRequest) GetWorkflowJobRunBackendId() string { 662 if x != nil { 663 return x.WorkflowJobRunBackendId 664 } 665 return "" 666 } 667 668 func (x *DeleteArtifactRequest) GetName() string { 669 if x != nil { 670 return x.Name 671 } 672 return "" 673 } 674 675 type DeleteArtifactResponse struct { 676 state protoimpl.MessageState 677 sizeCache protoimpl.SizeCache 678 unknownFields protoimpl.UnknownFields 679 680 Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` 681 ArtifactId int64 `protobuf:"varint,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` 682 } 683 684 func (x *DeleteArtifactResponse) Reset() { 685 *x = DeleteArtifactResponse{} 686 if protoimpl.UnsafeEnabled { 687 mi := &file_artifact_proto_msgTypes[10] 688 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 689 ms.StoreMessageInfo(mi) 690 } 691 } 692 693 func (x *DeleteArtifactResponse) String() string { 694 return protoimpl.X.MessageStringOf(x) 695 } 696 697 func (*DeleteArtifactResponse) ProtoMessage() {} 698 699 func (x *DeleteArtifactResponse) ProtoReflect() protoreflect.Message { 700 mi := &file_artifact_proto_msgTypes[10] 701 if protoimpl.UnsafeEnabled && x != nil { 702 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 703 if ms.LoadMessageInfo() == nil { 704 ms.StoreMessageInfo(mi) 705 } 706 return ms 707 } 708 return mi.MessageOf(x) 709 } 710 711 // Deprecated: Use DeleteArtifactResponse.ProtoReflect.Descriptor instead. 712 func (*DeleteArtifactResponse) Descriptor() ([]byte, []int) { 713 return file_artifact_proto_rawDescGZIP(), []int{10} 714 } 715 716 func (x *DeleteArtifactResponse) GetOk() bool { 717 if x != nil { 718 return x.Ok 719 } 720 return false 721 } 722 723 func (x *DeleteArtifactResponse) GetArtifactId() int64 { 724 if x != nil { 725 return x.ArtifactId 726 } 727 return 0 728 } 729 730 var File_artifact_proto protoreflect.FileDescriptor 731 732 var file_artifact_proto_rawDesc = []byte{ 733 0x0a, 0x0e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 734 0x12, 0x1d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 735 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 736 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 737 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 738 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 739 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 740 0x22, 0xf5, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 741 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x17, 0x77, 0x6f, 742 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 743 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x77, 0x6f, 0x72, 744 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 745 0x64, 0x12, 0x3c, 0x0a, 0x1b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6a, 0x6f, 746 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64, 747 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 748 0x4a, 0x6f, 0x62, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 749 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 750 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 751 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 752 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 753 0x61, 0x6d, 0x70, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x12, 0x18, 754 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 755 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x54, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 756 0x74, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 757 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 758 0x6f, 0x6b, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x70, 0x6c, 759 0x6f, 0x61, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 760 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x22, 0xe8, 761 0x01, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 762 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x17, 0x77, 0x6f, 763 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 764 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x77, 0x6f, 0x72, 765 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 766 0x64, 0x12, 0x3c, 0x0a, 0x1b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6a, 0x6f, 767 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64, 768 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 769 0x4a, 0x6f, 0x62, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 770 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 771 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 772 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 773 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 774 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 775 0x6c, 0x75, 0x65, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x22, 0x4b, 0x0a, 0x18, 0x46, 0x69, 0x6e, 776 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 777 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 778 0x08, 0x52, 0x02, 0x6f, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 779 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 780 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x22, 0x84, 0x02, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x41, 781 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 782 0x35, 0x0a, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 783 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 784 0x52, 0x14, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63, 785 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x1b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 786 0x6f, 0x77, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 787 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x77, 0x6f, 0x72, 788 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4a, 0x6f, 0x62, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x65, 789 0x6e, 0x64, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x66, 0x69, 0x6c, 790 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 791 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 792 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c, 793 0x74, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x09, 0x69, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 794 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 795 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 796 0x6c, 0x75, 0x65, 0x52, 0x08, 0x69, 0x64, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x7c, 0x0a, 797 0x15, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 798 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 799 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x67, 0x69, 0x74, 0x68, 800 0x75, 0x62, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 801 0x74, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x72, 802 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 803 0x4d, 0x6f, 0x6e, 0x6f, 0x6c, 0x69, 0x74, 0x68, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 804 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x22, 0xa1, 0x02, 0x0a, 0x26, 805 0x4c, 0x69, 0x73, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 806 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x4d, 0x6f, 0x6e, 0x6f, 0x6c, 0x69, 0x74, 0x68, 0x41, 0x72, 807 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x35, 0x0a, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 808 0x6f, 0x77, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x69, 809 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 810 0x77, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x3c, 0x0a, 811 0x1b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x72, 0x75, 812 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 813 0x28, 0x09, 0x52, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4a, 0x6f, 0x62, 0x52, 814 0x75, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 815 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 816 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 817 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 818 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 819 0x73, 0x69, 0x7a, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 820 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 821 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 822 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 823 0xa6, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x72, 0x74, 824 0x69, 0x66, 0x61, 0x63, 0x74, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 825 0x35, 0x0a, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 826 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 827 0x52, 0x14, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63, 828 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x1b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 829 0x6f, 0x77, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 830 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x77, 0x6f, 0x72, 831 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4a, 0x6f, 0x62, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x65, 832 0x6e, 0x64, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 833 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3d, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x53, 834 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x55, 0x52, 0x4c, 835 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 836 0x65, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 837 0x67, 0x6e, 0x65, 0x64, 0x55, 0x72, 0x6c, 0x22, 0xa0, 0x01, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 838 0x74, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 839 0x74, 0x12, 0x35, 0x0a, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x75, 840 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 841 0x28, 0x09, 0x52, 0x14, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x75, 0x6e, 0x42, 842 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x1b, 0x77, 0x6f, 0x72, 0x6b, 843 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x62, 0x61, 0x63, 844 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x77, 845 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4a, 0x6f, 0x62, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63, 846 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 847 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x49, 0x0a, 0x16, 0x44, 0x65, 848 0x6c, 0x65, 0x74, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 849 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 850 0x52, 0x02, 0x6f, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 851 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x66, 852 0x61, 0x63, 0x74, 0x49, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 853 } 854 855 var ( 856 file_artifact_proto_rawDescOnce sync.Once 857 file_artifact_proto_rawDescData = file_artifact_proto_rawDesc 858 ) 859 860 func file_artifact_proto_rawDescGZIP() []byte { 861 file_artifact_proto_rawDescOnce.Do(func() { 862 file_artifact_proto_rawDescData = protoimpl.X.CompressGZIP(file_artifact_proto_rawDescData) 863 }) 864 return file_artifact_proto_rawDescData 865 } 866 867 var ( 868 file_artifact_proto_msgTypes = make([]protoimpl.MessageInfo, 11) 869 file_artifact_proto_goTypes = []interface{}{ 870 (*CreateArtifactRequest)(nil), // 0: github.actions.results.api.v1.CreateArtifactRequest 871 (*CreateArtifactResponse)(nil), // 1: github.actions.results.api.v1.CreateArtifactResponse 872 (*FinalizeArtifactRequest)(nil), // 2: github.actions.results.api.v1.FinalizeArtifactRequest 873 (*FinalizeArtifactResponse)(nil), // 3: github.actions.results.api.v1.FinalizeArtifactResponse 874 (*ListArtifactsRequest)(nil), // 4: github.actions.results.api.v1.ListArtifactsRequest 875 (*ListArtifactsResponse)(nil), // 5: github.actions.results.api.v1.ListArtifactsResponse 876 (*ListArtifactsResponse_MonolithArtifact)(nil), // 6: github.actions.results.api.v1.ListArtifactsResponse_MonolithArtifact 877 (*GetSignedArtifactURLRequest)(nil), // 7: github.actions.results.api.v1.GetSignedArtifactURLRequest 878 (*GetSignedArtifactURLResponse)(nil), // 8: github.actions.results.api.v1.GetSignedArtifactURLResponse 879 (*DeleteArtifactRequest)(nil), // 9: github.actions.results.api.v1.DeleteArtifactRequest 880 (*DeleteArtifactResponse)(nil), // 10: github.actions.results.api.v1.DeleteArtifactResponse 881 (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp 882 (*wrapperspb.StringValue)(nil), // 12: google.protobuf.StringValue 883 (*wrapperspb.Int64Value)(nil), // 13: google.protobuf.Int64Value 884 } 885 ) 886 887 var file_artifact_proto_depIdxs = []int32{ 888 11, // 0: github.actions.results.api.v1.CreateArtifactRequest.expires_at:type_name -> google.protobuf.Timestamp 889 12, // 1: github.actions.results.api.v1.FinalizeArtifactRequest.hash:type_name -> google.protobuf.StringValue 890 12, // 2: github.actions.results.api.v1.ListArtifactsRequest.name_filter:type_name -> google.protobuf.StringValue 891 13, // 3: github.actions.results.api.v1.ListArtifactsRequest.id_filter:type_name -> google.protobuf.Int64Value 892 6, // 4: github.actions.results.api.v1.ListArtifactsResponse.artifacts:type_name -> github.actions.results.api.v1.ListArtifactsResponse_MonolithArtifact 893 11, // 5: github.actions.results.api.v1.ListArtifactsResponse_MonolithArtifact.created_at:type_name -> google.protobuf.Timestamp 894 6, // [6:6] is the sub-list for method output_type 895 6, // [6:6] is the sub-list for method input_type 896 6, // [6:6] is the sub-list for extension type_name 897 6, // [6:6] is the sub-list for extension extendee 898 0, // [0:6] is the sub-list for field type_name 899 } 900 901 func init() { file_artifact_proto_init() } 902 func file_artifact_proto_init() { 903 if File_artifact_proto != nil { 904 return 905 } 906 if !protoimpl.UnsafeEnabled { 907 file_artifact_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 908 switch v := v.(*CreateArtifactRequest); i { 909 case 0: 910 return &v.state 911 case 1: 912 return &v.sizeCache 913 case 2: 914 return &v.unknownFields 915 default: 916 return nil 917 } 918 } 919 file_artifact_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 920 switch v := v.(*CreateArtifactResponse); i { 921 case 0: 922 return &v.state 923 case 1: 924 return &v.sizeCache 925 case 2: 926 return &v.unknownFields 927 default: 928 return nil 929 } 930 } 931 file_artifact_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 932 switch v := v.(*FinalizeArtifactRequest); i { 933 case 0: 934 return &v.state 935 case 1: 936 return &v.sizeCache 937 case 2: 938 return &v.unknownFields 939 default: 940 return nil 941 } 942 } 943 file_artifact_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 944 switch v := v.(*FinalizeArtifactResponse); i { 945 case 0: 946 return &v.state 947 case 1: 948 return &v.sizeCache 949 case 2: 950 return &v.unknownFields 951 default: 952 return nil 953 } 954 } 955 file_artifact_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 956 switch v := v.(*ListArtifactsRequest); i { 957 case 0: 958 return &v.state 959 case 1: 960 return &v.sizeCache 961 case 2: 962 return &v.unknownFields 963 default: 964 return nil 965 } 966 } 967 file_artifact_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 968 switch v := v.(*ListArtifactsResponse); i { 969 case 0: 970 return &v.state 971 case 1: 972 return &v.sizeCache 973 case 2: 974 return &v.unknownFields 975 default: 976 return nil 977 } 978 } 979 file_artifact_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 980 switch v := v.(*ListArtifactsResponse_MonolithArtifact); i { 981 case 0: 982 return &v.state 983 case 1: 984 return &v.sizeCache 985 case 2: 986 return &v.unknownFields 987 default: 988 return nil 989 } 990 } 991 file_artifact_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 992 switch v := v.(*GetSignedArtifactURLRequest); i { 993 case 0: 994 return &v.state 995 case 1: 996 return &v.sizeCache 997 case 2: 998 return &v.unknownFields 999 default: 1000 return nil 1001 } 1002 } 1003 file_artifact_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1004 switch v := v.(*GetSignedArtifactURLResponse); i { 1005 case 0: 1006 return &v.state 1007 case 1: 1008 return &v.sizeCache 1009 case 2: 1010 return &v.unknownFields 1011 default: 1012 return nil 1013 } 1014 } 1015 file_artifact_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1016 switch v := v.(*DeleteArtifactRequest); i { 1017 case 0: 1018 return &v.state 1019 case 1: 1020 return &v.sizeCache 1021 case 2: 1022 return &v.unknownFields 1023 default: 1024 return nil 1025 } 1026 } 1027 file_artifact_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1028 switch v := v.(*DeleteArtifactResponse); i { 1029 case 0: 1030 return &v.state 1031 case 1: 1032 return &v.sizeCache 1033 case 2: 1034 return &v.unknownFields 1035 default: 1036 return nil 1037 } 1038 } 1039 } 1040 type x struct{} 1041 out := protoimpl.TypeBuilder{ 1042 File: protoimpl.DescBuilder{ 1043 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1044 RawDescriptor: file_artifact_proto_rawDesc, 1045 NumEnums: 0, 1046 NumMessages: 11, 1047 NumExtensions: 0, 1048 NumServices: 0, 1049 }, 1050 GoTypes: file_artifact_proto_goTypes, 1051 DependencyIndexes: file_artifact_proto_depIdxs, 1052 MessageInfos: file_artifact_proto_msgTypes, 1053 }.Build() 1054 File_artifact_proto = out.File 1055 file_artifact_proto_rawDesc = nil 1056 file_artifact_proto_goTypes = nil 1057 file_artifact_proto_depIdxs = nil 1058 }