ext.pb.go 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: test/ext.proto
  3. package test
  4. import (
  5. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  6. protoregistry "google.golang.org/protobuf/reflect/protoregistry"
  7. protoiface "google.golang.org/protobuf/runtime/protoiface"
  8. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  9. sync "sync"
  10. )
  11. const (
  12. // Verify that runtime/protoimpl is sufficiently up-to-date.
  13. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 0)
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(0 - protoimpl.MinVersion)
  16. )
  17. var file_test_ext_proto_extDescs = []protoiface.ExtensionDescV1{
  18. {
  19. ExtendedType: (*TestAllExtensions)(nil),
  20. ExtensionType: (*int32)(nil),
  21. Field: 2000,
  22. Name: "goproto.proto.test.foreign_int32_extension",
  23. Tag: "varint,2000,opt,name=foreign_int32_extension",
  24. Filename: "test/ext.proto",
  25. },
  26. }
  27. var (
  28. // extend goproto.proto.test.TestAllExtensions { optional int32 foreign_int32_extension = 2000; }
  29. E_ForeignInt32Extension = &file_test_ext_proto_extDescs[0]
  30. )
  31. var File_test_ext_proto protoreflect.FileDescriptor
  32. var file_test_ext_proto_rawDesc = []byte{
  33. 0x0a, 0x0e, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  34. 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
  35. 0x74, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e,
  36. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x5e, 0x0a, 0x17, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e,
  37. 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
  38. 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  39. 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74,
  40. 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd0, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15,
  41. 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x78, 0x74, 0x65,
  42. 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  43. 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  44. 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73,
  45. 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74,
  46. }
  47. var (
  48. file_test_ext_proto_rawDescOnce sync.Once
  49. file_test_ext_proto_rawDescData = file_test_ext_proto_rawDesc
  50. )
  51. func file_test_ext_proto_rawDescGZIP() []byte {
  52. file_test_ext_proto_rawDescOnce.Do(func() {
  53. file_test_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_ext_proto_rawDescData)
  54. })
  55. return file_test_ext_proto_rawDescData
  56. }
  57. var file_test_ext_proto_goTypes = []interface{}{
  58. (*TestAllExtensions)(nil), // 0: goproto.proto.test.TestAllExtensions
  59. }
  60. var file_test_ext_proto_depIdxs = []int32{
  61. 0, // goproto.proto.test.foreign_int32_extension:extendee -> goproto.proto.test.TestAllExtensions
  62. }
  63. func init() { file_test_ext_proto_init() }
  64. func file_test_ext_proto_init() {
  65. if File_test_ext_proto != nil {
  66. return
  67. }
  68. file_test_test_proto_init()
  69. extensionTypes := make([]protoreflect.ExtensionType, 1)
  70. File_test_ext_proto = protoimpl.FileBuilder{
  71. RawDescriptor: file_test_ext_proto_rawDesc,
  72. GoTypes: file_test_ext_proto_goTypes,
  73. DependencyIndexes: file_test_ext_proto_depIdxs,
  74. LegacyExtensions: file_test_ext_proto_extDescs,
  75. ExtensionOutputTypes: extensionTypes,
  76. FilesRegistry: protoregistry.GlobalFiles,
  77. TypesRegistry: protoregistry.GlobalTypes,
  78. }.Init()
  79. file_test_ext_proto_rawDesc = nil
  80. file_test_ext_proto_goTypes = nil
  81. file_test_ext_proto_depIdxs = nil
  82. }