1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package expr
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
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 type Expr struct {
70 state protoimpl.MessageState
71 sizeCache protoimpl.SizeCache
72 unknownFields protoimpl.UnknownFields
73
74
75
76 Expression string `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"`
77
78
79
80 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
81
82
83 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
84
85
86 Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
87 }
88
89 func (x *Expr) Reset() {
90 *x = Expr{}
91 if protoimpl.UnsafeEnabled {
92 mi := &file_google_type_expr_proto_msgTypes[0]
93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
94 ms.StoreMessageInfo(mi)
95 }
96 }
97
98 func (x *Expr) String() string {
99 return protoimpl.X.MessageStringOf(x)
100 }
101
102 func (*Expr) ProtoMessage() {}
103
104 func (x *Expr) ProtoReflect() protoreflect.Message {
105 mi := &file_google_type_expr_proto_msgTypes[0]
106 if protoimpl.UnsafeEnabled && x != nil {
107 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
108 if ms.LoadMessageInfo() == nil {
109 ms.StoreMessageInfo(mi)
110 }
111 return ms
112 }
113 return mi.MessageOf(x)
114 }
115
116
117 func (*Expr) Descriptor() ([]byte, []int) {
118 return file_google_type_expr_proto_rawDescGZIP(), []int{0}
119 }
120
121 func (x *Expr) GetExpression() string {
122 if x != nil {
123 return x.Expression
124 }
125 return ""
126 }
127
128 func (x *Expr) GetTitle() string {
129 if x != nil {
130 return x.Title
131 }
132 return ""
133 }
134
135 func (x *Expr) GetDescription() string {
136 if x != nil {
137 return x.Description
138 }
139 return ""
140 }
141
142 func (x *Expr) GetLocation() string {
143 if x != nil {
144 return x.Location
145 }
146 return ""
147 }
148
149 var File_google_type_expr_proto protoreflect.FileDescriptor
150
151 var file_google_type_expr_proto_rawDesc = []byte{
152 0x0a, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x65, 0x78,
153 0x70, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
154 0x2e, 0x74, 0x79, 0x70, 0x65, 0x22, 0x7a, 0x0a, 0x04, 0x45, 0x78, 0x70, 0x72, 0x12, 0x1e, 0x0a,
155 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
156 0x09, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a,
157 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69,
158 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
159 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
160 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
161 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
162 0x6e, 0x42, 0x5a, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
163 0x74, 0x79, 0x70, 0x65, 0x42, 0x09, 0x45, 0x78, 0x70, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
164 0x01, 0x5a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
165 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
166 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x65, 0x78,
167 0x70, 0x72, 0x3b, 0x65, 0x78, 0x70, 0x72, 0xa2, 0x02, 0x03, 0x47, 0x54, 0x50, 0x62, 0x06, 0x70,
168 0x72, 0x6f, 0x74, 0x6f, 0x33,
169 }
170
171 var (
172 file_google_type_expr_proto_rawDescOnce sync.Once
173 file_google_type_expr_proto_rawDescData = file_google_type_expr_proto_rawDesc
174 )
175
176 func file_google_type_expr_proto_rawDescGZIP() []byte {
177 file_google_type_expr_proto_rawDescOnce.Do(func() {
178 file_google_type_expr_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_type_expr_proto_rawDescData)
179 })
180 return file_google_type_expr_proto_rawDescData
181 }
182
183 var file_google_type_expr_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
184 var file_google_type_expr_proto_goTypes = []interface{}{
185 (*Expr)(nil),
186 }
187 var file_google_type_expr_proto_depIdxs = []int32{
188 0,
189 0,
190 0,
191 0,
192 0,
193 }
194
195 func init() { file_google_type_expr_proto_init() }
196 func file_google_type_expr_proto_init() {
197 if File_google_type_expr_proto != nil {
198 return
199 }
200 if !protoimpl.UnsafeEnabled {
201 file_google_type_expr_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
202 switch v := v.(*Expr); i {
203 case 0:
204 return &v.state
205 case 1:
206 return &v.sizeCache
207 case 2:
208 return &v.unknownFields
209 default:
210 return nil
211 }
212 }
213 }
214 type x struct{}
215 out := protoimpl.TypeBuilder{
216 File: protoimpl.DescBuilder{
217 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
218 RawDescriptor: file_google_type_expr_proto_rawDesc,
219 NumEnums: 0,
220 NumMessages: 1,
221 NumExtensions: 0,
222 NumServices: 0,
223 },
224 GoTypes: file_google_type_expr_proto_goTypes,
225 DependencyIndexes: file_google_type_expr_proto_depIdxs,
226 MessageInfos: file_google_type_expr_proto_msgTypes,
227 }.Build()
228 File_google_type_expr_proto = out.File
229 file_google_type_expr_proto_rawDesc = nil
230 file_google_type_expr_proto_goTypes = nil
231 file_google_type_expr_proto_depIdxs = nil
232 }
233
View as plain text