github.com/adnan-c/fabric_e2e_couchdb@v0.6.1-preview.0.20170228180935-21ce6b23cf91/orderer/sbft/simplebft/simplebft.pb.go (about)

     1  // Code generated by protoc-gen-go.
     2  // source: simplebft/simplebft.proto
     3  // DO NOT EDIT!
     4  
     5  /*
     6  Package simplebft is a generated protocol buffer package.
     7  
     8  It is generated from these files:
     9  	simplebft/simplebft.proto
    10  
    11  It has these top-level messages:
    12  	Config
    13  	MultiChainMsg
    14  	Msg
    15  	Request
    16  	SeqView
    17  	BatchHeader
    18  	Batch
    19  	Preprepare
    20  	Subject
    21  	ViewChange
    22  	Signed
    23  	NewView
    24  	Checkpoint
    25  	Hello
    26  */
    27  package simplebft
    28  
    29  import proto "github.com/golang/protobuf/proto"
    30  import fmt "fmt"
    31  import math "math"
    32  
    33  // Reference imports to suppress errors if they are not otherwise used.
    34  var _ = proto.Marshal
    35  var _ = fmt.Errorf
    36  var _ = math.Inf
    37  
    38  // This is a compile-time assertion to ensure that this generated file
    39  // is compatible with the proto package it is being compiled against.
    40  // A compilation error at this line likely means your copy of the
    41  // proto package needs to be updated.
    42  const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
    43  
    44  type Config struct {
    45  	N                  uint64 `protobuf:"varint,1,opt,name=n" json:"n,omitempty"`
    46  	F                  uint64 `protobuf:"varint,2,opt,name=f" json:"f,omitempty"`
    47  	BatchDurationNsec  uint64 `protobuf:"varint,3,opt,name=batch_duration_nsec,json=batchDurationNsec" json:"batch_duration_nsec,omitempty"`
    48  	BatchSizeBytes     uint64 `protobuf:"varint,4,opt,name=batch_size_bytes,json=batchSizeBytes" json:"batch_size_bytes,omitempty"`
    49  	RequestTimeoutNsec uint64 `protobuf:"varint,5,opt,name=request_timeout_nsec,json=requestTimeoutNsec" json:"request_timeout_nsec,omitempty"`
    50  }
    51  
    52  func (m *Config) Reset()                    { *m = Config{} }
    53  func (m *Config) String() string            { return proto.CompactTextString(m) }
    54  func (*Config) ProtoMessage()               {}
    55  func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
    56  
    57  type MultiChainMsg struct {
    58  	ChainID string `protobuf:"bytes,1,opt,name=chainID" json:"chainID,omitempty"`
    59  	Msg     *Msg   `protobuf:"bytes,2,opt,name=msg" json:"msg,omitempty"`
    60  }
    61  
    62  func (m *MultiChainMsg) Reset()                    { *m = MultiChainMsg{} }
    63  func (m *MultiChainMsg) String() string            { return proto.CompactTextString(m) }
    64  func (*MultiChainMsg) ProtoMessage()               {}
    65  func (*MultiChainMsg) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
    66  
    67  func (m *MultiChainMsg) GetMsg() *Msg {
    68  	if m != nil {
    69  		return m.Msg
    70  	}
    71  	return nil
    72  }
    73  
    74  type Msg struct {
    75  	// Types that are valid to be assigned to Type:
    76  	//	*Msg_Request
    77  	//	*Msg_Preprepare
    78  	//	*Msg_Prepare
    79  	//	*Msg_Commit
    80  	//	*Msg_ViewChange
    81  	//	*Msg_NewView
    82  	//	*Msg_Checkpoint
    83  	//	*Msg_Hello
    84  	Type isMsg_Type `protobuf_oneof:"type"`
    85  }
    86  
    87  func (m *Msg) Reset()                    { *m = Msg{} }
    88  func (m *Msg) String() string            { return proto.CompactTextString(m) }
    89  func (*Msg) ProtoMessage()               {}
    90  func (*Msg) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
    91  
    92  type isMsg_Type interface {
    93  	isMsg_Type()
    94  }
    95  
    96  type Msg_Request struct {
    97  	Request *Request `protobuf:"bytes,1,opt,name=request,oneof"`
    98  }
    99  type Msg_Preprepare struct {
   100  	Preprepare *Preprepare `protobuf:"bytes,2,opt,name=preprepare,oneof"`
   101  }
   102  type Msg_Prepare struct {
   103  	Prepare *Subject `protobuf:"bytes,3,opt,name=prepare,oneof"`
   104  }
   105  type Msg_Commit struct {
   106  	Commit *Subject `protobuf:"bytes,4,opt,name=commit,oneof"`
   107  }
   108  type Msg_ViewChange struct {
   109  	ViewChange *Signed `protobuf:"bytes,5,opt,name=view_change,json=viewChange,oneof"`
   110  }
   111  type Msg_NewView struct {
   112  	NewView *NewView `protobuf:"bytes,6,opt,name=new_view,json=newView,oneof"`
   113  }
   114  type Msg_Checkpoint struct {
   115  	Checkpoint *Checkpoint `protobuf:"bytes,7,opt,name=checkpoint,oneof"`
   116  }
   117  type Msg_Hello struct {
   118  	Hello *Hello `protobuf:"bytes,8,opt,name=hello,oneof"`
   119  }
   120  
   121  func (*Msg_Request) isMsg_Type()    {}
   122  func (*Msg_Preprepare) isMsg_Type() {}
   123  func (*Msg_Prepare) isMsg_Type()    {}
   124  func (*Msg_Commit) isMsg_Type()     {}
   125  func (*Msg_ViewChange) isMsg_Type() {}
   126  func (*Msg_NewView) isMsg_Type()    {}
   127  func (*Msg_Checkpoint) isMsg_Type() {}
   128  func (*Msg_Hello) isMsg_Type()      {}
   129  
   130  func (m *Msg) GetType() isMsg_Type {
   131  	if m != nil {
   132  		return m.Type
   133  	}
   134  	return nil
   135  }
   136  
   137  func (m *Msg) GetRequest() *Request {
   138  	if x, ok := m.GetType().(*Msg_Request); ok {
   139  		return x.Request
   140  	}
   141  	return nil
   142  }
   143  
   144  func (m *Msg) GetPreprepare() *Preprepare {
   145  	if x, ok := m.GetType().(*Msg_Preprepare); ok {
   146  		return x.Preprepare
   147  	}
   148  	return nil
   149  }
   150  
   151  func (m *Msg) GetPrepare() *Subject {
   152  	if x, ok := m.GetType().(*Msg_Prepare); ok {
   153  		return x.Prepare
   154  	}
   155  	return nil
   156  }
   157  
   158  func (m *Msg) GetCommit() *Subject {
   159  	if x, ok := m.GetType().(*Msg_Commit); ok {
   160  		return x.Commit
   161  	}
   162  	return nil
   163  }
   164  
   165  func (m *Msg) GetViewChange() *Signed {
   166  	if x, ok := m.GetType().(*Msg_ViewChange); ok {
   167  		return x.ViewChange
   168  	}
   169  	return nil
   170  }
   171  
   172  func (m *Msg) GetNewView() *NewView {
   173  	if x, ok := m.GetType().(*Msg_NewView); ok {
   174  		return x.NewView
   175  	}
   176  	return nil
   177  }
   178  
   179  func (m *Msg) GetCheckpoint() *Checkpoint {
   180  	if x, ok := m.GetType().(*Msg_Checkpoint); ok {
   181  		return x.Checkpoint
   182  	}
   183  	return nil
   184  }
   185  
   186  func (m *Msg) GetHello() *Hello {
   187  	if x, ok := m.GetType().(*Msg_Hello); ok {
   188  		return x.Hello
   189  	}
   190  	return nil
   191  }
   192  
   193  // XXX_OneofFuncs is for the internal use of the proto package.
   194  func (*Msg) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
   195  	return _Msg_OneofMarshaler, _Msg_OneofUnmarshaler, _Msg_OneofSizer, []interface{}{
   196  		(*Msg_Request)(nil),
   197  		(*Msg_Preprepare)(nil),
   198  		(*Msg_Prepare)(nil),
   199  		(*Msg_Commit)(nil),
   200  		(*Msg_ViewChange)(nil),
   201  		(*Msg_NewView)(nil),
   202  		(*Msg_Checkpoint)(nil),
   203  		(*Msg_Hello)(nil),
   204  	}
   205  }
   206  
   207  func _Msg_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
   208  	m := msg.(*Msg)
   209  	// type
   210  	switch x := m.Type.(type) {
   211  	case *Msg_Request:
   212  		b.EncodeVarint(1<<3 | proto.WireBytes)
   213  		if err := b.EncodeMessage(x.Request); err != nil {
   214  			return err
   215  		}
   216  	case *Msg_Preprepare:
   217  		b.EncodeVarint(2<<3 | proto.WireBytes)
   218  		if err := b.EncodeMessage(x.Preprepare); err != nil {
   219  			return err
   220  		}
   221  	case *Msg_Prepare:
   222  		b.EncodeVarint(3<<3 | proto.WireBytes)
   223  		if err := b.EncodeMessage(x.Prepare); err != nil {
   224  			return err
   225  		}
   226  	case *Msg_Commit:
   227  		b.EncodeVarint(4<<3 | proto.WireBytes)
   228  		if err := b.EncodeMessage(x.Commit); err != nil {
   229  			return err
   230  		}
   231  	case *Msg_ViewChange:
   232  		b.EncodeVarint(5<<3 | proto.WireBytes)
   233  		if err := b.EncodeMessage(x.ViewChange); err != nil {
   234  			return err
   235  		}
   236  	case *Msg_NewView:
   237  		b.EncodeVarint(6<<3 | proto.WireBytes)
   238  		if err := b.EncodeMessage(x.NewView); err != nil {
   239  			return err
   240  		}
   241  	case *Msg_Checkpoint:
   242  		b.EncodeVarint(7<<3 | proto.WireBytes)
   243  		if err := b.EncodeMessage(x.Checkpoint); err != nil {
   244  			return err
   245  		}
   246  	case *Msg_Hello:
   247  		b.EncodeVarint(8<<3 | proto.WireBytes)
   248  		if err := b.EncodeMessage(x.Hello); err != nil {
   249  			return err
   250  		}
   251  	case nil:
   252  	default:
   253  		return fmt.Errorf("Msg.Type has unexpected type %T", x)
   254  	}
   255  	return nil
   256  }
   257  
   258  func _Msg_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
   259  	m := msg.(*Msg)
   260  	switch tag {
   261  	case 1: // type.request
   262  		if wire != proto.WireBytes {
   263  			return true, proto.ErrInternalBadWireType
   264  		}
   265  		msg := new(Request)
   266  		err := b.DecodeMessage(msg)
   267  		m.Type = &Msg_Request{msg}
   268  		return true, err
   269  	case 2: // type.preprepare
   270  		if wire != proto.WireBytes {
   271  			return true, proto.ErrInternalBadWireType
   272  		}
   273  		msg := new(Preprepare)
   274  		err := b.DecodeMessage(msg)
   275  		m.Type = &Msg_Preprepare{msg}
   276  		return true, err
   277  	case 3: // type.prepare
   278  		if wire != proto.WireBytes {
   279  			return true, proto.ErrInternalBadWireType
   280  		}
   281  		msg := new(Subject)
   282  		err := b.DecodeMessage(msg)
   283  		m.Type = &Msg_Prepare{msg}
   284  		return true, err
   285  	case 4: // type.commit
   286  		if wire != proto.WireBytes {
   287  			return true, proto.ErrInternalBadWireType
   288  		}
   289  		msg := new(Subject)
   290  		err := b.DecodeMessage(msg)
   291  		m.Type = &Msg_Commit{msg}
   292  		return true, err
   293  	case 5: // type.view_change
   294  		if wire != proto.WireBytes {
   295  			return true, proto.ErrInternalBadWireType
   296  		}
   297  		msg := new(Signed)
   298  		err := b.DecodeMessage(msg)
   299  		m.Type = &Msg_ViewChange{msg}
   300  		return true, err
   301  	case 6: // type.new_view
   302  		if wire != proto.WireBytes {
   303  			return true, proto.ErrInternalBadWireType
   304  		}
   305  		msg := new(NewView)
   306  		err := b.DecodeMessage(msg)
   307  		m.Type = &Msg_NewView{msg}
   308  		return true, err
   309  	case 7: // type.checkpoint
   310  		if wire != proto.WireBytes {
   311  			return true, proto.ErrInternalBadWireType
   312  		}
   313  		msg := new(Checkpoint)
   314  		err := b.DecodeMessage(msg)
   315  		m.Type = &Msg_Checkpoint{msg}
   316  		return true, err
   317  	case 8: // type.hello
   318  		if wire != proto.WireBytes {
   319  			return true, proto.ErrInternalBadWireType
   320  		}
   321  		msg := new(Hello)
   322  		err := b.DecodeMessage(msg)
   323  		m.Type = &Msg_Hello{msg}
   324  		return true, err
   325  	default:
   326  		return false, nil
   327  	}
   328  }
   329  
   330  func _Msg_OneofSizer(msg proto.Message) (n int) {
   331  	m := msg.(*Msg)
   332  	// type
   333  	switch x := m.Type.(type) {
   334  	case *Msg_Request:
   335  		s := proto.Size(x.Request)
   336  		n += proto.SizeVarint(1<<3 | proto.WireBytes)
   337  		n += proto.SizeVarint(uint64(s))
   338  		n += s
   339  	case *Msg_Preprepare:
   340  		s := proto.Size(x.Preprepare)
   341  		n += proto.SizeVarint(2<<3 | proto.WireBytes)
   342  		n += proto.SizeVarint(uint64(s))
   343  		n += s
   344  	case *Msg_Prepare:
   345  		s := proto.Size(x.Prepare)
   346  		n += proto.SizeVarint(3<<3 | proto.WireBytes)
   347  		n += proto.SizeVarint(uint64(s))
   348  		n += s
   349  	case *Msg_Commit:
   350  		s := proto.Size(x.Commit)
   351  		n += proto.SizeVarint(4<<3 | proto.WireBytes)
   352  		n += proto.SizeVarint(uint64(s))
   353  		n += s
   354  	case *Msg_ViewChange:
   355  		s := proto.Size(x.ViewChange)
   356  		n += proto.SizeVarint(5<<3 | proto.WireBytes)
   357  		n += proto.SizeVarint(uint64(s))
   358  		n += s
   359  	case *Msg_NewView:
   360  		s := proto.Size(x.NewView)
   361  		n += proto.SizeVarint(6<<3 | proto.WireBytes)
   362  		n += proto.SizeVarint(uint64(s))
   363  		n += s
   364  	case *Msg_Checkpoint:
   365  		s := proto.Size(x.Checkpoint)
   366  		n += proto.SizeVarint(7<<3 | proto.WireBytes)
   367  		n += proto.SizeVarint(uint64(s))
   368  		n += s
   369  	case *Msg_Hello:
   370  		s := proto.Size(x.Hello)
   371  		n += proto.SizeVarint(8<<3 | proto.WireBytes)
   372  		n += proto.SizeVarint(uint64(s))
   373  		n += s
   374  	case nil:
   375  	default:
   376  		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
   377  	}
   378  	return n
   379  }
   380  
   381  type Request struct {
   382  	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
   383  }
   384  
   385  func (m *Request) Reset()                    { *m = Request{} }
   386  func (m *Request) String() string            { return proto.CompactTextString(m) }
   387  func (*Request) ProtoMessage()               {}
   388  func (*Request) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
   389  
   390  type SeqView struct {
   391  	View uint64 `protobuf:"varint,1,opt,name=view" json:"view,omitempty"`
   392  	Seq  uint64 `protobuf:"varint,2,opt,name=seq" json:"seq,omitempty"`
   393  }
   394  
   395  func (m *SeqView) Reset()                    { *m = SeqView{} }
   396  func (m *SeqView) String() string            { return proto.CompactTextString(m) }
   397  func (*SeqView) ProtoMessage()               {}
   398  func (*SeqView) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
   399  
   400  type BatchHeader struct {
   401  	Seq      uint64 `protobuf:"varint,1,opt,name=seq" json:"seq,omitempty"`
   402  	PrevHash []byte `protobuf:"bytes,2,opt,name=prev_hash,json=prevHash,proto3" json:"prev_hash,omitempty"`
   403  	DataHash []byte `protobuf:"bytes,3,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"`
   404  }
   405  
   406  func (m *BatchHeader) Reset()                    { *m = BatchHeader{} }
   407  func (m *BatchHeader) String() string            { return proto.CompactTextString(m) }
   408  func (*BatchHeader) ProtoMessage()               {}
   409  func (*BatchHeader) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
   410  
   411  type Batch struct {
   412  	Header     []byte            `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
   413  	Payloads   [][]byte          `protobuf:"bytes,2,rep,name=payloads,proto3" json:"payloads,omitempty"`
   414  	Signatures map[uint64][]byte `protobuf:"bytes,3,rep,name=signatures" json:"signatures,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value,proto3"`
   415  }
   416  
   417  func (m *Batch) Reset()                    { *m = Batch{} }
   418  func (m *Batch) String() string            { return proto.CompactTextString(m) }
   419  func (*Batch) ProtoMessage()               {}
   420  func (*Batch) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
   421  
   422  func (m *Batch) GetSignatures() map[uint64][]byte {
   423  	if m != nil {
   424  		return m.Signatures
   425  	}
   426  	return nil
   427  }
   428  
   429  type Preprepare struct {
   430  	Seq   *SeqView `protobuf:"bytes,1,opt,name=seq" json:"seq,omitempty"`
   431  	Batch *Batch   `protobuf:"bytes,2,opt,name=batch" json:"batch,omitempty"`
   432  }
   433  
   434  func (m *Preprepare) Reset()                    { *m = Preprepare{} }
   435  func (m *Preprepare) String() string            { return proto.CompactTextString(m) }
   436  func (*Preprepare) ProtoMessage()               {}
   437  func (*Preprepare) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
   438  
   439  func (m *Preprepare) GetSeq() *SeqView {
   440  	if m != nil {
   441  		return m.Seq
   442  	}
   443  	return nil
   444  }
   445  
   446  func (m *Preprepare) GetBatch() *Batch {
   447  	if m != nil {
   448  		return m.Batch
   449  	}
   450  	return nil
   451  }
   452  
   453  type Subject struct {
   454  	Seq    *SeqView `protobuf:"bytes,1,opt,name=seq" json:"seq,omitempty"`
   455  	Digest []byte   `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
   456  }
   457  
   458  func (m *Subject) Reset()                    { *m = Subject{} }
   459  func (m *Subject) String() string            { return proto.CompactTextString(m) }
   460  func (*Subject) ProtoMessage()               {}
   461  func (*Subject) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
   462  
   463  func (m *Subject) GetSeq() *SeqView {
   464  	if m != nil {
   465  		return m.Seq
   466  	}
   467  	return nil
   468  }
   469  
   470  type ViewChange struct {
   471  	View       uint64     `protobuf:"varint,1,opt,name=view" json:"view,omitempty"`
   472  	Pset       []*Subject `protobuf:"bytes,2,rep,name=pset" json:"pset,omitempty"`
   473  	Qset       []*Subject `protobuf:"bytes,3,rep,name=qset" json:"qset,omitempty"`
   474  	Checkpoint *Batch     `protobuf:"bytes,4,opt,name=checkpoint" json:"checkpoint,omitempty"`
   475  }
   476  
   477  func (m *ViewChange) Reset()                    { *m = ViewChange{} }
   478  func (m *ViewChange) String() string            { return proto.CompactTextString(m) }
   479  func (*ViewChange) ProtoMessage()               {}
   480  func (*ViewChange) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
   481  
   482  func (m *ViewChange) GetPset() []*Subject {
   483  	if m != nil {
   484  		return m.Pset
   485  	}
   486  	return nil
   487  }
   488  
   489  func (m *ViewChange) GetQset() []*Subject {
   490  	if m != nil {
   491  		return m.Qset
   492  	}
   493  	return nil
   494  }
   495  
   496  func (m *ViewChange) GetCheckpoint() *Batch {
   497  	if m != nil {
   498  		return m.Checkpoint
   499  	}
   500  	return nil
   501  }
   502  
   503  type Signed struct {
   504  	Data      []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
   505  	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
   506  }
   507  
   508  func (m *Signed) Reset()                    { *m = Signed{} }
   509  func (m *Signed) String() string            { return proto.CompactTextString(m) }
   510  func (*Signed) ProtoMessage()               {}
   511  func (*Signed) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
   512  
   513  type NewView struct {
   514  	View  uint64             `protobuf:"varint,1,opt,name=view" json:"view,omitempty"`
   515  	Vset  map[uint64]*Signed `protobuf:"bytes,2,rep,name=vset" json:"vset,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
   516  	Xset  *Subject           `protobuf:"bytes,3,opt,name=xset" json:"xset,omitempty"`
   517  	Batch *Batch             `protobuf:"bytes,4,opt,name=batch" json:"batch,omitempty"`
   518  }
   519  
   520  func (m *NewView) Reset()                    { *m = NewView{} }
   521  func (m *NewView) String() string            { return proto.CompactTextString(m) }
   522  func (*NewView) ProtoMessage()               {}
   523  func (*NewView) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
   524  
   525  func (m *NewView) GetVset() map[uint64]*Signed {
   526  	if m != nil {
   527  		return m.Vset
   528  	}
   529  	return nil
   530  }
   531  
   532  func (m *NewView) GetXset() *Subject {
   533  	if m != nil {
   534  		return m.Xset
   535  	}
   536  	return nil
   537  }
   538  
   539  func (m *NewView) GetBatch() *Batch {
   540  	if m != nil {
   541  		return m.Batch
   542  	}
   543  	return nil
   544  }
   545  
   546  type Checkpoint struct {
   547  	Seq       uint64 `protobuf:"varint,1,opt,name=seq" json:"seq,omitempty"`
   548  	Digest    []byte `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
   549  	Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
   550  }
   551  
   552  func (m *Checkpoint) Reset()                    { *m = Checkpoint{} }
   553  func (m *Checkpoint) String() string            { return proto.CompactTextString(m) }
   554  func (*Checkpoint) ProtoMessage()               {}
   555  func (*Checkpoint) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
   556  
   557  type Hello struct {
   558  	Batch   *Batch   `protobuf:"bytes,1,opt,name=batch" json:"batch,omitempty"`
   559  	NewView *NewView `protobuf:"bytes,2,opt,name=new_view,json=newView" json:"new_view,omitempty"`
   560  }
   561  
   562  func (m *Hello) Reset()                    { *m = Hello{} }
   563  func (m *Hello) String() string            { return proto.CompactTextString(m) }
   564  func (*Hello) ProtoMessage()               {}
   565  func (*Hello) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
   566  
   567  func (m *Hello) GetBatch() *Batch {
   568  	if m != nil {
   569  		return m.Batch
   570  	}
   571  	return nil
   572  }
   573  
   574  func (m *Hello) GetNewView() *NewView {
   575  	if m != nil {
   576  		return m.NewView
   577  	}
   578  	return nil
   579  }
   580  
   581  func init() {
   582  	proto.RegisterType((*Config)(nil), "simplebft.Config")
   583  	proto.RegisterType((*MultiChainMsg)(nil), "simplebft.MultiChainMsg")
   584  	proto.RegisterType((*Msg)(nil), "simplebft.Msg")
   585  	proto.RegisterType((*Request)(nil), "simplebft.Request")
   586  	proto.RegisterType((*SeqView)(nil), "simplebft.SeqView")
   587  	proto.RegisterType((*BatchHeader)(nil), "simplebft.BatchHeader")
   588  	proto.RegisterType((*Batch)(nil), "simplebft.Batch")
   589  	proto.RegisterType((*Preprepare)(nil), "simplebft.Preprepare")
   590  	proto.RegisterType((*Subject)(nil), "simplebft.Subject")
   591  	proto.RegisterType((*ViewChange)(nil), "simplebft.ViewChange")
   592  	proto.RegisterType((*Signed)(nil), "simplebft.Signed")
   593  	proto.RegisterType((*NewView)(nil), "simplebft.NewView")
   594  	proto.RegisterType((*Checkpoint)(nil), "simplebft.Checkpoint")
   595  	proto.RegisterType((*Hello)(nil), "simplebft.Hello")
   596  }
   597  
   598  func init() { proto.RegisterFile("simplebft/simplebft.proto", fileDescriptor0) }
   599  
   600  var fileDescriptor0 = []byte{
   601  	// 842 bytes of a gzipped FileDescriptorProto
   602  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x8c, 0x55, 0xdd, 0x8e, 0xdb, 0x44,
   603  	0x14, 0x5e, 0xaf, 0x1d, 0x67, 0x73, 0xb2, 0x94, 0xed, 0x50, 0x2a, 0xb3, 0xf4, 0x22, 0x32, 0xa8,
   604  	0xe4, 0x02, 0x92, 0x55, 0xa8, 0x00, 0x55, 0x42, 0x42, 0x49, 0x11, 0x01, 0xb4, 0x15, 0xf2, 0x56,
   605  	0x2b, 0xd1, 0x0b, 0x22, 0xc7, 0x3e, 0xb1, 0x87, 0x4d, 0x6c, 0xc7, 0x33, 0x4e, 0x9a, 0x3e, 0x0c,
   606  	0x17, 0x3c, 0x01, 0x0f, 0xc0, 0x1b, 0xf1, 0x12, 0x68, 0x7e, 0x62, 0x7b, 0xf3, 0x53, 0x55, 0xf2,
   607  	0xc5, 0xcc, 0xf9, 0xbe, 0x39, 0xe7, 0x7c, 0x67, 0xce, 0x19, 0xc3, 0x27, 0x8c, 0x2e, 0xb2, 0x39,
   608  	0x4e, 0x67, 0xbc, 0x5f, 0xae, 0x7a, 0x59, 0x9e, 0xf2, 0x94, 0xb4, 0x4a, 0x83, 0xfb, 0x8f, 0x01,
   609  	0xf6, 0x28, 0x4d, 0x66, 0x34, 0x22, 0xe7, 0x60, 0x24, 0x8e, 0xd1, 0x31, 0xba, 0x96, 0x67, 0x24,
   610  	0x62, 0x37, 0x73, 0x4e, 0xd5, 0x6e, 0x46, 0x7a, 0xf0, 0xd1, 0xd4, 0xe7, 0x41, 0x3c, 0x09, 0x8b,
   611  	0xdc, 0xe7, 0x34, 0x4d, 0x26, 0x09, 0xc3, 0xc0, 0x31, 0x25, 0xfe, 0x50, 0x42, 0x2f, 0x34, 0xf2,
   612  	0x92, 0x61, 0x40, 0xba, 0x70, 0xa1, 0xf8, 0x8c, 0xbe, 0xc5, 0xc9, 0x74, 0xc3, 0x91, 0x39, 0x96,
   613  	0x24, 0x3f, 0x90, 0xf6, 0x1b, 0xfa, 0x16, 0x87, 0xc2, 0x4a, 0xae, 0xe0, 0x51, 0x8e, 0xcb, 0x02,
   614  	0x19, 0x9f, 0x70, 0xba, 0xc0, 0xb4, 0xe0, 0xca, 0x75, 0x43, 0xb2, 0x89, 0xc6, 0x5e, 0x29, 0x48,
   615  	0xf8, 0x76, 0x7f, 0x85, 0x0f, 0xae, 0x8b, 0x39, 0xa7, 0xa3, 0xd8, 0xa7, 0xc9, 0x35, 0x8b, 0x88,
   616  	0x03, 0xcd, 0x40, 0xac, 0x7f, 0x7e, 0x21, 0xd3, 0x6f, 0x79, 0xdb, 0x2d, 0xe9, 0x80, 0xb9, 0x60,
   617  	0x91, 0x94, 0xd1, 0x1e, 0x3c, 0xe8, 0x55, 0x75, 0xb8, 0x66, 0x91, 0x27, 0x20, 0xf7, 0x2f, 0x13,
   618  	0x4c, 0xe1, 0xa3, 0x07, 0x4d, 0x1d, 0x4a, 0xfa, 0x68, 0x0f, 0x48, 0x8d, 0xed, 0x29, 0x64, 0x7c,
   619  	0xe2, 0x6d, 0x49, 0xe4, 0x5b, 0x80, 0x2c, 0x47, 0xf1, 0xf9, 0x39, 0xea, 0x00, 0x1f, 0xd7, 0x8e,
   620  	0xfc, 0x56, 0x82, 0xe3, 0x13, 0xaf, 0x46, 0x15, 0x81, 0xb6, 0xa7, 0xcc, 0xbd, 0x40, 0x37, 0xc5,
   621  	0xf4, 0x4f, 0x0c, 0x64, 0xa0, 0x2d, 0xff, 0x4b, 0xb0, 0x83, 0x74, 0xb1, 0xa0, 0x5c, 0xd6, 0xef,
   622  	0x18, 0x5d, 0x73, 0xc8, 0x33, 0x68, 0xaf, 0x28, 0xae, 0x27, 0x41, 0xec, 0x27, 0x11, 0xca, 0x22,
   623  	0xb6, 0x07, 0x0f, 0xeb, 0x47, 0x68, 0x94, 0x60, 0x28, 0x72, 0x12, 0xbc, 0x91, 0xa4, 0x91, 0x3e,
   624  	0x9c, 0x25, 0xb8, 0x9e, 0x08, 0x8b, 0x63, 0xef, 0x45, 0x79, 0x89, 0xeb, 0x5b, 0x8a, 0x6b, 0x91,
   625  	0x54, 0xa2, 0x96, 0x42, 0x7d, 0x10, 0x63, 0x70, 0x97, 0xa5, 0x34, 0xe1, 0x4e, 0x73, 0x4f, 0xfd,
   626  	0xa8, 0x04, 0x45, 0xa4, 0x8a, 0x4a, 0xba, 0xd0, 0x88, 0x71, 0x3e, 0x4f, 0x9d, 0x33, 0x79, 0xe6,
   627  	0xa2, 0x76, 0x66, 0x2c, 0xec, 0xe3, 0x13, 0x4f, 0x11, 0x86, 0x36, 0x58, 0x7c, 0x93, 0xa1, 0xfb,
   628  	0x19, 0x34, 0x75, 0xf9, 0xc5, 0x3d, 0x67, 0xfe, 0x66, 0x9e, 0xfa, 0xa1, 0xbc, 0xa3, 0x73, 0x6f,
   629  	0xbb, 0x75, 0xfb, 0xd0, 0xbc, 0xc1, 0xa5, 0x4c, 0x8d, 0x80, 0x25, 0x75, 0xa8, 0x46, 0x96, 0x6b,
   630  	0x72, 0x01, 0x26, 0xc3, 0xa5, 0xee, 0x66, 0xb1, 0x74, 0x7f, 0x87, 0xf6, 0x50, 0xf4, 0xe1, 0x18,
   631  	0xfd, 0x10, 0xf3, 0x2d, 0xc1, 0x28, 0x09, 0xe4, 0x53, 0x68, 0x65, 0x39, 0xae, 0x26, 0xb1, 0xcf,
   632  	0x62, 0x79, 0xf0, 0xdc, 0x3b, 0x13, 0x86, 0xb1, 0xcf, 0x62, 0x01, 0x86, 0x3e, 0xf7, 0x15, 0x68,
   633  	0x2a, 0x50, 0x18, 0x04, 0xe8, 0xfe, 0x6b, 0x40, 0x43, 0xfa, 0x26, 0x8f, 0xc1, 0x8e, 0xa5, 0x7f,
   634  	0x9d, 0xae, 0xde, 0x91, 0x4b, 0x38, 0xd3, 0x89, 0x33, 0xe7, 0xb4, 0x63, 0x4a, 0xd7, 0x7a, 0x4f,
   635  	0x7e, 0x00, 0x60, 0x34, 0x4a, 0x7c, 0x5e, 0xe4, 0xc8, 0x1c, 0xb3, 0x63, 0x76, 0xdb, 0x83, 0x4e,
   636  	0xad, 0x4a, 0xd2, 0xb3, 0xbc, 0x45, 0x45, 0xf9, 0x31, 0xe1, 0xf9, 0xc6, 0xab, 0x9d, 0xb9, 0xfc,
   637  	0x1e, 0x3e, 0xdc, 0x81, 0x85, 0xbc, 0x3b, 0xdc, 0x6c, 0xe5, 0xdd, 0xe1, 0x86, 0x3c, 0x82, 0xc6,
   638  	0xca, 0x9f, 0x17, 0xa8, 0xa5, 0xa9, 0xcd, 0xf3, 0xd3, 0xef, 0x0c, 0xf7, 0x35, 0x40, 0xd5, 0xbb,
   639  	0xe4, 0xf3, 0xaa, 0x30, 0x3b, 0xad, 0xa7, 0xca, 0xad, 0x8a, 0xf5, 0x14, 0x1a, 0x72, 0xaa, 0xf5,
   640  	0x1c, 0x5c, 0xec, 0xe6, 0xeb, 0x29, 0xd8, 0xfd, 0x09, 0x9a, 0xba, 0x65, 0xdf, 0xd3, 0xf1, 0x63,
   641  	0xb0, 0x43, 0x1a, 0x89, 0xa1, 0x54, 0x79, 0xea, 0x9d, 0xfb, 0xb7, 0x01, 0x70, 0x5b, 0xf5, 0xef,
   642  	0xa1, 0x3b, 0x7f, 0x0a, 0x56, 0xc6, 0x90, 0xcb, 0x02, 0x1f, 0x9c, 0x1a, 0x4f, 0xe2, 0x82, 0xb7,
   643  	0x14, 0x3c, 0xf3, 0x38, 0x4f, 0xe0, 0xe4, 0xea, 0x5e, 0xcb, 0x5b, 0x47, 0x84, 0xd6, 0x38, 0xee,
   644  	0x73, 0xb0, 0xd5, 0xb4, 0x89, 0xfc, 0x44, 0x7b, 0xe8, 0x36, 0x90, 0x6b, 0xf2, 0x04, 0x5a, 0xe5,
   645  	0xa5, 0x69, 0x75, 0x95, 0xc1, 0xfd, 0xcf, 0x80, 0xa6, 0x9e, 0xbb, 0x83, 0xea, 0xae, 0xc0, 0x5a,
   646  	0x55, 0xea, 0x9e, 0xec, 0x4f, 0x6b, 0xef, 0x96, 0x21, 0x57, 0xcd, 0x21, 0x99, 0x42, 0xe7, 0x1b,
   647  	0xa5, 0xd3, 0x38, 0xa6, 0xf3, 0x8d, 0xe2, 0xe9, 0xbb, 0xb4, 0xde, 0x79, 0x97, 0x97, 0xbf, 0x40,
   648  	0xab, 0x0c, 0x71, 0xa0, 0xc1, 0xbe, 0xa8, 0x37, 0xd8, 0xa1, 0x27, 0xa8, 0xde, 0x73, 0xaf, 0x00,
   649  	0xaa, 0x17, 0xe3, 0xc0, 0x30, 0x1e, 0x69, 0x83, 0xfb, 0x35, 0x34, 0x77, 0x6b, 0xf8, 0x07, 0x34,
   650  	0xe4, 0x9b, 0x52, 0x49, 0x32, 0xde, 0x29, 0x89, 0x7c, 0x55, 0x7b, 0x06, 0x4f, 0x8f, 0x3d, 0x83,
   651  	0xe5, 0x23, 0x38, 0xfc, 0xe6, 0xf5, 0xb3, 0x88, 0xf2, 0xb8, 0x98, 0xf6, 0x82, 0x74, 0xd1, 0x8f,
   652  	0x37, 0x19, 0xe6, 0x73, 0x0c, 0x23, 0xcc, 0xfb, 0x33, 0x7f, 0x9a, 0xd3, 0xa0, 0x9f, 0xe6, 0x21,
   653  	0xe6, 0x98, 0xf7, 0xd9, 0xbd, 0x7f, 0xf0, 0xd4, 0x96, 0x3f, 0xe1, 0xaf, 0xff, 0x0f, 0x00, 0x00,
   654  	0xff, 0xff, 0x42, 0xf4, 0xb2, 0x00, 0xa1, 0x07, 0x00, 0x00,
   655  }