1 // Code generated by protoc-gen-go.
2 // source: proto3_proto/proto3.proto
6 Package proto3_proto is a generated protocol buffer package.
8 It is generated from these files:
9 proto3_proto/proto3.proto
11 It has these top-level messages:
20 import proto "github.com/golang/protobuf/proto"
23 import google_protobuf "github.com/golang/protobuf/ptypes/any"
24 import testdata "github.com/golang/protobuf/proto/testdata"
26 // Reference imports to suppress errors if they are not otherwise used.
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.
35 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
37 type Message_Humour int32
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
46 var Message_Humour_name = map[int32]string{
52 var Message_Humour_value = map[string]int32{
59 func (x Message_Humour) String() string {
60 return proto.EnumName(Message_Humour_name, int32(x))
62 func (Message_Humour) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
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"`
85 func (m *Message) Reset() { *m = Message{} }
86 func (m *Message) String() string { return proto.CompactTextString(m) }
87 func (*Message) ProtoMessage() {}
88 func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
90 func (m *Message) GetName() string {
97 func (m *Message) GetHilarity() Message_Humour {
101 return Message_UNKNOWN
104 func (m *Message) GetHeightInCm() uint32 {
111 func (m *Message) GetData() []byte {
118 func (m *Message) GetResultCount() int64 {
125 func (m *Message) GetTrueScotsman() bool {
127 return m.TrueScotsman
132 func (m *Message) GetScore() float32 {
139 func (m *Message) GetKey() []uint64 {
146 func (m *Message) GetShortKey() []int32 {
153 func (m *Message) GetNested() *Nested {
160 func (m *Message) GetRFunny() []Message_Humour {
167 func (m *Message) GetTerrain() map[string]*Nested {
174 func (m *Message) GetProto2Field() *testdata.SubDefaults {
181 func (m *Message) GetProto2Value() map[string]*testdata.SubDefaults {
188 func (m *Message) GetAnything() *google_protobuf.Any {
195 func (m *Message) GetManyThings() []*google_protobuf.Any {
202 func (m *Message) GetSubmessage() *Message {
209 func (m *Message) GetChildren() []*Message {
217 Bunny string `protobuf:"bytes,1,opt,name=bunny" json:"bunny,omitempty"`
218 Cute bool `protobuf:"varint,2,opt,name=cute" json:"cute,omitempty"`
221 func (m *Nested) Reset() { *m = Nested{} }
222 func (m *Nested) String() string { return proto.CompactTextString(m) }
223 func (*Nested) ProtoMessage() {}
224 func (*Nested) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
226 func (m *Nested) GetBunny() string {
233 func (m *Nested) GetCute() bool {
240 type 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"`
244 func (m *MessageWithMap) Reset() { *m = MessageWithMap{} }
245 func (m *MessageWithMap) String() string { return proto.CompactTextString(m) }
246 func (*MessageWithMap) ProtoMessage() {}
247 func (*MessageWithMap) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
249 func (m *MessageWithMap) GetByteMapping() map[bool][]byte {
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"`
260 func (m *IntMap) Reset() { *m = IntMap{} }
261 func (m *IntMap) String() string { return proto.CompactTextString(m) }
262 func (*IntMap) ProtoMessage() {}
263 func (*IntMap) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
265 func (m *IntMap) GetRtt() map[int32]int32 {
272 type IntMaps struct {
273 Maps []*IntMap `protobuf:"bytes,1,rep,name=maps" json:"maps,omitempty"`
276 func (m *IntMaps) Reset() { *m = IntMaps{} }
277 func (m *IntMaps) String() string { return proto.CompactTextString(m) }
278 func (*IntMaps) ProtoMessage() {}
279 func (*IntMaps) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
281 func (m *IntMaps) GetMaps() []*IntMap {
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)
297 func init() { proto.RegisterFile("proto3_proto/proto3.proto", fileDescriptor0) }
299 var 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,