github.com/adnan-c/fabric_e2e_couchdb@v0.6.1-preview.0.20170228180935-21ce6b23cf91/orderer/sbft/config.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: config.proto 3 // DO NOT EDIT! 4 5 /* 6 Package sbft is a generated protocol buffer package. 7 8 It is generated from these files: 9 config.proto 10 11 It has these top-level messages: 12 ConsensusConfig 13 JsonConfig 14 Peer 15 */ 16 package sbft 17 18 import proto "github.com/golang/protobuf/proto" 19 import fmt "fmt" 20 import math "math" 21 import simplebft "github.com/hyperledger/fabric/orderer/sbft/simplebft" 22 23 // Reference imports to suppress errors if they are not otherwise used. 24 var _ = proto.Marshal 25 var _ = fmt.Errorf 26 var _ = math.Inf 27 28 // This is a compile-time assertion to ensure that this generated file 29 // is compatible with the proto package it is being compiled against. 30 // A compilation error at this line likely means your copy of the 31 // proto package needs to be updated. 32 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 33 34 type ConsensusConfig struct { 35 Consensus *simplebft.Config `protobuf:"bytes,1,opt,name=consensus" json:"consensus,omitempty"` 36 Peers map[string][]byte `protobuf:"bytes,2,rep,name=peers" json:"peers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value,proto3"` 37 } 38 39 func (m *ConsensusConfig) Reset() { *m = ConsensusConfig{} } 40 func (m *ConsensusConfig) String() string { return proto.CompactTextString(m) } 41 func (*ConsensusConfig) ProtoMessage() {} 42 func (*ConsensusConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } 43 44 func (m *ConsensusConfig) GetConsensus() *simplebft.Config { 45 if m != nil { 46 return m.Consensus 47 } 48 return nil 49 } 50 51 func (m *ConsensusConfig) GetPeers() map[string][]byte { 52 if m != nil { 53 return m.Peers 54 } 55 return nil 56 } 57 58 type JsonConfig struct { 59 Consensus *simplebft.Config `protobuf:"bytes,1,opt,name=consensus" json:"consensus,omitempty"` 60 Peers []*Peer `protobuf:"bytes,2,rep,name=peers" json:"peers,omitempty"` 61 } 62 63 func (m *JsonConfig) Reset() { *m = JsonConfig{} } 64 func (m *JsonConfig) String() string { return proto.CompactTextString(m) } 65 func (*JsonConfig) ProtoMessage() {} 66 func (*JsonConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } 67 68 func (m *JsonConfig) GetConsensus() *simplebft.Config { 69 if m != nil { 70 return m.Consensus 71 } 72 return nil 73 } 74 75 func (m *JsonConfig) GetPeers() []*Peer { 76 if m != nil { 77 return m.Peers 78 } 79 return nil 80 } 81 82 type Peer struct { 83 Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` 84 Cert string `protobuf:"bytes,2,opt,name=cert" json:"cert,omitempty"` 85 } 86 87 func (m *Peer) Reset() { *m = Peer{} } 88 func (m *Peer) String() string { return proto.CompactTextString(m) } 89 func (*Peer) ProtoMessage() {} 90 func (*Peer) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} } 91 92 func init() { 93 proto.RegisterType((*ConsensusConfig)(nil), "sbft.consensus_config") 94 proto.RegisterType((*JsonConfig)(nil), "sbft.json_config") 95 proto.RegisterType((*Peer)(nil), "sbft.peer") 96 } 97 98 func init() { proto.RegisterFile("config.proto", fileDescriptor0) } 99 100 var fileDescriptor0 = []byte{ 101 // 271 bytes of a gzipped FileDescriptorProto 102 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x91, 0x4d, 0x4b, 0xc3, 0x40, 103 0x10, 0x86, 0x49, 0x9b, 0x2a, 0x99, 0xf4, 0x50, 0x17, 0x0f, 0xb1, 0xa7, 0x98, 0x53, 0x10, 0xd9, 104 0x85, 0x2a, 0x58, 0x3c, 0x2a, 0xde, 0x25, 0x47, 0x2f, 0x9a, 0x8f, 0x49, 0x1a, 0x4d, 0xb3, 0x61, 105 0x76, 0x23, 0xe4, 0x8f, 0xf9, 0xfb, 0x64, 0xb3, 0xb5, 0x41, 0x8f, 0xde, 0xde, 0x19, 0x9e, 0xd9, 106 0xf7, 0x81, 0x85, 0x65, 0x2e, 0xdb, 0xb2, 0xae, 0x78, 0x47, 0x52, 0x4b, 0xe6, 0xaa, 0xac, 0xd4, 107 0xeb, 0x0b, 0x55, 0xef, 0xbb, 0x06, 0xb3, 0x52, 0x8b, 0x63, 0xb2, 0x40, 0xf4, 0xe5, 0xc0, 0x2a, 108 0x97, 0xad, 0xc2, 0x56, 0xf5, 0xea, 0xd5, 0xde, 0x32, 0x01, 0xde, 0x71, 0x17, 0x38, 0xa1, 0x13, 109 0xfb, 0x9b, 0x33, 0x3e, 0x5d, 0x3e, 0x8e, 0x54, 0x32, 0x31, 0xec, 0x0e, 0x16, 0x1d, 0x22, 0xa9, 110 0x60, 0x16, 0xce, 0x63, 0x7f, 0x73, 0xc9, 0x4d, 0x2d, 0xff, 0xfb, 0x2e, 0x7f, 0x36, 0xcc, 0x53, 111 0xab, 0x69, 0x48, 0x2c, 0xbf, 0xde, 0x02, 0x4c, 0x4b, 0xb6, 0x82, 0xf9, 0x07, 0x0e, 0x63, 0xa3, 112 0x97, 0x98, 0xc8, 0xce, 0x61, 0xf1, 0x99, 0x36, 0x3d, 0x06, 0xb3, 0xd0, 0x89, 0x97, 0x89, 0x1d, 113 0xee, 0x67, 0x5b, 0x27, 0x7a, 0x03, 0xff, 0x5d, 0xc9, 0xf6, 0xdf, 0xca, 0xe1, 0x6f, 0x65, 0xb0, 114 0xca, 0x66, 0x75, 0x70, 0x8b, 0x6e, 0xc1, 0x35, 0x81, 0x05, 0x70, 0x9a, 0x16, 0x05, 0xa1, 0x52, 115 0x07, 0xb3, 0x9f, 0x91, 0x31, 0x70, 0x73, 0x24, 0x3d, 0xca, 0x79, 0xc9, 0x98, 0x1f, 0xae, 0x5f, 116 0xae, 0xaa, 0x5a, 0xef, 0xfa, 0x8c, 0xe7, 0x72, 0x2f, 0x76, 0x43, 0x87, 0xd4, 0x60, 0x51, 0x21, 117 0x89, 0x32, 0xcd, 0xa8, 0xce, 0x85, 0xa4, 0x02, 0x09, 0x49, 0x98, 0xbe, 0xec, 0x64, 0xfc, 0x85, 118 0x9b, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x82, 0x1e, 0x52, 0x33, 0xb6, 0x01, 0x00, 0x00, 119 }