-
Notifications
You must be signed in to change notification settings - Fork 1
/
chaincode_definition.pb.go
157 lines (125 loc) · 5.85 KB
/
chaincode_definition.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
package lifecycle
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
const _ = proto.ProtoPackageIsVersion3
type ChaincodeEndorsementInfo struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
InitRequired bool `protobuf:"varint,2,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"`
EndorsementPlugin string `protobuf:"bytes,3,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChaincodeEndorsementInfo) Reset() { *m = ChaincodeEndorsementInfo{} }
func (m *ChaincodeEndorsementInfo) String() string { return proto.CompactTextString(m) }
func (*ChaincodeEndorsementInfo) ProtoMessage() {}
func (*ChaincodeEndorsementInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_f0faa93bbd697c66, []int{0}
}
func (m *ChaincodeEndorsementInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChaincodeEndorsementInfo.Unmarshal(m, b)
}
func (m *ChaincodeEndorsementInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChaincodeEndorsementInfo.Marshal(b, m, deterministic)
}
func (m *ChaincodeEndorsementInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChaincodeEndorsementInfo.Merge(m, src)
}
func (m *ChaincodeEndorsementInfo) XXX_Size() int {
return xxx_messageInfo_ChaincodeEndorsementInfo.Size(m)
}
func (m *ChaincodeEndorsementInfo) XXX_DiscardUnknown() {
xxx_messageInfo_ChaincodeEndorsementInfo.DiscardUnknown(m)
}
var xxx_messageInfo_ChaincodeEndorsementInfo proto.InternalMessageInfo
func (m *ChaincodeEndorsementInfo) GetVersion() string {
if m != nil {
return m.Version
}
return ""
}
func (m *ChaincodeEndorsementInfo) GetInitRequired() bool {
if m != nil {
return m.InitRequired
}
return false
}
func (m *ChaincodeEndorsementInfo) GetEndorsementPlugin() string {
if m != nil {
return m.EndorsementPlugin
}
return ""
}
type ChaincodeValidationInfo struct {
ValidationPlugin string `protobuf:"bytes,1,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"`
ValidationParameter []byte `protobuf:"bytes,2,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChaincodeValidationInfo) Reset() { *m = ChaincodeValidationInfo{} }
func (m *ChaincodeValidationInfo) String() string { return proto.CompactTextString(m) }
func (*ChaincodeValidationInfo) ProtoMessage() {}
func (*ChaincodeValidationInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_f0faa93bbd697c66, []int{1}
}
func (m *ChaincodeValidationInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChaincodeValidationInfo.Unmarshal(m, b)
}
func (m *ChaincodeValidationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChaincodeValidationInfo.Marshal(b, m, deterministic)
}
func (m *ChaincodeValidationInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChaincodeValidationInfo.Merge(m, src)
}
func (m *ChaincodeValidationInfo) XXX_Size() int {
return xxx_messageInfo_ChaincodeValidationInfo.Size(m)
}
func (m *ChaincodeValidationInfo) XXX_DiscardUnknown() {
xxx_messageInfo_ChaincodeValidationInfo.DiscardUnknown(m)
}
var xxx_messageInfo_ChaincodeValidationInfo proto.InternalMessageInfo
func (m *ChaincodeValidationInfo) GetValidationPlugin() string {
if m != nil {
return m.ValidationPlugin
}
return ""
}
func (m *ChaincodeValidationInfo) GetValidationParameter() []byte {
if m != nil {
return m.ValidationParameter
}
return nil
}
func init() {
proto.RegisterType((*ChaincodeEndorsementInfo)(nil), "lifecycle.ChaincodeEndorsementInfo")
proto.RegisterType((*ChaincodeValidationInfo)(nil), "lifecycle.ChaincodeValidationInfo")
}
func init() {
proto.RegisterFile("peer/lifecycle/chaincode_definition.proto", fileDescriptor_f0faa93bbd697c66)
}
var fileDescriptor_f0faa93bbd697c66 = []byte{
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x91, 0x41, 0x4b, 0xc4, 0x30,
0x14, 0x84, 0xa9, 0x82, 0xba, 0x61, 0x05, 0x37, 0x0a, 0xf6, 0xb8, 0xac, 0x97, 0x15, 0x35, 0x41,
0xf6, 0x1f, 0x28, 0x1e, 0xbc, 0x49, 0x0f, 0x1e, 0xbc, 0x2c, 0x69, 0xf2, 0xda, 0x3e, 0x68, 0x93,
0xfa, 0xda, 0x2e, 0xf4, 0x1f, 0xf8, 0xb3, 0xa5, 0x89, 0xed, 0xd6, 0x63, 0x66, 0xe6, 0x0d, 0x1f,
0x13, 0x76, 0x5f, 0x03, 0x90, 0x2c, 0x31, 0x03, 0xdd, 0xeb, 0x12, 0xa4, 0x2e, 0x14, 0x5a, 0xed,
0x0c, 0xec, 0x0d, 0x64, 0x68, 0xb1, 0x45, 0x67, 0x45, 0x4d, 0x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