kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/proto/identifier_go_proto/identifier.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/identifier.proto 6 7 package identifier_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 FindRequest struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` 29 Corpus []string `protobuf:"bytes,2,rep,name=corpus,proto3" json:"corpus,omitempty"` 30 Languages []string `protobuf:"bytes,3,rep,name=languages,proto3" json:"languages,omitempty"` 31 PickCanonicalNodes bool `protobuf:"varint,4,opt,name=pick_canonical_nodes,json=pickCanonicalNodes,proto3" json:"pick_canonical_nodes,omitempty"` 32 } 33 34 func (x *FindRequest) Reset() { 35 *x = FindRequest{} 36 if protoimpl.UnsafeEnabled { 37 mi := &file_kythe_proto_identifier_proto_msgTypes[0] 38 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 39 ms.StoreMessageInfo(mi) 40 } 41 } 42 43 func (x *FindRequest) String() string { 44 return protoimpl.X.MessageStringOf(x) 45 } 46 47 func (*FindRequest) ProtoMessage() {} 48 49 func (x *FindRequest) ProtoReflect() protoreflect.Message { 50 mi := &file_kythe_proto_identifier_proto_msgTypes[0] 51 if protoimpl.UnsafeEnabled && x != nil { 52 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 53 if ms.LoadMessageInfo() == nil { 54 ms.StoreMessageInfo(mi) 55 } 56 return ms 57 } 58 return mi.MessageOf(x) 59 } 60 61 // Deprecated: Use FindRequest.ProtoReflect.Descriptor instead. 62 func (*FindRequest) Descriptor() ([]byte, []int) { 63 return file_kythe_proto_identifier_proto_rawDescGZIP(), []int{0} 64 } 65 66 func (x *FindRequest) GetIdentifier() string { 67 if x != nil { 68 return x.Identifier 69 } 70 return "" 71 } 72 73 func (x *FindRequest) GetCorpus() []string { 74 if x != nil { 75 return x.Corpus 76 } 77 return nil 78 } 79 80 func (x *FindRequest) GetLanguages() []string { 81 if x != nil { 82 return x.Languages 83 } 84 return nil 85 } 86 87 func (x *FindRequest) GetPickCanonicalNodes() bool { 88 if x != nil { 89 return x.PickCanonicalNodes 90 } 91 return false 92 } 93 94 type FindReply struct { 95 state protoimpl.MessageState 96 sizeCache protoimpl.SizeCache 97 unknownFields protoimpl.UnknownFields 98 99 Matches []*FindReply_Match `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"` 100 } 101 102 func (x *FindReply) Reset() { 103 *x = FindReply{} 104 if protoimpl.UnsafeEnabled { 105 mi := &file_kythe_proto_identifier_proto_msgTypes[1] 106 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 107 ms.StoreMessageInfo(mi) 108 } 109 } 110 111 func (x *FindReply) String() string { 112 return protoimpl.X.MessageStringOf(x) 113 } 114 115 func (*FindReply) ProtoMessage() {} 116 117 func (x *FindReply) ProtoReflect() protoreflect.Message { 118 mi := &file_kythe_proto_identifier_proto_msgTypes[1] 119 if protoimpl.UnsafeEnabled && x != nil { 120 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 121 if ms.LoadMessageInfo() == nil { 122 ms.StoreMessageInfo(mi) 123 } 124 return ms 125 } 126 return mi.MessageOf(x) 127 } 128 129 // Deprecated: Use FindReply.ProtoReflect.Descriptor instead. 130 func (*FindReply) Descriptor() ([]byte, []int) { 131 return file_kythe_proto_identifier_proto_rawDescGZIP(), []int{1} 132 } 133 134 func (x *FindReply) GetMatches() []*FindReply_Match { 135 if x != nil { 136 return x.Matches 137 } 138 return nil 139 } 140 141 type FindReply_Match struct { 142 state protoimpl.MessageState 143 sizeCache protoimpl.SizeCache 144 unknownFields protoimpl.UnknownFields 145 146 Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` 147 NodeKind string `protobuf:"bytes,2,opt,name=node_kind,json=nodeKind,proto3" json:"node_kind,omitempty"` 148 NodeSubkind string `protobuf:"bytes,3,opt,name=node_subkind,json=nodeSubkind,proto3" json:"node_subkind,omitempty"` 149 BaseName string `protobuf:"bytes,4,opt,name=base_name,json=baseName,proto3" json:"base_name,omitempty"` 150 QualifiedName string `protobuf:"bytes,5,opt,name=qualified_name,json=qualifiedName,proto3" json:"qualified_name,omitempty"` 151 } 152 153 func (x *FindReply_Match) Reset() { 154 *x = FindReply_Match{} 155 if protoimpl.UnsafeEnabled { 156 mi := &file_kythe_proto_identifier_proto_msgTypes[2] 157 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 158 ms.StoreMessageInfo(mi) 159 } 160 } 161 162 func (x *FindReply_Match) String() string { 163 return protoimpl.X.MessageStringOf(x) 164 } 165 166 func (*FindReply_Match) ProtoMessage() {} 167 168 func (x *FindReply_Match) ProtoReflect() protoreflect.Message { 169 mi := &file_kythe_proto_identifier_proto_msgTypes[2] 170 if protoimpl.UnsafeEnabled && x != nil { 171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 172 if ms.LoadMessageInfo() == nil { 173 ms.StoreMessageInfo(mi) 174 } 175 return ms 176 } 177 return mi.MessageOf(x) 178 } 179 180 // Deprecated: Use FindReply_Match.ProtoReflect.Descriptor instead. 181 func (*FindReply_Match) Descriptor() ([]byte, []int) { 182 return file_kythe_proto_identifier_proto_rawDescGZIP(), []int{1, 0} 183 } 184 185 func (x *FindReply_Match) GetTicket() string { 186 if x != nil { 187 return x.Ticket 188 } 189 return "" 190 } 191 192 func (x *FindReply_Match) GetNodeKind() string { 193 if x != nil { 194 return x.NodeKind 195 } 196 return "" 197 } 198 199 func (x *FindReply_Match) GetNodeSubkind() string { 200 if x != nil { 201 return x.NodeSubkind 202 } 203 return "" 204 } 205 206 func (x *FindReply_Match) GetBaseName() string { 207 if x != nil { 208 return x.BaseName 209 } 210 return "" 211 } 212 213 func (x *FindReply_Match) GetQualifiedName() string { 214 if x != nil { 215 return x.QualifiedName 216 } 217 return "" 218 } 219 220 var File_kythe_proto_identifier_proto protoreflect.FileDescriptor 221 222 var file_kythe_proto_identifier_proto_rawDesc = []byte{ 223 0x0a, 0x1c, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x69, 0x64, 224 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 225 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x95, 0x01, 0x0a, 0x0b, 226 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 227 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 228 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x63, 229 0x6f, 0x72, 0x70, 0x75, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x72, 230 0x70, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 231 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 232 0x73, 0x12, 0x30, 0x0a, 0x14, 0x70, 0x69, 0x63, 0x6b, 0x5f, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 233 0x63, 0x61, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 234 0x12, 0x70, 0x69, 0x63, 0x6b, 0x43, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x4e, 0x6f, 235 0x64, 0x65, 0x73, 0x22, 0xe9, 0x01, 0x0a, 0x09, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 236 0x79, 0x12, 0x36, 0x0a, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 237 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 238 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 239 0x52, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x1a, 0xa3, 0x01, 0x0a, 0x05, 0x4d, 0x61, 240 0x74, 0x63, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 241 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 242 0x6f, 0x64, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 243 0x6e, 0x6f, 0x64, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 244 0x5f, 0x73, 0x75, 0x62, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 245 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x75, 0x62, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x62, 246 0x61, 0x73, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 247 0x62, 0x61, 0x73, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x71, 0x75, 0x61, 0x6c, 248 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 249 0x52, 0x0d, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x32, 250 0x4d, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x53, 0x65, 0x72, 251 0x76, 0x69, 0x63, 0x65, 0x12, 0x38, 0x0a, 0x04, 0x46, 0x69, 0x6e, 0x64, 0x12, 0x18, 0x2e, 0x6b, 252 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 253 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 254 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x42, 0x4b, 255 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 256 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 257 0x6f, 0x5a, 0x28, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x69, 0x6f, 0x2f, 0x6b, 0x79, 0x74, 0x68, 258 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 259 0x65, 0x72, 0x5f, 0x67, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 260 0x74, 0x6f, 0x33, 261 } 262 263 var ( 264 file_kythe_proto_identifier_proto_rawDescOnce sync.Once 265 file_kythe_proto_identifier_proto_rawDescData = file_kythe_proto_identifier_proto_rawDesc 266 ) 267 268 func file_kythe_proto_identifier_proto_rawDescGZIP() []byte { 269 file_kythe_proto_identifier_proto_rawDescOnce.Do(func() { 270 file_kythe_proto_identifier_proto_rawDescData = protoimpl.X.CompressGZIP(file_kythe_proto_identifier_proto_rawDescData) 271 }) 272 return file_kythe_proto_identifier_proto_rawDescData 273 } 274 275 var file_kythe_proto_identifier_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 276 var file_kythe_proto_identifier_proto_goTypes = []interface{}{ 277 (*FindRequest)(nil), // 0: kythe.proto.FindRequest 278 (*FindReply)(nil), // 1: kythe.proto.FindReply 279 (*FindReply_Match)(nil), // 2: kythe.proto.FindReply.Match 280 } 281 var file_kythe_proto_identifier_proto_depIdxs = []int32{ 282 2, // 0: kythe.proto.FindReply.matches:type_name -> kythe.proto.FindReply.Match 283 0, // 1: kythe.proto.IdentifierService.Find:input_type -> kythe.proto.FindRequest 284 1, // 2: kythe.proto.IdentifierService.Find:output_type -> kythe.proto.FindReply 285 2, // [2:3] is the sub-list for method output_type 286 1, // [1:2] is the sub-list for method input_type 287 1, // [1:1] is the sub-list for extension type_name 288 1, // [1:1] is the sub-list for extension extendee 289 0, // [0:1] is the sub-list for field type_name 290 } 291 292 func init() { file_kythe_proto_identifier_proto_init() } 293 func file_kythe_proto_identifier_proto_init() { 294 if File_kythe_proto_identifier_proto != nil { 295 return 296 } 297 if !protoimpl.UnsafeEnabled { 298 file_kythe_proto_identifier_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 299 switch v := v.(*FindRequest); i { 300 case 0: 301 return &v.state 302 case 1: 303 return &v.sizeCache 304 case 2: 305 return &v.unknownFields 306 default: 307 return nil 308 } 309 } 310 file_kythe_proto_identifier_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 311 switch v := v.(*FindReply); i { 312 case 0: 313 return &v.state 314 case 1: 315 return &v.sizeCache 316 case 2: 317 return &v.unknownFields 318 default: 319 return nil 320 } 321 } 322 file_kythe_proto_identifier_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 323 switch v := v.(*FindReply_Match); i { 324 case 0: 325 return &v.state 326 case 1: 327 return &v.sizeCache 328 case 2: 329 return &v.unknownFields 330 default: 331 return nil 332 } 333 } 334 } 335 type x struct{} 336 out := protoimpl.TypeBuilder{ 337 File: protoimpl.DescBuilder{ 338 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 339 RawDescriptor: file_kythe_proto_identifier_proto_rawDesc, 340 NumEnums: 0, 341 NumMessages: 3, 342 NumExtensions: 0, 343 NumServices: 1, 344 }, 345 GoTypes: file_kythe_proto_identifier_proto_goTypes, 346 DependencyIndexes: file_kythe_proto_identifier_proto_depIdxs, 347 MessageInfos: file_kythe_proto_identifier_proto_msgTypes, 348 }.Build() 349 File_kythe_proto_identifier_proto = out.File 350 file_kythe_proto_identifier_proto_rawDesc = nil 351 file_kythe_proto_identifier_proto_goTypes = nil 352 file_kythe_proto_identifier_proto_depIdxs = nil 353 }