github.com/kubeshop/testkube@v1.17.23/pkg/cloud/service.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.1 4 // protoc v3.19.4 5 // source: proto/service.proto 6 7 package cloud 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 emptypb "google.golang.org/protobuf/types/known/emptypb" 13 structpb "google.golang.org/protobuf/types/known/structpb" 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 type LogsStreamRequestType int32 26 27 const ( 28 LogsStreamRequestType_STREAM_LOG_MESSAGE LogsStreamRequestType = 0 29 LogsStreamRequestType_STREAM_HEALTH_CHECK LogsStreamRequestType = 1 30 ) 31 32 // Enum value maps for LogsStreamRequestType. 33 var ( 34 LogsStreamRequestType_name = map[int32]string{ 35 0: "STREAM_LOG_MESSAGE", 36 1: "STREAM_HEALTH_CHECK", 37 } 38 LogsStreamRequestType_value = map[string]int32{ 39 "STREAM_LOG_MESSAGE": 0, 40 "STREAM_HEALTH_CHECK": 1, 41 } 42 ) 43 44 func (x LogsStreamRequestType) Enum() *LogsStreamRequestType { 45 p := new(LogsStreamRequestType) 46 *p = x 47 return p 48 } 49 50 func (x LogsStreamRequestType) String() string { 51 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 52 } 53 54 func (LogsStreamRequestType) Descriptor() protoreflect.EnumDescriptor { 55 return file_proto_service_proto_enumTypes[0].Descriptor() 56 } 57 58 func (LogsStreamRequestType) Type() protoreflect.EnumType { 59 return &file_proto_service_proto_enumTypes[0] 60 } 61 62 func (x LogsStreamRequestType) Number() protoreflect.EnumNumber { 63 return protoreflect.EnumNumber(x) 64 } 65 66 // Deprecated: Use LogsStreamRequestType.Descriptor instead. 67 func (LogsStreamRequestType) EnumDescriptor() ([]byte, []int) { 68 return file_proto_service_proto_rawDescGZIP(), []int{0} 69 } 70 71 type TestWorkflowNotificationsRequestType int32 72 73 const ( 74 TestWorkflowNotificationsRequestType_WORKFLOW_STREAM_LOG_MESSAGE TestWorkflowNotificationsRequestType = 0 75 TestWorkflowNotificationsRequestType_WORKFLOW_STREAM_HEALTH_CHECK TestWorkflowNotificationsRequestType = 1 76 ) 77 78 // Enum value maps for TestWorkflowNotificationsRequestType. 79 var ( 80 TestWorkflowNotificationsRequestType_name = map[int32]string{ 81 0: "WORKFLOW_STREAM_LOG_MESSAGE", 82 1: "WORKFLOW_STREAM_HEALTH_CHECK", 83 } 84 TestWorkflowNotificationsRequestType_value = map[string]int32{ 85 "WORKFLOW_STREAM_LOG_MESSAGE": 0, 86 "WORKFLOW_STREAM_HEALTH_CHECK": 1, 87 } 88 ) 89 90 func (x TestWorkflowNotificationsRequestType) Enum() *TestWorkflowNotificationsRequestType { 91 p := new(TestWorkflowNotificationsRequestType) 92 *p = x 93 return p 94 } 95 96 func (x TestWorkflowNotificationsRequestType) String() string { 97 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 98 } 99 100 func (TestWorkflowNotificationsRequestType) Descriptor() protoreflect.EnumDescriptor { 101 return file_proto_service_proto_enumTypes[1].Descriptor() 102 } 103 104 func (TestWorkflowNotificationsRequestType) Type() protoreflect.EnumType { 105 return &file_proto_service_proto_enumTypes[1] 106 } 107 108 func (x TestWorkflowNotificationsRequestType) Number() protoreflect.EnumNumber { 109 return protoreflect.EnumNumber(x) 110 } 111 112 // Deprecated: Use TestWorkflowNotificationsRequestType.Descriptor instead. 113 func (TestWorkflowNotificationsRequestType) EnumDescriptor() ([]byte, []int) { 114 return file_proto_service_proto_rawDescGZIP(), []int{1} 115 } 116 117 type TestWorkflowNotificationType int32 118 119 const ( 120 TestWorkflowNotificationType_WORKFLOW_STREAM_ERROR TestWorkflowNotificationType = 0 121 TestWorkflowNotificationType_WORKFLOW_STREAM_LOG TestWorkflowNotificationType = 1 122 TestWorkflowNotificationType_WORKFLOW_STREAM_RESULT TestWorkflowNotificationType = 2 123 TestWorkflowNotificationType_WORKFLOW_STREAM_OUTPUT TestWorkflowNotificationType = 3 124 ) 125 126 // Enum value maps for TestWorkflowNotificationType. 127 var ( 128 TestWorkflowNotificationType_name = map[int32]string{ 129 0: "WORKFLOW_STREAM_ERROR", 130 1: "WORKFLOW_STREAM_LOG", 131 2: "WORKFLOW_STREAM_RESULT", 132 3: "WORKFLOW_STREAM_OUTPUT", 133 } 134 TestWorkflowNotificationType_value = map[string]int32{ 135 "WORKFLOW_STREAM_ERROR": 0, 136 "WORKFLOW_STREAM_LOG": 1, 137 "WORKFLOW_STREAM_RESULT": 2, 138 "WORKFLOW_STREAM_OUTPUT": 3, 139 } 140 ) 141 142 func (x TestWorkflowNotificationType) Enum() *TestWorkflowNotificationType { 143 p := new(TestWorkflowNotificationType) 144 *p = x 145 return p 146 } 147 148 func (x TestWorkflowNotificationType) String() string { 149 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 150 } 151 152 func (TestWorkflowNotificationType) Descriptor() protoreflect.EnumDescriptor { 153 return file_proto_service_proto_enumTypes[2].Descriptor() 154 } 155 156 func (TestWorkflowNotificationType) Type() protoreflect.EnumType { 157 return &file_proto_service_proto_enumTypes[2] 158 } 159 160 func (x TestWorkflowNotificationType) Number() protoreflect.EnumNumber { 161 return protoreflect.EnumNumber(x) 162 } 163 164 // Deprecated: Use TestWorkflowNotificationType.Descriptor instead. 165 func (TestWorkflowNotificationType) EnumDescriptor() ([]byte, []int) { 166 return file_proto_service_proto_rawDescGZIP(), []int{2} 167 } 168 169 type Opcode int32 170 171 const ( 172 Opcode_UNSPECFIED Opcode = 0 173 Opcode_TEXT_FRAME Opcode = 1 174 Opcode_BINARY_FRAME Opcode = 2 175 Opcode_HEALTH_CHECK Opcode = 3 176 ) 177 178 // Enum value maps for Opcode. 179 var ( 180 Opcode_name = map[int32]string{ 181 0: "UNSPECFIED", 182 1: "TEXT_FRAME", 183 2: "BINARY_FRAME", 184 3: "HEALTH_CHECK", 185 } 186 Opcode_value = map[string]int32{ 187 "UNSPECFIED": 0, 188 "TEXT_FRAME": 1, 189 "BINARY_FRAME": 2, 190 "HEALTH_CHECK": 3, 191 } 192 ) 193 194 func (x Opcode) Enum() *Opcode { 195 p := new(Opcode) 196 *p = x 197 return p 198 } 199 200 func (x Opcode) String() string { 201 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 202 } 203 204 func (Opcode) Descriptor() protoreflect.EnumDescriptor { 205 return file_proto_service_proto_enumTypes[3].Descriptor() 206 } 207 208 func (Opcode) Type() protoreflect.EnumType { 209 return &file_proto_service_proto_enumTypes[3] 210 } 211 212 func (x Opcode) Number() protoreflect.EnumNumber { 213 return protoreflect.EnumNumber(x) 214 } 215 216 // Deprecated: Use Opcode.Descriptor instead. 217 func (Opcode) EnumDescriptor() ([]byte, []int) { 218 return file_proto_service_proto_rawDescGZIP(), []int{3} 219 } 220 221 type LogsStreamRequest struct { 222 state protoimpl.MessageState 223 sizeCache protoimpl.SizeCache 224 unknownFields protoimpl.UnknownFields 225 226 StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` 227 ExecutionId string `protobuf:"bytes,2,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` 228 RequestType LogsStreamRequestType `protobuf:"varint,3,opt,name=request_type,json=requestType,proto3,enum=cloud.LogsStreamRequestType" json:"request_type,omitempty"` 229 } 230 231 func (x *LogsStreamRequest) Reset() { 232 *x = LogsStreamRequest{} 233 if protoimpl.UnsafeEnabled { 234 mi := &file_proto_service_proto_msgTypes[0] 235 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 236 ms.StoreMessageInfo(mi) 237 } 238 } 239 240 func (x *LogsStreamRequest) String() string { 241 return protoimpl.X.MessageStringOf(x) 242 } 243 244 func (*LogsStreamRequest) ProtoMessage() {} 245 246 func (x *LogsStreamRequest) ProtoReflect() protoreflect.Message { 247 mi := &file_proto_service_proto_msgTypes[0] 248 if protoimpl.UnsafeEnabled && x != nil { 249 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 250 if ms.LoadMessageInfo() == nil { 251 ms.StoreMessageInfo(mi) 252 } 253 return ms 254 } 255 return mi.MessageOf(x) 256 } 257 258 // Deprecated: Use LogsStreamRequest.ProtoReflect.Descriptor instead. 259 func (*LogsStreamRequest) Descriptor() ([]byte, []int) { 260 return file_proto_service_proto_rawDescGZIP(), []int{0} 261 } 262 263 func (x *LogsStreamRequest) GetStreamId() string { 264 if x != nil { 265 return x.StreamId 266 } 267 return "" 268 } 269 270 func (x *LogsStreamRequest) GetExecutionId() string { 271 if x != nil { 272 return x.ExecutionId 273 } 274 return "" 275 } 276 277 func (x *LogsStreamRequest) GetRequestType() LogsStreamRequestType { 278 if x != nil { 279 return x.RequestType 280 } 281 return LogsStreamRequestType_STREAM_LOG_MESSAGE 282 } 283 284 type LogsStreamResponse struct { 285 state protoimpl.MessageState 286 sizeCache protoimpl.SizeCache 287 unknownFields protoimpl.UnknownFields 288 289 StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` 290 SeqNo int64 `protobuf:"varint,2,opt,name=seq_no,json=seqNo,proto3" json:"seq_no,omitempty"` 291 LogMessage string `protobuf:"bytes,3,opt,name=log_message,json=logMessage,proto3" json:"log_message,omitempty"` 292 IsError bool `protobuf:"varint,4,opt,name=is_error,json=isError,proto3" json:"is_error,omitempty"` 293 } 294 295 func (x *LogsStreamResponse) Reset() { 296 *x = LogsStreamResponse{} 297 if protoimpl.UnsafeEnabled { 298 mi := &file_proto_service_proto_msgTypes[1] 299 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 300 ms.StoreMessageInfo(mi) 301 } 302 } 303 304 func (x *LogsStreamResponse) String() string { 305 return protoimpl.X.MessageStringOf(x) 306 } 307 308 func (*LogsStreamResponse) ProtoMessage() {} 309 310 func (x *LogsStreamResponse) ProtoReflect() protoreflect.Message { 311 mi := &file_proto_service_proto_msgTypes[1] 312 if protoimpl.UnsafeEnabled && x != nil { 313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 314 if ms.LoadMessageInfo() == nil { 315 ms.StoreMessageInfo(mi) 316 } 317 return ms 318 } 319 return mi.MessageOf(x) 320 } 321 322 // Deprecated: Use LogsStreamResponse.ProtoReflect.Descriptor instead. 323 func (*LogsStreamResponse) Descriptor() ([]byte, []int) { 324 return file_proto_service_proto_rawDescGZIP(), []int{1} 325 } 326 327 func (x *LogsStreamResponse) GetStreamId() string { 328 if x != nil { 329 return x.StreamId 330 } 331 return "" 332 } 333 334 func (x *LogsStreamResponse) GetSeqNo() int64 { 335 if x != nil { 336 return x.SeqNo 337 } 338 return 0 339 } 340 341 func (x *LogsStreamResponse) GetLogMessage() string { 342 if x != nil { 343 return x.LogMessage 344 } 345 return "" 346 } 347 348 func (x *LogsStreamResponse) GetIsError() bool { 349 if x != nil { 350 return x.IsError 351 } 352 return false 353 } 354 355 type CommandRequest struct { 356 state protoimpl.MessageState 357 sizeCache protoimpl.SizeCache 358 unknownFields protoimpl.UnknownFields 359 360 Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` 361 Payload *structpb.Struct `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` 362 } 363 364 func (x *CommandRequest) Reset() { 365 *x = CommandRequest{} 366 if protoimpl.UnsafeEnabled { 367 mi := &file_proto_service_proto_msgTypes[2] 368 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 369 ms.StoreMessageInfo(mi) 370 } 371 } 372 373 func (x *CommandRequest) String() string { 374 return protoimpl.X.MessageStringOf(x) 375 } 376 377 func (*CommandRequest) ProtoMessage() {} 378 379 func (x *CommandRequest) ProtoReflect() protoreflect.Message { 380 mi := &file_proto_service_proto_msgTypes[2] 381 if protoimpl.UnsafeEnabled && x != nil { 382 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 383 if ms.LoadMessageInfo() == nil { 384 ms.StoreMessageInfo(mi) 385 } 386 return ms 387 } 388 return mi.MessageOf(x) 389 } 390 391 // Deprecated: Use CommandRequest.ProtoReflect.Descriptor instead. 392 func (*CommandRequest) Descriptor() ([]byte, []int) { 393 return file_proto_service_proto_rawDescGZIP(), []int{2} 394 } 395 396 func (x *CommandRequest) GetCommand() string { 397 if x != nil { 398 return x.Command 399 } 400 return "" 401 } 402 403 func (x *CommandRequest) GetPayload() *structpb.Struct { 404 if x != nil { 405 return x.Payload 406 } 407 return nil 408 } 409 410 type CommandResponse struct { 411 state protoimpl.MessageState 412 sizeCache protoimpl.SizeCache 413 unknownFields protoimpl.UnknownFields 414 415 Response []byte `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` 416 } 417 418 func (x *CommandResponse) Reset() { 419 *x = CommandResponse{} 420 if protoimpl.UnsafeEnabled { 421 mi := &file_proto_service_proto_msgTypes[3] 422 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 423 ms.StoreMessageInfo(mi) 424 } 425 } 426 427 func (x *CommandResponse) String() string { 428 return protoimpl.X.MessageStringOf(x) 429 } 430 431 func (*CommandResponse) ProtoMessage() {} 432 433 func (x *CommandResponse) ProtoReflect() protoreflect.Message { 434 mi := &file_proto_service_proto_msgTypes[3] 435 if protoimpl.UnsafeEnabled && x != nil { 436 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 437 if ms.LoadMessageInfo() == nil { 438 ms.StoreMessageInfo(mi) 439 } 440 return ms 441 } 442 return mi.MessageOf(x) 443 } 444 445 // Deprecated: Use CommandResponse.ProtoReflect.Descriptor instead. 446 func (*CommandResponse) Descriptor() ([]byte, []int) { 447 return file_proto_service_proto_rawDescGZIP(), []int{3} 448 } 449 450 func (x *CommandResponse) GetResponse() []byte { 451 if x != nil { 452 return x.Response 453 } 454 return nil 455 } 456 457 type ExecuteRequest struct { 458 state protoimpl.MessageState 459 sizeCache protoimpl.SizeCache 460 unknownFields protoimpl.UnknownFields 461 462 Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` 463 Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` 464 Headers map[string]*HeaderValue `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 465 Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` 466 MessageId string `protobuf:"bytes,5,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` 467 } 468 469 func (x *ExecuteRequest) Reset() { 470 *x = ExecuteRequest{} 471 if protoimpl.UnsafeEnabled { 472 mi := &file_proto_service_proto_msgTypes[4] 473 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 474 ms.StoreMessageInfo(mi) 475 } 476 } 477 478 func (x *ExecuteRequest) String() string { 479 return protoimpl.X.MessageStringOf(x) 480 } 481 482 func (*ExecuteRequest) ProtoMessage() {} 483 484 func (x *ExecuteRequest) ProtoReflect() protoreflect.Message { 485 mi := &file_proto_service_proto_msgTypes[4] 486 if protoimpl.UnsafeEnabled && x != nil { 487 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 488 if ms.LoadMessageInfo() == nil { 489 ms.StoreMessageInfo(mi) 490 } 491 return ms 492 } 493 return mi.MessageOf(x) 494 } 495 496 // Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead. 497 func (*ExecuteRequest) Descriptor() ([]byte, []int) { 498 return file_proto_service_proto_rawDescGZIP(), []int{4} 499 } 500 501 func (x *ExecuteRequest) GetMethod() string { 502 if x != nil { 503 return x.Method 504 } 505 return "" 506 } 507 508 func (x *ExecuteRequest) GetUrl() string { 509 if x != nil { 510 return x.Url 511 } 512 return "" 513 } 514 515 func (x *ExecuteRequest) GetHeaders() map[string]*HeaderValue { 516 if x != nil { 517 return x.Headers 518 } 519 return nil 520 } 521 522 func (x *ExecuteRequest) GetBody() []byte { 523 if x != nil { 524 return x.Body 525 } 526 return nil 527 } 528 529 func (x *ExecuteRequest) GetMessageId() string { 530 if x != nil { 531 return x.MessageId 532 } 533 return "" 534 } 535 536 type TestWorkflowNotificationsRequest struct { 537 state protoimpl.MessageState 538 sizeCache protoimpl.SizeCache 539 unknownFields protoimpl.UnknownFields 540 541 StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` 542 ExecutionId string `protobuf:"bytes,2,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` 543 RequestType TestWorkflowNotificationsRequestType `protobuf:"varint,3,opt,name=request_type,json=requestType,proto3,enum=cloud.TestWorkflowNotificationsRequestType" json:"request_type,omitempty"` 544 } 545 546 func (x *TestWorkflowNotificationsRequest) Reset() { 547 *x = TestWorkflowNotificationsRequest{} 548 if protoimpl.UnsafeEnabled { 549 mi := &file_proto_service_proto_msgTypes[5] 550 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 551 ms.StoreMessageInfo(mi) 552 } 553 } 554 555 func (x *TestWorkflowNotificationsRequest) String() string { 556 return protoimpl.X.MessageStringOf(x) 557 } 558 559 func (*TestWorkflowNotificationsRequest) ProtoMessage() {} 560 561 func (x *TestWorkflowNotificationsRequest) ProtoReflect() protoreflect.Message { 562 mi := &file_proto_service_proto_msgTypes[5] 563 if protoimpl.UnsafeEnabled && x != nil { 564 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 565 if ms.LoadMessageInfo() == nil { 566 ms.StoreMessageInfo(mi) 567 } 568 return ms 569 } 570 return mi.MessageOf(x) 571 } 572 573 // Deprecated: Use TestWorkflowNotificationsRequest.ProtoReflect.Descriptor instead. 574 func (*TestWorkflowNotificationsRequest) Descriptor() ([]byte, []int) { 575 return file_proto_service_proto_rawDescGZIP(), []int{5} 576 } 577 578 func (x *TestWorkflowNotificationsRequest) GetStreamId() string { 579 if x != nil { 580 return x.StreamId 581 } 582 return "" 583 } 584 585 func (x *TestWorkflowNotificationsRequest) GetExecutionId() string { 586 if x != nil { 587 return x.ExecutionId 588 } 589 return "" 590 } 591 592 func (x *TestWorkflowNotificationsRequest) GetRequestType() TestWorkflowNotificationsRequestType { 593 if x != nil { 594 return x.RequestType 595 } 596 return TestWorkflowNotificationsRequestType_WORKFLOW_STREAM_LOG_MESSAGE 597 } 598 599 type TestWorkflowNotificationsResponse struct { 600 state protoimpl.MessageState 601 sizeCache protoimpl.SizeCache 602 unknownFields protoimpl.UnknownFields 603 604 StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` 605 SeqNo uint32 `protobuf:"varint,2,opt,name=seq_no,json=seqNo,proto3" json:"seq_no,omitempty"` 606 Timestamp string `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 607 Ref string `protobuf:"bytes,4,opt,name=ref,proto3" json:"ref,omitempty"` 608 Type TestWorkflowNotificationType `protobuf:"varint,5,opt,name=type,proto3,enum=cloud.TestWorkflowNotificationType" json:"type,omitempty"` 609 Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` // based on type: log/error = inline, others = serialized to JSON 610 } 611 612 func (x *TestWorkflowNotificationsResponse) Reset() { 613 *x = TestWorkflowNotificationsResponse{} 614 if protoimpl.UnsafeEnabled { 615 mi := &file_proto_service_proto_msgTypes[6] 616 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 617 ms.StoreMessageInfo(mi) 618 } 619 } 620 621 func (x *TestWorkflowNotificationsResponse) String() string { 622 return protoimpl.X.MessageStringOf(x) 623 } 624 625 func (*TestWorkflowNotificationsResponse) ProtoMessage() {} 626 627 func (x *TestWorkflowNotificationsResponse) ProtoReflect() protoreflect.Message { 628 mi := &file_proto_service_proto_msgTypes[6] 629 if protoimpl.UnsafeEnabled && x != nil { 630 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 631 if ms.LoadMessageInfo() == nil { 632 ms.StoreMessageInfo(mi) 633 } 634 return ms 635 } 636 return mi.MessageOf(x) 637 } 638 639 // Deprecated: Use TestWorkflowNotificationsResponse.ProtoReflect.Descriptor instead. 640 func (*TestWorkflowNotificationsResponse) Descriptor() ([]byte, []int) { 641 return file_proto_service_proto_rawDescGZIP(), []int{6} 642 } 643 644 func (x *TestWorkflowNotificationsResponse) GetStreamId() string { 645 if x != nil { 646 return x.StreamId 647 } 648 return "" 649 } 650 651 func (x *TestWorkflowNotificationsResponse) GetSeqNo() uint32 { 652 if x != nil { 653 return x.SeqNo 654 } 655 return 0 656 } 657 658 func (x *TestWorkflowNotificationsResponse) GetTimestamp() string { 659 if x != nil { 660 return x.Timestamp 661 } 662 return "" 663 } 664 665 func (x *TestWorkflowNotificationsResponse) GetRef() string { 666 if x != nil { 667 return x.Ref 668 } 669 return "" 670 } 671 672 func (x *TestWorkflowNotificationsResponse) GetType() TestWorkflowNotificationType { 673 if x != nil { 674 return x.Type 675 } 676 return TestWorkflowNotificationType_WORKFLOW_STREAM_ERROR 677 } 678 679 func (x *TestWorkflowNotificationsResponse) GetMessage() string { 680 if x != nil { 681 return x.Message 682 } 683 return "" 684 } 685 686 type HeaderValue struct { 687 state protoimpl.MessageState 688 sizeCache protoimpl.SizeCache 689 unknownFields protoimpl.UnknownFields 690 691 Header []string `protobuf:"bytes,1,rep,name=header,proto3" json:"header,omitempty"` 692 } 693 694 func (x *HeaderValue) Reset() { 695 *x = HeaderValue{} 696 if protoimpl.UnsafeEnabled { 697 mi := &file_proto_service_proto_msgTypes[7] 698 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 699 ms.StoreMessageInfo(mi) 700 } 701 } 702 703 func (x *HeaderValue) String() string { 704 return protoimpl.X.MessageStringOf(x) 705 } 706 707 func (*HeaderValue) ProtoMessage() {} 708 709 func (x *HeaderValue) ProtoReflect() protoreflect.Message { 710 mi := &file_proto_service_proto_msgTypes[7] 711 if protoimpl.UnsafeEnabled && x != nil { 712 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 713 if ms.LoadMessageInfo() == nil { 714 ms.StoreMessageInfo(mi) 715 } 716 return ms 717 } 718 return mi.MessageOf(x) 719 } 720 721 // Deprecated: Use HeaderValue.ProtoReflect.Descriptor instead. 722 func (*HeaderValue) Descriptor() ([]byte, []int) { 723 return file_proto_service_proto_rawDescGZIP(), []int{7} 724 } 725 726 func (x *HeaderValue) GetHeader() []string { 727 if x != nil { 728 return x.Header 729 } 730 return nil 731 } 732 733 type ExecuteResponse struct { 734 state protoimpl.MessageState 735 sizeCache protoimpl.SizeCache 736 unknownFields protoimpl.UnknownFields 737 738 Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` 739 Headers map[string]*HeaderValue `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 740 Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` 741 MessageId string `protobuf:"bytes,4,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` 742 } 743 744 func (x *ExecuteResponse) Reset() { 745 *x = ExecuteResponse{} 746 if protoimpl.UnsafeEnabled { 747 mi := &file_proto_service_proto_msgTypes[8] 748 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 749 ms.StoreMessageInfo(mi) 750 } 751 } 752 753 func (x *ExecuteResponse) String() string { 754 return protoimpl.X.MessageStringOf(x) 755 } 756 757 func (*ExecuteResponse) ProtoMessage() {} 758 759 func (x *ExecuteResponse) ProtoReflect() protoreflect.Message { 760 mi := &file_proto_service_proto_msgTypes[8] 761 if protoimpl.UnsafeEnabled && x != nil { 762 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 763 if ms.LoadMessageInfo() == nil { 764 ms.StoreMessageInfo(mi) 765 } 766 return ms 767 } 768 return mi.MessageOf(x) 769 } 770 771 // Deprecated: Use ExecuteResponse.ProtoReflect.Descriptor instead. 772 func (*ExecuteResponse) Descriptor() ([]byte, []int) { 773 return file_proto_service_proto_rawDescGZIP(), []int{8} 774 } 775 776 func (x *ExecuteResponse) GetStatus() int64 { 777 if x != nil { 778 return x.Status 779 } 780 return 0 781 } 782 783 func (x *ExecuteResponse) GetHeaders() map[string]*HeaderValue { 784 if x != nil { 785 return x.Headers 786 } 787 return nil 788 } 789 790 func (x *ExecuteResponse) GetBody() []byte { 791 if x != nil { 792 return x.Body 793 } 794 return nil 795 } 796 797 func (x *ExecuteResponse) GetMessageId() string { 798 if x != nil { 799 return x.MessageId 800 } 801 return "" 802 } 803 804 type WebsocketData struct { 805 state protoimpl.MessageState 806 sizeCache protoimpl.SizeCache 807 unknownFields protoimpl.UnknownFields 808 809 Opcode Opcode `protobuf:"varint,1,opt,name=opcode,proto3,enum=cloud.Opcode" json:"opcode,omitempty"` 810 Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` 811 } 812 813 func (x *WebsocketData) Reset() { 814 *x = WebsocketData{} 815 if protoimpl.UnsafeEnabled { 816 mi := &file_proto_service_proto_msgTypes[9] 817 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 818 ms.StoreMessageInfo(mi) 819 } 820 } 821 822 func (x *WebsocketData) String() string { 823 return protoimpl.X.MessageStringOf(x) 824 } 825 826 func (*WebsocketData) ProtoMessage() {} 827 828 func (x *WebsocketData) ProtoReflect() protoreflect.Message { 829 mi := &file_proto_service_proto_msgTypes[9] 830 if protoimpl.UnsafeEnabled && x != nil { 831 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 832 if ms.LoadMessageInfo() == nil { 833 ms.StoreMessageInfo(mi) 834 } 835 return ms 836 } 837 return mi.MessageOf(x) 838 } 839 840 // Deprecated: Use WebsocketData.ProtoReflect.Descriptor instead. 841 func (*WebsocketData) Descriptor() ([]byte, []int) { 842 return file_proto_service_proto_rawDescGZIP(), []int{9} 843 } 844 845 func (x *WebsocketData) GetOpcode() Opcode { 846 if x != nil { 847 return x.Opcode 848 } 849 return Opcode_UNSPECFIED 850 } 851 852 func (x *WebsocketData) GetBody() []byte { 853 if x != nil { 854 return x.Body 855 } 856 return nil 857 } 858 859 var File_proto_service_proto protoreflect.FileDescriptor 860 861 var file_proto_service_proto_rawDesc = []byte{ 862 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 863 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x1a, 0x1b, 0x67, 0x6f, 864 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 865 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 866 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 867 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x11, 0x4c, 0x6f, 0x67, 0x73, 868 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 869 0x09, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 870 0x52, 0x08, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, 871 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 872 0x52, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3f, 0x0a, 873 0x0c, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 874 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 875 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 876 0x65, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x84, 877 0x01, 0x0a, 0x12, 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 878 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 879 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 880 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x73, 0x65, 0x71, 0x5f, 0x6e, 0x6f, 0x18, 0x02, 0x20, 0x01, 881 0x28, 0x03, 0x52, 0x05, 0x73, 0x65, 0x71, 0x4e, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x67, 882 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 883 0x6c, 0x6f, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 884 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 885 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x5d, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 886 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 887 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 888 0x64, 0x12, 0x31, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 889 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 890 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x07, 0x70, 0x61, 0x79, 891 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x2d, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 892 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 893 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 894 0x6e, 0x73, 0x65, 0x22, 0xfb, 0x01, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 895 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 896 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x10, 897 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 898 0x12, 0x3c, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 899 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 900 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 901 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x12, 902 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 903 0x64, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 904 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 905 0x64, 0x1a, 0x4e, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 906 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 907 0x6b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 908 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 909 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 910 0x01, 0x22, 0xb2, 0x01, 0x0a, 0x20, 0x54, 0x65, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 911 0x6f, 0x77, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 912 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 913 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x65, 0x61, 914 0x6d, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 915 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 916 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x4e, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 917 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x63, 918 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 919 0x77, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 920 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 921 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0xda, 0x01, 0x0a, 0x21, 0x54, 0x65, 0x73, 0x74, 0x57, 922 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 923 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 924 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 925 0x08, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x73, 0x65, 0x71, 926 0x5f, 0x6e, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x65, 0x71, 0x4e, 0x6f, 927 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 928 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x10, 929 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, 0x65, 0x66, 930 0x12, 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 931 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 932 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 933 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 934 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 935 0x61, 0x67, 0x65, 0x22, 0x25, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x56, 0x61, 0x6c, 936 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 937 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0xeb, 0x01, 0x0a, 0x0f, 0x45, 938 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 939 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 940 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3d, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 941 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 942 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 943 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 944 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 945 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 946 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 947 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x1a, 0x4e, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 948 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 949 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x05, 0x76, 0x61, 950 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 951 0x64, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 952 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4a, 0x0a, 0x0d, 0x57, 0x65, 0x62, 0x73, 953 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x25, 0x0a, 0x06, 0x6f, 0x70, 0x63, 954 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 955 0x64, 0x2e, 0x4f, 0x70, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x63, 0x6f, 0x64, 0x65, 956 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 957 0x62, 0x6f, 0x64, 0x79, 0x2a, 0x48, 0x0a, 0x15, 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x74, 0x72, 0x65, 958 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 959 0x12, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x5f, 0x4c, 0x4f, 0x47, 0x5f, 0x4d, 0x45, 0x53, 0x53, 960 0x41, 0x47, 0x45, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x5f, 961 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x10, 0x01, 0x2a, 0x69, 962 0x0a, 0x24, 0x54, 0x65, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 963 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 964 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x57, 0x4f, 0x52, 0x4b, 0x46, 0x4c, 965 0x4f, 0x57, 0x5f, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x5f, 0x4c, 0x4f, 0x47, 0x5f, 0x4d, 0x45, 966 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x57, 0x4f, 0x52, 0x4b, 0x46, 967 0x4c, 0x4f, 0x57, 0x5f, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x5f, 0x48, 0x45, 0x41, 0x4c, 0x54, 968 0x48, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x10, 0x01, 0x2a, 0x8a, 0x01, 0x0a, 0x1c, 0x54, 0x65, 969 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 970 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x57, 0x4f, 971 0x52, 0x4b, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x5f, 0x45, 0x52, 972 0x52, 0x4f, 0x52, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x4f, 0x52, 0x4b, 0x46, 0x4c, 0x4f, 973 0x57, 0x5f, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x5f, 0x4c, 0x4f, 0x47, 0x10, 0x01, 0x12, 0x1a, 974 0x0a, 0x16, 0x57, 0x4f, 0x52, 0x4b, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x53, 0x54, 0x52, 0x45, 0x41, 975 0x4d, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x57, 0x4f, 976 0x52, 0x4b, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x5f, 0x4f, 0x55, 977 0x54, 0x50, 0x55, 0x54, 0x10, 0x03, 0x2a, 0x4c, 0x0a, 0x06, 0x4f, 0x70, 0x63, 0x6f, 0x64, 0x65, 978 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 979 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x45, 0x58, 0x54, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x10, 0x01, 980 0x12, 0x10, 0x0a, 0x0c, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 981 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x5f, 0x43, 0x48, 0x45, 982 0x43, 0x4b, 0x10, 0x03, 0x32, 0xc9, 0x03, 0x0a, 0x10, 0x54, 0x65, 0x73, 0x74, 0x4b, 0x75, 0x62, 983 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x41, 0x50, 0x49, 0x12, 0x3c, 0x0a, 0x07, 0x45, 0x78, 0x65, 984 0x63, 0x75, 0x74, 0x65, 0x12, 0x16, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x45, 0x78, 0x65, 985 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x15, 0x2e, 0x63, 986 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 987 0x65, 0x73, 0x74, 0x28, 0x01, 0x30, 0x01, 0x12, 0x36, 0x0a, 0x04, 0x53, 0x65, 0x6e, 0x64, 0x12, 988 0x14, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x57, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 989 0x74, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 990 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x28, 0x01, 0x12, 991 0x35, 0x0a, 0x04, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x15, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 992 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 993 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x65, 994 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 995 0x65, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x12, 0x16, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x45, 996 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x15, 997 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 998 0x71, 0x75, 0x65, 0x73, 0x74, 0x28, 0x01, 0x30, 0x01, 0x12, 0x48, 0x0a, 0x0d, 0x47, 0x65, 0x74, 999 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x19, 0x2e, 0x63, 0x6c, 0x6f, 1000 0x75, 0x64, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 1001 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x18, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4c, 0x6f, 1002 0x67, 0x73, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x28, 1003 0x01, 0x30, 0x01, 0x12, 0x7b, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x54, 0x65, 0x73, 0x74, 0x57, 0x6f, 1004 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 1005 0x6f, 0x6e, 0x73, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x28, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1006 0x64, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 1007 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 1008 0x6e, 0x73, 0x65, 0x1a, 0x27, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x54, 0x65, 0x73, 0x74, 1009 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 1010 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x28, 0x01, 0x30, 0x01, 1011 0x42, 0x0b, 0x5a, 0x09, 0x70, 0x6b, 0x67, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x62, 0x06, 0x70, 1012 0x72, 0x6f, 0x74, 0x6f, 0x33, 1013 } 1014 1015 var ( 1016 file_proto_service_proto_rawDescOnce sync.Once 1017 file_proto_service_proto_rawDescData = file_proto_service_proto_rawDesc 1018 ) 1019 1020 func file_proto_service_proto_rawDescGZIP() []byte { 1021 file_proto_service_proto_rawDescOnce.Do(func() { 1022 file_proto_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_service_proto_rawDescData) 1023 }) 1024 return file_proto_service_proto_rawDescData 1025 } 1026 1027 var file_proto_service_proto_enumTypes = make([]protoimpl.EnumInfo, 4) 1028 var file_proto_service_proto_msgTypes = make([]protoimpl.MessageInfo, 12) 1029 var file_proto_service_proto_goTypes = []interface{}{ 1030 (LogsStreamRequestType)(0), // 0: cloud.LogsStreamRequestType 1031 (TestWorkflowNotificationsRequestType)(0), // 1: cloud.TestWorkflowNotificationsRequestType 1032 (TestWorkflowNotificationType)(0), // 2: cloud.TestWorkflowNotificationType 1033 (Opcode)(0), // 3: cloud.Opcode 1034 (*LogsStreamRequest)(nil), // 4: cloud.LogsStreamRequest 1035 (*LogsStreamResponse)(nil), // 5: cloud.LogsStreamResponse 1036 (*CommandRequest)(nil), // 6: cloud.CommandRequest 1037 (*CommandResponse)(nil), // 7: cloud.CommandResponse 1038 (*ExecuteRequest)(nil), // 8: cloud.ExecuteRequest 1039 (*TestWorkflowNotificationsRequest)(nil), // 9: cloud.TestWorkflowNotificationsRequest 1040 (*TestWorkflowNotificationsResponse)(nil), // 10: cloud.TestWorkflowNotificationsResponse 1041 (*HeaderValue)(nil), // 11: cloud.HeaderValue 1042 (*ExecuteResponse)(nil), // 12: cloud.ExecuteResponse 1043 (*WebsocketData)(nil), // 13: cloud.WebsocketData 1044 nil, // 14: cloud.ExecuteRequest.HeadersEntry 1045 nil, // 15: cloud.ExecuteResponse.HeadersEntry 1046 (*structpb.Struct)(nil), // 16: google.protobuf.Struct 1047 (*emptypb.Empty)(nil), // 17: google.protobuf.Empty 1048 } 1049 var file_proto_service_proto_depIdxs = []int32{ 1050 0, // 0: cloud.LogsStreamRequest.request_type:type_name -> cloud.LogsStreamRequestType 1051 16, // 1: cloud.CommandRequest.payload:type_name -> google.protobuf.Struct 1052 14, // 2: cloud.ExecuteRequest.headers:type_name -> cloud.ExecuteRequest.HeadersEntry 1053 1, // 3: cloud.TestWorkflowNotificationsRequest.request_type:type_name -> cloud.TestWorkflowNotificationsRequestType 1054 2, // 4: cloud.TestWorkflowNotificationsResponse.type:type_name -> cloud.TestWorkflowNotificationType 1055 15, // 5: cloud.ExecuteResponse.headers:type_name -> cloud.ExecuteResponse.HeadersEntry 1056 3, // 6: cloud.WebsocketData.opcode:type_name -> cloud.Opcode 1057 11, // 7: cloud.ExecuteRequest.HeadersEntry.value:type_name -> cloud.HeaderValue 1058 11, // 8: cloud.ExecuteResponse.HeadersEntry.value:type_name -> cloud.HeaderValue 1059 12, // 9: cloud.TestKubeCloudAPI.Execute:input_type -> cloud.ExecuteResponse 1060 13, // 10: cloud.TestKubeCloudAPI.Send:input_type -> cloud.WebsocketData 1061 6, // 11: cloud.TestKubeCloudAPI.Call:input_type -> cloud.CommandRequest 1062 12, // 12: cloud.TestKubeCloudAPI.ExecuteAsync:input_type -> cloud.ExecuteResponse 1063 5, // 13: cloud.TestKubeCloudAPI.GetLogsStream:input_type -> cloud.LogsStreamResponse 1064 10, // 14: cloud.TestKubeCloudAPI.GetTestWorkflowNotificationsStream:input_type -> cloud.TestWorkflowNotificationsResponse 1065 8, // 15: cloud.TestKubeCloudAPI.Execute:output_type -> cloud.ExecuteRequest 1066 17, // 16: cloud.TestKubeCloudAPI.Send:output_type -> google.protobuf.Empty 1067 7, // 17: cloud.TestKubeCloudAPI.Call:output_type -> cloud.CommandResponse 1068 8, // 18: cloud.TestKubeCloudAPI.ExecuteAsync:output_type -> cloud.ExecuteRequest 1069 4, // 19: cloud.TestKubeCloudAPI.GetLogsStream:output_type -> cloud.LogsStreamRequest 1070 9, // 20: cloud.TestKubeCloudAPI.GetTestWorkflowNotificationsStream:output_type -> cloud.TestWorkflowNotificationsRequest 1071 15, // [15:21] is the sub-list for method output_type 1072 9, // [9:15] is the sub-list for method input_type 1073 9, // [9:9] is the sub-list for extension type_name 1074 9, // [9:9] is the sub-list for extension extendee 1075 0, // [0:9] is the sub-list for field type_name 1076 } 1077 1078 func init() { file_proto_service_proto_init() } 1079 func file_proto_service_proto_init() { 1080 if File_proto_service_proto != nil { 1081 return 1082 } 1083 if !protoimpl.UnsafeEnabled { 1084 file_proto_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1085 switch v := v.(*LogsStreamRequest); i { 1086 case 0: 1087 return &v.state 1088 case 1: 1089 return &v.sizeCache 1090 case 2: 1091 return &v.unknownFields 1092 default: 1093 return nil 1094 } 1095 } 1096 file_proto_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1097 switch v := v.(*LogsStreamResponse); i { 1098 case 0: 1099 return &v.state 1100 case 1: 1101 return &v.sizeCache 1102 case 2: 1103 return &v.unknownFields 1104 default: 1105 return nil 1106 } 1107 } 1108 file_proto_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1109 switch v := v.(*CommandRequest); i { 1110 case 0: 1111 return &v.state 1112 case 1: 1113 return &v.sizeCache 1114 case 2: 1115 return &v.unknownFields 1116 default: 1117 return nil 1118 } 1119 } 1120 file_proto_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1121 switch v := v.(*CommandResponse); i { 1122 case 0: 1123 return &v.state 1124 case 1: 1125 return &v.sizeCache 1126 case 2: 1127 return &v.unknownFields 1128 default: 1129 return nil 1130 } 1131 } 1132 file_proto_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1133 switch v := v.(*ExecuteRequest); i { 1134 case 0: 1135 return &v.state 1136 case 1: 1137 return &v.sizeCache 1138 case 2: 1139 return &v.unknownFields 1140 default: 1141 return nil 1142 } 1143 } 1144 file_proto_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1145 switch v := v.(*TestWorkflowNotificationsRequest); i { 1146 case 0: 1147 return &v.state 1148 case 1: 1149 return &v.sizeCache 1150 case 2: 1151 return &v.unknownFields 1152 default: 1153 return nil 1154 } 1155 } 1156 file_proto_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1157 switch v := v.(*TestWorkflowNotificationsResponse); i { 1158 case 0: 1159 return &v.state 1160 case 1: 1161 return &v.sizeCache 1162 case 2: 1163 return &v.unknownFields 1164 default: 1165 return nil 1166 } 1167 } 1168 file_proto_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1169 switch v := v.(*HeaderValue); i { 1170 case 0: 1171 return &v.state 1172 case 1: 1173 return &v.sizeCache 1174 case 2: 1175 return &v.unknownFields 1176 default: 1177 return nil 1178 } 1179 } 1180 file_proto_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1181 switch v := v.(*ExecuteResponse); i { 1182 case 0: 1183 return &v.state 1184 case 1: 1185 return &v.sizeCache 1186 case 2: 1187 return &v.unknownFields 1188 default: 1189 return nil 1190 } 1191 } 1192 file_proto_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1193 switch v := v.(*WebsocketData); i { 1194 case 0: 1195 return &v.state 1196 case 1: 1197 return &v.sizeCache 1198 case 2: 1199 return &v.unknownFields 1200 default: 1201 return nil 1202 } 1203 } 1204 } 1205 type x struct{} 1206 out := protoimpl.TypeBuilder{ 1207 File: protoimpl.DescBuilder{ 1208 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1209 RawDescriptor: file_proto_service_proto_rawDesc, 1210 NumEnums: 4, 1211 NumMessages: 12, 1212 NumExtensions: 0, 1213 NumServices: 1, 1214 }, 1215 GoTypes: file_proto_service_proto_goTypes, 1216 DependencyIndexes: file_proto_service_proto_depIdxs, 1217 EnumInfos: file_proto_service_proto_enumTypes, 1218 MessageInfos: file_proto_service_proto_msgTypes, 1219 }.Build() 1220 File_proto_service_proto = out.File 1221 file_proto_service_proto_rawDesc = nil 1222 file_proto_service_proto_goTypes = nil 1223 file_proto_service_proto_depIdxs = nil 1224 }