github.com/adnan-c/fabric_e2e_couchdb@v0.6.1-preview.0.20170228180935-21ce6b23cf91/protos/peer/configuration.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: peer/configuration.proto 3 // DO NOT EDIT! 4 5 package peer 6 7 import proto "github.com/golang/protobuf/proto" 8 import fmt "fmt" 9 import math "math" 10 11 // Reference imports to suppress errors if they are not otherwise used. 12 var _ = proto.Marshal 13 var _ = fmt.Errorf 14 var _ = math.Inf 15 16 // AnchorPeers simply represents list of anchor peers which is used in ConfigurationItem 17 type AnchorPeers struct { 18 AnchorPeers []*AnchorPeer `protobuf:"bytes,1,rep,name=anchor_peers,json=anchorPeers" json:"anchor_peers,omitempty"` 19 } 20 21 func (m *AnchorPeers) Reset() { *m = AnchorPeers{} } 22 func (m *AnchorPeers) String() string { return proto.CompactTextString(m) } 23 func (*AnchorPeers) ProtoMessage() {} 24 func (*AnchorPeers) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} } 25 26 func (m *AnchorPeers) GetAnchorPeers() []*AnchorPeer { 27 if m != nil { 28 return m.AnchorPeers 29 } 30 return nil 31 } 32 33 // AnchorPeer message structure which provides information about anchor peer, it includes host name, 34 // port number and peer certificate. 35 type AnchorPeer struct { 36 // DNS host name of the anchor peer 37 Host string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"` 38 // The port number 39 Port int32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"` 40 } 41 42 func (m *AnchorPeer) Reset() { *m = AnchorPeer{} } 43 func (m *AnchorPeer) String() string { return proto.CompactTextString(m) } 44 func (*AnchorPeer) ProtoMessage() {} 45 func (*AnchorPeer) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{1} } 46 47 func init() { 48 proto.RegisterType((*AnchorPeers)(nil), "protos.AnchorPeers") 49 proto.RegisterType((*AnchorPeer)(nil), "protos.AnchorPeer") 50 } 51 52 func init() { proto.RegisterFile("peer/configuration.proto", fileDescriptor4) } 53 54 var fileDescriptor4 = []byte{ 55 // 179 bytes of a gzipped FileDescriptorProto 56 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x44, 0x8e, 0xbd, 0x0a, 0xc2, 0x30, 57 0x10, 0xc7, 0x89, 0x5f, 0x60, 0xea, 0x94, 0x29, 0x63, 0xe9, 0x54, 0x11, 0x1a, 0xf0, 0xe3, 0x01, 58 0x14, 0x1f, 0x40, 0x3a, 0xba, 0x48, 0x1a, 0xaf, 0x4d, 0x40, 0x7b, 0xe1, 0x92, 0x0e, 0xbe, 0xbd, 59 0x34, 0x1d, 0x3a, 0xdd, 0xff, 0x3e, 0x7e, 0xdc, 0x8f, 0x4b, 0x0f, 0x40, 0xca, 0x60, 0xdf, 0xba, 60 0x6e, 0x20, 0x1d, 0x1d, 0xf6, 0x95, 0x27, 0x8c, 0x28, 0x36, 0xa9, 0x84, 0xe2, 0xce, 0xb3, 0x6b, 61 0x6f, 0x2c, 0xd2, 0x03, 0x80, 0x82, 0xb8, 0xf0, 0x9d, 0x4e, 0xed, 0x6b, 0x24, 0x83, 0x64, 0xf9, 62 0xb2, 0xcc, 0x8e, 0x62, 0x82, 0x42, 0x35, 0x9f, 0xd6, 0x99, 0x9e, 0xb1, 0xe2, 0xcc, 0xf9, 0xbc, 63 0x12, 0x82, 0xaf, 0x2c, 0x86, 0x28, 0x59, 0xce, 0xca, 0x6d, 0x9d, 0xf2, 0x38, 0xf3, 0x48, 0x51, 64 0x2e, 0x72, 0x56, 0xae, 0xeb, 0x94, 0x6f, 0x87, 0xe7, 0xbe, 0x73, 0xd1, 0x0e, 0x4d, 0x65, 0xf0, 65 0xab, 0xec, 0xcf, 0x03, 0x7d, 0xe0, 0xdd, 0x01, 0xa9, 0x56, 0x37, 0xe4, 0x8c, 0x9a, 0xbe, 0xaa, 66 0x51, 0xa5, 0x99, 0x84, 0x4f, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc5, 0xcc, 0xfb, 0x23, 0xd3, 67 0x00, 0x00, 0x00, 68 }