github.com/zignig/go-ipfs@v0.0.0-20141111235910-c9e5fdf55a52/diagnostics/internal/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/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/gogoprotobuf/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  	XXX_unrecognized []byte  `json:"-"`
    27  }
    28  
    29  func (m *Message) Reset()         { *m = Message{} }
    30  func (m *Message) String() string { return proto.CompactTextString(m) }
    31  func (*Message) ProtoMessage()    {}
    32  
    33  func (m *Message) GetDiagID() string {
    34  	if m != nil && m.DiagID != nil {
    35  		return *m.DiagID
    36  	}
    37  	return ""
    38  }
    39  
    40  func (m *Message) GetData() []byte {
    41  	if m != nil {
    42  		return m.Data
    43  	}
    44  	return nil
    45  }
    46  
    47  func init() {
    48  }