a.pb.go 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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: import_public/sub2/a.proto
  6. package sub2
  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. type Sub2Message struct {
  14. state protoimpl.MessageState
  15. sizeCache protoimpl.SizeCache
  16. unknownFields protoimpl.UnknownFields
  17. }
  18. func (x *Sub2Message) Reset() {
  19. *x = Sub2Message{}
  20. }
  21. func (x *Sub2Message) String() string {
  22. return protoimpl.X.MessageStringOf(x)
  23. }
  24. func (*Sub2Message) ProtoMessage() {}
  25. func (x *Sub2Message) ProtoReflect() protoreflect.Message {
  26. mi := &file_import_public_sub2_a_proto_msgTypes[0]
  27. if protoimpl.UnsafeEnabled && x != nil {
  28. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  29. if ms.LoadMessageInfo() == nil {
  30. ms.StoreMessageInfo(mi)
  31. }
  32. return ms
  33. }
  34. return mi.MessageOf(x)
  35. }
  36. // Deprecated: Use Sub2Message.ProtoReflect.Descriptor instead.
  37. func (*Sub2Message) Descriptor() ([]byte, []int) {
  38. return file_import_public_sub2_a_proto_rawDescGZIP(), []int{0}
  39. }
  40. var File_import_public_sub2_a_proto protoreflect.FileDescriptor
  41. var file_import_public_sub2_a_proto_rawDesc = []byte{
  42. 0x0a, 0x1a, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f,
  43. 0x73, 0x75, 0x62, 0x32, 0x2f, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x67, 0x6f,
  44. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x69, 0x6d, 0x70,
  45. 0x6f, 0x72, 0x74, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2e, 0x73, 0x75, 0x62, 0x32, 0x22,
  46. 0x0d, 0x0a, 0x0b, 0x53, 0x75, 0x62, 0x32, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x4a,
  47. 0x5a, 0x48, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
  48. 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x63, 0x6d, 0x64,
  49. 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2f, 0x74,
  50. 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x70,
  51. 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x73, 0x75, 0x62, 0x32,
  52. }
  53. var (
  54. file_import_public_sub2_a_proto_rawDescOnce sync.Once
  55. file_import_public_sub2_a_proto_rawDescData = file_import_public_sub2_a_proto_rawDesc
  56. )
  57. func file_import_public_sub2_a_proto_rawDescGZIP() []byte {
  58. file_import_public_sub2_a_proto_rawDescOnce.Do(func() {
  59. file_import_public_sub2_a_proto_rawDescData = protoimpl.X.CompressGZIP(file_import_public_sub2_a_proto_rawDescData)
  60. })
  61. return file_import_public_sub2_a_proto_rawDescData
  62. }
  63. var file_import_public_sub2_a_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  64. var file_import_public_sub2_a_proto_goTypes = []interface{}{
  65. (*Sub2Message)(nil), // 0: goproto.protoc.import_public.sub2.Sub2Message
  66. }
  67. var file_import_public_sub2_a_proto_depIdxs = []int32{
  68. 0, // [0:0] is the sub-list for method output_type
  69. 0, // [0:0] is the sub-list for method input_type
  70. 0, // [0:0] is the sub-list for extension type_name
  71. 0, // [0:0] is the sub-list for extension extendee
  72. 0, // [0:0] is the sub-list for field type_name
  73. }
  74. func init() { file_import_public_sub2_a_proto_init() }
  75. func file_import_public_sub2_a_proto_init() {
  76. if File_import_public_sub2_a_proto != nil {
  77. return
  78. }
  79. if !protoimpl.UnsafeEnabled {
  80. file_import_public_sub2_a_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  81. switch v := v.(*Sub2Message); i {
  82. case 0:
  83. return &v.state
  84. case 1:
  85. return &v.sizeCache
  86. case 2:
  87. return &v.unknownFields
  88. default:
  89. return nil
  90. }
  91. }
  92. }
  93. type x struct{}
  94. out := protoimpl.TypeBuilder{
  95. File: protoimpl.DescBuilder{
  96. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  97. RawDescriptor: file_import_public_sub2_a_proto_rawDesc,
  98. NumEnums: 0,
  99. NumMessages: 1,
  100. NumExtensions: 0,
  101. NumServices: 0,
  102. },
  103. GoTypes: file_import_public_sub2_a_proto_goTypes,
  104. DependencyIndexes: file_import_public_sub2_a_proto_depIdxs,
  105. MessageInfos: file_import_public_sub2_a_proto_msgTypes,
  106. }.Build()
  107. File_import_public_sub2_a_proto = out.File
  108. file_import_public_sub2_a_proto_rawDesc = nil
  109. file_import_public_sub2_a_proto_goTypes = nil
  110. file_import_public_sub2_a_proto_depIdxs = nil
  111. }