github.com/qiniu/go-sdk/v7@v7.27.0/sandbox/internal/envdapi/filesystem/filesystem.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.36.11 4 // protoc (unknown) 5 // source: filesystem/filesystem.proto 6 7 package filesystem 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 13 reflect "reflect" 14 sync "sync" 15 unsafe "unsafe" 16 ) 17 18 const ( 19 // Verify that this generated code is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 21 // Verify that runtime/protoimpl is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 23 ) 24 25 type FileType int32 26 27 const ( 28 FileType_FILE_TYPE_UNSPECIFIED FileType = 0 29 FileType_FILE_TYPE_FILE FileType = 1 30 FileType_FILE_TYPE_DIRECTORY FileType = 2 31 ) 32 33 // Enum value maps for FileType. 34 var ( 35 FileType_name = map[int32]string{ 36 0: "FILE_TYPE_UNSPECIFIED", 37 1: "FILE_TYPE_FILE", 38 2: "FILE_TYPE_DIRECTORY", 39 } 40 FileType_value = map[string]int32{ 41 "FILE_TYPE_UNSPECIFIED": 0, 42 "FILE_TYPE_FILE": 1, 43 "FILE_TYPE_DIRECTORY": 2, 44 } 45 ) 46 47 func (x FileType) Enum() *FileType { 48 p := new(FileType) 49 *p = x 50 return p 51 } 52 53 func (x FileType) String() string { 54 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 55 } 56 57 func (FileType) Descriptor() protoreflect.EnumDescriptor { 58 return file_filesystem_filesystem_proto_enumTypes[0].Descriptor() 59 } 60 61 func (FileType) Type() protoreflect.EnumType { 62 return &file_filesystem_filesystem_proto_enumTypes[0] 63 } 64 65 func (x FileType) Number() protoreflect.EnumNumber { 66 return protoreflect.EnumNumber(x) 67 } 68 69 // Deprecated: Use FileType.Descriptor instead. 70 func (FileType) EnumDescriptor() ([]byte, []int) { 71 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{0} 72 } 73 74 type EventType int32 75 76 const ( 77 EventType_EVENT_TYPE_UNSPECIFIED EventType = 0 78 EventType_EVENT_TYPE_CREATE EventType = 1 79 EventType_EVENT_TYPE_WRITE EventType = 2 80 EventType_EVENT_TYPE_REMOVE EventType = 3 81 EventType_EVENT_TYPE_RENAME EventType = 4 82 EventType_EVENT_TYPE_CHMOD EventType = 5 83 ) 84 85 // Enum value maps for EventType. 86 var ( 87 EventType_name = map[int32]string{ 88 0: "EVENT_TYPE_UNSPECIFIED", 89 1: "EVENT_TYPE_CREATE", 90 2: "EVENT_TYPE_WRITE", 91 3: "EVENT_TYPE_REMOVE", 92 4: "EVENT_TYPE_RENAME", 93 5: "EVENT_TYPE_CHMOD", 94 } 95 EventType_value = map[string]int32{ 96 "EVENT_TYPE_UNSPECIFIED": 0, 97 "EVENT_TYPE_CREATE": 1, 98 "EVENT_TYPE_WRITE": 2, 99 "EVENT_TYPE_REMOVE": 3, 100 "EVENT_TYPE_RENAME": 4, 101 "EVENT_TYPE_CHMOD": 5, 102 } 103 ) 104 105 func (x EventType) Enum() *EventType { 106 p := new(EventType) 107 *p = x 108 return p 109 } 110 111 func (x EventType) String() string { 112 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 113 } 114 115 func (EventType) Descriptor() protoreflect.EnumDescriptor { 116 return file_filesystem_filesystem_proto_enumTypes[1].Descriptor() 117 } 118 119 func (EventType) Type() protoreflect.EnumType { 120 return &file_filesystem_filesystem_proto_enumTypes[1] 121 } 122 123 func (x EventType) Number() protoreflect.EnumNumber { 124 return protoreflect.EnumNumber(x) 125 } 126 127 // Deprecated: Use EventType.Descriptor instead. 128 func (EventType) EnumDescriptor() ([]byte, []int) { 129 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{1} 130 } 131 132 type MoveRequest struct { 133 state protoimpl.MessageState `protogen:"open.v1"` 134 Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` 135 Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` 136 unknownFields protoimpl.UnknownFields 137 sizeCache protoimpl.SizeCache 138 } 139 140 func (x *MoveRequest) Reset() { 141 *x = MoveRequest{} 142 mi := &file_filesystem_filesystem_proto_msgTypes[0] 143 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 144 ms.StoreMessageInfo(mi) 145 } 146 147 func (x *MoveRequest) String() string { 148 return protoimpl.X.MessageStringOf(x) 149 } 150 151 func (*MoveRequest) ProtoMessage() {} 152 153 func (x *MoveRequest) ProtoReflect() protoreflect.Message { 154 mi := &file_filesystem_filesystem_proto_msgTypes[0] 155 if x != nil { 156 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 157 if ms.LoadMessageInfo() == nil { 158 ms.StoreMessageInfo(mi) 159 } 160 return ms 161 } 162 return mi.MessageOf(x) 163 } 164 165 // Deprecated: Use MoveRequest.ProtoReflect.Descriptor instead. 166 func (*MoveRequest) Descriptor() ([]byte, []int) { 167 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{0} 168 } 169 170 func (x *MoveRequest) GetSource() string { 171 if x != nil { 172 return x.Source 173 } 174 return "" 175 } 176 177 func (x *MoveRequest) GetDestination() string { 178 if x != nil { 179 return x.Destination 180 } 181 return "" 182 } 183 184 type MoveResponse struct { 185 state protoimpl.MessageState `protogen:"open.v1"` 186 Entry *EntryInfo `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` 187 unknownFields protoimpl.UnknownFields 188 sizeCache protoimpl.SizeCache 189 } 190 191 func (x *MoveResponse) Reset() { 192 *x = MoveResponse{} 193 mi := &file_filesystem_filesystem_proto_msgTypes[1] 194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 195 ms.StoreMessageInfo(mi) 196 } 197 198 func (x *MoveResponse) String() string { 199 return protoimpl.X.MessageStringOf(x) 200 } 201 202 func (*MoveResponse) ProtoMessage() {} 203 204 func (x *MoveResponse) ProtoReflect() protoreflect.Message { 205 mi := &file_filesystem_filesystem_proto_msgTypes[1] 206 if x != nil { 207 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 208 if ms.LoadMessageInfo() == nil { 209 ms.StoreMessageInfo(mi) 210 } 211 return ms 212 } 213 return mi.MessageOf(x) 214 } 215 216 // Deprecated: Use MoveResponse.ProtoReflect.Descriptor instead. 217 func (*MoveResponse) Descriptor() ([]byte, []int) { 218 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{1} 219 } 220 221 func (x *MoveResponse) GetEntry() *EntryInfo { 222 if x != nil { 223 return x.Entry 224 } 225 return nil 226 } 227 228 type MakeDirRequest struct { 229 state protoimpl.MessageState `protogen:"open.v1"` 230 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 231 unknownFields protoimpl.UnknownFields 232 sizeCache protoimpl.SizeCache 233 } 234 235 func (x *MakeDirRequest) Reset() { 236 *x = MakeDirRequest{} 237 mi := &file_filesystem_filesystem_proto_msgTypes[2] 238 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 239 ms.StoreMessageInfo(mi) 240 } 241 242 func (x *MakeDirRequest) String() string { 243 return protoimpl.X.MessageStringOf(x) 244 } 245 246 func (*MakeDirRequest) ProtoMessage() {} 247 248 func (x *MakeDirRequest) ProtoReflect() protoreflect.Message { 249 mi := &file_filesystem_filesystem_proto_msgTypes[2] 250 if x != nil { 251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 252 if ms.LoadMessageInfo() == nil { 253 ms.StoreMessageInfo(mi) 254 } 255 return ms 256 } 257 return mi.MessageOf(x) 258 } 259 260 // Deprecated: Use MakeDirRequest.ProtoReflect.Descriptor instead. 261 func (*MakeDirRequest) Descriptor() ([]byte, []int) { 262 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{2} 263 } 264 265 func (x *MakeDirRequest) GetPath() string { 266 if x != nil { 267 return x.Path 268 } 269 return "" 270 } 271 272 type MakeDirResponse struct { 273 state protoimpl.MessageState `protogen:"open.v1"` 274 Entry *EntryInfo `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` 275 unknownFields protoimpl.UnknownFields 276 sizeCache protoimpl.SizeCache 277 } 278 279 func (x *MakeDirResponse) Reset() { 280 *x = MakeDirResponse{} 281 mi := &file_filesystem_filesystem_proto_msgTypes[3] 282 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 283 ms.StoreMessageInfo(mi) 284 } 285 286 func (x *MakeDirResponse) String() string { 287 return protoimpl.X.MessageStringOf(x) 288 } 289 290 func (*MakeDirResponse) ProtoMessage() {} 291 292 func (x *MakeDirResponse) ProtoReflect() protoreflect.Message { 293 mi := &file_filesystem_filesystem_proto_msgTypes[3] 294 if x != nil { 295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 296 if ms.LoadMessageInfo() == nil { 297 ms.StoreMessageInfo(mi) 298 } 299 return ms 300 } 301 return mi.MessageOf(x) 302 } 303 304 // Deprecated: Use MakeDirResponse.ProtoReflect.Descriptor instead. 305 func (*MakeDirResponse) Descriptor() ([]byte, []int) { 306 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{3} 307 } 308 309 func (x *MakeDirResponse) GetEntry() *EntryInfo { 310 if x != nil { 311 return x.Entry 312 } 313 return nil 314 } 315 316 type RemoveRequest struct { 317 state protoimpl.MessageState `protogen:"open.v1"` 318 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 319 unknownFields protoimpl.UnknownFields 320 sizeCache protoimpl.SizeCache 321 } 322 323 func (x *RemoveRequest) Reset() { 324 *x = RemoveRequest{} 325 mi := &file_filesystem_filesystem_proto_msgTypes[4] 326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 327 ms.StoreMessageInfo(mi) 328 } 329 330 func (x *RemoveRequest) String() string { 331 return protoimpl.X.MessageStringOf(x) 332 } 333 334 func (*RemoveRequest) ProtoMessage() {} 335 336 func (x *RemoveRequest) ProtoReflect() protoreflect.Message { 337 mi := &file_filesystem_filesystem_proto_msgTypes[4] 338 if x != nil { 339 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 340 if ms.LoadMessageInfo() == nil { 341 ms.StoreMessageInfo(mi) 342 } 343 return ms 344 } 345 return mi.MessageOf(x) 346 } 347 348 // Deprecated: Use RemoveRequest.ProtoReflect.Descriptor instead. 349 func (*RemoveRequest) Descriptor() ([]byte, []int) { 350 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{4} 351 } 352 353 func (x *RemoveRequest) GetPath() string { 354 if x != nil { 355 return x.Path 356 } 357 return "" 358 } 359 360 type RemoveResponse struct { 361 state protoimpl.MessageState `protogen:"open.v1"` 362 unknownFields protoimpl.UnknownFields 363 sizeCache protoimpl.SizeCache 364 } 365 366 func (x *RemoveResponse) Reset() { 367 *x = RemoveResponse{} 368 mi := &file_filesystem_filesystem_proto_msgTypes[5] 369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 370 ms.StoreMessageInfo(mi) 371 } 372 373 func (x *RemoveResponse) String() string { 374 return protoimpl.X.MessageStringOf(x) 375 } 376 377 func (*RemoveResponse) ProtoMessage() {} 378 379 func (x *RemoveResponse) ProtoReflect() protoreflect.Message { 380 mi := &file_filesystem_filesystem_proto_msgTypes[5] 381 if x != nil { 382 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 383 if ms.LoadMessageInfo() == nil { 384 ms.StoreMessageInfo(mi) 385 } 386 return ms 387 } 388 return mi.MessageOf(x) 389 } 390 391 // Deprecated: Use RemoveResponse.ProtoReflect.Descriptor instead. 392 func (*RemoveResponse) Descriptor() ([]byte, []int) { 393 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{5} 394 } 395 396 type StatRequest struct { 397 state protoimpl.MessageState `protogen:"open.v1"` 398 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 399 unknownFields protoimpl.UnknownFields 400 sizeCache protoimpl.SizeCache 401 } 402 403 func (x *StatRequest) Reset() { 404 *x = StatRequest{} 405 mi := &file_filesystem_filesystem_proto_msgTypes[6] 406 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 407 ms.StoreMessageInfo(mi) 408 } 409 410 func (x *StatRequest) String() string { 411 return protoimpl.X.MessageStringOf(x) 412 } 413 414 func (*StatRequest) ProtoMessage() {} 415 416 func (x *StatRequest) ProtoReflect() protoreflect.Message { 417 mi := &file_filesystem_filesystem_proto_msgTypes[6] 418 if x != nil { 419 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 420 if ms.LoadMessageInfo() == nil { 421 ms.StoreMessageInfo(mi) 422 } 423 return ms 424 } 425 return mi.MessageOf(x) 426 } 427 428 // Deprecated: Use StatRequest.ProtoReflect.Descriptor instead. 429 func (*StatRequest) Descriptor() ([]byte, []int) { 430 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{6} 431 } 432 433 func (x *StatRequest) GetPath() string { 434 if x != nil { 435 return x.Path 436 } 437 return "" 438 } 439 440 type StatResponse struct { 441 state protoimpl.MessageState `protogen:"open.v1"` 442 Entry *EntryInfo `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` 443 unknownFields protoimpl.UnknownFields 444 sizeCache protoimpl.SizeCache 445 } 446 447 func (x *StatResponse) Reset() { 448 *x = StatResponse{} 449 mi := &file_filesystem_filesystem_proto_msgTypes[7] 450 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 451 ms.StoreMessageInfo(mi) 452 } 453 454 func (x *StatResponse) String() string { 455 return protoimpl.X.MessageStringOf(x) 456 } 457 458 func (*StatResponse) ProtoMessage() {} 459 460 func (x *StatResponse) ProtoReflect() protoreflect.Message { 461 mi := &file_filesystem_filesystem_proto_msgTypes[7] 462 if x != nil { 463 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 464 if ms.LoadMessageInfo() == nil { 465 ms.StoreMessageInfo(mi) 466 } 467 return ms 468 } 469 return mi.MessageOf(x) 470 } 471 472 // Deprecated: Use StatResponse.ProtoReflect.Descriptor instead. 473 func (*StatResponse) Descriptor() ([]byte, []int) { 474 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{7} 475 } 476 477 func (x *StatResponse) GetEntry() *EntryInfo { 478 if x != nil { 479 return x.Entry 480 } 481 return nil 482 } 483 484 type EntryInfo struct { 485 state protoimpl.MessageState `protogen:"open.v1"` 486 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 487 Type FileType `protobuf:"varint,2,opt,name=type,proto3,enum=filesystem.FileType" json:"type,omitempty"` 488 Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` 489 Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` 490 Mode uint32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"` 491 Permissions string `protobuf:"bytes,6,opt,name=permissions,proto3" json:"permissions,omitempty"` 492 Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"` 493 Group string `protobuf:"bytes,8,opt,name=group,proto3" json:"group,omitempty"` 494 ModifiedTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=modified_time,json=modifiedTime,proto3" json:"modified_time,omitempty"` 495 // If the entry is a symlink, this field contains the target of the symlink. 496 SymlinkTarget *string `protobuf:"bytes,10,opt,name=symlink_target,json=symlinkTarget,proto3,oneof" json:"symlink_target,omitempty"` 497 unknownFields protoimpl.UnknownFields 498 sizeCache protoimpl.SizeCache 499 } 500 501 func (x *EntryInfo) Reset() { 502 *x = EntryInfo{} 503 mi := &file_filesystem_filesystem_proto_msgTypes[8] 504 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 505 ms.StoreMessageInfo(mi) 506 } 507 508 func (x *EntryInfo) String() string { 509 return protoimpl.X.MessageStringOf(x) 510 } 511 512 func (*EntryInfo) ProtoMessage() {} 513 514 func (x *EntryInfo) ProtoReflect() protoreflect.Message { 515 mi := &file_filesystem_filesystem_proto_msgTypes[8] 516 if x != nil { 517 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 518 if ms.LoadMessageInfo() == nil { 519 ms.StoreMessageInfo(mi) 520 } 521 return ms 522 } 523 return mi.MessageOf(x) 524 } 525 526 // Deprecated: Use EntryInfo.ProtoReflect.Descriptor instead. 527 func (*EntryInfo) Descriptor() ([]byte, []int) { 528 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{8} 529 } 530 531 func (x *EntryInfo) GetName() string { 532 if x != nil { 533 return x.Name 534 } 535 return "" 536 } 537 538 func (x *EntryInfo) GetType() FileType { 539 if x != nil { 540 return x.Type 541 } 542 return FileType_FILE_TYPE_UNSPECIFIED 543 } 544 545 func (x *EntryInfo) GetPath() string { 546 if x != nil { 547 return x.Path 548 } 549 return "" 550 } 551 552 func (x *EntryInfo) GetSize() int64 { 553 if x != nil { 554 return x.Size 555 } 556 return 0 557 } 558 559 func (x *EntryInfo) GetMode() uint32 { 560 if x != nil { 561 return x.Mode 562 } 563 return 0 564 } 565 566 func (x *EntryInfo) GetPermissions() string { 567 if x != nil { 568 return x.Permissions 569 } 570 return "" 571 } 572 573 func (x *EntryInfo) GetOwner() string { 574 if x != nil { 575 return x.Owner 576 } 577 return "" 578 } 579 580 func (x *EntryInfo) GetGroup() string { 581 if x != nil { 582 return x.Group 583 } 584 return "" 585 } 586 587 func (x *EntryInfo) GetModifiedTime() *timestamppb.Timestamp { 588 if x != nil { 589 return x.ModifiedTime 590 } 591 return nil 592 } 593 594 func (x *EntryInfo) GetSymlinkTarget() string { 595 if x != nil && x.SymlinkTarget != nil { 596 return *x.SymlinkTarget 597 } 598 return "" 599 } 600 601 type ListDirRequest struct { 602 state protoimpl.MessageState `protogen:"open.v1"` 603 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 604 Depth uint32 `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"` 605 unknownFields protoimpl.UnknownFields 606 sizeCache protoimpl.SizeCache 607 } 608 609 func (x *ListDirRequest) Reset() { 610 *x = ListDirRequest{} 611 mi := &file_filesystem_filesystem_proto_msgTypes[9] 612 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 613 ms.StoreMessageInfo(mi) 614 } 615 616 func (x *ListDirRequest) String() string { 617 return protoimpl.X.MessageStringOf(x) 618 } 619 620 func (*ListDirRequest) ProtoMessage() {} 621 622 func (x *ListDirRequest) ProtoReflect() protoreflect.Message { 623 mi := &file_filesystem_filesystem_proto_msgTypes[9] 624 if x != nil { 625 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 626 if ms.LoadMessageInfo() == nil { 627 ms.StoreMessageInfo(mi) 628 } 629 return ms 630 } 631 return mi.MessageOf(x) 632 } 633 634 // Deprecated: Use ListDirRequest.ProtoReflect.Descriptor instead. 635 func (*ListDirRequest) Descriptor() ([]byte, []int) { 636 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{9} 637 } 638 639 func (x *ListDirRequest) GetPath() string { 640 if x != nil { 641 return x.Path 642 } 643 return "" 644 } 645 646 func (x *ListDirRequest) GetDepth() uint32 { 647 if x != nil { 648 return x.Depth 649 } 650 return 0 651 } 652 653 type ListDirResponse struct { 654 state protoimpl.MessageState `protogen:"open.v1"` 655 Entries []*EntryInfo `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` 656 unknownFields protoimpl.UnknownFields 657 sizeCache protoimpl.SizeCache 658 } 659 660 func (x *ListDirResponse) Reset() { 661 *x = ListDirResponse{} 662 mi := &file_filesystem_filesystem_proto_msgTypes[10] 663 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 664 ms.StoreMessageInfo(mi) 665 } 666 667 func (x *ListDirResponse) String() string { 668 return protoimpl.X.MessageStringOf(x) 669 } 670 671 func (*ListDirResponse) ProtoMessage() {} 672 673 func (x *ListDirResponse) ProtoReflect() protoreflect.Message { 674 mi := &file_filesystem_filesystem_proto_msgTypes[10] 675 if x != nil { 676 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 677 if ms.LoadMessageInfo() == nil { 678 ms.StoreMessageInfo(mi) 679 } 680 return ms 681 } 682 return mi.MessageOf(x) 683 } 684 685 // Deprecated: Use ListDirResponse.ProtoReflect.Descriptor instead. 686 func (*ListDirResponse) Descriptor() ([]byte, []int) { 687 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{10} 688 } 689 690 func (x *ListDirResponse) GetEntries() []*EntryInfo { 691 if x != nil { 692 return x.Entries 693 } 694 return nil 695 } 696 697 type WatchDirRequest struct { 698 state protoimpl.MessageState `protogen:"open.v1"` 699 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 700 Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` 701 unknownFields protoimpl.UnknownFields 702 sizeCache protoimpl.SizeCache 703 } 704 705 func (x *WatchDirRequest) Reset() { 706 *x = WatchDirRequest{} 707 mi := &file_filesystem_filesystem_proto_msgTypes[11] 708 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 709 ms.StoreMessageInfo(mi) 710 } 711 712 func (x *WatchDirRequest) String() string { 713 return protoimpl.X.MessageStringOf(x) 714 } 715 716 func (*WatchDirRequest) ProtoMessage() {} 717 718 func (x *WatchDirRequest) ProtoReflect() protoreflect.Message { 719 mi := &file_filesystem_filesystem_proto_msgTypes[11] 720 if x != nil { 721 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 722 if ms.LoadMessageInfo() == nil { 723 ms.StoreMessageInfo(mi) 724 } 725 return ms 726 } 727 return mi.MessageOf(x) 728 } 729 730 // Deprecated: Use WatchDirRequest.ProtoReflect.Descriptor instead. 731 func (*WatchDirRequest) Descriptor() ([]byte, []int) { 732 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{11} 733 } 734 735 func (x *WatchDirRequest) GetPath() string { 736 if x != nil { 737 return x.Path 738 } 739 return "" 740 } 741 742 func (x *WatchDirRequest) GetRecursive() bool { 743 if x != nil { 744 return x.Recursive 745 } 746 return false 747 } 748 749 type FilesystemEvent struct { 750 state protoimpl.MessageState `protogen:"open.v1"` 751 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 752 Type EventType `protobuf:"varint,2,opt,name=type,proto3,enum=filesystem.EventType" json:"type,omitempty"` 753 unknownFields protoimpl.UnknownFields 754 sizeCache protoimpl.SizeCache 755 } 756 757 func (x *FilesystemEvent) Reset() { 758 *x = FilesystemEvent{} 759 mi := &file_filesystem_filesystem_proto_msgTypes[12] 760 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 761 ms.StoreMessageInfo(mi) 762 } 763 764 func (x *FilesystemEvent) String() string { 765 return protoimpl.X.MessageStringOf(x) 766 } 767 768 func (*FilesystemEvent) ProtoMessage() {} 769 770 func (x *FilesystemEvent) ProtoReflect() protoreflect.Message { 771 mi := &file_filesystem_filesystem_proto_msgTypes[12] 772 if x != nil { 773 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 774 if ms.LoadMessageInfo() == nil { 775 ms.StoreMessageInfo(mi) 776 } 777 return ms 778 } 779 return mi.MessageOf(x) 780 } 781 782 // Deprecated: Use FilesystemEvent.ProtoReflect.Descriptor instead. 783 func (*FilesystemEvent) Descriptor() ([]byte, []int) { 784 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{12} 785 } 786 787 func (x *FilesystemEvent) GetName() string { 788 if x != nil { 789 return x.Name 790 } 791 return "" 792 } 793 794 func (x *FilesystemEvent) GetType() EventType { 795 if x != nil { 796 return x.Type 797 } 798 return EventType_EVENT_TYPE_UNSPECIFIED 799 } 800 801 type WatchDirResponse struct { 802 state protoimpl.MessageState `protogen:"open.v1"` 803 // Types that are valid to be assigned to Event: 804 // 805 // *WatchDirResponse_Start 806 // *WatchDirResponse_Filesystem 807 // *WatchDirResponse_Keepalive 808 Event isWatchDirResponse_Event `protobuf_oneof:"event"` 809 unknownFields protoimpl.UnknownFields 810 sizeCache protoimpl.SizeCache 811 } 812 813 func (x *WatchDirResponse) Reset() { 814 *x = WatchDirResponse{} 815 mi := &file_filesystem_filesystem_proto_msgTypes[13] 816 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 817 ms.StoreMessageInfo(mi) 818 } 819 820 func (x *WatchDirResponse) String() string { 821 return protoimpl.X.MessageStringOf(x) 822 } 823 824 func (*WatchDirResponse) ProtoMessage() {} 825 826 func (x *WatchDirResponse) ProtoReflect() protoreflect.Message { 827 mi := &file_filesystem_filesystem_proto_msgTypes[13] 828 if x != nil { 829 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 830 if ms.LoadMessageInfo() == nil { 831 ms.StoreMessageInfo(mi) 832 } 833 return ms 834 } 835 return mi.MessageOf(x) 836 } 837 838 // Deprecated: Use WatchDirResponse.ProtoReflect.Descriptor instead. 839 func (*WatchDirResponse) Descriptor() ([]byte, []int) { 840 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{13} 841 } 842 843 func (x *WatchDirResponse) GetEvent() isWatchDirResponse_Event { 844 if x != nil { 845 return x.Event 846 } 847 return nil 848 } 849 850 func (x *WatchDirResponse) GetStart() *WatchDirResponse_StartEvent { 851 if x != nil { 852 if x, ok := x.Event.(*WatchDirResponse_Start); ok { 853 return x.Start 854 } 855 } 856 return nil 857 } 858 859 func (x *WatchDirResponse) GetFilesystem() *FilesystemEvent { 860 if x != nil { 861 if x, ok := x.Event.(*WatchDirResponse_Filesystem); ok { 862 return x.Filesystem 863 } 864 } 865 return nil 866 } 867 868 func (x *WatchDirResponse) GetKeepalive() *WatchDirResponse_KeepAlive { 869 if x != nil { 870 if x, ok := x.Event.(*WatchDirResponse_Keepalive); ok { 871 return x.Keepalive 872 } 873 } 874 return nil 875 } 876 877 type isWatchDirResponse_Event interface { 878 isWatchDirResponse_Event() 879 } 880 881 type WatchDirResponse_Start struct { 882 Start *WatchDirResponse_StartEvent `protobuf:"bytes,1,opt,name=start,proto3,oneof"` 883 } 884 885 type WatchDirResponse_Filesystem struct { 886 Filesystem *FilesystemEvent `protobuf:"bytes,2,opt,name=filesystem,proto3,oneof"` 887 } 888 889 type WatchDirResponse_Keepalive struct { 890 Keepalive *WatchDirResponse_KeepAlive `protobuf:"bytes,3,opt,name=keepalive,proto3,oneof"` 891 } 892 893 func (*WatchDirResponse_Start) isWatchDirResponse_Event() {} 894 895 func (*WatchDirResponse_Filesystem) isWatchDirResponse_Event() {} 896 897 func (*WatchDirResponse_Keepalive) isWatchDirResponse_Event() {} 898 899 type CreateWatcherRequest struct { 900 state protoimpl.MessageState `protogen:"open.v1"` 901 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 902 Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` 903 unknownFields protoimpl.UnknownFields 904 sizeCache protoimpl.SizeCache 905 } 906 907 func (x *CreateWatcherRequest) Reset() { 908 *x = CreateWatcherRequest{} 909 mi := &file_filesystem_filesystem_proto_msgTypes[14] 910 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 911 ms.StoreMessageInfo(mi) 912 } 913 914 func (x *CreateWatcherRequest) String() string { 915 return protoimpl.X.MessageStringOf(x) 916 } 917 918 func (*CreateWatcherRequest) ProtoMessage() {} 919 920 func (x *CreateWatcherRequest) ProtoReflect() protoreflect.Message { 921 mi := &file_filesystem_filesystem_proto_msgTypes[14] 922 if x != nil { 923 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 924 if ms.LoadMessageInfo() == nil { 925 ms.StoreMessageInfo(mi) 926 } 927 return ms 928 } 929 return mi.MessageOf(x) 930 } 931 932 // Deprecated: Use CreateWatcherRequest.ProtoReflect.Descriptor instead. 933 func (*CreateWatcherRequest) Descriptor() ([]byte, []int) { 934 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{14} 935 } 936 937 func (x *CreateWatcherRequest) GetPath() string { 938 if x != nil { 939 return x.Path 940 } 941 return "" 942 } 943 944 func (x *CreateWatcherRequest) GetRecursive() bool { 945 if x != nil { 946 return x.Recursive 947 } 948 return false 949 } 950 951 type CreateWatcherResponse struct { 952 state protoimpl.MessageState `protogen:"open.v1"` 953 WatcherId string `protobuf:"bytes,1,opt,name=watcher_id,json=watcherId,proto3" json:"watcher_id,omitempty"` 954 unknownFields protoimpl.UnknownFields 955 sizeCache protoimpl.SizeCache 956 } 957 958 func (x *CreateWatcherResponse) Reset() { 959 *x = CreateWatcherResponse{} 960 mi := &file_filesystem_filesystem_proto_msgTypes[15] 961 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 962 ms.StoreMessageInfo(mi) 963 } 964 965 func (x *CreateWatcherResponse) String() string { 966 return protoimpl.X.MessageStringOf(x) 967 } 968 969 func (*CreateWatcherResponse) ProtoMessage() {} 970 971 func (x *CreateWatcherResponse) ProtoReflect() protoreflect.Message { 972 mi := &file_filesystem_filesystem_proto_msgTypes[15] 973 if x != nil { 974 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 975 if ms.LoadMessageInfo() == nil { 976 ms.StoreMessageInfo(mi) 977 } 978 return ms 979 } 980 return mi.MessageOf(x) 981 } 982 983 // Deprecated: Use CreateWatcherResponse.ProtoReflect.Descriptor instead. 984 func (*CreateWatcherResponse) Descriptor() ([]byte, []int) { 985 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{15} 986 } 987 988 func (x *CreateWatcherResponse) GetWatcherId() string { 989 if x != nil { 990 return x.WatcherId 991 } 992 return "" 993 } 994 995 type GetWatcherEventsRequest struct { 996 state protoimpl.MessageState `protogen:"open.v1"` 997 WatcherId string `protobuf:"bytes,1,opt,name=watcher_id,json=watcherId,proto3" json:"watcher_id,omitempty"` 998 unknownFields protoimpl.UnknownFields 999 sizeCache protoimpl.SizeCache 1000 } 1001 1002 func (x *GetWatcherEventsRequest) Reset() { 1003 *x = GetWatcherEventsRequest{} 1004 mi := &file_filesystem_filesystem_proto_msgTypes[16] 1005 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1006 ms.StoreMessageInfo(mi) 1007 } 1008 1009 func (x *GetWatcherEventsRequest) String() string { 1010 return protoimpl.X.MessageStringOf(x) 1011 } 1012 1013 func (*GetWatcherEventsRequest) ProtoMessage() {} 1014 1015 func (x *GetWatcherEventsRequest) ProtoReflect() protoreflect.Message { 1016 mi := &file_filesystem_filesystem_proto_msgTypes[16] 1017 if x != nil { 1018 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1019 if ms.LoadMessageInfo() == nil { 1020 ms.StoreMessageInfo(mi) 1021 } 1022 return ms 1023 } 1024 return mi.MessageOf(x) 1025 } 1026 1027 // Deprecated: Use GetWatcherEventsRequest.ProtoReflect.Descriptor instead. 1028 func (*GetWatcherEventsRequest) Descriptor() ([]byte, []int) { 1029 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{16} 1030 } 1031 1032 func (x *GetWatcherEventsRequest) GetWatcherId() string { 1033 if x != nil { 1034 return x.WatcherId 1035 } 1036 return "" 1037 } 1038 1039 type GetWatcherEventsResponse struct { 1040 state protoimpl.MessageState `protogen:"open.v1"` 1041 Events []*FilesystemEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` 1042 unknownFields protoimpl.UnknownFields 1043 sizeCache protoimpl.SizeCache 1044 } 1045 1046 func (x *GetWatcherEventsResponse) Reset() { 1047 *x = GetWatcherEventsResponse{} 1048 mi := &file_filesystem_filesystem_proto_msgTypes[17] 1049 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1050 ms.StoreMessageInfo(mi) 1051 } 1052 1053 func (x *GetWatcherEventsResponse) String() string { 1054 return protoimpl.X.MessageStringOf(x) 1055 } 1056 1057 func (*GetWatcherEventsResponse) ProtoMessage() {} 1058 1059 func (x *GetWatcherEventsResponse) ProtoReflect() protoreflect.Message { 1060 mi := &file_filesystem_filesystem_proto_msgTypes[17] 1061 if x != nil { 1062 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1063 if ms.LoadMessageInfo() == nil { 1064 ms.StoreMessageInfo(mi) 1065 } 1066 return ms 1067 } 1068 return mi.MessageOf(x) 1069 } 1070 1071 // Deprecated: Use GetWatcherEventsResponse.ProtoReflect.Descriptor instead. 1072 func (*GetWatcherEventsResponse) Descriptor() ([]byte, []int) { 1073 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{17} 1074 } 1075 1076 func (x *GetWatcherEventsResponse) GetEvents() []*FilesystemEvent { 1077 if x != nil { 1078 return x.Events 1079 } 1080 return nil 1081 } 1082 1083 type RemoveWatcherRequest struct { 1084 state protoimpl.MessageState `protogen:"open.v1"` 1085 WatcherId string `protobuf:"bytes,1,opt,name=watcher_id,json=watcherId,proto3" json:"watcher_id,omitempty"` 1086 unknownFields protoimpl.UnknownFields 1087 sizeCache protoimpl.SizeCache 1088 } 1089 1090 func (x *RemoveWatcherRequest) Reset() { 1091 *x = RemoveWatcherRequest{} 1092 mi := &file_filesystem_filesystem_proto_msgTypes[18] 1093 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1094 ms.StoreMessageInfo(mi) 1095 } 1096 1097 func (x *RemoveWatcherRequest) String() string { 1098 return protoimpl.X.MessageStringOf(x) 1099 } 1100 1101 func (*RemoveWatcherRequest) ProtoMessage() {} 1102 1103 func (x *RemoveWatcherRequest) ProtoReflect() protoreflect.Message { 1104 mi := &file_filesystem_filesystem_proto_msgTypes[18] 1105 if x != nil { 1106 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1107 if ms.LoadMessageInfo() == nil { 1108 ms.StoreMessageInfo(mi) 1109 } 1110 return ms 1111 } 1112 return mi.MessageOf(x) 1113 } 1114 1115 // Deprecated: Use RemoveWatcherRequest.ProtoReflect.Descriptor instead. 1116 func (*RemoveWatcherRequest) Descriptor() ([]byte, []int) { 1117 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{18} 1118 } 1119 1120 func (x *RemoveWatcherRequest) GetWatcherId() string { 1121 if x != nil { 1122 return x.WatcherId 1123 } 1124 return "" 1125 } 1126 1127 type RemoveWatcherResponse struct { 1128 state protoimpl.MessageState `protogen:"open.v1"` 1129 unknownFields protoimpl.UnknownFields 1130 sizeCache protoimpl.SizeCache 1131 } 1132 1133 func (x *RemoveWatcherResponse) Reset() { 1134 *x = RemoveWatcherResponse{} 1135 mi := &file_filesystem_filesystem_proto_msgTypes[19] 1136 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1137 ms.StoreMessageInfo(mi) 1138 } 1139 1140 func (x *RemoveWatcherResponse) String() string { 1141 return protoimpl.X.MessageStringOf(x) 1142 } 1143 1144 func (*RemoveWatcherResponse) ProtoMessage() {} 1145 1146 func (x *RemoveWatcherResponse) ProtoReflect() protoreflect.Message { 1147 mi := &file_filesystem_filesystem_proto_msgTypes[19] 1148 if x != nil { 1149 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1150 if ms.LoadMessageInfo() == nil { 1151 ms.StoreMessageInfo(mi) 1152 } 1153 return ms 1154 } 1155 return mi.MessageOf(x) 1156 } 1157 1158 // Deprecated: Use RemoveWatcherResponse.ProtoReflect.Descriptor instead. 1159 func (*RemoveWatcherResponse) Descriptor() ([]byte, []int) { 1160 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{19} 1161 } 1162 1163 type WatchDirResponse_StartEvent struct { 1164 state protoimpl.MessageState `protogen:"open.v1"` 1165 unknownFields protoimpl.UnknownFields 1166 sizeCache protoimpl.SizeCache 1167 } 1168 1169 func (x *WatchDirResponse_StartEvent) Reset() { 1170 *x = WatchDirResponse_StartEvent{} 1171 mi := &file_filesystem_filesystem_proto_msgTypes[20] 1172 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1173 ms.StoreMessageInfo(mi) 1174 } 1175 1176 func (x *WatchDirResponse_StartEvent) String() string { 1177 return protoimpl.X.MessageStringOf(x) 1178 } 1179 1180 func (*WatchDirResponse_StartEvent) ProtoMessage() {} 1181 1182 func (x *WatchDirResponse_StartEvent) ProtoReflect() protoreflect.Message { 1183 mi := &file_filesystem_filesystem_proto_msgTypes[20] 1184 if x != nil { 1185 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1186 if ms.LoadMessageInfo() == nil { 1187 ms.StoreMessageInfo(mi) 1188 } 1189 return ms 1190 } 1191 return mi.MessageOf(x) 1192 } 1193 1194 // Deprecated: Use WatchDirResponse_StartEvent.ProtoReflect.Descriptor instead. 1195 func (*WatchDirResponse_StartEvent) Descriptor() ([]byte, []int) { 1196 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{13, 0} 1197 } 1198 1199 type WatchDirResponse_KeepAlive struct { 1200 state protoimpl.MessageState `protogen:"open.v1"` 1201 unknownFields protoimpl.UnknownFields 1202 sizeCache protoimpl.SizeCache 1203 } 1204 1205 func (x *WatchDirResponse_KeepAlive) Reset() { 1206 *x = WatchDirResponse_KeepAlive{} 1207 mi := &file_filesystem_filesystem_proto_msgTypes[21] 1208 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1209 ms.StoreMessageInfo(mi) 1210 } 1211 1212 func (x *WatchDirResponse_KeepAlive) String() string { 1213 return protoimpl.X.MessageStringOf(x) 1214 } 1215 1216 func (*WatchDirResponse_KeepAlive) ProtoMessage() {} 1217 1218 func (x *WatchDirResponse_KeepAlive) ProtoReflect() protoreflect.Message { 1219 mi := &file_filesystem_filesystem_proto_msgTypes[21] 1220 if x != nil { 1221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1222 if ms.LoadMessageInfo() == nil { 1223 ms.StoreMessageInfo(mi) 1224 } 1225 return ms 1226 } 1227 return mi.MessageOf(x) 1228 } 1229 1230 // Deprecated: Use WatchDirResponse_KeepAlive.ProtoReflect.Descriptor instead. 1231 func (*WatchDirResponse_KeepAlive) Descriptor() ([]byte, []int) { 1232 return file_filesystem_filesystem_proto_rawDescGZIP(), []int{13, 1} 1233 } 1234 1235 var File_filesystem_filesystem_proto protoreflect.FileDescriptor 1236 1237 const file_filesystem_filesystem_proto_rawDesc = "" + 1238 "\n" + 1239 "\x1bfilesystem/filesystem.proto\x12\n" + 1240 "filesystem\x1a\x1fgoogle/protobuf/timestamp.proto\"G\n" + 1241 "\vMoveRequest\x12\x16\n" + 1242 "\x06source\x18\x01 \x01(\tR\x06source\x12 \n" + 1243 "\vdestination\x18\x02 \x01(\tR\vdestination\";\n" + 1244 "\fMoveResponse\x12+\n" + 1245 "\x05entry\x18\x01 \x01(\v2\x15.filesystem.EntryInfoR\x05entry\"$\n" + 1246 "\x0eMakeDirRequest\x12\x12\n" + 1247 "\x04path\x18\x01 \x01(\tR\x04path\">\n" + 1248 "\x0fMakeDirResponse\x12+\n" + 1249 "\x05entry\x18\x01 \x01(\v2\x15.filesystem.EntryInfoR\x05entry\"#\n" + 1250 "\rRemoveRequest\x12\x12\n" + 1251 "\x04path\x18\x01 \x01(\tR\x04path\"\x10\n" + 1252 "\x0eRemoveResponse\"!\n" + 1253 "\vStatRequest\x12\x12\n" + 1254 "\x04path\x18\x01 \x01(\tR\x04path\";\n" + 1255 "\fStatResponse\x12+\n" + 1256 "\x05entry\x18\x01 \x01(\v2\x15.filesystem.EntryInfoR\x05entry\"\xd3\x02\n" + 1257 "\tEntryInfo\x12\x12\n" + 1258 "\x04name\x18\x01 \x01(\tR\x04name\x12(\n" + 1259 "\x04type\x18\x02 \x01(\x0e2\x14.filesystem.FileTypeR\x04type\x12\x12\n" + 1260 "\x04path\x18\x03 \x01(\tR\x04path\x12\x12\n" + 1261 "\x04size\x18\x04 \x01(\x03R\x04size\x12\x12\n" + 1262 "\x04mode\x18\x05 \x01(\rR\x04mode\x12 \n" + 1263 "\vpermissions\x18\x06 \x01(\tR\vpermissions\x12\x14\n" + 1264 "\x05owner\x18\a \x01(\tR\x05owner\x12\x14\n" + 1265 "\x05group\x18\b \x01(\tR\x05group\x12?\n" + 1266 "\rmodified_time\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\fmodifiedTime\x12*\n" + 1267 "\x0esymlink_target\x18\n" + 1268 " \x01(\tH\x00R\rsymlinkTarget\x88\x01\x01B\x11\n" + 1269 "\x0f_symlink_target\":\n" + 1270 "\x0eListDirRequest\x12\x12\n" + 1271 "\x04path\x18\x01 \x01(\tR\x04path\x12\x14\n" + 1272 "\x05depth\x18\x02 \x01(\rR\x05depth\"B\n" + 1273 "\x0fListDirResponse\x12/\n" + 1274 "\aentries\x18\x01 \x03(\v2\x15.filesystem.EntryInfoR\aentries\"C\n" + 1275 "\x0fWatchDirRequest\x12\x12\n" + 1276 "\x04path\x18\x01 \x01(\tR\x04path\x12\x1c\n" + 1277 "\trecursive\x18\x02 \x01(\bR\trecursive\"P\n" + 1278 "\x0fFilesystemEvent\x12\x12\n" + 1279 "\x04name\x18\x01 \x01(\tR\x04name\x12)\n" + 1280 "\x04type\x18\x02 \x01(\x0e2\x15.filesystem.EventTypeR\x04type\"\xfe\x01\n" + 1281 "\x10WatchDirResponse\x12?\n" + 1282 "\x05start\x18\x01 \x01(\v2'.filesystem.WatchDirResponse.StartEventH\x00R\x05start\x12=\n" + 1283 "\n" + 1284 "filesystem\x18\x02 \x01(\v2\x1b.filesystem.FilesystemEventH\x00R\n" + 1285 "filesystem\x12F\n" + 1286 "\tkeepalive\x18\x03 \x01(\v2&.filesystem.WatchDirResponse.KeepAliveH\x00R\tkeepalive\x1a\f\n" + 1287 "\n" + 1288 "StartEvent\x1a\v\n" + 1289 "\tKeepAliveB\a\n" + 1290 "\x05event\"H\n" + 1291 "\x14CreateWatcherRequest\x12\x12\n" + 1292 "\x04path\x18\x01 \x01(\tR\x04path\x12\x1c\n" + 1293 "\trecursive\x18\x02 \x01(\bR\trecursive\"6\n" + 1294 "\x15CreateWatcherResponse\x12\x1d\n" + 1295 "\n" + 1296 "watcher_id\x18\x01 \x01(\tR\twatcherId\"8\n" + 1297 "\x17GetWatcherEventsRequest\x12\x1d\n" + 1298 "\n" + 1299 "watcher_id\x18\x01 \x01(\tR\twatcherId\"O\n" + 1300 "\x18GetWatcherEventsResponse\x123\n" + 1301 "\x06events\x18\x01 \x03(\v2\x1b.filesystem.FilesystemEventR\x06events\"5\n" + 1302 "\x14RemoveWatcherRequest\x12\x1d\n" + 1303 "\n" + 1304 "watcher_id\x18\x01 \x01(\tR\twatcherId\"\x17\n" + 1305 "\x15RemoveWatcherResponse*R\n" + 1306 "\bFileType\x12\x19\n" + 1307 "\x15FILE_TYPE_UNSPECIFIED\x10\x00\x12\x12\n" + 1308 "\x0eFILE_TYPE_FILE\x10\x01\x12\x17\n" + 1309 "\x13FILE_TYPE_DIRECTORY\x10\x02*\x98\x01\n" + 1310 "\tEventType\x12\x1a\n" + 1311 "\x16EVENT_TYPE_UNSPECIFIED\x10\x00\x12\x15\n" + 1312 "\x11EVENT_TYPE_CREATE\x10\x01\x12\x14\n" + 1313 "\x10EVENT_TYPE_WRITE\x10\x02\x12\x15\n" + 1314 "\x11EVENT_TYPE_REMOVE\x10\x03\x12\x15\n" + 1315 "\x11EVENT_TYPE_RENAME\x10\x04\x12\x14\n" + 1316 "\x10EVENT_TYPE_CHMOD\x10\x052\x9f\x05\n" + 1317 "\n" + 1318 "Filesystem\x129\n" + 1319 "\x04Stat\x12\x17.filesystem.StatRequest\x1a\x18.filesystem.StatResponse\x12B\n" + 1320 "\aMakeDir\x12\x1a.filesystem.MakeDirRequest\x1a\x1b.filesystem.MakeDirResponse\x129\n" + 1321 "\x04Move\x12\x17.filesystem.MoveRequest\x1a\x18.filesystem.MoveResponse\x12B\n" + 1322 "\aListDir\x12\x1a.filesystem.ListDirRequest\x1a\x1b.filesystem.ListDirResponse\x12?\n" + 1323 "\x06Remove\x12\x19.filesystem.RemoveRequest\x1a\x1a.filesystem.RemoveResponse\x12G\n" + 1324 "\bWatchDir\x12\x1b.filesystem.WatchDirRequest\x1a\x1c.filesystem.WatchDirResponse0\x01\x12T\n" + 1325 "\rCreateWatcher\x12 .filesystem.CreateWatcherRequest\x1a!.filesystem.CreateWatcherResponse\x12]\n" + 1326 "\x10GetWatcherEvents\x12#.filesystem.GetWatcherEventsRequest\x1a$.filesystem.GetWatcherEventsResponse\x12T\n" + 1327 "\rRemoveWatcher\x12 .filesystem.RemoveWatcherRequest\x1a!.filesystem.RemoveWatcherResponseB\xa9\x01\n" + 1328 "\x0ecom.filesystemB\x0fFilesystemProtoP\x01Z>github.com/qiniu/go-sdk/v7/sandbox/internal/envdapi/filesystem\xa2\x02\x03FXX\xaa\x02\n" + 1329 "Filesystem\xca\x02\n" + 1330 "Filesystem\xe2\x02\x16Filesystem\\GPBMetadata\xea\x02\n" + 1331 "Filesystemb\x06proto3" 1332 1333 var ( 1334 file_filesystem_filesystem_proto_rawDescOnce sync.Once 1335 file_filesystem_filesystem_proto_rawDescData []byte 1336 ) 1337 1338 func file_filesystem_filesystem_proto_rawDescGZIP() []byte { 1339 file_filesystem_filesystem_proto_rawDescOnce.Do(func() { 1340 file_filesystem_filesystem_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_filesystem_filesystem_proto_rawDesc), len(file_filesystem_filesystem_proto_rawDesc))) 1341 }) 1342 return file_filesystem_filesystem_proto_rawDescData 1343 } 1344 1345 var file_filesystem_filesystem_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 1346 var file_filesystem_filesystem_proto_msgTypes = make([]protoimpl.MessageInfo, 22) 1347 var file_filesystem_filesystem_proto_goTypes = []any{ 1348 (FileType)(0), // 0: filesystem.FileType 1349 (EventType)(0), // 1: filesystem.EventType 1350 (*MoveRequest)(nil), // 2: filesystem.MoveRequest 1351 (*MoveResponse)(nil), // 3: filesystem.MoveResponse 1352 (*MakeDirRequest)(nil), // 4: filesystem.MakeDirRequest 1353 (*MakeDirResponse)(nil), // 5: filesystem.MakeDirResponse 1354 (*RemoveRequest)(nil), // 6: filesystem.RemoveRequest 1355 (*RemoveResponse)(nil), // 7: filesystem.RemoveResponse 1356 (*StatRequest)(nil), // 8: filesystem.StatRequest 1357 (*StatResponse)(nil), // 9: filesystem.StatResponse 1358 (*EntryInfo)(nil), // 10: filesystem.EntryInfo 1359 (*ListDirRequest)(nil), // 11: filesystem.ListDirRequest 1360 (*ListDirResponse)(nil), // 12: filesystem.ListDirResponse 1361 (*WatchDirRequest)(nil), // 13: filesystem.WatchDirRequest 1362 (*FilesystemEvent)(nil), // 14: filesystem.FilesystemEvent 1363 (*WatchDirResponse)(nil), // 15: filesystem.WatchDirResponse 1364 (*CreateWatcherRequest)(nil), // 16: filesystem.CreateWatcherRequest 1365 (*CreateWatcherResponse)(nil), // 17: filesystem.CreateWatcherResponse 1366 (*GetWatcherEventsRequest)(nil), // 18: filesystem.GetWatcherEventsRequest 1367 (*GetWatcherEventsResponse)(nil), // 19: filesystem.GetWatcherEventsResponse 1368 (*RemoveWatcherRequest)(nil), // 20: filesystem.RemoveWatcherRequest 1369 (*RemoveWatcherResponse)(nil), // 21: filesystem.RemoveWatcherResponse 1370 (*WatchDirResponse_StartEvent)(nil), // 22: filesystem.WatchDirResponse.StartEvent 1371 (*WatchDirResponse_KeepAlive)(nil), // 23: filesystem.WatchDirResponse.KeepAlive 1372 (*timestamppb.Timestamp)(nil), // 24: google.protobuf.Timestamp 1373 } 1374 var file_filesystem_filesystem_proto_depIdxs = []int32{ 1375 10, // 0: filesystem.MoveResponse.entry:type_name -> filesystem.EntryInfo 1376 10, // 1: filesystem.MakeDirResponse.entry:type_name -> filesystem.EntryInfo 1377 10, // 2: filesystem.StatResponse.entry:type_name -> filesystem.EntryInfo 1378 0, // 3: filesystem.EntryInfo.type:type_name -> filesystem.FileType 1379 24, // 4: filesystem.EntryInfo.modified_time:type_name -> google.protobuf.Timestamp 1380 10, // 5: filesystem.ListDirResponse.entries:type_name -> filesystem.EntryInfo 1381 1, // 6: filesystem.FilesystemEvent.type:type_name -> filesystem.EventType 1382 22, // 7: filesystem.WatchDirResponse.start:type_name -> filesystem.WatchDirResponse.StartEvent 1383 14, // 8: filesystem.WatchDirResponse.filesystem:type_name -> filesystem.FilesystemEvent 1384 23, // 9: filesystem.WatchDirResponse.keepalive:type_name -> filesystem.WatchDirResponse.KeepAlive 1385 14, // 10: filesystem.GetWatcherEventsResponse.events:type_name -> filesystem.FilesystemEvent 1386 8, // 11: filesystem.Filesystem.Stat:input_type -> filesystem.StatRequest 1387 4, // 12: filesystem.Filesystem.MakeDir:input_type -> filesystem.MakeDirRequest 1388 2, // 13: filesystem.Filesystem.Move:input_type -> filesystem.MoveRequest 1389 11, // 14: filesystem.Filesystem.ListDir:input_type -> filesystem.ListDirRequest 1390 6, // 15: filesystem.Filesystem.Remove:input_type -> filesystem.RemoveRequest 1391 13, // 16: filesystem.Filesystem.WatchDir:input_type -> filesystem.WatchDirRequest 1392 16, // 17: filesystem.Filesystem.CreateWatcher:input_type -> filesystem.CreateWatcherRequest 1393 18, // 18: filesystem.Filesystem.GetWatcherEvents:input_type -> filesystem.GetWatcherEventsRequest 1394 20, // 19: filesystem.Filesystem.RemoveWatcher:input_type -> filesystem.RemoveWatcherRequest 1395 9, // 20: filesystem.Filesystem.Stat:output_type -> filesystem.StatResponse 1396 5, // 21: filesystem.Filesystem.MakeDir:output_type -> filesystem.MakeDirResponse 1397 3, // 22: filesystem.Filesystem.Move:output_type -> filesystem.MoveResponse 1398 12, // 23: filesystem.Filesystem.ListDir:output_type -> filesystem.ListDirResponse 1399 7, // 24: filesystem.Filesystem.Remove:output_type -> filesystem.RemoveResponse 1400 15, // 25: filesystem.Filesystem.WatchDir:output_type -> filesystem.WatchDirResponse 1401 17, // 26: filesystem.Filesystem.CreateWatcher:output_type -> filesystem.CreateWatcherResponse 1402 19, // 27: filesystem.Filesystem.GetWatcherEvents:output_type -> filesystem.GetWatcherEventsResponse 1403 21, // 28: filesystem.Filesystem.RemoveWatcher:output_type -> filesystem.RemoveWatcherResponse 1404 20, // [20:29] is the sub-list for method output_type 1405 11, // [11:20] is the sub-list for method input_type 1406 11, // [11:11] is the sub-list for extension type_name 1407 11, // [11:11] is the sub-list for extension extendee 1408 0, // [0:11] is the sub-list for field type_name 1409 } 1410 1411 func init() { file_filesystem_filesystem_proto_init() } 1412 func file_filesystem_filesystem_proto_init() { 1413 if File_filesystem_filesystem_proto != nil { 1414 return 1415 } 1416 file_filesystem_filesystem_proto_msgTypes[8].OneofWrappers = []any{} 1417 file_filesystem_filesystem_proto_msgTypes[13].OneofWrappers = []any{ 1418 (*WatchDirResponse_Start)(nil), 1419 (*WatchDirResponse_Filesystem)(nil), 1420 (*WatchDirResponse_Keepalive)(nil), 1421 } 1422 type x struct{} 1423 out := protoimpl.TypeBuilder{ 1424 File: protoimpl.DescBuilder{ 1425 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1426 RawDescriptor: unsafe.Slice(unsafe.StringData(file_filesystem_filesystem_proto_rawDesc), len(file_filesystem_filesystem_proto_rawDesc)), 1427 NumEnums: 2, 1428 NumMessages: 22, 1429 NumExtensions: 0, 1430 NumServices: 1, 1431 }, 1432 GoTypes: file_filesystem_filesystem_proto_goTypes, 1433 DependencyIndexes: file_filesystem_filesystem_proto_depIdxs, 1434 EnumInfos: file_filesystem_filesystem_proto_enumTypes, 1435 MessageInfos: file_filesystem_filesystem_proto_msgTypes, 1436 }.Build() 1437 File_filesystem_filesystem_proto = out.File 1438 file_filesystem_filesystem_proto_goTypes = nil 1439 file_filesystem_filesystem_proto_depIdxs = nil 1440 }