message.pb.go 2.31 KB
Newer Older
Juan Batiz-Benet's avatar
Juan Batiz-Benet committed
1
// Code generated by protoc-gen-gogo.
2 3 4 5
// source: message.proto
// DO NOT EDIT!

/*
Juan Batiz-Benet's avatar
Juan Batiz-Benet committed
6
Package spipe is a generated protocol buffer package.
7 8 9 10 11

It is generated from these files:
	message.proto

It has these top-level messages:
Juan Batiz-Benet's avatar
Juan Batiz-Benet committed
12
	Propose
13
	Exchange
14
*/
Juan Batiz-Benet's avatar
Juan Batiz-Benet committed
15
package spipe
16

Juan Batiz-Benet's avatar
Juan Batiz-Benet committed
17
import proto "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/gogoprotobuf/proto"
Juan Batiz-Benet's avatar
Juan Batiz-Benet committed
18
import json "encoding/json"
19 20
import math "math"

Juan Batiz-Benet's avatar
Juan Batiz-Benet committed
21
// Reference proto, json, and math imports to suppress error if they are not otherwise used.
22
var _ = proto.Marshal
Juan Batiz-Benet's avatar
Juan Batiz-Benet committed
23
var _ = &json.SyntaxError{}
24 25
var _ = math.Inf

Juan Batiz-Benet's avatar
Juan Batiz-Benet committed
26 27 28 29 30 31
type Propose struct {
	Rand             []byte  `protobuf:"bytes,1,opt,name=rand" json:"rand,omitempty"`
	Pubkey           []byte  `protobuf:"bytes,2,opt,name=pubkey" json:"pubkey,omitempty"`
	Exchanges        *string `protobuf:"bytes,3,opt,name=exchanges" json:"exchanges,omitempty"`
	Ciphers          *string `protobuf:"bytes,4,opt,name=ciphers" json:"ciphers,omitempty"`
	Hashes           *string `protobuf:"bytes,5,opt,name=hashes" json:"hashes,omitempty"`
32
	XXX_unrecognized []byte  `json:"-"`
33 34
}

Juan Batiz-Benet's avatar
Juan Batiz-Benet committed
35 36 37
func (m *Propose) Reset()         { *m = Propose{} }
func (m *Propose) String() string { return proto.CompactTextString(m) }
func (*Propose) ProtoMessage()    {}
38

Juan Batiz-Benet's avatar
Juan Batiz-Benet committed
39
func (m *Propose) GetRand() []byte {
40
	if m != nil {
41
		return m.Rand
42 43 44 45
	}
	return nil
}

Juan Batiz-Benet's avatar
Juan Batiz-Benet committed
46
func (m *Propose) GetPubkey() []byte {
47 48 49 50 51 52
	if m != nil {
		return m.Pubkey
	}
	return nil
}

Juan Batiz-Benet's avatar
Juan Batiz-Benet committed
53
func (m *Propose) GetExchanges() string {
54 55 56 57 58 59
	if m != nil && m.Exchanges != nil {
		return *m.Exchanges
	}
	return ""
}

Juan Batiz-Benet's avatar
Juan Batiz-Benet committed
60
func (m *Propose) GetCiphers() string {
61 62 63 64 65 66
	if m != nil && m.Ciphers != nil {
		return *m.Ciphers
	}
	return ""
}

Juan Batiz-Benet's avatar
Juan Batiz-Benet committed
67
func (m *Propose) GetHashes() string {
68 69 70 71 72 73 74
	if m != nil && m.Hashes != nil {
		return *m.Hashes
	}
	return ""
}

type Exchange struct {
Juan Batiz-Benet's avatar
Juan Batiz-Benet committed
75 76
	Epubkey          []byte `protobuf:"bytes,1,opt,name=epubkey" json:"epubkey,omitempty"`
	Signature        []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
	XXX_unrecognized []byte `json:"-"`
}

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

func (m *Exchange) GetEpubkey() []byte {
	if m != nil {
		return m.Epubkey
	}
	return nil
}

func (m *Exchange) GetSignature() []byte {
	if m != nil {
		return m.Signature
	}
	return nil
}

98 99
func init() {
}