| 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_MiniTable_Sub envoy_config_accesslog_v3_AccessLog_submsgs[2] = { |
| 25 |
{.submsg = &envoy_config_accesslog_v3_AccessLogFilter_msginit}, |
| 26 |
{.submsg = &google_protobuf_Any_msginit}, |
| 27 |
}; |
| 28 |
|
| 29 |
static const upb_MiniTable_Field envoy_config_accesslog_v3_AccessLog__fields[3] = { |
| 30 |
{1, UPB_SIZE(8, 8), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 31 |
{2, UPB_SIZE(16, 24), UPB_SIZE(1, 1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 32 |
{4, UPB_SIZE(20, 32), UPB_SIZE(-5, -5), 1, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 33 |
}; |
| 34 |
|
| 35 |
const upb_MiniTable 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, 40), 3, kUpb_ExtMode_NonExtendable, 2, 255, 0, |
| 39 |
}; |
| 40 |
|
| 41 |
static const upb_MiniTable_Sub envoy_config_accesslog_v3_AccessLogFilter_submsgs[12] = { |
| 42 |
{.submsg = &envoy_config_accesslog_v3_StatusCodeFilter_msginit}, |
| 43 |
{.submsg = &envoy_config_accesslog_v3_DurationFilter_msginit}, |
| 44 |
{.submsg = &envoy_config_accesslog_v3_NotHealthCheckFilter_msginit}, |
| 45 |
{.submsg = &envoy_config_accesslog_v3_TraceableFilter_msginit}, |
| 46 |
{.submsg = &envoy_config_accesslog_v3_RuntimeFilter_msginit}, |
| 47 |
{.submsg = &envoy_config_accesslog_v3_AndFilter_msginit}, |
| 48 |
{.submsg = &envoy_config_accesslog_v3_OrFilter_msginit}, |
| 49 |
{.submsg = &envoy_config_accesslog_v3_HeaderFilter_msginit}, |
| 50 |
{.submsg = &envoy_config_accesslog_v3_ResponseFlagFilter_msginit}, |
| 51 |
{.submsg = &envoy_config_accesslog_v3_GrpcStatusFilter_msginit}, |
| 52 |
{.submsg = &envoy_config_accesslog_v3_ExtensionFilter_msginit}, |
| 53 |
{.submsg = &envoy_config_accesslog_v3_MetadataFilter_msginit}, |
| 54 |
}; |
| 55 |
|
| 56 |
static const upb_MiniTable_Field envoy_config_accesslog_v3_AccessLogFilter__fields[12] = { |
| 57 |
{1, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 58 |
{2, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 1, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 59 |
{3, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 2, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 60 |
{4, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 3, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 61 |
{5, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 4, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 62 |
{6, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 5, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 63 |
{7, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 6, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 64 |
{8, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 7, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 65 |
{9, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 8, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 66 |
{10, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 9, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 67 |
{11, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 10, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 68 |
{12, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 11, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 69 |
}; |
| 70 |
|
| 71 |
const upb_MiniTable 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, kUpb_ExtMode_NonExtendable, 12, 255, 0, |
| 75 |
}; |
| 76 |
|
| 77 |
static const upb_MiniTable_Sub envoy_config_accesslog_v3_ComparisonFilter_submsgs[1] = { |
| 78 |
{.submsg = &envoy_config_core_v3_RuntimeUInt32_msginit}, |
| 79 |
}; |
| 80 |
|
| 81 |
static const upb_MiniTable_Field envoy_config_accesslog_v3_ComparisonFilter__fields[2] = { |
| 82 |
{1, UPB_SIZE(4, 4), UPB_SIZE(0, 0), kUpb_NoSub, 5, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 83 |
{2, UPB_SIZE(8, 8), UPB_SIZE(1, 1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 84 |
}; |
| 85 |
|
| 86 |
const upb_MiniTable 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, kUpb_ExtMode_NonExtendable, 2, 255, 0, |
| 90 |
}; |
| 91 |
|
| 92 |
static const upb_MiniTable_Sub envoy_config_accesslog_v3_StatusCodeFilter_submsgs[1] = { |
| 93 |
{.submsg = &envoy_config_accesslog_v3_ComparisonFilter_msginit}, |
| 94 |
}; |
| 95 |
|
| 96 |
static const upb_MiniTable_Field envoy_config_accesslog_v3_StatusCodeFilter__fields[1] = { |
| 97 |
{1, UPB_SIZE(4, 8), UPB_SIZE(1, 1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 98 |
}; |
| 99 |
|
| 100 |
const upb_MiniTable 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, kUpb_ExtMode_NonExtendable, 1, 255, 0, |
| 104 |
}; |
| 105 |
|
| 106 |
static const upb_MiniTable_Sub envoy_config_accesslog_v3_DurationFilter_submsgs[1] = { |
| 107 |
{.submsg = &envoy_config_accesslog_v3_ComparisonFilter_msginit}, |
| 108 |
}; |
| 109 |
|
| 110 |
static const upb_MiniTable_Field envoy_config_accesslog_v3_DurationFilter__fields[1] = { |
| 111 |
{1, UPB_SIZE(4, 8), UPB_SIZE(1, 1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 112 |
}; |
| 113 |
|
| 114 |
const upb_MiniTable 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, kUpb_ExtMode_NonExtendable, 1, 255, 0, |
| 118 |
}; |
| 119 |
|
| 120 |
const upb_MiniTable envoy_config_accesslog_v3_NotHealthCheckFilter_msginit = { |
| 121 |
NULL, |
| 122 |
NULL, |
| 123 |
UPB_SIZE(0, 0), 0, kUpb_ExtMode_NonExtendable, 0, 255, 0, |
| 124 |
}; |
| 125 |
|
| 126 |
const upb_MiniTable envoy_config_accesslog_v3_TraceableFilter_msginit = { |
| 127 |
NULL, |
| 128 |
NULL, |
| 129 |
UPB_SIZE(0, 0), 0, kUpb_ExtMode_NonExtendable, 0, 255, 0, |
| 130 |
}; |
| 131 |
|
| 132 |
static const upb_MiniTable_Sub envoy_config_accesslog_v3_RuntimeFilter_submsgs[1] = { |
| 133 |
{.submsg = &envoy_type_v3_FractionalPercent_msginit}, |
| 134 |
}; |
| 135 |
|
| 136 |
static const upb_MiniTable_Field envoy_config_accesslog_v3_RuntimeFilter__fields[3] = { |
| 137 |
{1, UPB_SIZE(4, 8), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 138 |
{2, UPB_SIZE(12, 24), UPB_SIZE(1, 1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 139 |
{3, UPB_SIZE(1, 1), UPB_SIZE(0, 0), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 140 |
}; |
| 141 |
|
| 142 |
const upb_MiniTable 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, kUpb_ExtMode_NonExtendable, 3, 255, 0, |
| 146 |
}; |
| 147 |
|
| 148 |
static const upb_MiniTable_Sub envoy_config_accesslog_v3_AndFilter_submsgs[1] = { |
| 149 |
{.submsg = &envoy_config_accesslog_v3_AccessLogFilter_msginit}, |
| 150 |
}; |
| 151 |
|
| 152 |
static const upb_MiniTable_Field envoy_config_accesslog_v3_AndFilter__fields[1] = { |
| 153 |
{1, UPB_SIZE(0, 0), UPB_SIZE(0, 0), 0, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 154 |
}; |
| 155 |
|
| 156 |
const upb_MiniTable 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, kUpb_ExtMode_NonExtendable, 1, 255, 0, |
| 160 |
}; |
| 161 |
|
| 162 |
static const upb_MiniTable_Sub envoy_config_accesslog_v3_OrFilter_submsgs[1] = { |
| 163 |
{.submsg = &envoy_config_accesslog_v3_AccessLogFilter_msginit}, |
| 164 |
}; |
| 165 |
|
| 166 |
static const upb_MiniTable_Field envoy_config_accesslog_v3_OrFilter__fields[1] = { |
| 167 |
{2, UPB_SIZE(0, 0), UPB_SIZE(0, 0), 0, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 168 |
}; |
| 169 |
|
| 170 |
const upb_MiniTable 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, kUpb_ExtMode_NonExtendable, 0, 255, 0, |
| 174 |
}; |
| 175 |
|
| 176 |
static const upb_MiniTable_Sub envoy_config_accesslog_v3_HeaderFilter_submsgs[1] = { |
| 177 |
{.submsg = &envoy_config_route_v3_HeaderMatcher_msginit}, |
| 178 |
}; |
| 179 |
|
| 180 |
static const upb_MiniTable_Field envoy_config_accesslog_v3_HeaderFilter__fields[1] = { |
| 181 |
{1, UPB_SIZE(4, 8), UPB_SIZE(1, 1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 182 |
}; |
| 183 |
|
| 184 |
const upb_MiniTable 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, kUpb_ExtMode_NonExtendable, 1, 255, 0, |
| 188 |
}; |
| 189 |
|
| 190 |
static const upb_MiniTable_Field envoy_config_accesslog_v3_ResponseFlagFilter__fields[1] = { |
| 191 |
{1, UPB_SIZE(0, 0), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 192 |
}; |
| 193 |
|
| 194 |
const upb_MiniTable envoy_config_accesslog_v3_ResponseFlagFilter_msginit = { |
| 195 |
NULL, |
| 196 |
&envoy_config_accesslog_v3_ResponseFlagFilter__fields[0], |
| 197 |
UPB_SIZE(8, 8), 1, kUpb_ExtMode_NonExtendable, 1, 255, 0, |
| 198 |
}; |
| 199 |
|
| 200 |
static const upb_MiniTable_Field envoy_config_accesslog_v3_GrpcStatusFilter__fields[2] = { |
| 201 |
{1, UPB_SIZE(4, 8), UPB_SIZE(0, 0), kUpb_NoSub, 5, kUpb_FieldMode_Array | kUpb_LabelFlags_IsPacked | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 202 |
{2, UPB_SIZE(0, 0), UPB_SIZE(0, 0), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 203 |
}; |
| 204 |
|
| 205 |
const upb_MiniTable envoy_config_accesslog_v3_GrpcStatusFilter_msginit = { |
| 206 |
NULL, |
| 207 |
&envoy_config_accesslog_v3_GrpcStatusFilter__fields[0], |
| 208 |
UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, 255, 0, |
| 209 |
}; |
| 210 |
|
| 211 |
static const upb_MiniTable_Sub envoy_config_accesslog_v3_MetadataFilter_submsgs[2] = { |
| 212 |
{.submsg = &envoy_type_matcher_v3_MetadataMatcher_msginit}, |
| 213 |
{.submsg = &google_protobuf_BoolValue_msginit}, |
| 214 |
}; |
| 215 |
|
| 216 |
static const upb_MiniTable_Field envoy_config_accesslog_v3_MetadataFilter__fields[2] = { |
| 217 |
{1, UPB_SIZE(4, 8), UPB_SIZE(1, 1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 218 |
{2, UPB_SIZE(8, 16), UPB_SIZE(2, 2), 1, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 219 |
}; |
| 220 |
|
| 221 |
const upb_MiniTable 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, kUpb_ExtMode_NonExtendable, 2, 255, 0, |
| 225 |
}; |
| 226 |
|
| 227 |
static const upb_MiniTable_Sub envoy_config_accesslog_v3_ExtensionFilter_submsgs[1] = { |
| 228 |
{.submsg = &google_protobuf_Any_msginit}, |
| 229 |
}; |
| 230 |
|
| 231 |
static const upb_MiniTable_Field envoy_config_accesslog_v3_ExtensionFilter__fields[2] = { |
| 232 |
{1, UPB_SIZE(4, 8), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 233 |
{3, UPB_SIZE(12, 24), UPB_SIZE(-1, -1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 234 |
}; |
| 235 |
|
| 236 |
const upb_MiniTable 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, kUpb_ExtMode_NonExtendable, 1, 255, 0, |
| 240 |
}; |
| 241 |
|
| 242 |
static const upb_MiniTable *messages_layout[15] = { |
| 243 |
&envoy_config_accesslog_v3_AccessLog_msginit, |
| 244 |
&envoy_config_accesslog_v3_AccessLogFilter_msginit, |
| 245 |
&envoy_config_accesslog_v3_ComparisonFilter_msginit, |
| 246 |
&envoy_config_accesslog_v3_StatusCodeFilter_msginit, |
| 247 |
&envoy_config_accesslog_v3_DurationFilter_msginit, |
| 248 |
&envoy_config_accesslog_v3_NotHealthCheckFilter_msginit, |
| 249 |
&envoy_config_accesslog_v3_TraceableFilter_msginit, |
| 250 |
&envoy_config_accesslog_v3_RuntimeFilter_msginit, |
| 251 |
&envoy_config_accesslog_v3_AndFilter_msginit, |
| 252 |
&envoy_config_accesslog_v3_OrFilter_msginit, |
| 253 |
&envoy_config_accesslog_v3_HeaderFilter_msginit, |
| 254 |
&envoy_config_accesslog_v3_ResponseFlagFilter_msginit, |
| 255 |
&envoy_config_accesslog_v3_GrpcStatusFilter_msginit, |
| 256 |
&envoy_config_accesslog_v3_MetadataFilter_msginit, |
| 257 |
&envoy_config_accesslog_v3_ExtensionFilter_msginit, |
| 258 |
}; |
| 259 |
|
| 260 |
const upb_MiniTable_File envoy_config_accesslog_v3_accesslog_proto_upb_file_layout = { |
| 261 |
messages_layout, |
| 262 |
NULL, |
| 263 |
NULL, |
| 264 |
15, |
| 265 |
0, |
| 266 |
0, |
| 267 |
}; |
| 268 |
|
| 269 |
#include "upb/port_undef.inc" |
| 270 |
|