-
Notifications
You must be signed in to change notification settings - Fork 5
/
table_records.pb.go
198 lines (171 loc) · 6.43 KB
/
table_records.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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: table_records.proto
package mysql
import (
fmt "fmt"
math "math"
)
import (
proto "github.com/golang/protobuf/proto"
)
// 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.ProtoPackageIsVersion3 // please upgrade the proto package
type PbField struct {
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
KeyType int32 `protobuf:"varint,2,opt,name=KeyType,proto3" json:"KeyType,omitempty"`
Type int32 `protobuf:"zigzag32,3,opt,name=Type,proto3" json:"Type,omitempty"`
Value []byte `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PbField) Reset() { *m = PbField{} }
func (m *PbField) String() string { return proto.CompactTextString(m) }
func (*PbField) ProtoMessage() {}
func (*PbField) Descriptor() ([]byte, []int) {
return fileDescriptor_0f74341eba9e488d, []int{0}
}
func (m *PbField) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PbField.Unmarshal(m, b)
}
func (m *PbField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PbField.Marshal(b, m, deterministic)
}
func (m *PbField) XXX_Merge(src proto.Message) {
xxx_messageInfo_PbField.Merge(m, src)
}
func (m *PbField) XXX_Size() int {
return xxx_messageInfo_PbField.Size(m)
}
func (m *PbField) XXX_DiscardUnknown() {
xxx_messageInfo_PbField.DiscardUnknown(m)
}
var xxx_messageInfo_PbField proto.InternalMessageInfo
func (m *PbField) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *PbField) GetKeyType() int32 {
if m != nil {
return m.KeyType
}
return 0
}
func (m *PbField) GetType() int32 {
if m != nil {
return m.Type
}
return 0
}
func (m *PbField) GetValue() []byte {
if m != nil {
return m.Value
}
return nil
}
type PbRow struct {
Fields []*PbField `protobuf:"bytes,1,rep,name=Fields,proto3" json:"Fields,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PbRow) Reset() { *m = PbRow{} }
func (m *PbRow) String() string { return proto.CompactTextString(m) }
func (*PbRow) ProtoMessage() {}
func (*PbRow) Descriptor() ([]byte, []int) {
return fileDescriptor_0f74341eba9e488d, []int{1}
}
func (m *PbRow) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PbRow.Unmarshal(m, b)
}
func (m *PbRow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PbRow.Marshal(b, m, deterministic)
}
func (m *PbRow) XXX_Merge(src proto.Message) {
xxx_messageInfo_PbRow.Merge(m, src)
}
func (m *PbRow) XXX_Size() int {
return xxx_messageInfo_PbRow.Size(m)
}
func (m *PbRow) XXX_DiscardUnknown() {
xxx_messageInfo_PbRow.DiscardUnknown(m)
}
var xxx_messageInfo_PbRow proto.InternalMessageInfo
func (m *PbRow) GetFields() []*PbField {
if m != nil {
return m.Fields
}
return nil
}
type PbTableRecords struct {
TableName string `protobuf:"bytes,1,opt,name=TableName,proto3" json:"TableName,omitempty"`
Rows []*PbRow `protobuf:"bytes,2,rep,name=Rows,proto3" json:"Rows,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PbTableRecords) Reset() { *m = PbTableRecords{} }
func (m *PbTableRecords) String() string { return proto.CompactTextString(m) }
func (*PbTableRecords) ProtoMessage() {}
func (*PbTableRecords) Descriptor() ([]byte, []int) {
return fileDescriptor_0f74341eba9e488d, []int{2}
}
func (m *PbTableRecords) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PbTableRecords.Unmarshal(m, b)
}
func (m *PbTableRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PbTableRecords.Marshal(b, m, deterministic)
}
func (m *PbTableRecords) XXX_Merge(src proto.Message) {
xxx_messageInfo_PbTableRecords.Merge(m, src)
}
func (m *PbTableRecords) XXX_Size() int {
return xxx_messageInfo_PbTableRecords.Size(m)
}
func (m *PbTableRecords) XXX_DiscardUnknown() {
xxx_messageInfo_PbTableRecords.DiscardUnknown(m)
}
var xxx_messageInfo_PbTableRecords proto.InternalMessageInfo
func (m *PbTableRecords) GetTableName() string {
if m != nil {
return m.TableName
}
return ""
}
func (m *PbTableRecords) GetRows() []*PbRow {
if m != nil {
return m.Rows
}
return nil
}
func init() {
proto.RegisterType((*PbField)(nil), "parser.PbField")
proto.RegisterType((*PbRow)(nil), "parser.PbRow")
proto.RegisterType((*PbTableRecords)(nil), "parser.PbTableRecords")
}
func init() { proto.RegisterFile("table_records.proto", fileDescriptor_0f74341eba9e488d) }
var fileDescriptor_0f74341eba9e488d = []byte{
// 208 bytes of a gzipped FileDescriptorProto
0x1f, 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