kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/proto/filetree_go_proto/filetree.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.31.0 4 // protoc v4.25.2 5 // source: kythe/proto/filetree.proto 6 7 package filetree_go_proto 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 DirectoryReply_Kind int32 24 25 const ( 26 DirectoryReply_UNKNOWN DirectoryReply_Kind = 0 27 DirectoryReply_FILE DirectoryReply_Kind = 1 28 DirectoryReply_DIRECTORY DirectoryReply_Kind = 2 29 ) 30 31 // Enum value maps for DirectoryReply_Kind. 32 var ( 33 DirectoryReply_Kind_name = map[int32]string{ 34 0: "UNKNOWN", 35 1: "FILE", 36 2: "DIRECTORY", 37 } 38 DirectoryReply_Kind_value = map[string]int32{ 39 "UNKNOWN": 0, 40 "FILE": 1, 41 "DIRECTORY": 2, 42 } 43 ) 44 45 func (x DirectoryReply_Kind) Enum() *DirectoryReply_Kind { 46 p := new(DirectoryReply_Kind) 47 *p = x 48 return p 49 } 50 51 func (x DirectoryReply_Kind) String() string { 52 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 53 } 54 55 func (DirectoryReply_Kind) Descriptor() protoreflect.EnumDescriptor { 56 return file_kythe_proto_filetree_proto_enumTypes[0].Descriptor() 57 } 58 59 func (DirectoryReply_Kind) Type() protoreflect.EnumType { 60 return &file_kythe_proto_filetree_proto_enumTypes[0] 61 } 62 63 func (x DirectoryReply_Kind) Number() protoreflect.EnumNumber { 64 return protoreflect.EnumNumber(x) 65 } 66 67 // Deprecated: Use DirectoryReply_Kind.Descriptor instead. 68 func (DirectoryReply_Kind) EnumDescriptor() ([]byte, []int) { 69 return file_kythe_proto_filetree_proto_rawDescGZIP(), []int{3, 0} 70 } 71 72 type CorpusRootsRequest struct { 73 state protoimpl.MessageState 74 sizeCache protoimpl.SizeCache 75 unknownFields protoimpl.UnknownFields 76 } 77 78 func (x *CorpusRootsRequest) Reset() { 79 *x = CorpusRootsRequest{} 80 if protoimpl.UnsafeEnabled { 81 mi := &file_kythe_proto_filetree_proto_msgTypes[0] 82 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 83 ms.StoreMessageInfo(mi) 84 } 85 } 86 87 func (x *CorpusRootsRequest) String() string { 88 return protoimpl.X.MessageStringOf(x) 89 } 90 91 func (*CorpusRootsRequest) ProtoMessage() {} 92 93 func (x *CorpusRootsRequest) ProtoReflect() protoreflect.Message { 94 mi := &file_kythe_proto_filetree_proto_msgTypes[0] 95 if protoimpl.UnsafeEnabled && x != nil { 96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 97 if ms.LoadMessageInfo() == nil { 98 ms.StoreMessageInfo(mi) 99 } 100 return ms 101 } 102 return mi.MessageOf(x) 103 } 104 105 // Deprecated: Use CorpusRootsRequest.ProtoReflect.Descriptor instead. 106 func (*CorpusRootsRequest) Descriptor() ([]byte, []int) { 107 return file_kythe_proto_filetree_proto_rawDescGZIP(), []int{0} 108 } 109 110 type CorpusRootsReply struct { 111 state protoimpl.MessageState 112 sizeCache protoimpl.SizeCache 113 unknownFields protoimpl.UnknownFields 114 115 Corpus []*CorpusRootsReply_Corpus `protobuf:"bytes,1,rep,name=corpus,proto3" json:"corpus,omitempty"` 116 } 117 118 func (x *CorpusRootsReply) Reset() { 119 *x = CorpusRootsReply{} 120 if protoimpl.UnsafeEnabled { 121 mi := &file_kythe_proto_filetree_proto_msgTypes[1] 122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 123 ms.StoreMessageInfo(mi) 124 } 125 } 126 127 func (x *CorpusRootsReply) String() string { 128 return protoimpl.X.MessageStringOf(x) 129 } 130 131 func (*CorpusRootsReply) ProtoMessage() {} 132 133 func (x *CorpusRootsReply) ProtoReflect() protoreflect.Message { 134 mi := &file_kythe_proto_filetree_proto_msgTypes[1] 135 if protoimpl.UnsafeEnabled && x != nil { 136 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 137 if ms.LoadMessageInfo() == nil { 138 ms.StoreMessageInfo(mi) 139 } 140 return ms 141 } 142 return mi.MessageOf(x) 143 } 144 145 // Deprecated: Use CorpusRootsReply.ProtoReflect.Descriptor instead. 146 func (*CorpusRootsReply) Descriptor() ([]byte, []int) { 147 return file_kythe_proto_filetree_proto_rawDescGZIP(), []int{1} 148 } 149 150 func (x *CorpusRootsReply) GetCorpus() []*CorpusRootsReply_Corpus { 151 if x != nil { 152 return x.Corpus 153 } 154 return nil 155 } 156 157 type DirectoryRequest struct { 158 state protoimpl.MessageState 159 sizeCache protoimpl.SizeCache 160 unknownFields protoimpl.UnknownFields 161 162 Corpus string `protobuf:"bytes,1,opt,name=corpus,proto3" json:"corpus,omitempty"` 163 Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` 164 Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` 165 IncludeFilesMissingText bool `protobuf:"varint,4,opt,name=include_files_missing_text,json=includeFilesMissingText,proto3" json:"include_files_missing_text,omitempty"` 166 } 167 168 func (x *DirectoryRequest) Reset() { 169 *x = DirectoryRequest{} 170 if protoimpl.UnsafeEnabled { 171 mi := &file_kythe_proto_filetree_proto_msgTypes[2] 172 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 173 ms.StoreMessageInfo(mi) 174 } 175 } 176 177 func (x *DirectoryRequest) String() string { 178 return protoimpl.X.MessageStringOf(x) 179 } 180 181 func (*DirectoryRequest) ProtoMessage() {} 182 183 func (x *DirectoryRequest) ProtoReflect() protoreflect.Message { 184 mi := &file_kythe_proto_filetree_proto_msgTypes[2] 185 if protoimpl.UnsafeEnabled && x != nil { 186 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 187 if ms.LoadMessageInfo() == nil { 188 ms.StoreMessageInfo(mi) 189 } 190 return ms 191 } 192 return mi.MessageOf(x) 193 } 194 195 // Deprecated: Use DirectoryRequest.ProtoReflect.Descriptor instead. 196 func (*DirectoryRequest) Descriptor() ([]byte, []int) { 197 return file_kythe_proto_filetree_proto_rawDescGZIP(), []int{2} 198 } 199 200 func (x *DirectoryRequest) GetCorpus() string { 201 if x != nil { 202 return x.Corpus 203 } 204 return "" 205 } 206 207 func (x *DirectoryRequest) GetRoot() string { 208 if x != nil { 209 return x.Root 210 } 211 return "" 212 } 213 214 func (x *DirectoryRequest) GetPath() string { 215 if x != nil { 216 return x.Path 217 } 218 return "" 219 } 220 221 func (x *DirectoryRequest) GetIncludeFilesMissingText() bool { 222 if x != nil { 223 return x.IncludeFilesMissingText 224 } 225 return false 226 } 227 228 type DirectoryReply struct { 229 state protoimpl.MessageState 230 sizeCache protoimpl.SizeCache 231 unknownFields protoimpl.UnknownFields 232 233 Corpus string `protobuf:"bytes,3,opt,name=corpus,proto3" json:"corpus,omitempty"` 234 Root string `protobuf:"bytes,4,opt,name=root,proto3" json:"root,omitempty"` 235 Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` 236 Entry []*DirectoryReply_Entry `protobuf:"bytes,6,rep,name=entry,proto3" json:"entry,omitempty"` 237 } 238 239 func (x *DirectoryReply) Reset() { 240 *x = DirectoryReply{} 241 if protoimpl.UnsafeEnabled { 242 mi := &file_kythe_proto_filetree_proto_msgTypes[3] 243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 244 ms.StoreMessageInfo(mi) 245 } 246 } 247 248 func (x *DirectoryReply) String() string { 249 return protoimpl.X.MessageStringOf(x) 250 } 251 252 func (*DirectoryReply) ProtoMessage() {} 253 254 func (x *DirectoryReply) ProtoReflect() protoreflect.Message { 255 mi := &file_kythe_proto_filetree_proto_msgTypes[3] 256 if protoimpl.UnsafeEnabled && x != nil { 257 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 258 if ms.LoadMessageInfo() == nil { 259 ms.StoreMessageInfo(mi) 260 } 261 return ms 262 } 263 return mi.MessageOf(x) 264 } 265 266 // Deprecated: Use DirectoryReply.ProtoReflect.Descriptor instead. 267 func (*DirectoryReply) Descriptor() ([]byte, []int) { 268 return file_kythe_proto_filetree_proto_rawDescGZIP(), []int{3} 269 } 270 271 func (x *DirectoryReply) GetCorpus() string { 272 if x != nil { 273 return x.Corpus 274 } 275 return "" 276 } 277 278 func (x *DirectoryReply) GetRoot() string { 279 if x != nil { 280 return x.Root 281 } 282 return "" 283 } 284 285 func (x *DirectoryReply) GetPath() string { 286 if x != nil { 287 return x.Path 288 } 289 return "" 290 } 291 292 func (x *DirectoryReply) GetEntry() []*DirectoryReply_Entry { 293 if x != nil { 294 return x.Entry 295 } 296 return nil 297 } 298 299 type CorpusRootsReply_Corpus struct { 300 state protoimpl.MessageState 301 sizeCache protoimpl.SizeCache 302 unknownFields protoimpl.UnknownFields 303 304 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 305 Root []string `protobuf:"bytes,2,rep,name=root,proto3" json:"root,omitempty"` 306 BuildConfig []string `protobuf:"bytes,3,rep,name=build_config,json=buildConfig,proto3" json:"build_config,omitempty"` 307 } 308 309 func (x *CorpusRootsReply_Corpus) Reset() { 310 *x = CorpusRootsReply_Corpus{} 311 if protoimpl.UnsafeEnabled { 312 mi := &file_kythe_proto_filetree_proto_msgTypes[4] 313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 314 ms.StoreMessageInfo(mi) 315 } 316 } 317 318 func (x *CorpusRootsReply_Corpus) String() string { 319 return protoimpl.X.MessageStringOf(x) 320 } 321 322 func (*CorpusRootsReply_Corpus) ProtoMessage() {} 323 324 func (x *CorpusRootsReply_Corpus) ProtoReflect() protoreflect.Message { 325 mi := &file_kythe_proto_filetree_proto_msgTypes[4] 326 if protoimpl.UnsafeEnabled && x != nil { 327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 328 if ms.LoadMessageInfo() == nil { 329 ms.StoreMessageInfo(mi) 330 } 331 return ms 332 } 333 return mi.MessageOf(x) 334 } 335 336 // Deprecated: Use CorpusRootsReply_Corpus.ProtoReflect.Descriptor instead. 337 func (*CorpusRootsReply_Corpus) Descriptor() ([]byte, []int) { 338 return file_kythe_proto_filetree_proto_rawDescGZIP(), []int{1, 0} 339 } 340 341 func (x *CorpusRootsReply_Corpus) GetName() string { 342 if x != nil { 343 return x.Name 344 } 345 return "" 346 } 347 348 func (x *CorpusRootsReply_Corpus) GetRoot() []string { 349 if x != nil { 350 return x.Root 351 } 352 return nil 353 } 354 355 func (x *CorpusRootsReply_Corpus) GetBuildConfig() []string { 356 if x != nil { 357 return x.BuildConfig 358 } 359 return nil 360 } 361 362 type DirectoryReply_Entry struct { 363 state protoimpl.MessageState 364 sizeCache protoimpl.SizeCache 365 unknownFields protoimpl.UnknownFields 366 367 Kind DirectoryReply_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=kythe.proto.DirectoryReply_Kind" json:"kind,omitempty"` 368 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 369 BuildConfig []string `protobuf:"bytes,3,rep,name=build_config,json=buildConfig,proto3" json:"build_config,omitempty"` 370 Generated bool `protobuf:"varint,4,opt,name=generated,proto3" json:"generated,omitempty"` 371 MissingText bool `protobuf:"varint,5,opt,name=missing_text,json=missingText,proto3" json:"missing_text,omitempty"` 372 } 373 374 func (x *DirectoryReply_Entry) Reset() { 375 *x = DirectoryReply_Entry{} 376 if protoimpl.UnsafeEnabled { 377 mi := &file_kythe_proto_filetree_proto_msgTypes[5] 378 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 379 ms.StoreMessageInfo(mi) 380 } 381 } 382 383 func (x *DirectoryReply_Entry) String() string { 384 return protoimpl.X.MessageStringOf(x) 385 } 386 387 func (*DirectoryReply_Entry) ProtoMessage() {} 388 389 func (x *DirectoryReply_Entry) ProtoReflect() protoreflect.Message { 390 mi := &file_kythe_proto_filetree_proto_msgTypes[5] 391 if protoimpl.UnsafeEnabled && x != nil { 392 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 393 if ms.LoadMessageInfo() == nil { 394 ms.StoreMessageInfo(mi) 395 } 396 return ms 397 } 398 return mi.MessageOf(x) 399 } 400 401 // Deprecated: Use DirectoryReply_Entry.ProtoReflect.Descriptor instead. 402 func (*DirectoryReply_Entry) Descriptor() ([]byte, []int) { 403 return file_kythe_proto_filetree_proto_rawDescGZIP(), []int{3, 0} 404 } 405 406 func (x *DirectoryReply_Entry) GetKind() DirectoryReply_Kind { 407 if x != nil { 408 return x.Kind 409 } 410 return DirectoryReply_UNKNOWN 411 } 412 413 func (x *DirectoryReply_Entry) GetName() string { 414 if x != nil { 415 return x.Name 416 } 417 return "" 418 } 419 420 func (x *DirectoryReply_Entry) GetBuildConfig() []string { 421 if x != nil { 422 return x.BuildConfig 423 } 424 return nil 425 } 426 427 func (x *DirectoryReply_Entry) GetGenerated() bool { 428 if x != nil { 429 return x.Generated 430 } 431 return false 432 } 433 434 func (x *DirectoryReply_Entry) GetMissingText() bool { 435 if x != nil { 436 return x.MissingText 437 } 438 return false 439 } 440 441 var File_kythe_proto_filetree_proto protoreflect.FileDescriptor 442 443 var file_kythe_proto_filetree_proto_rawDesc = []byte{ 444 0x0a, 0x1a, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x69, 445 0x6c, 0x65, 0x74, 0x72, 0x65, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6b, 0x79, 446 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x12, 0x43, 0x6f, 0x72, 447 0x70, 0x75, 0x73, 0x52, 0x6f, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 448 0xa5, 0x01, 0x0a, 0x10, 0x43, 0x6f, 0x72, 0x70, 0x75, 0x73, 0x52, 0x6f, 0x6f, 0x74, 0x73, 0x52, 449 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3c, 0x0a, 0x06, 0x63, 0x6f, 0x72, 0x70, 0x75, 0x73, 0x18, 0x01, 450 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 451 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x72, 0x70, 0x75, 0x73, 0x52, 0x6f, 0x6f, 0x74, 0x73, 0x52, 0x65, 452 0x70, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x70, 0x75, 0x73, 0x52, 0x06, 0x63, 0x6f, 0x72, 0x70, 453 0x75, 0x73, 0x1a, 0x53, 0x0a, 0x06, 0x43, 0x6f, 0x72, 0x70, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 454 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 455 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 456 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 457 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 458 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x8f, 0x01, 0x0a, 0x10, 0x44, 0x69, 0x72, 0x65, 459 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 460 0x63, 0x6f, 0x72, 0x70, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 461 0x72, 0x70, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 462 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 463 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x3b, 0x0a, 0x1a, 464 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x6d, 0x69, 465 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 466 0x52, 0x17, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x4d, 0x69, 467 0x73, 0x73, 0x69, 0x6e, 0x67, 0x54, 0x65, 0x78, 0x74, 0x22, 0xfb, 0x02, 0x0a, 0x0e, 0x44, 0x69, 468 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x16, 0x0a, 0x06, 469 0x63, 0x6f, 0x72, 0x70, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 470 0x72, 0x70, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 471 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 472 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x37, 0x0a, 0x05, 473 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6b, 0x79, 474 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 475 0x6f, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 476 0x65, 0x6e, 0x74, 0x72, 0x79, 0x1a, 0xb5, 0x01, 0x0a, 0x05, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 477 0x34, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 478 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44, 0x69, 0x72, 0x65, 479 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 480 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 481 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x75, 0x69, 482 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 483 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1c, 0x0a, 0x09, 484 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 485 0x09, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x69, 486 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 487 0x52, 0x0b, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x54, 0x65, 0x78, 0x74, 0x22, 0x2c, 0x0a, 488 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 489 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 490 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x59, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x01, 0x10, 491 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x32, 0xad, 0x01, 0x0a, 0x0f, 0x46, 0x69, 0x6c, 0x65, 492 0x54, 0x72, 0x65, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4f, 0x0a, 0x0b, 0x43, 493 0x6f, 0x72, 0x70, 0x75, 0x73, 0x52, 0x6f, 0x6f, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x6b, 0x79, 0x74, 494 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x72, 0x70, 0x75, 0x73, 0x52, 495 0x6f, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6b, 0x79, 496 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x72, 0x70, 0x75, 0x73, 497 0x52, 0x6f, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x09, 498 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1d, 0x2e, 0x6b, 0x79, 0x74, 0x68, 499 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 500 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 501 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 502 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x49, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 503 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x6b, 504 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x26, 0x6b, 0x79, 0x74, 0x68, 505 0x65, 0x2e, 0x69, 0x6f, 0x2f, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 506 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x67, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 507 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 508 } 509 510 var ( 511 file_kythe_proto_filetree_proto_rawDescOnce sync.Once 512 file_kythe_proto_filetree_proto_rawDescData = file_kythe_proto_filetree_proto_rawDesc 513 ) 514 515 func file_kythe_proto_filetree_proto_rawDescGZIP() []byte { 516 file_kythe_proto_filetree_proto_rawDescOnce.Do(func() { 517 file_kythe_proto_filetree_proto_rawDescData = protoimpl.X.CompressGZIP(file_kythe_proto_filetree_proto_rawDescData) 518 }) 519 return file_kythe_proto_filetree_proto_rawDescData 520 } 521 522 var file_kythe_proto_filetree_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 523 var file_kythe_proto_filetree_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 524 var file_kythe_proto_filetree_proto_goTypes = []interface{}{ 525 (DirectoryReply_Kind)(0), // 0: kythe.proto.DirectoryReply.Kind 526 (*CorpusRootsRequest)(nil), // 1: kythe.proto.CorpusRootsRequest 527 (*CorpusRootsReply)(nil), // 2: kythe.proto.CorpusRootsReply 528 (*DirectoryRequest)(nil), // 3: kythe.proto.DirectoryRequest 529 (*DirectoryReply)(nil), // 4: kythe.proto.DirectoryReply 530 (*CorpusRootsReply_Corpus)(nil), // 5: kythe.proto.CorpusRootsReply.Corpus 531 (*DirectoryReply_Entry)(nil), // 6: kythe.proto.DirectoryReply.Entry 532 } 533 var file_kythe_proto_filetree_proto_depIdxs = []int32{ 534 5, // 0: kythe.proto.CorpusRootsReply.corpus:type_name -> kythe.proto.CorpusRootsReply.Corpus 535 6, // 1: kythe.proto.DirectoryReply.entry:type_name -> kythe.proto.DirectoryReply.Entry 536 0, // 2: kythe.proto.DirectoryReply.Entry.kind:type_name -> kythe.proto.DirectoryReply.Kind 537 1, // 3: kythe.proto.FileTreeService.CorpusRoots:input_type -> kythe.proto.CorpusRootsRequest 538 3, // 4: kythe.proto.FileTreeService.Directory:input_type -> kythe.proto.DirectoryRequest 539 2, // 5: kythe.proto.FileTreeService.CorpusRoots:output_type -> kythe.proto.CorpusRootsReply 540 4, // 6: kythe.proto.FileTreeService.Directory:output_type -> kythe.proto.DirectoryReply 541 5, // [5:7] is the sub-list for method output_type 542 3, // [3:5] is the sub-list for method input_type 543 3, // [3:3] is the sub-list for extension type_name 544 3, // [3:3] is the sub-list for extension extendee 545 0, // [0:3] is the sub-list for field type_name 546 } 547 548 func init() { file_kythe_proto_filetree_proto_init() } 549 func file_kythe_proto_filetree_proto_init() { 550 if File_kythe_proto_filetree_proto != nil { 551 return 552 } 553 if !protoimpl.UnsafeEnabled { 554 file_kythe_proto_filetree_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 555 switch v := v.(*CorpusRootsRequest); i { 556 case 0: 557 return &v.state 558 case 1: 559 return &v.sizeCache 560 case 2: 561 return &v.unknownFields 562 default: 563 return nil 564 } 565 } 566 file_kythe_proto_filetree_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 567 switch v := v.(*CorpusRootsReply); i { 568 case 0: 569 return &v.state 570 case 1: 571 return &v.sizeCache 572 case 2: 573 return &v.unknownFields 574 default: 575 return nil 576 } 577 } 578 file_kythe_proto_filetree_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 579 switch v := v.(*DirectoryRequest); i { 580 case 0: 581 return &v.state 582 case 1: 583 return &v.sizeCache 584 case 2: 585 return &v.unknownFields 586 default: 587 return nil 588 } 589 } 590 file_kythe_proto_filetree_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 591 switch v := v.(*DirectoryReply); i { 592 case 0: 593 return &v.state 594 case 1: 595 return &v.sizeCache 596 case 2: 597 return &v.unknownFields 598 default: 599 return nil 600 } 601 } 602 file_kythe_proto_filetree_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 603 switch v := v.(*CorpusRootsReply_Corpus); i { 604 case 0: 605 return &v.state 606 case 1: 607 return &v.sizeCache 608 case 2: 609 return &v.unknownFields 610 default: 611 return nil 612 } 613 } 614 file_kythe_proto_filetree_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 615 switch v := v.(*DirectoryReply_Entry); i { 616 case 0: 617 return &v.state 618 case 1: 619 return &v.sizeCache 620 case 2: 621 return &v.unknownFields 622 default: 623 return nil 624 } 625 } 626 } 627 type x struct{} 628 out := protoimpl.TypeBuilder{ 629 File: protoimpl.DescBuilder{ 630 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 631 RawDescriptor: file_kythe_proto_filetree_proto_rawDesc, 632 NumEnums: 1, 633 NumMessages: 6, 634 NumExtensions: 0, 635 NumServices: 1, 636 }, 637 GoTypes: file_kythe_proto_filetree_proto_goTypes, 638 DependencyIndexes: file_kythe_proto_filetree_proto_depIdxs, 639 EnumInfos: file_kythe_proto_filetree_proto_enumTypes, 640 MessageInfos: file_kythe_proto_filetree_proto_msgTypes, 641 }.Build() 642 File_kythe_proto_filetree_proto = out.File 643 file_kythe_proto_filetree_proto_rawDesc = nil 644 file_kythe_proto_filetree_proto_goTypes = nil 645 file_kythe_proto_filetree_proto_depIdxs = nil 646 }