github.com/zignig/go-ipfs@v0.0.0-20141111235910-c9e5fdf55a52/crypto/spipe/internal/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  	DataSig
    15  */
    16  package spipe_pb
    17  
    18  import proto "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/gogoprotobuf/proto"
    19  import math "math"
    20  
    21  // Reference imports to suppress errors if they are not otherwise used.
    22  var _ = proto.Marshal
    23  var _ = math.Inf
    24  
    25  type Propose struct {
    26  	Rand             []byte  `protobuf:"bytes,1,opt,name=rand" json:"rand,omitempty"`
    27  	Pubkey           []byte  `protobuf:"bytes,2,opt,name=pubkey" json:"pubkey,omitempty"`
    28  	Exchanges        *string `protobuf:"bytes,3,opt,name=exchanges" json:"exchanges,omitempty"`
    29  	Ciphers          *string `protobuf:"bytes,4,opt,name=ciphers" json:"ciphers,omitempty"`
    30  	Hashes           *string `protobuf:"bytes,5,opt,name=hashes" json:"hashes,omitempty"`
    31  	XXX_unrecognized []byte  `json:"-"`
    32  }
    33  
    34  func (m *Propose) Reset()         { *m = Propose{} }
    35  func (m *Propose) String() string { return proto.CompactTextString(m) }
    36  func (*Propose) ProtoMessage()    {}
    37  
    38  func (m *Propose) GetRand() []byte {
    39  	if m != nil {
    40  		return m.Rand
    41  	}
    42  	return nil
    43  }
    44  
    45  func (m *Propose) GetPubkey() []byte {
    46  	if m != nil {
    47  		return m.Pubkey
    48  	}
    49  	return nil
    50  }
    51  
    52  func (m *Propose) GetExchanges() string {
    53  	if m != nil && m.Exchanges != nil {
    54  		return *m.Exchanges
    55  	}
    56  	return ""
    57  }
    58  
    59  func (m *Propose) GetCiphers() string {
    60  	if m != nil && m.Ciphers != nil {
    61  		return *m.Ciphers
    62  	}
    63  	return ""
    64  }
    65  
    66  func (m *Propose) GetHashes() string {
    67  	if m != nil && m.Hashes != nil {
    68  		return *m.Hashes
    69  	}
    70  	return ""
    71  }
    72  
    73  type Exchange struct {
    74  	Epubkey          []byte `protobuf:"bytes,1,opt,name=epubkey" json:"epubkey,omitempty"`
    75  	Signature        []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
    76  	XXX_unrecognized []byte `json:"-"`
    77  }
    78  
    79  func (m *Exchange) Reset()         { *m = Exchange{} }
    80  func (m *Exchange) String() string { return proto.CompactTextString(m) }
    81  func (*Exchange) ProtoMessage()    {}
    82  
    83  func (m *Exchange) GetEpubkey() []byte {
    84  	if m != nil {
    85  		return m.Epubkey
    86  	}
    87  	return nil
    88  }
    89  
    90  func (m *Exchange) GetSignature() []byte {
    91  	if m != nil {
    92  		return m.Signature
    93  	}
    94  	return nil
    95  }
    96  
    97  type DataSig struct {
    98  	Data             []byte  `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
    99  	Signature        []byte  `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
   100  	Id               *uint64 `protobuf:"varint,3,opt,name=id" json:"id,omitempty"`
   101  	XXX_unrecognized []byte  `json:"-"`
   102  }
   103  
   104  func (m *DataSig) Reset()         { *m = DataSig{} }
   105  func (m *DataSig) String() string { return proto.CompactTextString(m) }
   106  func (*DataSig) ProtoMessage()    {}
   107  
   108  func (m *DataSig) GetData() []byte {
   109  	if m != nil {
   110  		return m.Data
   111  	}
   112  	return nil
   113  }
   114  
   115  func (m *DataSig) GetSignature() []byte {
   116  	if m != nil {
   117  		return m.Signature
   118  	}
   119  	return nil
   120  }
   121  
   122  func (m *DataSig) GetId() uint64 {
   123  	if m != nil && m.Id != nil {
   124  		return *m.Id
   125  	}
   126  	return 0
   127  }
   128  
   129  func init() {
   130  }