1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-15 03:03:08 +08:00
Files
kubo/diagnostics/message.pb.go
2014-10-10 13:18:19 -07:00

49 lines
1.0 KiB
Go

// Code generated by protoc-gen-go.
// source: message.proto
// DO NOT EDIT!
/*
Package diagnostic is a generated protocol buffer package.
It is generated from these files:
message.proto
It has these top-level messages:
Message
*/
package diagnostic
import proto "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/goprotobuf/proto"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = math.Inf
type Message struct {
DiagID *string `protobuf:"bytes,1,req" json:"DiagID,omitempty"`
Data []byte `protobuf:"bytes,2,opt" json:"Data,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Message) Reset() { *m = Message{} }
func (m *Message) String() string { return proto.CompactTextString(m) }
func (*Message) ProtoMessage() {}
func (m *Message) GetDiagID() string {
if m != nil && m.DiagID != nil {
return *m.DiagID
}
return ""
}
func (m *Message) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func init() {
}