xref: /aosp_15_r20/external/grpc-grpc/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c (revision cc02d7e222339f7a4f6ba5f422e6413f4bd931f2)
1 /* This file was generated by upb_generator from the input file:
2  *
3  *     envoy/service/status/v3/csds.proto
4  *
5  * Do not edit -- your changes will be discarded when the file is
6  * regenerated. */
7 
8 #include <stddef.h>
9 #include "upb/generated_code_support.h"
10 #include "envoy/service/status/v3/csds.upb_minitable.h"
11 #include "envoy/admin/v3/config_dump_shared.upb_minitable.h"
12 #include "envoy/config/core/v3/base.upb_minitable.h"
13 #include "envoy/type/matcher/v3/node.upb_minitable.h"
14 #include "google/api/annotations.upb_minitable.h"
15 #include "google/protobuf/any.upb_minitable.h"
16 #include "google/protobuf/timestamp.upb_minitable.h"
17 #include "envoy/annotations/deprecation.upb_minitable.h"
18 #include "udpa/annotations/status.upb_minitable.h"
19 #include "udpa/annotations/versioning.upb_minitable.h"
20 
21 // Must be last.
22 #include "upb/port/def.inc"
23 
24 static const upb_MiniTableSub envoy_service_status_v3_ClientStatusRequest_submsgs[2] = {
25   {.UPB_PRIVATE(submsg) = &envoy__type__matcher__v3__NodeMatcher_msg_init},
26   {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Node_msg_init},
27 };
28 
29 static const upb_MiniTableField envoy_service_status_v3_ClientStatusRequest__fields[3] = {
30   {1, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
31   {2, UPB_SIZE(16, 24), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
32   {3, UPB_SIZE(20, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
33 };
34 
35 const upb_MiniTable envoy__service__status__v3__ClientStatusRequest_msg_init = {
36   &envoy_service_status_v3_ClientStatusRequest_submsgs[0],
37   &envoy_service_status_v3_ClientStatusRequest__fields[0],
38   UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0,
39   UPB_FASTTABLE_INIT({
40     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
41     {0x001000003f00000a, &upb_prm_1bt_maxmaxb},
42     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
43     {0x000900003f000018, &upb_psb1_1bt},
44   })
45 };
46 
47 static const upb_MiniTableSub envoy_service_status_v3_PerXdsConfig_submsgs[5] = {
48   {.UPB_PRIVATE(submsg) = &envoy__admin__v3__ListenersConfigDump_msg_init},
49   {.UPB_PRIVATE(submsg) = &envoy__admin__v3__ClustersConfigDump_msg_init},
50   {.UPB_PRIVATE(submsg) = &envoy__admin__v3__RoutesConfigDump_msg_init},
51   {.UPB_PRIVATE(submsg) = &envoy__admin__v3__ScopedRoutesConfigDump_msg_init},
52   {.UPB_PRIVATE(submsg) = &envoy__admin__v3__EndpointsConfigDump_msg_init},
53 };
54 
55 static const upb_MiniTableField envoy_service_status_v3_PerXdsConfig__fields[7] = {
56   {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
57   {2, UPB_SIZE(20, 24), -13, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
58   {3, UPB_SIZE(20, 24), -13, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
59   {4, UPB_SIZE(20, 24), -13, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
60   {5, UPB_SIZE(20, 24), -13, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
61   {6, UPB_SIZE(20, 24), -13, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
62   {7, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
63 };
64 
65 const upb_MiniTable envoy__service__status__v3__PerXdsConfig_msg_init = {
66   &envoy_service_status_v3_PerXdsConfig_submsgs[0],
67   &envoy_service_status_v3_PerXdsConfig__fields[0],
68   UPB_SIZE(24, 32), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0,
69   UPB_FASTTABLE_INIT({
70     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
71     {0x000800003f000008, &upb_psv4_1bt},
72     {0x0018000c02000012, &upb_pom_1bt_maxmaxb},
73     {0x0018000c0301001a, &upb_pom_1bt_maxmaxb},
74     {0x0018000c04020022, &upb_pom_1bt_maxmaxb},
75     {0x0018000c0503002a, &upb_pom_1bt_maxmaxb},
76     {0x0018000c06040032, &upb_pom_1bt_maxmaxb},
77     {0x001000003f000038, &upb_psv4_1bt},
78   })
79 };
80 
81 static const upb_MiniTableSub envoy_service_status_v3_ClientConfig_submsgs[3] = {
82   {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Node_msg_init},
83   {.UPB_PRIVATE(submsg) = &envoy__service__status__v3__PerXdsConfig_msg_init},
84   {.UPB_PRIVATE(submsg) = &envoy__service__status__v3__ClientConfig__GenericXdsConfig_msg_init},
85 };
86 
87 static const upb_MiniTableField envoy_service_status_v3_ClientConfig__fields[4] = {
88   {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
89   {2, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
90   {3, UPB_SIZE(20, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
91   {4, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
92 };
93 
94 const upb_MiniTable envoy__service__status__v3__ClientConfig_msg_init = {
95   &envoy_service_status_v3_ClientConfig_submsgs[0],
96   &envoy_service_status_v3_ClientConfig__fields[0],
97   UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0,
98   UPB_FASTTABLE_INIT({
99     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
100     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
101     {0x001800003f010012, &upb_prm_1bt_max64b},
102     {0x002000003f02001a, &upb_prm_1bt_max128b},
103     {0x002800003f000022, &upb_pss_1bt},
104     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
105     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
106     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
107   })
108 };
109 
110 static const upb_MiniTableSub envoy_service_status_v3_ClientConfig_GenericXdsConfig_submsgs[3] = {
111   {.UPB_PRIVATE(submsg) = &google__protobuf__Any_msg_init},
112   {.UPB_PRIVATE(submsg) = &google__protobuf__Timestamp_msg_init},
113   {.UPB_PRIVATE(submsg) = &envoy__admin__v3__UpdateFailureState_msg_init},
114 };
115 
116 static const upb_MiniTableField envoy_service_status_v3_ClientConfig_GenericXdsConfig__fields[9] = {
117   {1, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
118   {2, UPB_SIZE(44, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
119   {3, UPB_SIZE(52, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
120   {4, UPB_SIZE(12, 72), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
121   {5, UPB_SIZE(16, 80), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
122   {6, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
123   {7, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
124   {8, UPB_SIZE(28, 88), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
125   {9, UPB_SIZE(32, 20), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
126 };
127 
128 const upb_MiniTable envoy__service__status__v3__ClientConfig__GenericXdsConfig_msg_init = {
129   &envoy_service_status_v3_ClientConfig_GenericXdsConfig_submsgs[0],
130   &envoy_service_status_v3_ClientConfig_GenericXdsConfig__fields[0],
131   UPB_SIZE(64, 96), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0,
132   UPB_FASTTABLE_INIT({
133     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
134     {0x001800003f00000a, &upb_pss_1bt},
135     {0x002800003f000012, &upb_pss_1bt},
136     {0x003800003f00001a, &upb_pss_1bt},
137     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
138     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
139     {0x000c00003f000030, &upb_psv4_1bt},
140     {0x001000003f000038, &upb_psv4_1bt},
141     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
142     {0x001400003f000048, &upb_psb1_1bt},
143     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
144     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
145     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
146     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
147     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
148     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
149   })
150 };
151 
152 static const upb_MiniTableSub envoy_service_status_v3_ClientStatusResponse_submsgs[1] = {
153   {.UPB_PRIVATE(submsg) = &envoy__service__status__v3__ClientConfig_msg_init},
154 };
155 
156 static const upb_MiniTableField envoy_service_status_v3_ClientStatusResponse__fields[1] = {
157   {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
158 };
159 
160 const upb_MiniTable envoy__service__status__v3__ClientStatusResponse_msg_init = {
161   &envoy_service_status_v3_ClientStatusResponse_submsgs[0],
162   &envoy_service_status_v3_ClientStatusResponse__fields[0],
163   16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
164   UPB_FASTTABLE_INIT({
165     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
166     {0x000800003f00000a, &upb_prm_1bt_max64b},
167   })
168 };
169 
170 static const upb_MiniTable *messages_layout[5] = {
171   &envoy__service__status__v3__ClientStatusRequest_msg_init,
172   &envoy__service__status__v3__PerXdsConfig_msg_init,
173   &envoy__service__status__v3__ClientConfig_msg_init,
174   &envoy__service__status__v3__ClientConfig__GenericXdsConfig_msg_init,
175   &envoy__service__status__v3__ClientStatusResponse_msg_init,
176 };
177 
178 const upb_MiniTableFile envoy_service_status_v3_csds_proto_upb_file_layout = {
179   messages_layout,
180   NULL,
181   NULL,
182   5,
183   0,
184   0,
185 };
186 
187 #include "upb/port/undef.inc"
188 
189