| // Code generated by protoc-gen-go. |
| // source: proto3_proto/proto3.proto |
| // DO NOT EDIT! |
| |
| /* |
| Package proto3_proto is a generated protocol buffer package. |
| |
| It is generated from these files: |
| proto3_proto/proto3.proto |
| |
| It has these top-level messages: |
| Message |
| Nested |
| MessageWithMap |
| */ |
| package proto3_proto |
| |
| import proto "github.com/golang/protobuf/proto" |
| import fmt "fmt" |
| import math "math" |
| import google_protobuf "github.com/golang/protobuf/ptypes/any" |
| import testdata "github.com/golang/protobuf/proto/testdata" |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| const _ = proto.ProtoPackageIsVersion1 |
| |
| type Message_Humour int32 |
| |
| const ( |
| Message_UNKNOWN Message_Humour = 0 |
| Message_PUNS Message_Humour = 1 |
| Message_SLAPSTICK Message_Humour = 2 |
| Message_BILL_BAILEY Message_Humour = 3 |
| ) |
| |
| var Message_Humour_name = map[int32]string{ |
| 0: "UNKNOWN", |
| 1: "PUNS", |
| 2: "SLAPSTICK", |
| 3: "BILL_BAILEY", |
| } |
| var Message_Humour_value = map[string]int32{ |
| "UNKNOWN": 0, |
| "PUNS": 1, |
| "SLAPSTICK": 2, |
| "BILL_BAILEY": 3, |
| } |
| |
| func (x Message_Humour) String() string { |
| return proto.EnumName(Message_Humour_name, int32(x)) |
| } |
| func (Message_Humour) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} } |
| |
| type Message struct { |
| Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| Hilarity Message_Humour `protobuf:"varint,2,opt,name=hilarity,enum=proto3_proto.Message_Humour" json:"hilarity,omitempty"` |
| HeightInCm uint32 `protobuf:"varint,3,opt,name=height_in_cm,json=heightInCm" json:"height_in_cm,omitempty"` |
| Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` |
| ResultCount int64 `protobuf:"varint,7,opt,name=result_count,json=resultCount" json:"result_count,omitempty"` |
| TrueScotsman bool `protobuf:"varint,8,opt,name=true_scotsman,json=trueScotsman" json:"true_scotsman,omitempty"` |
| Score float32 `protobuf:"fixed32,9,opt,name=score" json:"score,omitempty"` |
| Key []uint64 `protobuf:"varint,5,rep,name=key" json:"key,omitempty"` |
| ShortKey []int32 `protobuf:"varint,19,rep,name=short_key,json=shortKey" json:"short_key,omitempty"` |
| Nested *Nested `protobuf:"bytes,6,opt,name=nested" json:"nested,omitempty"` |
| RFunny []Message_Humour `protobuf:"varint,16,rep,name=r_funny,json=rFunny,enum=proto3_proto.Message_Humour" json:"r_funny,omitempty"` |
| 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"` |
| Proto2Field *testdata.SubDefaults `protobuf:"bytes,11,opt,name=proto2_field,json=proto2Field" json:"proto2_field,omitempty"` |
| 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"` |
| Anything *google_protobuf.Any `protobuf:"bytes,14,opt,name=anything" json:"anything,omitempty"` |
| ManyThings []*google_protobuf.Any `protobuf:"bytes,15,rep,name=many_things,json=manyThings" json:"many_things,omitempty"` |
| Submessage *Message `protobuf:"bytes,17,opt,name=submessage" json:"submessage,omitempty"` |
| Children []*Message `protobuf:"bytes,18,rep,name=children" json:"children,omitempty"` |
| } |
| |
| func (m *Message) Reset() { *m = Message{} } |
| func (m *Message) String() string { return proto.CompactTextString(m) } |
| func (*Message) ProtoMessage() {} |
| func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } |
| |
| func (m *Message) GetNested() *Nested { |
| if m != nil { |
| return m.Nested |
| } |
| return nil |
| } |
| |
| func (m *Message) GetTerrain() map[string]*Nested { |
| if m != nil { |
| return m.Terrain |
| } |
| return nil |
| } |
| |
| func (m *Message) GetProto2Field() *testdata.SubDefaults { |
| if m != nil { |
| return m.Proto2Field |
| } |
| return nil |
| } |
| |
| func (m *Message) GetProto2Value() map[string]*testdata.SubDefaults { |
| if m != nil { |
| return m.Proto2Value |
| } |
| return nil |
| } |
| |
| func (m *Message) GetAnything() *google_protobuf.Any { |
| if m != nil { |
| return m.Anything |
| } |
| return nil |
| } |
| |
| func (m *Message) GetManyThings() []*google_protobuf.Any { |
| if m != nil { |
| return m.ManyThings |
| } |
| return nil |
| } |
| |
| func (m *Message) GetSubmessage() *Message { |
| if m != nil { |
| return m.Submessage |
| } |
| return nil |
| } |
| |
| func (m *Message) GetChildren() []*Message { |
| if m != nil { |
| return m.Children |
| } |
| return nil |
| } |
| |
| type Nested struct { |
| Bunny string `protobuf:"bytes,1,opt,name=bunny" json:"bunny,omitempty"` |
| Cute bool `protobuf:"varint,2,opt,name=cute" json:"cute,omitempty"` |
| } |
| |
| func (m *Nested) Reset() { *m = Nested{} } |
| func (m *Nested) String() string { return proto.CompactTextString(m) } |
| func (*Nested) ProtoMessage() {} |
| func (*Nested) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } |
| |
| type MessageWithMap struct { |
| 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"` |
| } |
| |
| func (m *MessageWithMap) Reset() { *m = MessageWithMap{} } |
| func (m *MessageWithMap) String() string { return proto.CompactTextString(m) } |
| func (*MessageWithMap) ProtoMessage() {} |
| func (*MessageWithMap) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} } |
| |
| func (m *MessageWithMap) GetByteMapping() map[bool][]byte { |
| if m != nil { |
| return m.ByteMapping |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*Message)(nil), "proto3_proto.Message") |
| proto.RegisterType((*Nested)(nil), "proto3_proto.Nested") |
| proto.RegisterType((*MessageWithMap)(nil), "proto3_proto.MessageWithMap") |
| proto.RegisterEnum("proto3_proto.Message_Humour", Message_Humour_name, Message_Humour_value) |
| } |
| |
| var fileDescriptor0 = []byte{ |
| // 669 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x53, 0x6d, 0x6f, 0xd3, 0x3a, |
| 0x18, 0xbd, 0x7d, 0x4f, 0x9f, 0xa4, 0x5b, 0xae, 0xb7, 0x2b, 0x79, 0xbd, 0x7c, 0x18, 0x45, 0x42, |
| 0x13, 0x2f, 0x19, 0x14, 0x21, 0x4d, 0x08, 0x81, 0xb6, 0xb1, 0x89, 0x6a, 0x5d, 0xa9, 0xdc, 0x8d, |
| 0x89, 0x4f, 0x51, 0xd2, 0xba, 0x6d, 0x44, 0xe3, 0x54, 0x89, 0x83, 0x94, 0xbf, 0xc3, 0x1f, 0x05, |
| 0xbf, 0xa4, 0x5d, 0x36, 0x75, 0xf0, 0x29, 0xf6, 0x79, 0xce, 0xf1, 0xf3, 0xe4, 0xf8, 0x18, 0xf6, |
| 0x96, 0x71, 0xc4, 0xa3, 0x37, 0xae, 0xfa, 0x1c, 0xea, 0x8d, 0xa3, 0x3e, 0xc8, 0x2a, 0x96, 0xda, |
| 0x7b, 0xb3, 0x28, 0x9a, 0x2d, 0xa8, 0xa6, 0xf8, 0xe9, 0xf4, 0xd0, 0x63, 0x99, 0x26, 0xb6, 0x77, |
| 0x38, 0x4d, 0xf8, 0xc4, 0xe3, 0xde, 0xa1, 0x5c, 0x68, 0xb0, 0xf3, 0xab, 0x01, 0x8d, 0x4b, 0x9a, |
| 0x24, 0xde, 0x8c, 0x22, 0x04, 0x55, 0xe6, 0x85, 0x14, 0x97, 0xf6, 0x4b, 0x07, 0x4d, 0xa2, 0xd6, |
| 0xe8, 0x08, 0x8c, 0x79, 0xb0,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