forked from gomatcha/matcha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
alert.pb.go
131 lines (113 loc) · 4.3 KB
/
alert.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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: gomatcha.io/matcha/proto/view/alert.proto
/*
Package view is a generated protocol buffer package.
It is generated from these files:
gomatcha.io/matcha/proto/view/alert.proto
gomatcha.io/matcha/proto/view/button.proto
gomatcha.io/matcha/proto/view/imageview.proto
gomatcha.io/matcha/proto/view/scrollview.proto
gomatcha.io/matcha/proto/view/slider.proto
gomatcha.io/matcha/proto/view/switchview.proto
gomatcha.io/matcha/proto/view/textinput.proto
gomatcha.io/matcha/proto/view/view.proto
It has these top-level messages:
Alert
AlertButton
Button
ImageView
ScrollView
ScrollEvent
Slider
SliderEvent
SwitchView
SwitchEvent
TextInput
TextInputEvent
TextInputFocusEvent
TextInputSubmitEvent
BuildNode
LayoutPaintNode
Root
*/
package view
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 Alert struct {
Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
Buttons []*AlertButton `protobuf:"bytes,4,rep,name=buttons" json:"buttons,omitempty"`
}
func (m *Alert) Reset() { *m = Alert{} }
func (m *Alert) String() string { return proto.CompactTextString(m) }
func (*Alert) ProtoMessage() {}
func (*Alert) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *Alert) GetId() int64 {
if m != nil {
return m.Id
}
return 0
}
func (m *Alert) GetTitle() string {
if m != nil {
return m.Title
}
return ""
}
func (m *Alert) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
func (m *Alert) GetButtons() []*AlertButton {
if m != nil {
return m.Buttons
}
return nil
}
type AlertButton struct {
Title string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
}
func (m *AlertButton) Reset() { *m = AlertButton{} }
func (m *AlertButton) String() string { return proto.CompactTextString(m) }
func (*AlertButton) ProtoMessage() {}
func (*AlertButton) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *AlertButton) GetTitle() string {
if m != nil {
return m.Title
}
return ""
}
func init() {
proto.RegisterType((*Alert)(nil), "matcha.view.Alert")
proto.RegisterType((*AlertButton)(nil), "matcha.view.AlertButton")
}
func init() { proto.RegisterFile("gomatcha.io/matcha/proto/view/alert.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 208 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4c, 0xcf, 0xcf, 0x4d,
0x2c, 0x49, 0xce, 0x48, 0xd4, 0xcb, 0xcc, 0xd7, 0x87, 0xb0, 0xf4, 0x0b, 0x8a, 0xf2, 0x4b, 0xf2,
0xf5, 0xcb, 0x32, 0x53, 0xcb, 0xf5, 0x13, 0x73, 0x52, 0x8b, 0x4a, 0xf4, 0xc0, 0x02, 0x42, 0xdc,
0x50, 0x85, 0x20, 0x09, 0xa5, 0x6a, 0x2e, 0x56, 0x47, 0x90, 0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