initial commit
[govpp.git] / vendor / github.com / onsi / gomega / ghttp / protobuf / simple_message.pb.go
1 // Code generated by protoc-gen-go.
2 // source: simple_message.proto
3 // DO NOT EDIT!
4
5 /*
6 Package protobuf is a generated protocol buffer package.
7
8 It is generated from these files:
9         simple_message.proto
10
11 It has these top-level messages:
12         SimpleMessage
13 */
14 package protobuf
15
16 import proto "github.com/golang/protobuf/proto"
17 import fmt "fmt"
18 import math "math"
19
20 // Reference imports to suppress errors if they are not otherwise used.
21 var _ = proto.Marshal
22 var _ = fmt.Errorf
23 var _ = math.Inf
24
25 type SimpleMessage struct {
26         Description      *string `protobuf:"bytes,1,req,name=description" json:"description,omitempty"`
27         Id               *int32  `protobuf:"varint,2,req,name=id" json:"id,omitempty"`
28         Metadata         *string `protobuf:"bytes,3,opt,name=metadata" json:"metadata,omitempty"`
29         XXX_unrecognized []byte  `json:"-"`
30 }
31
32 func (m *SimpleMessage) Reset()         { *m = SimpleMessage{} }
33 func (m *SimpleMessage) String() string { return proto.CompactTextString(m) }
34 func (*SimpleMessage) ProtoMessage()    {}
35
36 func (m *SimpleMessage) GetDescription() string {
37         if m != nil && m.Description != nil {
38                 return *m.Description
39         }
40         return ""
41 }
42
43 func (m *SimpleMessage) GetId() int32 {
44         if m != nil && m.Id != nil {
45                 return *m.Id
46         }
47         return 0
48 }
49
50 func (m *SimpleMessage) GetMetadata() string {
51         if m != nil && m.Metadata != nil {
52                 return *m.Metadata
53         }
54         return ""
55 }