/
persistent_msgs.pb.go
274 lines (245 loc) · 10.9 KB
/
persistent_msgs.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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
//此源码被清华学神尹成大魔王专业翻译分析并修改
//尹成QQ77025077
//尹成微信18510341407
//尹成所在QQ群721929980
//尹成邮箱 yinc13@mails.tsinghua.edu.cn
//尹成毕业于清华大学,微软区块链领域全球最有价值专家
//https://mvp.microsoft.com/zh-cn/PublicProfile/4033620
//由Protoc Gen Go生成的代码。不要编辑。
//资料来源:Persistentmsgs.proto
package pvtdatastorage //导入“github.com/hyperledger/fabric/core/ledger/pvtdata存储”
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
//引用导入以禁止错误(如果未使用)。
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
//这是一个编译时断言,以确保生成的文件
//与正在编译的proto包兼容。
//此行的编译错误可能意味着您的
//需要更新proto包。
const _ = proto.ProtoPackageIsVersion2 //请升级proto包
type ExpiryData struct {
Map map[string]*Collections `protobuf:"bytes,1,rep,name=map,proto3" json:"map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExpiryData) Reset() { *m = ExpiryData{} }
func (m *ExpiryData) String() string { return proto.CompactTextString(m) }
func (*ExpiryData) ProtoMessage() {}
func (*ExpiryData) Descriptor() ([]byte, []int) {
return fileDescriptor_persistent_msgs_f79691cf3913ef09, []int{0}
}
func (m *ExpiryData) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExpiryData.Unmarshal(m, b)
}
func (m *ExpiryData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExpiryData.Marshal(b, m, deterministic)
}
func (dst *ExpiryData) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExpiryData.Merge(dst, src)
}
func (m *ExpiryData) XXX_Size() int {
return xxx_messageInfo_ExpiryData.Size(m)
}
func (m *ExpiryData) XXX_DiscardUnknown() {
xxx_messageInfo_ExpiryData.DiscardUnknown(m)
}
var xxx_messageInfo_ExpiryData proto.InternalMessageInfo
func (m *ExpiryData) GetMap() map[string]*Collections {
if m != nil {
return m.Map
}
return nil
}
type Collections struct {
//对于pvt数据,会有一个
//进入TxNums
Map map[string]*TxNums `protobuf:"bytes,1,rep,name=map,proto3" json:"map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
//对于集合中丢失的任何数量的pvt数据,
//地图上会有一个条目
MissingDataMap map[string]bool `protobuf:"bytes,2,rep,name=missingDataMap,proto3" json:"missingDataMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Collections) Reset() { *m = Collections{} }
func (m *Collections) String() string { return proto.CompactTextString(m) }
func (*Collections) ProtoMessage() {}
func (*Collections) Descriptor() ([]byte, []int) {
return fileDescriptor_persistent_msgs_f79691cf3913ef09, []int{1}
}
func (m *Collections) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Collections.Unmarshal(m, b)
}
func (m *Collections) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Collections.Marshal(b, m, deterministic)
}
func (dst *Collections) XXX_Merge(src proto.Message) {
xxx_messageInfo_Collections.Merge(dst, src)
}
func (m *Collections) XXX_Size() int {
return xxx_messageInfo_Collections.Size(m)
}
func (m *Collections) XXX_DiscardUnknown() {
xxx_messageInfo_Collections.DiscardUnknown(m)
}
var xxx_messageInfo_Collections proto.InternalMessageInfo
func (m *Collections) GetMap() map[string]*TxNums {
if m != nil {
return m.Map
}
return nil
}
func (m *Collections) GetMissingDataMap() map[string]bool {
if m != nil {
return m.MissingDataMap
}
return nil
}
type TxNums struct {
List []uint64 `protobuf:"varint,1,rep,packed,name=list,proto3" json:"list,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TxNums) Reset() { *m = TxNums{} }
func (m *TxNums) String() string { return proto.CompactTextString(m) }
func (*TxNums) ProtoMessage() {}
func (*TxNums) Descriptor() ([]byte, []int) {
return fileDescriptor_persistent_msgs_f79691cf3913ef09, []int{2}
}
func (m *TxNums) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TxNums.Unmarshal(m, b)
}
func (m *TxNums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TxNums.Marshal(b, m, deterministic)
}
func (dst *TxNums) XXX_Merge(src proto.Message) {
xxx_messageInfo_TxNums.Merge(dst, src)
}
func (m *TxNums) XXX_Size() int {
return xxx_messageInfo_TxNums.Size(m)
}
func (m *TxNums) XXX_DiscardUnknown() {
xxx_messageInfo_TxNums.DiscardUnknown(m)
}
var xxx_messageInfo_TxNums proto.InternalMessageInfo
func (m *TxNums) GetList() []uint64 {
if m != nil {
return m.List
}
return nil
}
type CollElgInfo struct {
NsCollMap map[string]*CollNames `protobuf:"bytes,1,rep,name=nsCollMap,proto3" json:"nsCollMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CollElgInfo) Reset() { *m = CollElgInfo{} }
func (m *CollElgInfo) String() string { return proto.CompactTextString(m) }
func (*CollElgInfo) ProtoMessage() {}
func (*CollElgInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_persistent_msgs_f79691cf3913ef09, []int{3}
}
func (m *CollElgInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CollElgInfo.Unmarshal(m, b)
}
func (m *CollElgInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CollElgInfo.Marshal(b, m, deterministic)
}
func (dst *CollElgInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_CollElgInfo.Merge(dst, src)
}
func (m *CollElgInfo) XXX_Size() int {
return xxx_messageInfo_CollElgInfo.Size(m)
}
func (m *CollElgInfo) XXX_DiscardUnknown() {
xxx_messageInfo_CollElgInfo.DiscardUnknown(m)
}
var xxx_messageInfo_CollElgInfo proto.InternalMessageInfo
func (m *CollElgInfo) GetNsCollMap() map[string]*CollNames {
if m != nil {
return m.NsCollMap
}
return nil
}
type CollNames struct {
Entries []string `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CollNames) Reset() { *m = CollNames{} }
func (m *CollNames) String() string { return proto.CompactTextString(m) }
func (*CollNames) ProtoMessage() {}
func (*CollNames) Descriptor() ([]byte, []int) {
return fileDescriptor_persistent_msgs_f79691cf3913ef09, []int{4}
}
func (m *CollNames) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CollNames.Unmarshal(m, b)
}
func (m *CollNames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CollNames.Marshal(b, m, deterministic)
}
func (dst *CollNames) XXX_Merge(src proto.Message) {
xxx_messageInfo_CollNames.Merge(dst, src)
}
func (m *CollNames) XXX_Size() int {
return xxx_messageInfo_CollNames.Size(m)
}
func (m *CollNames) XXX_DiscardUnknown() {
xxx_messageInfo_CollNames.DiscardUnknown(m)
}
var xxx_messageInfo_CollNames proto.InternalMessageInfo
func (m *CollNames) GetEntries() []string {
if m != nil {
return m.Entries
}
return nil
}
func init() {
proto.RegisterType((*ExpiryData)(nil), "pvtdatastorage.ExpiryData")
proto.RegisterMapType((map[string]*Collections)(nil), "pvtdatastorage.ExpiryData.MapEntry")
proto.RegisterType((*Collections)(nil), "pvtdatastorage.Collections")
proto.RegisterMapType((map[string]*TxNums)(nil), "pvtdatastorage.Collections.MapEntry")
proto.RegisterMapType((map[string]bool)(nil), "pvtdatastorage.Collections.MissingDataMapEntry")
proto.RegisterType((*TxNums)(nil), "pvtdatastorage.TxNums")
proto.RegisterType((*CollElgInfo)(nil), "pvtdatastorage.CollElgInfo")
proto.RegisterMapType((map[string]*CollNames)(nil), "pvtdatastorage.CollElgInfo.NsCollMapEntry")
proto.RegisterType((*CollNames)(nil), "pvtdatastorage.CollNames")
}
func init() {
proto.RegisterFile("persistent_msgs.proto", fileDescriptor_persistent_msgs_f79691cf3913ef09)
}
var fileDescriptor_persistent_msgs_f79691cf3913ef09 = []byte{
//gzip文件描述符或协议的389字节
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xdf, 0x6a, 0xdb, 0x30,
0x14, 0xc6, 0xb1, 0x93, 0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