github.com/zignig/go-ipfs@v0.0.0-20141111235910-c9e5fdf55a52/net/service/internal/pb/service.pb.go (about) 1 // Code generated by protoc-gen-gogo. 2 // source: service.proto 3 // DO NOT EDIT! 4 5 /* 6 Package service_pb is a generated protocol buffer package. 7 8 It is generated from these files: 9 service.proto 10 11 It has these top-level messages: 12 PBRequest 13 */ 14 package service_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 PBRequest struct { 24 Data []byte `protobuf:"bytes,1,req" json:"Data,omitempty"` 25 Tag []byte `protobuf:"bytes,3,opt" json:"Tag,omitempty"` 26 XXX_unrecognized []byte `json:"-"` 27 } 28 29 func (m *PBRequest) Reset() { *m = PBRequest{} } 30 func (m *PBRequest) String() string { return proto.CompactTextString(m) } 31 func (*PBRequest) ProtoMessage() {} 32 33 func (m *PBRequest) GetData() []byte { 34 if m != nil { 35 return m.Data 36 } 37 return nil 38 } 39 40 func (m *PBRequest) GetTag() []byte { 41 if m != nil { 42 return m.Tag 43 } 44 return nil 45 } 46 47 func init() { 48 }