• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Code generated by protoc-gen-go.
2// source: proto3_proto/proto3.proto
3// DO NOT EDIT!
4
5/*
6Package proto3_proto is a generated protocol buffer package.
7
8It is generated from these files:
9	proto3_proto/proto3.proto
10
11It has these top-level messages:
12	Message
13	Nested
14	MessageWithMap
15	IntMap
16	IntMaps
17*/
18package proto3_proto
19
20import proto "github.com/golang/protobuf/proto"
21import fmt "fmt"
22import math "math"
23import google_protobuf "github.com/golang/protobuf/ptypes/any"
24import testdata "github.com/golang/protobuf/proto/testdata"
25
26// Reference imports to suppress errors if they are not otherwise used.
27var _ = proto.Marshal
28var _ = fmt.Errorf
29var _ = math.Inf
30
31// This is a compile-time assertion to ensure that this generated file
32// is compatible with the proto package it is being compiled against.
33// A compilation error at this line likely means your copy of the
34// proto package needs to be updated.
35const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
36
37type Message_Humour int32
38
39const (
40	Message_UNKNOWN     Message_Humour = 0
41	Message_PUNS        Message_Humour = 1
42	Message_SLAPSTICK   Message_Humour = 2
43	Message_BILL_BAILEY Message_Humour = 3
44)
45
46var Message_Humour_name = map[int32]string{
47	0: "UNKNOWN",
48	1: "PUNS",
49	2: "SLAPSTICK",
50	3: "BILL_BAILEY",
51}
52var Message_Humour_value = map[string]int32{
53	"UNKNOWN":     0,
54	"PUNS":        1,
55	"SLAPSTICK":   2,
56	"BILL_BAILEY": 3,
57}
58
59func (x Message_Humour) String() string {
60	return proto.EnumName(Message_Humour_name, int32(x))
61}
62func (Message_Humour) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
63
64type Message struct {
65	Name         string                           `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
66	Hilarity     Message_Humour                   `protobuf:"varint,2,opt,name=hilarity,enum=proto3_proto.Message_Humour" json:"hilarity,omitempty"`
67	HeightInCm   uint32                           `protobuf:"varint,3,opt,name=height_in_cm,json=heightInCm" json:"height_in_cm,omitempty"`
68	Data         []byte                           `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
69	ResultCount  int64                            `protobuf:"varint,7,opt,name=result_count,json=resultCount" json:"result_count,omitempty"`
70	TrueScotsman bool                             `protobuf:"varint,8,opt,name=true_scotsman,json=trueScotsman" json:"true_scotsman,omitempty"`
71	Score        float32                          `protobuf:"fixed32,9,opt,name=score" json:"score,omitempty"`
72	Key          []uint64                         `protobuf:"varint,5,rep,packed,name=key" json:"key,omitempty"`
73	ShortKey     []int32                          `protobuf:"varint,19,rep,packed,name=short_key,json=shortKey" json:"short_key,omitempty"`
74	Nested       *Nested                          `protobuf:"bytes,6,opt,name=nested" json:"nested,omitempty"`
75	RFunny       []Message_Humour                 `protobuf:"varint,16,rep,packed,name=r_funny,json=rFunny,enum=proto3_proto.Message_Humour" json:"r_funny,omitempty"`
76	Terrain      map[string]*Nested               `protobuf:"bytes,10,rep,name=terrain" json:"terrain,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
77	Proto2Field  *testdata.SubDefaults            `protobuf:"bytes,11,opt,name=proto2_field,json=proto2Field" json:"proto2_field,omitempty"`
78	Proto2Value  map[string]*testdata.SubDefaults `protobuf:"bytes,13,rep,name=proto2_value,json=proto2Value" json:"proto2_value,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
79	Anything     *google_protobuf.Any             `protobuf:"bytes,14,opt,name=anything" json:"anything,omitempty"`
80	ManyThings   []*google_protobuf.Any           `protobuf:"bytes,15,rep,name=many_things,json=manyThings" json:"many_things,omitempty"`
81	Submessage   *Message                         `protobuf:"bytes,17,opt,name=submessage" json:"submessage,omitempty"`
82	Children     []*Message                       `protobuf:"bytes,18,rep,name=children" json:"children,omitempty"`
83}
84
85func (m *Message) Reset()                    { *m = Message{} }
86func (m *Message) String() string            { return proto.CompactTextString(m) }
87func (*Message) ProtoMessage()               {}
88func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
89
90func (m *Message) GetName() string {
91	if m != nil {
92		return m.Name
93	}
94	return ""
95}
96
97func (m *Message) GetHilarity() Message_Humour {
98	if m != nil {
99		return m.Hilarity
100	}
101	return Message_UNKNOWN
102}
103
104func (m *Message) GetHeightInCm() uint32 {
105	if m != nil {
106		return m.HeightInCm
107	}
108	return 0
109}
110
111func (m *Message) GetData() []byte {
112	if m != nil {
113		return m.Data
114	}
115	return nil
116}
117
118func (m *Message) GetResultCount() int64 {
119	if m != nil {
120		return m.ResultCount
121	}
122	return 0
123}
124
125func (m *Message) GetTrueScotsman() bool {
126	if m != nil {
127		return m.TrueScotsman
128	}
129	return false
130}
131
132func (m *Message) GetScore() float32 {
133	if m != nil {
134		return m.Score
135	}
136	return 0
137}
138
139func (m *Message) GetKey() []uint64 {
140	if m != nil {
141		return m.Key
142	}
143	return nil
144}
145
146func (m *Message) GetShortKey() []int32 {
147	if m != nil {
148		return m.ShortKey
149	}
150	return nil
151}
152
153func (m *Message) GetNested() *Nested {
154	if m != nil {
155		return m.Nested
156	}
157	return nil
158}
159
160func (m *Message) GetRFunny() []Message_Humour {
161	if m != nil {
162		return m.RFunny
163	}
164	return nil
165}
166
167func (m *Message) GetTerrain() map[string]*Nested {
168	if m != nil {
169		return m.Terrain
170	}
171	return nil
172}
173
174func (m *Message) GetProto2Field() *testdata.SubDefaults {
175	if m != nil {
176		return m.Proto2Field
177	}
178	return nil
179}
180
181func (m *Message) GetProto2Value() map[string]*testdata.SubDefaults {
182	if m != nil {
183		return m.Proto2Value
184	}
185	return nil
186}
187
188func (m *Message) GetAnything() *google_protobuf.Any {
189	if m != nil {
190		return m.Anything
191	}
192	return nil
193}
194
195func (m *Message) GetManyThings() []*google_protobuf.Any {
196	if m != nil {
197		return m.ManyThings
198	}
199	return nil
200}
201
202func (m *Message) GetSubmessage() *Message {
203	if m != nil {
204		return m.Submessage
205	}
206	return nil
207}
208
209func (m *Message) GetChildren() []*Message {
210	if m != nil {
211		return m.Children
212	}
213	return nil
214}
215
216type Nested struct {
217	Bunny string `protobuf:"bytes,1,opt,name=bunny" json:"bunny,omitempty"`
218	Cute  bool   `protobuf:"varint,2,opt,name=cute" json:"cute,omitempty"`
219}
220
221func (m *Nested) Reset()                    { *m = Nested{} }
222func (m *Nested) String() string            { return proto.CompactTextString(m) }
223func (*Nested) ProtoMessage()               {}
224func (*Nested) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
225
226func (m *Nested) GetBunny() string {
227	if m != nil {
228		return m.Bunny
229	}
230	return ""
231}
232
233func (m *Nested) GetCute() bool {
234	if m != nil {
235		return m.Cute
236	}
237	return false
238}
239
240type MessageWithMap struct {
241	ByteMapping map[bool][]byte `protobuf:"bytes,1,rep,name=byte_mapping,json=byteMapping" json:"byte_mapping,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value,proto3"`
242}
243
244func (m *MessageWithMap) Reset()                    { *m = MessageWithMap{} }
245func (m *MessageWithMap) String() string            { return proto.CompactTextString(m) }
246func (*MessageWithMap) ProtoMessage()               {}
247func (*MessageWithMap) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
248
249func (m *MessageWithMap) GetByteMapping() map[bool][]byte {
250	if m != nil {
251		return m.ByteMapping
252	}
253	return nil
254}
255
256type IntMap struct {
257	Rtt map[int32]int32 `protobuf:"bytes,1,rep,name=rtt" json:"rtt,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
258}
259
260func (m *IntMap) Reset()                    { *m = IntMap{} }
261func (m *IntMap) String() string            { return proto.CompactTextString(m) }
262func (*IntMap) ProtoMessage()               {}
263func (*IntMap) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
264
265func (m *IntMap) GetRtt() map[int32]int32 {
266	if m != nil {
267		return m.Rtt
268	}
269	return nil
270}
271
272type IntMaps struct {
273	Maps []*IntMap `protobuf:"bytes,1,rep,name=maps" json:"maps,omitempty"`
274}
275
276func (m *IntMaps) Reset()                    { *m = IntMaps{} }
277func (m *IntMaps) String() string            { return proto.CompactTextString(m) }
278func (*IntMaps) ProtoMessage()               {}
279func (*IntMaps) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
280
281func (m *IntMaps) GetMaps() []*IntMap {
282	if m != nil {
283		return m.Maps
284	}
285	return nil
286}
287
288func init() {
289	proto.RegisterType((*Message)(nil), "proto3_proto.Message")
290	proto.RegisterType((*Nested)(nil), "proto3_proto.Nested")
291	proto.RegisterType((*MessageWithMap)(nil), "proto3_proto.MessageWithMap")
292	proto.RegisterType((*IntMap)(nil), "proto3_proto.IntMap")
293	proto.RegisterType((*IntMaps)(nil), "proto3_proto.IntMaps")
294	proto.RegisterEnum("proto3_proto.Message_Humour", Message_Humour_name, Message_Humour_value)
295}
296
297func init() { proto.RegisterFile("proto3_proto/proto3.proto", fileDescriptor0) }
298
299var fileDescriptor0 = []byte{
300	// 733 bytes of a gzipped FileDescriptorProto
301	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x53, 0x6d, 0x6f, 0xf3, 0x34,
302	0x14, 0x25, 0x4d, 0x5f, 0xd2, 0x9b, 0x74, 0x0b, 0x5e, 0x91, 0xbc, 0x02, 0x52, 0x28, 0x12, 0x8a,
303	0x78, 0x49, 0xa1, 0xd3, 0xd0, 0x84, 0x10, 0x68, 0x1b, 0x9b, 0xa8, 0xd6, 0x95, 0xca, 0xdd, 0x98,
304	0xf8, 0x14, 0xa5, 0xad, 0xdb, 0x46, 0x34, 0x4e, 0x49, 0x1c, 0xa4, 0xfc, 0x1d, 0xfe, 0x28, 0x8f,
305	0x6c, 0xa7, 0x5d, 0x36, 0x65, 0xcf, 0xf3, 0x29, 0xf6, 0xf1, 0xb9, 0xf7, 0x9c, 0x1c, 0x5f, 0xc3,
306	0xe9, 0x2e, 0x89, 0x79, 0x7c, 0xe6, 0xcb, 0xcf, 0x40, 0x6d, 0x3c, 0xf9, 0x41, 0x56, 0xf9, 0xa8,
307	0x77, 0xba, 0x8e, 0xe3, 0xf5, 0x96, 0x2a, 0xca, 0x3c, 0x5b, 0x0d, 0x02, 0x96, 0x2b, 0x62, 0xef,
308	0x84, 0xd3, 0x94, 0x2f, 0x03, 0x1e, 0x0c, 0xc4, 0x42, 0x81, 0xfd, 0xff, 0x5b, 0xd0, 0xba, 0xa7,
309	0x69, 0x1a, 0xac, 0x29, 0x42, 0x50, 0x67, 0x41, 0x44, 0xb1, 0xe6, 0x68, 0x6e, 0x9b, 0xc8, 0x35,
310	0xba, 0x00, 0x63, 0x13, 0x6e, 0x83, 0x24, 0xe4, 0x39, 0xae, 0x39, 0x9a, 0x7b, 0x34, 0xfc, 0xcc,
311	0x2b, 0x0b, 0x7a, 0x45, 0xb1, 0xf7, 0x7b, 0x16, 0xc5, 0x59, 0x42, 0x0e, 0x6c, 0xe4, 0x80, 0xb5,
312	0xa1, 0xe1, 0x7a, 0xc3, 0xfd, 0x90, 0xf9, 0x8b, 0x08, 0xeb, 0x8e, 0xe6, 0x76, 0x08, 0x28, 0x6c,
313	0xc4, 0xae, 0x23, 0xa1, 0x27, 0xec, 0xe0, 0xba, 0xa3, 0xb9, 0x16, 0x91, 0x6b, 0xf4, 0x05, 0x58,
314	0x09, 0x4d, 0xb3, 0x2d, 0xf7, 0x17, 0x71, 0xc6, 0x38, 0x6e, 0x39, 0x9a, 0xab, 0x13, 0x53, 0x61,
315	0xd7, 0x02, 0x42, 0x5f, 0x42, 0x87, 0x27, 0x19, 0xf5, 0xd3, 0x45, 0xcc, 0xd3, 0x28, 0x60, 0xd8,
316	0x70, 0x34, 0xd7, 0x20, 0x96, 0x00, 0x67, 0x05, 0x86, 0xba, 0xd0, 0x48, 0x17, 0x71, 0x42, 0x71,
317	0xdb, 0xd1, 0xdc, 0x1a, 0x51, 0x1b, 0x64, 0x83, 0xfe, 0x37, 0xcd, 0x71, 0xc3, 0xd1, 0xdd, 0x3a,
318	0x11, 0x4b, 0xf4, 0x29, 0xb4, 0xd3, 0x4d, 0x9c, 0x70, 0x5f, 0xe0, 0x27, 0x8e, 0xee, 0x36, 0x88,
319	0x21, 0x81, 0x3b, 0x9a, 0xa3, 0x6f, 0xa1, 0xc9, 0x68, 0xca, 0xe9, 0x12, 0x37, 0x1d, 0xcd, 0x35,
320	0x87, 0xdd, 0x97, 0xbf, 0x3e, 0x91, 0x67, 0xa4, 0xe0, 0xa0, 0x73, 0x68, 0x25, 0xfe, 0x2a, 0x63,
321	0x2c, 0xc7, 0xb6, 0xa3, 0x7f, 0x30, 0xa9, 0x66, 0x72, 0x2b, 0xb8, 0xe8, 0x67, 0x68, 0x71, 0x9a,
322	0x24, 0x41, 0xc8, 0x30, 0x38, 0xba, 0x6b, 0x0e, 0xfb, 0xd5, 0x65, 0x0f, 0x8a, 0x74, 0xc3, 0x78,
323	0x92, 0x93, 0x7d, 0x09, 0xba, 0x00, 0x75, 0xff, 0x43, 0x7f, 0x15, 0xd2, 0xed, 0x12, 0x9b, 0xd2,
324	0xe8, 0x27, 0xde, 0xfe, 0xae, 0xbd, 0x59, 0x36, 0xff, 0x8d, 0xae, 0x82, 0x6c, 0xcb, 0x53, 0x62,
325	0x2a, 0xea, 0xad, 0x60, 0xa2, 0xd1, 0xa1, 0xf2, 0xdf, 0x60, 0x9b, 0x51, 0xdc, 0x91, 0xe2, 0x5f,
326	0x55, 0x8b, 0x4f, 0x25, 0xf3, 0x4f, 0x41, 0x54, 0x06, 0x8a, 0x56, 0x12, 0x41, 0xdf, 0x83, 0x11,
327	0xb0, 0x9c, 0x6f, 0x42, 0xb6, 0xc6, 0x47, 0x45, 0x52, 0x6a, 0x0e, 0xbd, 0xfd, 0x1c, 0x7a, 0x97,
328	0x2c, 0x27, 0x07, 0x16, 0x3a, 0x07, 0x33, 0x0a, 0x58, 0xee, 0xcb, 0x5d, 0x8a, 0x8f, 0xa5, 0x76,
329	0x75, 0x11, 0x08, 0xe2, 0x83, 0xe4, 0xa1, 0x73, 0x80, 0x34, 0x9b, 0x47, 0xca, 0x14, 0xfe, 0xb8,
330	0xf8, 0xd7, 0x2a, 0xc7, 0xa4, 0x44, 0x44, 0x3f, 0x80, 0xb1, 0xd8, 0x84, 0xdb, 0x65, 0x42, 0x19,
331	0x46, 0x52, 0xea, 0x8d, 0xa2, 0x03, 0xad, 0x37, 0x05, 0xab, 0x1c, 0xf8, 0x7e, 0x72, 0xd4, 0xd3,
332	0x90, 0x93, 0xf3, 0x35, 0x34, 0x54, 0x70, 0xb5, 0xf7, 0xcc, 0x86, 0xa2, 0xfc, 0x54, 0xbb, 0xd0,
333	0x7a, 0x8f, 0x60, 0xbf, 0x4e, 0xb1, 0xa2, 0xeb, 0x37, 0x2f, 0xbb, 0xbe, 0x71, 0x91, 0xcf, 0x6d,
334	0xfb, 0xbf, 0x42, 0x53, 0x0d, 0x14, 0x32, 0xa1, 0xf5, 0x38, 0xb9, 0x9b, 0xfc, 0xf1, 0x34, 0xb1,
335	0x3f, 0x42, 0x06, 0xd4, 0xa7, 0x8f, 0x93, 0x99, 0xad, 0xa1, 0x0e, 0xb4, 0x67, 0xe3, 0xcb, 0xe9,
336	0xec, 0x61, 0x74, 0x7d, 0x67, 0xd7, 0xd0, 0x31, 0x98, 0x57, 0xa3, 0xf1, 0xd8, 0xbf, 0xba, 0x1c,
337	0x8d, 0x6f, 0xfe, 0xb2, 0xf5, 0xfe, 0x10, 0x9a, 0xca, 0xac, 0x78, 0x33, 0x73, 0x39, 0xbe, 0xca,
338	0x8f, 0xda, 0x88, 0x57, 0xba, 0xc8, 0xb8, 0x32, 0x64, 0x10, 0xb9, 0xee, 0xff, 0xa7, 0xc1, 0x51,
339	0x91, 0xd9, 0x53, 0xc8, 0x37, 0xf7, 0xc1, 0x0e, 0x4d, 0xc1, 0x9a, 0xe7, 0x9c, 0xfa, 0x51, 0xb0,
340	0xdb, 0x89, 0x39, 0xd0, 0x64, 0xce, 0xdf, 0x55, 0xe6, 0x5c, 0xd4, 0x78, 0x57, 0x39, 0xa7, 0xf7,
341	0x8a, 0x5f, 0x4c, 0xd5, 0xfc, 0x19, 0xe9, 0xfd, 0x02, 0xf6, 0x6b, 0x42, 0x39, 0x30, 0x43, 0x05,
342	0xd6, 0x2d, 0x07, 0x66, 0x95, 0x93, 0xf9, 0x07, 0x9a, 0x23, 0xc6, 0x85, 0xb7, 0x01, 0xe8, 0x09,
343	0xe7, 0x85, 0xa5, 0xcf, 0x5f, 0x5a, 0x52, 0x14, 0x8f, 0x70, 0xae, 0x2c, 0x08, 0x66, 0xef, 0x47,
344	0x30, 0xf6, 0x40, 0x59, 0xb2, 0x51, 0x21, 0xd9, 0x28, 0x4b, 0x9e, 0x41, 0x4b, 0xf5, 0x4b, 0x91,
345	0x0b, 0xf5, 0x28, 0xd8, 0xa5, 0x85, 0x68, 0xb7, 0x4a, 0x94, 0x48, 0xc6, 0xbc, 0xa9, 0x8e, 0xde,
346	0x05, 0x00, 0x00, 0xff, 0xff, 0x75, 0x38, 0xad, 0x84, 0xe4, 0x05, 0x00, 0x00,
347}
348