test_weak.pb.go 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: test/test_weak.proto
  3. package test
  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 WeakImportMessage struct {
  13. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  14. XXX_unrecognized []byte `json:"-"`
  15. XXX_sizecache int32 `json:"-"`
  16. }
  17. func (x *WeakImportMessage) Reset() {
  18. *x = WeakImportMessage{}
  19. }
  20. func (x *WeakImportMessage) String() string {
  21. return protoimpl.X.MessageStringOf(x)
  22. }
  23. func (*WeakImportMessage) ProtoMessage() {}
  24. func (x *WeakImportMessage) ProtoReflect() protoreflect.Message {
  25. return xxx_File_test_test_weak_proto_messageTypes[0].MessageOf(x)
  26. }
  27. func (m *WeakImportMessage) XXX_Methods() *protoiface.Methods {
  28. return xxx_File_test_test_weak_proto_messageTypes[0].Methods()
  29. }
  30. // Deprecated: Use WeakImportMessage.ProtoReflect.Type instead.
  31. func (*WeakImportMessage) Descriptor() ([]byte, []int) {
  32. return xxx_File_test_test_weak_proto_rawDescGZIP(), []int{0}
  33. }
  34. var File_test_test_weak_proto protoreflect.FileDescriptor
  35. var xxx_File_test_test_weak_proto_rawDesc = []byte{
  36. 0x0a, 0x14, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x77, 0x65, 0x61, 0x6b,
  37. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
  38. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x22, 0x13, 0x0a, 0x11, 0x57, 0x65,
  39. 0x61, 0x6b, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42,
  40. 0x38, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
  41. 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32,
  42. 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72,
  43. 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74,
  44. }
  45. var (
  46. xxx_File_test_test_weak_proto_rawDesc_once sync.Once
  47. xxx_File_test_test_weak_proto_rawDesc_data = xxx_File_test_test_weak_proto_rawDesc
  48. )
  49. func xxx_File_test_test_weak_proto_rawDescGZIP() []byte {
  50. xxx_File_test_test_weak_proto_rawDesc_once.Do(func() {
  51. xxx_File_test_test_weak_proto_rawDesc_data = protoimpl.X.CompressGZIP(xxx_File_test_test_weak_proto_rawDesc_data)
  52. })
  53. return xxx_File_test_test_weak_proto_rawDesc_data
  54. }
  55. var xxx_File_test_test_weak_proto_messageTypes = make([]protoimpl.MessageType, 1)
  56. var xxx_File_test_test_weak_proto_goTypes = []interface{}{
  57. (*WeakImportMessage)(nil), // 0: goproto.proto.test.WeakImportMessage
  58. }
  59. var xxx_File_test_test_weak_proto_depIdxs = []int32{}
  60. func init() { xxx_File_test_test_weak_proto_init() }
  61. func xxx_File_test_test_weak_proto_init() {
  62. if File_test_test_weak_proto != nil {
  63. return
  64. }
  65. File_test_test_weak_proto = protoimpl.FileBuilder{
  66. RawDescriptor: xxx_File_test_test_weak_proto_rawDesc,
  67. GoTypes: xxx_File_test_test_weak_proto_goTypes,
  68. DependencyIndexes: xxx_File_test_test_weak_proto_depIdxs,
  69. MessageOutputTypes: xxx_File_test_test_weak_proto_messageTypes,
  70. FilesRegistry: protoregistry.GlobalFiles,
  71. TypesRegistry: protoregistry.GlobalTypes,
  72. }.Init()
  73. xxx_File_test_test_weak_proto_rawDesc = nil
  74. xxx_File_test_test_weak_proto_goTypes = nil
  75. xxx_File_test_test_weak_proto_depIdxs = nil
  76. }