test_import.pb.go 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: test3/test_import.proto
  3. package test3
  4. import (
  5. protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
  6. protoregistry "github.com/golang/protobuf/v2/reflect/protoregistry"
  7. protoiface "github.com/golang/protobuf/v2/runtime/protoiface"
  8. protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
  9. sync "sync"
  10. )
  11. const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
  12. type ImportEnum int32
  13. const (
  14. ImportEnum_IMPORT_ZERO ImportEnum = 0
  15. )
  16. // Deprecated: Use ImportEnum.Type.Values instead.
  17. var ImportEnum_name = map[int32]string{
  18. 0: "IMPORT_ZERO",
  19. }
  20. // Deprecated: Use ImportEnum.Type.Values instead.
  21. var ImportEnum_value = map[string]int32{
  22. "IMPORT_ZERO": 0,
  23. }
  24. func (x ImportEnum) String() string {
  25. return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
  26. }
  27. func (ImportEnum) Type() protoreflect.EnumType {
  28. return file_test3_test_import_proto_enumTypes[0]
  29. }
  30. func (x ImportEnum) Number() protoreflect.EnumNumber {
  31. return protoreflect.EnumNumber(x)
  32. }
  33. // Deprecated: Use ImportEnum.Type instead.
  34. func (ImportEnum) EnumDescriptor() ([]byte, []int) {
  35. return file_test3_test_import_proto_rawDescGZIP(), []int{0}
  36. }
  37. type ImportMessage struct {
  38. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  39. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  40. XXX_sizecache protoimpl.SizeCache `json:"-"`
  41. }
  42. func (x *ImportMessage) Reset() {
  43. *x = ImportMessage{}
  44. }
  45. func (x *ImportMessage) String() string {
  46. return protoimpl.X.MessageStringOf(x)
  47. }
  48. func (*ImportMessage) ProtoMessage() {}
  49. func (x *ImportMessage) ProtoReflect() protoreflect.Message {
  50. return file_test3_test_import_proto_msgTypes[0].MessageOf(x)
  51. }
  52. func (m *ImportMessage) XXX_Methods() *protoiface.Methods {
  53. return file_test3_test_import_proto_msgTypes[0].Methods()
  54. }
  55. // Deprecated: Use ImportMessage.ProtoReflect.Type instead.
  56. func (*ImportMessage) Descriptor() ([]byte, []int) {
  57. return file_test3_test_import_proto_rawDescGZIP(), []int{0}
  58. }
  59. var File_test3_test_import_proto protoreflect.FileDescriptor
  60. var file_test3_test_import_proto_rawDesc = []byte{
  61. 0x0a, 0x17, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6d, 0x70,
  62. 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x67, 0x6f, 0x70, 0x72, 0x6f,
  63. 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x22, 0x0f,
  64. 0x0a, 0x0d, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2a,
  65. 0x1d, 0x0a, 0x0a, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x0a,
  66. 0x0b, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x42, 0x39,
  67. 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c,
  68. 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f,
  69. 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f,
  70. 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  71. 0x33,
  72. }
  73. var (
  74. file_test3_test_import_proto_rawDescOnce sync.Once
  75. file_test3_test_import_proto_rawDescData = file_test3_test_import_proto_rawDesc
  76. )
  77. func file_test3_test_import_proto_rawDescGZIP() []byte {
  78. file_test3_test_import_proto_rawDescOnce.Do(func() {
  79. file_test3_test_import_proto_rawDescData = protoimpl.X.CompressGZIP(file_test3_test_import_proto_rawDescData)
  80. })
  81. return file_test3_test_import_proto_rawDescData
  82. }
  83. var file_test3_test_import_proto_enumTypes = make([]protoreflect.EnumType, 1)
  84. var file_test3_test_import_proto_msgTypes = make([]protoimpl.MessageType, 1)
  85. var file_test3_test_import_proto_goTypes = []interface{}{
  86. (ImportEnum)(0), // 0: goproto.proto.test3.ImportEnum
  87. (*ImportMessage)(nil), // 1: goproto.proto.test3.ImportMessage
  88. }
  89. var file_test3_test_import_proto_depIdxs = []int32{}
  90. func init() { file_test3_test_import_proto_init() }
  91. func file_test3_test_import_proto_init() {
  92. if File_test3_test_import_proto != nil {
  93. return
  94. }
  95. File_test3_test_import_proto = protoimpl.FileBuilder{
  96. RawDescriptor: file_test3_test_import_proto_rawDesc,
  97. GoTypes: file_test3_test_import_proto_goTypes,
  98. DependencyIndexes: file_test3_test_import_proto_depIdxs,
  99. EnumOutputTypes: file_test3_test_import_proto_enumTypes,
  100. MessageOutputTypes: file_test3_test_import_proto_msgTypes,
  101. FilesRegistry: protoregistry.GlobalFiles,
  102. TypesRegistry: protoregistry.GlobalTypes,
  103. }.Init()
  104. file_test3_test_import_proto_rawDesc = nil
  105. file_test3_test_import_proto_goTypes = nil
  106. file_test3_test_import_proto_depIdxs = nil
  107. }