1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package serviceconfig
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
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 type Documentation struct {
96 state protoimpl.MessageState
97 sizeCache protoimpl.SizeCache
98 unknownFields protoimpl.UnknownFields
99
100
101
102
103
104 Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"`
105
106 Pages []*Page `protobuf:"bytes,5,rep,name=pages,proto3" json:"pages,omitempty"`
107
108
109
110 Rules []*DocumentationRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"`
111
112 DocumentationRootUrl string `protobuf:"bytes,4,opt,name=documentation_root_url,json=documentationRootUrl,proto3" json:"documentation_root_url,omitempty"`
113
114
115
116
117 ServiceRootUrl string `protobuf:"bytes,6,opt,name=service_root_url,json=serviceRootUrl,proto3" json:"service_root_url,omitempty"`
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135 Overview string `protobuf:"bytes,2,opt,name=overview,proto3" json:"overview,omitempty"`
136 }
137
138 func (x *Documentation) Reset() {
139 *x = Documentation{}
140 if protoimpl.UnsafeEnabled {
141 mi := &file_google_api_documentation_proto_msgTypes[0]
142 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
143 ms.StoreMessageInfo(mi)
144 }
145 }
146
147 func (x *Documentation) String() string {
148 return protoimpl.X.MessageStringOf(x)
149 }
150
151 func (*Documentation) ProtoMessage() {}
152
153 func (x *Documentation) ProtoReflect() protoreflect.Message {
154 mi := &file_google_api_documentation_proto_msgTypes[0]
155 if protoimpl.UnsafeEnabled && x != nil {
156 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
157 if ms.LoadMessageInfo() == nil {
158 ms.StoreMessageInfo(mi)
159 }
160 return ms
161 }
162 return mi.MessageOf(x)
163 }
164
165
166 func (*Documentation) Descriptor() ([]byte, []int) {
167 return file_google_api_documentation_proto_rawDescGZIP(), []int{0}
168 }
169
170 func (x *Documentation) GetSummary() string {
171 if x != nil {
172 return x.Summary
173 }
174 return ""
175 }
176
177 func (x *Documentation) GetPages() []*Page {
178 if x != nil {
179 return x.Pages
180 }
181 return nil
182 }
183
184 func (x *Documentation) GetRules() []*DocumentationRule {
185 if x != nil {
186 return x.Rules
187 }
188 return nil
189 }
190
191 func (x *Documentation) GetDocumentationRootUrl() string {
192 if x != nil {
193 return x.DocumentationRootUrl
194 }
195 return ""
196 }
197
198 func (x *Documentation) GetServiceRootUrl() string {
199 if x != nil {
200 return x.ServiceRootUrl
201 }
202 return ""
203 }
204
205 func (x *Documentation) GetOverview() string {
206 if x != nil {
207 return x.Overview
208 }
209 return ""
210 }
211
212
213 type DocumentationRule struct {
214 state protoimpl.MessageState
215 sizeCache protoimpl.SizeCache
216 unknownFields protoimpl.UnknownFields
217
218
219
220
221
222
223
224
225 Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
226
227
228
229 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
230
231
232 DeprecationDescription string `protobuf:"bytes,3,opt,name=deprecation_description,json=deprecationDescription,proto3" json:"deprecation_description,omitempty"`
233 }
234
235 func (x *DocumentationRule) Reset() {
236 *x = DocumentationRule{}
237 if protoimpl.UnsafeEnabled {
238 mi := &file_google_api_documentation_proto_msgTypes[1]
239 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
240 ms.StoreMessageInfo(mi)
241 }
242 }
243
244 func (x *DocumentationRule) String() string {
245 return protoimpl.X.MessageStringOf(x)
246 }
247
248 func (*DocumentationRule) ProtoMessage() {}
249
250 func (x *DocumentationRule) ProtoReflect() protoreflect.Message {
251 mi := &file_google_api_documentation_proto_msgTypes[1]
252 if protoimpl.UnsafeEnabled && x != nil {
253 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
254 if ms.LoadMessageInfo() == nil {
255 ms.StoreMessageInfo(mi)
256 }
257 return ms
258 }
259 return mi.MessageOf(x)
260 }
261
262
263 func (*DocumentationRule) Descriptor() ([]byte, []int) {
264 return file_google_api_documentation_proto_rawDescGZIP(), []int{1}
265 }
266
267 func (x *DocumentationRule) GetSelector() string {
268 if x != nil {
269 return x.Selector
270 }
271 return ""
272 }
273
274 func (x *DocumentationRule) GetDescription() string {
275 if x != nil {
276 return x.Description
277 }
278 return ""
279 }
280
281 func (x *DocumentationRule) GetDeprecationDescription() string {
282 if x != nil {
283 return x.DeprecationDescription
284 }
285 return ""
286 }
287
288
289
290 type Page struct {
291 state protoimpl.MessageState
292 sizeCache protoimpl.SizeCache
293 unknownFields protoimpl.UnknownFields
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
311
312
313
314 Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
315
316
317 Subpages []*Page `protobuf:"bytes,3,rep,name=subpages,proto3" json:"subpages,omitempty"`
318 }
319
320 func (x *Page) Reset() {
321 *x = Page{}
322 if protoimpl.UnsafeEnabled {
323 mi := &file_google_api_documentation_proto_msgTypes[2]
324 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
325 ms.StoreMessageInfo(mi)
326 }
327 }
328
329 func (x *Page) String() string {
330 return protoimpl.X.MessageStringOf(x)
331 }
332
333 func (*Page) ProtoMessage() {}
334
335 func (x *Page) ProtoReflect() protoreflect.Message {
336 mi := &file_google_api_documentation_proto_msgTypes[2]
337 if protoimpl.UnsafeEnabled && x != nil {
338 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
339 if ms.LoadMessageInfo() == nil {
340 ms.StoreMessageInfo(mi)
341 }
342 return ms
343 }
344 return mi.MessageOf(x)
345 }
346
347
348 func (*Page) Descriptor() ([]byte, []int) {
349 return file_google_api_documentation_proto_rawDescGZIP(), []int{2}
350 }
351
352 func (x *Page) GetName() string {
353 if x != nil {
354 return x.Name
355 }
356 return ""
357 }
358
359 func (x *Page) GetContent() string {
360 if x != nil {
361 return x.Content
362 }
363 return ""
364 }
365
366 func (x *Page) GetSubpages() []*Page {
367 if x != nil {
368 return x.Subpages
369 }
370 return nil
371 }
372
373 var File_google_api_documentation_proto protoreflect.FileDescriptor
374
375 var file_google_api_documentation_proto_rawDesc = []byte{
376 0x0a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x6f, 0x63,
377 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
378 0x12, 0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x22, 0x82, 0x02, 0x0a,
379 0x0d, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18,
380 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
381 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x70, 0x61, 0x67, 0x65,
382 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
383 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x05, 0x70, 0x61, 0x67, 0x65, 0x73,
384 0x12, 0x33, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
385 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x6f, 0x63,
386 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05,
387 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
388 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18,
389 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61,
390 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6f, 0x74, 0x55, 0x72, 0x6c, 0x12, 0x28, 0x0a, 0x10, 0x73,
391 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18,
392 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x6f,
393 0x6f, 0x74, 0x55, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65,
394 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65,
395 0x77, 0x22, 0x8a, 0x01, 0x0a, 0x11, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74,
396 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63,
397 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63,
398 0x74, 0x6f, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
399 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
400 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x17, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61,
401 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
402 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74,
403 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x62,
404 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
405 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f,
406 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e,
407 0x74, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x70, 0x61, 0x67, 0x65, 0x73,
408 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
409 0x61, 0x70, 0x69, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x08, 0x73, 0x75, 0x62, 0x70, 0x61, 0x67,
410 0x65, 0x73, 0x42, 0x74, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
411 0x2e, 0x61, 0x70, 0x69, 0x42, 0x12, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74,
412 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x6f, 0x6f, 0x67,
413 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65,
414 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
415 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e,
416 0x66, 0x69, 0x67, 0x3b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69,
417 0x67, 0xa2, 0x02, 0x04, 0x47, 0x41, 0x50, 0x49, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
418 }
419
420 var (
421 file_google_api_documentation_proto_rawDescOnce sync.Once
422 file_google_api_documentation_proto_rawDescData = file_google_api_documentation_proto_rawDesc
423 )
424
425 func file_google_api_documentation_proto_rawDescGZIP() []byte {
426 file_google_api_documentation_proto_rawDescOnce.Do(func() {
427 file_google_api_documentation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_documentation_proto_rawDescData)
428 })
429 return file_google_api_documentation_proto_rawDescData
430 }
431
432 var file_google_api_documentation_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
433 var file_google_api_documentation_proto_goTypes = []interface{}{
434 (*Documentation)(nil),
435 (*DocumentationRule)(nil),
436 (*Page)(nil),
437 }
438 var file_google_api_documentation_proto_depIdxs = []int32{
439 2,
440 1,
441 2,
442 3,
443 3,
444 3,
445 3,
446 0,
447 }
448
449 func init() { file_google_api_documentation_proto_init() }
450 func file_google_api_documentation_proto_init() {
451 if File_google_api_documentation_proto != nil {
452 return
453 }
454 if !protoimpl.UnsafeEnabled {
455 file_google_api_documentation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
456 switch v := v.(*Documentation); i {
457 case 0:
458 return &v.state
459 case 1:
460 return &v.sizeCache
461 case 2:
462 return &v.unknownFields
463 default:
464 return nil
465 }
466 }
467 file_google_api_documentation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
468 switch v := v.(*DocumentationRule); i {
469 case 0:
470 return &v.state
471 case 1:
472 return &v.sizeCache
473 case 2:
474 return &v.unknownFields
475 default:
476 return nil
477 }
478 }
479 file_google_api_documentation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
480 switch v := v.(*Page); i {
481 case 0:
482 return &v.state
483 case 1:
484 return &v.sizeCache
485 case 2:
486 return &v.unknownFields
487 default:
488 return nil
489 }
490 }
491 }
492 type x struct{}
493 out := protoimpl.TypeBuilder{
494 File: protoimpl.DescBuilder{
495 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
496 RawDescriptor: file_google_api_documentation_proto_rawDesc,
497 NumEnums: 0,
498 NumMessages: 3,
499 NumExtensions: 0,
500 NumServices: 0,
501 },
502 GoTypes: file_google_api_documentation_proto_goTypes,
503 DependencyIndexes: file_google_api_documentation_proto_depIdxs,
504 MessageInfos: file_google_api_documentation_proto_msgTypes,
505 }.Build()
506 File_google_api_documentation_proto = out.File
507 file_google_api_documentation_proto_rawDesc = nil
508 file_google_api_documentation_proto_goTypes = nil
509 file_google_api_documentation_proto_depIdxs = nil
510 }
511
View as plain text