// Code generated by protoc-gen-go. DO NOT EDIT. // source: peer/query.proto package peer import ( fmt "fmt" proto "github.com/golang/protobuf/proto" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // ChaincodeQueryResponse returns information about each chaincode that pertains // to a query in lscc.go, such as GetChaincodes (returns all chaincodes // instantiated on a channel), and GetInstalledChaincodes (returns all chaincodes // installed on a peer) type ChaincodeQueryResponse struct { Chaincodes []*ChaincodeInfo `protobuf:"bytes,1,rep,name=chaincodes,proto3" json:"chaincodes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ChaincodeQueryResponse) Reset() { *m = ChaincodeQueryResponse{} } func (m *ChaincodeQueryResponse) String() string { return proto.CompactTextString(m) } func (*ChaincodeQueryResponse) ProtoMessage() {} func (*ChaincodeQueryResponse) Descriptor() ([]byte, []int) { return fileDescriptor_d45bcf7fe2423301, []int{0} } func (m *ChaincodeQueryResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ChaincodeQueryResponse.Unmarshal(m, b) } func (m *ChaincodeQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ChaincodeQueryResponse.Marshal(b, m, deterministic) } func (m *ChaincodeQueryResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ChaincodeQueryResponse.Merge(m, src) } func (m *ChaincodeQueryResponse) XXX_Size() int { return xxx_messageInfo_ChaincodeQueryResponse.Size(m) } func (m *ChaincodeQueryResponse) XXX_DiscardUnknown() { xxx_messageInfo_ChaincodeQueryResponse.DiscardUnknown(m) } var xxx_messageInfo_ChaincodeQueryResponse proto.InternalMessageInfo func (m *ChaincodeQueryResponse) GetChaincodes() []*ChaincodeInfo { if m != nil { return m.Chaincodes } return nil } // ChaincodeInfo contains general information about an installed/instantiated // chaincode type ChaincodeInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // the path as specified by the install/instantiate transaction Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // the chaincode function upon instantiation and its arguments. This will be // blank if the query is returning information about installed chaincodes. Input string `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"` // the name of the ESCC for this chaincode. This will be // blank if the query is returning information about installed chaincodes. Escc string `protobuf:"bytes,5,opt,name=escc,proto3" json:"escc,omitempty"` // the name of the VSCC for this chaincode. This will be // blank if the query is returning information about installed chaincodes. Vscc string `protobuf:"bytes,6,opt,name=vscc,proto3" json:"vscc,omitempty"` // the chaincode unique id. // computed as: H( // H(name || version) || // H(CodePackage) // ) Id []byte `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ChaincodeInfo) Reset() { *m = ChaincodeInfo{} } func (m *ChaincodeInfo) String() string { return proto.CompactTextString(m) } func (*ChaincodeInfo) ProtoMessage() {} func (*ChaincodeInfo) Descriptor() ([]byte, []int) { return fileDescriptor_d45bcf7fe2423301, []int{1} } func (m *ChaincodeInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ChaincodeInfo.Unmarshal(m, b) } func (m *ChaincodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ChaincodeInfo.Marshal(b, m, deterministic) } func (m *ChaincodeInfo) XXX_Merge(src proto.Message) { xxx_messageInfo_ChaincodeInfo.Merge(m, src) } func (m *ChaincodeInfo) XXX_Size() int { return xxx_messageInfo_ChaincodeInfo.Size(m) } func (m *ChaincodeInfo) XXX_DiscardUnknown() { xxx_messageInfo_ChaincodeInfo.DiscardUnknown(m) } var xxx_messageInfo_ChaincodeInfo proto.InternalMessageInfo func (m *ChaincodeInfo) GetName() string { if m != nil { return m.Name } return "" } func (m *ChaincodeInfo) GetVersion() string { if m != nil { return m.Version } return "" } func (m *ChaincodeInfo) GetPath() string { if m != nil { return m.Path } return "" } func (m *ChaincodeInfo) GetInput() string { if m != nil { return m.Input } return "" } func (m *ChaincodeInfo) GetEscc() string { if m != nil { return m.Escc } return "" } func (m *ChaincodeInfo) GetVscc() string { if m != nil { return m.Vscc } return "" } func (m *ChaincodeInfo) GetId() []byte { if m != nil { return m.Id } return nil } // ChannelQueryResponse returns information about each channel that pertains // to a query in lscc.go, such as GetChannels (returns all channels for a // given peer) type ChannelQueryResponse struct { Channels []*ChannelInfo `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ChannelQueryResponse) Reset() { *m = ChannelQueryResponse{} } func (m *ChannelQueryResponse) String() string { return proto.CompactTextString(m) } func (*ChannelQueryResponse) ProtoMessage() {} func (*ChannelQueryResponse) Descriptor() ([]byte, []int) { return fileDescriptor_d45bcf7fe2423301, []int{2} } func (m *ChannelQueryResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ChannelQueryResponse.Unmarshal(m, b) } func (m *ChannelQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ChannelQueryResponse.Marshal(b, m, deterministic) } func (m *ChannelQueryResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ChannelQueryResponse.Merge(m, src) } func (m *ChannelQueryResponse) XXX_Size() int { return xxx_messageInfo_ChannelQueryResponse.Size(m) } func (m *ChannelQueryResponse) XXX_DiscardUnknown() { xxx_messageInfo_ChannelQueryResponse.DiscardUnknown(m) } var xxx_messageInfo_ChannelQueryResponse proto.InternalMessageInfo func (m *ChannelQueryResponse) GetChannels() []*ChannelInfo { if m != nil { return m.Channels } return nil } // ChannelInfo contains general information about channels type ChannelInfo struct { ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ChannelInfo) Reset() { *m = ChannelInfo{} } func (m *ChannelInfo) String() string { return proto.CompactTextString(m) } func (*ChannelInfo) ProtoMessage() {} func (*ChannelInfo) Descriptor() ([]byte, []int) { return fileDescriptor_d45bcf7fe2423301, []int{3} } func (m *ChannelInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ChannelInfo.Unmarshal(m, b) } func (m *ChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ChannelInfo.Marshal(b, m, deterministic) } func (m *ChannelInfo) XXX_Merge(src proto.Message) { xxx_messageInfo_ChannelInfo.Merge(m, src) } func (m *ChannelInfo) XXX_Size() int { return xxx_messageInfo_ChannelInfo.Size(m) } func (m *ChannelInfo) XXX_DiscardUnknown() { xxx_messageInfo_ChannelInfo.DiscardUnknown(m) } var xxx_messageInfo_ChannelInfo proto.InternalMessageInfo func (m *ChannelInfo) GetChannelId() string { if m != nil { return m.ChannelId } return "" } // JoinBySnapshotStatus contains information about whether or a JoinBySnapshot operation // is in progress and the related bootstrap dir if it is running. type JoinBySnapshotStatus struct { InProgress bool `protobuf:"varint,1,opt,name=in_progress,json=inProgress,proto3" json:"in_progress,omitempty"` BootstrappingSnapshotDir string `protobuf:"bytes,2,opt,name=bootstrapping_snapshot_dir,json=bootstrappingSnapshotDir,proto3" json:"bootstrapping_snapshot_dir,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *JoinBySnapshotStatus) Reset() { *m = JoinBySnapshotStatus{} } func (m *JoinBySnapshotStatus) String() string { return proto.CompactTextString(m) } func (*JoinBySnapshotStatus) ProtoMessage() {} func (*JoinBySnapshotStatus) Descriptor() ([]byte, []int) { return fileDescriptor_d45bcf7fe2423301, []int{4} } func (m *JoinBySnapshotStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JoinBySnapshotStatus.Unmarshal(m, b) } func (m *JoinBySnapshotStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_JoinBySnapshotStatus.Marshal(b, m, deterministic) } func (m *JoinBySnapshotStatus) XXX_Merge(src proto.Message) { xxx_messageInfo_JoinBySnapshotStatus.Merge(m, src) } func (m *JoinBySnapshotStatus) XXX_Size() int { return xxx_messageInfo_JoinBySnapshotStatus.Size(m) } func (m *JoinBySnapshotStatus) XXX_DiscardUnknown() { xxx_messageInfo_JoinBySnapshotStatus.DiscardUnknown(m) } var xxx_messageInfo_JoinBySnapshotStatus proto.InternalMessageInfo func (m *JoinBySnapshotStatus) GetInProgress() bool { if m != nil { return m.InProgress } return false } func (m *JoinBySnapshotStatus) GetBootstrappingSnapshotDir() string { if m != nil { return m.BootstrappingSnapshotDir } return "" } func init() { proto.RegisterType((*ChaincodeQueryResponse)(nil), "protos.ChaincodeQueryResponse") proto.RegisterType((*ChaincodeInfo)(nil), "protos.ChaincodeInfo") proto.RegisterType((*ChannelQueryResponse)(nil), "protos.ChannelQueryResponse") proto.RegisterType((*ChannelInfo)(nil), "protos.ChannelInfo") proto.RegisterType((*JoinBySnapshotStatus)(nil), "protos.JoinBySnapshotStatus") } func init() { proto.RegisterFile("peer/query.proto", fileDescriptor_d45bcf7fe2423301) } var fileDescriptor_d45bcf7fe2423301 = []byte{ // 366 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x92, 0xcf, 0x6a, 0xe3, 0x30, 0x10, 0x87, 0x71, 0xfe, 0x67, 0xb2, 0xbb, 0x2c, 0x6a, 0x5a, 0x44, 0xa1, 0x34,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