kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/proto/go_go_proto/go.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/go.proto 6 7 package go_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 GoDetails struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 Goos string `protobuf:"bytes,1,opt,name=goos,proto3" json:"goos,omitempty"` 29 Goarch string `protobuf:"bytes,2,opt,name=goarch,proto3" json:"goarch,omitempty"` 30 Goroot string `protobuf:"bytes,3,opt,name=goroot,proto3" json:"goroot,omitempty"` 31 Gopath string `protobuf:"bytes,4,opt,name=gopath,proto3" json:"gopath,omitempty"` 32 Compiler string `protobuf:"bytes,5,opt,name=compiler,proto3" json:"compiler,omitempty"` 33 BuildTags []string `protobuf:"bytes,6,rep,name=build_tags,json=buildTags,proto3" json:"build_tags,omitempty"` 34 CgoEnabled bool `protobuf:"varint,7,opt,name=cgo_enabled,json=cgoEnabled,proto3" json:"cgo_enabled,omitempty"` 35 } 36 37 func (x *GoDetails) Reset() { 38 *x = GoDetails{} 39 if protoimpl.UnsafeEnabled { 40 mi := &file_kythe_proto_go_proto_msgTypes[0] 41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 42 ms.StoreMessageInfo(mi) 43 } 44 } 45 46 func (x *GoDetails) String() string { 47 return protoimpl.X.MessageStringOf(x) 48 } 49 50 func (*GoDetails) ProtoMessage() {} 51 52 func (x *GoDetails) ProtoReflect() protoreflect.Message { 53 mi := &file_kythe_proto_go_proto_msgTypes[0] 54 if protoimpl.UnsafeEnabled && x != nil { 55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 56 if ms.LoadMessageInfo() == nil { 57 ms.StoreMessageInfo(mi) 58 } 59 return ms 60 } 61 return mi.MessageOf(x) 62 } 63 64 // Deprecated: Use GoDetails.ProtoReflect.Descriptor instead. 65 func (*GoDetails) Descriptor() ([]byte, []int) { 66 return file_kythe_proto_go_proto_rawDescGZIP(), []int{0} 67 } 68 69 func (x *GoDetails) GetGoos() string { 70 if x != nil { 71 return x.Goos 72 } 73 return "" 74 } 75 76 func (x *GoDetails) GetGoarch() string { 77 if x != nil { 78 return x.Goarch 79 } 80 return "" 81 } 82 83 func (x *GoDetails) GetGoroot() string { 84 if x != nil { 85 return x.Goroot 86 } 87 return "" 88 } 89 90 func (x *GoDetails) GetGopath() string { 91 if x != nil { 92 return x.Gopath 93 } 94 return "" 95 } 96 97 func (x *GoDetails) GetCompiler() string { 98 if x != nil { 99 return x.Compiler 100 } 101 return "" 102 } 103 104 func (x *GoDetails) GetBuildTags() []string { 105 if x != nil { 106 return x.BuildTags 107 } 108 return nil 109 } 110 111 func (x *GoDetails) GetCgoEnabled() bool { 112 if x != nil { 113 return x.CgoEnabled 114 } 115 return false 116 } 117 118 type GoPackageInfo struct { 119 state protoimpl.MessageState 120 sizeCache protoimpl.SizeCache 121 unknownFields protoimpl.UnknownFields 122 123 ImportPath string `protobuf:"bytes,1,opt,name=import_path,json=importPath,proto3" json:"import_path,omitempty"` 124 } 125 126 func (x *GoPackageInfo) Reset() { 127 *x = GoPackageInfo{} 128 if protoimpl.UnsafeEnabled { 129 mi := &file_kythe_proto_go_proto_msgTypes[1] 130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 131 ms.StoreMessageInfo(mi) 132 } 133 } 134 135 func (x *GoPackageInfo) String() string { 136 return protoimpl.X.MessageStringOf(x) 137 } 138 139 func (*GoPackageInfo) ProtoMessage() {} 140 141 func (x *GoPackageInfo) ProtoReflect() protoreflect.Message { 142 mi := &file_kythe_proto_go_proto_msgTypes[1] 143 if protoimpl.UnsafeEnabled && x != nil { 144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 145 if ms.LoadMessageInfo() == nil { 146 ms.StoreMessageInfo(mi) 147 } 148 return ms 149 } 150 return mi.MessageOf(x) 151 } 152 153 // Deprecated: Use GoPackageInfo.ProtoReflect.Descriptor instead. 154 func (*GoPackageInfo) Descriptor() ([]byte, []int) { 155 return file_kythe_proto_go_proto_rawDescGZIP(), []int{1} 156 } 157 158 func (x *GoPackageInfo) GetImportPath() string { 159 if x != nil { 160 return x.ImportPath 161 } 162 return "" 163 } 164 165 type FlagConstructors struct { 166 state protoimpl.MessageState 167 sizeCache protoimpl.SizeCache 168 unknownFields protoimpl.UnknownFields 169 170 Flag []*FlagConstructor `protobuf:"bytes,1,rep,name=flag,proto3" json:"flag,omitempty"` 171 } 172 173 func (x *FlagConstructors) Reset() { 174 *x = FlagConstructors{} 175 if protoimpl.UnsafeEnabled { 176 mi := &file_kythe_proto_go_proto_msgTypes[2] 177 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 178 ms.StoreMessageInfo(mi) 179 } 180 } 181 182 func (x *FlagConstructors) String() string { 183 return protoimpl.X.MessageStringOf(x) 184 } 185 186 func (*FlagConstructors) ProtoMessage() {} 187 188 func (x *FlagConstructors) ProtoReflect() protoreflect.Message { 189 mi := &file_kythe_proto_go_proto_msgTypes[2] 190 if protoimpl.UnsafeEnabled && x != nil { 191 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 192 if ms.LoadMessageInfo() == nil { 193 ms.StoreMessageInfo(mi) 194 } 195 return ms 196 } 197 return mi.MessageOf(x) 198 } 199 200 // Deprecated: Use FlagConstructors.ProtoReflect.Descriptor instead. 201 func (*FlagConstructors) Descriptor() ([]byte, []int) { 202 return file_kythe_proto_go_proto_rawDescGZIP(), []int{2} 203 } 204 205 func (x *FlagConstructors) GetFlag() []*FlagConstructor { 206 if x != nil { 207 return x.Flag 208 } 209 return nil 210 } 211 212 type FlagConstructor struct { 213 state protoimpl.MessageState 214 sizeCache protoimpl.SizeCache 215 unknownFields protoimpl.UnknownFields 216 217 PkgPath string `protobuf:"bytes,1,opt,name=pkg_path,json=pkgPath,proto3" json:"pkg_path,omitempty"` 218 FuncName string `protobuf:"bytes,2,opt,name=func_name,json=funcName,proto3" json:"func_name,omitempty"` 219 NameArgPosition uint32 `protobuf:"varint,3,opt,name=name_arg_position,json=nameArgPosition,proto3" json:"name_arg_position,omitempty"` 220 DescriptionArgPosition uint32 `protobuf:"varint,4,opt,name=description_arg_position,json=descriptionArgPosition,proto3" json:"description_arg_position,omitempty"` 221 VarArgPosition *uint32 `protobuf:"varint,5,opt,name=var_arg_position,json=varArgPosition,proto3,oneof" json:"var_arg_position,omitempty"` 222 } 223 224 func (x *FlagConstructor) Reset() { 225 *x = FlagConstructor{} 226 if protoimpl.UnsafeEnabled { 227 mi := &file_kythe_proto_go_proto_msgTypes[3] 228 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 229 ms.StoreMessageInfo(mi) 230 } 231 } 232 233 func (x *FlagConstructor) String() string { 234 return protoimpl.X.MessageStringOf(x) 235 } 236 237 func (*FlagConstructor) ProtoMessage() {} 238 239 func (x *FlagConstructor) ProtoReflect() protoreflect.Message { 240 mi := &file_kythe_proto_go_proto_msgTypes[3] 241 if protoimpl.UnsafeEnabled && x != nil { 242 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 243 if ms.LoadMessageInfo() == nil { 244 ms.StoreMessageInfo(mi) 245 } 246 return ms 247 } 248 return mi.MessageOf(x) 249 } 250 251 // Deprecated: Use FlagConstructor.ProtoReflect.Descriptor instead. 252 func (*FlagConstructor) Descriptor() ([]byte, []int) { 253 return file_kythe_proto_go_proto_rawDescGZIP(), []int{3} 254 } 255 256 func (x *FlagConstructor) GetPkgPath() string { 257 if x != nil { 258 return x.PkgPath 259 } 260 return "" 261 } 262 263 func (x *FlagConstructor) GetFuncName() string { 264 if x != nil { 265 return x.FuncName 266 } 267 return "" 268 } 269 270 func (x *FlagConstructor) GetNameArgPosition() uint32 { 271 if x != nil { 272 return x.NameArgPosition 273 } 274 return 0 275 } 276 277 func (x *FlagConstructor) GetDescriptionArgPosition() uint32 { 278 if x != nil { 279 return x.DescriptionArgPosition 280 } 281 return 0 282 } 283 284 func (x *FlagConstructor) GetVarArgPosition() uint32 { 285 if x != nil && x.VarArgPosition != nil { 286 return *x.VarArgPosition 287 } 288 return 0 289 } 290 291 var File_kythe_proto_go_proto protoreflect.FileDescriptor 292 293 var file_kythe_proto_go_proto_rawDesc = []byte{ 294 0x0a, 0x14, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 295 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 296 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x01, 0x0a, 0x09, 0x47, 0x6f, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 297 0x73, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x6f, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 298 0x04, 0x67, 0x6f, 0x6f, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x6f, 0x61, 0x72, 0x63, 0x68, 0x18, 299 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67, 0x6f, 0x61, 0x72, 0x63, 0x68, 0x12, 0x16, 0x0a, 300 0x06, 0x67, 0x6f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67, 301 0x6f, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x6f, 0x70, 0x61, 0x74, 0x68, 0x18, 302 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67, 0x6f, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 303 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 304 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x75, 0x69, 305 0x6c, 0x64, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x62, 306 0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x67, 0x6f, 0x5f, 307 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x63, 308 0x67, 0x6f, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x30, 0x0a, 0x0d, 0x47, 0x6f, 0x50, 309 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6d, 310 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 311 0x0a, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0x44, 0x0a, 0x10, 0x46, 312 0x6c, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x12, 313 0x30, 0x0a, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 314 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x6c, 0x61, 0x67, 315 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x04, 0x66, 0x6c, 0x61, 316 0x67, 0x22, 0xf3, 0x01, 0x0a, 0x0f, 0x46, 0x6c, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 317 0x75, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6b, 0x67, 0x5f, 0x70, 0x61, 0x74, 318 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6b, 0x67, 0x50, 0x61, 0x74, 0x68, 319 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 320 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6e, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 321 0x11, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x61, 0x72, 0x67, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 322 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6e, 0x61, 0x6d, 0x65, 0x41, 0x72, 323 0x67, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x18, 0x64, 0x65, 0x73, 324 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x72, 0x67, 0x5f, 0x70, 0x6f, 0x73, 325 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x64, 0x65, 0x73, 326 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x67, 0x50, 0x6f, 0x73, 0x69, 0x74, 327 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x10, 0x76, 0x61, 0x72, 0x5f, 0x61, 0x72, 0x67, 0x5f, 0x70, 328 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 329 0x0e, 0x76, 0x61, 0x72, 0x41, 0x72, 0x67, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x88, 330 0x01, 0x01, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x76, 0x61, 0x72, 0x5f, 0x61, 0x72, 0x67, 0x5f, 0x70, 331 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x43, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 332 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x6b, 333 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x20, 0x6b, 0x79, 0x74, 0x68, 334 0x65, 0x2e, 0x69, 0x6f, 0x2f, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 335 0x2f, 0x67, 0x6f, 0x5f, 0x67, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 336 0x6f, 0x74, 0x6f, 0x33, 337 } 338 339 var ( 340 file_kythe_proto_go_proto_rawDescOnce sync.Once 341 file_kythe_proto_go_proto_rawDescData = file_kythe_proto_go_proto_rawDesc 342 ) 343 344 func file_kythe_proto_go_proto_rawDescGZIP() []byte { 345 file_kythe_proto_go_proto_rawDescOnce.Do(func() { 346 file_kythe_proto_go_proto_rawDescData = protoimpl.X.CompressGZIP(file_kythe_proto_go_proto_rawDescData) 347 }) 348 return file_kythe_proto_go_proto_rawDescData 349 } 350 351 var file_kythe_proto_go_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 352 var file_kythe_proto_go_proto_goTypes = []interface{}{ 353 (*GoDetails)(nil), // 0: kythe.proto.GoDetails 354 (*GoPackageInfo)(nil), // 1: kythe.proto.GoPackageInfo 355 (*FlagConstructors)(nil), // 2: kythe.proto.FlagConstructors 356 (*FlagConstructor)(nil), // 3: kythe.proto.FlagConstructor 357 } 358 var file_kythe_proto_go_proto_depIdxs = []int32{ 359 3, // 0: kythe.proto.FlagConstructors.flag:type_name -> kythe.proto.FlagConstructor 360 1, // [1:1] is the sub-list for method output_type 361 1, // [1:1] is the sub-list for method input_type 362 1, // [1:1] is the sub-list for extension type_name 363 1, // [1:1] is the sub-list for extension extendee 364 0, // [0:1] is the sub-list for field type_name 365 } 366 367 func init() { file_kythe_proto_go_proto_init() } 368 func file_kythe_proto_go_proto_init() { 369 if File_kythe_proto_go_proto != nil { 370 return 371 } 372 if !protoimpl.UnsafeEnabled { 373 file_kythe_proto_go_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 374 switch v := v.(*GoDetails); i { 375 case 0: 376 return &v.state 377 case 1: 378 return &v.sizeCache 379 case 2: 380 return &v.unknownFields 381 default: 382 return nil 383 } 384 } 385 file_kythe_proto_go_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 386 switch v := v.(*GoPackageInfo); i { 387 case 0: 388 return &v.state 389 case 1: 390 return &v.sizeCache 391 case 2: 392 return &v.unknownFields 393 default: 394 return nil 395 } 396 } 397 file_kythe_proto_go_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 398 switch v := v.(*FlagConstructors); i { 399 case 0: 400 return &v.state 401 case 1: 402 return &v.sizeCache 403 case 2: 404 return &v.unknownFields 405 default: 406 return nil 407 } 408 } 409 file_kythe_proto_go_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 410 switch v := v.(*FlagConstructor); i { 411 case 0: 412 return &v.state 413 case 1: 414 return &v.sizeCache 415 case 2: 416 return &v.unknownFields 417 default: 418 return nil 419 } 420 } 421 } 422 file_kythe_proto_go_proto_msgTypes[3].OneofWrappers = []interface{}{} 423 type x struct{} 424 out := protoimpl.TypeBuilder{ 425 File: protoimpl.DescBuilder{ 426 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 427 RawDescriptor: file_kythe_proto_go_proto_rawDesc, 428 NumEnums: 0, 429 NumMessages: 4, 430 NumExtensions: 0, 431 NumServices: 0, 432 }, 433 GoTypes: file_kythe_proto_go_proto_goTypes, 434 DependencyIndexes: file_kythe_proto_go_proto_depIdxs, 435 MessageInfos: file_kythe_proto_go_proto_msgTypes, 436 }.Build() 437 File_kythe_proto_go_proto = out.File 438 file_kythe_proto_go_proto_rawDesc = nil 439 file_kythe_proto_go_proto_goTypes = nil 440 file_kythe_proto_go_proto_depIdxs = nil 441 }