1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     xds/annotations/v3/status.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #include <stddef.h>
10 #include "upb/collections/array_internal.h"
11 #include "upb/message/internal.h"
12 #include "upb/mini_table/enum_internal.h"
13 #include "xds/annotations/v3/status.upb.h"
14 #include "google/protobuf/descriptor.upb.h"
15 
16 // Must be last.
17 #include "upb/port/def.inc"
18 
19 static const upb_MiniTableField xds_annotations_v3_FileStatusAnnotation__fields[1] = {
20   {1, 0, 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
21 };
22 
23 const upb_MiniTable xds_annotations_v3_FileStatusAnnotation_msg_init = {
24   NULL,
25   &xds_annotations_v3_FileStatusAnnotation__fields[0],
26   8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
27   UPB_FASTTABLE_INIT({
28     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
29     {0x000000003f000008, &upb_psb1_1bt},
30   })
31 };
32 
33 static const upb_MiniTableField xds_annotations_v3_MessageStatusAnnotation__fields[1] = {
34   {1, 0, 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
35 };
36 
37 const upb_MiniTable xds_annotations_v3_MessageStatusAnnotation_msg_init = {
38   NULL,
39   &xds_annotations_v3_MessageStatusAnnotation__fields[0],
40   8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
41   UPB_FASTTABLE_INIT({
42     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
43     {0x000000003f000008, &upb_psb1_1bt},
44   })
45 };
46 
47 static const upb_MiniTableField xds_annotations_v3_FieldStatusAnnotation__fields[1] = {
48   {1, 0, 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
49 };
50 
51 const upb_MiniTable xds_annotations_v3_FieldStatusAnnotation_msg_init = {
52   NULL,
53   &xds_annotations_v3_FieldStatusAnnotation__fields[0],
54   8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
55   UPB_FASTTABLE_INIT({
56     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
57     {0x000000003f000008, &upb_psb1_1bt},
58   })
59 };
60 
61 static const upb_MiniTableField xds_annotations_v3_StatusAnnotation__fields[2] = {
62   {1, 0, 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
63   {2, 4, 0, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
64 };
65 
66 const upb_MiniTable xds_annotations_v3_StatusAnnotation_msg_init = {
67   NULL,
68   &xds_annotations_v3_StatusAnnotation__fields[0],
69   8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0,
70   UPB_FASTTABLE_INIT({
71     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
72     {0x000000003f000008, &upb_psb1_1bt},
73     {0x000400003f000010, &upb_psv4_1bt},
74     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
75   })
76 };
77 
78 static const upb_MiniTable *messages_layout[4] = {
79   &xds_annotations_v3_FileStatusAnnotation_msg_init,
80   &xds_annotations_v3_MessageStatusAnnotation_msg_init,
81   &xds_annotations_v3_FieldStatusAnnotation_msg_init,
82   &xds_annotations_v3_StatusAnnotation_msg_init,
83 };
84 
85 extern const upb_MiniTable google_protobuf_FieldOptions_msg_init;
86 extern const upb_MiniTable google_protobuf_FileOptions_msg_init;
87 extern const upb_MiniTable google_protobuf_MessageOptions_msg_init;
88 extern const upb_MiniTable xds_annotations_v3_FieldStatusAnnotation_msg_init;
89 extern const upb_MiniTable xds_annotations_v3_FileStatusAnnotation_msg_init;
90 extern const upb_MiniTable xds_annotations_v3_MessageStatusAnnotation_msg_init;
91 const upb_MiniTableExtension xds_annotations_v3_file_status_ext = {
92   {226829418, 0, 0, 0, 11, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsExtension | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)},
93   &google_protobuf_FileOptions_msg_init,
94   {.submsg = &xds_annotations_v3_FileStatusAnnotation_msg_init},
95 
96 };
97 const upb_MiniTableExtension xds_annotations_v3_message_status_ext = {
98   {226829418, 0, 0, 0, 11, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsExtension | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)},
99   &google_protobuf_MessageOptions_msg_init,
100   {.submsg = &xds_annotations_v3_MessageStatusAnnotation_msg_init},
101 
102 };
103 const upb_MiniTableExtension xds_annotations_v3_field_status_ext = {
104   {226829418, 0, 0, 0, 11, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsExtension | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)},
105   &google_protobuf_FieldOptions_msg_init,
106   {.submsg = &xds_annotations_v3_FieldStatusAnnotation_msg_init},
107 
108 };
109 
110 static const upb_MiniTableExtension *extensions_layout[3] = {
111   &xds_annotations_v3_file_status_ext,
112   &xds_annotations_v3_message_status_ext,
113   &xds_annotations_v3_field_status_ext,
114 };
115 
116 const upb_MiniTableFile xds_annotations_v3_status_proto_upb_file_layout = {
117   messages_layout,
118   NULL,
119   extensions_layout,
120   4,
121   0,
122   3,
123 };
124 
125 #include "upb/port/undef.inc"
126 
127