github.com/kaydxh/golang@v0.0.131/pkg/fsnotify/fsnotify.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.1 4 // protoc v3.13.0 5 // source: pkg/fsnotify/fsnotify.proto 6 7 package fsnotify 8 9 import ( 10 _ "github.com/golang/protobuf/ptypes/duration" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type Fsnotify struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` 30 FilePaths []string `protobuf:"bytes,2,rep,name=file_paths,json=filePaths,proto3" json:"file_paths,omitempty"` 31 } 32 33 func (x *Fsnotify) Reset() { 34 *x = Fsnotify{} 35 if protoimpl.UnsafeEnabled { 36 mi := &file_pkg_fsnotify_fsnotify_proto_msgTypes[0] 37 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 38 ms.StoreMessageInfo(mi) 39 } 40 } 41 42 func (x *Fsnotify) String() string { 43 return protoimpl.X.MessageStringOf(x) 44 } 45 46 func (*Fsnotify) ProtoMessage() {} 47 48 func (x *Fsnotify) ProtoReflect() protoreflect.Message { 49 mi := &file_pkg_fsnotify_fsnotify_proto_msgTypes[0] 50 if protoimpl.UnsafeEnabled && x != nil { 51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 52 if ms.LoadMessageInfo() == nil { 53 ms.StoreMessageInfo(mi) 54 } 55 return ms 56 } 57 return mi.MessageOf(x) 58 } 59 60 // Deprecated: Use Fsnotify.ProtoReflect.Descriptor instead. 61 func (*Fsnotify) Descriptor() ([]byte, []int) { 62 return file_pkg_fsnotify_fsnotify_proto_rawDescGZIP(), []int{0} 63 } 64 65 func (x *Fsnotify) GetEnabled() bool { 66 if x != nil { 67 return x.Enabled 68 } 69 return false 70 } 71 72 func (x *Fsnotify) GetFilePaths() []string { 73 if x != nil { 74 return x.FilePaths 75 } 76 return nil 77 } 78 79 var File_pkg_fsnotify_fsnotify_proto protoreflect.FileDescriptor 80 81 var file_pkg_fsnotify_fsnotify_proto_rawDesc = []byte{ 82 0x0a, 0x1b, 0x70, 0x6b, 0x67, 0x2f, 0x66, 0x73, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2f, 0x66, 83 0x73, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, 84 0x6f, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x66, 0x73, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x1a, 0x1e, 85 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 86 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 87 0x0a, 0x08, 0x46, 0x73, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 88 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 89 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 90 0x68, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 91 0x74, 0x68, 0x73, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 92 0x6d, 0x2f, 0x6b, 0x61, 0x79, 0x64, 0x78, 0x68, 0x2f, 0x67, 0x6f, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 93 0x66, 0x73, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x3b, 0x66, 0x73, 0x6e, 0x6f, 0x74, 0x69, 0x66, 94 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 95 } 96 97 var ( 98 file_pkg_fsnotify_fsnotify_proto_rawDescOnce sync.Once 99 file_pkg_fsnotify_fsnotify_proto_rawDescData = file_pkg_fsnotify_fsnotify_proto_rawDesc 100 ) 101 102 func file_pkg_fsnotify_fsnotify_proto_rawDescGZIP() []byte { 103 file_pkg_fsnotify_fsnotify_proto_rawDescOnce.Do(func() { 104 file_pkg_fsnotify_fsnotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_pkg_fsnotify_fsnotify_proto_rawDescData) 105 }) 106 return file_pkg_fsnotify_fsnotify_proto_rawDescData 107 } 108 109 var file_pkg_fsnotify_fsnotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 110 var file_pkg_fsnotify_fsnotify_proto_goTypes = []interface{}{ 111 (*Fsnotify)(nil), // 0: go.pkg.fsnotify.Fsnotify 112 } 113 var file_pkg_fsnotify_fsnotify_proto_depIdxs = []int32{ 114 0, // [0:0] is the sub-list for method output_type 115 0, // [0:0] is the sub-list for method input_type 116 0, // [0:0] is the sub-list for extension type_name 117 0, // [0:0] is the sub-list for extension extendee 118 0, // [0:0] is the sub-list for field type_name 119 } 120 121 func init() { file_pkg_fsnotify_fsnotify_proto_init() } 122 func file_pkg_fsnotify_fsnotify_proto_init() { 123 if File_pkg_fsnotify_fsnotify_proto != nil { 124 return 125 } 126 if !protoimpl.UnsafeEnabled { 127 file_pkg_fsnotify_fsnotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 128 switch v := v.(*Fsnotify); i { 129 case 0: 130 return &v.state 131 case 1: 132 return &v.sizeCache 133 case 2: 134 return &v.unknownFields 135 default: 136 return nil 137 } 138 } 139 } 140 type x struct{} 141 out := protoimpl.TypeBuilder{ 142 File: protoimpl.DescBuilder{ 143 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 144 RawDescriptor: file_pkg_fsnotify_fsnotify_proto_rawDesc, 145 NumEnums: 0, 146 NumMessages: 1, 147 NumExtensions: 0, 148 NumServices: 0, 149 }, 150 GoTypes: file_pkg_fsnotify_fsnotify_proto_goTypes, 151 DependencyIndexes: file_pkg_fsnotify_fsnotify_proto_depIdxs, 152 MessageInfos: file_pkg_fsnotify_fsnotify_proto_msgTypes, 153 }.Build() 154 File_pkg_fsnotify_fsnotify_proto = out.File 155 file_pkg_fsnotify_fsnotify_proto_rawDesc = nil 156 file_pkg_fsnotify_fsnotify_proto_goTypes = nil 157 file_pkg_fsnotify_fsnotify_proto_depIdxs = nil 158 }