Unverified Commit d78039b7 authored by Artem Barger's avatar Artem Barger
Browse files

[FAB-10200]: Update proto files



Change-Id: I000c4fbeb0c2949d8fe2680370cef5797af380f6
Signed-off-by: default avatarArtem Barger <bartem@il.ibm.com>
parent 22fb6a31
......@@ -103,9 +103,7 @@ func (m *CollectionConfig) String() string { return proto.CompactText
func (*CollectionConfig) ProtoMessage() {}
func (*CollectionConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
type isCollectionConfig_Payload interface {
isCollectionConfig_Payload()
}
type isCollectionConfig_Payload interface{ isCollectionConfig_Payload() }
type CollectionConfig_StaticCollectionConfig struct {
StaticCollectionConfig *StaticCollectionConfig `protobuf:"bytes,1,opt,name=static_collection_config,json=staticCollectionConfig,oneof"`
......@@ -260,9 +258,7 @@ func (m *CollectionPolicyConfig) String() string { return proto.Compa
func (*CollectionPolicyConfig) ProtoMessage() {}
func (*CollectionPolicyConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
type isCollectionPolicyConfig_Payload interface {
isCollectionPolicyConfig_Payload()
}
type isCollectionPolicyConfig_Payload interface{ isCollectionPolicyConfig_Payload() }
type CollectionPolicyConfig_SignaturePolicy struct {
SignaturePolicy *SignaturePolicyEnvelope `protobuf:"bytes,1,opt,name=signature_policy,json=signaturePolicy,oneof"`
......
......@@ -141,9 +141,7 @@ func (m *SignaturePolicy) String() string { return proto.CompactTextS
func (*SignaturePolicy) ProtoMessage() {}
func (*SignaturePolicy) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{2} }
type isSignaturePolicy_Type interface {
isSignaturePolicy_Type()
}
type isSignaturePolicy_Type interface{ isSignaturePolicy_Type() }
type SignaturePolicy_SignedBy struct {
SignedBy int32 `protobuf:"varint,1,opt,name=signed_by,json=signedBy,oneof"`
......
......@@ -183,9 +183,7 @@ func (m *Query) String() string { return proto.CompactTextString(m) }
func (*Query) ProtoMessage() {}
func (*Query) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
type isQuery_Query interface {
isQuery_Query()
}
type isQuery_Query interface{ isQuery_Query() }
type Query_ConfigQuery struct {
ConfigQuery *ConfigQuery `protobuf:"bytes,2,opt,name=config_query,json=configQuery,oneof"`
......@@ -377,9 +375,7 @@ func (m *QueryResult) String() string { return proto.CompactTextStrin
func (*QueryResult) ProtoMessage() {}
func (*QueryResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
type isQueryResult_Result interface {
isQueryResult_Result()
}
type isQueryResult_Result interface{ isQueryResult_Result() }
type QueryResult_Error struct {
Error *Error `protobuf:"bytes,1,opt,name=error,oneof"`
......
......@@ -202,9 +202,7 @@ func (m *Secret) String() string { return proto.CompactTextString(m)
func (*Secret) ProtoMessage() {}
func (*Secret) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
type isSecret_Content interface {
isSecret_Content()
}
type isSecret_Content interface{ isSecret_Content() }
type Secret_InternalEndpoint struct {
InternalEndpoint string `protobuf:"bytes,1,opt,name=internalEndpoint,oneof"`
......@@ -319,9 +317,7 @@ func (m *GossipMessage) String() string { return proto.CompactTextStr
func (*GossipMessage) ProtoMessage() {}
func (*GossipMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
type isGossipMessage_Content interface {
isGossipMessage_Content()
}
type isGossipMessage_Content interface{ isGossipMessage_Content() }
type GossipMessage_AliveMsg struct {
AliveMsg *AliveMessage `protobuf:"bytes,5,opt,name=alive_msg,json=aliveMsg,oneof"`
......
......@@ -357,9 +357,7 @@ func (m *RangeQueryInfo) String() string { return proto.CompactTextSt
func (*RangeQueryInfo) ProtoMessage() {}
func (*RangeQueryInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
type isRangeQueryInfo_ReadsInfo interface {
isRangeQueryInfo_ReadsInfo()
}
type isRangeQueryInfo_ReadsInfo interface{ isRangeQueryInfo_ReadsInfo() }
type RangeQueryInfo_RawReads struct {
RawReads *QueryReads `protobuf:"bytes,4,opt,name=raw_reads,json=rawReads,oneof"`
......
......@@ -143,9 +143,7 @@ func (m *SeekPosition) String() string { return proto.CompactTextStri
func (*SeekPosition) ProtoMessage() {}
func (*SeekPosition) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
type isSeekPosition_Type interface {
isSeekPosition_Type()
}
type isSeekPosition_Type interface{ isSeekPosition_Type() }
type SeekPosition_Newest struct {
Newest *SeekNewest `protobuf:"bytes,1,opt,name=newest,oneof"`
......@@ -334,9 +332,7 @@ func (m *DeliverResponse) String() string { return proto.CompactTextS
func (*DeliverResponse) ProtoMessage() {}
func (*DeliverResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
type isDeliverResponse_Type interface {
isDeliverResponse_Type()
}
type isDeliverResponse_Type interface{ isDeliverResponse_Type() }
type DeliverResponse_Status struct {
Status common.Status `protobuf:"varint,1,opt,name=status,enum=common.Status,oneof"`
......
......@@ -51,9 +51,7 @@ func (m *KafkaMessage) String() string { return proto.CompactTextStri
func (*KafkaMessage) ProtoMessage() {}
func (*KafkaMessage) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
type isKafkaMessage_Type interface {
isKafkaMessage_Type()
}
type isKafkaMessage_Type interface{ isKafkaMessage_Type() }
type KafkaMessage_Regular struct {
Regular *KafkaMessageRegular `protobuf:"bytes,1,opt,name=regular,oneof"`
......
......@@ -6,8 +6,8 @@ Package peer is a generated protocol buffer package.
It is generated from these files:
peer/admin.proto
peer/chaincode_event.proto
peer/chaincode.proto
peer/chaincode_event.proto
peer/chaincode_shim.proto
peer/configuration.proto
peer/events.proto
......@@ -24,13 +24,13 @@ It has these top-level messages:
LogLevelRequest
LogLevelResponse
AdminOperation
ChaincodeEvent
ChaincodeID
ChaincodeInput
ChaincodeSpec
ChaincodeDeploymentSpec
ChaincodeInvocationSpec
LifecycleEvent
ChaincodeEvent
ChaincodeMessage
GetState
PutState
......@@ -218,9 +218,7 @@ func (m *AdminOperation) String() string { return proto.CompactTextSt
func (*AdminOperation) ProtoMessage() {}
func (*AdminOperation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
type isAdminOperation_Content interface {
isAdminOperation_Content()
}
type isAdminOperation_Content interface{ isAdminOperation_Content() }
type AdminOperation_LogReq struct {
LogReq *LogLevelRequest `protobuf:"bytes,1,opt,name=logReq,oneof"`
......
......@@ -32,7 +32,7 @@ var ConfidentialityLevel_value = map[string]int32{
func (x ConfidentialityLevel) String() string {
return proto.EnumName(ConfidentialityLevel_name, int32(x))
}
func (ConfidentialityLevel) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
func (ConfidentialityLevel) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
type ChaincodeSpec_Type int32
......@@ -62,7 +62,7 @@ var ChaincodeSpec_Type_value = map[string]int32{
func (x ChaincodeSpec_Type) String() string {
return proto.EnumName(ChaincodeSpec_Type_name, int32(x))
}
func (ChaincodeSpec_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{2, 0} }
func (ChaincodeSpec_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{2, 0} }
type ChaincodeDeploymentSpec_ExecutionEnvironment int32
......@@ -84,7 +84,7 @@ func (x ChaincodeDeploymentSpec_ExecutionEnvironment) String() string {
return proto.EnumName(ChaincodeDeploymentSpec_ExecutionEnvironment_name, int32(x))
}
func (ChaincodeDeploymentSpec_ExecutionEnvironment) EnumDescriptor() ([]byte, []int) {
return fileDescriptor2, []int{3, 0}
return fileDescriptor1, []int{3, 0}
}
// ChaincodeID contains the path as specified by the deploy transaction
......@@ -107,7 +107,7 @@ type ChaincodeID struct {
func (m *ChaincodeID) Reset() { *m = ChaincodeID{} }
func (m *ChaincodeID) String() string { return proto.CompactTextString(m) }
func (*ChaincodeID) ProtoMessage() {}
func (*ChaincodeID) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
func (*ChaincodeID) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
func (m *ChaincodeID) GetPath() string {
if m != nil {
......@@ -141,7 +141,7 @@ type ChaincodeInput struct {
func (m *ChaincodeInput) Reset() { *m = ChaincodeInput{} }
func (m *ChaincodeInput) String() string { return proto.CompactTextString(m) }
func (*ChaincodeInput) ProtoMessage() {}
func (*ChaincodeInput) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
func (*ChaincodeInput) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
func (m *ChaincodeInput) GetArgs() [][]byte {
if m != nil {
......@@ -169,7 +169,7 @@ type ChaincodeSpec struct {
func (m *ChaincodeSpec) Reset() { *m = ChaincodeSpec{} }
func (m *ChaincodeSpec) String() string { return proto.CompactTextString(m) }
func (*ChaincodeSpec) ProtoMessage() {}
func (*ChaincodeSpec) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
func (*ChaincodeSpec) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
func (m *ChaincodeSpec) GetType() ChaincodeSpec_Type {
if m != nil {
......@@ -210,7 +210,7 @@ type ChaincodeDeploymentSpec struct {
func (m *ChaincodeDeploymentSpec) Reset() { *m = ChaincodeDeploymentSpec{} }
func (m *ChaincodeDeploymentSpec) String() string { return proto.CompactTextString(m) }
func (*ChaincodeDeploymentSpec) ProtoMessage() {}
func (*ChaincodeDeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{3} }
func (*ChaincodeDeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }
func (m *ChaincodeDeploymentSpec) GetChaincodeSpec() *ChaincodeSpec {
if m != nil {
......@@ -241,7 +241,7 @@ type ChaincodeInvocationSpec struct {
func (m *ChaincodeInvocationSpec) Reset() { *m = ChaincodeInvocationSpec{} }
func (m *ChaincodeInvocationSpec) String() string { return proto.CompactTextString(m) }
func (*ChaincodeInvocationSpec) ProtoMessage() {}
func (*ChaincodeInvocationSpec) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{4} }
func (*ChaincodeInvocationSpec) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{4} }
func (m *ChaincodeInvocationSpec) GetChaincodeSpec() *ChaincodeSpec {
if m != nil {
......@@ -258,7 +258,7 @@ type LifecycleEvent struct {
func (m *LifecycleEvent) Reset() { *m = LifecycleEvent{} }
func (m *LifecycleEvent) String() string { return proto.CompactTextString(m) }
func (*LifecycleEvent) ProtoMessage() {}
func (*LifecycleEvent) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5} }
func (*LifecycleEvent) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{5} }
func (m *LifecycleEvent) GetChaincodeName() string {
if m != nil {
......@@ -279,9 +279,9 @@ func init() {
proto.RegisterEnum("protos.ChaincodeDeploymentSpec_ExecutionEnvironment", ChaincodeDeploymentSpec_ExecutionEnvironment_name, ChaincodeDeploymentSpec_ExecutionEnvironment_value)
}
func init() { proto.RegisterFile("peer/chaincode.proto", fileDescriptor2) }
func init() { proto.RegisterFile("peer/chaincode.proto", fileDescriptor1) }
var fileDescriptor2 = []byte{
var fileDescriptor1 = []byte{
// 632 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x6d, 0x6f, 0xda, 0x3c,
0x14, 0x6d, 0x80, 0xbe, 0xdd, 0x50, 0x94, 0xc7, 0x0f, 0xcf, 0x33, 0xd4, 0x4f, 0x2c, 0xd2, 0x34,
......
......@@ -24,7 +24,7 @@ type ChaincodeEvent struct {
func (m *ChaincodeEvent) Reset() { *m = ChaincodeEvent{} }
func (m *ChaincodeEvent) String() string { return proto.CompactTextString(m) }
func (*ChaincodeEvent) ProtoMessage() {}
func (*ChaincodeEvent) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
func (*ChaincodeEvent) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
func (m *ChaincodeEvent) GetChaincodeId() string {
if m != nil {
......@@ -58,9 +58,9 @@ func init() {
proto.RegisterType((*ChaincodeEvent)(nil), "protos.ChaincodeEvent")
}
func init() { proto.RegisterFile("peer/chaincode_event.proto", fileDescriptor1) }
func init() { proto.RegisterFile("peer/chaincode_event.proto", fileDescriptor2) }
var fileDescriptor1 = []byte{
var fileDescriptor2 = []byte{
// 218 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2a, 0x48, 0x4d, 0x2d,
0xd2, 0x4f, 0xce, 0x48, 0xcc, 0xcc, 0x4b, 0xce, 0x4f, 0x49, 0x8d, 0x4f, 0x2d, 0x4b, 0xcd, 0x2b,
......
......@@ -93,9 +93,7 @@ func (m *Interest) String() string { return proto.CompactTextString(m
func (*Interest) ProtoMessage() {}
func (*Interest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{1} }
type isInterest_RegInfo interface {
isInterest_RegInfo()
}
type isInterest_RegInfo interface{ isInterest_RegInfo() }
type Interest_ChaincodeRegInfo struct {
ChaincodeRegInfo *ChaincodeReg `protobuf:"bytes,2,opt,name=chaincode_reg_info,json=chaincodeRegInfo,oneof"`
......@@ -298,9 +296,7 @@ func (m *FilteredTransaction) String() string { return proto.CompactT
func (*FilteredTransaction) ProtoMessage() {}
func (*FilteredTransaction) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{6} }
type isFilteredTransaction_Data interface {
isFilteredTransaction_Data()
}
type isFilteredTransaction_Data interface{ isFilteredTransaction_Data() }
type FilteredTransaction_TransactionActions struct {
TransactionActions *FilteredTransactionActions `protobuf:"bytes,4,opt,name=transaction_actions,json=transactionActions,oneof"`
......@@ -487,9 +483,7 @@ func (m *Event) String() string { return proto.CompactTextString(m) }
func (*Event) ProtoMessage() {}
func (*Event) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{10} }
type isEvent_Event interface {
isEvent_Event()
}
type isEvent_Event interface{ isEvent_Event() }
type Event_Register struct {
Register *Register `protobuf:"bytes,1,opt,name=register,oneof"`
......@@ -751,9 +745,7 @@ func (m *DeliverResponse) String() string { return proto.CompactTextS
func (*DeliverResponse) ProtoMessage() {}
func (*DeliverResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{11} }
type isDeliverResponse_Type interface {
isDeliverResponse_Type()
}
type isDeliverResponse_Type interface{ isDeliverResponse_Type() }
type DeliverResponse_Status struct {
Status common.Status `protobuf:"varint,1,opt,name=status,enum=common.Status,oneof"`
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment