ext.pb.go 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. protoiface "google.golang.org/protobuf/runtime/protoiface"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. var file_test_ext_proto_extDescs = []protoiface.ExtensionDescV1{
  15. {
  16. ExtendedType: (*TestAllExtensions)(nil),
  17. ExtensionType: (*int32)(nil),
  18. Field: 2000,
  19. Name: "goproto.proto.test.foreign_int32_extension",
  20. Tag: "varint,2000,opt,name=foreign_int32_extension",
  21. Filename: "test/ext.proto",
  22. },
  23. }
  24. // Extension fields to TestAllExtensions.
  25. var (
  26. // optional int32 foreign_int32_extension = 2000;
  27. E_ForeignInt32Extension = &file_test_ext_proto_extDescs[0]
  28. )
  29. var File_test_ext_proto protoreflect.FileDescriptor
  30. var file_test_ext_proto_rawDesc = []byte{
  31. 0x0a, 0x0e, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  32. 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
  33. 0x74, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e,
  34. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x5e, 0x0a, 0x17, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e,
  35. 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
  36. 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  37. 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74,
  38. 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd0, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15,
  39. 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x78, 0x74, 0x65,
  40. 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  41. 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  42. 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73,
  43. 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74,
  44. }
  45. var (
  46. file_test_ext_proto_rawDescOnce sync.Once
  47. file_test_ext_proto_rawDescData = file_test_ext_proto_rawDesc
  48. )
  49. func file_test_ext_proto_rawDescGZIP() []byte {
  50. file_test_ext_proto_rawDescOnce.Do(func() {
  51. file_test_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_ext_proto_rawDescData)
  52. })
  53. return file_test_ext_proto_rawDescData
  54. }
  55. var file_test_ext_proto_goTypes = []interface{}{
  56. (*TestAllExtensions)(nil), // 0: goproto.proto.test.TestAllExtensions
  57. }
  58. var file_test_ext_proto_depIdxs = []int32{
  59. 0, // goproto.proto.test.foreign_int32_extension:extendee -> goproto.proto.test.TestAllExtensions
  60. 1, // starting offset of method output_type sub-list
  61. 1, // starting offset of method input_type sub-list
  62. 1, // starting offset of extension type_name sub-list
  63. 0, // starting offset of extension extendee sub-list
  64. 0, // starting offset of field type_name sub-list
  65. }
  66. func init() { file_test_ext_proto_init() }
  67. func file_test_ext_proto_init() {
  68. if File_test_ext_proto != nil {
  69. return
  70. }
  71. file_test_test_proto_init()
  72. type x struct{}
  73. out := protoimpl.TypeBuilder{
  74. File: protoimpl.DescBuilder{
  75. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  76. RawDescriptor: file_test_ext_proto_rawDesc,
  77. NumEnums: 0,
  78. NumMessages: 0,
  79. NumExtensions: 1,
  80. NumServices: 0,
  81. },
  82. GoTypes: file_test_ext_proto_goTypes,
  83. DependencyIndexes: file_test_ext_proto_depIdxs,
  84. LegacyExtensions: file_test_ext_proto_extDescs,
  85. }.Build()
  86. File_test_ext_proto = out.File
  87. file_test_ext_proto_rawDesc = nil
  88. file_test_ext_proto_goTypes = nil
  89. file_test_ext_proto_depIdxs = nil
  90. }