github.com/Kindred87/Obsidian@v0.0.0-20210809203756-86936424b848/api/obsidian.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: obsidian.proto 6 7 package api 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type FileType int32 24 25 const ( 26 FileType_CSV FileType = 0 27 FileType_XLXS FileType = 1 28 FileType_HTML FileType = 2 29 ) 30 31 // Enum value maps for FileType. 32 var ( 33 FileType_name = map[int32]string{ 34 0: "CSV", 35 1: "XLXS", 36 2: "HTML", 37 } 38 FileType_value = map[string]int32{ 39 "CSV": 0, 40 "XLXS": 1, 41 "HTML": 2, 42 } 43 ) 44 45 func (x FileType) Enum() *FileType { 46 p := new(FileType) 47 *p = x 48 return p 49 } 50 51 func (x FileType) String() string { 52 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 53 } 54 55 func (FileType) Descriptor() protoreflect.EnumDescriptor { 56 return file_obsidian_proto_enumTypes[0].Descriptor() 57 } 58 59 func (FileType) Type() protoreflect.EnumType { 60 return &file_obsidian_proto_enumTypes[0] 61 } 62 63 func (x FileType) Number() protoreflect.EnumNumber { 64 return protoreflect.EnumNumber(x) 65 } 66 67 // Deprecated: Use FileType.Descriptor instead. 68 func (FileType) EnumDescriptor() ([]byte, []int) { 69 return file_obsidian_proto_rawDescGZIP(), []int{0} 70 } 71 72 type Response struct { 73 state protoimpl.MessageState 74 sizeCache protoimpl.SizeCache 75 unknownFields protoimpl.UnknownFields 76 77 Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"` 78 } 79 80 func (x *Response) Reset() { 81 *x = Response{} 82 if protoimpl.UnsafeEnabled { 83 mi := &file_obsidian_proto_msgTypes[0] 84 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 85 ms.StoreMessageInfo(mi) 86 } 87 } 88 89 func (x *Response) String() string { 90 return protoimpl.X.MessageStringOf(x) 91 } 92 93 func (*Response) ProtoMessage() {} 94 95 func (x *Response) ProtoReflect() protoreflect.Message { 96 mi := &file_obsidian_proto_msgTypes[0] 97 if protoimpl.UnsafeEnabled && x != nil { 98 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 99 if ms.LoadMessageInfo() == nil { 100 ms.StoreMessageInfo(mi) 101 } 102 return ms 103 } 104 return mi.MessageOf(x) 105 } 106 107 // Deprecated: Use Response.ProtoReflect.Descriptor instead. 108 func (*Response) Descriptor() ([]byte, []int) { 109 return file_obsidian_proto_rawDescGZIP(), []int{0} 110 } 111 112 func (x *Response) GetMessage() string { 113 if x != nil { 114 return x.Message 115 } 116 return "" 117 } 118 119 // For specifying parameters of a new datasource 120 type DatasourceAddRequest struct { 121 state protoimpl.MessageState 122 sizeCache protoimpl.SizeCache 123 unknownFields protoimpl.UnknownFields 124 125 OverwriteExistingConfig bool `protobuf:"varint,1,opt,name=overwrite_existing_config,json=overwriteExistingConfig,proto3" json:"overwrite_existing_config,omitempty"` 126 DatasourceName string `protobuf:"bytes,2,opt,name=datasource_name,json=datasourceName,proto3" json:"datasource_name,omitempty"` 127 SearchInProgramDirectory bool `protobuf:"varint,3,opt,name=search_in_program_directory,json=searchInProgramDirectory,proto3" json:"search_in_program_directory,omitempty"` 128 DirectoriesToSearch []string `protobuf:"bytes,4,rep,name=directories_to_search,json=directoriesToSearch,proto3" json:"directories_to_search,omitempty"` 129 FileExtension FileType `protobuf:"varint,5,opt,name=file_extension,json=fileExtension,proto3,enum=api.FileType" json:"file_extension,omitempty"` 130 FilenameSpecifications []*FileSpec `protobuf:"bytes,6,rep,name=filename_specifications,json=filenameSpecifications,proto3" json:"filename_specifications,omitempty"` 131 RequireAllValueSpecifications bool `protobuf:"varint,7,opt,name=require_all_value_specifications,json=requireAllValueSpecifications,proto3" json:"require_all_value_specifications,omitempty"` 132 ValueSpecifications []*ValueSpec `protobuf:"bytes,8,rep,name=value_specifications,json=valueSpecifications,proto3" json:"value_specifications,omitempty"` 133 } 134 135 func (x *DatasourceAddRequest) Reset() { 136 *x = DatasourceAddRequest{} 137 if protoimpl.UnsafeEnabled { 138 mi := &file_obsidian_proto_msgTypes[1] 139 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 140 ms.StoreMessageInfo(mi) 141 } 142 } 143 144 func (x *DatasourceAddRequest) String() string { 145 return protoimpl.X.MessageStringOf(x) 146 } 147 148 func (*DatasourceAddRequest) ProtoMessage() {} 149 150 func (x *DatasourceAddRequest) ProtoReflect() protoreflect.Message { 151 mi := &file_obsidian_proto_msgTypes[1] 152 if protoimpl.UnsafeEnabled && x != nil { 153 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 154 if ms.LoadMessageInfo() == nil { 155 ms.StoreMessageInfo(mi) 156 } 157 return ms 158 } 159 return mi.MessageOf(x) 160 } 161 162 // Deprecated: Use DatasourceAddRequest.ProtoReflect.Descriptor instead. 163 func (*DatasourceAddRequest) Descriptor() ([]byte, []int) { 164 return file_obsidian_proto_rawDescGZIP(), []int{1} 165 } 166 167 func (x *DatasourceAddRequest) GetOverwriteExistingConfig() bool { 168 if x != nil { 169 return x.OverwriteExistingConfig 170 } 171 return false 172 } 173 174 func (x *DatasourceAddRequest) GetDatasourceName() string { 175 if x != nil { 176 return x.DatasourceName 177 } 178 return "" 179 } 180 181 func (x *DatasourceAddRequest) GetSearchInProgramDirectory() bool { 182 if x != nil { 183 return x.SearchInProgramDirectory 184 } 185 return false 186 } 187 188 func (x *DatasourceAddRequest) GetDirectoriesToSearch() []string { 189 if x != nil { 190 return x.DirectoriesToSearch 191 } 192 return nil 193 } 194 195 func (x *DatasourceAddRequest) GetFileExtension() FileType { 196 if x != nil { 197 return x.FileExtension 198 } 199 return FileType_CSV 200 } 201 202 func (x *DatasourceAddRequest) GetFilenameSpecifications() []*FileSpec { 203 if x != nil { 204 return x.FilenameSpecifications 205 } 206 return nil 207 } 208 209 func (x *DatasourceAddRequest) GetRequireAllValueSpecifications() bool { 210 if x != nil { 211 return x.RequireAllValueSpecifications 212 } 213 return false 214 } 215 216 func (x *DatasourceAddRequest) GetValueSpecifications() []*ValueSpec { 217 if x != nil { 218 return x.ValueSpecifications 219 } 220 return nil 221 } 222 223 type FileSpec struct { 224 state protoimpl.MessageState 225 sizeCache protoimpl.SizeCache 226 unknownFields protoimpl.UnknownFields 227 228 Filename string `protobuf:"bytes,1,opt,name=Filename,proto3" json:"Filename,omitempty"` 229 FilenameIsSubstring bool `protobuf:"varint,2,opt,name=FilenameIsSubstring,proto3" json:"FilenameIsSubstring,omitempty"` 230 } 231 232 func (x *FileSpec) Reset() { 233 *x = FileSpec{} 234 if protoimpl.UnsafeEnabled { 235 mi := &file_obsidian_proto_msgTypes[2] 236 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 237 ms.StoreMessageInfo(mi) 238 } 239 } 240 241 func (x *FileSpec) String() string { 242 return protoimpl.X.MessageStringOf(x) 243 } 244 245 func (*FileSpec) ProtoMessage() {} 246 247 func (x *FileSpec) ProtoReflect() protoreflect.Message { 248 mi := &file_obsidian_proto_msgTypes[2] 249 if protoimpl.UnsafeEnabled && x != nil { 250 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 251 if ms.LoadMessageInfo() == nil { 252 ms.StoreMessageInfo(mi) 253 } 254 return ms 255 } 256 return mi.MessageOf(x) 257 } 258 259 // Deprecated: Use FileSpec.ProtoReflect.Descriptor instead. 260 func (*FileSpec) Descriptor() ([]byte, []int) { 261 return file_obsidian_proto_rawDescGZIP(), []int{2} 262 } 263 264 func (x *FileSpec) GetFilename() string { 265 if x != nil { 266 return x.Filename 267 } 268 return "" 269 } 270 271 func (x *FileSpec) GetFilenameIsSubstring() bool { 272 if x != nil { 273 return x.FilenameIsSubstring 274 } 275 return false 276 } 277 278 type ValueSpec struct { 279 state protoimpl.MessageState 280 sizeCache protoimpl.SizeCache 281 unknownFields protoimpl.UnknownFields 282 283 Value string `protobuf:"bytes,1,opt,name=Value,proto3" json:"Value,omitempty"` 284 IsSubstring bool `protobuf:"varint,2,opt,name=IsSubstring,proto3" json:"IsSubstring,omitempty"` 285 InRow int32 `protobuf:"varint,3,opt,name=InRow,proto3" json:"InRow,omitempty"` 286 InColumn int32 `protobuf:"varint,4,opt,name=InColumn,proto3" json:"InColumn,omitempty"` 287 AnyPage bool `protobuf:"varint,5,opt,name=AnyPage,proto3" json:"AnyPage,omitempty"` 288 OnPage int32 `protobuf:"varint,6,opt,name=OnPage,proto3" json:"OnPage,omitempty"` 289 } 290 291 func (x *ValueSpec) Reset() { 292 *x = ValueSpec{} 293 if protoimpl.UnsafeEnabled { 294 mi := &file_obsidian_proto_msgTypes[3] 295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 296 ms.StoreMessageInfo(mi) 297 } 298 } 299 300 func (x *ValueSpec) String() string { 301 return protoimpl.X.MessageStringOf(x) 302 } 303 304 func (*ValueSpec) ProtoMessage() {} 305 306 func (x *ValueSpec) ProtoReflect() protoreflect.Message { 307 mi := &file_obsidian_proto_msgTypes[3] 308 if protoimpl.UnsafeEnabled && x != nil { 309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 310 if ms.LoadMessageInfo() == nil { 311 ms.StoreMessageInfo(mi) 312 } 313 return ms 314 } 315 return mi.MessageOf(x) 316 } 317 318 // Deprecated: Use ValueSpec.ProtoReflect.Descriptor instead. 319 func (*ValueSpec) Descriptor() ([]byte, []int) { 320 return file_obsidian_proto_rawDescGZIP(), []int{3} 321 } 322 323 func (x *ValueSpec) GetValue() string { 324 if x != nil { 325 return x.Value 326 } 327 return "" 328 } 329 330 func (x *ValueSpec) GetIsSubstring() bool { 331 if x != nil { 332 return x.IsSubstring 333 } 334 return false 335 } 336 337 func (x *ValueSpec) GetInRow() int32 { 338 if x != nil { 339 return x.InRow 340 } 341 return 0 342 } 343 344 func (x *ValueSpec) GetInColumn() int32 { 345 if x != nil { 346 return x.InColumn 347 } 348 return 0 349 } 350 351 func (x *ValueSpec) GetAnyPage() bool { 352 if x != nil { 353 return x.AnyPage 354 } 355 return false 356 } 357 358 func (x *ValueSpec) GetOnPage() int32 { 359 if x != nil { 360 return x.OnPage 361 } 362 return 0 363 } 364 365 type CheckDatasourceRequest struct { 366 state protoimpl.MessageState 367 sizeCache protoimpl.SizeCache 368 unknownFields protoimpl.UnknownFields 369 370 DatasourceAlias string `protobuf:"bytes,1,opt,name=DatasourceAlias,proto3" json:"DatasourceAlias,omitempty"` 371 } 372 373 func (x *CheckDatasourceRequest) Reset() { 374 *x = CheckDatasourceRequest{} 375 if protoimpl.UnsafeEnabled { 376 mi := &file_obsidian_proto_msgTypes[4] 377 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 378 ms.StoreMessageInfo(mi) 379 } 380 } 381 382 func (x *CheckDatasourceRequest) String() string { 383 return protoimpl.X.MessageStringOf(x) 384 } 385 386 func (*CheckDatasourceRequest) ProtoMessage() {} 387 388 func (x *CheckDatasourceRequest) ProtoReflect() protoreflect.Message { 389 mi := &file_obsidian_proto_msgTypes[4] 390 if protoimpl.UnsafeEnabled && x != nil { 391 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 392 if ms.LoadMessageInfo() == nil { 393 ms.StoreMessageInfo(mi) 394 } 395 return ms 396 } 397 return mi.MessageOf(x) 398 } 399 400 // Deprecated: Use CheckDatasourceRequest.ProtoReflect.Descriptor instead. 401 func (*CheckDatasourceRequest) Descriptor() ([]byte, []int) { 402 return file_obsidian_proto_rawDescGZIP(), []int{4} 403 } 404 405 func (x *CheckDatasourceRequest) GetDatasourceAlias() string { 406 if x != nil { 407 return x.DatasourceAlias 408 } 409 return "" 410 } 411 412 type CheckDatasourceResponse struct { 413 state protoimpl.MessageState 414 sizeCache protoimpl.SizeCache 415 unknownFields protoimpl.UnknownFields 416 417 Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"` 418 FilePath string `protobuf:"bytes,2,opt,name=FilePath,proto3" json:"FilePath,omitempty"` 419 } 420 421 func (x *CheckDatasourceResponse) Reset() { 422 *x = CheckDatasourceResponse{} 423 if protoimpl.UnsafeEnabled { 424 mi := &file_obsidian_proto_msgTypes[5] 425 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 426 ms.StoreMessageInfo(mi) 427 } 428 } 429 430 func (x *CheckDatasourceResponse) String() string { 431 return protoimpl.X.MessageStringOf(x) 432 } 433 434 func (*CheckDatasourceResponse) ProtoMessage() {} 435 436 func (x *CheckDatasourceResponse) ProtoReflect() protoreflect.Message { 437 mi := &file_obsidian_proto_msgTypes[5] 438 if protoimpl.UnsafeEnabled && x != nil { 439 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 440 if ms.LoadMessageInfo() == nil { 441 ms.StoreMessageInfo(mi) 442 } 443 return ms 444 } 445 return mi.MessageOf(x) 446 } 447 448 // Deprecated: Use CheckDatasourceResponse.ProtoReflect.Descriptor instead. 449 func (*CheckDatasourceResponse) Descriptor() ([]byte, []int) { 450 return file_obsidian_proto_rawDescGZIP(), []int{5} 451 } 452 453 func (x *CheckDatasourceResponse) GetMessage() string { 454 if x != nil { 455 return x.Message 456 } 457 return "" 458 } 459 460 func (x *CheckDatasourceResponse) GetFilePath() string { 461 if x != nil { 462 return x.FilePath 463 } 464 return "" 465 } 466 467 type HTMLNodeRequest struct { 468 state protoimpl.MessageState 469 sizeCache protoimpl.SizeCache 470 unknownFields protoimpl.UnknownFields 471 472 Help bool `protobuf:"varint,1,opt,name=Help,proto3" json:"Help,omitempty"` 473 DatasourceAlias string `protobuf:"bytes,2,opt,name=DatasourceAlias,proto3" json:"DatasourceAlias,omitempty"` 474 ParentLimit int32 `protobuf:"varint,3,opt,name=ParentLimit,proto3" json:"ParentLimit,omitempty"` 475 ValuesToFind []string `protobuf:"bytes,4,rep,name=ValuesToFind,proto3" json:"ValuesToFind,omitempty"` 476 } 477 478 func (x *HTMLNodeRequest) Reset() { 479 *x = HTMLNodeRequest{} 480 if protoimpl.UnsafeEnabled { 481 mi := &file_obsidian_proto_msgTypes[6] 482 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 483 ms.StoreMessageInfo(mi) 484 } 485 } 486 487 func (x *HTMLNodeRequest) String() string { 488 return protoimpl.X.MessageStringOf(x) 489 } 490 491 func (*HTMLNodeRequest) ProtoMessage() {} 492 493 func (x *HTMLNodeRequest) ProtoReflect() protoreflect.Message { 494 mi := &file_obsidian_proto_msgTypes[6] 495 if protoimpl.UnsafeEnabled && x != nil { 496 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 497 if ms.LoadMessageInfo() == nil { 498 ms.StoreMessageInfo(mi) 499 } 500 return ms 501 } 502 return mi.MessageOf(x) 503 } 504 505 // Deprecated: Use HTMLNodeRequest.ProtoReflect.Descriptor instead. 506 func (*HTMLNodeRequest) Descriptor() ([]byte, []int) { 507 return file_obsidian_proto_rawDescGZIP(), []int{6} 508 } 509 510 func (x *HTMLNodeRequest) GetHelp() bool { 511 if x != nil { 512 return x.Help 513 } 514 return false 515 } 516 517 func (x *HTMLNodeRequest) GetDatasourceAlias() string { 518 if x != nil { 519 return x.DatasourceAlias 520 } 521 return "" 522 } 523 524 func (x *HTMLNodeRequest) GetParentLimit() int32 { 525 if x != nil { 526 return x.ParentLimit 527 } 528 return 0 529 } 530 531 func (x *HTMLNodeRequest) GetValuesToFind() []string { 532 if x != nil { 533 return x.ValuesToFind 534 } 535 return nil 536 } 537 538 type HTMlNodeResponse struct { 539 state protoimpl.MessageState 540 sizeCache protoimpl.SizeCache 541 unknownFields protoimpl.UnknownFields 542 543 Message []string `protobuf:"bytes,1,rep,name=Message,proto3" json:"Message,omitempty"` 544 NodeList []*HTMLNodeList `protobuf:"bytes,2,rep,name=NodeList,proto3" json:"NodeList,omitempty"` 545 } 546 547 func (x *HTMlNodeResponse) Reset() { 548 *x = HTMlNodeResponse{} 549 if protoimpl.UnsafeEnabled { 550 mi := &file_obsidian_proto_msgTypes[7] 551 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 552 ms.StoreMessageInfo(mi) 553 } 554 } 555 556 func (x *HTMlNodeResponse) String() string { 557 return protoimpl.X.MessageStringOf(x) 558 } 559 560 func (*HTMlNodeResponse) ProtoMessage() {} 561 562 func (x *HTMlNodeResponse) ProtoReflect() protoreflect.Message { 563 mi := &file_obsidian_proto_msgTypes[7] 564 if protoimpl.UnsafeEnabled && x != nil { 565 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 566 if ms.LoadMessageInfo() == nil { 567 ms.StoreMessageInfo(mi) 568 } 569 return ms 570 } 571 return mi.MessageOf(x) 572 } 573 574 // Deprecated: Use HTMlNodeResponse.ProtoReflect.Descriptor instead. 575 func (*HTMlNodeResponse) Descriptor() ([]byte, []int) { 576 return file_obsidian_proto_rawDescGZIP(), []int{7} 577 } 578 579 func (x *HTMlNodeResponse) GetMessage() []string { 580 if x != nil { 581 return x.Message 582 } 583 return nil 584 } 585 586 func (x *HTMlNodeResponse) GetNodeList() []*HTMLNodeList { 587 if x != nil { 588 return x.NodeList 589 } 590 return nil 591 } 592 593 type HTMLNodeList struct { 594 state protoimpl.MessageState 595 sizeCache protoimpl.SizeCache 596 unknownFields protoimpl.UnknownFields 597 598 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` 599 Nodes []string `protobuf:"bytes,2,rep,name=Nodes,proto3" json:"Nodes,omitempty"` 600 } 601 602 func (x *HTMLNodeList) Reset() { 603 *x = HTMLNodeList{} 604 if protoimpl.UnsafeEnabled { 605 mi := &file_obsidian_proto_msgTypes[8] 606 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 607 ms.StoreMessageInfo(mi) 608 } 609 } 610 611 func (x *HTMLNodeList) String() string { 612 return protoimpl.X.MessageStringOf(x) 613 } 614 615 func (*HTMLNodeList) ProtoMessage() {} 616 617 func (x *HTMLNodeList) ProtoReflect() protoreflect.Message { 618 mi := &file_obsidian_proto_msgTypes[8] 619 if protoimpl.UnsafeEnabled && x != nil { 620 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 621 if ms.LoadMessageInfo() == nil { 622 ms.StoreMessageInfo(mi) 623 } 624 return ms 625 } 626 return mi.MessageOf(x) 627 } 628 629 // Deprecated: Use HTMLNodeList.ProtoReflect.Descriptor instead. 630 func (*HTMLNodeList) Descriptor() ([]byte, []int) { 631 return file_obsidian_proto_rawDescGZIP(), []int{8} 632 } 633 634 func (x *HTMLNodeList) GetName() string { 635 if x != nil { 636 return x.Name 637 } 638 return "" 639 } 640 641 func (x *HTMLNodeList) GetNodes() []string { 642 if x != nil { 643 return x.Nodes 644 } 645 return nil 646 } 647 648 type HTMLSearchRequest struct { 649 state protoimpl.MessageState 650 sizeCache protoimpl.SizeCache 651 unknownFields protoimpl.UnknownFields 652 653 DatasourceAlias string `protobuf:"bytes,1,opt,name=DatasourceAlias,proto3" json:"DatasourceAlias,omitempty"` 654 SearchGroups []*HTMLSearchGroup `protobuf:"bytes,2,rep,name=SearchGroups,proto3" json:"SearchGroups,omitempty"` 655 } 656 657 func (x *HTMLSearchRequest) Reset() { 658 *x = HTMLSearchRequest{} 659 if protoimpl.UnsafeEnabled { 660 mi := &file_obsidian_proto_msgTypes[9] 661 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 662 ms.StoreMessageInfo(mi) 663 } 664 } 665 666 func (x *HTMLSearchRequest) String() string { 667 return protoimpl.X.MessageStringOf(x) 668 } 669 670 func (*HTMLSearchRequest) ProtoMessage() {} 671 672 func (x *HTMLSearchRequest) ProtoReflect() protoreflect.Message { 673 mi := &file_obsidian_proto_msgTypes[9] 674 if protoimpl.UnsafeEnabled && x != nil { 675 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 676 if ms.LoadMessageInfo() == nil { 677 ms.StoreMessageInfo(mi) 678 } 679 return ms 680 } 681 return mi.MessageOf(x) 682 } 683 684 // Deprecated: Use HTMLSearchRequest.ProtoReflect.Descriptor instead. 685 func (*HTMLSearchRequest) Descriptor() ([]byte, []int) { 686 return file_obsidian_proto_rawDescGZIP(), []int{9} 687 } 688 689 func (x *HTMLSearchRequest) GetDatasourceAlias() string { 690 if x != nil { 691 return x.DatasourceAlias 692 } 693 return "" 694 } 695 696 func (x *HTMLSearchRequest) GetSearchGroups() []*HTMLSearchGroup { 697 if x != nil { 698 return x.SearchGroups 699 } 700 return nil 701 } 702 703 type HTMLSearchGroup struct { 704 state protoimpl.MessageState 705 sizeCache protoimpl.SizeCache 706 unknownFields protoimpl.UnknownFields 707 708 Values []string `protobuf:"bytes,1,rep,name=Values,proto3" json:"Values,omitempty"` 709 } 710 711 func (x *HTMLSearchGroup) Reset() { 712 *x = HTMLSearchGroup{} 713 if protoimpl.UnsafeEnabled { 714 mi := &file_obsidian_proto_msgTypes[10] 715 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 716 ms.StoreMessageInfo(mi) 717 } 718 } 719 720 func (x *HTMLSearchGroup) String() string { 721 return protoimpl.X.MessageStringOf(x) 722 } 723 724 func (*HTMLSearchGroup) ProtoMessage() {} 725 726 func (x *HTMLSearchGroup) ProtoReflect() protoreflect.Message { 727 mi := &file_obsidian_proto_msgTypes[10] 728 if protoimpl.UnsafeEnabled && x != nil { 729 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 730 if ms.LoadMessageInfo() == nil { 731 ms.StoreMessageInfo(mi) 732 } 733 return ms 734 } 735 return mi.MessageOf(x) 736 } 737 738 // Deprecated: Use HTMLSearchGroup.ProtoReflect.Descriptor instead. 739 func (*HTMLSearchGroup) Descriptor() ([]byte, []int) { 740 return file_obsidian_proto_rawDescGZIP(), []int{10} 741 } 742 743 func (x *HTMLSearchGroup) GetValues() []string { 744 if x != nil { 745 return x.Values 746 } 747 return nil 748 } 749 750 type HTMLSearchResponse struct { 751 state protoimpl.MessageState 752 sizeCache protoimpl.SizeCache 753 unknownFields protoimpl.UnknownFields 754 755 Message []string `protobuf:"bytes,1,rep,name=Message,proto3" json:"Message,omitempty"` 756 Results []*HTMLNodeList `protobuf:"bytes,2,rep,name=Results,proto3" json:"Results,omitempty"` 757 } 758 759 func (x *HTMLSearchResponse) Reset() { 760 *x = HTMLSearchResponse{} 761 if protoimpl.UnsafeEnabled { 762 mi := &file_obsidian_proto_msgTypes[11] 763 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 764 ms.StoreMessageInfo(mi) 765 } 766 } 767 768 func (x *HTMLSearchResponse) String() string { 769 return protoimpl.X.MessageStringOf(x) 770 } 771 772 func (*HTMLSearchResponse) ProtoMessage() {} 773 774 func (x *HTMLSearchResponse) ProtoReflect() protoreflect.Message { 775 mi := &file_obsidian_proto_msgTypes[11] 776 if protoimpl.UnsafeEnabled && x != nil { 777 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 778 if ms.LoadMessageInfo() == nil { 779 ms.StoreMessageInfo(mi) 780 } 781 return ms 782 } 783 return mi.MessageOf(x) 784 } 785 786 // Deprecated: Use HTMLSearchResponse.ProtoReflect.Descriptor instead. 787 func (*HTMLSearchResponse) Descriptor() ([]byte, []int) { 788 return file_obsidian_proto_rawDescGZIP(), []int{11} 789 } 790 791 func (x *HTMLSearchResponse) GetMessage() []string { 792 if x != nil { 793 return x.Message 794 } 795 return nil 796 } 797 798 func (x *HTMLSearchResponse) GetResults() []*HTMLNodeList { 799 if x != nil { 800 return x.Results 801 } 802 return nil 803 } 804 805 var File_obsidian_proto protoreflect.FileDescriptor 806 807 var file_obsidian_proto_rawDesc = []byte{ 808 0x0a, 0x0e, 0x6f, 0x62, 0x73, 0x69, 0x64, 0x69, 0x61, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 809 0x12, 0x03, 0x61, 0x70, 0x69, 0x22, 0x24, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 810 0x65, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 811 0x28, 0x09, 0x52, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xf8, 0x03, 0x0a, 0x14, 812 0x44, 0x61, 0x74, 0x61, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 813 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x19, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 814 0x65, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 815 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 816 0x74, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 817 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 818 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x73, 819 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x1b, 0x73, 0x65, 0x61, 820 0x72, 0x63, 0x68, 0x5f, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x64, 821 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 822 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x44, 823 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x69, 0x72, 0x65, 824 0x63, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 825 0x68, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 826 0x72, 0x69, 0x65, 0x73, 0x54, 0x6f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x34, 0x0a, 0x0e, 827 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 828 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x54, 829 0x79, 0x70, 0x65, 0x52, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 830 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x17, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x73, 831 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 832 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x70, 833 0x65, 0x63, 0x52, 0x16, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x70, 0x65, 0x63, 834 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x47, 0x0a, 0x20, 0x72, 0x65, 835 0x71, 0x75, 0x69, 0x72, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 836 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 837 0x20, 0x01, 0x28, 0x08, 0x52, 0x1d, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x41, 0x6c, 0x6c, 838 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 839 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x14, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x73, 0x70, 0x65, 840 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 841 0x0b, 0x32, 0x0e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x70, 0x65, 842 0x63, 0x52, 0x13, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 843 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x58, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x70, 844 0x65, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 845 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 846 0x0a, 0x13, 0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x49, 0x73, 0x53, 0x75, 0x62, 0x73, 847 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x46, 0x69, 0x6c, 848 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x49, 0x73, 0x53, 0x75, 0x62, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 849 0x22, 0xa7, 0x01, 0x0a, 0x09, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x14, 850 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x56, 851 0x61, 0x6c, 0x75, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x49, 0x73, 0x53, 0x75, 0x62, 0x73, 0x74, 0x72, 852 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x49, 0x73, 0x53, 0x75, 0x62, 853 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x49, 0x6e, 0x52, 0x6f, 0x77, 0x18, 854 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x49, 0x6e, 0x52, 0x6f, 0x77, 0x12, 0x1a, 0x0a, 0x08, 855 0x49, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 856 0x49, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x6e, 0x79, 0x50, 857 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x41, 0x6e, 0x79, 0x50, 0x61, 858 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x4f, 0x6e, 0x50, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 859 0x28, 0x05, 0x52, 0x06, 0x4f, 0x6e, 0x50, 0x61, 0x67, 0x65, 0x22, 0x42, 0x0a, 0x16, 0x43, 0x68, 860 0x65, 0x63, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 861 0x75, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x44, 0x61, 0x74, 0x61, 0x73, 0x6f, 0x75, 0x72, 862 0x63, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x44, 863 0x61, 0x74, 0x61, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x4f, 864 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x73, 0x6f, 0x75, 0x72, 0x63, 865 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x65, 0x73, 866 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4d, 0x65, 0x73, 0x73, 867 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x18, 868 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, 869 0x95, 0x01, 0x0a, 0x0f, 0x48, 0x54, 0x4d, 0x4c, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 870 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x48, 0x65, 0x6c, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 871 0x08, 0x52, 0x04, 0x48, 0x65, 0x6c, 0x70, 0x12, 0x28, 0x0a, 0x0f, 0x44, 0x61, 0x74, 0x61, 0x73, 872 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 873 0x52, 0x0f, 0x44, 0x61, 0x74, 0x61, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x6c, 0x69, 0x61, 874 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 875 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x69, 876 0x6d, 0x69, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x54, 0x6f, 0x46, 877 0x69, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x56, 0x61, 0x6c, 0x75, 0x65, 878 0x73, 0x54, 0x6f, 0x46, 0x69, 0x6e, 0x64, 0x22, 0x5b, 0x0a, 0x10, 0x48, 0x54, 0x4d, 0x6c, 0x4e, 879 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x4d, 880 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x4d, 0x65, 881 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 882 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x48, 0x54, 883 0x4d, 0x4c, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x08, 0x4e, 0x6f, 0x64, 0x65, 884 0x4c, 0x69, 0x73, 0x74, 0x22, 0x38, 0x0a, 0x0c, 0x48, 0x54, 0x4d, 0x4c, 0x4e, 0x6f, 0x64, 0x65, 885 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 886 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x4e, 0x6f, 0x64, 0x65, 887 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x77, 888 0x0a, 0x11, 0x48, 0x54, 0x4d, 0x4c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 889 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x44, 0x61, 0x74, 0x61, 0x73, 0x6f, 0x75, 0x72, 0x63, 890 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x44, 0x61, 891 0x74, 0x61, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x38, 0x0a, 892 0x0c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x02, 0x20, 893 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x48, 0x54, 0x4d, 0x4c, 0x53, 0x65, 894 0x61, 0x72, 0x63, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0c, 0x53, 0x65, 0x61, 0x72, 0x63, 895 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0x29, 0x0a, 0x0f, 0x48, 0x54, 0x4d, 0x4c, 0x53, 896 0x65, 0x61, 0x72, 0x63, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x56, 0x61, 897 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x56, 0x61, 0x6c, 0x75, 898 0x65, 0x73, 0x22, 0x5b, 0x0a, 0x12, 0x48, 0x54, 0x4d, 0x4c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 899 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 900 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 901 0x67, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 902 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x48, 0x54, 0x4d, 0x4c, 0x4e, 0x6f, 903 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x07, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x2a, 904 0x27, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x43, 905 0x53, 0x56, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x58, 0x4c, 0x58, 0x53, 0x10, 0x01, 0x12, 0x08, 906 0x0a, 0x04, 0x48, 0x54, 0x4d, 0x4c, 0x10, 0x02, 0x32, 0x9c, 0x02, 0x0a, 0x08, 0x4f, 0x62, 0x73, 907 0x69, 0x64, 0x69, 0x61, 0x6e, 0x12, 0x3b, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x44, 0x61, 0x74, 0x61, 908 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x61, 0x74, 909 0x61, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 910 0x74, 0x1a, 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 911 0x22, 0x00, 0x12, 0x51, 0x0a, 0x12, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x6f, 0x72, 0x44, 0x61, 912 0x74, 0x61, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 913 0x68, 0x65, 0x63, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 914 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x68, 0x65, 0x63, 915 0x6b, 0x44, 0x61, 0x74, 0x61, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 916 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0e, 0x48, 0x54, 0x4d, 0x4c, 0x4e, 0x6f, 0x64, 917 0x65, 0x48, 0x65, 0x6c, 0x70, 0x65, 0x72, 0x12, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x48, 0x54, 918 0x4d, 0x4c, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 919 0x61, 0x70, 0x69, 0x2e, 0x48, 0x54, 0x4d, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 920 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0a, 0x48, 0x54, 0x4d, 0x4c, 0x53, 0x65, 921 0x61, 0x72, 0x63, 0x68, 0x12, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x48, 0x54, 0x4d, 0x4c, 0x53, 922 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x61, 923 0x70, 0x69, 0x2e, 0x48, 0x54, 0x4d, 0x4c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 924 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 925 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4b, 0x69, 0x6e, 0x64, 0x72, 0x65, 0x64, 0x2f, 0x4f, 0x62, 926 0x73, 0x69, 0x64, 0x69, 0x61, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 927 0x6f, 0x33, 928 } 929 930 var ( 931 file_obsidian_proto_rawDescOnce sync.Once 932 file_obsidian_proto_rawDescData = file_obsidian_proto_rawDesc 933 ) 934 935 func file_obsidian_proto_rawDescGZIP() []byte { 936 file_obsidian_proto_rawDescOnce.Do(func() { 937 file_obsidian_proto_rawDescData = protoimpl.X.CompressGZIP(file_obsidian_proto_rawDescData) 938 }) 939 return file_obsidian_proto_rawDescData 940 } 941 942 var file_obsidian_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 943 var file_obsidian_proto_msgTypes = make([]protoimpl.MessageInfo, 12) 944 var file_obsidian_proto_goTypes = []interface{}{ 945 (FileType)(0), // 0: api.FileType 946 (*Response)(nil), // 1: api.Response 947 (*DatasourceAddRequest)(nil), // 2: api.DatasourceAddRequest 948 (*FileSpec)(nil), // 3: api.FileSpec 949 (*ValueSpec)(nil), // 4: api.ValueSpec 950 (*CheckDatasourceRequest)(nil), // 5: api.CheckDatasourceRequest 951 (*CheckDatasourceResponse)(nil), // 6: api.CheckDatasourceResponse 952 (*HTMLNodeRequest)(nil), // 7: api.HTMLNodeRequest 953 (*HTMlNodeResponse)(nil), // 8: api.HTMlNodeResponse 954 (*HTMLNodeList)(nil), // 9: api.HTMLNodeList 955 (*HTMLSearchRequest)(nil), // 10: api.HTMLSearchRequest 956 (*HTMLSearchGroup)(nil), // 11: api.HTMLSearchGroup 957 (*HTMLSearchResponse)(nil), // 12: api.HTMLSearchResponse 958 } 959 var file_obsidian_proto_depIdxs = []int32{ 960 0, // 0: api.DatasourceAddRequest.file_extension:type_name -> api.FileType 961 3, // 1: api.DatasourceAddRequest.filename_specifications:type_name -> api.FileSpec 962 4, // 2: api.DatasourceAddRequest.value_specifications:type_name -> api.ValueSpec 963 9, // 3: api.HTMlNodeResponse.NodeList:type_name -> api.HTMLNodeList 964 11, // 4: api.HTMLSearchRequest.SearchGroups:type_name -> api.HTMLSearchGroup 965 9, // 5: api.HTMLSearchResponse.Results:type_name -> api.HTMLNodeList 966 2, // 6: api.Obsidian.AddDatasource:input_type -> api.DatasourceAddRequest 967 5, // 7: api.Obsidian.CheckForDatasource:input_type -> api.CheckDatasourceRequest 968 7, // 8: api.Obsidian.HTMLNodeHelper:input_type -> api.HTMLNodeRequest 969 10, // 9: api.Obsidian.HTMLSearch:input_type -> api.HTMLSearchRequest 970 1, // 10: api.Obsidian.AddDatasource:output_type -> api.Response 971 6, // 11: api.Obsidian.CheckForDatasource:output_type -> api.CheckDatasourceResponse 972 8, // 12: api.Obsidian.HTMLNodeHelper:output_type -> api.HTMlNodeResponse 973 12, // 13: api.Obsidian.HTMLSearch:output_type -> api.HTMLSearchResponse 974 10, // [10:14] is the sub-list for method output_type 975 6, // [6:10] is the sub-list for method input_type 976 6, // [6:6] is the sub-list for extension type_name 977 6, // [6:6] is the sub-list for extension extendee 978 0, // [0:6] is the sub-list for field type_name 979 } 980 981 func init() { file_obsidian_proto_init() } 982 func file_obsidian_proto_init() { 983 if File_obsidian_proto != nil { 984 return 985 } 986 if !protoimpl.UnsafeEnabled { 987 file_obsidian_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 988 switch v := v.(*Response); i { 989 case 0: 990 return &v.state 991 case 1: 992 return &v.sizeCache 993 case 2: 994 return &v.unknownFields 995 default: 996 return nil 997 } 998 } 999 file_obsidian_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1000 switch v := v.(*DatasourceAddRequest); i { 1001 case 0: 1002 return &v.state 1003 case 1: 1004 return &v.sizeCache 1005 case 2: 1006 return &v.unknownFields 1007 default: 1008 return nil 1009 } 1010 } 1011 file_obsidian_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1012 switch v := v.(*FileSpec); i { 1013 case 0: 1014 return &v.state 1015 case 1: 1016 return &v.sizeCache 1017 case 2: 1018 return &v.unknownFields 1019 default: 1020 return nil 1021 } 1022 } 1023 file_obsidian_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1024 switch v := v.(*ValueSpec); i { 1025 case 0: 1026 return &v.state 1027 case 1: 1028 return &v.sizeCache 1029 case 2: 1030 return &v.unknownFields 1031 default: 1032 return nil 1033 } 1034 } 1035 file_obsidian_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1036 switch v := v.(*CheckDatasourceRequest); i { 1037 case 0: 1038 return &v.state 1039 case 1: 1040 return &v.sizeCache 1041 case 2: 1042 return &v.unknownFields 1043 default: 1044 return nil 1045 } 1046 } 1047 file_obsidian_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1048 switch v := v.(*CheckDatasourceResponse); i { 1049 case 0: 1050 return &v.state 1051 case 1: 1052 return &v.sizeCache 1053 case 2: 1054 return &v.unknownFields 1055 default: 1056 return nil 1057 } 1058 } 1059 file_obsidian_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1060 switch v := v.(*HTMLNodeRequest); i { 1061 case 0: 1062 return &v.state 1063 case 1: 1064 return &v.sizeCache 1065 case 2: 1066 return &v.unknownFields 1067 default: 1068 return nil 1069 } 1070 } 1071 file_obsidian_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1072 switch v := v.(*HTMlNodeResponse); i { 1073 case 0: 1074 return &v.state 1075 case 1: 1076 return &v.sizeCache 1077 case 2: 1078 return &v.unknownFields 1079 default: 1080 return nil 1081 } 1082 } 1083 file_obsidian_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1084 switch v := v.(*HTMLNodeList); i { 1085 case 0: 1086 return &v.state 1087 case 1: 1088 return &v.sizeCache 1089 case 2: 1090 return &v.unknownFields 1091 default: 1092 return nil 1093 } 1094 } 1095 file_obsidian_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1096 switch v := v.(*HTMLSearchRequest); i { 1097 case 0: 1098 return &v.state 1099 case 1: 1100 return &v.sizeCache 1101 case 2: 1102 return &v.unknownFields 1103 default: 1104 return nil 1105 } 1106 } 1107 file_obsidian_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1108 switch v := v.(*HTMLSearchGroup); 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_obsidian_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1120 switch v := v.(*HTMLSearchResponse); 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 } 1132 type x struct{} 1133 out := protoimpl.TypeBuilder{ 1134 File: protoimpl.DescBuilder{ 1135 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1136 RawDescriptor: file_obsidian_proto_rawDesc, 1137 NumEnums: 1, 1138 NumMessages: 12, 1139 NumExtensions: 0, 1140 NumServices: 1, 1141 }, 1142 GoTypes: file_obsidian_proto_goTypes, 1143 DependencyIndexes: file_obsidian_proto_depIdxs, 1144 EnumInfos: file_obsidian_proto_enumTypes, 1145 MessageInfos: file_obsidian_proto_msgTypes, 1146 }.Build() 1147 File_obsidian_proto = out.File 1148 file_obsidian_proto_rawDesc = nil 1149 file_obsidian_proto_goTypes = nil 1150 file_obsidian_proto_depIdxs = nil 1151 }