github.com/keltia/go-ipfs@v0.3.8-0.20150909044612-210793031c63/diagnostics/pb/diagnostics.pb.go (about) 1 // Code generated by protoc-gen-gogo. 2 // source: diagnostics.proto 3 // DO NOT EDIT! 4 5 /* 6 Package diagnostics_pb is a generated protocol buffer package. 7 8 It is generated from these files: 9 diagnostics.proto 10 11 It has these top-level messages: 12 Message 13 */ 14 package diagnostics_pb 15 16 import proto "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/gogo/protobuf/proto" 17 import math "math" 18 19 // Reference imports to suppress errors if they are not otherwise used. 20 var _ = proto.Marshal 21 var _ = math.Inf 22 23 type Message struct { 24 DiagID *string `protobuf:"bytes,1,req" json:"DiagID,omitempty"` 25 Data []byte `protobuf:"bytes,2,opt" json:"Data,omitempty"` 26 Timeout *int64 `protobuf:"varint,3,opt" json:"Timeout,omitempty"` 27 XXX_unrecognized []byte `json:"-"` 28 } 29 30 func (m *Message) Reset() { *m = Message{} } 31 func (m *Message) String() string { return proto.CompactTextString(m) } 32 func (*Message) ProtoMessage() {} 33 34 func (m *Message) GetDiagID() string { 35 if m != nil && m.DiagID != nil { 36 return *m.DiagID 37 } 38 return "" 39 } 40 41 func (m *Message) GetData() []byte { 42 if m != nil { 43 return m.Data 44 } 45 return nil 46 } 47 48 func (m *Message) GetTimeout() int64 { 49 if m != nil && m.Timeout != nil { 50 return *m.Timeout 51 } 52 return 0 53 } 54 55 func init() { 56 }