forked from hyperledger/fabric
/
update_batch.pb.go
164 lines (144 loc) · 6.39 KB
/
update_batch.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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: update_batch.proto
package privacyenabledstate // import "github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/privacyenabledstate"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import 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.ProtoPackageIsVersion2 // please upgrade the proto package
type KVWriteProto struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
IsDelete bool `protobuf:"varint,4,opt,name=isDelete,proto3" json:"isDelete,omitempty"`
Value []byte `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
VersionBytes []byte `protobuf:"bytes,6,opt,name=version_bytes,json=versionBytes,proto3" json:"version_bytes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *KVWriteProto) Reset() { *m = KVWriteProto{} }
func (m *KVWriteProto) String() string { return proto.CompactTextString(m) }
func (*KVWriteProto) ProtoMessage() {}
func (*KVWriteProto) Descriptor() ([]byte, []int) {
return fileDescriptor_update_batch_169d334cdaab572b, []int{0}
}
func (m *KVWriteProto) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_KVWriteProto.Unmarshal(m, b)
}
func (m *KVWriteProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_KVWriteProto.Marshal(b, m, deterministic)
}
func (dst *KVWriteProto) XXX_Merge(src proto.Message) {
xxx_messageInfo_KVWriteProto.Merge(dst, src)
}
func (m *KVWriteProto) XXX_Size() int {
return xxx_messageInfo_KVWriteProto.Size(m)
}
func (m *KVWriteProto) XXX_DiscardUnknown() {
xxx_messageInfo_KVWriteProto.DiscardUnknown(m)
}
var xxx_messageInfo_KVWriteProto proto.InternalMessageInfo
func (m *KVWriteProto) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *KVWriteProto) GetCollection() string {
if m != nil {
return m.Collection
}
return ""
}
func (m *KVWriteProto) GetKey() []byte {
if m != nil {
return m.Key
}
return nil
}
func (m *KVWriteProto) GetIsDelete() bool {
if m != nil {
return m.IsDelete
}
return false
}
func (m *KVWriteProto) GetValue() []byte {
if m != nil {
return m.Value
}
return nil
}
func (m *KVWriteProto) GetVersionBytes() []byte {
if m != nil {
return m.VersionBytes
}
return nil
}
type KVWritesBatchProto struct {
Kvwrites []*KVWriteProto `protobuf:"bytes,1,rep,name=kvwrites,proto3" json:"kvwrites,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *KVWritesBatchProto) Reset() { *m = KVWritesBatchProto{} }
func (m *KVWritesBatchProto) String() string { return proto.CompactTextString(m) }
func (*KVWritesBatchProto) ProtoMessage() {}
func (*KVWritesBatchProto) Descriptor() ([]byte, []int) {
return fileDescriptor_update_batch_169d334cdaab572b, []int{1}
}
func (m *KVWritesBatchProto) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_KVWritesBatchProto.Unmarshal(m, b)
}
func (m *KVWritesBatchProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_KVWritesBatchProto.Marshal(b, m, deterministic)
}
func (dst *KVWritesBatchProto) XXX_Merge(src proto.Message) {
xxx_messageInfo_KVWritesBatchProto.Merge(dst, src)
}
func (m *KVWritesBatchProto) XXX_Size() int {
return xxx_messageInfo_KVWritesBatchProto.Size(m)
}
func (m *KVWritesBatchProto) XXX_DiscardUnknown() {
xxx_messageInfo_KVWritesBatchProto.DiscardUnknown(m)
}
var xxx_messageInfo_KVWritesBatchProto proto.InternalMessageInfo
func (m *KVWritesBatchProto) GetKvwrites() []*KVWriteProto {
if m != nil {
return m.Kvwrites
}
return nil
}
func init() {
proto.RegisterType((*KVWriteProto)(nil), "privacyenabledstate.KVWriteProto")
proto.RegisterType((*KVWritesBatchProto)(nil), "privacyenabledstate.KVWritesBatchProto")
}
func init() { proto.RegisterFile("update_batch.proto", fileDescriptor_update_batch_169d334cdaab572b) }
var fileDescriptor_update_batch_169d334cdaab572b = []byte{
// 281 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xc1, 0x4b, 0xc3, 0x30,
0x14, 0xc6, 0x89, 0x73, 0x63, 0x8b, 0x13, 0x24, 0x7a, 0x08, 0x22, 0x52, 0xe7, 0xa5, 0xa7, 0x16,
0xf4, 0xec, 0x65, 0x78, 0x13, 0x51, 0x2a, 0x28, 0x78, 0x19, 0x49, 0xf6, 0x5c, 0x43, 0xd3, 0xa6,
0x24, 0xaf, 0xd5, 0xfe, 0x61, 0xfe, 0x7f, 0xd2, 0xac, 0xcc, 0x1d, 0x76, 0x7b, 0xef, 0xf7, 0x7d,
0x21, 0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