| // Code generated by protoc-gen-go. |
| // source: proto3.proto |
| // DO NOT EDIT! |
| |
| /* |
| Package proto3_proto is a generated protocol buffer package. |
| |
| It is generated from these files: |
| proto3.proto |
| |
| It has these top-level messages: |
| Message |
| Nested |
| */ |
| package proto3_proto |
| |
| import proto "github.com/golang/protobuf/proto" |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| |
| 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)) |
| } |
| |
| 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:"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:"result_count,omitempty"` |
| TrueScotsman bool `protobuf:"varint,8,opt,name=true_scotsman" 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"` |
| Nested *Nested `protobuf:"bytes,6,opt,name=nested" json:"nested,omitempty"` |
| } |
| |
| func (m *Message) Reset() { *m = Message{} } |
| func (m *Message) String() string { return proto.CompactTextString(m) } |
| func (*Message) ProtoMessage() {} |
| |
| func (m *Message) GetNested() *Nested { |
| if m != nil { |
| return m.Nested |
| } |
| return nil |
| } |
| |
| type Nested struct { |
| Bunny string `protobuf:"bytes,1,opt,name=bunny" json:"bunny,omitempty"` |
| } |
| |
| func (m *Nested) Reset() { *m = Nested{} } |
| func (m *Nested) String() string { return proto.CompactTextString(m) } |
| func (*Nested) ProtoMessage() {} |
| |
| func init() { |
| proto.RegisterEnum("proto3_proto.Message_Humour", Message_Humour_name, Message_Humour_value) |
| } |