ext.pb.go 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. // Copyright 2018 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // Code generated by protoc-gen-go. DO NOT EDIT.
  5. // source: test/ext.proto
  6. package test
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. var file_test_ext_proto_extTypes = []protoimpl.ExtensionInfo{
  14. {
  15. ExtendedType: (*TestAllExtensions)(nil),
  16. ExtensionType: (*int32)(nil),
  17. Field: 2000,
  18. Name: "goproto.proto.test.foreign_int32_extension",
  19. Tag: "varint,2000,opt,name=foreign_int32_extension",
  20. Filename: "test/ext.proto",
  21. },
  22. }
  23. // Extension fields to TestAllExtensions.
  24. var (
  25. // optional int32 foreign_int32_extension = 2000;
  26. E_ForeignInt32Extension = &file_test_ext_proto_extTypes[0]
  27. )
  28. var File_test_ext_proto protoreflect.FileDescriptor
  29. var file_test_ext_proto_rawDesc = []byte{
  30. 0x0a, 0x0e, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  31. 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
  32. 0x74, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e,
  33. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x5e, 0x0a, 0x17, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e,
  34. 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
  35. 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  36. 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74,
  37. 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd0, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15,
  38. 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x78, 0x74, 0x65,
  39. 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  40. 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  41. 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73,
  42. 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74,
  43. }
  44. var (
  45. file_test_ext_proto_rawDescOnce sync.Once
  46. file_test_ext_proto_rawDescData = file_test_ext_proto_rawDesc
  47. )
  48. func file_test_ext_proto_rawDescGZIP() []byte {
  49. file_test_ext_proto_rawDescOnce.Do(func() {
  50. file_test_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_ext_proto_rawDescData)
  51. })
  52. return file_test_ext_proto_rawDescData
  53. }
  54. var file_test_ext_proto_goTypes = []interface{}{
  55. (*TestAllExtensions)(nil), // 0: goproto.proto.test.TestAllExtensions
  56. }
  57. var file_test_ext_proto_depIdxs = []int32{
  58. 0, // 0: goproto.proto.test.foreign_int32_extension:extendee -> goproto.proto.test.TestAllExtensions
  59. 1, // [1:1] is the sub-list for method output_type
  60. 1, // [1:1] is the sub-list for method input_type
  61. 1, // [1:1] is the sub-list for extension type_name
  62. 0, // [0:1] is the sub-list for extension extendee
  63. 0, // [0:0] is the sub-list for field type_name
  64. }
  65. func init() { file_test_ext_proto_init() }
  66. func file_test_ext_proto_init() {
  67. if File_test_ext_proto != nil {
  68. return
  69. }
  70. file_test_test_proto_init()
  71. type x struct{}
  72. out := protoimpl.TypeBuilder{
  73. File: protoimpl.DescBuilder{
  74. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  75. RawDescriptor: file_test_ext_proto_rawDesc,
  76. NumEnums: 0,
  77. NumMessages: 0,
  78. NumExtensions: 1,
  79. NumServices: 0,
  80. },
  81. GoTypes: file_test_ext_proto_goTypes,
  82. DependencyIndexes: file_test_ext_proto_depIdxs,
  83. ExtensionInfos: file_test_ext_proto_extTypes,
  84. }.Build()
  85. File_test_ext_proto = out.File
  86. file_test_ext_proto_rawDesc = nil
  87. file_test_ext_proto_goTypes = nil
  88. file_test_ext_proto_depIdxs = nil
  89. }