1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     envoy/config/core/v3/grpc_service.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/msg_internal.h"
11 #include "envoy/config/core/v3/grpc_service.upb.h"
12 #include "envoy/config/core/v3/base.upb.h"
13 #include "google/protobuf/any.upb.h"
14 #include "google/protobuf/duration.upb.h"
15 #include "google/protobuf/empty.upb.h"
16 #include "google/protobuf/struct.upb.h"
17 #include "google/protobuf/wrappers.upb.h"
18 #include "udpa/annotations/sensitive.upb.h"
19 #include "udpa/annotations/status.upb.h"
20 #include "udpa/annotations/versioning.upb.h"
21 #include "validate/validate.upb.h"
22 
23 #include "upb/port_def.inc"
24 
25 static const upb_msglayout *const envoy_config_core_v3_GrpcService_submsgs[4] = {
26   &envoy_config_core_v3_GrpcService_EnvoyGrpc_msginit,
27   &envoy_config_core_v3_GrpcService_GoogleGrpc_msginit,
28   &envoy_config_core_v3_HeaderValue_msginit,
29   &google_protobuf_Duration_msginit,
30 };
31 
32 static const upb_msglayout_field envoy_config_core_v3_GrpcService__fields[4] = {
33   {1, UPB_SIZE(12, 24), UPB_SIZE(-17, -33), 0, 11, _UPB_MODE_SCALAR},
34   {2, UPB_SIZE(12, 24), UPB_SIZE(-17, -33), 1, 11, _UPB_MODE_SCALAR},
35   {3, UPB_SIZE(4, 8), 1, 3, 11, _UPB_MODE_SCALAR},
36   {5, UPB_SIZE(8, 16), 0, 2, 11, _UPB_MODE_ARRAY},
37 };
38 
39 const upb_msglayout envoy_config_core_v3_GrpcService_msginit = {
40   &envoy_config_core_v3_GrpcService_submsgs[0],
41   &envoy_config_core_v3_GrpcService__fields[0],
42   UPB_SIZE(24, 40), 4, false, 3, 255,
43 };
44 
45 static const upb_msglayout_field envoy_config_core_v3_GrpcService_EnvoyGrpc__fields[2] = {
46   {1, UPB_SIZE(0, 0), 0, 0, 9, _UPB_MODE_SCALAR},
47   {2, UPB_SIZE(8, 16), 0, 0, 9, _UPB_MODE_SCALAR},
48 };
49 
50 const upb_msglayout envoy_config_core_v3_GrpcService_EnvoyGrpc_msginit = {
51   NULL,
52   &envoy_config_core_v3_GrpcService_EnvoyGrpc__fields[0],
53   UPB_SIZE(16, 32), 2, false, 2, 255,
54 };
55 
56 static const upb_msglayout *const envoy_config_core_v3_GrpcService_GoogleGrpc_submsgs[5] = {
57   &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_msginit,
58   &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_msginit,
59   &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_msginit,
60   &google_protobuf_Struct_msginit,
61   &google_protobuf_UInt32Value_msginit,
62 };
63 
64 static const upb_msglayout_field envoy_config_core_v3_GrpcService_GoogleGrpc__fields[8] = {
65   {1, UPB_SIZE(4, 8), 0, 0, 9, _UPB_MODE_SCALAR},
66   {2, UPB_SIZE(28, 56), 1, 2, 11, _UPB_MODE_SCALAR},
67   {3, UPB_SIZE(44, 88), 0, 0, 11, _UPB_MODE_ARRAY},
68   {4, UPB_SIZE(12, 24), 0, 0, 9, _UPB_MODE_SCALAR},
69   {5, UPB_SIZE(20, 40), 0, 0, 9, _UPB_MODE_SCALAR},
70   {6, UPB_SIZE(32, 64), 2, 3, 11, _UPB_MODE_SCALAR},
71   {7, UPB_SIZE(36, 72), 3, 4, 11, _UPB_MODE_SCALAR},
72   {8, UPB_SIZE(40, 80), 4, 1, 11, _UPB_MODE_SCALAR},
73 };
74 
75 const upb_msglayout envoy_config_core_v3_GrpcService_GoogleGrpc_msginit = {
76   &envoy_config_core_v3_GrpcService_GoogleGrpc_submsgs[0],
77   &envoy_config_core_v3_GrpcService_GoogleGrpc__fields[0],
78   UPB_SIZE(48, 96), 8, false, 8, 255,
79 };
80 
81 static const upb_msglayout *const envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_submsgs[1] = {
82   &envoy_config_core_v3_DataSource_msginit,
83 };
84 
85 static const upb_msglayout_field envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials__fields[3] = {
86   {1, UPB_SIZE(4, 8), 1, 0, 11, _UPB_MODE_SCALAR},
87   {2, UPB_SIZE(8, 16), 2, 0, 11, _UPB_MODE_SCALAR},
88   {3, UPB_SIZE(12, 24), 3, 0, 11, _UPB_MODE_SCALAR},
89 };
90 
91 const upb_msglayout envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_msginit = {
92   &envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_submsgs[0],
93   &envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials__fields[0],
94   UPB_SIZE(16, 32), 3, false, 3, 255,
95 };
96 
97 const upb_msglayout envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials_msginit = {
98   NULL,
99   NULL,
100   UPB_SIZE(0, 0), 0, false, 0, 255,
101 };
102 
103 static const upb_msglayout *const envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_submsgs[3] = {
104   &envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials_msginit,
105   &envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_msginit,
106   &google_protobuf_Empty_msginit,
107 };
108 
109 static const upb_msglayout_field envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials__fields[3] = {
110   {1, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 1, 11, _UPB_MODE_SCALAR},
111   {2, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 2, 11, _UPB_MODE_SCALAR},
112   {3, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, _UPB_MODE_SCALAR},
113 };
114 
115 const upb_msglayout envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_msginit = {
116   &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_submsgs[0],
117   &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials__fields[0],
118   UPB_SIZE(8, 16), 3, false, 3, 255,
119 };
120 
121 static const upb_msglayout *const envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_submsgs[5] = {
122   &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_msginit,
123   &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_msginit,
124   &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_msginit,
125   &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_msginit,
126   &google_protobuf_Empty_msginit,
127 };
128 
129 static const upb_msglayout_field envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials__fields[7] = {
130   {1, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, _UPB_MODE_SCALAR},
131   {2, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 4, 11, _UPB_MODE_SCALAR},
132   {3, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, _UPB_MODE_SCALAR},
133   {4, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 2, 11, _UPB_MODE_SCALAR},
134   {5, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 11, _UPB_MODE_SCALAR},
135   {6, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 1, 11, _UPB_MODE_SCALAR},
136   {7, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 3, 11, _UPB_MODE_SCALAR},
137 };
138 
139 const upb_msglayout envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_msginit = {
140   &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_submsgs[0],
141   &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials__fields[0],
142   UPB_SIZE(16, 32), 7, false, 7, 255,
143 };
144 
145 static const upb_msglayout_field envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials__fields[2] = {
146   {1, UPB_SIZE(8, 8), 0, 0, 9, _UPB_MODE_SCALAR},
147   {2, UPB_SIZE(0, 0), 0, 0, 4, _UPB_MODE_SCALAR},
148 };
149 
150 const upb_msglayout envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_msginit = {
151   NULL,
152   &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials__fields[0],
153   UPB_SIZE(16, 32), 2, false, 2, 255,
154 };
155 
156 static const upb_msglayout_field envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials__fields[2] = {
157   {1, UPB_SIZE(0, 0), 0, 0, 9, _UPB_MODE_SCALAR},
158   {2, UPB_SIZE(8, 16), 0, 0, 9, _UPB_MODE_SCALAR},
159 };
160 
161 const upb_msglayout envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_msginit = {
162   NULL,
163   &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials__fields[0],
164   UPB_SIZE(16, 32), 2, false, 2, 255,
165 };
166 
167 static const upb_msglayout *const envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_submsgs[1] = {
168   &google_protobuf_Any_msginit,
169 };
170 
171 static const upb_msglayout_field envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin__fields[2] = {
172   {1, UPB_SIZE(0, 0), 0, 0, 9, _UPB_MODE_SCALAR},
173   {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, _UPB_MODE_SCALAR},
174 };
175 
176 const upb_msglayout envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_msginit = {
177   &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_submsgs[0],
178   &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin__fields[0],
179   UPB_SIZE(16, 32), 2, false, 1, 255,
180 };
181 
182 static const upb_msglayout_field envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService__fields[9] = {
183   {1, UPB_SIZE(0, 0), 0, 0, 9, _UPB_MODE_SCALAR},
184   {2, UPB_SIZE(8, 16), 0, 0, 9, _UPB_MODE_SCALAR},
185   {3, UPB_SIZE(16, 32), 0, 0, 9, _UPB_MODE_SCALAR},
186   {4, UPB_SIZE(24, 48), 0, 0, 9, _UPB_MODE_SCALAR},
187   {5, UPB_SIZE(32, 64), 0, 0, 9, _UPB_MODE_SCALAR},
188   {6, UPB_SIZE(40, 80), 0, 0, 9, _UPB_MODE_SCALAR},
189   {7, UPB_SIZE(48, 96), 0, 0, 9, _UPB_MODE_SCALAR},
190   {8, UPB_SIZE(56, 112), 0, 0, 9, _UPB_MODE_SCALAR},
191   {9, UPB_SIZE(64, 128), 0, 0, 9, _UPB_MODE_SCALAR},
192 };
193 
194 const upb_msglayout envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_msginit = {
195   NULL,
196   &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService__fields[0],
197   UPB_SIZE(72, 144), 9, false, 9, 255,
198 };
199 
200 static const upb_msglayout *const envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_submsgs[1] = {
201   &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry_msginit,
202 };
203 
204 static const upb_msglayout_field envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs__fields[1] = {
205   {1, UPB_SIZE(0, 0), 0, 0, 11, _UPB_MODE_MAP},
206 };
207 
208 const upb_msglayout envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_msginit = {
209   &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_submsgs[0],
210   &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs__fields[0],
211   UPB_SIZE(8, 8), 1, false, 1, 255,
212 };
213 
214 static const upb_msglayout_field envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value__fields[2] = {
215   {1, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, _UPB_MODE_SCALAR},
216   {2, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 3, _UPB_MODE_SCALAR},
217 };
218 
219 const upb_msglayout envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value_msginit = {
220   NULL,
221   &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value__fields[0],
222   UPB_SIZE(16, 32), 2, false, 2, 255,
223 };
224 
225 static const upb_msglayout *const envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry_submsgs[1] = {
226   &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value_msginit,
227 };
228 
229 static const upb_msglayout_field envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry__fields[2] = {
230   {1, UPB_SIZE(0, 0), 0, 0, 9, _UPB_MODE_SCALAR},
231   {2, UPB_SIZE(8, 16), 0, 0, 11, _UPB_MODE_SCALAR},
232 };
233 
234 const upb_msglayout envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry_msginit = {
235   &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry_submsgs[0],
236   &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry__fields[0],
237   UPB_SIZE(16, 32), 2, false, 2, 255,
238 };
239 
240 #include "upb/port_undef.inc"
241 
242