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