1 /* This file was generated by upb_generator from the input file:
2  *
3  *     envoy/config/endpoint/v3/endpoint_components.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/config/endpoint/v3/endpoint_components.upb_minitable.h"
11 #include "envoy/config/core/v3/address.upb_minitable.h"
12 #include "envoy/config/core/v3/base.upb_minitable.h"
13 #include "envoy/config/core/v3/config_source.upb_minitable.h"
14 #include "envoy/config/core/v3/health_check.upb_minitable.h"
15 #include "google/protobuf/wrappers.upb_minitable.h"
16 #include "udpa/annotations/status.upb_minitable.h"
17 #include "udpa/annotations/versioning.upb_minitable.h"
18 #include "validate/validate.upb_minitable.h"
19 
20 // Must be last.
21 #include "upb/port/def.inc"
22 
23 static const upb_MiniTableSub envoy_config_endpoint_v3_Endpoint_submsgs[3] = {
24   {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Address_msg_init},
25   {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init},
26   {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init},
27 };
28 
29 static const upb_MiniTableField envoy_config_endpoint_v3_Endpoint__fields[4] = {
30   {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
31   {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
32   {3, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
33   {4, UPB_SIZE(20, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
34 };
35 
36 const upb_MiniTable envoy__config__endpoint__v3__Endpoint_msg_init = {
37   &envoy_config_endpoint_v3_Endpoint_submsgs[0],
38   &envoy_config_endpoint_v3_Endpoint__fields[0],
39   UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0,
40   UPB_FASTTABLE_INIT({
41     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
42     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
43     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
44     {0x002000003f00001a, &upb_pss_1bt},
45     {0x003000003f020022, &upb_prm_1bt_max64b},
46     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
47     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
48     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
49   })
50 };
51 
52 static const upb_MiniTableSub envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_submsgs[1] = {
53   {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Address_msg_init},
54 };
55 
56 static const upb_MiniTableField envoy_config_endpoint_v3_Endpoint_HealthCheckConfig__fields[4] = {
57   {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
58   {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
59   {3, UPB_SIZE(16, 40), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
60   {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
61 };
62 
63 const upb_MiniTable envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init = {
64   &envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_submsgs[0],
65   &envoy_config_endpoint_v3_Endpoint_HealthCheckConfig__fields[0],
66   UPB_SIZE(32, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0,
67   UPB_FASTTABLE_INIT({
68     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
69     {0x000c00003f000008, &upb_psv4_1bt},
70     {0x001800003f000012, &upb_pss_1bt},
71     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
72     {0x001000003f000020, &upb_psb1_1bt},
73     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
74     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
75     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
76   })
77 };
78 
79 static const upb_MiniTableSub envoy_config_endpoint_v3_Endpoint_AdditionalAddress_submsgs[1] = {
80   {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Address_msg_init},
81 };
82 
83 static const upb_MiniTableField envoy_config_endpoint_v3_Endpoint_AdditionalAddress__fields[1] = {
84   {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
85 };
86 
87 const upb_MiniTable envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init = {
88   &envoy_config_endpoint_v3_Endpoint_AdditionalAddress_submsgs[0],
89   &envoy_config_endpoint_v3_Endpoint_AdditionalAddress__fields[0],
90   UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0,
91 };
92 
93 static const upb_MiniTableSub envoy_config_endpoint_v3_LbEndpoint_submsgs[3] = {
94   {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__Endpoint_msg_init},
95   {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Metadata_msg_init},
96   {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init},
97 };
98 
99 static const upb_MiniTableField envoy_config_endpoint_v3_LbEndpoint__fields[5] = {
100   {1, UPB_SIZE(28, 24), UPB_SIZE(-25, -17), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
101   {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
102   {3, UPB_SIZE(16, 40), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
103   {4, UPB_SIZE(20, 48), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
104   {5, UPB_SIZE(28, 24), UPB_SIZE(-25, -17), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
105 };
106 
107 const upb_MiniTable envoy__config__endpoint__v3__LbEndpoint_msg_init = {
108   &envoy_config_endpoint_v3_LbEndpoint_submsgs[0],
109   &envoy_config_endpoint_v3_LbEndpoint__fields[0],
110   UPB_SIZE(40, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0,
111   UPB_FASTTABLE_INIT({
112     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
113     {0x001800100100000a, &upb_pom_1bt_max64b},
114     {0x000c00003f000010, &upb_psv4_1bt},
115     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
116     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
117     {0x001800100500002a, &upb_pos_1bt},
118     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
119     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
120   })
121 };
122 
123 static const upb_MiniTableSub envoy_config_endpoint_v3_LedsClusterLocalityConfig_submsgs[1] = {
124   {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__ConfigSource_msg_init},
125 };
126 
127 static const upb_MiniTableField envoy_config_endpoint_v3_LedsClusterLocalityConfig__fields[2] = {
128   {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
129   {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
130 };
131 
132 const upb_MiniTable envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init = {
133   &envoy_config_endpoint_v3_LedsClusterLocalityConfig_submsgs[0],
134   &envoy_config_endpoint_v3_LedsClusterLocalityConfig__fields[0],
135   UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0,
136   UPB_FASTTABLE_INIT({
137     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
138     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
139     {0x001800003f000012, &upb_pss_1bt},
140     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
141   })
142 };
143 
144 static const upb_MiniTableSub envoy_config_endpoint_v3_LocalityLbEndpoints_submsgs[6] = {
145   {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Locality_msg_init},
146   {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__LbEndpoint_msg_init},
147   {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init},
148   {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init},
149   {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init},
150   {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init},
151 };
152 
153 static const upb_MiniTableField envoy_config_endpoint_v3_LocalityLbEndpoints__fields[7] = {
154   {1, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
155   {2, UPB_SIZE(16, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
156   {3, UPB_SIZE(20, 40), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
157   {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
158   {6, UPB_SIZE(28, 48), 66, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
159   {7, UPB_SIZE(36, 56), UPB_SIZE(-33, -17), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
160   {8, UPB_SIZE(36, 56), UPB_SIZE(-33, -17), 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
161 };
162 
163 const upb_MiniTable envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init = {
164   &envoy_config_endpoint_v3_LocalityLbEndpoints_submsgs[0],
165   &envoy_config_endpoint_v3_LocalityLbEndpoints__fields[0],
166   UPB_SIZE(40, 64), 7, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(120), 0,
167   UPB_FASTTABLE_INIT({
168     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
169     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
170     {0x002000003f010012, &upb_prm_1bt_max64b},
171     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
172     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
173     {0x000c00003f000028, &upb_psv4_1bt},
174     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
175     {0x003800100704003a, &upb_pom_1bt_max64b},
176     {0x0038001008050042, &upb_pom_1bt_max64b},
177     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
178     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
179     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
180     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
181     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
182     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
183     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
184   })
185 };
186 
187 static const upb_MiniTableSub envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_submsgs[1] = {
188   {.UPB_PRIVATE(submsg) = &envoy__config__endpoint__v3__LbEndpoint_msg_init},
189 };
190 
191 static const upb_MiniTableField envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList__fields[1] = {
192   {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
193 };
194 
195 const upb_MiniTable envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init = {
196   &envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_submsgs[0],
197   &envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList__fields[0],
198   16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
199   UPB_FASTTABLE_INIT({
200     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
201     {0x000800003f00000a, &upb_prm_1bt_max64b},
202   })
203 };
204 
205 static const upb_MiniTable *messages_layout[7] = {
206   &envoy__config__endpoint__v3__Endpoint_msg_init,
207   &envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init,
208   &envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init,
209   &envoy__config__endpoint__v3__LbEndpoint_msg_init,
210   &envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init,
211   &envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init,
212   &envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init,
213 };
214 
215 const upb_MiniTableFile envoy_config_endpoint_v3_endpoint_components_proto_upb_file_layout = {
216   messages_layout,
217   NULL,
218   NULL,
219   7,
220   0,
221   0,
222 };
223 
224 #include "upb/port/undef.inc"
225 
226