• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     envoy/config/accesslog/v3/accesslog.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.h"
11 #include "envoy/config/accesslog/v3/accesslog.upb.h"
12 #include "envoy/config/core/v3/base.upb.h"
13 #include "envoy/config/route/v3/route_components.upb.h"
14 #include "envoy/type/matcher/v3/metadata.upb.h"
15 #include "envoy/type/v3/percent.upb.h"
16 #include "google/protobuf/any.upb.h"
17 #include "google/protobuf/struct.upb.h"
18 #include "google/protobuf/wrappers.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_accesslog_v3_AccessLog_submsgs[2] = {
26   &envoy_config_accesslog_v3_AccessLogFilter_msginit,
27   &google_protobuf_Any_msginit,
28 };
29 
30 static const upb_msglayout_field envoy_config_accesslog_v3_AccessLog__fields[3] = {
31   {1, UPB_SIZE(4, 8), 0, 0, 9, 1},
32   {2, UPB_SIZE(12, 24), 1, 0, 11, 1},
33   {4, UPB_SIZE(16, 32), UPB_SIZE(-21, -41), 1, 11, 1},
34 };
35 
36 const upb_msglayout envoy_config_accesslog_v3_AccessLog_msginit = {
37   &envoy_config_accesslog_v3_AccessLog_submsgs[0],
38   &envoy_config_accesslog_v3_AccessLog__fields[0],
39   UPB_SIZE(24, 48), 3, false, 255,
40 };
41 
42 static const upb_msglayout *const envoy_config_accesslog_v3_AccessLogFilter_submsgs[12] = {
43   &envoy_config_accesslog_v3_AndFilter_msginit,
44   &envoy_config_accesslog_v3_DurationFilter_msginit,
45   &envoy_config_accesslog_v3_ExtensionFilter_msginit,
46   &envoy_config_accesslog_v3_GrpcStatusFilter_msginit,
47   &envoy_config_accesslog_v3_HeaderFilter_msginit,
48   &envoy_config_accesslog_v3_MetadataFilter_msginit,
49   &envoy_config_accesslog_v3_NotHealthCheckFilter_msginit,
50   &envoy_config_accesslog_v3_OrFilter_msginit,
51   &envoy_config_accesslog_v3_ResponseFlagFilter_msginit,
52   &envoy_config_accesslog_v3_RuntimeFilter_msginit,
53   &envoy_config_accesslog_v3_StatusCodeFilter_msginit,
54   &envoy_config_accesslog_v3_TraceableFilter_msginit,
55 };
56 
57 static const upb_msglayout_field envoy_config_accesslog_v3_AccessLogFilter__fields[12] = {
58   {1, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 10, 11, 1},
59   {2, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 1, 11, 1},
60   {3, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 6, 11, 1},
61   {4, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 11, 11, 1},
62   {5, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 9, 11, 1},
63   {6, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1},
64   {7, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 7, 11, 1},
65   {8, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 4, 11, 1},
66   {9, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 8, 11, 1},
67   {10, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 3, 11, 1},
68   {11, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 2, 11, 1},
69   {12, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 5, 11, 1},
70 };
71 
72 const upb_msglayout envoy_config_accesslog_v3_AccessLogFilter_msginit = {
73   &envoy_config_accesslog_v3_AccessLogFilter_submsgs[0],
74   &envoy_config_accesslog_v3_AccessLogFilter__fields[0],
75   UPB_SIZE(8, 16), 12, false, 255,
76 };
77 
78 static const upb_msglayout *const envoy_config_accesslog_v3_ComparisonFilter_submsgs[1] = {
79   &envoy_config_core_v3_RuntimeUInt32_msginit,
80 };
81 
82 static const upb_msglayout_field envoy_config_accesslog_v3_ComparisonFilter__fields[2] = {
83   {1, UPB_SIZE(4, 4), 0, 0, 14, 1},
84   {2, UPB_SIZE(8, 8), 1, 0, 11, 1},
85 };
86 
87 const upb_msglayout envoy_config_accesslog_v3_ComparisonFilter_msginit = {
88   &envoy_config_accesslog_v3_ComparisonFilter_submsgs[0],
89   &envoy_config_accesslog_v3_ComparisonFilter__fields[0],
90   UPB_SIZE(16, 16), 2, false, 255,
91 };
92 
93 static const upb_msglayout *const envoy_config_accesslog_v3_StatusCodeFilter_submsgs[1] = {
94   &envoy_config_accesslog_v3_ComparisonFilter_msginit,
95 };
96 
97 static const upb_msglayout_field envoy_config_accesslog_v3_StatusCodeFilter__fields[1] = {
98   {1, UPB_SIZE(4, 8), 1, 0, 11, 1},
99 };
100 
101 const upb_msglayout envoy_config_accesslog_v3_StatusCodeFilter_msginit = {
102   &envoy_config_accesslog_v3_StatusCodeFilter_submsgs[0],
103   &envoy_config_accesslog_v3_StatusCodeFilter__fields[0],
104   UPB_SIZE(8, 16), 1, false, 255,
105 };
106 
107 static const upb_msglayout *const envoy_config_accesslog_v3_DurationFilter_submsgs[1] = {
108   &envoy_config_accesslog_v3_ComparisonFilter_msginit,
109 };
110 
111 static const upb_msglayout_field envoy_config_accesslog_v3_DurationFilter__fields[1] = {
112   {1, UPB_SIZE(4, 8), 1, 0, 11, 1},
113 };
114 
115 const upb_msglayout envoy_config_accesslog_v3_DurationFilter_msginit = {
116   &envoy_config_accesslog_v3_DurationFilter_submsgs[0],
117   &envoy_config_accesslog_v3_DurationFilter__fields[0],
118   UPB_SIZE(8, 16), 1, false, 255,
119 };
120 
121 const upb_msglayout envoy_config_accesslog_v3_NotHealthCheckFilter_msginit = {
122   NULL,
123   NULL,
124   UPB_SIZE(0, 0), 0, false, 255,
125 };
126 
127 const upb_msglayout envoy_config_accesslog_v3_TraceableFilter_msginit = {
128   NULL,
129   NULL,
130   UPB_SIZE(0, 0), 0, false, 255,
131 };
132 
133 static const upb_msglayout *const envoy_config_accesslog_v3_RuntimeFilter_submsgs[1] = {
134   &envoy_type_v3_FractionalPercent_msginit,
135 };
136 
137 static const upb_msglayout_field envoy_config_accesslog_v3_RuntimeFilter__fields[3] = {
138   {1, UPB_SIZE(4, 8), 0, 0, 9, 1},
139   {2, UPB_SIZE(12, 24), 1, 0, 11, 1},
140   {3, UPB_SIZE(1, 1), 0, 0, 8, 1},
141 };
142 
143 const upb_msglayout envoy_config_accesslog_v3_RuntimeFilter_msginit = {
144   &envoy_config_accesslog_v3_RuntimeFilter_submsgs[0],
145   &envoy_config_accesslog_v3_RuntimeFilter__fields[0],
146   UPB_SIZE(16, 32), 3, false, 255,
147 };
148 
149 static const upb_msglayout *const envoy_config_accesslog_v3_AndFilter_submsgs[1] = {
150   &envoy_config_accesslog_v3_AccessLogFilter_msginit,
151 };
152 
153 static const upb_msglayout_field envoy_config_accesslog_v3_AndFilter__fields[1] = {
154   {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
155 };
156 
157 const upb_msglayout envoy_config_accesslog_v3_AndFilter_msginit = {
158   &envoy_config_accesslog_v3_AndFilter_submsgs[0],
159   &envoy_config_accesslog_v3_AndFilter__fields[0],
160   UPB_SIZE(8, 8), 1, false, 255,
161 };
162 
163 static const upb_msglayout *const envoy_config_accesslog_v3_OrFilter_submsgs[1] = {
164   &envoy_config_accesslog_v3_AccessLogFilter_msginit,
165 };
166 
167 static const upb_msglayout_field envoy_config_accesslog_v3_OrFilter__fields[1] = {
168   {2, UPB_SIZE(0, 0), 0, 0, 11, 3},
169 };
170 
171 const upb_msglayout envoy_config_accesslog_v3_OrFilter_msginit = {
172   &envoy_config_accesslog_v3_OrFilter_submsgs[0],
173   &envoy_config_accesslog_v3_OrFilter__fields[0],
174   UPB_SIZE(8, 8), 1, false, 255,
175 };
176 
177 static const upb_msglayout *const envoy_config_accesslog_v3_HeaderFilter_submsgs[1] = {
178   &envoy_config_route_v3_HeaderMatcher_msginit,
179 };
180 
181 static const upb_msglayout_field envoy_config_accesslog_v3_HeaderFilter__fields[1] = {
182   {1, UPB_SIZE(4, 8), 1, 0, 11, 1},
183 };
184 
185 const upb_msglayout envoy_config_accesslog_v3_HeaderFilter_msginit = {
186   &envoy_config_accesslog_v3_HeaderFilter_submsgs[0],
187   &envoy_config_accesslog_v3_HeaderFilter__fields[0],
188   UPB_SIZE(8, 16), 1, false, 255,
189 };
190 
191 static const upb_msglayout_field envoy_config_accesslog_v3_ResponseFlagFilter__fields[1] = {
192   {1, UPB_SIZE(0, 0), 0, 0, 9, 3},
193 };
194 
195 const upb_msglayout envoy_config_accesslog_v3_ResponseFlagFilter_msginit = {
196   NULL,
197   &envoy_config_accesslog_v3_ResponseFlagFilter__fields[0],
198   UPB_SIZE(8, 8), 1, false, 255,
199 };
200 
201 static const upb_msglayout_field envoy_config_accesslog_v3_GrpcStatusFilter__fields[2] = {
202   {1, UPB_SIZE(4, 8), 0, 0, 14, _UPB_LABEL_PACKED},
203   {2, UPB_SIZE(0, 0), 0, 0, 8, 1},
204 };
205 
206 const upb_msglayout envoy_config_accesslog_v3_GrpcStatusFilter_msginit = {
207   NULL,
208   &envoy_config_accesslog_v3_GrpcStatusFilter__fields[0],
209   UPB_SIZE(8, 16), 2, false, 255,
210 };
211 
212 static const upb_msglayout *const envoy_config_accesslog_v3_MetadataFilter_submsgs[2] = {
213   &envoy_type_matcher_v3_MetadataMatcher_msginit,
214   &google_protobuf_BoolValue_msginit,
215 };
216 
217 static const upb_msglayout_field envoy_config_accesslog_v3_MetadataFilter__fields[2] = {
218   {1, UPB_SIZE(4, 8), 1, 0, 11, 1},
219   {2, UPB_SIZE(8, 16), 2, 1, 11, 1},
220 };
221 
222 const upb_msglayout envoy_config_accesslog_v3_MetadataFilter_msginit = {
223   &envoy_config_accesslog_v3_MetadataFilter_submsgs[0],
224   &envoy_config_accesslog_v3_MetadataFilter__fields[0],
225   UPB_SIZE(16, 24), 2, false, 255,
226 };
227 
228 static const upb_msglayout *const envoy_config_accesslog_v3_ExtensionFilter_submsgs[1] = {
229   &google_protobuf_Any_msginit,
230 };
231 
232 static const upb_msglayout_field envoy_config_accesslog_v3_ExtensionFilter__fields[2] = {
233   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
234   {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1},
235 };
236 
237 const upb_msglayout envoy_config_accesslog_v3_ExtensionFilter_msginit = {
238   &envoy_config_accesslog_v3_ExtensionFilter_submsgs[0],
239   &envoy_config_accesslog_v3_ExtensionFilter__fields[0],
240   UPB_SIZE(16, 32), 2, false, 255,
241 };
242 
243 #include "upb/port_undef.inc"
244 
245