github.com/erda-project/erda-infra@v1.0.9/providers/component-protocol/protobuf/proto-go/cp/pb/protocol.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.26.0 4 // protoc v3.15.8 5 // source: protocol.proto 6 7 package pb 8 9 import ( 10 reflect "reflect" 11 sync "sync" 12 13 _ "google.golang.org/genproto/googleapis/api/annotations" 14 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 15 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 16 structpb "google.golang.org/protobuf/types/known/structpb" 17 ) 18 19 const ( 20 // Verify that this generated code is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 22 // Verify that runtime/protoimpl is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 24 ) 25 26 // component-protocol definition. 27 type ComponentProtocol struct { 28 state protoimpl.MessageState 29 sizeCache protoimpl.SizeCache 30 unknownFields protoimpl.UnknownFields 31 32 // version is protocol version. 33 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` 34 // scenario used to distinguish concrete scenario. 35 Scenario string `protobuf:"bytes,2,opt,name=scenario,proto3" json:"scenario,omitempty"` 36 // globalState stores global states for all components. 37 GlobalState map[string]*structpb.Value `protobuf:"bytes,3,rep,name=globalState,json=state,proto3" json:"globalState,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 38 // hierarchy represents components' hierarchy. 39 Hierarchy *Hierarchy `protobuf:"bytes,4,opt,name=hierarchy,proto3" json:"hierarchy,omitempty"` 40 // components contains all rendered components. 41 Components map[string]*Component `protobuf:"bytes,5,rep,name=components,proto3" json:"components,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 42 // rendering represents components rendering definitions. 43 Rendering map[string]*structpb.ListValue `protobuf:"bytes,6,rep,name=rendering,proto3" json:"rendering,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 44 // options 45 Options *ProtocolOptions `protobuf:"bytes,7,opt,name=options,proto3" json:"options,omitempty"` 46 } 47 48 func (x *ComponentProtocol) Reset() { 49 *x = ComponentProtocol{} 50 if protoimpl.UnsafeEnabled { 51 mi := &file_protocol_proto_msgTypes[0] 52 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 53 ms.StoreMessageInfo(mi) 54 } 55 } 56 57 func (x *ComponentProtocol) String() string { 58 return protoimpl.X.MessageStringOf(x) 59 } 60 61 func (*ComponentProtocol) ProtoMessage() {} 62 63 func (x *ComponentProtocol) ProtoReflect() protoreflect.Message { 64 mi := &file_protocol_proto_msgTypes[0] 65 if protoimpl.UnsafeEnabled && x != nil { 66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 67 if ms.LoadMessageInfo() == nil { 68 ms.StoreMessageInfo(mi) 69 } 70 return ms 71 } 72 return mi.MessageOf(x) 73 } 74 75 // Deprecated: Use ComponentProtocol.ProtoReflect.Descriptor instead. 76 func (*ComponentProtocol) Descriptor() ([]byte, []int) { 77 return file_protocol_proto_rawDescGZIP(), []int{0} 78 } 79 80 func (x *ComponentProtocol) GetVersion() string { 81 if x != nil { 82 return x.Version 83 } 84 return "" 85 } 86 87 func (x *ComponentProtocol) GetScenario() string { 88 if x != nil { 89 return x.Scenario 90 } 91 return "" 92 } 93 94 func (x *ComponentProtocol) GetGlobalState() map[string]*structpb.Value { 95 if x != nil { 96 return x.GlobalState 97 } 98 return nil 99 } 100 101 func (x *ComponentProtocol) GetHierarchy() *Hierarchy { 102 if x != nil { 103 return x.Hierarchy 104 } 105 return nil 106 } 107 108 func (x *ComponentProtocol) GetComponents() map[string]*Component { 109 if x != nil { 110 return x.Components 111 } 112 return nil 113 } 114 115 func (x *ComponentProtocol) GetRendering() map[string]*structpb.ListValue { 116 if x != nil { 117 return x.Rendering 118 } 119 return nil 120 } 121 122 func (x *ComponentProtocol) GetOptions() *ProtocolOptions { 123 if x != nil { 124 return x.Options 125 } 126 return nil 127 } 128 129 // Hierarchy represents components' hierarchy. 130 type Hierarchy struct { 131 state protoimpl.MessageState 132 sizeCache protoimpl.SizeCache 133 unknownFields protoimpl.UnknownFields 134 135 // root component, required. 136 Root string `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` 137 // structure means concrete structure of components. 138 // value may be list or map. 139 Structure map[string]*structpb.Value `protobuf:"bytes,2,rep,name=structure,proto3" json:"structure,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 140 // parallel defines parallel components. 141 Parallel map[string]*structpb.Value `protobuf:"bytes,3,rep,name=parallel,proto3" json:"parallel,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 142 } 143 144 func (x *Hierarchy) Reset() { 145 *x = Hierarchy{} 146 if protoimpl.UnsafeEnabled { 147 mi := &file_protocol_proto_msgTypes[1] 148 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 149 ms.StoreMessageInfo(mi) 150 } 151 } 152 153 func (x *Hierarchy) String() string { 154 return protoimpl.X.MessageStringOf(x) 155 } 156 157 func (*Hierarchy) ProtoMessage() {} 158 159 func (x *Hierarchy) ProtoReflect() protoreflect.Message { 160 mi := &file_protocol_proto_msgTypes[1] 161 if protoimpl.UnsafeEnabled && x != nil { 162 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 163 if ms.LoadMessageInfo() == nil { 164 ms.StoreMessageInfo(mi) 165 } 166 return ms 167 } 168 return mi.MessageOf(x) 169 } 170 171 // Deprecated: Use Hierarchy.ProtoReflect.Descriptor instead. 172 func (*Hierarchy) Descriptor() ([]byte, []int) { 173 return file_protocol_proto_rawDescGZIP(), []int{1} 174 } 175 176 func (x *Hierarchy) GetRoot() string { 177 if x != nil { 178 return x.Root 179 } 180 return "" 181 } 182 183 func (x *Hierarchy) GetStructure() map[string]*structpb.Value { 184 if x != nil { 185 return x.Structure 186 } 187 return nil 188 } 189 190 func (x *Hierarchy) GetParallel() map[string]*structpb.Value { 191 if x != nil { 192 return x.Parallel 193 } 194 return nil 195 } 196 197 // Component defines a component. 198 type Component struct { 199 state protoimpl.MessageState 200 sizeCache protoimpl.SizeCache 201 unknownFields protoimpl.UnknownFields 202 203 // type of the component. 204 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` 205 // name of the component. 206 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 207 // props is component's fixed properties, such as: table columns definition. 208 Props *structpb.Value `protobuf:"bytes,3,opt,name=props,proto3" json:"props,omitempty"` 209 // state is component's flexible properties, such as: table pageNo/pageSize. 210 State map[string]*structpb.Value `protobuf:"bytes,4,rep,name=state,proto3" json:"state,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 211 // data is component's business data. 212 Data map[string]*structpb.Value `protobuf:"bytes,5,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 213 // operations of the component. 214 Operations map[string]*structpb.Value `protobuf:"bytes,6,rep,name=operations,proto3" json:"operations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 215 // options of the component. 216 Options *ComponentOptions `protobuf:"bytes,7,opt,name=options,proto3" json:"options,omitempty"` 217 // version of the component. 218 Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"` 219 } 220 221 func (x *Component) Reset() { 222 *x = Component{} 223 if protoimpl.UnsafeEnabled { 224 mi := &file_protocol_proto_msgTypes[2] 225 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 226 ms.StoreMessageInfo(mi) 227 } 228 } 229 230 func (x *Component) String() string { 231 return protoimpl.X.MessageStringOf(x) 232 } 233 234 func (*Component) ProtoMessage() {} 235 236 func (x *Component) ProtoReflect() protoreflect.Message { 237 mi := &file_protocol_proto_msgTypes[2] 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 Component.ProtoReflect.Descriptor instead. 249 func (*Component) Descriptor() ([]byte, []int) { 250 return file_protocol_proto_rawDescGZIP(), []int{2} 251 } 252 253 func (x *Component) GetType() string { 254 if x != nil { 255 return x.Type 256 } 257 return "" 258 } 259 260 func (x *Component) GetName() string { 261 if x != nil { 262 return x.Name 263 } 264 return "" 265 } 266 267 func (x *Component) GetProps() *structpb.Value { 268 if x != nil { 269 return x.Props 270 } 271 return nil 272 } 273 274 func (x *Component) GetState() map[string]*structpb.Value { 275 if x != nil { 276 return x.State 277 } 278 return nil 279 } 280 281 func (x *Component) GetData() map[string]*structpb.Value { 282 if x != nil { 283 return x.Data 284 } 285 return nil 286 } 287 288 func (x *Component) GetOperations() map[string]*structpb.Value { 289 if x != nil { 290 return x.Operations 291 } 292 return nil 293 } 294 295 func (x *Component) GetOptions() *ComponentOptions { 296 if x != nil { 297 return x.Options 298 } 299 return nil 300 } 301 302 func (x *Component) GetVersion() string { 303 if x != nil { 304 return x.Version 305 } 306 return "" 307 } 308 309 type ComponentOptions struct { 310 state protoimpl.MessageState 311 sizeCache protoimpl.SizeCache 312 unknownFields protoimpl.UnknownFields 313 314 Visible bool `protobuf:"varint,1,opt,name=visible,proto3" json:"visible,omitempty"` 315 AsyncAtInit bool `protobuf:"varint,2,opt,name=asyncAtInit,proto3" json:"asyncAtInit,omitempty"` 316 FlatMeta bool `protobuf:"varint,3,opt,name=flatMeta,proto3" json:"flatMeta,omitempty"` 317 RemoveMetaAfterFlat bool `protobuf:"varint,4,opt,name=removeMetaAfterFlat,proto3" json:"removeMetaAfterFlat,omitempty"` 318 } 319 320 func (x *ComponentOptions) Reset() { 321 *x = ComponentOptions{} 322 if protoimpl.UnsafeEnabled { 323 mi := &file_protocol_proto_msgTypes[3] 324 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 325 ms.StoreMessageInfo(mi) 326 } 327 } 328 329 func (x *ComponentOptions) String() string { 330 return protoimpl.X.MessageStringOf(x) 331 } 332 333 func (*ComponentOptions) ProtoMessage() {} 334 335 func (x *ComponentOptions) ProtoReflect() protoreflect.Message { 336 mi := &file_protocol_proto_msgTypes[3] 337 if protoimpl.UnsafeEnabled && x != nil { 338 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 339 if ms.LoadMessageInfo() == nil { 340 ms.StoreMessageInfo(mi) 341 } 342 return ms 343 } 344 return mi.MessageOf(x) 345 } 346 347 // Deprecated: Use ComponentOptions.ProtoReflect.Descriptor instead. 348 func (*ComponentOptions) Descriptor() ([]byte, []int) { 349 return file_protocol_proto_rawDescGZIP(), []int{3} 350 } 351 352 func (x *ComponentOptions) GetVisible() bool { 353 if x != nil { 354 return x.Visible 355 } 356 return false 357 } 358 359 func (x *ComponentOptions) GetAsyncAtInit() bool { 360 if x != nil { 361 return x.AsyncAtInit 362 } 363 return false 364 } 365 366 func (x *ComponentOptions) GetFlatMeta() bool { 367 if x != nil { 368 return x.FlatMeta 369 } 370 return false 371 } 372 373 func (x *ComponentOptions) GetRemoveMetaAfterFlat() bool { 374 if x != nil { 375 return x.RemoveMetaAfterFlat 376 } 377 return false 378 } 379 380 // Scenario represents protocol scenario. 381 type Scenario struct { 382 state protoimpl.MessageState 383 sizeCache protoimpl.SizeCache 384 unknownFields protoimpl.UnknownFields 385 386 // scenarioKey is the key of scenario. 387 // Required. 388 ScenarioKey string `protobuf:"bytes,1,opt,name=scenarioKey,proto3" json:"scenarioKey,omitempty"` 389 // scenarioType is the type of scenario. 390 // Optional. 391 ScenarioType string `protobuf:"bytes,2,opt,name=scenarioType,proto3" json:"scenarioType,omitempty"` 392 } 393 394 func (x *Scenario) Reset() { 395 *x = Scenario{} 396 if protoimpl.UnsafeEnabled { 397 mi := &file_protocol_proto_msgTypes[4] 398 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 399 ms.StoreMessageInfo(mi) 400 } 401 } 402 403 func (x *Scenario) String() string { 404 return protoimpl.X.MessageStringOf(x) 405 } 406 407 func (*Scenario) ProtoMessage() {} 408 409 func (x *Scenario) ProtoReflect() protoreflect.Message { 410 mi := &file_protocol_proto_msgTypes[4] 411 if protoimpl.UnsafeEnabled && x != nil { 412 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 413 if ms.LoadMessageInfo() == nil { 414 ms.StoreMessageInfo(mi) 415 } 416 return ms 417 } 418 return mi.MessageOf(x) 419 } 420 421 // Deprecated: Use Scenario.ProtoReflect.Descriptor instead. 422 func (*Scenario) Descriptor() ([]byte, []int) { 423 return file_protocol_proto_rawDescGZIP(), []int{4} 424 } 425 426 func (x *Scenario) GetScenarioKey() string { 427 if x != nil { 428 return x.ScenarioKey 429 } 430 return "" 431 } 432 433 func (x *Scenario) GetScenarioType() string { 434 if x != nil { 435 return x.ScenarioType 436 } 437 return "" 438 } 439 440 // ComponentEvent . 441 type ComponentEvent struct { 442 state protoimpl.MessageState 443 sizeCache protoimpl.SizeCache 444 unknownFields protoimpl.UnknownFields 445 446 // component name. 447 Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` 448 // operation key. 449 Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` 450 // operationData contains operation details. 451 OperationData map[string]*structpb.Value `protobuf:"bytes,3,rep,name=operationData,proto3" json:"operationData,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 452 } 453 454 func (x *ComponentEvent) Reset() { 455 *x = ComponentEvent{} 456 if protoimpl.UnsafeEnabled { 457 mi := &file_protocol_proto_msgTypes[5] 458 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 459 ms.StoreMessageInfo(mi) 460 } 461 } 462 463 func (x *ComponentEvent) String() string { 464 return protoimpl.X.MessageStringOf(x) 465 } 466 467 func (*ComponentEvent) ProtoMessage() {} 468 469 func (x *ComponentEvent) ProtoReflect() protoreflect.Message { 470 mi := &file_protocol_proto_msgTypes[5] 471 if protoimpl.UnsafeEnabled && x != nil { 472 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 473 if ms.LoadMessageInfo() == nil { 474 ms.StoreMessageInfo(mi) 475 } 476 return ms 477 } 478 return mi.MessageOf(x) 479 } 480 481 // Deprecated: Use ComponentEvent.ProtoReflect.Descriptor instead. 482 func (*ComponentEvent) Descriptor() ([]byte, []int) { 483 return file_protocol_proto_rawDescGZIP(), []int{5} 484 } 485 486 func (x *ComponentEvent) GetComponent() string { 487 if x != nil { 488 return x.Component 489 } 490 return "" 491 } 492 493 func (x *ComponentEvent) GetOperation() string { 494 if x != nil { 495 return x.Operation 496 } 497 return "" 498 } 499 500 func (x *ComponentEvent) GetOperationData() map[string]*structpb.Value { 501 if x != nil { 502 return x.OperationData 503 } 504 return nil 505 } 506 507 // DebugOptions is debug options. 508 type DebugOptions struct { 509 state protoimpl.MessageState 510 sizeCache protoimpl.SizeCache 511 unknownFields protoimpl.UnknownFields 512 513 // componentKey . 514 ComponentKey string `protobuf:"bytes,1,opt,name=componentKey,proto3" json:"componentKey,omitempty"` 515 } 516 517 func (x *DebugOptions) Reset() { 518 *x = DebugOptions{} 519 if protoimpl.UnsafeEnabled { 520 mi := &file_protocol_proto_msgTypes[6] 521 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 522 ms.StoreMessageInfo(mi) 523 } 524 } 525 526 func (x *DebugOptions) String() string { 527 return protoimpl.X.MessageStringOf(x) 528 } 529 530 func (*DebugOptions) ProtoMessage() {} 531 532 func (x *DebugOptions) ProtoReflect() protoreflect.Message { 533 mi := &file_protocol_proto_msgTypes[6] 534 if protoimpl.UnsafeEnabled && x != nil { 535 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 536 if ms.LoadMessageInfo() == nil { 537 ms.StoreMessageInfo(mi) 538 } 539 return ms 540 } 541 return mi.MessageOf(x) 542 } 543 544 // Deprecated: Use DebugOptions.ProtoReflect.Descriptor instead. 545 func (*DebugOptions) Descriptor() ([]byte, []int) { 546 return file_protocol_proto_rawDescGZIP(), []int{6} 547 } 548 549 func (x *DebugOptions) GetComponentKey() string { 550 if x != nil { 551 return x.ComponentKey 552 } 553 return "" 554 } 555 556 // ProtocolOptions . 557 type ProtocolOptions struct { 558 state protoimpl.MessageState 559 sizeCache protoimpl.SizeCache 560 unknownFields protoimpl.UnknownFields 561 562 // sync interval second. 563 SyncIntervalSecond float64 `protobuf:"fixed64,1,opt,name=syncIntervalSecond,proto3" json:"syncIntervalSecond,omitempty"` 564 } 565 566 func (x *ProtocolOptions) Reset() { 567 *x = ProtocolOptions{} 568 if protoimpl.UnsafeEnabled { 569 mi := &file_protocol_proto_msgTypes[7] 570 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 571 ms.StoreMessageInfo(mi) 572 } 573 } 574 575 func (x *ProtocolOptions) String() string { 576 return protoimpl.X.MessageStringOf(x) 577 } 578 579 func (*ProtocolOptions) ProtoMessage() {} 580 581 func (x *ProtocolOptions) ProtoReflect() protoreflect.Message { 582 mi := &file_protocol_proto_msgTypes[7] 583 if protoimpl.UnsafeEnabled && x != nil { 584 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 585 if ms.LoadMessageInfo() == nil { 586 ms.StoreMessageInfo(mi) 587 } 588 return ms 589 } 590 return mi.MessageOf(x) 591 } 592 593 // Deprecated: Use ProtocolOptions.ProtoReflect.Descriptor instead. 594 func (*ProtocolOptions) Descriptor() ([]byte, []int) { 595 return file_protocol_proto_rawDescGZIP(), []int{7} 596 } 597 598 func (x *ProtocolOptions) GetSyncIntervalSecond() float64 { 599 if x != nil { 600 return x.SyncIntervalSecond 601 } 602 return 0 603 } 604 605 // RenderRequest is protocol render request. 606 type RenderRequest struct { 607 state protoimpl.MessageState 608 sizeCache protoimpl.SizeCache 609 unknownFields protoimpl.UnknownFields 610 611 // scenario of this render. 612 Scenario *Scenario `protobuf:"bytes,1,opt,name=scenario,proto3" json:"scenario,omitempty"` 613 // event of this render. 614 // Optional. 615 Event *ComponentEvent `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` 616 // inParams contains passed in params from request caller. 617 InParams map[string]*structpb.Value `protobuf:"bytes,3,rep,name=inParams,proto3" json:"inParams,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 618 // protocol represent protocol detail. 619 // First time render is empty. 620 // Optional. 621 Protocol *ComponentProtocol `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"` 622 // debugOptions contains options for debug. 623 DebugOptions *DebugOptions `protobuf:"bytes,5,opt,name=debugOptions,proto3" json:"debugOptions,omitempty"` 624 } 625 626 func (x *RenderRequest) Reset() { 627 *x = RenderRequest{} 628 if protoimpl.UnsafeEnabled { 629 mi := &file_protocol_proto_msgTypes[8] 630 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 631 ms.StoreMessageInfo(mi) 632 } 633 } 634 635 func (x *RenderRequest) String() string { 636 return protoimpl.X.MessageStringOf(x) 637 } 638 639 func (*RenderRequest) ProtoMessage() {} 640 641 func (x *RenderRequest) ProtoReflect() protoreflect.Message { 642 mi := &file_protocol_proto_msgTypes[8] 643 if protoimpl.UnsafeEnabled && x != nil { 644 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 645 if ms.LoadMessageInfo() == nil { 646 ms.StoreMessageInfo(mi) 647 } 648 return ms 649 } 650 return mi.MessageOf(x) 651 } 652 653 // Deprecated: Use RenderRequest.ProtoReflect.Descriptor instead. 654 func (*RenderRequest) Descriptor() ([]byte, []int) { 655 return file_protocol_proto_rawDescGZIP(), []int{8} 656 } 657 658 func (x *RenderRequest) GetScenario() *Scenario { 659 if x != nil { 660 return x.Scenario 661 } 662 return nil 663 } 664 665 func (x *RenderRequest) GetEvent() *ComponentEvent { 666 if x != nil { 667 return x.Event 668 } 669 return nil 670 } 671 672 func (x *RenderRequest) GetInParams() map[string]*structpb.Value { 673 if x != nil { 674 return x.InParams 675 } 676 return nil 677 } 678 679 func (x *RenderRequest) GetProtocol() *ComponentProtocol { 680 if x != nil { 681 return x.Protocol 682 } 683 return nil 684 } 685 686 func (x *RenderRequest) GetDebugOptions() *DebugOptions { 687 if x != nil { 688 return x.DebugOptions 689 } 690 return nil 691 } 692 693 // RenderResponse 694 type RenderResponse struct { 695 state protoimpl.MessageState 696 sizeCache protoimpl.SizeCache 697 unknownFields protoimpl.UnknownFields 698 699 // scenario of this render. 700 Scenario *Scenario `protobuf:"bytes,1,opt,name=scenario,proto3" json:"scenario,omitempty"` 701 // protocol means rendered protocol detail. 702 Protocol *ComponentProtocol `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` 703 } 704 705 func (x *RenderResponse) Reset() { 706 *x = RenderResponse{} 707 if protoimpl.UnsafeEnabled { 708 mi := &file_protocol_proto_msgTypes[9] 709 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 710 ms.StoreMessageInfo(mi) 711 } 712 } 713 714 func (x *RenderResponse) String() string { 715 return protoimpl.X.MessageStringOf(x) 716 } 717 718 func (*RenderResponse) ProtoMessage() {} 719 720 func (x *RenderResponse) ProtoReflect() protoreflect.Message { 721 mi := &file_protocol_proto_msgTypes[9] 722 if protoimpl.UnsafeEnabled && x != nil { 723 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 724 if ms.LoadMessageInfo() == nil { 725 ms.StoreMessageInfo(mi) 726 } 727 return ms 728 } 729 return mi.MessageOf(x) 730 } 731 732 // Deprecated: Use RenderResponse.ProtoReflect.Descriptor instead. 733 func (*RenderResponse) Descriptor() ([]byte, []int) { 734 return file_protocol_proto_rawDescGZIP(), []int{9} 735 } 736 737 func (x *RenderResponse) GetScenario() *Scenario { 738 if x != nil { 739 return x.Scenario 740 } 741 return nil 742 } 743 744 func (x *RenderResponse) GetProtocol() *ComponentProtocol { 745 if x != nil { 746 return x.Protocol 747 } 748 return nil 749 } 750 751 // IdentityInfo 752 type IdentityInfo struct { 753 state protoimpl.MessageState 754 sizeCache protoimpl.SizeCache 755 unknownFields protoimpl.UnknownFields 756 757 // UserID is user id. It must be provided in some cases. 758 // Cannot be null if InternalClient is null. 759 // +optional 760 UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` 761 // InternalClient records the internal client, such as: bundle. 762 // Cannot be null if UserID is null. 763 // +optional 764 InternalClient string `protobuf:"bytes,2,opt,name=internalClient,proto3" json:"internalClient,omitempty"` 765 // OrgID is org id. It must be provided in some cases. 766 // +optional 767 OrgID string `protobuf:"bytes,3,opt,name=orgID,proto3" json:"orgID,omitempty"` 768 } 769 770 func (x *IdentityInfo) Reset() { 771 *x = IdentityInfo{} 772 if protoimpl.UnsafeEnabled { 773 mi := &file_protocol_proto_msgTypes[10] 774 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 775 ms.StoreMessageInfo(mi) 776 } 777 } 778 779 func (x *IdentityInfo) String() string { 780 return protoimpl.X.MessageStringOf(x) 781 } 782 783 func (*IdentityInfo) ProtoMessage() {} 784 785 func (x *IdentityInfo) ProtoReflect() protoreflect.Message { 786 mi := &file_protocol_proto_msgTypes[10] 787 if protoimpl.UnsafeEnabled && x != nil { 788 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 789 if ms.LoadMessageInfo() == nil { 790 ms.StoreMessageInfo(mi) 791 } 792 return ms 793 } 794 return mi.MessageOf(x) 795 } 796 797 // Deprecated: Use IdentityInfo.ProtoReflect.Descriptor instead. 798 func (*IdentityInfo) Descriptor() ([]byte, []int) { 799 return file_protocol_proto_rawDescGZIP(), []int{10} 800 } 801 802 func (x *IdentityInfo) GetUserID() string { 803 if x != nil { 804 return x.UserID 805 } 806 return "" 807 } 808 809 func (x *IdentityInfo) GetInternalClient() string { 810 if x != nil { 811 return x.InternalClient 812 } 813 return "" 814 } 815 816 func (x *IdentityInfo) GetOrgID() string { 817 if x != nil { 818 return x.OrgID 819 } 820 return "" 821 } 822 823 var File_protocol_proto protoreflect.FileDescriptor 824 825 var file_protocol_proto_rawDesc = []byte{ 826 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 827 0x12, 0x07, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 828 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 829 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 830 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 831 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x05, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 832 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x76, 833 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 834 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x61, 0x72, 0x69, 835 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x61, 0x72, 0x69, 836 0x6f, 0x12, 0x47, 0x0a, 0x0b, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 837 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 838 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 839 0x6f, 0x6c, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x45, 0x6e, 840 0x74, 0x72, 0x79, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x09, 0x68, 0x69, 841 0x65, 0x72, 0x61, 0x72, 0x63, 0x68, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 842 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 0x2e, 0x48, 0x69, 0x65, 0x72, 0x61, 0x72, 0x63, 0x68, 843 0x79, 0x52, 0x09, 0x68, 0x69, 0x65, 0x72, 0x61, 0x72, 0x63, 0x68, 0x79, 0x12, 0x4a, 0x0a, 0x0a, 844 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 845 0x32, 0x2a, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 846 0x6e, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 847 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x63, 0x6f, 848 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x47, 0x0a, 0x09, 0x72, 0x65, 0x6e, 0x64, 849 0x65, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x72, 850 0x64, 0x61, 0x2e, 0x63, 0x70, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x50, 851 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x69, 0x6e, 852 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x72, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x69, 0x6e, 853 0x67, 0x12, 0x32, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 854 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 0x2e, 0x50, 0x72, 0x6f, 855 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 856 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x56, 0x0a, 0x10, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x53, 857 0x74, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 858 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 859 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 860 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 861 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x51, 0x0a, 862 0x0f, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 863 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 864 0x65, 0x79, 0x12, 0x28, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 865 0x0b, 0x32, 0x12, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 866 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 867 0x1a, 0x58, 0x0a, 0x0e, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, 868 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 869 0x03, 0x6b, 0x65, 0x79, 0x12, 0x30, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 870 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 871 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 872 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc9, 0x02, 0x0a, 0x09, 0x48, 873 0x69, 0x65, 0x72, 0x61, 0x72, 0x63, 0x68, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 874 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x3f, 0x0a, 0x09, 875 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 876 0x21, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 0x2e, 0x48, 0x69, 0x65, 0x72, 0x61, 0x72, 877 0x63, 0x68, 0x79, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x45, 0x6e, 0x74, 878 0x72, 0x79, 0x52, 0x09, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x3c, 0x0a, 879 0x08, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 880 0x20, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 0x2e, 0x48, 0x69, 0x65, 0x72, 0x61, 0x72, 881 0x63, 0x68, 0x79, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x45, 0x6e, 0x74, 0x72, 882 0x79, 0x52, 0x08, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x1a, 0x54, 0x0a, 0x0e, 0x53, 883 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 884 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 885 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 886 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 887 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 888 0x01, 0x1a, 0x53, 0x0a, 0x0d, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x45, 0x6e, 0x74, 889 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 890 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 891 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 892 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 893 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd5, 0x04, 0x0a, 0x09, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 894 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 895 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 896 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x05, 897 0x70, 0x72, 0x6f, 0x70, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 898 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 899 0x6c, 0x75, 0x65, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x70, 0x73, 0x12, 0x33, 0x0a, 0x05, 0x73, 0x74, 900 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x72, 0x64, 0x61, 901 0x2e, 0x63, 0x70, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 902 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 903 0x30, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 904 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 905 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 906 0x61, 0x12, 0x42, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 907 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 0x2e, 908 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 909 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 910 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 911 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 912 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 913 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 914 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 915 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x50, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 916 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 917 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 918 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 919 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 920 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4f, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 921 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 922 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 923 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 924 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 925 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x55, 0x0a, 0x0f, 0x4f, 0x70, 0x65, 0x72, 0x61, 926 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 927 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 928 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 929 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 930 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x9c, 931 0x01, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x74, 0x69, 932 0x6f, 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x01, 933 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x20, 0x0a, 934 0x0b, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x41, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 935 0x28, 0x08, 0x52, 0x0b, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x41, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x12, 936 0x1a, 0x0a, 0x08, 0x66, 0x6c, 0x61, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 937 0x08, 0x52, 0x08, 0x66, 0x6c, 0x61, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x30, 0x0a, 0x13, 0x72, 938 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x41, 0x66, 0x74, 0x65, 0x72, 0x46, 0x6c, 939 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 940 0x4d, 0x65, 0x74, 0x61, 0x41, 0x66, 0x74, 0x65, 0x72, 0x46, 0x6c, 0x61, 0x74, 0x22, 0x50, 0x0a, 941 0x08, 0x53, 0x63, 0x65, 0x6e, 0x61, 0x72, 0x69, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x63, 0x65, 942 0x6e, 0x61, 0x72, 0x69, 0x6f, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 943 0x73, 0x63, 0x65, 0x6e, 0x61, 0x72, 0x69, 0x6f, 0x4b, 0x65, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x73, 944 0x63, 0x65, 0x6e, 0x61, 0x72, 0x69, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 945 0x09, 0x52, 0x0c, 0x73, 0x63, 0x65, 0x6e, 0x61, 0x72, 0x69, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x22, 946 0xf8, 0x01, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 947 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 948 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 949 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 950 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 951 0x0a, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x18, 952 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 0x2e, 953 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x4f, 954 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 955 0x79, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 956 0x1a, 0x58, 0x0a, 0x12, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 957 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 958 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 959 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 960 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 961 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x32, 0x0a, 0x0c, 0x44, 0x65, 962 0x62, 0x75, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 963 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 964 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x22, 0x41, 965 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 966 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x73, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 967 0x6c, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x12, 0x73, 968 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x6f, 0x6e, 969 0x64, 0x22, 0xf7, 0x02, 0x0a, 0x0d, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 970 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x61, 0x72, 0x69, 0x6f, 0x18, 971 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 0x2e, 972 0x53, 0x63, 0x65, 0x6e, 0x61, 0x72, 0x69, 0x6f, 0x52, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x61, 0x72, 973 0x69, 0x6f, 0x12, 0x2d, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 974 0x0b, 0x32, 0x17, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 975 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 976 0x74, 0x12, 0x40, 0x0a, 0x08, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 977 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 0x2e, 0x52, 0x65, 978 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x50, 0x61, 979 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x69, 0x6e, 0x50, 0x61, 0x72, 980 0x61, 0x6d, 0x73, 0x12, 0x36, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 981 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 0x2e, 982 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 983 0x6c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x39, 0x0a, 0x0c, 0x64, 984 0x65, 0x62, 0x75, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 985 0x0b, 0x32, 0x15, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 0x2e, 0x44, 0x65, 0x62, 0x75, 986 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0c, 0x64, 0x65, 0x62, 0x75, 0x67, 0x4f, 987 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x53, 0x0a, 0x0d, 0x49, 0x6e, 0x50, 0x61, 0x72, 0x61, 988 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 989 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 990 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 991 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 992 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x77, 0x0a, 0x0e, 0x52, 993 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 994 0x08, 0x73, 0x63, 0x65, 0x6e, 0x61, 0x72, 0x69, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 995 0x11, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x61, 0x72, 996 0x69, 0x6f, 0x52, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x61, 0x72, 0x69, 0x6f, 0x12, 0x36, 0x0a, 0x08, 997 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 998 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 999 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 1000 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x64, 0x0a, 0x0c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 1001 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 1002 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 1003 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x02, 1004 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x43, 0x6c, 1005 0x69, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x44, 0x18, 0x03, 0x20, 1006 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x44, 0x32, 0x76, 0x0a, 0x09, 0x43, 0x50, 1007 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x69, 0x0a, 0x06, 0x52, 0x65, 0x6e, 0x64, 0x65, 1008 0x72, 0x12, 0x16, 0x2e, 0x65, 0x72, 0x64, 0x61, 0x2e, 0x63, 0x70, 0x2e, 0x52, 0x65, 0x6e, 0x64, 1009 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x65, 0x72, 0x64, 0x61, 1010 0x2e, 0x63, 0x70, 0x2e, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 1011 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x22, 0x26, 0x2f, 0x61, 0x70, 0x69, 1012 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1013 0x63, 0x6f, 0x6c, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x6e, 0x64, 1014 0x65, 0x72, 0x42, 0x59, 0x5a, 0x57, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 1015 0x2f, 0x65, 0x72, 0x64, 0x61, 0x2d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x65, 0x72, 1016 0x64, 0x61, 0x2d, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 1017 0x72, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2d, 0x70, 0x72, 0x6f, 1018 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x70, 1019 0x72, 0x6f, 0x74, 0x6f, 0x2d, 0x67, 0x6f, 0x2f, 0x63, 0x70, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 1020 0x72, 0x6f, 0x74, 0x6f, 0x33, 1021 } 1022 1023 var ( 1024 file_protocol_proto_rawDescOnce sync.Once 1025 file_protocol_proto_rawDescData = file_protocol_proto_rawDesc 1026 ) 1027 1028 func file_protocol_proto_rawDescGZIP() []byte { 1029 file_protocol_proto_rawDescOnce.Do(func() { 1030 file_protocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_protocol_proto_rawDescData) 1031 }) 1032 return file_protocol_proto_rawDescData 1033 } 1034 1035 var file_protocol_proto_msgTypes = make([]protoimpl.MessageInfo, 21) 1036 var file_protocol_proto_goTypes = []interface{}{ 1037 (*ComponentProtocol)(nil), // 0: erda.cp.ComponentProtocol 1038 (*Hierarchy)(nil), // 1: erda.cp.Hierarchy 1039 (*Component)(nil), // 2: erda.cp.Component 1040 (*ComponentOptions)(nil), // 3: erda.cp.ComponentOptions 1041 (*Scenario)(nil), // 4: erda.cp.Scenario 1042 (*ComponentEvent)(nil), // 5: erda.cp.ComponentEvent 1043 (*DebugOptions)(nil), // 6: erda.cp.DebugOptions 1044 (*ProtocolOptions)(nil), // 7: erda.cp.ProtocolOptions 1045 (*RenderRequest)(nil), // 8: erda.cp.RenderRequest 1046 (*RenderResponse)(nil), // 9: erda.cp.RenderResponse 1047 (*IdentityInfo)(nil), // 10: erda.cp.IdentityInfo 1048 nil, // 11: erda.cp.ComponentProtocol.GlobalStateEntry 1049 nil, // 12: erda.cp.ComponentProtocol.ComponentsEntry 1050 nil, // 13: erda.cp.ComponentProtocol.RenderingEntry 1051 nil, // 14: erda.cp.Hierarchy.StructureEntry 1052 nil, // 15: erda.cp.Hierarchy.ParallelEntry 1053 nil, // 16: erda.cp.Component.StateEntry 1054 nil, // 17: erda.cp.Component.DataEntry 1055 nil, // 18: erda.cp.Component.OperationsEntry 1056 nil, // 19: erda.cp.ComponentEvent.OperationDataEntry 1057 nil, // 20: erda.cp.RenderRequest.InParamsEntry 1058 (*structpb.Value)(nil), // 21: google.protobuf.Value 1059 (*structpb.ListValue)(nil), // 22: google.protobuf.ListValue 1060 } 1061 var file_protocol_proto_depIdxs = []int32{ 1062 11, // 0: erda.cp.ComponentProtocol.globalState:type_name -> erda.cp.ComponentProtocol.GlobalStateEntry 1063 1, // 1: erda.cp.ComponentProtocol.hierarchy:type_name -> erda.cp.Hierarchy 1064 12, // 2: erda.cp.ComponentProtocol.components:type_name -> erda.cp.ComponentProtocol.ComponentsEntry 1065 13, // 3: erda.cp.ComponentProtocol.rendering:type_name -> erda.cp.ComponentProtocol.RenderingEntry 1066 7, // 4: erda.cp.ComponentProtocol.options:type_name -> erda.cp.ProtocolOptions 1067 14, // 5: erda.cp.Hierarchy.structure:type_name -> erda.cp.Hierarchy.StructureEntry 1068 15, // 6: erda.cp.Hierarchy.parallel:type_name -> erda.cp.Hierarchy.ParallelEntry 1069 21, // 7: erda.cp.Component.props:type_name -> google.protobuf.Value 1070 16, // 8: erda.cp.Component.state:type_name -> erda.cp.Component.StateEntry 1071 17, // 9: erda.cp.Component.data:type_name -> erda.cp.Component.DataEntry 1072 18, // 10: erda.cp.Component.operations:type_name -> erda.cp.Component.OperationsEntry 1073 3, // 11: erda.cp.Component.options:type_name -> erda.cp.ComponentOptions 1074 19, // 12: erda.cp.ComponentEvent.operationData:type_name -> erda.cp.ComponentEvent.OperationDataEntry 1075 4, // 13: erda.cp.RenderRequest.scenario:type_name -> erda.cp.Scenario 1076 5, // 14: erda.cp.RenderRequest.event:type_name -> erda.cp.ComponentEvent 1077 20, // 15: erda.cp.RenderRequest.inParams:type_name -> erda.cp.RenderRequest.InParamsEntry 1078 0, // 16: erda.cp.RenderRequest.protocol:type_name -> erda.cp.ComponentProtocol 1079 6, // 17: erda.cp.RenderRequest.debugOptions:type_name -> erda.cp.DebugOptions 1080 4, // 18: erda.cp.RenderResponse.scenario:type_name -> erda.cp.Scenario 1081 0, // 19: erda.cp.RenderResponse.protocol:type_name -> erda.cp.ComponentProtocol 1082 21, // 20: erda.cp.ComponentProtocol.GlobalStateEntry.value:type_name -> google.protobuf.Value 1083 2, // 21: erda.cp.ComponentProtocol.ComponentsEntry.value:type_name -> erda.cp.Component 1084 22, // 22: erda.cp.ComponentProtocol.RenderingEntry.value:type_name -> google.protobuf.ListValue 1085 21, // 23: erda.cp.Hierarchy.StructureEntry.value:type_name -> google.protobuf.Value 1086 21, // 24: erda.cp.Hierarchy.ParallelEntry.value:type_name -> google.protobuf.Value 1087 21, // 25: erda.cp.Component.StateEntry.value:type_name -> google.protobuf.Value 1088 21, // 26: erda.cp.Component.DataEntry.value:type_name -> google.protobuf.Value 1089 21, // 27: erda.cp.Component.OperationsEntry.value:type_name -> google.protobuf.Value 1090 21, // 28: erda.cp.ComponentEvent.OperationDataEntry.value:type_name -> google.protobuf.Value 1091 21, // 29: erda.cp.RenderRequest.InParamsEntry.value:type_name -> google.protobuf.Value 1092 8, // 30: erda.cp.CPService.Render:input_type -> erda.cp.RenderRequest 1093 9, // 31: erda.cp.CPService.Render:output_type -> erda.cp.RenderResponse 1094 31, // [31:32] is the sub-list for method output_type 1095 30, // [30:31] is the sub-list for method input_type 1096 30, // [30:30] is the sub-list for extension type_name 1097 30, // [30:30] is the sub-list for extension extendee 1098 0, // [0:30] is the sub-list for field type_name 1099 } 1100 1101 func init() { file_protocol_proto_init() } 1102 func file_protocol_proto_init() { 1103 if File_protocol_proto != nil { 1104 return 1105 } 1106 if !protoimpl.UnsafeEnabled { 1107 file_protocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1108 switch v := v.(*ComponentProtocol); i { 1109 case 0: 1110 return &v.state 1111 case 1: 1112 return &v.sizeCache 1113 case 2: 1114 return &v.unknownFields 1115 default: 1116 return nil 1117 } 1118 } 1119 file_protocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1120 switch v := v.(*Hierarchy); i { 1121 case 0: 1122 return &v.state 1123 case 1: 1124 return &v.sizeCache 1125 case 2: 1126 return &v.unknownFields 1127 default: 1128 return nil 1129 } 1130 } 1131 file_protocol_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1132 switch v := v.(*Component); i { 1133 case 0: 1134 return &v.state 1135 case 1: 1136 return &v.sizeCache 1137 case 2: 1138 return &v.unknownFields 1139 default: 1140 return nil 1141 } 1142 } 1143 file_protocol_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1144 switch v := v.(*ComponentOptions); i { 1145 case 0: 1146 return &v.state 1147 case 1: 1148 return &v.sizeCache 1149 case 2: 1150 return &v.unknownFields 1151 default: 1152 return nil 1153 } 1154 } 1155 file_protocol_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1156 switch v := v.(*Scenario); i { 1157 case 0: 1158 return &v.state 1159 case 1: 1160 return &v.sizeCache 1161 case 2: 1162 return &v.unknownFields 1163 default: 1164 return nil 1165 } 1166 } 1167 file_protocol_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1168 switch v := v.(*ComponentEvent); i { 1169 case 0: 1170 return &v.state 1171 case 1: 1172 return &v.sizeCache 1173 case 2: 1174 return &v.unknownFields 1175 default: 1176 return nil 1177 } 1178 } 1179 file_protocol_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1180 switch v := v.(*DebugOptions); i { 1181 case 0: 1182 return &v.state 1183 case 1: 1184 return &v.sizeCache 1185 case 2: 1186 return &v.unknownFields 1187 default: 1188 return nil 1189 } 1190 } 1191 file_protocol_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1192 switch v := v.(*ProtocolOptions); i { 1193 case 0: 1194 return &v.state 1195 case 1: 1196 return &v.sizeCache 1197 case 2: 1198 return &v.unknownFields 1199 default: 1200 return nil 1201 } 1202 } 1203 file_protocol_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1204 switch v := v.(*RenderRequest); i { 1205 case 0: 1206 return &v.state 1207 case 1: 1208 return &v.sizeCache 1209 case 2: 1210 return &v.unknownFields 1211 default: 1212 return nil 1213 } 1214 } 1215 file_protocol_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1216 switch v := v.(*RenderResponse); i { 1217 case 0: 1218 return &v.state 1219 case 1: 1220 return &v.sizeCache 1221 case 2: 1222 return &v.unknownFields 1223 default: 1224 return nil 1225 } 1226 } 1227 file_protocol_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1228 switch v := v.(*IdentityInfo); i { 1229 case 0: 1230 return &v.state 1231 case 1: 1232 return &v.sizeCache 1233 case 2: 1234 return &v.unknownFields 1235 default: 1236 return nil 1237 } 1238 } 1239 } 1240 type x struct{} 1241 out := protoimpl.TypeBuilder{ 1242 File: protoimpl.DescBuilder{ 1243 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1244 RawDescriptor: file_protocol_proto_rawDesc, 1245 NumEnums: 0, 1246 NumMessages: 21, 1247 NumExtensions: 0, 1248 NumServices: 1, 1249 }, 1250 GoTypes: file_protocol_proto_goTypes, 1251 DependencyIndexes: file_protocol_proto_depIdxs, 1252 MessageInfos: file_protocol_proto_msgTypes, 1253 }.Build() 1254 File_protocol_proto = out.File 1255 file_protocol_proto_rawDesc = nil 1256 file_protocol_proto_goTypes = nil 1257 file_protocol_proto_depIdxs = nil 1258 }