message.pb.go 1.11 KB
Newer Older
1
// Code generated by protoc-gen-gogo.
2 3 4 5
// source: message.proto
// DO NOT EDIT!

/*
6
Package bitswap_message_pb is a generated protocol buffer package.
7 8 9 10 11 12 13

It is generated from these files:
	message.proto

It has these top-level messages:
	PBMessage
*/
14
package bitswap_message_pb
15

16
import proto "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/gogoprotobuf/proto"
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
import math "math"

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = math.Inf

type PBMessage struct {
	Wantlist         []string `protobuf:"bytes,1,rep,name=wantlist" json:"wantlist,omitempty"`
	Blocks           [][]byte `protobuf:"bytes,2,rep,name=blocks" json:"blocks,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (m *PBMessage) Reset()         { *m = PBMessage{} }
func (m *PBMessage) String() string { return proto.CompactTextString(m) }
func (*PBMessage) ProtoMessage()    {}

func (m *PBMessage) GetWantlist() []string {
	if m != nil {
		return m.Wantlist
	}
	return nil
}

func (m *PBMessage) GetBlocks() [][]byte {
	if m != nil {
		return m.Blocks
	}
	return nil
}

func init() {
}