github.com/adnan-c/fabric_e2e_couchdb@v0.6.1-preview.0.20170228180935-21ce6b23cf91/protos/peer/query.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: peer/query.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 // ChaincodeQueryResponse returns information about each chaincode that pertains 17 // to a query in lccc.go, such as GetChaincodes (returns all chaincodes 18 // instantiated on a channel), and GetInstalledChaincodes (returns all chaincodes 19 // installed on a peer) 20 type ChaincodeQueryResponse struct { 21 Chaincodes []*ChaincodeInfo `protobuf:"bytes,1,rep,name=chaincodes" json:"chaincodes,omitempty"` 22 } 23 24 func (m *ChaincodeQueryResponse) Reset() { *m = ChaincodeQueryResponse{} } 25 func (m *ChaincodeQueryResponse) String() string { return proto.CompactTextString(m) } 26 func (*ChaincodeQueryResponse) ProtoMessage() {} 27 func (*ChaincodeQueryResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{0} } 28 29 func (m *ChaincodeQueryResponse) GetChaincodes() []*ChaincodeInfo { 30 if m != nil { 31 return m.Chaincodes 32 } 33 return nil 34 } 35 36 // ChaincodeInfo contains general information about an installed/instantiated 37 // chaincode 38 type ChaincodeInfo struct { 39 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 40 Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` 41 // the path as specified by the install/instantiate transaction 42 Path string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"` 43 // the chaincode function upon instantiation and its arguments. This will be 44 // blank if the query is returning information about installed chaincodes. 45 Input string `protobuf:"bytes,4,opt,name=input" json:"input,omitempty"` 46 // the name of the ESCC for this chaincode. This will be 47 // blank if the query is returning information about installed chaincodes. 48 Escc string `protobuf:"bytes,5,opt,name=escc" json:"escc,omitempty"` 49 // the name of the VSCC for this chaincode. This will be 50 // blank if the query is returning information about installed chaincodes. 51 Vscc string `protobuf:"bytes,6,opt,name=vscc" json:"vscc,omitempty"` 52 } 53 54 func (m *ChaincodeInfo) Reset() { *m = ChaincodeInfo{} } 55 func (m *ChaincodeInfo) String() string { return proto.CompactTextString(m) } 56 func (*ChaincodeInfo) ProtoMessage() {} 57 func (*ChaincodeInfo) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{1} } 58 59 // ChannelQueryResponse returns information about each channel that pertains 60 // to a query in lccc.go, such as GetChannels (returns all channels for a 61 // given peer) 62 type ChannelQueryResponse struct { 63 Channels []*ChannelInfo `protobuf:"bytes,1,rep,name=channels" json:"channels,omitempty"` 64 } 65 66 func (m *ChannelQueryResponse) Reset() { *m = ChannelQueryResponse{} } 67 func (m *ChannelQueryResponse) String() string { return proto.CompactTextString(m) } 68 func (*ChannelQueryResponse) ProtoMessage() {} 69 func (*ChannelQueryResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{2} } 70 71 func (m *ChannelQueryResponse) GetChannels() []*ChannelInfo { 72 if m != nil { 73 return m.Channels 74 } 75 return nil 76 } 77 78 // ChannelInfo contains general information about channels 79 type ChannelInfo struct { 80 ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId" json:"channel_id,omitempty"` 81 } 82 83 func (m *ChannelInfo) Reset() { *m = ChannelInfo{} } 84 func (m *ChannelInfo) String() string { return proto.CompactTextString(m) } 85 func (*ChannelInfo) ProtoMessage() {} 86 func (*ChannelInfo) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{3} } 87 88 func init() { 89 proto.RegisterType((*ChaincodeQueryResponse)(nil), "protos.ChaincodeQueryResponse") 90 proto.RegisterType((*ChaincodeInfo)(nil), "protos.ChaincodeInfo") 91 proto.RegisterType((*ChannelQueryResponse)(nil), "protos.ChannelQueryResponse") 92 proto.RegisterType((*ChannelInfo)(nil), "protos.ChannelInfo") 93 } 94 95 func init() { proto.RegisterFile("peer/query.proto", fileDescriptor9) } 96 97 var fileDescriptor9 = []byte{ 98 // 273 bytes of a gzipped FileDescriptorProto 99 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x54, 0x91, 0x5f, 0x4b, 0xc3, 0x30, 100 0x14, 0xc5, 0xa9, 0xfb, 0xa3, 0xbb, 0x43, 0x90, 0x38, 0x25, 0x2f, 0xc2, 0xe8, 0xd3, 0x44, 0x69, 101 0x40, 0xf1, 0x0b, 0xb8, 0x07, 0xd9, 0x93, 0xd8, 0x47, 0x5f, 0xa4, 0x4d, 0xef, 0xd6, 0xc0, 0x96, 102 0xc4, 0xa4, 0x1d, 0xec, 0x53, 0xf8, 0x95, 0xe5, 0x26, 0xeb, 0xe8, 0x9e, 0x7a, 0xee, 0xef, 0x9c, 103 0x4b, 0x39, 0xb9, 0x70, 0x63, 0x11, 0x9d, 0xf8, 0x6d, 0xd1, 0x1d, 0x32, 0xeb, 0x4c, 0x63, 0xd8, 104 0x38, 0x7c, 0x7c, 0xfa, 0x09, 0xf7, 0xcb, 0xba, 0x50, 0x5a, 0x9a, 0x0a, 0xbf, 0xc8, 0xcf, 0xd1, 105 0x5b, 0xa3, 0x3d, 0xb2, 0x37, 0x00, 0xd9, 0x39, 0x9e, 0x27, 0xf3, 0xc1, 0x62, 0xfa, 0x72, 0x17, 106 0xb7, 0x7d, 0x76, 0xda, 0x59, 0xe9, 0xb5, 0xc9, 0x7b, 0xc1, 0xf4, 0x2f, 0x81, 0xeb, 0x33, 0x97, 107 0x31, 0x18, 0xea, 0x62, 0x87, 0x3c, 0x99, 0x27, 0x8b, 0x49, 0x1e, 0x34, 0xe3, 0x70, 0xb9, 0x47, 108 0xe7, 0x95, 0xd1, 0xfc, 0x22, 0xe0, 0x6e, 0xa4, 0xb4, 0x2d, 0x9a, 0x9a, 0x0f, 0x62, 0x9a, 0x34, 109 0x9b, 0xc1, 0x48, 0x69, 0xdb, 0x36, 0x7c, 0x18, 0x60, 0x1c, 0x28, 0x89, 0x5e, 0x4a, 0x3e, 0x8a, 110 0x49, 0xd2, 0xc4, 0xf6, 0xc4, 0xc6, 0x91, 0x91, 0x4e, 0x3f, 0x60, 0xb6, 0xac, 0x0b, 0xad, 0x71, 111 0x7b, 0x5e, 0x50, 0xc0, 0x95, 0x8c, 0xbc, 0xab, 0x77, 0xdb, 0xab, 0x47, 0x3c, 0x94, 0x3b, 0x85, 112 0xd2, 0x67, 0x98, 0xf6, 0x0c, 0xf6, 0x10, 0x1e, 0x88, 0xc6, 0x1f, 0x55, 0x1d, 0xdb, 0x4d, 0x8e, 113 0x64, 0x55, 0xbd, 0x3f, 0x7d, 0x3f, 0x6e, 0x54, 0x53, 0xb7, 0x65, 0x26, 0xcd, 0x4e, 0xd4, 0x07, 114 0x8b, 0x6e, 0x8b, 0xd5, 0x06, 0x9d, 0x58, 0x17, 0xa5, 0x53, 0x52, 0xc4, 0x7f, 0x09, 0x3a, 0x4d, 115 0x19, 0xcf, 0xf1, 0xfa, 0x1f, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x71, 0x90, 0xfd, 0xa9, 0x01, 0x00, 116 0x00, 117 }