test_public.pb.go 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. // Copyright 2019 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/test_public.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. type PublicImportMessage struct {
  14. state protoimpl.MessageState
  15. sizeCache protoimpl.SizeCache
  16. unknownFields protoimpl.UnknownFields
  17. }
  18. func (x *PublicImportMessage) Reset() {
  19. *x = PublicImportMessage{}
  20. }
  21. func (x *PublicImportMessage) String() string {
  22. return protoimpl.X.MessageStringOf(x)
  23. }
  24. func (*PublicImportMessage) ProtoMessage() {}
  25. func (x *PublicImportMessage) ProtoReflect() protoreflect.Message {
  26. mi := &file_test_test_public_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 PublicImportMessage.ProtoReflect.Descriptor instead.
  37. func (*PublicImportMessage) Descriptor() ([]byte, []int) {
  38. return file_test_test_public_proto_rawDescGZIP(), []int{0}
  39. }
  40. var File_test_test_public_proto protoreflect.FileDescriptor
  41. var file_test_test_public_proto_rawDesc = []byte{
  42. 0x0a, 0x16, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x75, 0x62, 0x6c,
  43. 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
  44. 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13,
  45. 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73,
  46. 0x61, 0x67, 0x65, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
  47. 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  48. 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
  49. 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74,
  50. }
  51. var (
  52. file_test_test_public_proto_rawDescOnce sync.Once
  53. file_test_test_public_proto_rawDescData = file_test_test_public_proto_rawDesc
  54. )
  55. func file_test_test_public_proto_rawDescGZIP() []byte {
  56. file_test_test_public_proto_rawDescOnce.Do(func() {
  57. file_test_test_public_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_test_public_proto_rawDescData)
  58. })
  59. return file_test_test_public_proto_rawDescData
  60. }
  61. var file_test_test_public_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  62. var file_test_test_public_proto_goTypes = []interface{}{
  63. (*PublicImportMessage)(nil), // 0: goproto.proto.test.PublicImportMessage
  64. }
  65. var file_test_test_public_proto_depIdxs = []int32{
  66. 0, // [0:0] is the sub-list for method output_type
  67. 0, // [0:0] is the sub-list for method input_type
  68. 0, // [0:0] is the sub-list for extension type_name
  69. 0, // [0:0] is the sub-list for extension extendee
  70. 0, // [0:0] is the sub-list for field type_name
  71. }
  72. func init() { file_test_test_public_proto_init() }
  73. func file_test_test_public_proto_init() {
  74. if File_test_test_public_proto != nil {
  75. return
  76. }
  77. if !protoimpl.UnsafeEnabled {
  78. file_test_test_public_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  79. switch v := v.(*PublicImportMessage); i {
  80. case 0:
  81. return &v.state
  82. case 1:
  83. return &v.sizeCache
  84. case 2:
  85. return &v.unknownFields
  86. default:
  87. return nil
  88. }
  89. }
  90. }
  91. type x struct{}
  92. out := protoimpl.TypeBuilder{
  93. File: protoimpl.DescBuilder{
  94. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  95. RawDescriptor: file_test_test_public_proto_rawDesc,
  96. NumEnums: 0,
  97. NumMessages: 1,
  98. NumExtensions: 0,
  99. NumServices: 0,
  100. },
  101. GoTypes: file_test_test_public_proto_goTypes,
  102. DependencyIndexes: file_test_test_public_proto_depIdxs,
  103. MessageInfos: file_test_test_public_proto_msgTypes,
  104. }.Build()
  105. File_test_test_public_proto = out.File
  106. file_test_test_public_proto_rawDesc = nil
  107. file_test_test_public_proto_goTypes = nil
  108. file_test_test_public_proto_depIdxs = nil
  109. }