github.com/keltia/go-ipfs@v0.3.8-0.20150909044612-210793031c63/p2p/crypto/secio/pb/spipe.pb.go (about)

     1  // Code generated by protoc-gen-gogo.
     2  // source: spipe.proto
     3  // DO NOT EDIT!
     4  
     5  /*
     6  Package spipe_pb is a generated protocol buffer package.
     7  
     8  It is generated from these files:
     9  	spipe.proto
    10  
    11  It has these top-level messages:
    12  	Propose
    13  	Exchange
    14  */
    15  package spipe_pb
    16  
    17  import proto "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/gogo/protobuf/proto"
    18  import math "math"
    19  
    20  // Reference imports to suppress errors if they are not otherwise used.
    21  var _ = proto.Marshal
    22  var _ = math.Inf
    23  
    24  type Propose struct {
    25  	Rand             []byte  `protobuf:"bytes,1,opt,name=rand" json:"rand,omitempty"`
    26  	Pubkey           []byte  `protobuf:"bytes,2,opt,name=pubkey" json:"pubkey,omitempty"`
    27  	Exchanges        *string `protobuf:"bytes,3,opt,name=exchanges" json:"exchanges,omitempty"`
    28  	Ciphers          *string `protobuf:"bytes,4,opt,name=ciphers" json:"ciphers,omitempty"`
    29  	Hashes           *string `protobuf:"bytes,5,opt,name=hashes" json:"hashes,omitempty"`
    30  	XXX_unrecognized []byte  `json:"-"`
    31  }
    32  
    33  func (m *Propose) Reset()         { *m = Propose{} }
    34  func (m *Propose) String() string { return proto.CompactTextString(m) }
    35  func (*Propose) ProtoMessage()    {}
    36  
    37  func (m *Propose) GetRand() []byte {
    38  	if m != nil {
    39  		return m.Rand
    40  	}
    41  	return nil
    42  }
    43  
    44  func (m *Propose) GetPubkey() []byte {
    45  	if m != nil {
    46  		return m.Pubkey
    47  	}
    48  	return nil
    49  }
    50  
    51  func (m *Propose) GetExchanges() string {
    52  	if m != nil && m.Exchanges != nil {
    53  		return *m.Exchanges
    54  	}
    55  	return ""
    56  }
    57  
    58  func (m *Propose) GetCiphers() string {
    59  	if m != nil && m.Ciphers != nil {
    60  		return *m.Ciphers
    61  	}
    62  	return ""
    63  }
    64  
    65  func (m *Propose) GetHashes() string {
    66  	if m != nil && m.Hashes != nil {
    67  		return *m.Hashes
    68  	}
    69  	return ""
    70  }
    71  
    72  type Exchange struct {
    73  	Epubkey          []byte `protobuf:"bytes,1,opt,name=epubkey" json:"epubkey,omitempty"`
    74  	Signature        []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
    75  	XXX_unrecognized []byte `json:"-"`
    76  }
    77  
    78  func (m *Exchange) Reset()         { *m = Exchange{} }
    79  func (m *Exchange) String() string { return proto.CompactTextString(m) }
    80  func (*Exchange) ProtoMessage()    {}
    81  
    82  func (m *Exchange) GetEpubkey() []byte {
    83  	if m != nil {
    84  		return m.Epubkey
    85  	}
    86  	return nil
    87  }
    88  
    89  func (m *Exchange) GetSignature() []byte {
    90  	if m != nil {
    91  		return m.Signature
    92  	}
    93  	return nil
    94  }
    95  
    96  func init() {
    97  }