golang.org/x/build@v0.0.0-20240506185731-218518f32b70/internal/relui/protos/relui.pb.go (about) 1 // Copyright 2022 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // Code generated by protoc-gen-go. DO NOT EDIT. 6 // versions: 7 // protoc-gen-go v1.31.0 8 // protoc v4.25.3 9 // source: relui.proto 10 11 package protos 12 13 import ( 14 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 15 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 16 reflect "reflect" 17 sync "sync" 18 ) 19 20 const ( 21 // Verify that this generated code is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 23 // Verify that runtime/protoimpl is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 25 ) 26 27 // The type of artifact signing request. 28 type SignArtifactRequest_BuildType int32 29 30 const ( 31 SignArtifactRequest_BUILD_TYPE_UNSPECIFIED SignArtifactRequest_BuildType = 0 32 SignArtifactRequest_BUILD_TYPE_MACOS SignArtifactRequest_BuildType = 1 33 SignArtifactRequest_BUILD_TYPE_WINDOWS SignArtifactRequest_BuildType = 2 34 SignArtifactRequest_BUILD_TYPE_GPG SignArtifactRequest_BuildType = 3 35 SignArtifactRequest_BUILD_TYPE_MACOS_CONSTRUCT_INSTALLER_ONLY SignArtifactRequest_BuildType = 4 36 SignArtifactRequest_BUILD_TYPE_WINDOWS_CONSTRUCT_INSTALLER_ONLY SignArtifactRequest_BuildType = 5 37 // Sign individual binary application artifacts. 38 // The signing server expects zipped application bundles and signs the files in them. 39 SignArtifactRequest_BUILD_TYPE_MACOS_BINARY SignArtifactRequest_BuildType = 6 40 SignArtifactRequest_BUILD_TYPE_WINDOWS_BINARY SignArtifactRequest_BuildType = 7 41 ) 42 43 // Enum value maps for SignArtifactRequest_BuildType. 44 var ( 45 SignArtifactRequest_BuildType_name = map[int32]string{ 46 0: "BUILD_TYPE_UNSPECIFIED", 47 1: "BUILD_TYPE_MACOS", 48 2: "BUILD_TYPE_WINDOWS", 49 3: "BUILD_TYPE_GPG", 50 4: "BUILD_TYPE_MACOS_CONSTRUCT_INSTALLER_ONLY", 51 5: "BUILD_TYPE_WINDOWS_CONSTRUCT_INSTALLER_ONLY", 52 6: "BUILD_TYPE_MACOS_BINARY", 53 7: "BUILD_TYPE_WINDOWS_BINARY", 54 } 55 SignArtifactRequest_BuildType_value = map[string]int32{ 56 "BUILD_TYPE_UNSPECIFIED": 0, 57 "BUILD_TYPE_MACOS": 1, 58 "BUILD_TYPE_WINDOWS": 2, 59 "BUILD_TYPE_GPG": 3, 60 "BUILD_TYPE_MACOS_CONSTRUCT_INSTALLER_ONLY": 4, 61 "BUILD_TYPE_WINDOWS_CONSTRUCT_INSTALLER_ONLY": 5, 62 "BUILD_TYPE_MACOS_BINARY": 6, 63 "BUILD_TYPE_WINDOWS_BINARY": 7, 64 } 65 ) 66 67 func (x SignArtifactRequest_BuildType) Enum() *SignArtifactRequest_BuildType { 68 p := new(SignArtifactRequest_BuildType) 69 *p = x 70 return p 71 } 72 73 func (x SignArtifactRequest_BuildType) String() string { 74 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 75 } 76 77 func (SignArtifactRequest_BuildType) Descriptor() protoreflect.EnumDescriptor { 78 return file_relui_proto_enumTypes[0].Descriptor() 79 } 80 81 func (SignArtifactRequest_BuildType) Type() protoreflect.EnumType { 82 return &file_relui_proto_enumTypes[0] 83 } 84 85 func (x SignArtifactRequest_BuildType) Number() protoreflect.EnumNumber { 86 return protoreflect.EnumNumber(x) 87 } 88 89 // Deprecated: Use SignArtifactRequest_BuildType.Descriptor instead. 90 func (SignArtifactRequest_BuildType) EnumDescriptor() ([]byte, []int) { 91 return file_relui_proto_rawDescGZIP(), []int{1, 0} 92 } 93 94 // Request an action from the signing client. 95 type SigningRequest struct { 96 state protoimpl.MessageState 97 sizeCache protoimpl.SizeCache 98 unknownFields protoimpl.UnknownFields 99 100 // unique identifier for the request. This would normally reside within 101 // the metadata. This is primarily used to route requests between 102 // caller/responder. The server and client must use the same id for each 103 // corresponging request. 104 MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` 105 // Request type for the signing client. 106 // 107 // Types that are assignable to RequestOneof: 108 // 109 // *SigningRequest_Sign 110 // *SigningRequest_Status 111 // *SigningRequest_Cancel 112 RequestOneof isSigningRequest_RequestOneof `protobuf_oneof:"request_oneof"` 113 } 114 115 func (x *SigningRequest) Reset() { 116 *x = SigningRequest{} 117 if protoimpl.UnsafeEnabled { 118 mi := &file_relui_proto_msgTypes[0] 119 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 120 ms.StoreMessageInfo(mi) 121 } 122 } 123 124 func (x *SigningRequest) String() string { 125 return protoimpl.X.MessageStringOf(x) 126 } 127 128 func (*SigningRequest) ProtoMessage() {} 129 130 func (x *SigningRequest) ProtoReflect() protoreflect.Message { 131 mi := &file_relui_proto_msgTypes[0] 132 if protoimpl.UnsafeEnabled && x != nil { 133 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 134 if ms.LoadMessageInfo() == nil { 135 ms.StoreMessageInfo(mi) 136 } 137 return ms 138 } 139 return mi.MessageOf(x) 140 } 141 142 // Deprecated: Use SigningRequest.ProtoReflect.Descriptor instead. 143 func (*SigningRequest) Descriptor() ([]byte, []int) { 144 return file_relui_proto_rawDescGZIP(), []int{0} 145 } 146 147 func (x *SigningRequest) GetMessageId() string { 148 if x != nil { 149 return x.MessageId 150 } 151 return "" 152 } 153 154 func (m *SigningRequest) GetRequestOneof() isSigningRequest_RequestOneof { 155 if m != nil { 156 return m.RequestOneof 157 } 158 return nil 159 } 160 161 func (x *SigningRequest) GetSign() *SignArtifactRequest { 162 if x, ok := x.GetRequestOneof().(*SigningRequest_Sign); ok { 163 return x.Sign 164 } 165 return nil 166 } 167 168 func (x *SigningRequest) GetStatus() *SignArtifactStatusRequest { 169 if x, ok := x.GetRequestOneof().(*SigningRequest_Status); ok { 170 return x.Status 171 } 172 return nil 173 } 174 175 func (x *SigningRequest) GetCancel() *SignArtifactCancelRequest { 176 if x, ok := x.GetRequestOneof().(*SigningRequest_Cancel); ok { 177 return x.Cancel 178 } 179 return nil 180 } 181 182 type isSigningRequest_RequestOneof interface { 183 isSigningRequest_RequestOneof() 184 } 185 186 type SigningRequest_Sign struct { 187 Sign *SignArtifactRequest `protobuf:"bytes,2,opt,name=sign,proto3,oneof"` 188 } 189 190 type SigningRequest_Status struct { 191 Status *SignArtifactStatusRequest `protobuf:"bytes,3,opt,name=status,proto3,oneof"` 192 } 193 194 type SigningRequest_Cancel struct { 195 Cancel *SignArtifactCancelRequest `protobuf:"bytes,4,opt,name=cancel,proto3,oneof"` 196 } 197 198 func (*SigningRequest_Sign) isSigningRequest_RequestOneof() {} 199 200 func (*SigningRequest_Status) isSigningRequest_RequestOneof() {} 201 202 func (*SigningRequest_Cancel) isSigningRequest_RequestOneof() {} 203 204 // Request to sign a release artifact. 205 type SignArtifactRequest struct { 206 state protoimpl.MessageState 207 sizeCache protoimpl.SizeCache 208 unknownFields protoimpl.UnknownFields 209 210 BuildType SignArtifactRequest_BuildType `protobuf:"varint,1,opt,name=build_type,json=buildType,proto3,enum=protos.SignArtifactRequest_BuildType" json:"build_type,omitempty"` 211 // The GCS URI for the artifact that should be signed. 212 // This artifact must reside in the agreed upon private 213 // GCS bucket. 214 // 215 // There must be at least one entry, and 216 // each one points to an individual file. 217 // For example, "gs://golang-release-staging/relui-scratch/<...>/go123.linux-amd64.tar.gz". 218 GcsUri []string `protobuf:"bytes,2,rep,name=gcs_uri,json=gcsUri,proto3" json:"gcs_uri,omitempty"` 219 } 220 221 func (x *SignArtifactRequest) Reset() { 222 *x = SignArtifactRequest{} 223 if protoimpl.UnsafeEnabled { 224 mi := &file_relui_proto_msgTypes[1] 225 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 226 ms.StoreMessageInfo(mi) 227 } 228 } 229 230 func (x *SignArtifactRequest) String() string { 231 return protoimpl.X.MessageStringOf(x) 232 } 233 234 func (*SignArtifactRequest) ProtoMessage() {} 235 236 func (x *SignArtifactRequest) ProtoReflect() protoreflect.Message { 237 mi := &file_relui_proto_msgTypes[1] 238 if protoimpl.UnsafeEnabled && x != nil { 239 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 240 if ms.LoadMessageInfo() == nil { 241 ms.StoreMessageInfo(mi) 242 } 243 return ms 244 } 245 return mi.MessageOf(x) 246 } 247 248 // Deprecated: Use SignArtifactRequest.ProtoReflect.Descriptor instead. 249 func (*SignArtifactRequest) Descriptor() ([]byte, []int) { 250 return file_relui_proto_rawDescGZIP(), []int{1} 251 } 252 253 func (x *SignArtifactRequest) GetBuildType() SignArtifactRequest_BuildType { 254 if x != nil { 255 return x.BuildType 256 } 257 return SignArtifactRequest_BUILD_TYPE_UNSPECIFIED 258 } 259 260 func (x *SignArtifactRequest) GetGcsUri() []string { 261 if x != nil { 262 return x.GcsUri 263 } 264 return nil 265 } 266 267 // Request for an update on an existing signing request. 268 type SignArtifactStatusRequest struct { 269 state protoimpl.MessageState 270 sizeCache protoimpl.SizeCache 271 unknownFields protoimpl.UnknownFields 272 273 // unique identifier for the signing job. 274 JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` 275 } 276 277 func (x *SignArtifactStatusRequest) Reset() { 278 *x = SignArtifactStatusRequest{} 279 if protoimpl.UnsafeEnabled { 280 mi := &file_relui_proto_msgTypes[2] 281 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 282 ms.StoreMessageInfo(mi) 283 } 284 } 285 286 func (x *SignArtifactStatusRequest) String() string { 287 return protoimpl.X.MessageStringOf(x) 288 } 289 290 func (*SignArtifactStatusRequest) ProtoMessage() {} 291 292 func (x *SignArtifactStatusRequest) ProtoReflect() protoreflect.Message { 293 mi := &file_relui_proto_msgTypes[2] 294 if protoimpl.UnsafeEnabled && x != nil { 295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 296 if ms.LoadMessageInfo() == nil { 297 ms.StoreMessageInfo(mi) 298 } 299 return ms 300 } 301 return mi.MessageOf(x) 302 } 303 304 // Deprecated: Use SignArtifactStatusRequest.ProtoReflect.Descriptor instead. 305 func (*SignArtifactStatusRequest) Descriptor() ([]byte, []int) { 306 return file_relui_proto_rawDescGZIP(), []int{2} 307 } 308 309 func (x *SignArtifactStatusRequest) GetJobId() string { 310 if x != nil { 311 return x.JobId 312 } 313 return "" 314 } 315 316 // Request to stop a previous signing request sooner if possible. 317 type SignArtifactCancelRequest struct { 318 state protoimpl.MessageState 319 sizeCache protoimpl.SizeCache 320 unknownFields protoimpl.UnknownFields 321 322 // unique identifier for the signing job. 323 JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` 324 } 325 326 func (x *SignArtifactCancelRequest) Reset() { 327 *x = SignArtifactCancelRequest{} 328 if protoimpl.UnsafeEnabled { 329 mi := &file_relui_proto_msgTypes[3] 330 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 331 ms.StoreMessageInfo(mi) 332 } 333 } 334 335 func (x *SignArtifactCancelRequest) String() string { 336 return protoimpl.X.MessageStringOf(x) 337 } 338 339 func (*SignArtifactCancelRequest) ProtoMessage() {} 340 341 func (x *SignArtifactCancelRequest) ProtoReflect() protoreflect.Message { 342 mi := &file_relui_proto_msgTypes[3] 343 if protoimpl.UnsafeEnabled && x != nil { 344 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 345 if ms.LoadMessageInfo() == nil { 346 ms.StoreMessageInfo(mi) 347 } 348 return ms 349 } 350 return mi.MessageOf(x) 351 } 352 353 // Deprecated: Use SignArtifactCancelRequest.ProtoReflect.Descriptor instead. 354 func (*SignArtifactCancelRequest) Descriptor() ([]byte, []int) { 355 return file_relui_proto_rawDescGZIP(), []int{3} 356 } 357 358 func (x *SignArtifactCancelRequest) GetJobId() string { 359 if x != nil { 360 return x.JobId 361 } 362 return "" 363 } 364 365 // The status of the signing request. 366 type SigningStatus struct { 367 state protoimpl.MessageState 368 sizeCache protoimpl.SizeCache 369 unknownFields protoimpl.UnknownFields 370 371 // unique identifier for the request. This would normally reside within 372 // the metadata. This is primarily used to route requests between 373 // caller/responder. The server and client must use the same id for each 374 // corresponging request. 375 MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` 376 // The status type of the signing request. 377 // 378 // Types that are assignable to StatusOneof: 379 // 380 // *SigningStatus_NotFound 381 // *SigningStatus_Started 382 // *SigningStatus_Running 383 // *SigningStatus_Failed 384 // *SigningStatus_Completed 385 StatusOneof isSigningStatus_StatusOneof `protobuf_oneof:"status_oneof"` 386 } 387 388 func (x *SigningStatus) Reset() { 389 *x = SigningStatus{} 390 if protoimpl.UnsafeEnabled { 391 mi := &file_relui_proto_msgTypes[4] 392 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 393 ms.StoreMessageInfo(mi) 394 } 395 } 396 397 func (x *SigningStatus) String() string { 398 return protoimpl.X.MessageStringOf(x) 399 } 400 401 func (*SigningStatus) ProtoMessage() {} 402 403 func (x *SigningStatus) ProtoReflect() protoreflect.Message { 404 mi := &file_relui_proto_msgTypes[4] 405 if protoimpl.UnsafeEnabled && x != nil { 406 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 407 if ms.LoadMessageInfo() == nil { 408 ms.StoreMessageInfo(mi) 409 } 410 return ms 411 } 412 return mi.MessageOf(x) 413 } 414 415 // Deprecated: Use SigningStatus.ProtoReflect.Descriptor instead. 416 func (*SigningStatus) Descriptor() ([]byte, []int) { 417 return file_relui_proto_rawDescGZIP(), []int{4} 418 } 419 420 func (x *SigningStatus) GetMessageId() string { 421 if x != nil { 422 return x.MessageId 423 } 424 return "" 425 } 426 427 func (m *SigningStatus) GetStatusOneof() isSigningStatus_StatusOneof { 428 if m != nil { 429 return m.StatusOneof 430 } 431 return nil 432 } 433 434 func (x *SigningStatus) GetNotFound() *StatusNotFound { 435 if x, ok := x.GetStatusOneof().(*SigningStatus_NotFound); ok { 436 return x.NotFound 437 } 438 return nil 439 } 440 441 func (x *SigningStatus) GetStarted() *StatusStarted { 442 if x, ok := x.GetStatusOneof().(*SigningStatus_Started); ok { 443 return x.Started 444 } 445 return nil 446 } 447 448 func (x *SigningStatus) GetRunning() *StatusRunning { 449 if x, ok := x.GetStatusOneof().(*SigningStatus_Running); ok { 450 return x.Running 451 } 452 return nil 453 } 454 455 func (x *SigningStatus) GetFailed() *StatusFailed { 456 if x, ok := x.GetStatusOneof().(*SigningStatus_Failed); ok { 457 return x.Failed 458 } 459 return nil 460 } 461 462 func (x *SigningStatus) GetCompleted() *StatusCompleted { 463 if x, ok := x.GetStatusOneof().(*SigningStatus_Completed); ok { 464 return x.Completed 465 } 466 return nil 467 } 468 469 type isSigningStatus_StatusOneof interface { 470 isSigningStatus_StatusOneof() 471 } 472 473 type SigningStatus_NotFound struct { 474 NotFound *StatusNotFound `protobuf:"bytes,3,opt,name=not_found,json=notFound,proto3,oneof"` 475 } 476 477 type SigningStatus_Started struct { 478 Started *StatusStarted `protobuf:"bytes,4,opt,name=started,proto3,oneof"` 479 } 480 481 type SigningStatus_Running struct { 482 Running *StatusRunning `protobuf:"bytes,5,opt,name=running,proto3,oneof"` 483 } 484 485 type SigningStatus_Failed struct { 486 Failed *StatusFailed `protobuf:"bytes,6,opt,name=failed,proto3,oneof"` 487 } 488 489 type SigningStatus_Completed struct { 490 Completed *StatusCompleted `protobuf:"bytes,7,opt,name=completed,proto3,oneof"` 491 } 492 493 func (*SigningStatus_NotFound) isSigningStatus_StatusOneof() {} 494 495 func (*SigningStatus_Started) isSigningStatus_StatusOneof() {} 496 497 func (*SigningStatus_Running) isSigningStatus_StatusOneof() {} 498 499 func (*SigningStatus_Failed) isSigningStatus_StatusOneof() {} 500 501 func (*SigningStatus_Completed) isSigningStatus_StatusOneof() {} 502 503 // The signing status for a signing request which does not exist. 504 type StatusNotFound struct { 505 state protoimpl.MessageState 506 sizeCache protoimpl.SizeCache 507 unknownFields protoimpl.UnknownFields 508 } 509 510 func (x *StatusNotFound) Reset() { 511 *x = StatusNotFound{} 512 if protoimpl.UnsafeEnabled { 513 mi := &file_relui_proto_msgTypes[5] 514 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 515 ms.StoreMessageInfo(mi) 516 } 517 } 518 519 func (x *StatusNotFound) String() string { 520 return protoimpl.X.MessageStringOf(x) 521 } 522 523 func (*StatusNotFound) ProtoMessage() {} 524 525 func (x *StatusNotFound) ProtoReflect() protoreflect.Message { 526 mi := &file_relui_proto_msgTypes[5] 527 if protoimpl.UnsafeEnabled && x != nil { 528 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 529 if ms.LoadMessageInfo() == nil { 530 ms.StoreMessageInfo(mi) 531 } 532 return ms 533 } 534 return mi.MessageOf(x) 535 } 536 537 // Deprecated: Use StatusNotFound.ProtoReflect.Descriptor instead. 538 func (*StatusNotFound) Descriptor() ([]byte, []int) { 539 return file_relui_proto_rawDescGZIP(), []int{5} 540 } 541 542 // The signing status for an in progress signing request. 543 type StatusStarted struct { 544 state protoimpl.MessageState 545 sizeCache protoimpl.SizeCache 546 unknownFields protoimpl.UnknownFields 547 548 // unique identifier for the signing job that started. 549 JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` 550 } 551 552 func (x *StatusStarted) Reset() { 553 *x = StatusStarted{} 554 if protoimpl.UnsafeEnabled { 555 mi := &file_relui_proto_msgTypes[6] 556 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 557 ms.StoreMessageInfo(mi) 558 } 559 } 560 561 func (x *StatusStarted) String() string { 562 return protoimpl.X.MessageStringOf(x) 563 } 564 565 func (*StatusStarted) ProtoMessage() {} 566 567 func (x *StatusStarted) ProtoReflect() protoreflect.Message { 568 mi := &file_relui_proto_msgTypes[6] 569 if protoimpl.UnsafeEnabled && x != nil { 570 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 571 if ms.LoadMessageInfo() == nil { 572 ms.StoreMessageInfo(mi) 573 } 574 return ms 575 } 576 return mi.MessageOf(x) 577 } 578 579 // Deprecated: Use StatusStarted.ProtoReflect.Descriptor instead. 580 func (*StatusStarted) Descriptor() ([]byte, []int) { 581 return file_relui_proto_rawDescGZIP(), []int{6} 582 } 583 584 func (x *StatusStarted) GetJobId() string { 585 if x != nil { 586 return x.JobId 587 } 588 return "" 589 } 590 591 type StatusRunning struct { 592 state protoimpl.MessageState 593 sizeCache protoimpl.SizeCache 594 unknownFields protoimpl.UnknownFields 595 596 // Details about the signing request status. 597 Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` 598 } 599 600 func (x *StatusRunning) Reset() { 601 *x = StatusRunning{} 602 if protoimpl.UnsafeEnabled { 603 mi := &file_relui_proto_msgTypes[7] 604 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 605 ms.StoreMessageInfo(mi) 606 } 607 } 608 609 func (x *StatusRunning) String() string { 610 return protoimpl.X.MessageStringOf(x) 611 } 612 613 func (*StatusRunning) ProtoMessage() {} 614 615 func (x *StatusRunning) ProtoReflect() protoreflect.Message { 616 mi := &file_relui_proto_msgTypes[7] 617 if protoimpl.UnsafeEnabled && x != nil { 618 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 619 if ms.LoadMessageInfo() == nil { 620 ms.StoreMessageInfo(mi) 621 } 622 return ms 623 } 624 return mi.MessageOf(x) 625 } 626 627 // Deprecated: Use StatusRunning.ProtoReflect.Descriptor instead. 628 func (*StatusRunning) Descriptor() ([]byte, []int) { 629 return file_relui_proto_rawDescGZIP(), []int{7} 630 } 631 632 func (x *StatusRunning) GetDescription() string { 633 if x != nil { 634 return x.Description 635 } 636 return "" 637 } 638 639 // The signing status for a failed signing request. 640 type StatusFailed struct { 641 state protoimpl.MessageState 642 sizeCache protoimpl.SizeCache 643 unknownFields protoimpl.UnknownFields 644 645 // Details about the signing request status. 646 Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` 647 } 648 649 func (x *StatusFailed) Reset() { 650 *x = StatusFailed{} 651 if protoimpl.UnsafeEnabled { 652 mi := &file_relui_proto_msgTypes[8] 653 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 654 ms.StoreMessageInfo(mi) 655 } 656 } 657 658 func (x *StatusFailed) String() string { 659 return protoimpl.X.MessageStringOf(x) 660 } 661 662 func (*StatusFailed) ProtoMessage() {} 663 664 func (x *StatusFailed) ProtoReflect() protoreflect.Message { 665 mi := &file_relui_proto_msgTypes[8] 666 if protoimpl.UnsafeEnabled && x != nil { 667 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 668 if ms.LoadMessageInfo() == nil { 669 ms.StoreMessageInfo(mi) 670 } 671 return ms 672 } 673 return mi.MessageOf(x) 674 } 675 676 // Deprecated: Use StatusFailed.ProtoReflect.Descriptor instead. 677 func (*StatusFailed) Descriptor() ([]byte, []int) { 678 return file_relui_proto_rawDescGZIP(), []int{8} 679 } 680 681 func (x *StatusFailed) GetDescription() string { 682 if x != nil { 683 return x.Description 684 } 685 return "" 686 } 687 688 // The signing status for a successfully completed signing request. 689 type StatusCompleted struct { 690 state protoimpl.MessageState 691 sizeCache protoimpl.SizeCache 692 unknownFields protoimpl.UnknownFields 693 694 // The GCS URIs of the signed artifact(s), 695 // each one pointing to an individual file. 696 // For example, "gs://golang-release-staging/relui-scratch/<...>/go123.linux-amd64.tar.gz". 697 GcsUri []string `protobuf:"bytes,1,rep,name=gcs_uri,json=gcsUri,proto3" json:"gcs_uri,omitempty"` 698 } 699 700 func (x *StatusCompleted) Reset() { 701 *x = StatusCompleted{} 702 if protoimpl.UnsafeEnabled { 703 mi := &file_relui_proto_msgTypes[9] 704 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 705 ms.StoreMessageInfo(mi) 706 } 707 } 708 709 func (x *StatusCompleted) String() string { 710 return protoimpl.X.MessageStringOf(x) 711 } 712 713 func (*StatusCompleted) ProtoMessage() {} 714 715 func (x *StatusCompleted) ProtoReflect() protoreflect.Message { 716 mi := &file_relui_proto_msgTypes[9] 717 if protoimpl.UnsafeEnabled && x != nil { 718 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 719 if ms.LoadMessageInfo() == nil { 720 ms.StoreMessageInfo(mi) 721 } 722 return ms 723 } 724 return mi.MessageOf(x) 725 } 726 727 // Deprecated: Use StatusCompleted.ProtoReflect.Descriptor instead. 728 func (*StatusCompleted) Descriptor() ([]byte, []int) { 729 return file_relui_proto_rawDescGZIP(), []int{9} 730 } 731 732 func (x *StatusCompleted) GetGcsUri() []string { 733 if x != nil { 734 return x.GcsUri 735 } 736 return nil 737 } 738 739 var File_relui_proto protoreflect.FileDescriptor 740 741 var file_relui_proto_rawDesc = []byte{ 742 0x0a, 0x0b, 0x72, 0x65, 0x6c, 0x75, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x70, 743 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x22, 0xed, 0x01, 0x0a, 0x0e, 0x53, 0x69, 0x67, 0x6e, 0x69, 0x6e, 744 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 745 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 746 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x04, 0x73, 0x69, 0x67, 0x6e, 0x18, 747 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x53, 748 0x69, 0x67, 0x6e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 749 0x73, 0x74, 0x48, 0x00, 0x52, 0x04, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x3b, 0x0a, 0x06, 0x73, 0x74, 750 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 751 0x74, 0x6f, 0x73, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 752 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 753 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3b, 0x0a, 0x06, 0x63, 0x61, 0x6e, 0x63, 0x65, 754 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 755 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x43, 0x61, 0x6e, 756 0x63, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x06, 0x63, 0x61, 757 0x6e, 0x63, 0x65, 0x6c, 0x42, 0x0f, 0x0a, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 758 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x22, 0xfc, 0x02, 0x0a, 0x13, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x72, 759 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 760 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 761 0x0e, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x41, 762 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x42, 763 0x75, 0x69, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x54, 764 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x67, 0x63, 0x73, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 765 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x67, 0x63, 0x73, 0x55, 0x72, 0x69, 0x22, 0x85, 0x02, 0x0a, 766 0x09, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x42, 0x55, 767 0x49, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 768 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x5f, 769 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x41, 0x43, 0x4f, 0x53, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 770 0x42, 0x55, 0x49, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 771 0x57, 0x53, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x5f, 0x54, 0x59, 772 0x50, 0x45, 0x5f, 0x47, 0x50, 0x47, 0x10, 0x03, 0x12, 0x2d, 0x0a, 0x29, 0x42, 0x55, 0x49, 0x4c, 773 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x41, 0x43, 0x4f, 0x53, 0x5f, 0x43, 0x4f, 0x4e, 774 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x5f, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4c, 0x4c, 0x45, 0x52, 775 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x04, 0x12, 0x2f, 0x0a, 0x2b, 0x42, 0x55, 0x49, 0x4c, 0x44, 776 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x53, 0x5f, 0x43, 0x4f, 777 0x4e, 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x5f, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4c, 0x4c, 0x45, 778 0x52, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x42, 0x55, 0x49, 0x4c, 779 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x41, 0x43, 0x4f, 0x53, 0x5f, 0x42, 0x49, 0x4e, 780 0x41, 0x52, 0x59, 0x10, 0x06, 0x12, 0x1d, 0x0a, 0x19, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x5f, 0x54, 781 0x59, 0x50, 0x45, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x53, 0x5f, 0x42, 0x49, 0x4e, 0x41, 782 0x52, 0x59, 0x10, 0x07, 0x22, 0x32, 0x0a, 0x19, 0x53, 0x69, 0x67, 0x6e, 0x41, 0x72, 0x74, 0x69, 783 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 784 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 785 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x22, 0x32, 0x0a, 0x19, 0x53, 0x69, 0x67, 0x6e, 786 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 787 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 788 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x22, 0xc4, 0x02, 0x0a, 789 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 790 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 791 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x35, 0x0a, 792 0x09, 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 793 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 794 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x08, 0x6e, 0x6f, 0x74, 0x46, 795 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x31, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x18, 796 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x53, 797 0x74, 0x61, 0x74, 0x75, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x07, 798 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x31, 0x0a, 0x07, 0x72, 0x75, 0x6e, 0x6e, 0x69, 799 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 800 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x48, 801 0x00, 0x52, 0x07, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x2e, 0x0a, 0x06, 0x66, 0x61, 802 0x69, 0x6c, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 803 0x74, 0x6f, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 804 0x48, 0x00, 0x52, 0x06, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x09, 0x63, 0x6f, 805 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 806 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x6d, 807 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 808 0x74, 0x65, 0x64, 0x42, 0x0e, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x6f, 0x6e, 809 0x65, 0x6f, 0x66, 0x22, 0x10, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4e, 0x6f, 0x74, 810 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x22, 0x26, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x53, 811 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 812 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x22, 0x31, 0x0a, 813 0x0d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x20, 814 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 815 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 816 0x22, 0x30, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 817 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 818 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 819 0x6f, 0x6e, 0x22, 0x2a, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x6d, 0x70, 820 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x67, 0x63, 0x73, 0x5f, 0x75, 0x72, 0x69, 821 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x67, 0x63, 0x73, 0x55, 0x72, 0x69, 0x32, 0x5c, 822 0x0a, 0x0e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 823 0x12, 0x4a, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x69, 0x6e, 824 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 825 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x1a, 0x16, 826 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x69, 0x6e, 0x67, 0x52, 827 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0x2a, 0x5a, 0x28, 828 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x78, 0x2f, 0x62, 0x75, 0x69, 829 0x6c, 0x64, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x72, 0x65, 0x6c, 0x75, 830 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 831 } 832 833 var ( 834 file_relui_proto_rawDescOnce sync.Once 835 file_relui_proto_rawDescData = file_relui_proto_rawDesc 836 ) 837 838 func file_relui_proto_rawDescGZIP() []byte { 839 file_relui_proto_rawDescOnce.Do(func() { 840 file_relui_proto_rawDescData = protoimpl.X.CompressGZIP(file_relui_proto_rawDescData) 841 }) 842 return file_relui_proto_rawDescData 843 } 844 845 var file_relui_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 846 var file_relui_proto_msgTypes = make([]protoimpl.MessageInfo, 10) 847 var file_relui_proto_goTypes = []interface{}{ 848 (SignArtifactRequest_BuildType)(0), // 0: protos.SignArtifactRequest.BuildType 849 (*SigningRequest)(nil), // 1: protos.SigningRequest 850 (*SignArtifactRequest)(nil), // 2: protos.SignArtifactRequest 851 (*SignArtifactStatusRequest)(nil), // 3: protos.SignArtifactStatusRequest 852 (*SignArtifactCancelRequest)(nil), // 4: protos.SignArtifactCancelRequest 853 (*SigningStatus)(nil), // 5: protos.SigningStatus 854 (*StatusNotFound)(nil), // 6: protos.StatusNotFound 855 (*StatusStarted)(nil), // 7: protos.StatusStarted 856 (*StatusRunning)(nil), // 8: protos.StatusRunning 857 (*StatusFailed)(nil), // 9: protos.StatusFailed 858 (*StatusCompleted)(nil), // 10: protos.StatusCompleted 859 } 860 var file_relui_proto_depIdxs = []int32{ 861 2, // 0: protos.SigningRequest.sign:type_name -> protos.SignArtifactRequest 862 3, // 1: protos.SigningRequest.status:type_name -> protos.SignArtifactStatusRequest 863 4, // 2: protos.SigningRequest.cancel:type_name -> protos.SignArtifactCancelRequest 864 0, // 3: protos.SignArtifactRequest.build_type:type_name -> protos.SignArtifactRequest.BuildType 865 6, // 4: protos.SigningStatus.not_found:type_name -> protos.StatusNotFound 866 7, // 5: protos.SigningStatus.started:type_name -> protos.StatusStarted 867 8, // 6: protos.SigningStatus.running:type_name -> protos.StatusRunning 868 9, // 7: protos.SigningStatus.failed:type_name -> protos.StatusFailed 869 10, // 8: protos.SigningStatus.completed:type_name -> protos.StatusCompleted 870 5, // 9: protos.ReleaseService.UpdateSigningStatus:input_type -> protos.SigningStatus 871 1, // 10: protos.ReleaseService.UpdateSigningStatus:output_type -> protos.SigningRequest 872 10, // [10:11] is the sub-list for method output_type 873 9, // [9:10] is the sub-list for method input_type 874 9, // [9:9] is the sub-list for extension type_name 875 9, // [9:9] is the sub-list for extension extendee 876 0, // [0:9] is the sub-list for field type_name 877 } 878 879 func init() { file_relui_proto_init() } 880 func file_relui_proto_init() { 881 if File_relui_proto != nil { 882 return 883 } 884 if !protoimpl.UnsafeEnabled { 885 file_relui_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 886 switch v := v.(*SigningRequest); i { 887 case 0: 888 return &v.state 889 case 1: 890 return &v.sizeCache 891 case 2: 892 return &v.unknownFields 893 default: 894 return nil 895 } 896 } 897 file_relui_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 898 switch v := v.(*SignArtifactRequest); i { 899 case 0: 900 return &v.state 901 case 1: 902 return &v.sizeCache 903 case 2: 904 return &v.unknownFields 905 default: 906 return nil 907 } 908 } 909 file_relui_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 910 switch v := v.(*SignArtifactStatusRequest); i { 911 case 0: 912 return &v.state 913 case 1: 914 return &v.sizeCache 915 case 2: 916 return &v.unknownFields 917 default: 918 return nil 919 } 920 } 921 file_relui_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 922 switch v := v.(*SignArtifactCancelRequest); i { 923 case 0: 924 return &v.state 925 case 1: 926 return &v.sizeCache 927 case 2: 928 return &v.unknownFields 929 default: 930 return nil 931 } 932 } 933 file_relui_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 934 switch v := v.(*SigningStatus); i { 935 case 0: 936 return &v.state 937 case 1: 938 return &v.sizeCache 939 case 2: 940 return &v.unknownFields 941 default: 942 return nil 943 } 944 } 945 file_relui_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 946 switch v := v.(*StatusNotFound); i { 947 case 0: 948 return &v.state 949 case 1: 950 return &v.sizeCache 951 case 2: 952 return &v.unknownFields 953 default: 954 return nil 955 } 956 } 957 file_relui_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 958 switch v := v.(*StatusStarted); i { 959 case 0: 960 return &v.state 961 case 1: 962 return &v.sizeCache 963 case 2: 964 return &v.unknownFields 965 default: 966 return nil 967 } 968 } 969 file_relui_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 970 switch v := v.(*StatusRunning); i { 971 case 0: 972 return &v.state 973 case 1: 974 return &v.sizeCache 975 case 2: 976 return &v.unknownFields 977 default: 978 return nil 979 } 980 } 981 file_relui_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 982 switch v := v.(*StatusFailed); i { 983 case 0: 984 return &v.state 985 case 1: 986 return &v.sizeCache 987 case 2: 988 return &v.unknownFields 989 default: 990 return nil 991 } 992 } 993 file_relui_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 994 switch v := v.(*StatusCompleted); i { 995 case 0: 996 return &v.state 997 case 1: 998 return &v.sizeCache 999 case 2: 1000 return &v.unknownFields 1001 default: 1002 return nil 1003 } 1004 } 1005 } 1006 file_relui_proto_msgTypes[0].OneofWrappers = []interface{}{ 1007 (*SigningRequest_Sign)(nil), 1008 (*SigningRequest_Status)(nil), 1009 (*SigningRequest_Cancel)(nil), 1010 } 1011 file_relui_proto_msgTypes[4].OneofWrappers = []interface{}{ 1012 (*SigningStatus_NotFound)(nil), 1013 (*SigningStatus_Started)(nil), 1014 (*SigningStatus_Running)(nil), 1015 (*SigningStatus_Failed)(nil), 1016 (*SigningStatus_Completed)(nil), 1017 } 1018 type x struct{} 1019 out := protoimpl.TypeBuilder{ 1020 File: protoimpl.DescBuilder{ 1021 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1022 RawDescriptor: file_relui_proto_rawDesc, 1023 NumEnums: 1, 1024 NumMessages: 10, 1025 NumExtensions: 0, 1026 NumServices: 1, 1027 }, 1028 GoTypes: file_relui_proto_goTypes, 1029 DependencyIndexes: file_relui_proto_depIdxs, 1030 EnumInfos: file_relui_proto_enumTypes, 1031 MessageInfos: file_relui_proto_msgTypes, 1032 }.Build() 1033 File_relui_proto = out.File 1034 file_relui_proto_rawDesc = nil 1035 file_relui_proto_goTypes = nil 1036 file_relui_proto_depIdxs = nil 1037 }