m1.pb.go 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: imports/test_a_1/m1.proto
  3. package test_a_1
  4. import (
  5. fmt "fmt"
  6. proto "github.com/golang/protobuf/proto"
  7. math "math"
  8. )
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  18. type E1 int32
  19. const (
  20. E1_E1_ZERO E1 = 0
  21. )
  22. var E1_name = map[int32]string{
  23. 0: "E1_ZERO",
  24. }
  25. var E1_value = map[string]int32{
  26. "E1_ZERO": 0,
  27. }
  28. func (x E1) String() string {
  29. return proto.EnumName(E1_name, int32(x))
  30. }
  31. func (E1) EnumDescriptor() ([]byte, []int) {
  32. return fileDescriptor_c1091de3fa870a14, []int{0}
  33. }
  34. type M1 struct {
  35. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  36. XXX_unrecognized []byte `json:"-"`
  37. XXX_sizecache int32 `json:"-"`
  38. }
  39. func (m *M1) Reset() { *m = M1{} }
  40. func (m *M1) String() string { return proto.CompactTextString(m) }
  41. func (*M1) ProtoMessage() {}
  42. func (*M1) Descriptor() ([]byte, []int) {
  43. return fileDescriptor_c1091de3fa870a14, []int{0}
  44. }
  45. func (m *M1) XXX_Unmarshal(b []byte) error {
  46. return xxx_messageInfo_M1.Unmarshal(m, b)
  47. }
  48. func (m *M1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  49. return xxx_messageInfo_M1.Marshal(b, m, deterministic)
  50. }
  51. func (m *M1) XXX_Merge(src proto.Message) {
  52. xxx_messageInfo_M1.Merge(m, src)
  53. }
  54. func (m *M1) XXX_Size() int {
  55. return xxx_messageInfo_M1.Size(m)
  56. }
  57. func (m *M1) XXX_DiscardUnknown() {
  58. xxx_messageInfo_M1.DiscardUnknown(m)
  59. }
  60. var xxx_messageInfo_M1 proto.InternalMessageInfo
  61. type M1_1 struct {
  62. M1 *M1 `protobuf:"bytes,1,opt,name=m1,proto3" json:"m1,omitempty"`
  63. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  64. XXX_unrecognized []byte `json:"-"`
  65. XXX_sizecache int32 `json:"-"`
  66. }
  67. func (m *M1_1) Reset() { *m = M1_1{} }
  68. func (m *M1_1) String() string { return proto.CompactTextString(m) }
  69. func (*M1_1) ProtoMessage() {}
  70. func (*M1_1) Descriptor() ([]byte, []int) {
  71. return fileDescriptor_c1091de3fa870a14, []int{1}
  72. }
  73. func (m *M1_1) XXX_Unmarshal(b []byte) error {
  74. return xxx_messageInfo_M1_1.Unmarshal(m, b)
  75. }
  76. func (m *M1_1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  77. return xxx_messageInfo_M1_1.Marshal(b, m, deterministic)
  78. }
  79. func (m *M1_1) XXX_Merge(src proto.Message) {
  80. xxx_messageInfo_M1_1.Merge(m, src)
  81. }
  82. func (m *M1_1) XXX_Size() int {
  83. return xxx_messageInfo_M1_1.Size(m)
  84. }
  85. func (m *M1_1) XXX_DiscardUnknown() {
  86. xxx_messageInfo_M1_1.DiscardUnknown(m)
  87. }
  88. var xxx_messageInfo_M1_1 proto.InternalMessageInfo
  89. func (m *M1_1) GetM1() *M1 {
  90. if m != nil {
  91. return m.M1
  92. }
  93. return nil
  94. }
  95. func init() {
  96. proto.RegisterEnum("test.a.E1", E1_name, E1_value)
  97. proto.RegisterType((*M1)(nil), "test.a.M1")
  98. proto.RegisterType((*M1_1)(nil), "test.a.M1_1")
  99. }
  100. func init() { proto.RegisterFile("imports/test_a_1/m1.proto", fileDescriptor_c1091de3fa870a14) }
  101. var fileDescriptor_c1091de3fa870a14 = []byte{
  102. // 165 bytes of a gzipped FileDescriptorProto
  103. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcc, 0xcc, 0x2d, 0xc8,
  104. 0x2f, 0x2a, 0x29, 0xd6, 0x2f, 0x49, 0x2d, 0x2e, 0x89, 0x4f, 0x8c, 0x37, 0xd4, 0xcf, 0x35, 0xd4,
  105. 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x03, 0x09, 0xe9, 0x25, 0x2a, 0xb1, 0x70, 0x31, 0xf9,
  106. 0x1a, 0x2a, 0x29, 0x71, 0xb1, 0xf8, 0x1a, 0xc6, 0x1b, 0x0a, 0x49, 0x71, 0x31, 0xe5, 0x1a, 0x4a,
  107. 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x1b, 0x71, 0xe9, 0x41, 0x94, 0xe8, 0xf9, 0x1a, 0x06, 0x31, 0xe5,
  108. 0x1a, 0x6a, 0x09, 0x72, 0x31, 0xb9, 0x1a, 0x0a, 0x71, 0x73, 0xb1, 0xbb, 0x1a, 0xc6, 0x47, 0xb9,
  109. 0x06, 0xf9, 0x0b, 0x30, 0x38, 0xb9, 0x44, 0x39, 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25,
  110. 0xe7, 0xe7, 0xea, 0xa7, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, 0xeb, 0x83, 0xcd, 0x4f, 0x2a, 0x4d, 0x83,
  111. 0x30, 0x92, 0x75, 0xd3, 0x53, 0xf3, 0x74, 0xd3, 0xf3, 0xc1, 0x4e, 0x48, 0x49, 0x2c, 0x49, 0xd4,
  112. 0x47, 0x77, 0x53, 0x12, 0x1b, 0x58, 0xa1, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xcc, 0xae, 0xc9,
  113. 0xcd, 0xae, 0x00, 0x00, 0x00,
  114. }