1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     envoy/admin/v3/server_info.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 "envoy/admin/v3/server_info.upb.h"
14 #include "envoy/config/core/v3/base.upb.h"
15 #include "google/protobuf/duration.upb.h"
16 #include "udpa/annotations/status.upb.h"
17 #include "udpa/annotations/versioning.upb.h"
18 
19 // Must be last.
20 #include "upb/port/def.inc"
21 
22 static const upb_MiniTableSub envoy_admin_v3_ServerInfo_submsgs[4] = {
23   {.submsg = &google_protobuf_Duration_msg_init},
24   {.submsg = &google_protobuf_Duration_msg_init},
25   {.submsg = &envoy_admin_v3_CommandLineOptions_msg_init},
26   {.submsg = &envoy_config_core_v3_Node_msg_init},
27 };
28 
29 static const upb_MiniTableField envoy_admin_v3_ServerInfo__fields[7] = {
30   {1, UPB_SIZE(24, 8), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
31   {2, 4, 0, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
32   {3, UPB_SIZE(8, 24), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
33   {4, UPB_SIZE(12, 32), 2, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
34   {5, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
35   {6, UPB_SIZE(16, 56), 3, 2, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
36   {7, UPB_SIZE(20, 64), 4, 3, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
37 };
38 
39 const upb_MiniTable envoy_admin_v3_ServerInfo_msg_init = {
40   &envoy_admin_v3_ServerInfo_submsgs[0],
41   &envoy_admin_v3_ServerInfo__fields[0],
42   UPB_SIZE(40, 72), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0,
43   UPB_FASTTABLE_INIT({
44     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
45     {0x000800003f00000a, &upb_pss_1bt},
46     {0x000400003f000010, &upb_psv4_1bt},
47     {0x001800000100001a, &upb_psm_1bt_maxmaxb},
48     {0x0020000002010022, &upb_psm_1bt_maxmaxb},
49     {0x002800003f00002a, &upb_pss_1bt},
50     {0x0038000003020032, &upb_psm_1bt_maxmaxb},
51     {0x004000000403003a, &upb_psm_1bt_maxmaxb},
52   })
53 };
54 
55 static const upb_MiniTableSub envoy_admin_v3_CommandLineOptions_submsgs[3] = {
56   {.submsg = &google_protobuf_Duration_msg_init},
57   {.submsg = &google_protobuf_Duration_msg_init},
58   {.submsg = &google_protobuf_Duration_msg_init},
59 };
60 
61 static const upb_MiniTableField envoy_admin_v3_CommandLineOptions__fields[34] = {
62   {1, UPB_SIZE(72, 56), 0, kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)},
63   {2, 4, 0, kUpb_NoSub, 13, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
64   {3, UPB_SIZE(80, 64), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
65   {4, UPB_SIZE(88, 80), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
66   {5, 8, 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
67   {6, 96, 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
68   {7, 12, 0, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
69   {8, UPB_SIZE(104, 112), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
70   {9, UPB_SIZE(112, 128), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
71   {10, UPB_SIZE(120, 144), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
72   {11, UPB_SIZE(128, 160), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
73   {13, UPB_SIZE(136, 176), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
74   {14, UPB_SIZE(144, 192), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
75   {15, UPB_SIZE(152, 208), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
76   {16, UPB_SIZE(16, 224), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
77   {17, UPB_SIZE(20, 232), 2, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
78   {18, UPB_SIZE(24, 240), 3, 2, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
79   {19, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
80   {22, UPB_SIZE(32, 20), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
81   {23, UPB_SIZE(33, 21), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
82   {24, UPB_SIZE(36, 24), 0, kUpb_NoSub, 13, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
83   {25, UPB_SIZE(40, 28), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
84   {26, UPB_SIZE(41, 29), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
85   {27, UPB_SIZE(42, 30), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
86   {28, UPB_SIZE(44, 248), 0, kUpb_NoSub, 9, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
87   {30, UPB_SIZE(48, 31), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
88   {31, UPB_SIZE(49, 32), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
89   {32, UPB_SIZE(160, 256), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
90   {33, UPB_SIZE(52, 36), 0, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
91   {34, UPB_SIZE(56, 40), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
92   {35, UPB_SIZE(168, 272), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
93   {36, UPB_SIZE(60, 44), 0, kUpb_NoSub, 13, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
94   {37, UPB_SIZE(64, 48), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
95   {38, UPB_SIZE(68, 288), 0, kUpb_NoSub, 9, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
96 };
97 
98 const upb_MiniTable envoy_admin_v3_CommandLineOptions_msg_init = {
99   &envoy_admin_v3_CommandLineOptions_submsgs[0],
100   &envoy_admin_v3_CommandLineOptions__fields[0],
101   UPB_SIZE(176, 296), 34, kUpb_ExtMode_NonExtendable, 11, UPB_FASTTABLE_MASK(248), 0,
102   UPB_FASTTABLE_INIT({
103     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
104     {0x003800003f000008, &upb_psv8_1bt},
105     {0x000400003f000010, &upb_psv4_1bt},
106     {0x004000003f00001a, &upb_pss_1bt},
107     {0x005000003f000022, &upb_pss_1bt},
108     {0x000800003f000028, &upb_psb1_1bt},
109     {0x006000003f000032, &upb_pss_1bt},
110     {0x000c00003f000038, &upb_psv4_1bt},
111     {0x007000003f000042, &upb_pss_1bt},
112     {0x008000003f00004a, &upb_pss_1bt},
113     {0x009000003f000052, &upb_pss_1bt},
114     {0x00a000003f00005a, &upb_pss_1bt},
115     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
116     {0x00b000003f00006a, &upb_pss_1bt},
117     {0x00c000003f000072, &upb_pss_1bt},
118     {0x00d000003f00007a, &upb_pss_1bt},
119     {0x00e0000001000182, &upb_psm_2bt_maxmaxb},
120     {0x00e800000201018a, &upb_psm_2bt_maxmaxb},
121     {0x00f0000003020192, &upb_psm_2bt_maxmaxb},
122     {0x001000003f000198, &upb_psv4_2bt},
123     {0x002c00003f0002a0, &upb_psv4_2bt},
124     {0x003000003f0002a8, &upb_psb1_2bt},
125     {0x001400003f0001b0, &upb_psb1_2bt},
126     {0x001500003f0001b8, &upb_psb1_2bt},
127     {0x001800003f0001c0, &upb_psv4_2bt},
128     {0x001c00003f0001c8, &upb_psb1_2bt},
129     {0x001d00003f0001d0, &upb_psb1_2bt},
130     {0x001e00003f0001d8, &upb_psb1_2bt},
131     {0x00f800003f0001e2, &upb_prs_2bt},
132     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
133     {0x001f00003f0001f0, &upb_psb1_2bt},
134     {0x002000003f0001f8, &upb_psb1_2bt},
135   })
136 };
137 
138 static const upb_MiniTable *messages_layout[2] = {
139   &envoy_admin_v3_ServerInfo_msg_init,
140   &envoy_admin_v3_CommandLineOptions_msg_init,
141 };
142 
143 const upb_MiniTableFile envoy_admin_v3_server_info_proto_upb_file_layout = {
144   messages_layout,
145   NULL,
146   NULL,
147   2,
148   0,
149   0,
150 };
151 
152 #include "upb/port/undef.inc"
153 
154