forked from cloudfoundry/gorouter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
heartbeat.pb.go
49 lines (40 loc) · 1.24 KB
/
heartbeat.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// Code generated by protoc-gen-gogo.
// source: heartbeat.proto
// DO NOT EDIT!
package events
import proto "code.google.com/p/gogoprotobuf/proto"
import json "encoding/json"
import math "math"
// Reference proto, json, and math imports to suppress error if they are not otherwise used.
var _ = proto.Marshal
var _ = &json.SyntaxError{}
var _ = math.Inf
type Heartbeat struct {
SentCount *uint64 `protobuf:"varint,1,req,name=sentCount" json:"sentCount,omitempty"`
ReceivedCount *uint64 `protobuf:"varint,2,req,name=receivedCount" json:"receivedCount,omitempty"`
ErrorCount *uint64 `protobuf:"varint,3,req,name=errorCount" json:"errorCount,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Heartbeat) Reset() { *m = Heartbeat{} }
func (m *Heartbeat) String() string { return proto.CompactTextString(m) }
func (*Heartbeat) ProtoMessage() {}
func (m *Heartbeat) GetSentCount() uint64 {
if m != nil && m.SentCount != nil {
return *m.SentCount
}
return 0
}
func (m *Heartbeat) GetReceivedCount() uint64 {
if m != nil && m.ReceivedCount != nil {
return *m.ReceivedCount
}
return 0
}
func (m *Heartbeat) GetErrorCount() uint64 {
if m != nil && m.ErrorCount != nil {
return *m.ErrorCount
}
return 0
}
func init() {
}