blob: b629f42dae0d741f70191f12b888e74410b79ff9 [file] [log] [blame]
Joe Tsaiea118132018-11-11 17:56:21 -08001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: internal/testprotos/legacy/legacy.proto
3
4package legacy
5
6import (
7 fmt "fmt"
8 proto "github.com/golang/protobuf/proto"
9 proto2_v0_0 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v0.0.0-20160225-2fc053c5"
10 proto2_v0_01 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v0.0.0-20160519-a4ab9ec5"
11 proto2_v1_0 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v1.0.0-20180125-92554152"
12 proto2_v1_1 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v1.1.0-20180430-b4deda09"
13 proto2_v1_2 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v1.2.0-20180814-aa810b61"
14 proto3_v0_0 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v0.0.0-20160225-2fc053c5"
15 proto3_v0_01 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v0.0.0-20160519-a4ab9ec5"
16 proto3_v1_0 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v1.0.0-20180125-92554152"
17 proto3_v1_1 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v1.1.0-20180430-b4deda09"
18 proto3_v1_2 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v1.2.0-20180814-aa810b61"
19 math "math"
20)
21
22// Reference imports to suppress errors if they are not otherwise used.
23var _ = proto.Marshal
24var _ = fmt.Errorf
25var _ = math.Inf
26
27// This is a compile-time assertion to ensure that this generated file
28// is compatible with the proto package it is being compiled against.
29// A compilation error at this line likely means your copy of the
30// proto package needs to be updated.
31const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
32
33type Legacy struct {
34 F1 *proto2_v0_0.Message `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"`
35 F2 *proto3_v0_0.Message `protobuf:"bytes,2,opt,name=f2,proto3" json:"f2,omitempty"`
36 F3 *proto2_v0_01.Message `protobuf:"bytes,3,opt,name=f3,proto3" json:"f3,omitempty"`
37 F4 *proto3_v0_01.Message `protobuf:"bytes,4,opt,name=f4,proto3" json:"f4,omitempty"`
38 F5 *proto2_v1_0.Message `protobuf:"bytes,5,opt,name=f5,proto3" json:"f5,omitempty"`
39 F6 *proto3_v1_0.Message `protobuf:"bytes,6,opt,name=f6,proto3" json:"f6,omitempty"`
40 F7 *proto2_v1_1.Message `protobuf:"bytes,7,opt,name=f7,proto3" json:"f7,omitempty"`
41 F8 *proto3_v1_1.Message `protobuf:"bytes,8,opt,name=f8,proto3" json:"f8,omitempty"`
42 F9 *proto2_v1_2.Message `protobuf:"bytes,9,opt,name=f9,proto3" json:"f9,omitempty"`
43 F10 *proto3_v1_2.Message `protobuf:"bytes,10,opt,name=f10,proto3" json:"f10,omitempty"`
44 XXX_NoUnkeyedLiteral struct{} `json:"-"`
45 XXX_unrecognized []byte `json:"-"`
46 XXX_sizecache int32 `json:"-"`
47}
48
49func (m *Legacy) Reset() { *m = Legacy{} }
50func (m *Legacy) String() string { return proto.CompactTextString(m) }
51func (*Legacy) ProtoMessage() {}
52func (*Legacy) Descriptor() ([]byte, []int) {
53 return fileDescriptor_5fbf266527ec81d8, []int{0}
54}
55
56func (m *Legacy) XXX_Unmarshal(b []byte) error {
57 return xxx_messageInfo_Legacy.Unmarshal(m, b)
58}
59func (m *Legacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
60 return xxx_messageInfo_Legacy.Marshal(b, m, deterministic)
61}
62func (m *Legacy) XXX_Merge(src proto.Message) {
63 xxx_messageInfo_Legacy.Merge(m, src)
64}
65func (m *Legacy) XXX_Size() int {
66 return xxx_messageInfo_Legacy.Size(m)
67}
68func (m *Legacy) XXX_DiscardUnknown() {
69 xxx_messageInfo_Legacy.DiscardUnknown(m)
70}
71
72var xxx_messageInfo_Legacy proto.InternalMessageInfo
73
74func (m *Legacy) GetF1() *proto2_v0_0.Message {
75 if m != nil {
76 return m.F1
77 }
78 return nil
79}
80
81func (m *Legacy) GetF2() *proto3_v0_0.Message {
82 if m != nil {
83 return m.F2
84 }
85 return nil
86}
87
88func (m *Legacy) GetF3() *proto2_v0_01.Message {
89 if m != nil {
90 return m.F3
91 }
92 return nil
93}
94
95func (m *Legacy) GetF4() *proto3_v0_01.Message {
96 if m != nil {
97 return m.F4
98 }
99 return nil
100}
101
102func (m *Legacy) GetF5() *proto2_v1_0.Message {
103 if m != nil {
104 return m.F5
105 }
106 return nil
107}
108
109func (m *Legacy) GetF6() *proto3_v1_0.Message {
110 if m != nil {
111 return m.F6
112 }
113 return nil
114}
115
116func (m *Legacy) GetF7() *proto2_v1_1.Message {
117 if m != nil {
118 return m.F7
119 }
120 return nil
121}
122
123func (m *Legacy) GetF8() *proto3_v1_1.Message {
124 if m != nil {
125 return m.F8
126 }
127 return nil
128}
129
130func (m *Legacy) GetF9() *proto2_v1_2.Message {
131 if m != nil {
132 return m.F9
133 }
134 return nil
135}
136
137func (m *Legacy) GetF10() *proto3_v1_2.Message {
138 if m != nil {
139 return m.F10
140 }
141 return nil
142}
143
144func init() {
145 proto.RegisterType((*Legacy)(nil), "google.golang.org.Legacy")
146}
147
148func init() {
149 proto.RegisterFile("internal/testprotos/legacy/legacy.proto", fileDescriptor_5fbf266527ec81d8)
150}
151
152var fileDescriptor_5fbf266527ec81d8 = []byte{
153 // 364 bytes of a gzipped FileDescriptorProto
154 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0xd2, 0x3d, 0x4f, 0xf3, 0x30,
155 0x14, 0x05, 0x60, 0xf5, 0xe3, 0xed, 0x0b, 0x61, 0xa2, 0x93, 0xc5, 0x84, 0x58, 0x40, 0x48, 0x71,
156 0xec, 0x1b, 0x3b, 0x4d, 0x2a, 0x26, 0x24, 0x36, 0x58, 0x18, 0x59, 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97, 0xf4,
168 0xdb, 0xc1, 0xd7, 0x00, 0x1e, 0x9b, 0x33, 0xa4, 0x77, 0xba, 0x2c, 0x95, 0xd1, 0xf7, 0xdd, 0x9c,
169 0xa3, 0x05, 0xd2, 0x5d, 0x6f, 0xc3, 0x9f, 0x2c, 0xa0, 0x0d, 0x49, 0xcf, 0xa9, 0x57, 0xf2, 0xa4,
170 0x65, 0x43, 0xb4, 0x82, 0xf4, 0x9d, 0x7a, 0x57, 0xad, 0x40, 0x2b, 0xc9, 0x3f, 0x87, 0x5e, 0x3c,
171 0xad, 0x96, 0x95, 0x68, 0x23, 0x32, 0x70, 0xe8, 0xfd, 0x6a, 0x23, 0xb4, 0x23, 0xf2, 0xdf, 0xa9,
172 0x57, 0x84, 0xac, 0x65, 0x47, 0x68, 0x63, 0x72, 0xe0, 0xd4, 0xbb, 0x6a, 0x63, 0xb4, 0x09, 0x39,
173 0x74, 0xea, 0x8d, 0xb9, 0x68, 0xd9, 0x64, 0x78, 0xe5, 0xf5, 0x72, 0xce, 0x88, 0xe7, 0x54, 0xdc,
174 0xc6, 0x1f, 0xec, 0x7a, 0xfc, 0x10, 0x9b, 0x69, 0xf5, 0xb4, 0x48, 0x69, 0x66, 0x9f, 0x83, 0x5a,
175 0xd5, 0x47, 0x9a, 0x2e, 0xf2, 0x60, 0x09, 0xc1, 0xef, 0xb7, 0x9c, 0x0e, 0xea, 0xe4, 0xf7, 0x00,
176 0x00, 0x00, 0xff, 0xff, 0xb8, 0x31, 0xcb, 0xb1, 0xab, 0x05, 0x00, 0x00,
177}