From 5e6dd56ee82d44ed6cc98508d0f45dd0147c24c2 Mon Sep 17 00:00:00 2001 From: Artem Barger Date: Wed, 11 Jan 2017 12:57:54 +0200 Subject: [PATCH] Add compiled configuration.proto file While pushing CR 3837, missed compiled source files. This commit adds configuration.pb.go to fix this. Change-Id: Ib23a208179f36f2bdecfdb1a8e924370dc07f6ab Signed-off-by: Artem Barger --- protos/peer/configuration.pb.go | 71 +++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 protos/peer/configuration.pb.go diff --git a/protos/peer/configuration.pb.go b/protos/peer/configuration.pb.go new file mode 100644 index 00000000000..8e03528b689 --- /dev/null +++ b/protos/peer/configuration.pb.go @@ -0,0 +1,71 @@ +// Code generated by protoc-gen-go. +// source: peer/configuration.proto +// DO NOT EDIT! + +package peer + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// AnchorPeers simply represents list of anchor peers which is used in ConfigurationItem +type AnchorPeers struct { + AnchorPees []*AnchorPeer `protobuf:"bytes,1,rep,name=anchorPees" json:"anchorPees,omitempty"` +} + +func (m *AnchorPeers) Reset() { *m = AnchorPeers{} } +func (m *AnchorPeers) String() string { return proto.CompactTextString(m) } +func (*AnchorPeers) ProtoMessage() {} +func (*AnchorPeers) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} } + +func (m *AnchorPeers) GetAnchorPees() []*AnchorPeer { + if m != nil { + return m.AnchorPees + } + return nil +} + +// AnchorPeer message structure which provides information about anchor peer, it includes host name, +// port number and peer certificate. +type AnchorPeer struct { + // DNS host name of the anchor peer + Host string `protobuf:"bytes,1,opt,name=Host" json:"Host,omitempty"` + // The port number + Port int32 `protobuf:"varint,2,opt,name=Port" json:"Port,omitempty"` + // SSL certificate to be used to maintain mutual TLS + // connection with anchor peer + Cert []byte `protobuf:"bytes,3,opt,name=Cert,proto3" json:"Cert,omitempty"` +} + +func (m *AnchorPeer) Reset() { *m = AnchorPeer{} } +func (m *AnchorPeer) String() string { return proto.CompactTextString(m) } +func (*AnchorPeer) ProtoMessage() {} +func (*AnchorPeer) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{1} } + +func init() { + proto.RegisterType((*AnchorPeers)(nil), "protos.AnchorPeers") + proto.RegisterType((*AnchorPeer)(nil), "protos.AnchorPeer") +} + +func init() { proto.RegisterFile("peer/configuration.proto", fileDescriptor4) } + +var fileDescriptor4 = []byte{ + // 188 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x4c, 0x8f, 0x31, 0x6f, 0x83, 0x30, + 0x10, 0x85, 0xe5, 0xd2, 0x56, 0xaa, 0xe9, 0xe4, 0xc9, 0xa3, 0xc5, 0xe4, 0xaa, 0x12, 0x96, 0xe8, + 0x2f, 0xa0, 0x59, 0x18, 0x91, 0xc7, 0x6c, 0xe0, 0x1c, 0x60, 0x29, 0xe1, 0xd0, 0xd9, 0x0c, 0xf9, + 0xf7, 0x11, 0x46, 0x11, 0x99, 0xee, 0xbb, 0x77, 0xef, 0xa4, 0xf7, 0xb8, 0x5c, 0x00, 0xc8, 0x38, + 0x9c, 0x07, 0x3f, 0xae, 0xd4, 0x45, 0x8f, 0x73, 0xb9, 0x10, 0x46, 0x14, 0x9f, 0x69, 0x84, 0xa2, + 0xe6, 0x79, 0x3d, 0xbb, 0x09, 0xa9, 0x05, 0xa0, 0x20, 0x2a, 0xce, 0xbb, 0xe7, 0x1a, 0x24, 0x53, + 0x99, 0xce, 0x2b, 0xb1, 0xbf, 0x84, 0xf2, 0x30, 0xda, 0x17, 0x57, 0xd1, 0x70, 0x7e, 0x5c, 0x84, + 0xe0, 0xef, 0x0d, 0x86, 0x28, 0x99, 0x62, 0xfa, 0xcb, 0x26, 0xde, 0xb4, 0x16, 0x29, 0xca, 0x37, + 0xc5, 0xf4, 0x87, 0x4d, 0xbc, 0x69, 0x27, 0xa0, 0x28, 0x33, 0xc5, 0xf4, 0xb7, 0x4d, 0xfc, 0xff, + 0x7b, 0xfe, 0x19, 0x7d, 0x9c, 0xd6, 0xbe, 0x74, 0x78, 0x33, 0xd3, 0x7d, 0x01, 0xba, 0xc2, 0x65, + 0x04, 0x32, 0x43, 0xd7, 0x93, 0x77, 0x66, 0x0f, 0x62, 0xb6, 0x56, 0xfd, 0xde, 0xe0, 0xef, 0x11, + 0x00, 0x00, 0xff, 0xff, 0xc2, 0xa8, 0x53, 0x84, 0xe4, 0x00, 0x00, 0x00, +}