forked from gomatcha/matcha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
view.pb.go
250 lines (218 loc) · 9.5 KB
/
view.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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: gomatcha.io/matcha/proto/view/view.proto
package view
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import matcha_paint "gomatcha.io/matcha/proto/paint"
import google_protobuf "github.com/golang/protobuf/ptypes/any"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type BuildNode struct {
Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
BuildId int64 `protobuf:"varint,2,opt,name=buildId" json:"buildId,omitempty"`
BridgeName string `protobuf:"bytes,3,opt,name=bridgeName" json:"bridgeName,omitempty"`
BridgeValue []byte `protobuf:"bytes,4,opt,name=bridgeValue,proto3" json:"bridgeValue,omitempty"`
Values map[string][]byte `protobuf:"bytes,5,rep,name=values" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value,proto3"`
Children []int64 `protobuf:"varint,6,rep,packed,name=children" json:"children,omitempty"`
AltIds map[int64]int64 `protobuf:"bytes,7,rep,name=altIds" json:"altIds,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
}
func (m *BuildNode) Reset() { *m = BuildNode{} }
func (m *BuildNode) String() string { return proto.CompactTextString(m) }
func (*BuildNode) ProtoMessage() {}
func (*BuildNode) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0} }
func (m *BuildNode) GetId() int64 {
if m != nil {
return m.Id
}
return 0
}
func (m *BuildNode) GetBuildId() int64 {
if m != nil {
return m.BuildId
}
return 0
}
func (m *BuildNode) GetBridgeName() string {
if m != nil {
return m.BridgeName
}
return ""
}
func (m *BuildNode) GetBridgeValue() []byte {
if m != nil {
return m.BridgeValue
}
return nil
}
func (m *BuildNode) GetValues() map[string][]byte {
if m != nil {
return m.Values
}
return nil
}
func (m *BuildNode) GetChildren() []int64 {
if m != nil {
return m.Children
}
return nil
}
func (m *BuildNode) GetAltIds() map[int64]int64 {
if m != nil {
return m.AltIds
}
return nil
}
type LayoutPaintNode struct {
Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
LayoutId int64 `protobuf:"varint,2,opt,name=layoutId" json:"layoutId,omitempty"`
PaintId int64 `protobuf:"varint,3,opt,name=paintId" json:"paintId,omitempty"`
// matcha.layout.Guide layoutGuide = 4;
// Guide
Minx float64 `protobuf:"fixed64,4,opt,name=minx" json:"minx,omitempty"`
Miny float64 `protobuf:"fixed64,5,opt,name=miny" json:"miny,omitempty"`
Maxx float64 `protobuf:"fixed64,6,opt,name=maxx" json:"maxx,omitempty"`
Maxy float64 `protobuf:"fixed64,7,opt,name=maxy" json:"maxy,omitempty"`
ZIndex int64 `protobuf:"varint,8,opt,name=zIndex" json:"zIndex,omitempty"`
ChildOrder []int64 `protobuf:"varint,9,rep,packed,name=childOrder" json:"childOrder,omitempty"`
PaintStyle *matcha_paint.Style `protobuf:"bytes,10,opt,name=paintStyle" json:"paintStyle,omitempty"`
}
func (m *LayoutPaintNode) Reset() { *m = LayoutPaintNode{} }
func (m *LayoutPaintNode) String() string { return proto.CompactTextString(m) }
func (*LayoutPaintNode) ProtoMessage() {}
func (*LayoutPaintNode) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{1} }
func (m *LayoutPaintNode) GetId() int64 {
if m != nil {
return m.Id
}
return 0
}
func (m *LayoutPaintNode) GetLayoutId() int64 {
if m != nil {
return m.LayoutId
}
return 0
}
func (m *LayoutPaintNode) GetPaintId() int64 {
if m != nil {
return m.PaintId
}
return 0
}
func (m *LayoutPaintNode) GetMinx() float64 {
if m != nil {
return m.Minx
}
return 0
}
func (m *LayoutPaintNode) GetMiny() float64 {
if m != nil {
return m.Miny
}
return 0
}
func (m *LayoutPaintNode) GetMaxx() float64 {
if m != nil {
return m.Maxx
}
return 0
}
func (m *LayoutPaintNode) GetMaxy() float64 {
if m != nil {
return m.Maxy
}
return 0
}
func (m *LayoutPaintNode) GetZIndex() int64 {
if m != nil {
return m.ZIndex
}
return 0
}
func (m *LayoutPaintNode) GetChildOrder() []int64 {
if m != nil {
return m.ChildOrder
}
return nil
}
func (m *LayoutPaintNode) GetPaintStyle() *matcha_paint.Style {
if m != nil {
return m.PaintStyle
}
return nil
}
type Root struct {
LayoutPaintNodes map[int64]*LayoutPaintNode `protobuf:"bytes,2,rep,name=layoutPaintNodes" json:"layoutPaintNodes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
BuildNodes map[int64]*BuildNode `protobuf:"bytes,3,rep,name=buildNodes" json:"buildNodes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
Middleware map[string]*google_protobuf.Any `protobuf:"bytes,4,rep,name=middleware" json:"middleware,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
}
func (m *Root) Reset() { *m = Root{} }
func (m *Root) String() string { return proto.CompactTextString(m) }
func (*Root) ProtoMessage() {}
func (*Root) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{2} }
func (m *Root) GetLayoutPaintNodes() map[int64]*LayoutPaintNode {
if m != nil {
return m.LayoutPaintNodes
}
return nil
}
func (m *Root) GetBuildNodes() map[int64]*BuildNode {
if m != nil {
return m.BuildNodes
}
return nil
}
func (m *Root) GetMiddleware() map[string]*google_protobuf.Any {
if m != nil {
return m.Middleware
}
return nil
}
func init() {
proto.RegisterType((*BuildNode)(nil), "matcha.view.BuildNode")
proto.RegisterType((*LayoutPaintNode)(nil), "matcha.view.LayoutPaintNode")
proto.RegisterType((*Root)(nil), "matcha.view.Root")
}
func init() { proto.RegisterFile("gomatcha.io/matcha/proto/view/view.proto", fileDescriptor7) }
var fileDescriptor7 = []byte{
// 587 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xcd, 0x6e, 0xd4, 0x30,
0x10, 0x56, 0xe2, 0x6d, 0xda, 0x9d, 0x54, 0xb4, 0x32, 0xa5, 0x32, 0x11, 0xa0, 0xb0, 0x17, 0xa2,
0x0a, 0x65, 0xa5, 0xed, 0x05, 0x2a, 0x2e, 0x5d, 0x89, 0xc3, 0x4a, 0xb4, 0x54, 0xa9, 0xe8, 0x81,
0x9b, 0x53, 0x9b, 0xad, 0x45, 0x36, 0xa9, 0xb2, 0xd9, 0x36, 0xe1, 0xc6, 0x3b, 0xf0, 0x04, 0x3c,
0x21, 0x8f, 0x80, 0x3c, 0xf9, 0xc1, 0xbb, 0x4d, 0xb9, 0x44, 0x9e, 0xcf, 0xf3, 0x7d, 0x1e, 0xcf,
0x37, 0x31, 0x04, 0xf3, 0x6c, 0xc1, 0x8b, 0xeb, 0x1b, 0x1e, 0xaa, 0x6c, 0x5c, 0xaf, 0xc6, 0xb7,
0x79, 0x56, 0x64, 0xe3, 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