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