/
storage.pb.go
103 lines (89 loc) · 4.1 KB
/
storage.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
//此源码被清华学神尹成大魔王专业翻译分析并修改
//尹成QQ77025077
//尹成微信18510341407
//尹成所在QQ群721929980
//尹成邮箱 yinc13@mails.tsinghua.edu.cn
//尹成毕业于清华大学,微软区块链领域全球最有价值专家
//https://mvp.microsoft.com/zh-cn/PublicProfile/4033620
//由Protoc Gen Go生成的代码。不要编辑。
//来源:storage.proto
package msgs //导入“github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statelevelldb/msgs”
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 VersionedValueProto struct {
VersionBytes []byte `protobuf:"bytes,1,opt,name=version_bytes,json=versionBytes,proto3" json:"version_bytes,omitempty"`
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VersionedValueProto) Reset() { *m = VersionedValueProto{} }
func (m *VersionedValueProto) String() string { return proto.CompactTextString(m) }
func (*VersionedValueProto) ProtoMessage() {}
func (*VersionedValueProto) Descriptor() ([]byte, []int) {
return fileDescriptor_storage_8fef7a68096053f5, []int{0}
}
func (m *VersionedValueProto) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VersionedValueProto.Unmarshal(m, b)
}
func (m *VersionedValueProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VersionedValueProto.Marshal(b, m, deterministic)
}
func (dst *VersionedValueProto) XXX_Merge(src proto.Message) {
xxx_messageInfo_VersionedValueProto.Merge(dst, src)
}
func (m *VersionedValueProto) XXX_Size() int {
return xxx_messageInfo_VersionedValueProto.Size(m)
}
func (m *VersionedValueProto) XXX_DiscardUnknown() {
xxx_messageInfo_VersionedValueProto.DiscardUnknown(m)
}
var xxx_messageInfo_VersionedValueProto proto.InternalMessageInfo
func (m *VersionedValueProto) GetVersionBytes() []byte {
if m != nil {
return m.VersionBytes
}
return nil
}
func (m *VersionedValueProto) GetValue() []byte {
if m != nil {
return m.Value
}
return nil
}
func (m *VersionedValueProto) GetMetadata() []byte {
if m != nil {
return m.Metadata
}
return nil
}
func init() {
proto.RegisterType((*VersionedValueProto)(nil), "msgs.VersionedValueProto")
}
func init() { proto.RegisterFile("storage.proto", fileDescriptor_storage_8fef7a68096053f5) }
var fileDescriptor_storage_8fef7a68096053f5 = []byte{
//gzip文件描述符或协议的190字节
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x3c, 0x8f, 0xbd, 0x0e, 0x82, 0x30,
0x14, 0x85, 0x83, 0x7f, 0x31, 0x0d, 0x2c, 0xe8, 0x40, 0x9c, 0x8c, 0x2e, 0x4e, 0x74, 0xf0, 0x0d,
0x78, 0x02, 0xa3, 0x91, 0xc1, 0xc5, 0xb4, 0xf4, 0x5a, 0x88, 0xad, 0x25, 0xed, 0xa5, 0x91, 0xb7,
0x37, 0x14, 0xe2, 0x74, 0xef, 0xf9, 0xbe, 0x9c, 0xe1, 0x90, 0xc4, 0xa1, 0xb1, 0x4c, 0x42, 0xde,
0x5a, 0x83, 0x26, 0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