github.com/inspektor-gadget/inspektor-gadget@v0.28.1/pkg/gadget-service/api/api.pb.go (about) 1 // Copyright 2019-2023 The Inspektor Gadget authors 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Code generated by protoc-gen-go. DO NOT EDIT. 16 // versions: 17 // protoc-gen-go v1.25.0-devel 18 // protoc v3.14.0 19 // source: api/api.proto 20 21 package api 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 reflect "reflect" 27 sync "sync" 28 ) 29 30 const ( 31 // Verify that this generated code is sufficiently up-to-date. 32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 33 // Verify that runtime/protoimpl is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 35 ) 36 37 type Kind int32 38 39 const ( 40 Kind_Invalid Kind = 0 41 Kind_Bool Kind = 1 42 Kind_Int8 Kind = 2 43 Kind_Int16 Kind = 3 44 Kind_Int32 Kind = 4 45 Kind_Int64 Kind = 5 46 Kind_Uint8 Kind = 6 47 Kind_Uint16 Kind = 7 48 Kind_Uint32 Kind = 8 49 Kind_Uint64 Kind = 9 50 Kind_Float32 Kind = 10 51 Kind_Float64 Kind = 11 52 Kind_String Kind = 12 53 Kind_CString Kind = 13 54 ) 55 56 // Enum value maps for Kind. 57 var ( 58 Kind_name = map[int32]string{ 59 0: "Invalid", 60 1: "Bool", 61 2: "Int8", 62 3: "Int16", 63 4: "Int32", 64 5: "Int64", 65 6: "Uint8", 66 7: "Uint16", 67 8: "Uint32", 68 9: "Uint64", 69 10: "Float32", 70 11: "Float64", 71 12: "String", 72 13: "CString", 73 } 74 Kind_value = map[string]int32{ 75 "Invalid": 0, 76 "Bool": 1, 77 "Int8": 2, 78 "Int16": 3, 79 "Int32": 4, 80 "Int64": 5, 81 "Uint8": 6, 82 "Uint16": 7, 83 "Uint32": 8, 84 "Uint64": 9, 85 "Float32": 10, 86 "Float64": 11, 87 "String": 12, 88 "CString": 13, 89 } 90 ) 91 92 func (x Kind) Enum() *Kind { 93 p := new(Kind) 94 *p = x 95 return p 96 } 97 98 func (x Kind) String() string { 99 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 100 } 101 102 func (Kind) Descriptor() protoreflect.EnumDescriptor { 103 return file_api_api_proto_enumTypes[0].Descriptor() 104 } 105 106 func (Kind) Type() protoreflect.EnumType { 107 return &file_api_api_proto_enumTypes[0] 108 } 109 110 func (x Kind) Number() protoreflect.EnumNumber { 111 return protoreflect.EnumNumber(x) 112 } 113 114 // Deprecated: Use Kind.Descriptor instead. 115 func (Kind) EnumDescriptor() ([]byte, []int) { 116 return file_api_api_proto_rawDescGZIP(), []int{0} 117 } 118 119 type BuiltInGadgetRunRequest struct { 120 state protoimpl.MessageState 121 sizeCache protoimpl.SizeCache 122 unknownFields protoimpl.UnknownFields 123 124 // name of the gadget as returned by gadgetDesc.Name() 125 GadgetName string `protobuf:"bytes,1,opt,name=gadgetName,proto3" json:"gadgetName,omitempty"` 126 // category of the gadget as returned by gadgetDesc.Category() 127 GadgetCategory string `protobuf:"bytes,2,opt,name=gadgetCategory,proto3" json:"gadgetCategory,omitempty"` 128 // params is a combined map of all params a gadget could need (including those 129 // of runtime and operators, which need specific prefixes, see implementation in 130 // pkg/runtime/grpc) 131 Params map[string]string `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 132 // args are all parameters which were not specified with a flag 133 Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"` 134 // a list of nodes the gadget should run on; if not specified, it should run 135 // on all nodes 136 Nodes []string `protobuf:"bytes,10,rep,name=nodes,proto3" json:"nodes,omitempty"` 137 // if set to true, the gadget service should forward the request to each node 138 // from the nodes list (or each node it knows, if the list is empty) and combine 139 // their output 140 FanOut bool `protobuf:"varint,11,opt,name=fanOut,proto3" json:"fanOut,omitempty"` 141 // sets the requested log level (see pkg/logger/logger.go) 142 LogLevel uint32 `protobuf:"varint,12,opt,name=logLevel,proto3" json:"logLevel,omitempty"` 143 // time that a gadget should run; use 0, if the gadget should run until it's being 144 // stopped or done; time is in nanoseconds and directly converted to time.Duration 145 Timeout int64 `protobuf:"varint,13,opt,name=timeout,proto3" json:"timeout,omitempty"` 146 } 147 148 func (x *BuiltInGadgetRunRequest) Reset() { 149 *x = BuiltInGadgetRunRequest{} 150 if protoimpl.UnsafeEnabled { 151 mi := &file_api_api_proto_msgTypes[0] 152 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 153 ms.StoreMessageInfo(mi) 154 } 155 } 156 157 func (x *BuiltInGadgetRunRequest) String() string { 158 return protoimpl.X.MessageStringOf(x) 159 } 160 161 func (*BuiltInGadgetRunRequest) ProtoMessage() {} 162 163 func (x *BuiltInGadgetRunRequest) ProtoReflect() protoreflect.Message { 164 mi := &file_api_api_proto_msgTypes[0] 165 if protoimpl.UnsafeEnabled && x != nil { 166 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 167 if ms.LoadMessageInfo() == nil { 168 ms.StoreMessageInfo(mi) 169 } 170 return ms 171 } 172 return mi.MessageOf(x) 173 } 174 175 // Deprecated: Use BuiltInGadgetRunRequest.ProtoReflect.Descriptor instead. 176 func (*BuiltInGadgetRunRequest) Descriptor() ([]byte, []int) { 177 return file_api_api_proto_rawDescGZIP(), []int{0} 178 } 179 180 func (x *BuiltInGadgetRunRequest) GetGadgetName() string { 181 if x != nil { 182 return x.GadgetName 183 } 184 return "" 185 } 186 187 func (x *BuiltInGadgetRunRequest) GetGadgetCategory() string { 188 if x != nil { 189 return x.GadgetCategory 190 } 191 return "" 192 } 193 194 func (x *BuiltInGadgetRunRequest) GetParams() map[string]string { 195 if x != nil { 196 return x.Params 197 } 198 return nil 199 } 200 201 func (x *BuiltInGadgetRunRequest) GetArgs() []string { 202 if x != nil { 203 return x.Args 204 } 205 return nil 206 } 207 208 func (x *BuiltInGadgetRunRequest) GetNodes() []string { 209 if x != nil { 210 return x.Nodes 211 } 212 return nil 213 } 214 215 func (x *BuiltInGadgetRunRequest) GetFanOut() bool { 216 if x != nil { 217 return x.FanOut 218 } 219 return false 220 } 221 222 func (x *BuiltInGadgetRunRequest) GetLogLevel() uint32 { 223 if x != nil { 224 return x.LogLevel 225 } 226 return 0 227 } 228 229 func (x *BuiltInGadgetRunRequest) GetTimeout() int64 { 230 if x != nil { 231 return x.Timeout 232 } 233 return 0 234 } 235 236 type GadgetRunRequest struct { 237 state protoimpl.MessageState 238 sizeCache protoimpl.SizeCache 239 unknownFields protoimpl.UnknownFields 240 241 ImageName string `protobuf:"bytes,1,opt,name=imageName,proto3" json:"imageName,omitempty"` 242 // paramValues is a combined map of all params a gadget could need (including those 243 // of runtime and operators, which need specific prefixes, see implementation in 244 // pkg/runtime/grpc) 245 ParamValues map[string]string `protobuf:"bytes,2,rep,name=paramValues,proto3" json:"paramValues,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 246 // args are all parameters which were not specified with a flag 247 Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` 248 // used to inform the server about the expected protocol version 249 Version uint32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` 250 // sets the requested log level (see pkg/logger/logger.go) 251 LogLevel uint32 `protobuf:"varint,12,opt,name=logLevel,proto3" json:"logLevel,omitempty"` 252 // time that a gadget should run; use 0, if the gadget should run until it's being 253 // stopped or done; time is in nanoseconds and directly converted to time.Duration 254 Timeout int64 `protobuf:"varint,13,opt,name=timeout,proto3" json:"timeout,omitempty"` 255 } 256 257 func (x *GadgetRunRequest) Reset() { 258 *x = GadgetRunRequest{} 259 if protoimpl.UnsafeEnabled { 260 mi := &file_api_api_proto_msgTypes[1] 261 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 262 ms.StoreMessageInfo(mi) 263 } 264 } 265 266 func (x *GadgetRunRequest) String() string { 267 return protoimpl.X.MessageStringOf(x) 268 } 269 270 func (*GadgetRunRequest) ProtoMessage() {} 271 272 func (x *GadgetRunRequest) ProtoReflect() protoreflect.Message { 273 mi := &file_api_api_proto_msgTypes[1] 274 if protoimpl.UnsafeEnabled && x != nil { 275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 276 if ms.LoadMessageInfo() == nil { 277 ms.StoreMessageInfo(mi) 278 } 279 return ms 280 } 281 return mi.MessageOf(x) 282 } 283 284 // Deprecated: Use GadgetRunRequest.ProtoReflect.Descriptor instead. 285 func (*GadgetRunRequest) Descriptor() ([]byte, []int) { 286 return file_api_api_proto_rawDescGZIP(), []int{1} 287 } 288 289 func (x *GadgetRunRequest) GetImageName() string { 290 if x != nil { 291 return x.ImageName 292 } 293 return "" 294 } 295 296 func (x *GadgetRunRequest) GetParamValues() map[string]string { 297 if x != nil { 298 return x.ParamValues 299 } 300 return nil 301 } 302 303 func (x *GadgetRunRequest) GetArgs() []string { 304 if x != nil { 305 return x.Args 306 } 307 return nil 308 } 309 310 func (x *GadgetRunRequest) GetVersion() uint32 { 311 if x != nil { 312 return x.Version 313 } 314 return 0 315 } 316 317 func (x *GadgetRunRequest) GetLogLevel() uint32 { 318 if x != nil { 319 return x.LogLevel 320 } 321 return 0 322 } 323 324 func (x *GadgetRunRequest) GetTimeout() int64 { 325 if x != nil { 326 return x.Timeout 327 } 328 return 0 329 } 330 331 type BuiltInGadgetStopRequest struct { 332 state protoimpl.MessageState 333 sizeCache protoimpl.SizeCache 334 unknownFields protoimpl.UnknownFields 335 } 336 337 func (x *BuiltInGadgetStopRequest) Reset() { 338 *x = BuiltInGadgetStopRequest{} 339 if protoimpl.UnsafeEnabled { 340 mi := &file_api_api_proto_msgTypes[2] 341 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 342 ms.StoreMessageInfo(mi) 343 } 344 } 345 346 func (x *BuiltInGadgetStopRequest) String() string { 347 return protoimpl.X.MessageStringOf(x) 348 } 349 350 func (*BuiltInGadgetStopRequest) ProtoMessage() {} 351 352 func (x *BuiltInGadgetStopRequest) ProtoReflect() protoreflect.Message { 353 mi := &file_api_api_proto_msgTypes[2] 354 if protoimpl.UnsafeEnabled && x != nil { 355 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 356 if ms.LoadMessageInfo() == nil { 357 ms.StoreMessageInfo(mi) 358 } 359 return ms 360 } 361 return mi.MessageOf(x) 362 } 363 364 // Deprecated: Use BuiltInGadgetStopRequest.ProtoReflect.Descriptor instead. 365 func (*BuiltInGadgetStopRequest) Descriptor() ([]byte, []int) { 366 return file_api_api_proto_rawDescGZIP(), []int{2} 367 } 368 369 type GadgetEvent struct { 370 state protoimpl.MessageState 371 sizeCache protoimpl.SizeCache 372 unknownFields protoimpl.UnknownFields 373 374 // Types are specified in consts.go. Upper 16 bits are used for log severity levels 375 Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` 376 Seq uint32 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` 377 Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` 378 DataSourceID uint32 `protobuf:"varint,4,opt,name=dataSourceID,proto3" json:"dataSourceID,omitempty"` 379 } 380 381 func (x *GadgetEvent) Reset() { 382 *x = GadgetEvent{} 383 if protoimpl.UnsafeEnabled { 384 mi := &file_api_api_proto_msgTypes[3] 385 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 386 ms.StoreMessageInfo(mi) 387 } 388 } 389 390 func (x *GadgetEvent) String() string { 391 return protoimpl.X.MessageStringOf(x) 392 } 393 394 func (*GadgetEvent) ProtoMessage() {} 395 396 func (x *GadgetEvent) ProtoReflect() protoreflect.Message { 397 mi := &file_api_api_proto_msgTypes[3] 398 if protoimpl.UnsafeEnabled && x != nil { 399 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 400 if ms.LoadMessageInfo() == nil { 401 ms.StoreMessageInfo(mi) 402 } 403 return ms 404 } 405 return mi.MessageOf(x) 406 } 407 408 // Deprecated: Use GadgetEvent.ProtoReflect.Descriptor instead. 409 func (*GadgetEvent) Descriptor() ([]byte, []int) { 410 return file_api_api_proto_rawDescGZIP(), []int{3} 411 } 412 413 func (x *GadgetEvent) GetType() uint32 { 414 if x != nil { 415 return x.Type 416 } 417 return 0 418 } 419 420 func (x *GadgetEvent) GetSeq() uint32 { 421 if x != nil { 422 return x.Seq 423 } 424 return 0 425 } 426 427 func (x *GadgetEvent) GetPayload() []byte { 428 if x != nil { 429 return x.Payload 430 } 431 return nil 432 } 433 434 func (x *GadgetEvent) GetDataSourceID() uint32 { 435 if x != nil { 436 return x.DataSourceID 437 } 438 return 0 439 } 440 441 type BuiltInGadgetControlRequest struct { 442 state protoimpl.MessageState 443 sizeCache protoimpl.SizeCache 444 unknownFields protoimpl.UnknownFields 445 446 // Types that are assignable to Event: 447 // *BuiltInGadgetControlRequest_RunRequest 448 // *BuiltInGadgetControlRequest_StopRequest 449 Event isBuiltInGadgetControlRequest_Event `protobuf_oneof:"Event"` 450 } 451 452 func (x *BuiltInGadgetControlRequest) Reset() { 453 *x = BuiltInGadgetControlRequest{} 454 if protoimpl.UnsafeEnabled { 455 mi := &file_api_api_proto_msgTypes[4] 456 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 457 ms.StoreMessageInfo(mi) 458 } 459 } 460 461 func (x *BuiltInGadgetControlRequest) String() string { 462 return protoimpl.X.MessageStringOf(x) 463 } 464 465 func (*BuiltInGadgetControlRequest) ProtoMessage() {} 466 467 func (x *BuiltInGadgetControlRequest) ProtoReflect() protoreflect.Message { 468 mi := &file_api_api_proto_msgTypes[4] 469 if protoimpl.UnsafeEnabled && x != nil { 470 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 471 if ms.LoadMessageInfo() == nil { 472 ms.StoreMessageInfo(mi) 473 } 474 return ms 475 } 476 return mi.MessageOf(x) 477 } 478 479 // Deprecated: Use BuiltInGadgetControlRequest.ProtoReflect.Descriptor instead. 480 func (*BuiltInGadgetControlRequest) Descriptor() ([]byte, []int) { 481 return file_api_api_proto_rawDescGZIP(), []int{4} 482 } 483 484 func (m *BuiltInGadgetControlRequest) GetEvent() isBuiltInGadgetControlRequest_Event { 485 if m != nil { 486 return m.Event 487 } 488 return nil 489 } 490 491 func (x *BuiltInGadgetControlRequest) GetRunRequest() *BuiltInGadgetRunRequest { 492 if x, ok := x.GetEvent().(*BuiltInGadgetControlRequest_RunRequest); ok { 493 return x.RunRequest 494 } 495 return nil 496 } 497 498 func (x *BuiltInGadgetControlRequest) GetStopRequest() *BuiltInGadgetStopRequest { 499 if x, ok := x.GetEvent().(*BuiltInGadgetControlRequest_StopRequest); ok { 500 return x.StopRequest 501 } 502 return nil 503 } 504 505 type isBuiltInGadgetControlRequest_Event interface { 506 isBuiltInGadgetControlRequest_Event() 507 } 508 509 type BuiltInGadgetControlRequest_RunRequest struct { 510 RunRequest *BuiltInGadgetRunRequest `protobuf:"bytes,1,opt,name=runRequest,proto3,oneof"` 511 } 512 513 type BuiltInGadgetControlRequest_StopRequest struct { 514 StopRequest *BuiltInGadgetStopRequest `protobuf:"bytes,2,opt,name=stopRequest,proto3,oneof"` 515 } 516 517 func (*BuiltInGadgetControlRequest_RunRequest) isBuiltInGadgetControlRequest_Event() {} 518 519 func (*BuiltInGadgetControlRequest_StopRequest) isBuiltInGadgetControlRequest_Event() {} 520 521 type GadgetStopRequest struct { 522 state protoimpl.MessageState 523 sizeCache protoimpl.SizeCache 524 unknownFields protoimpl.UnknownFields 525 } 526 527 func (x *GadgetStopRequest) Reset() { 528 *x = GadgetStopRequest{} 529 if protoimpl.UnsafeEnabled { 530 mi := &file_api_api_proto_msgTypes[5] 531 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 532 ms.StoreMessageInfo(mi) 533 } 534 } 535 536 func (x *GadgetStopRequest) String() string { 537 return protoimpl.X.MessageStringOf(x) 538 } 539 540 func (*GadgetStopRequest) ProtoMessage() {} 541 542 func (x *GadgetStopRequest) ProtoReflect() protoreflect.Message { 543 mi := &file_api_api_proto_msgTypes[5] 544 if protoimpl.UnsafeEnabled && x != nil { 545 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 546 if ms.LoadMessageInfo() == nil { 547 ms.StoreMessageInfo(mi) 548 } 549 return ms 550 } 551 return mi.MessageOf(x) 552 } 553 554 // Deprecated: Use GadgetStopRequest.ProtoReflect.Descriptor instead. 555 func (*GadgetStopRequest) Descriptor() ([]byte, []int) { 556 return file_api_api_proto_rawDescGZIP(), []int{5} 557 } 558 559 type GadgetControlRequest struct { 560 state protoimpl.MessageState 561 sizeCache protoimpl.SizeCache 562 unknownFields protoimpl.UnknownFields 563 564 // Types that are assignable to Event: 565 // *GadgetControlRequest_RunRequest 566 // *GadgetControlRequest_StopRequest 567 Event isGadgetControlRequest_Event `protobuf_oneof:"Event"` 568 } 569 570 func (x *GadgetControlRequest) Reset() { 571 *x = GadgetControlRequest{} 572 if protoimpl.UnsafeEnabled { 573 mi := &file_api_api_proto_msgTypes[6] 574 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 575 ms.StoreMessageInfo(mi) 576 } 577 } 578 579 func (x *GadgetControlRequest) String() string { 580 return protoimpl.X.MessageStringOf(x) 581 } 582 583 func (*GadgetControlRequest) ProtoMessage() {} 584 585 func (x *GadgetControlRequest) ProtoReflect() protoreflect.Message { 586 mi := &file_api_api_proto_msgTypes[6] 587 if protoimpl.UnsafeEnabled && x != nil { 588 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 589 if ms.LoadMessageInfo() == nil { 590 ms.StoreMessageInfo(mi) 591 } 592 return ms 593 } 594 return mi.MessageOf(x) 595 } 596 597 // Deprecated: Use GadgetControlRequest.ProtoReflect.Descriptor instead. 598 func (*GadgetControlRequest) Descriptor() ([]byte, []int) { 599 return file_api_api_proto_rawDescGZIP(), []int{6} 600 } 601 602 func (m *GadgetControlRequest) GetEvent() isGadgetControlRequest_Event { 603 if m != nil { 604 return m.Event 605 } 606 return nil 607 } 608 609 func (x *GadgetControlRequest) GetRunRequest() *GadgetRunRequest { 610 if x, ok := x.GetEvent().(*GadgetControlRequest_RunRequest); ok { 611 return x.RunRequest 612 } 613 return nil 614 } 615 616 func (x *GadgetControlRequest) GetStopRequest() *GadgetStopRequest { 617 if x, ok := x.GetEvent().(*GadgetControlRequest_StopRequest); ok { 618 return x.StopRequest 619 } 620 return nil 621 } 622 623 type isGadgetControlRequest_Event interface { 624 isGadgetControlRequest_Event() 625 } 626 627 type GadgetControlRequest_RunRequest struct { 628 RunRequest *GadgetRunRequest `protobuf:"bytes,1,opt,name=runRequest,proto3,oneof"` 629 } 630 631 type GadgetControlRequest_StopRequest struct { 632 StopRequest *GadgetStopRequest `protobuf:"bytes,2,opt,name=stopRequest,proto3,oneof"` 633 } 634 635 func (*GadgetControlRequest_RunRequest) isGadgetControlRequest_Event() {} 636 637 func (*GadgetControlRequest_StopRequest) isGadgetControlRequest_Event() {} 638 639 type InfoRequest struct { 640 state protoimpl.MessageState 641 sizeCache protoimpl.SizeCache 642 unknownFields protoimpl.UnknownFields 643 644 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` 645 } 646 647 func (x *InfoRequest) Reset() { 648 *x = InfoRequest{} 649 if protoimpl.UnsafeEnabled { 650 mi := &file_api_api_proto_msgTypes[7] 651 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 652 ms.StoreMessageInfo(mi) 653 } 654 } 655 656 func (x *InfoRequest) String() string { 657 return protoimpl.X.MessageStringOf(x) 658 } 659 660 func (*InfoRequest) ProtoMessage() {} 661 662 func (x *InfoRequest) ProtoReflect() protoreflect.Message { 663 mi := &file_api_api_proto_msgTypes[7] 664 if protoimpl.UnsafeEnabled && x != nil { 665 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 666 if ms.LoadMessageInfo() == nil { 667 ms.StoreMessageInfo(mi) 668 } 669 return ms 670 } 671 return mi.MessageOf(x) 672 } 673 674 // Deprecated: Use InfoRequest.ProtoReflect.Descriptor instead. 675 func (*InfoRequest) Descriptor() ([]byte, []int) { 676 return file_api_api_proto_rawDescGZIP(), []int{7} 677 } 678 679 func (x *InfoRequest) GetVersion() string { 680 if x != nil { 681 return x.Version 682 } 683 return "" 684 } 685 686 type InfoResponse struct { 687 state protoimpl.MessageState 688 sizeCache protoimpl.SizeCache 689 unknownFields protoimpl.UnknownFields 690 691 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` 692 Catalog []byte `protobuf:"bytes,2,opt,name=catalog,proto3" json:"catalog,omitempty"` 693 Experimental bool `protobuf:"varint,3,opt,name=experimental,proto3" json:"experimental,omitempty"` 694 ServerVersion string `protobuf:"bytes,4,opt,name=serverVersion,proto3" json:"serverVersion,omitempty"` 695 } 696 697 func (x *InfoResponse) Reset() { 698 *x = InfoResponse{} 699 if protoimpl.UnsafeEnabled { 700 mi := &file_api_api_proto_msgTypes[8] 701 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 702 ms.StoreMessageInfo(mi) 703 } 704 } 705 706 func (x *InfoResponse) String() string { 707 return protoimpl.X.MessageStringOf(x) 708 } 709 710 func (*InfoResponse) ProtoMessage() {} 711 712 func (x *InfoResponse) ProtoReflect() protoreflect.Message { 713 mi := &file_api_api_proto_msgTypes[8] 714 if protoimpl.UnsafeEnabled && x != nil { 715 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 716 if ms.LoadMessageInfo() == nil { 717 ms.StoreMessageInfo(mi) 718 } 719 return ms 720 } 721 return mi.MessageOf(x) 722 } 723 724 // Deprecated: Use InfoResponse.ProtoReflect.Descriptor instead. 725 func (*InfoResponse) Descriptor() ([]byte, []int) { 726 return file_api_api_proto_rawDescGZIP(), []int{8} 727 } 728 729 func (x *InfoResponse) GetVersion() string { 730 if x != nil { 731 return x.Version 732 } 733 return "" 734 } 735 736 func (x *InfoResponse) GetCatalog() []byte { 737 if x != nil { 738 return x.Catalog 739 } 740 return nil 741 } 742 743 func (x *InfoResponse) GetExperimental() bool { 744 if x != nil { 745 return x.Experimental 746 } 747 return false 748 } 749 750 func (x *InfoResponse) GetServerVersion() string { 751 if x != nil { 752 return x.ServerVersion 753 } 754 return "" 755 } 756 757 type GadgetData struct { 758 state protoimpl.MessageState 759 sizeCache protoimpl.SizeCache 760 unknownFields protoimpl.UnknownFields 761 762 Node string `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` 763 Seq uint32 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` 764 Payload [][]byte `protobuf:"bytes,3,rep,name=payload,proto3" json:"payload,omitempty"` 765 } 766 767 func (x *GadgetData) Reset() { 768 *x = GadgetData{} 769 if protoimpl.UnsafeEnabled { 770 mi := &file_api_api_proto_msgTypes[9] 771 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 772 ms.StoreMessageInfo(mi) 773 } 774 } 775 776 func (x *GadgetData) String() string { 777 return protoimpl.X.MessageStringOf(x) 778 } 779 780 func (*GadgetData) ProtoMessage() {} 781 782 func (x *GadgetData) ProtoReflect() protoreflect.Message { 783 mi := &file_api_api_proto_msgTypes[9] 784 if protoimpl.UnsafeEnabled && x != nil { 785 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 786 if ms.LoadMessageInfo() == nil { 787 ms.StoreMessageInfo(mi) 788 } 789 return ms 790 } 791 return mi.MessageOf(x) 792 } 793 794 // Deprecated: Use GadgetData.ProtoReflect.Descriptor instead. 795 func (*GadgetData) Descriptor() ([]byte, []int) { 796 return file_api_api_proto_rawDescGZIP(), []int{9} 797 } 798 799 func (x *GadgetData) GetNode() string { 800 if x != nil { 801 return x.Node 802 } 803 return "" 804 } 805 806 func (x *GadgetData) GetSeq() uint32 { 807 if x != nil { 808 return x.Seq 809 } 810 return 0 811 } 812 813 func (x *GadgetData) GetPayload() [][]byte { 814 if x != nil { 815 return x.Payload 816 } 817 return nil 818 } 819 820 type Param struct { 821 state protoimpl.MessageState 822 sizeCache protoimpl.SizeCache 823 unknownFields protoimpl.UnknownFields 824 825 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 826 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 827 DefaultValue string `protobuf:"bytes,3,opt,name=defaultValue,proto3" json:"defaultValue,omitempty"` 828 TypeHint string `protobuf:"bytes,4,opt,name=typeHint,proto3" json:"typeHint,omitempty"` 829 Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` 830 Alias string `protobuf:"bytes,6,opt,name=alias,proto3" json:"alias,omitempty"` 831 Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"` 832 ValueHint string `protobuf:"bytes,8,opt,name=valueHint,proto3" json:"valueHint,omitempty"` 833 PossibleValues []string `protobuf:"bytes,9,rep,name=possibleValues,proto3" json:"possibleValues,omitempty"` 834 IsMandatory bool `protobuf:"varint,10,opt,name=isMandatory,proto3" json:"isMandatory,omitempty"` 835 Prefix string `protobuf:"bytes,11,opt,name=prefix,proto3" json:"prefix,omitempty"` 836 } 837 838 func (x *Param) Reset() { 839 *x = Param{} 840 if protoimpl.UnsafeEnabled { 841 mi := &file_api_api_proto_msgTypes[10] 842 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 843 ms.StoreMessageInfo(mi) 844 } 845 } 846 847 func (x *Param) String() string { 848 return protoimpl.X.MessageStringOf(x) 849 } 850 851 func (*Param) ProtoMessage() {} 852 853 func (x *Param) ProtoReflect() protoreflect.Message { 854 mi := &file_api_api_proto_msgTypes[10] 855 if protoimpl.UnsafeEnabled && x != nil { 856 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 857 if ms.LoadMessageInfo() == nil { 858 ms.StoreMessageInfo(mi) 859 } 860 return ms 861 } 862 return mi.MessageOf(x) 863 } 864 865 // Deprecated: Use Param.ProtoReflect.Descriptor instead. 866 func (*Param) Descriptor() ([]byte, []int) { 867 return file_api_api_proto_rawDescGZIP(), []int{10} 868 } 869 870 func (x *Param) GetKey() string { 871 if x != nil { 872 return x.Key 873 } 874 return "" 875 } 876 877 func (x *Param) GetDescription() string { 878 if x != nil { 879 return x.Description 880 } 881 return "" 882 } 883 884 func (x *Param) GetDefaultValue() string { 885 if x != nil { 886 return x.DefaultValue 887 } 888 return "" 889 } 890 891 func (x *Param) GetTypeHint() string { 892 if x != nil { 893 return x.TypeHint 894 } 895 return "" 896 } 897 898 func (x *Param) GetTitle() string { 899 if x != nil { 900 return x.Title 901 } 902 return "" 903 } 904 905 func (x *Param) GetAlias() string { 906 if x != nil { 907 return x.Alias 908 } 909 return "" 910 } 911 912 func (x *Param) GetTags() []string { 913 if x != nil { 914 return x.Tags 915 } 916 return nil 917 } 918 919 func (x *Param) GetValueHint() string { 920 if x != nil { 921 return x.ValueHint 922 } 923 return "" 924 } 925 926 func (x *Param) GetPossibleValues() []string { 927 if x != nil { 928 return x.PossibleValues 929 } 930 return nil 931 } 932 933 func (x *Param) GetIsMandatory() bool { 934 if x != nil { 935 return x.IsMandatory 936 } 937 return false 938 } 939 940 func (x *Param) GetPrefix() string { 941 if x != nil { 942 return x.Prefix 943 } 944 return "" 945 } 946 947 type GadgetInfo struct { 948 state protoimpl.MessageState 949 sizeCache protoimpl.SizeCache 950 unknownFields protoimpl.UnknownFields 951 952 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 953 ImageName string `protobuf:"bytes,2,opt,name=imageName,proto3" json:"imageName,omitempty"` 954 DataSources []*DataSource `protobuf:"bytes,4,rep,name=dataSources,proto3" json:"dataSources,omitempty"` 955 Annotations map[string]string `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 956 Metadata []byte `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` 957 Params []*Param `protobuf:"bytes,7,rep,name=params,proto3" json:"params,omitempty"` 958 } 959 960 func (x *GadgetInfo) Reset() { 961 *x = GadgetInfo{} 962 if protoimpl.UnsafeEnabled { 963 mi := &file_api_api_proto_msgTypes[11] 964 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 965 ms.StoreMessageInfo(mi) 966 } 967 } 968 969 func (x *GadgetInfo) String() string { 970 return protoimpl.X.MessageStringOf(x) 971 } 972 973 func (*GadgetInfo) ProtoMessage() {} 974 975 func (x *GadgetInfo) ProtoReflect() protoreflect.Message { 976 mi := &file_api_api_proto_msgTypes[11] 977 if protoimpl.UnsafeEnabled && x != nil { 978 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 979 if ms.LoadMessageInfo() == nil { 980 ms.StoreMessageInfo(mi) 981 } 982 return ms 983 } 984 return mi.MessageOf(x) 985 } 986 987 // Deprecated: Use GadgetInfo.ProtoReflect.Descriptor instead. 988 func (*GadgetInfo) Descriptor() ([]byte, []int) { 989 return file_api_api_proto_rawDescGZIP(), []int{11} 990 } 991 992 func (x *GadgetInfo) GetName() string { 993 if x != nil { 994 return x.Name 995 } 996 return "" 997 } 998 999 func (x *GadgetInfo) GetImageName() string { 1000 if x != nil { 1001 return x.ImageName 1002 } 1003 return "" 1004 } 1005 1006 func (x *GadgetInfo) GetDataSources() []*DataSource { 1007 if x != nil { 1008 return x.DataSources 1009 } 1010 return nil 1011 } 1012 1013 func (x *GadgetInfo) GetAnnotations() map[string]string { 1014 if x != nil { 1015 return x.Annotations 1016 } 1017 return nil 1018 } 1019 1020 func (x *GadgetInfo) GetMetadata() []byte { 1021 if x != nil { 1022 return x.Metadata 1023 } 1024 return nil 1025 } 1026 1027 func (x *GadgetInfo) GetParams() []*Param { 1028 if x != nil { 1029 return x.Params 1030 } 1031 return nil 1032 } 1033 1034 type DataSource struct { 1035 state protoimpl.MessageState 1036 sizeCache protoimpl.SizeCache 1037 unknownFields protoimpl.UnknownFields 1038 1039 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` 1040 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 1041 Type uint32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` 1042 Fields []*Field `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"` 1043 Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` 1044 Annotations map[string]string `protobuf:"bytes,6,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1045 Flags uint32 `protobuf:"varint,7,opt,name=flags,proto3" json:"flags,omitempty"` 1046 } 1047 1048 func (x *DataSource) Reset() { 1049 *x = DataSource{} 1050 if protoimpl.UnsafeEnabled { 1051 mi := &file_api_api_proto_msgTypes[12] 1052 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1053 ms.StoreMessageInfo(mi) 1054 } 1055 } 1056 1057 func (x *DataSource) String() string { 1058 return protoimpl.X.MessageStringOf(x) 1059 } 1060 1061 func (*DataSource) ProtoMessage() {} 1062 1063 func (x *DataSource) ProtoReflect() protoreflect.Message { 1064 mi := &file_api_api_proto_msgTypes[12] 1065 if protoimpl.UnsafeEnabled && x != nil { 1066 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1067 if ms.LoadMessageInfo() == nil { 1068 ms.StoreMessageInfo(mi) 1069 } 1070 return ms 1071 } 1072 return mi.MessageOf(x) 1073 } 1074 1075 // Deprecated: Use DataSource.ProtoReflect.Descriptor instead. 1076 func (*DataSource) Descriptor() ([]byte, []int) { 1077 return file_api_api_proto_rawDescGZIP(), []int{12} 1078 } 1079 1080 func (x *DataSource) GetId() uint32 { 1081 if x != nil { 1082 return x.Id 1083 } 1084 return 0 1085 } 1086 1087 func (x *DataSource) GetName() string { 1088 if x != nil { 1089 return x.Name 1090 } 1091 return "" 1092 } 1093 1094 func (x *DataSource) GetType() uint32 { 1095 if x != nil { 1096 return x.Type 1097 } 1098 return 0 1099 } 1100 1101 func (x *DataSource) GetFields() []*Field { 1102 if x != nil { 1103 return x.Fields 1104 } 1105 return nil 1106 } 1107 1108 func (x *DataSource) GetTags() []string { 1109 if x != nil { 1110 return x.Tags 1111 } 1112 return nil 1113 } 1114 1115 func (x *DataSource) GetAnnotations() map[string]string { 1116 if x != nil { 1117 return x.Annotations 1118 } 1119 return nil 1120 } 1121 1122 func (x *DataSource) GetFlags() uint32 { 1123 if x != nil { 1124 return x.Flags 1125 } 1126 return 0 1127 } 1128 1129 type Field struct { 1130 state protoimpl.MessageState 1131 sizeCache protoimpl.SizeCache 1132 unknownFields protoimpl.UnknownFields 1133 1134 // name contains the plain field name 1135 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1136 // fullName contains a fully qualified field name 1137 // e.g. when it is a sub field of another, it's called 1138 // otherfieldsname.name 1139 FullName string `protobuf:"bytes,2,opt,name=fullName,proto3" json:"fullName,omitempty"` 1140 // index holds the index to this field inside the 1141 // field array of the DataSource 1142 Index uint32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` 1143 // payloadIndex describes in which payload this field 1144 // is contained 1145 PayloadIndex uint32 `protobuf:"varint,4,opt,name=payloadIndex,proto3" json:"payloadIndex,omitempty"` 1146 // offs is the offset of the fields' contents inside the 1147 // payload specified by payloadIndex 1148 Offs uint32 `protobuf:"varint,5,opt,name=offs,proto3" json:"offs,omitempty"` 1149 // size is (if fixed) the size of the fields' content 1150 Size uint32 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` 1151 // flags describe different attributes of the field, like 1152 // whether it has a parent, is virtual, etc. 1153 Flags uint32 `protobuf:"varint,7,opt,name=flags,proto3" json:"flags,omitempty"` 1154 // kind describes how the content of the field should be 1155 // handled 1156 Kind Kind `protobuf:"varint,8,opt,name=kind,proto3,enum=api.Kind" json:"kind,omitempty"` 1157 // tags can contain multiple tags that describe the contents 1158 // of the field; they are used by operators to find 1159 // interesting fields, for example 1160 Tags []string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"` 1161 // annotations are additional information that can be used 1162 // by operators or third party consumers 1163 Annotations map[string]string `protobuf:"bytes,10,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1164 // parent holds the index of the field that is considered 1165 // this fields' parent; only true if the corresponding flag 1166 // is set in flags 1167 Parent uint32 `protobuf:"varint,11,opt,name=parent,proto3" json:"parent,omitempty"` 1168 // order determines the default position of this field when 1169 // ordering multiple fields 1170 Order int32 `protobuf:"varint,12,opt,name=order,proto3" json:"order,omitempty"` 1171 } 1172 1173 func (x *Field) Reset() { 1174 *x = Field{} 1175 if protoimpl.UnsafeEnabled { 1176 mi := &file_api_api_proto_msgTypes[13] 1177 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1178 ms.StoreMessageInfo(mi) 1179 } 1180 } 1181 1182 func (x *Field) String() string { 1183 return protoimpl.X.MessageStringOf(x) 1184 } 1185 1186 func (*Field) ProtoMessage() {} 1187 1188 func (x *Field) ProtoReflect() protoreflect.Message { 1189 mi := &file_api_api_proto_msgTypes[13] 1190 if protoimpl.UnsafeEnabled && x != nil { 1191 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1192 if ms.LoadMessageInfo() == nil { 1193 ms.StoreMessageInfo(mi) 1194 } 1195 return ms 1196 } 1197 return mi.MessageOf(x) 1198 } 1199 1200 // Deprecated: Use Field.ProtoReflect.Descriptor instead. 1201 func (*Field) Descriptor() ([]byte, []int) { 1202 return file_api_api_proto_rawDescGZIP(), []int{13} 1203 } 1204 1205 func (x *Field) GetName() string { 1206 if x != nil { 1207 return x.Name 1208 } 1209 return "" 1210 } 1211 1212 func (x *Field) GetFullName() string { 1213 if x != nil { 1214 return x.FullName 1215 } 1216 return "" 1217 } 1218 1219 func (x *Field) GetIndex() uint32 { 1220 if x != nil { 1221 return x.Index 1222 } 1223 return 0 1224 } 1225 1226 func (x *Field) GetPayloadIndex() uint32 { 1227 if x != nil { 1228 return x.PayloadIndex 1229 } 1230 return 0 1231 } 1232 1233 func (x *Field) GetOffs() uint32 { 1234 if x != nil { 1235 return x.Offs 1236 } 1237 return 0 1238 } 1239 1240 func (x *Field) GetSize() uint32 { 1241 if x != nil { 1242 return x.Size 1243 } 1244 return 0 1245 } 1246 1247 func (x *Field) GetFlags() uint32 { 1248 if x != nil { 1249 return x.Flags 1250 } 1251 return 0 1252 } 1253 1254 func (x *Field) GetKind() Kind { 1255 if x != nil { 1256 return x.Kind 1257 } 1258 return Kind_Invalid 1259 } 1260 1261 func (x *Field) GetTags() []string { 1262 if x != nil { 1263 return x.Tags 1264 } 1265 return nil 1266 } 1267 1268 func (x *Field) GetAnnotations() map[string]string { 1269 if x != nil { 1270 return x.Annotations 1271 } 1272 return nil 1273 } 1274 1275 func (x *Field) GetParent() uint32 { 1276 if x != nil { 1277 return x.Parent 1278 } 1279 return 0 1280 } 1281 1282 func (x *Field) GetOrder() int32 { 1283 if x != nil { 1284 return x.Order 1285 } 1286 return 0 1287 } 1288 1289 type GetGadgetInfoRequest struct { 1290 state protoimpl.MessageState 1291 sizeCache protoimpl.SizeCache 1292 unknownFields protoimpl.UnknownFields 1293 1294 // params are the gadget's parameters 1295 ParamValues map[string]string `protobuf:"bytes,1,rep,name=paramValues,proto3" json:"paramValues,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1296 ImageName string `protobuf:"bytes,2,opt,name=imageName,proto3" json:"imageName,omitempty"` 1297 // can be used to inform about the expected version of GadgetInfo 1298 Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` 1299 } 1300 1301 func (x *GetGadgetInfoRequest) Reset() { 1302 *x = GetGadgetInfoRequest{} 1303 if protoimpl.UnsafeEnabled { 1304 mi := &file_api_api_proto_msgTypes[14] 1305 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1306 ms.StoreMessageInfo(mi) 1307 } 1308 } 1309 1310 func (x *GetGadgetInfoRequest) String() string { 1311 return protoimpl.X.MessageStringOf(x) 1312 } 1313 1314 func (*GetGadgetInfoRequest) ProtoMessage() {} 1315 1316 func (x *GetGadgetInfoRequest) ProtoReflect() protoreflect.Message { 1317 mi := &file_api_api_proto_msgTypes[14] 1318 if protoimpl.UnsafeEnabled && x != nil { 1319 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1320 if ms.LoadMessageInfo() == nil { 1321 ms.StoreMessageInfo(mi) 1322 } 1323 return ms 1324 } 1325 return mi.MessageOf(x) 1326 } 1327 1328 // Deprecated: Use GetGadgetInfoRequest.ProtoReflect.Descriptor instead. 1329 func (*GetGadgetInfoRequest) Descriptor() ([]byte, []int) { 1330 return file_api_api_proto_rawDescGZIP(), []int{14} 1331 } 1332 1333 func (x *GetGadgetInfoRequest) GetParamValues() map[string]string { 1334 if x != nil { 1335 return x.ParamValues 1336 } 1337 return nil 1338 } 1339 1340 func (x *GetGadgetInfoRequest) GetImageName() string { 1341 if x != nil { 1342 return x.ImageName 1343 } 1344 return "" 1345 } 1346 1347 func (x *GetGadgetInfoRequest) GetVersion() uint32 { 1348 if x != nil { 1349 return x.Version 1350 } 1351 return 0 1352 } 1353 1354 type GetGadgetInfoResponse struct { 1355 state protoimpl.MessageState 1356 sizeCache protoimpl.SizeCache 1357 unknownFields protoimpl.UnknownFields 1358 1359 GadgetInfo *GadgetInfo `protobuf:"bytes,1,opt,name=gadgetInfo,proto3" json:"gadgetInfo,omitempty"` 1360 } 1361 1362 func (x *GetGadgetInfoResponse) Reset() { 1363 *x = GetGadgetInfoResponse{} 1364 if protoimpl.UnsafeEnabled { 1365 mi := &file_api_api_proto_msgTypes[15] 1366 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1367 ms.StoreMessageInfo(mi) 1368 } 1369 } 1370 1371 func (x *GetGadgetInfoResponse) String() string { 1372 return protoimpl.X.MessageStringOf(x) 1373 } 1374 1375 func (*GetGadgetInfoResponse) ProtoMessage() {} 1376 1377 func (x *GetGadgetInfoResponse) ProtoReflect() protoreflect.Message { 1378 mi := &file_api_api_proto_msgTypes[15] 1379 if protoimpl.UnsafeEnabled && x != nil { 1380 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1381 if ms.LoadMessageInfo() == nil { 1382 ms.StoreMessageInfo(mi) 1383 } 1384 return ms 1385 } 1386 return mi.MessageOf(x) 1387 } 1388 1389 // Deprecated: Use GetGadgetInfoResponse.ProtoReflect.Descriptor instead. 1390 func (*GetGadgetInfoResponse) Descriptor() ([]byte, []int) { 1391 return file_api_api_proto_rawDescGZIP(), []int{15} 1392 } 1393 1394 func (x *GetGadgetInfoResponse) GetGadgetInfo() *GadgetInfo { 1395 if x != nil { 1396 return x.GadgetInfo 1397 } 1398 return nil 1399 } 1400 1401 var File_api_api_proto protoreflect.FileDescriptor 1402 1403 var file_api_api_proto_rawDesc = []byte{ 1404 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 1405 0x03, 0x61, 0x70, 0x69, 0x22, 0xd6, 0x02, 0x0a, 0x17, 0x42, 0x75, 0x69, 0x6c, 0x74, 0x49, 0x6e, 1406 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1407 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 1408 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 1409 0x12, 0x26, 0x0a, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 1410 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 1411 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x40, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 1412 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x42, 1413 0x75, 0x69, 0x6c, 0x74, 0x49, 0x6e, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x52, 0x75, 0x6e, 0x52, 1414 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 1415 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 1416 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x14, 1417 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x6e, 1418 0x6f, 0x64, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x61, 0x6e, 0x4f, 0x75, 0x74, 0x18, 0x0b, 1419 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x66, 0x61, 0x6e, 0x4f, 0x75, 0x74, 0x12, 0x1a, 0x0a, 0x08, 1420 0x6c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 1421 0x6c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 1422 0x6f, 0x75, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 1423 0x75, 0x74, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 1424 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 1425 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 1426 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x9e, 0x02, 1427 0x0a, 0x10, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 1428 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 1429 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 1430 0x12, 0x48, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 1431 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x61, 0x64, 0x67, 1432 0x65, 0x74, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x61, 0x72, 1433 0x61, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x70, 1434 0x61, 0x72, 0x61, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 1435 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x18, 1436 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 1437 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x4c, 1438 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x4c, 1439 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 1440 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x1a, 0x3e, 1441 0x0a, 0x10, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 1442 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 1443 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 1444 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x1a, 1445 0x0a, 0x18, 0x42, 0x75, 0x69, 0x6c, 0x74, 0x49, 0x6e, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x53, 1446 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x71, 0x0a, 0x0b, 0x47, 0x61, 1447 0x64, 0x67, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 1448 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 1449 0x03, 0x73, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x73, 0x65, 0x71, 0x12, 1450 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 1451 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x61, 0x74, 1452 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 1453 0x0c, 0x64, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x44, 0x22, 0xa9, 0x01, 1454 0x0a, 0x1b, 0x42, 0x75, 0x69, 0x6c, 0x74, 0x49, 0x6e, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 1455 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 1456 0x0a, 0x72, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 1457 0x0b, 0x32, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x74, 0x49, 0x6e, 0x47, 1458 0x61, 0x64, 0x67, 0x65, 0x74, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 1459 0x00, 0x52, 0x0a, 0x72, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 1460 0x0b, 0x73, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 1461 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x74, 0x49, 0x6e, 1462 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1463 0x74, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1464 0x42, 0x07, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x13, 0x0a, 0x11, 0x47, 0x61, 0x64, 1465 0x67, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x94, 1466 0x01, 0x0a, 0x14, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 1467 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x0a, 0x72, 0x75, 0x6e, 0x52, 0x65, 1468 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x70, 1469 0x69, 0x2e, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 1470 0x73, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1471 0x12, 0x3a, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 1472 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x61, 0x64, 0x67, 1473 0x65, 0x74, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 1474 0x0b, 0x73, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x07, 0x0a, 0x05, 1475 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x27, 0x0a, 0x0b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 1476 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 1477 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x8c, 1478 0x01, 0x0a, 0x0c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 1479 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 1480 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x61, 0x74, 1481 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x61, 0x74, 0x61, 1482 0x6c, 0x6f, 0x67, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 1483 0x74, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x65, 0x72, 1484 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x65, 1485 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 1486 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x4c, 0x0a, 1487 0x0a, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 1488 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 1489 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x73, 0x65, 1490 0x71, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x03, 1491 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xbb, 0x02, 0x0a, 0x05, 1492 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 1493 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 1494 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 1495 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x65, 0x66, 1496 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 1497 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 1498 0x08, 0x74, 0x79, 0x70, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 1499 0x08, 0x74, 0x79, 0x70, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 1500 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 1501 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 1502 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20, 1503 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x76, 0x61, 0x6c, 1504 0x75, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x76, 0x61, 1505 0x6c, 0x75, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x6f, 0x73, 0x73, 0x69, 1506 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 1507 0x0e, 0x70, 0x6f, 0x73, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 1508 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x4d, 0x61, 0x6e, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x0a, 1509 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4d, 0x61, 0x6e, 0x64, 0x61, 0x74, 0x6f, 0x72, 1510 0x79, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 1511 0x09, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x22, 0xb5, 0x02, 0x0a, 0x0a, 0x47, 0x61, 1512 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 1513 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 1514 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 1515 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x0b, 0x64, 0x61, 1516 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 1517 0x0f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 1518 0x52, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x42, 0x0a, 1519 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 1520 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 1521 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 1522 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1523 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 1524 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 1525 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 1526 0x61, 0x70, 0x69, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 1527 0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 1528 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 1529 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 1530 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 1531 0x01, 0x22, 0x96, 0x02, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 1532 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 1533 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 1534 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 1535 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 1536 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 1537 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x12, 0x0a, 0x04, 1538 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 1539 0x12, 0x42, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 1540 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x61, 0x74, 0x61, 1541 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 1542 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 1543 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20, 1544 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 1545 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 1546 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 1547 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 1548 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x8f, 0x03, 0x0a, 0x05, 0x46, 1549 0x69, 0x65, 0x6c, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 1550 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 1551 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 1552 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 1553 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x61, 1554 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 1555 0x52, 0x0c, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x12, 1556 0x0a, 0x04, 0x6f, 0x66, 0x66, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x6f, 0x66, 1557 0x66, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 1558 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 1559 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x1d, 0x0a, 0x04, 1560 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x61, 0x70, 0x69, 1561 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 1562 0x61, 0x67, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 1563 0x3d, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 1564 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 1565 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 1566 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x16, 1567 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 1568 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 1569 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x1a, 0x3e, 0x0a, 0x10, 1570 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 1571 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 1572 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 1573 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xdc, 0x01, 0x0a, 1574 0x14, 0x47, 0x65, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 1575 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x56, 0x61, 1576 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x61, 0x70, 0x69, 1577 0x2e, 0x47, 0x65, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 1578 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 1579 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x56, 0x61, 0x6c, 1580 0x75, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 1581 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 1582 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 1583 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x3e, 0x0a, 0x10, 0x50, 1584 0x61, 0x72, 0x61, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 1585 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 1586 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 1587 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x48, 0x0a, 0x15, 0x47, 1588 0x65, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 1589 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x0a, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 1590 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 1591 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x67, 0x61, 0x64, 0x67, 0x65, 1592 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2a, 0xaa, 0x01, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x0b, 1593 0x0a, 0x07, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x42, 1594 0x6f, 0x6f, 0x6c, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x6e, 0x74, 0x38, 0x10, 0x02, 0x12, 1595 0x09, 0x0a, 0x05, 0x49, 0x6e, 0x74, 0x31, 0x36, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x6e, 1596 0x74, 0x33, 0x32, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x10, 0x05, 1597 0x12, 0x09, 0x0a, 0x05, 0x55, 0x69, 0x6e, 0x74, 0x38, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x55, 1598 0x69, 0x6e, 0x74, 0x31, 0x36, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x69, 0x6e, 0x74, 0x33, 1599 0x32, 0x10, 0x08, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x10, 0x09, 0x12, 1600 0x0b, 0x0a, 0x07, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x33, 0x32, 0x10, 0x0a, 0x12, 0x0b, 0x0a, 0x07, 1601 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x36, 0x34, 0x10, 0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x74, 0x72, 1602 0x69, 0x6e, 0x67, 0x10, 0x0c, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 1603 0x10, 0x0d, 0x32, 0x96, 0x01, 0x0a, 0x14, 0x42, 0x75, 0x69, 0x6c, 0x74, 0x49, 0x6e, 0x47, 0x61, 1604 0x64, 0x67, 0x65, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x07, 0x47, 1605 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x49, 0x6e, 0x66, 1606 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x49, 1607 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 1608 0x10, 0x52, 0x75, 0x6e, 0x42, 0x75, 0x69, 0x6c, 0x74, 0x49, 0x6e, 0x47, 0x61, 0x64, 0x67, 0x65, 1609 0x74, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x74, 0x49, 0x6e, 0x47, 1610 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 1611 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 1612 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x32, 0x99, 0x01, 0x0a, 0x0d, 1613 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x48, 0x0a, 1614 0x0d, 0x47, 0x65, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 1615 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 1616 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 1617 0x47, 0x65, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 1618 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3e, 0x0a, 0x09, 0x52, 0x75, 0x6e, 0x47, 0x61, 1619 0x64, 0x67, 0x65, 0x74, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x61, 0x64, 0x67, 0x65, 1620 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 1621 0x10, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 1622 0x74, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0x45, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, 0x75, 1623 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x6b, 0x74, 0x6f, 0x72, 0x2d, 1624 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x6b, 0x74, 0x6f, 0x72, 1625 0x2d, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x67, 0x61, 0x64, 0x67, 1626 0x65, 0x74, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 1627 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1628 } 1629 1630 var ( 1631 file_api_api_proto_rawDescOnce sync.Once 1632 file_api_api_proto_rawDescData = file_api_api_proto_rawDesc 1633 ) 1634 1635 func file_api_api_proto_rawDescGZIP() []byte { 1636 file_api_api_proto_rawDescOnce.Do(func() { 1637 file_api_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_api_proto_rawDescData) 1638 }) 1639 return file_api_api_proto_rawDescData 1640 } 1641 1642 var file_api_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 1643 var file_api_api_proto_msgTypes = make([]protoimpl.MessageInfo, 22) 1644 var file_api_api_proto_goTypes = []interface{}{ 1645 (Kind)(0), // 0: api.Kind 1646 (*BuiltInGadgetRunRequest)(nil), // 1: api.BuiltInGadgetRunRequest 1647 (*GadgetRunRequest)(nil), // 2: api.GadgetRunRequest 1648 (*BuiltInGadgetStopRequest)(nil), // 3: api.BuiltInGadgetStopRequest 1649 (*GadgetEvent)(nil), // 4: api.GadgetEvent 1650 (*BuiltInGadgetControlRequest)(nil), // 5: api.BuiltInGadgetControlRequest 1651 (*GadgetStopRequest)(nil), // 6: api.GadgetStopRequest 1652 (*GadgetControlRequest)(nil), // 7: api.GadgetControlRequest 1653 (*InfoRequest)(nil), // 8: api.InfoRequest 1654 (*InfoResponse)(nil), // 9: api.InfoResponse 1655 (*GadgetData)(nil), // 10: api.GadgetData 1656 (*Param)(nil), // 11: api.Param 1657 (*GadgetInfo)(nil), // 12: api.GadgetInfo 1658 (*DataSource)(nil), // 13: api.DataSource 1659 (*Field)(nil), // 14: api.Field 1660 (*GetGadgetInfoRequest)(nil), // 15: api.GetGadgetInfoRequest 1661 (*GetGadgetInfoResponse)(nil), // 16: api.GetGadgetInfoResponse 1662 nil, // 17: api.BuiltInGadgetRunRequest.ParamsEntry 1663 nil, // 18: api.GadgetRunRequest.ParamValuesEntry 1664 nil, // 19: api.GadgetInfo.AnnotationsEntry 1665 nil, // 20: api.DataSource.AnnotationsEntry 1666 nil, // 21: api.Field.AnnotationsEntry 1667 nil, // 22: api.GetGadgetInfoRequest.ParamValuesEntry 1668 } 1669 var file_api_api_proto_depIdxs = []int32{ 1670 17, // 0: api.BuiltInGadgetRunRequest.params:type_name -> api.BuiltInGadgetRunRequest.ParamsEntry 1671 18, // 1: api.GadgetRunRequest.paramValues:type_name -> api.GadgetRunRequest.ParamValuesEntry 1672 1, // 2: api.BuiltInGadgetControlRequest.runRequest:type_name -> api.BuiltInGadgetRunRequest 1673 3, // 3: api.BuiltInGadgetControlRequest.stopRequest:type_name -> api.BuiltInGadgetStopRequest 1674 2, // 4: api.GadgetControlRequest.runRequest:type_name -> api.GadgetRunRequest 1675 6, // 5: api.GadgetControlRequest.stopRequest:type_name -> api.GadgetStopRequest 1676 13, // 6: api.GadgetInfo.dataSources:type_name -> api.DataSource 1677 19, // 7: api.GadgetInfo.annotations:type_name -> api.GadgetInfo.AnnotationsEntry 1678 11, // 8: api.GadgetInfo.params:type_name -> api.Param 1679 14, // 9: api.DataSource.fields:type_name -> api.Field 1680 20, // 10: api.DataSource.annotations:type_name -> api.DataSource.AnnotationsEntry 1681 0, // 11: api.Field.kind:type_name -> api.Kind 1682 21, // 12: api.Field.annotations:type_name -> api.Field.AnnotationsEntry 1683 22, // 13: api.GetGadgetInfoRequest.paramValues:type_name -> api.GetGadgetInfoRequest.ParamValuesEntry 1684 12, // 14: api.GetGadgetInfoResponse.gadgetInfo:type_name -> api.GadgetInfo 1685 8, // 15: api.BuiltInGadgetManager.GetInfo:input_type -> api.InfoRequest 1686 5, // 16: api.BuiltInGadgetManager.RunBuiltInGadget:input_type -> api.BuiltInGadgetControlRequest 1687 15, // 17: api.GadgetManager.GetGadgetInfo:input_type -> api.GetGadgetInfoRequest 1688 7, // 18: api.GadgetManager.RunGadget:input_type -> api.GadgetControlRequest 1689 9, // 19: api.BuiltInGadgetManager.GetInfo:output_type -> api.InfoResponse 1690 4, // 20: api.BuiltInGadgetManager.RunBuiltInGadget:output_type -> api.GadgetEvent 1691 16, // 21: api.GadgetManager.GetGadgetInfo:output_type -> api.GetGadgetInfoResponse 1692 4, // 22: api.GadgetManager.RunGadget:output_type -> api.GadgetEvent 1693 19, // [19:23] is the sub-list for method output_type 1694 15, // [15:19] is the sub-list for method input_type 1695 15, // [15:15] is the sub-list for extension type_name 1696 15, // [15:15] is the sub-list for extension extendee 1697 0, // [0:15] is the sub-list for field type_name 1698 } 1699 1700 func init() { file_api_api_proto_init() } 1701 func file_api_api_proto_init() { 1702 if File_api_api_proto != nil { 1703 return 1704 } 1705 if !protoimpl.UnsafeEnabled { 1706 file_api_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1707 switch v := v.(*BuiltInGadgetRunRequest); i { 1708 case 0: 1709 return &v.state 1710 case 1: 1711 return &v.sizeCache 1712 case 2: 1713 return &v.unknownFields 1714 default: 1715 return nil 1716 } 1717 } 1718 file_api_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1719 switch v := v.(*GadgetRunRequest); i { 1720 case 0: 1721 return &v.state 1722 case 1: 1723 return &v.sizeCache 1724 case 2: 1725 return &v.unknownFields 1726 default: 1727 return nil 1728 } 1729 } 1730 file_api_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1731 switch v := v.(*BuiltInGadgetStopRequest); i { 1732 case 0: 1733 return &v.state 1734 case 1: 1735 return &v.sizeCache 1736 case 2: 1737 return &v.unknownFields 1738 default: 1739 return nil 1740 } 1741 } 1742 file_api_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1743 switch v := v.(*GadgetEvent); i { 1744 case 0: 1745 return &v.state 1746 case 1: 1747 return &v.sizeCache 1748 case 2: 1749 return &v.unknownFields 1750 default: 1751 return nil 1752 } 1753 } 1754 file_api_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1755 switch v := v.(*BuiltInGadgetControlRequest); i { 1756 case 0: 1757 return &v.state 1758 case 1: 1759 return &v.sizeCache 1760 case 2: 1761 return &v.unknownFields 1762 default: 1763 return nil 1764 } 1765 } 1766 file_api_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1767 switch v := v.(*GadgetStopRequest); i { 1768 case 0: 1769 return &v.state 1770 case 1: 1771 return &v.sizeCache 1772 case 2: 1773 return &v.unknownFields 1774 default: 1775 return nil 1776 } 1777 } 1778 file_api_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1779 switch v := v.(*GadgetControlRequest); i { 1780 case 0: 1781 return &v.state 1782 case 1: 1783 return &v.sizeCache 1784 case 2: 1785 return &v.unknownFields 1786 default: 1787 return nil 1788 } 1789 } 1790 file_api_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1791 switch v := v.(*InfoRequest); i { 1792 case 0: 1793 return &v.state 1794 case 1: 1795 return &v.sizeCache 1796 case 2: 1797 return &v.unknownFields 1798 default: 1799 return nil 1800 } 1801 } 1802 file_api_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1803 switch v := v.(*InfoResponse); i { 1804 case 0: 1805 return &v.state 1806 case 1: 1807 return &v.sizeCache 1808 case 2: 1809 return &v.unknownFields 1810 default: 1811 return nil 1812 } 1813 } 1814 file_api_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1815 switch v := v.(*GadgetData); i { 1816 case 0: 1817 return &v.state 1818 case 1: 1819 return &v.sizeCache 1820 case 2: 1821 return &v.unknownFields 1822 default: 1823 return nil 1824 } 1825 } 1826 file_api_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1827 switch v := v.(*Param); i { 1828 case 0: 1829 return &v.state 1830 case 1: 1831 return &v.sizeCache 1832 case 2: 1833 return &v.unknownFields 1834 default: 1835 return nil 1836 } 1837 } 1838 file_api_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1839 switch v := v.(*GadgetInfo); i { 1840 case 0: 1841 return &v.state 1842 case 1: 1843 return &v.sizeCache 1844 case 2: 1845 return &v.unknownFields 1846 default: 1847 return nil 1848 } 1849 } 1850 file_api_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1851 switch v := v.(*DataSource); i { 1852 case 0: 1853 return &v.state 1854 case 1: 1855 return &v.sizeCache 1856 case 2: 1857 return &v.unknownFields 1858 default: 1859 return nil 1860 } 1861 } 1862 file_api_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1863 switch v := v.(*Field); i { 1864 case 0: 1865 return &v.state 1866 case 1: 1867 return &v.sizeCache 1868 case 2: 1869 return &v.unknownFields 1870 default: 1871 return nil 1872 } 1873 } 1874 file_api_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 1875 switch v := v.(*GetGadgetInfoRequest); i { 1876 case 0: 1877 return &v.state 1878 case 1: 1879 return &v.sizeCache 1880 case 2: 1881 return &v.unknownFields 1882 default: 1883 return nil 1884 } 1885 } 1886 file_api_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 1887 switch v := v.(*GetGadgetInfoResponse); i { 1888 case 0: 1889 return &v.state 1890 case 1: 1891 return &v.sizeCache 1892 case 2: 1893 return &v.unknownFields 1894 default: 1895 return nil 1896 } 1897 } 1898 } 1899 file_api_api_proto_msgTypes[4].OneofWrappers = []interface{}{ 1900 (*BuiltInGadgetControlRequest_RunRequest)(nil), 1901 (*BuiltInGadgetControlRequest_StopRequest)(nil), 1902 } 1903 file_api_api_proto_msgTypes[6].OneofWrappers = []interface{}{ 1904 (*GadgetControlRequest_RunRequest)(nil), 1905 (*GadgetControlRequest_StopRequest)(nil), 1906 } 1907 type x struct{} 1908 out := protoimpl.TypeBuilder{ 1909 File: protoimpl.DescBuilder{ 1910 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1911 RawDescriptor: file_api_api_proto_rawDesc, 1912 NumEnums: 1, 1913 NumMessages: 22, 1914 NumExtensions: 0, 1915 NumServices: 2, 1916 }, 1917 GoTypes: file_api_api_proto_goTypes, 1918 DependencyIndexes: file_api_api_proto_depIdxs, 1919 EnumInfos: file_api_api_proto_enumTypes, 1920 MessageInfos: file_api_api_proto_msgTypes, 1921 }.Build() 1922 File_api_api_proto = out.File 1923 file_api_api_proto_rawDesc = nil 1924 file_api_api_proto_goTypes = nil 1925 file_api_api_proto_depIdxs = nil 1926 }