1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package annotations
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 descriptorpb "google.golang.org/protobuf/types/descriptorpb"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40
41 type ResourceDescriptor_History int32
42
43 const (
44
45 ResourceDescriptor_HISTORY_UNSPECIFIED ResourceDescriptor_History = 0
46
47
48 ResourceDescriptor_ORIGINALLY_SINGLE_PATTERN ResourceDescriptor_History = 1
49
50
51
52 ResourceDescriptor_FUTURE_MULTI_PATTERN ResourceDescriptor_History = 2
53 )
54
55
56 var (
57 ResourceDescriptor_History_name = map[int32]string{
58 0: "HISTORY_UNSPECIFIED",
59 1: "ORIGINALLY_SINGLE_PATTERN",
60 2: "FUTURE_MULTI_PATTERN",
61 }
62 ResourceDescriptor_History_value = map[string]int32{
63 "HISTORY_UNSPECIFIED": 0,
64 "ORIGINALLY_SINGLE_PATTERN": 1,
65 "FUTURE_MULTI_PATTERN": 2,
66 }
67 )
68
69 func (x ResourceDescriptor_History) Enum() *ResourceDescriptor_History {
70 p := new(ResourceDescriptor_History)
71 *p = x
72 return p
73 }
74
75 func (x ResourceDescriptor_History) String() string {
76 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
77 }
78
79 func (ResourceDescriptor_History) Descriptor() protoreflect.EnumDescriptor {
80 return file_google_api_resource_proto_enumTypes[0].Descriptor()
81 }
82
83 func (ResourceDescriptor_History) Type() protoreflect.EnumType {
84 return &file_google_api_resource_proto_enumTypes[0]
85 }
86
87 func (x ResourceDescriptor_History) Number() protoreflect.EnumNumber {
88 return protoreflect.EnumNumber(x)
89 }
90
91
92 func (ResourceDescriptor_History) EnumDescriptor() ([]byte, []int) {
93 return file_google_api_resource_proto_rawDescGZIP(), []int{0, 0}
94 }
95
96
97 type ResourceDescriptor_Style int32
98
99 const (
100
101 ResourceDescriptor_STYLE_UNSPECIFIED ResourceDescriptor_Style = 0
102
103
104
105
106
107
108
109
110 ResourceDescriptor_DECLARATIVE_FRIENDLY ResourceDescriptor_Style = 1
111 )
112
113
114 var (
115 ResourceDescriptor_Style_name = map[int32]string{
116 0: "STYLE_UNSPECIFIED",
117 1: "DECLARATIVE_FRIENDLY",
118 }
119 ResourceDescriptor_Style_value = map[string]int32{
120 "STYLE_UNSPECIFIED": 0,
121 "DECLARATIVE_FRIENDLY": 1,
122 }
123 )
124
125 func (x ResourceDescriptor_Style) Enum() *ResourceDescriptor_Style {
126 p := new(ResourceDescriptor_Style)
127 *p = x
128 return p
129 }
130
131 func (x ResourceDescriptor_Style) String() string {
132 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
133 }
134
135 func (ResourceDescriptor_Style) Descriptor() protoreflect.EnumDescriptor {
136 return file_google_api_resource_proto_enumTypes[1].Descriptor()
137 }
138
139 func (ResourceDescriptor_Style) Type() protoreflect.EnumType {
140 return &file_google_api_resource_proto_enumTypes[1]
141 }
142
143 func (x ResourceDescriptor_Style) Number() protoreflect.EnumNumber {
144 return protoreflect.EnumNumber(x)
145 }
146
147
148 func (ResourceDescriptor_Style) EnumDescriptor() ([]byte, []int) {
149 return file_google_api_resource_proto_rawDescGZIP(), []int{0, 1}
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 type ResourceDescriptor struct {
200 state protoimpl.MessageState
201 sizeCache protoimpl.SizeCache
202 unknownFields protoimpl.UnknownFields
203
204
205
206
207
208
209
210
211
212
213
214 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234 Pattern []string `protobuf:"bytes,2,rep,name=pattern,proto3" json:"pattern,omitempty"`
235
236
237 NameField string `protobuf:"bytes,3,opt,name=name_field,json=nameField,proto3" json:"name_field,omitempty"`
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253 History ResourceDescriptor_History `protobuf:"varint,4,opt,name=history,proto3,enum=google.api.ResourceDescriptor_History" json:"history,omitempty"`
254
255
256
257
258
259
260
261
262 Plural string `protobuf:"bytes,5,opt,name=plural,proto3" json:"plural,omitempty"`
263
264
265
266 Singular string `protobuf:"bytes,6,opt,name=singular,proto3" json:"singular,omitempty"`
267
268
269
270 Style []ResourceDescriptor_Style `protobuf:"varint,10,rep,packed,name=style,proto3,enum=google.api.ResourceDescriptor_Style" json:"style,omitempty"`
271 }
272
273 func (x *ResourceDescriptor) Reset() {
274 *x = ResourceDescriptor{}
275 if protoimpl.UnsafeEnabled {
276 mi := &file_google_api_resource_proto_msgTypes[0]
277 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
278 ms.StoreMessageInfo(mi)
279 }
280 }
281
282 func (x *ResourceDescriptor) String() string {
283 return protoimpl.X.MessageStringOf(x)
284 }
285
286 func (*ResourceDescriptor) ProtoMessage() {}
287
288 func (x *ResourceDescriptor) ProtoReflect() protoreflect.Message {
289 mi := &file_google_api_resource_proto_msgTypes[0]
290 if protoimpl.UnsafeEnabled && x != nil {
291 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
292 if ms.LoadMessageInfo() == nil {
293 ms.StoreMessageInfo(mi)
294 }
295 return ms
296 }
297 return mi.MessageOf(x)
298 }
299
300
301 func (*ResourceDescriptor) Descriptor() ([]byte, []int) {
302 return file_google_api_resource_proto_rawDescGZIP(), []int{0}
303 }
304
305 func (x *ResourceDescriptor) GetType() string {
306 if x != nil {
307 return x.Type
308 }
309 return ""
310 }
311
312 func (x *ResourceDescriptor) GetPattern() []string {
313 if x != nil {
314 return x.Pattern
315 }
316 return nil
317 }
318
319 func (x *ResourceDescriptor) GetNameField() string {
320 if x != nil {
321 return x.NameField
322 }
323 return ""
324 }
325
326 func (x *ResourceDescriptor) GetHistory() ResourceDescriptor_History {
327 if x != nil {
328 return x.History
329 }
330 return ResourceDescriptor_HISTORY_UNSPECIFIED
331 }
332
333 func (x *ResourceDescriptor) GetPlural() string {
334 if x != nil {
335 return x.Plural
336 }
337 return ""
338 }
339
340 func (x *ResourceDescriptor) GetSingular() string {
341 if x != nil {
342 return x.Singular
343 }
344 return ""
345 }
346
347 func (x *ResourceDescriptor) GetStyle() []ResourceDescriptor_Style {
348 if x != nil {
349 return x.Style
350 }
351 return nil
352 }
353
354
355
356 type ResourceReference struct {
357 state protoimpl.MessageState
358 sizeCache protoimpl.SizeCache
359 unknownFields protoimpl.UnknownFields
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
382
383
384
385
386
387
388
389
390
391
392
393 ChildType string `protobuf:"bytes,2,opt,name=child_type,json=childType,proto3" json:"child_type,omitempty"`
394 }
395
396 func (x *ResourceReference) Reset() {
397 *x = ResourceReference{}
398 if protoimpl.UnsafeEnabled {
399 mi := &file_google_api_resource_proto_msgTypes[1]
400 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
401 ms.StoreMessageInfo(mi)
402 }
403 }
404
405 func (x *ResourceReference) String() string {
406 return protoimpl.X.MessageStringOf(x)
407 }
408
409 func (*ResourceReference) ProtoMessage() {}
410
411 func (x *ResourceReference) ProtoReflect() protoreflect.Message {
412 mi := &file_google_api_resource_proto_msgTypes[1]
413 if protoimpl.UnsafeEnabled && x != nil {
414 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
415 if ms.LoadMessageInfo() == nil {
416 ms.StoreMessageInfo(mi)
417 }
418 return ms
419 }
420 return mi.MessageOf(x)
421 }
422
423
424 func (*ResourceReference) Descriptor() ([]byte, []int) {
425 return file_google_api_resource_proto_rawDescGZIP(), []int{1}
426 }
427
428 func (x *ResourceReference) GetType() string {
429 if x != nil {
430 return x.Type
431 }
432 return ""
433 }
434
435 func (x *ResourceReference) GetChildType() string {
436 if x != nil {
437 return x.ChildType
438 }
439 return ""
440 }
441
442 var file_google_api_resource_proto_extTypes = []protoimpl.ExtensionInfo{
443 {
444 ExtendedType: (*descriptorpb.FieldOptions)(nil),
445 ExtensionType: (*ResourceReference)(nil),
446 Field: 1055,
447 Name: "google.api.resource_reference",
448 Tag: "bytes,1055,opt,name=resource_reference",
449 Filename: "google/api/resource.proto",
450 },
451 {
452 ExtendedType: (*descriptorpb.FileOptions)(nil),
453 ExtensionType: ([]*ResourceDescriptor)(nil),
454 Field: 1053,
455 Name: "google.api.resource_definition",
456 Tag: "bytes,1053,rep,name=resource_definition",
457 Filename: "google/api/resource.proto",
458 },
459 {
460 ExtendedType: (*descriptorpb.MessageOptions)(nil),
461 ExtensionType: (*ResourceDescriptor)(nil),
462 Field: 1053,
463 Name: "google.api.resource",
464 Tag: "bytes,1053,opt,name=resource",
465 Filename: "google/api/resource.proto",
466 },
467 }
468
469
470 var (
471
472
473
474
475 E_ResourceReference = &file_google_api_resource_proto_extTypes[0]
476 )
477
478
479 var (
480
481
482
483
484 E_ResourceDefinition = &file_google_api_resource_proto_extTypes[1]
485 )
486
487
488 var (
489
490
491
492
493 E_Resource = &file_google_api_resource_proto_extTypes[2]
494 )
495
496 var File_google_api_resource_proto protoreflect.FileDescriptor
497
498 var file_google_api_resource_proto_rawDesc = []byte{
499 0x0a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73,
500 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x6f, 0x6f,
501 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
502 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
503 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x03, 0x0a, 0x12, 0x52, 0x65,
504 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72,
505 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
506 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18,
507 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x1d,
508 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01,
509 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x40, 0x0a,
510 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26,
511 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f,
512 0x75, 0x72, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x48,
513 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12,
514 0x16, 0x0a, 0x06, 0x70, 0x6c, 0x75, 0x72, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
515 0x06, 0x70, 0x6c, 0x75, 0x72, 0x61, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x69, 0x6e, 0x67, 0x75,
516 0x6c, 0x61, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x69, 0x6e, 0x67, 0x75,
517 0x6c, 0x61, 0x72, 0x12, 0x3a, 0x0a, 0x05, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x03,
518 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e,
519 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
520 0x6f, 0x72, 0x2e, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x52, 0x05, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x22,
521 0x5b, 0x0a, 0x07, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x17, 0x0a, 0x13, 0x48, 0x49,
522 0x53, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
523 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x4f, 0x52, 0x49, 0x47, 0x49, 0x4e, 0x41, 0x4c, 0x4c,
524 0x59, 0x5f, 0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x5f, 0x50, 0x41, 0x54, 0x54, 0x45, 0x52, 0x4e,
525 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x46, 0x55, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4d, 0x55, 0x4c,
526 0x54, 0x49, 0x5f, 0x50, 0x41, 0x54, 0x54, 0x45, 0x52, 0x4e, 0x10, 0x02, 0x22, 0x38, 0x0a, 0x05,
527 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x59, 0x4c, 0x45, 0x5f, 0x55,
528 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14,
529 0x44, 0x45, 0x43, 0x4c, 0x41, 0x52, 0x41, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x46, 0x52, 0x49, 0x45,
530 0x4e, 0x44, 0x4c, 0x59, 0x10, 0x01, 0x22, 0x46, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
531 0x63, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74,
532 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,
533 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
534 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x6c,
535 0x0a, 0x12, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72,
536 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
537 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69,
538 0x6f, 0x6e, 0x73, 0x18, 0x9f, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f,
539 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
540 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x11, 0x72, 0x65, 0x73, 0x6f, 0x75,
541 0x72, 0x63, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x3a, 0x6e, 0x0a, 0x13,
542 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74,
543 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
544 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
545 0x73, 0x18, 0x9d, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
546 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x65,
547 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x12, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
548 0x63, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x5c, 0x0a, 0x08,
549 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
550 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
551 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x9d, 0x08, 0x20, 0x01, 0x28, 0x0b,
552 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65,
553 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72,
554 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x6e, 0x0a, 0x0e, 0x63, 0x6f,
555 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0d, 0x52, 0x65,
556 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67,
557 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67,
558 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
559 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
560 0x69, 0x6f, 0x6e, 0x73, 0x3b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
561 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x04, 0x47, 0x41, 0x50, 0x49, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
562 0x6f, 0x33,
563 }
564
565 var (
566 file_google_api_resource_proto_rawDescOnce sync.Once
567 file_google_api_resource_proto_rawDescData = file_google_api_resource_proto_rawDesc
568 )
569
570 func file_google_api_resource_proto_rawDescGZIP() []byte {
571 file_google_api_resource_proto_rawDescOnce.Do(func() {
572 file_google_api_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_resource_proto_rawDescData)
573 })
574 return file_google_api_resource_proto_rawDescData
575 }
576
577 var file_google_api_resource_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
578 var file_google_api_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
579 var file_google_api_resource_proto_goTypes = []interface{}{
580 (ResourceDescriptor_History)(0),
581 (ResourceDescriptor_Style)(0),
582 (*ResourceDescriptor)(nil),
583 (*ResourceReference)(nil),
584 (*descriptorpb.FieldOptions)(nil),
585 (*descriptorpb.FileOptions)(nil),
586 (*descriptorpb.MessageOptions)(nil),
587 }
588 var file_google_api_resource_proto_depIdxs = []int32{
589 0,
590 1,
591 4,
592 5,
593 6,
594 3,
595 2,
596 2,
597 8,
598 8,
599 5,
600 2,
601 0,
602 }
603
604 func init() { file_google_api_resource_proto_init() }
605 func file_google_api_resource_proto_init() {
606 if File_google_api_resource_proto != nil {
607 return
608 }
609 if !protoimpl.UnsafeEnabled {
610 file_google_api_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
611 switch v := v.(*ResourceDescriptor); i {
612 case 0:
613 return &v.state
614 case 1:
615 return &v.sizeCache
616 case 2:
617 return &v.unknownFields
618 default:
619 return nil
620 }
621 }
622 file_google_api_resource_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
623 switch v := v.(*ResourceReference); i {
624 case 0:
625 return &v.state
626 case 1:
627 return &v.sizeCache
628 case 2:
629 return &v.unknownFields
630 default:
631 return nil
632 }
633 }
634 }
635 type x struct{}
636 out := protoimpl.TypeBuilder{
637 File: protoimpl.DescBuilder{
638 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
639 RawDescriptor: file_google_api_resource_proto_rawDesc,
640 NumEnums: 2,
641 NumMessages: 2,
642 NumExtensions: 3,
643 NumServices: 0,
644 },
645 GoTypes: file_google_api_resource_proto_goTypes,
646 DependencyIndexes: file_google_api_resource_proto_depIdxs,
647 EnumInfos: file_google_api_resource_proto_enumTypes,
648 MessageInfos: file_google_api_resource_proto_msgTypes,
649 ExtensionInfos: file_google_api_resource_proto_extTypes,
650 }.Build()
651 File_google_api_resource_proto = out.File
652 file_google_api_resource_proto_rawDesc = nil
653 file_google_api_resource_proto_goTypes = nil
654 file_google_api_resource_proto_depIdxs = nil
655 }
656
View as plain text