grpc 1.62.0 → 1.64.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +463 -2007
- data/include/grpc/byte_buffer.h +1 -2
- data/include/grpc/census.h +1 -2
- data/include/grpc/compression.h +1 -2
- data/include/grpc/credentials.h +1222 -0
- data/include/grpc/event_engine/endpoint_config.h +2 -2
- data/include/grpc/event_engine/event_engine.h +4 -2
- data/include/grpc/event_engine/extensible.h +2 -2
- data/include/grpc/event_engine/internal/memory_allocator_impl.h +1 -2
- data/include/grpc/event_engine/memory_allocator.h +1 -2
- data/include/grpc/event_engine/memory_request.h +2 -2
- data/include/grpc/event_engine/slice.h +1 -2
- data/include/grpc/event_engine/slice_buffer.h +1 -2
- data/include/grpc/grpc.h +8 -8
- data/include/grpc/grpc_audit_logging.h +1 -2
- data/include/grpc/grpc_crl_provider.h +3 -2
- data/include/grpc/grpc_cronet.h +1 -2
- data/include/grpc/grpc_posix.h +1 -2
- data/include/grpc/grpc_security.h +1 -1173
- data/include/grpc/impl/call.h +1 -2
- data/include/grpc/impl/channel_arg_names.h +4 -3
- data/include/grpc/impl/grpc_types.h +1 -2
- data/include/grpc/impl/slice_type.h +2 -2
- data/include/grpc/module.modulemap +2 -0
- data/include/grpc/slice.h +1 -2
- data/include/grpc/slice_buffer.h +1 -2
- data/include/grpc/support/alloc.h +2 -2
- data/include/grpc/support/json.h +2 -2
- data/include/grpc/support/log.h +3 -3
- data/include/grpc/support/metrics.h +51 -0
- data/include/grpc/support/string_util.h +0 -1
- data/include/grpc/support/sync.h +0 -1
- data/include/grpc/support/sync_abseil.h +0 -1
- data/include/grpc/support/sync_custom.h +0 -1
- data/include/grpc/support/sync_generic.h +1 -2
- data/include/grpc/support/sync_posix.h +1 -2
- data/include/grpc/support/time.h +2 -2
- data/src/core/{lib/channel → channelz}/channel_trace.cc +56 -62
- data/src/core/{lib/channel → channelz}/channel_trace.h +21 -19
- data/src/core/{lib/channel → channelz}/channelz.cc +68 -6
- data/src/core/{lib/channel → channelz}/channelz.h +54 -12
- data/src/core/{lib/channel → channelz}/channelz_registry.cc +7 -6
- data/src/core/{lib/channel → channelz}/channelz_registry.h +7 -7
- data/src/core/client_channel/client_channel_filter.cc +106 -100
- data/src/core/client_channel/client_channel_filter.h +8 -18
- data/src/core/client_channel/client_channel_internal.h +4 -3
- data/src/core/client_channel/client_channel_service_config.h +5 -4
- data/src/core/client_channel/config_selector.h +5 -4
- data/src/core/client_channel/connector.h +1 -1
- data/src/core/client_channel/dynamic_filters.cc +3 -2
- data/src/core/client_channel/dynamic_filters.h +1 -1
- data/src/core/client_channel/local_subchannel_pool.cc +5 -3
- data/src/core/client_channel/retry_filter.cc +1 -1
- data/src/core/client_channel/retry_filter.h +4 -3
- data/src/core/client_channel/retry_filter_legacy_call_data.cc +6 -5
- data/src/core/client_channel/retry_filter_legacy_call_data.h +9 -9
- data/src/core/client_channel/retry_service_config.h +3 -3
- data/src/core/client_channel/retry_throttle.h +3 -2
- data/src/core/client_channel/subchannel.cc +15 -14
- data/src/core/client_channel/subchannel.h +7 -8
- data/src/core/client_channel/subchannel_pool_interface.h +1 -1
- data/src/core/client_channel/subchannel_stream_client.cc +6 -8
- data/src/core/client_channel/subchannel_stream_client.h +2 -2
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +7 -52
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +2 -14
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +27 -25
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h +10 -11
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +8 -9
- data/src/core/ext/filters/fault_injection/fault_injection_filter.h +4 -4
- data/src/core/ext/filters/http/client/http_client_filter.cc +5 -4
- data/src/core/ext/filters/http/client/http_client_filter.h +5 -5
- data/src/core/ext/filters/http/client_authority_filter.cc +4 -3
- data/src/core/ext/filters/http/client_authority_filter.h +5 -4
- data/src/core/ext/filters/http/http_filters_plugin.cc +15 -35
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +17 -15
- data/src/core/ext/filters/http/message_compress/compression_filter.h +10 -9
- data/src/core/ext/filters/http/server/http_server_filter.cc +3 -3
- data/src/core/ext/filters/http/server/http_server_filter.h +5 -5
- data/src/core/ext/filters/message_size/message_size_filter.cc +24 -28
- data/src/core/ext/filters/message_size/message_size_filter.h +8 -6
- data/src/core/ext/filters/rbac/rbac_filter.cc +5 -7
- data/src/core/ext/filters/rbac/rbac_filter.h +5 -5
- data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +2 -2
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +12 -12
- data/src/core/ext/filters/stateful_session/stateful_session_filter.h +3 -2
- data/src/core/ext/gcp/metadata_query.cc +4 -3
- data/src/core/ext/gcp/metadata_query.h +2 -2
- data/src/core/ext/transport/chttp2/alpn/alpn.cc +4 -3
- data/src/core/ext/transport/chttp2/alpn/alpn.h +2 -2
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +17 -22
- data/src/core/ext/transport/chttp2/client/chttp2_connector.h +2 -3
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +48 -11
- data/src/core/ext/transport/chttp2/server/chttp2_server.h +3 -3
- data/src/core/ext/transport/chttp2/transport/bin_decoder.cc +6 -6
- data/src/core/ext/transport/chttp2/transport/bin_decoder.h +1 -2
- data/src/core/ext/transport/chttp2/transport/bin_encoder.cc +8 -7
- data/src/core/ext/transport/chttp2/transport/bin_encoder.h +1 -2
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +80 -128
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +25 -7
- data/src/core/ext/transport/chttp2/transport/context_list_entry.h +15 -12
- data/src/core/ext/transport/chttp2/transport/decode_huff.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/decode_huff.h +2 -2
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +4 -4
- data/src/core/ext/transport/chttp2/transport/flow_control.h +4 -4
- data/src/core/ext/transport/chttp2/transport/frame.cc +4 -4
- data/src/core/ext/transport/chttp2/transport/frame.h +2 -2
- data/src/core/ext/transport/chttp2/transport/frame_data.cc +3 -3
- data/src/core/ext/transport/chttp2/transport/frame_data.h +1 -2
- data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +5 -5
- data/src/core/ext/transport/chttp2/transport/frame_goaway.h +1 -2
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +3 -3
- data/src/core/ext/transport/chttp2/transport/frame_ping.h +1 -2
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +3 -3
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -2
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +1 -2
- data/src/core/ext/transport/chttp2/transport/frame_settings.h +1 -2
- data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +4 -4
- data/src/core/ext/transport/chttp2/transport/frame_window_update.h +1 -2
- data/src/core/ext/transport/chttp2/transport/hpack_constants.h +2 -2
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +4 -3
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +1 -2
- data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc +10 -9
- data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +2 -2
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +4 -3
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +3 -3
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +25 -73
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +1 -4
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.cc +5 -5
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +2 -2
- data/src/core/ext/transport/chttp2/transport/http2_settings.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/http2_settings.h +2 -2
- data/src/core/ext/transport/chttp2/transport/http_trace.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/huffsyms.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/internal.h +7 -7
- data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc +4 -3
- data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h +2 -2
- data/src/core/ext/transport/chttp2/transport/parsing.cc +19 -24
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc +1 -2
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.h +2 -2
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +3 -3
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.h +1 -2
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +1 -2
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +2 -2
- data/src/core/ext/transport/chttp2/transport/stream_lists.cc +7 -6
- data/src/core/ext/transport/chttp2/transport/varint.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/varint.h +4 -3
- data/src/core/ext/transport/chttp2/transport/write_size_policy.cc +4 -3
- data/src/core/ext/transport/chttp2/transport/write_size_policy.h +2 -2
- data/src/core/ext/transport/chttp2/transport/writing.cc +69 -53
- data/src/core/ext/transport/inproc/inproc_transport.cc +18 -16
- data/src/core/ext/transport/inproc/inproc_transport.h +1 -2
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +16 -16
- data/src/core/ext/transport/inproc/legacy_inproc_transport.h +1 -2
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +243 -230
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +42 -48
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +289 -265
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +62 -70
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +238 -226
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +42 -50
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +937 -882
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +182 -208
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +77 -76
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +86 -84
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +49 -42
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +357 -318
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +86 -86
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +23 -20
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +40 -32
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +24 -20
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +517 -473
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +105 -125
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +1207 -1108
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +261 -289
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +163 -152
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +29 -43
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +1265 -1137
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +276 -346
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +32 -28
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +7 -9
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +212 -188
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +53 -69
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +564 -508
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +123 -131
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +340 -309
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +69 -83
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +25 -22
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +5 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +786 -688
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +171 -189
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +367 -343
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +72 -80
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +19 -16
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +23 -20
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +77 -76
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +539 -471
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +125 -141
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +672 -632
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +137 -137
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +44 -43
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +35 -30
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +713 -637
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +166 -208
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +65 -61
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +10 -12
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +65 -61
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +11 -13
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +91 -83
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +17 -17
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +102 -93
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +22 -22
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +25 -22
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +5 -11
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +162 -145
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +32 -40
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +314 -287
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +70 -74
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +330 -309
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +66 -66
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +516 -478
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +110 -120
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +495 -468
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +89 -101
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +88 -78
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +19 -37
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +41 -36
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +8 -26
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +46 -40
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +307 -279
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +60 -64
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +382 -358
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +70 -70
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +540 -490
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +122 -136
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +339 -327
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +48 -70
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +3407 -3145
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +700 -752
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +100 -91
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +20 -20
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +472 -430
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +102 -116
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +23 -20
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +42 -36
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +9 -13
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +58 -55
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +9 -13
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +146 -136
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +30 -30
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +69 -65
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +67 -58
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +14 -24
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +64 -56
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +14 -20
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +58 -50
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +986 -832
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +269 -281
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +35 -35
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +102 -88
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +25 -25
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +224 -204
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +46 -62
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +66 -58
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +14 -24
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +160 -153
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +28 -30
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +51 -44
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +12 -12
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +1349 -1230
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +293 -309
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +61 -54
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +13 -23
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +124 -108
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +29 -37
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +14 -12
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +66 -58
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +20 -20
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +518 -493
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +82 -108
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +92 -80
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +23 -29
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +497 -457
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +110 -124
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +58 -55
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +9 -11
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +206 -185
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +48 -64
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +7 -6
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +766 -710
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +140 -150
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +102 -98
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +17 -17
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +310 -288
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +67 -67
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +30 -26
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +77 -71
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +26 -22
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +70 -60
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +77 -71
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +14 -14
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +44 -43
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +19 -16
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +65 -56
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +15 -19
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +14 -12
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +2 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +97 -89
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +18 -18
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +63 -59
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +10 -10
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +134 -121
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +29 -29
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +135 -121
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +26 -26
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +141 -122
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +37 -37
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +49 -42
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +11 -11
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +14 -12
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +35 -30
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +63 -54
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +58 -50
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +14 -14
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +32 -28
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +7 -9
- data/src/core/ext/upb-gen/google/api/annotations.upb.h +10 -8
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +581 -524
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +118 -146
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +616 -544
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +136 -152
- data/src/core/ext/upb-gen/google/api/http.upb.h +176 -162
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +34 -34
- data/src/core/ext/upb-gen/google/api/httpbody.upb.h +49 -47
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/google/protobuf/any.upb.h +21 -18
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +5 -5
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +2456 -2358
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +367 -486
- data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +21 -18
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +5 -5
- data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +7 -6
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +134 -116
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +27 -29
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +21 -18
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +5 -5
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +126 -108
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +27 -27
- data/src/core/ext/upb-gen/google/rpc/status.upb.h +49 -47
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +107 -92
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +27 -27
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +77 -61
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +21 -21
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +577 -518
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +121 -127
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +46 -40
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +10 -16
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +28 -24
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +265 -238
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +57 -63
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +96 -82
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +19 -19
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +496 -466
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +81 -85
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +99 -82
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +31 -26
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +10 -8
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +31 -26
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +24 -20
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/validate/validate.upb.h +2620 -2458
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +363 -507
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +99 -82
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +31 -26
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +10 -8
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +93 -78
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +17 -17
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +24 -20
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +14 -12
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +58 -50
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +33 -23
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +32 -28
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +103 -93
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +21 -21
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +37 -32
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +9 -13
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +127 -93
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +34 -34
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +44 -43
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +79 -78
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +9 -11
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +7 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +86 -84
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +324 -285
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +74 -82
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +237 -234
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +30 -36
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +33 -28
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +97 -89
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +18 -18
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +53 -46
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +12 -18
- data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +63 -54
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +5 -7
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +385 -384
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +2 -5
- data/src/core/handshaker/endpoint_info/endpoint_info_handshaker.cc +80 -0
- data/src/core/handshaker/endpoint_info/endpoint_info_handshaker.h +37 -0
- data/src/core/{lib/transport → handshaker}/handshaker.cc +8 -6
- data/src/core/{lib/transport → handshaker}/handshaker.h +4 -5
- data/src/core/{lib/transport → handshaker}/handshaker_factory.h +20 -5
- data/src/core/{lib/transport → handshaker}/handshaker_registry.cc +3 -3
- data/src/core/{lib/transport → handshaker}/handshaker_registry.h +6 -6
- data/src/core/{lib/transport → handshaker/http_connect}/http_connect_handshaker.cc +5 -6
- data/src/core/{lib/transport → handshaker/http_connect}/http_connect_handshaker.h +3 -3
- data/src/core/{client_channel → handshaker/http_connect}/http_proxy_mapper.cc +9 -10
- data/src/core/{client_channel → handshaker/http_connect}/http_proxy_mapper.h +7 -7
- data/src/core/{lib/handshaker → handshaker}/proxy_mapper.h +5 -5
- data/src/core/{lib/handshaker → handshaker}/proxy_mapper_registry.cc +3 -3
- data/src/core/{lib/handshaker → handshaker}/proxy_mapper_registry.h +6 -6
- data/src/core/{lib/security/transport → handshaker/security}/secure_endpoint.cc +5 -5
- data/src/core/{lib/security/transport → handshaker/security}/secure_endpoint.h +4 -5
- data/src/core/{lib/security/transport → handshaker/security}/security_handshaker.cc +29 -20
- data/src/core/{lib/security/transport → handshaker/security}/security_handshaker.h +8 -7
- data/src/core/{lib/security/transport → handshaker/security}/tsi_error.cc +2 -2
- data/src/core/{lib/security/transport → handshaker/security}/tsi_error.h +3 -3
- data/src/core/{lib/transport → handshaker/tcp_connect}/tcp_connect_handshaker.cc +8 -8
- data/src/core/{lib/transport → handshaker/tcp_connect}/tcp_connect_handshaker.h +3 -3
- data/src/core/lib/address_utils/parse_address.cc +13 -4
- data/src/core/lib/address_utils/parse_address.h +2 -2
- data/src/core/lib/address_utils/sockaddr_utils.cc +23 -10
- data/src/core/lib/address_utils/sockaddr_utils.h +2 -2
- data/src/core/lib/avl/avl.h +2 -2
- data/src/core/lib/backoff/backoff.cc +2 -2
- data/src/core/lib/backoff/backoff.h +2 -2
- data/src/core/lib/backoff/random_early_detection.cc +2 -2
- data/src/core/lib/backoff/random_early_detection.h +2 -2
- data/src/core/lib/channel/call_finalization.h +3 -3
- data/src/core/lib/channel/call_tracer.cc +10 -11
- data/src/core/lib/channel/call_tracer.h +15 -14
- data/src/core/lib/channel/channel_args.cc +4 -4
- data/src/core/lib/channel/channel_args.h +1 -2
- data/src/core/lib/channel/channel_args_preconditioning.cc +2 -2
- data/src/core/lib/channel/channel_args_preconditioning.h +1 -2
- data/src/core/lib/channel/channel_stack.cc +17 -7
- data/src/core/lib/channel/channel_stack.h +6 -2
- data/src/core/lib/channel/channel_stack_builder.cc +2 -2
- data/src/core/lib/channel/channel_stack_builder.h +2 -2
- data/src/core/lib/channel/channel_stack_builder_impl.cc +135 -2
- data/src/core/lib/channel/channel_stack_builder_impl.h +2 -2
- data/src/core/lib/channel/channel_stack_trace.cc +2 -2
- data/src/core/lib/channel/connected_channel.cc +25 -43
- data/src/core/lib/channel/context.h +29 -1
- data/src/core/lib/channel/metrics.cc +334 -0
- data/src/core/lib/channel/metrics.h +365 -0
- data/src/core/lib/channel/promise_based_filter.cc +70 -75
- data/src/core/lib/channel/promise_based_filter.h +251 -154
- data/src/core/lib/channel/status_util.cc +2 -2
- data/src/core/lib/channel/status_util.h +1 -2
- data/src/core/lib/channel/tcp_tracer.h +6 -2
- data/src/core/lib/compression/compression.cc +1 -2
- data/src/core/lib/compression/compression_internal.cc +36 -3
- data/src/core/lib/compression/compression_internal.h +4 -2
- data/src/core/lib/compression/message_compress.cc +9 -8
- data/src/core/lib/compression/message_compress.h +1 -2
- data/src/core/lib/config/config_vars.cc +8 -6
- data/src/core/lib/config/config_vars.h +6 -2
- data/src/core/lib/config/config_vars_non_generated.cc +2 -2
- data/src/core/lib/config/core_configuration.cc +9 -8
- data/src/core/lib/config/core_configuration.h +8 -8
- data/src/core/lib/config/load_config.cc +4 -4
- data/src/core/lib/config/load_config.h +2 -2
- data/src/core/lib/debug/event_log.cc +3 -3
- data/src/core/lib/debug/event_log.h +2 -2
- data/src/core/lib/debug/histogram_view.cc +2 -2
- data/src/core/lib/debug/histogram_view.h +2 -2
- data/src/core/lib/debug/stats.cc +2 -2
- data/src/core/lib/debug/stats.h +2 -2
- data/src/core/lib/debug/stats_data.cc +271 -28
- data/src/core/lib/debug/stats_data.h +178 -2
- data/src/core/lib/debug/trace.cc +1 -2
- data/src/core/lib/debug/trace.h +2 -2
- data/src/core/lib/event_engine/ares_resolver.cc +18 -19
- data/src/core/lib/event_engine/ares_resolver.h +2 -2
- data/src/core/lib/event_engine/cf_engine/cf_engine.cc +3 -1
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +3 -3
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +2 -1
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.h +2 -1
- data/src/core/lib/event_engine/channel_args_endpoint_config.cc +1 -2
- data/src/core/lib/event_engine/channel_args_endpoint_config.h +1 -2
- data/src/core/lib/event_engine/common_closures.h +1 -2
- data/src/core/lib/event_engine/default_event_engine.cc +1 -2
- data/src/core/lib/event_engine/default_event_engine.h +1 -8
- data/src/core/lib/event_engine/default_event_engine_factory.cc +1 -2
- data/src/core/lib/event_engine/default_event_engine_factory.h +1 -2
- data/src/core/lib/event_engine/event_engine.cc +1 -2
- data/src/core/lib/event_engine/event_engine_context.h +30 -0
- data/src/core/lib/event_engine/extensions/can_track_errors.h +2 -2
- data/src/core/lib/event_engine/extensions/chaotic_good_extension.h +65 -0
- data/src/core/lib/event_engine/extensions/supports_fd.h +1 -2
- data/src/core/lib/event_engine/forkable.cc +7 -6
- data/src/core/lib/event_engine/forkable.h +1 -2
- data/src/core/lib/event_engine/grpc_polled_fd.h +1 -2
- data/src/core/lib/event_engine/handle_containers.h +1 -2
- data/src/core/lib/event_engine/memory_allocator_factory.h +1 -2
- data/src/core/lib/event_engine/poller.h +1 -2
- data/src/core/lib/event_engine/posix.h +9 -2
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +8 -8
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +1 -2
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +11 -11
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +1 -2
- data/src/core/lib/event_engine/posix_engine/event_poller.h +1 -2
- data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +2 -2
- data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +2 -2
- data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +1 -2
- data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +1 -2
- data/src/core/lib/event_engine/posix_engine/internal_errqueue.h +2 -2
- data/src/core/lib/event_engine/posix_engine/lockfree_event.cc +3 -3
- data/src/core/lib/event_engine/posix_engine/lockfree_event.h +2 -2
- data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h +2 -2
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +24 -25
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +11 -11
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +10 -10
- data/src/core/lib/event_engine/posix_engine/posix_engine.h +1 -2
- data/src/core/lib/event_engine/posix_engine/posix_engine_closure.h +1 -2
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +4 -3
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.h +1 -2
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +7 -6
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.h +1 -2
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +10 -3
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +3 -3
- data/src/core/lib/event_engine/posix_engine/timer.cc +1 -2
- data/src/core/lib/event_engine/posix_engine/timer.h +1 -2
- data/src/core/lib/event_engine/posix_engine/timer_heap.cc +2 -2
- data/src/core/lib/event_engine/posix_engine/timer_heap.h +2 -2
- data/src/core/lib/event_engine/posix_engine/timer_manager.cc +5 -5
- data/src/core/lib/event_engine/posix_engine/timer_manager.h +1 -2
- data/src/core/lib/event_engine/posix_engine/traced_buffer_list.cc +1 -2
- data/src/core/lib/event_engine/posix_engine/traced_buffer_list.h +1 -2
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +2 -2
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.h +2 -2
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +2 -2
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.h +2 -2
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h +2 -2
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.cc +2 -2
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.h +2 -2
- data/src/core/lib/event_engine/query_extensions.h +3 -2
- data/src/core/lib/event_engine/ref_counted_dns_resolver_interface.h +1 -2
- data/src/core/lib/event_engine/resolved_address.cc +5 -4
- data/src/core/lib/event_engine/resolved_address_internal.h +1 -2
- data/src/core/lib/event_engine/shim.cc +2 -2
- data/src/core/lib/event_engine/slice.cc +4 -3
- data/src/core/lib/event_engine/slice_buffer.cc +1 -2
- data/src/core/lib/event_engine/tcp_socket_utils.cc +20 -9
- data/src/core/lib/event_engine/tcp_socket_utils.h +3 -4
- data/src/core/lib/event_engine/thread_local.cc +2 -2
- data/src/core/lib/event_engine/thread_pool/thread_count.cc +1 -2
- data/src/core/lib/event_engine/thread_pool/thread_count.h +1 -2
- data/src/core/lib/event_engine/thread_pool/thread_pool.h +1 -2
- data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +2 -2
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +8 -8
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +1 -2
- data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.cc +2 -2
- data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.h +1 -2
- data/src/core/lib/event_engine/time_util.cc +1 -2
- data/src/core/lib/event_engine/time_util.h +1 -2
- data/src/core/lib/event_engine/trace.cc +2 -2
- data/src/core/lib/event_engine/trace.h +1 -2
- data/src/core/lib/event_engine/utils.cc +1 -2
- data/src/core/lib/event_engine/utils.h +1 -2
- data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +31 -30
- data/src/core/lib/event_engine/windows/iocp.cc +10 -8
- data/src/core/lib/event_engine/windows/win_socket.cc +11 -5
- data/src/core/lib/event_engine/windows/win_socket.h +3 -0
- data/src/core/lib/event_engine/windows/windows_endpoint.cc +13 -12
- data/src/core/lib/event_engine/windows/windows_engine.cc +48 -14
- data/src/core/lib/event_engine/windows/windows_listener.cc +61 -12
- data/src/core/lib/event_engine/windows/windows_listener.h +14 -0
- data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +2 -2
- data/src/core/lib/event_engine/work_queue/basic_work_queue.h +1 -2
- data/src/core/lib/event_engine/work_queue/work_queue.h +1 -2
- data/src/core/lib/experiments/config.cc +66 -48
- data/src/core/lib/experiments/config.h +2 -2
- data/src/core/lib/experiments/experiments.cc +42 -246
- data/src/core/lib/experiments/experiments.h +26 -124
- data/src/core/lib/gpr/alloc.cc +3 -1
- data/src/core/lib/gpr/android/log.cc +1 -1
- data/src/core/lib/gpr/linux/log.cc +1 -1
- data/src/core/lib/gpr/log.cc +26 -0
- data/src/core/lib/gpr/posix/log.cc +1 -1
- data/src/core/lib/gpr/posix/sync.cc +25 -23
- data/src/core/lib/gpr/posix/time.cc +9 -66
- data/src/core/lib/gpr/posix/tmpfile.cc +3 -1
- data/src/core/lib/gpr/sync.cc +5 -3
- data/src/core/lib/gpr/time.cc +10 -8
- data/src/core/lib/gpr/windows/log.cc +1 -1
- data/src/core/lib/gpr/windows/sync.cc +3 -1
- data/src/core/lib/gpr/windows/time.cc +4 -1
- data/src/core/lib/gprpp/atomic_utils.h +2 -2
- data/src/core/lib/gprpp/bitset.h +2 -2
- data/src/core/lib/gprpp/chunked_vector.h +6 -5
- data/src/core/lib/gprpp/construct_destruct.h +2 -2
- data/src/core/lib/gprpp/crash.cc +1 -2
- data/src/core/lib/gprpp/crash.h +2 -2
- data/src/core/lib/gprpp/debug_location.h +2 -2
- data/src/core/lib/gprpp/directory_reader.h +2 -2
- data/src/core/lib/gprpp/down_cast.h +7 -7
- data/src/core/lib/gprpp/dual_ref_counted.h +26 -17
- data/src/core/lib/gprpp/env.h +2 -2
- data/src/core/lib/gprpp/examine_stack.cc +2 -2
- data/src/core/lib/gprpp/examine_stack.h +2 -2
- data/src/core/lib/gprpp/fork.cc +1 -2
- data/src/core/lib/gprpp/fork.h +2 -2
- data/src/core/lib/gprpp/host_port.cc +6 -4
- data/src/core/lib/gprpp/host_port.h +2 -2
- data/src/core/lib/gprpp/linux/env.cc +2 -2
- data/src/core/lib/gprpp/load_file.cc +4 -3
- data/src/core/lib/gprpp/load_file.h +2 -2
- data/src/core/lib/gprpp/manual_constructor.h +2 -2
- data/src/core/lib/gprpp/match.h +2 -2
- data/src/core/lib/gprpp/memory.h +1 -2
- data/src/core/lib/gprpp/mpscq.cc +2 -2
- data/src/core/lib/gprpp/mpscq.h +5 -4
- data/src/core/lib/gprpp/no_destruct.h +2 -2
- data/src/core/lib/gprpp/notification.h +2 -2
- data/src/core/lib/gprpp/orphanable.h +7 -4
- data/src/core/lib/gprpp/overload.h +2 -2
- data/src/core/lib/gprpp/per_cpu.cc +1 -2
- data/src/core/lib/gprpp/per_cpu.h +1 -2
- data/src/core/lib/gprpp/posix/directory_reader.cc +2 -2
- data/src/core/lib/gprpp/posix/stat.cc +6 -4
- data/src/core/lib/gprpp/posix/thd.cc +10 -10
- data/src/core/lib/gprpp/ref_counted.h +10 -6
- data/src/core/lib/gprpp/ref_counted_ptr.h +4 -3
- data/src/core/lib/gprpp/ref_counted_string.cc +1 -2
- data/src/core/lib/gprpp/ref_counted_string.h +2 -2
- data/src/core/lib/gprpp/single_set_ptr.h +4 -3
- data/src/core/lib/gprpp/sorted_pack.h +2 -2
- data/src/core/lib/gprpp/stat.h +2 -2
- data/src/core/lib/gprpp/status_helper.cc +3 -3
- data/src/core/lib/gprpp/status_helper.h +2 -2
- data/src/core/lib/gprpp/strerror.cc +2 -2
- data/src/core/lib/gprpp/strerror.h +2 -2
- data/src/core/lib/gprpp/sync.h +5 -5
- data/src/core/lib/gprpp/table.h +2 -2
- data/src/core/lib/gprpp/tchar.cc +2 -2
- data/src/core/lib/gprpp/thd.h +7 -7
- data/src/core/lib/gprpp/time.cc +6 -6
- data/src/core/lib/gprpp/time.h +7 -2
- data/src/core/lib/gprpp/time_averaged_stats.cc +2 -2
- data/src/core/lib/gprpp/time_util.cc +5 -4
- data/src/core/lib/gprpp/time_util.h +1 -2
- data/src/core/lib/gprpp/unique_type_name.h +2 -2
- data/src/core/lib/gprpp/uuid_v4.cc +37 -0
- data/src/core/lib/gprpp/uuid_v4.h +36 -0
- data/src/core/lib/gprpp/validation_errors.cc +2 -2
- data/src/core/lib/gprpp/validation_errors.h +2 -2
- data/src/core/lib/gprpp/windows/stat.cc +4 -2
- data/src/core/lib/gprpp/windows/thd.cc +4 -2
- data/src/core/lib/gprpp/work_serializer.cc +5 -5
- data/src/core/lib/gprpp/work_serializer.h +1 -2
- data/src/core/lib/http/format_request.cc +1 -2
- data/src/core/lib/http/format_request.h +1 -2
- data/src/core/lib/http/httpcli.cc +6 -6
- data/src/core/lib/http/httpcli.h +2 -3
- data/src/core/lib/http/httpcli_security_connector.cc +4 -4
- data/src/core/lib/http/httpcli_ssl_credentials.h +1 -2
- data/src/core/lib/http/parser.cc +5 -5
- data/src/core/lib/http/parser.h +1 -2
- data/src/core/lib/iomgr/buffer_list.cc +1 -2
- data/src/core/lib/iomgr/buffer_list.h +1 -2
- data/src/core/lib/iomgr/call_combiner.cc +5 -4
- data/src/core/lib/iomgr/call_combiner.h +1 -2
- data/src/core/lib/iomgr/closure.cc +2 -2
- data/src/core/lib/iomgr/closure.h +4 -3
- data/src/core/lib/iomgr/combiner.cc +7 -6
- data/src/core/lib/iomgr/combiner.h +1 -2
- data/src/core/lib/iomgr/endpoint.cc +2 -2
- data/src/core/lib/iomgr/endpoint.h +1 -2
- data/src/core/lib/iomgr/endpoint_cfstream.cc +7 -5
- data/src/core/lib/iomgr/endpoint_pair_posix.cc +5 -4
- data/src/core/lib/iomgr/endpoint_pair_windows.cc +11 -10
- data/src/core/lib/iomgr/error.cc +3 -3
- data/src/core/lib/iomgr/error.h +3 -3
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +14 -13
- data/src/core/lib/iomgr/ev_poll_posix.cc +9 -9
- data/src/core/lib/iomgr/ev_posix.cc +1 -2
- data/src/core/lib/iomgr/ev_posix.h +2 -2
- data/src/core/lib/iomgr/event_engine_shims/closure.cc +1 -2
- data/src/core/lib/iomgr/event_engine_shims/closure.h +1 -2
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +3 -3
- data/src/core/lib/iomgr/event_engine_shims/endpoint.h +1 -2
- data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +1 -2
- data/src/core/lib/iomgr/event_engine_shims/tcp_client.h +1 -2
- data/src/core/lib/iomgr/exec_ctx.cc +5 -5
- data/src/core/lib/iomgr/exec_ctx.h +6 -4
- data/src/core/lib/iomgr/executor.cc +7 -8
- data/src/core/lib/iomgr/grpc_if_nametoindex.h +2 -2
- data/src/core/lib/iomgr/internal_errqueue.cc +1 -2
- data/src/core/lib/iomgr/iocp_windows.cc +9 -6
- data/src/core/lib/iomgr/iocp_windows.h +0 -1
- data/src/core/lib/iomgr/iomgr.cc +1 -2
- data/src/core/lib/iomgr/iomgr.h +2 -2
- data/src/core/lib/iomgr/iomgr_internal.cc +2 -2
- data/src/core/lib/iomgr/iomgr_internal.h +2 -2
- data/src/core/lib/iomgr/iomgr_windows.cc +4 -2
- data/src/core/lib/iomgr/lockfree_event.cc +4 -3
- data/src/core/lib/iomgr/lockfree_event.h +1 -2
- data/src/core/lib/iomgr/polling_entity.cc +5 -5
- data/src/core/lib/iomgr/pollset.cc +2 -2
- data/src/core/lib/iomgr/pollset.h +0 -1
- data/src/core/lib/iomgr/pollset_set.cc +2 -2
- data/src/core/lib/iomgr/pollset_set_windows.cc +2 -2
- data/src/core/lib/iomgr/pollset_windows.h +0 -1
- data/src/core/lib/iomgr/port.h +3 -0
- data/src/core/lib/iomgr/python_util.h +1 -2
- data/src/core/lib/iomgr/resolve_address.cc +1 -2
- data/src/core/lib/iomgr/resolve_address.h +1 -2
- data/src/core/lib/iomgr/resolve_address_impl.h +2 -2
- data/src/core/lib/iomgr/resolve_address_posix.h +2 -2
- data/src/core/lib/iomgr/resolve_address_windows.h +2 -2
- data/src/core/lib/iomgr/resolved_address.h +2 -2
- data/src/core/lib/iomgr/sockaddr_utils_posix.cc +3 -1
- data/src/core/lib/iomgr/socket_factory_posix.h +1 -2
- data/src/core/lib/iomgr/socket_mutator.cc +1 -2
- data/src/core/lib/iomgr/socket_mutator.h +1 -2
- data/src/core/lib/iomgr/socket_utils.h +2 -2
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +3 -1
- data/src/core/lib/iomgr/socket_utils_posix.cc +2 -2
- data/src/core/lib/iomgr/socket_utils_posix.h +1 -2
- data/src/core/lib/iomgr/socket_windows.cc +4 -3
- data/src/core/lib/iomgr/tcp_client.cc +2 -2
- data/src/core/lib/iomgr/tcp_client.h +1 -2
- data/src/core/lib/iomgr/tcp_client_posix.cc +5 -4
- data/src/core/lib/iomgr/tcp_client_windows.cc +31 -10
- data/src/core/lib/iomgr/tcp_posix.cc +89 -41
- data/src/core/lib/iomgr/tcp_server.cc +2 -2
- data/src/core/lib/iomgr/tcp_server.h +1 -2
- data/src/core/lib/iomgr/tcp_server_posix.cc +123 -109
- data/src/core/lib/iomgr/tcp_server_utils_posix.h +2 -2
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +6 -6
- data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +2 -1
- data/src/core/lib/iomgr/tcp_server_windows.cc +75 -23
- data/src/core/lib/iomgr/tcp_windows.cc +8 -6
- data/src/core/lib/iomgr/timer.cc +2 -2
- data/src/core/lib/iomgr/timer.h +1 -2
- data/src/core/lib/iomgr/timer_generic.cc +3 -3
- data/src/core/lib/iomgr/timer_generic.h +0 -1
- data/src/core/lib/iomgr/timer_heap.cc +1 -2
- data/src/core/lib/iomgr/timer_manager.cc +4 -3
- data/src/core/lib/iomgr/timer_manager.h +2 -2
- data/src/core/lib/iomgr/unix_sockets_posix.cc +15 -1
- data/src/core/lib/iomgr/unix_sockets_posix.h +1 -2
- data/src/core/lib/iomgr/unix_sockets_posix_noop.cc +3 -1
- data/src/core/lib/iomgr/vsock.cc +2 -2
- data/src/core/lib/iomgr/vsock.h +1 -2
- data/src/core/lib/json/json.h +1 -2
- data/src/core/lib/json/json_args.h +2 -2
- data/src/core/lib/json/json_channel_args.h +2 -2
- data/src/core/lib/json/json_object_loader.cc +1 -2
- data/src/core/lib/json/json_object_loader.h +2 -2
- data/src/core/lib/json/json_reader.cc +4 -4
- data/src/core/lib/json/json_reader.h +2 -2
- data/src/core/lib/json/json_util.cc +2 -2
- data/src/core/lib/json/json_util.h +2 -2
- data/src/core/lib/json/json_writer.cc +2 -2
- data/src/core/lib/json/json_writer.h +2 -2
- data/src/core/lib/matchers/matchers.cc +2 -2
- data/src/core/lib/matchers/matchers.h +2 -2
- data/src/core/lib/promise/activity.cc +4 -3
- data/src/core/lib/promise/activity.h +8 -7
- data/src/core/lib/promise/all_ok.h +2 -2
- data/src/core/lib/promise/arena_promise.h +2 -2
- data/src/core/lib/promise/context.h +5 -5
- data/src/core/lib/promise/detail/join_state.h +11 -10
- data/src/core/lib/promise/detail/promise_factory.h +2 -2
- data/src/core/lib/promise/detail/promise_like.h +2 -2
- data/src/core/lib/promise/detail/seq_state.h +194 -194
- data/src/core/lib/promise/detail/status.h +4 -3
- data/src/core/lib/promise/exec_ctx_wakeup_scheduler.h +2 -2
- data/src/core/lib/promise/for_each.h +88 -27
- data/src/core/lib/promise/if.h +2 -2
- data/src/core/lib/promise/interceptor_list.h +3 -3
- data/src/core/lib/promise/latch.h +8 -8
- data/src/core/lib/promise/loop.h +2 -2
- data/src/core/lib/promise/map.h +2 -2
- data/src/core/lib/promise/party.cc +45 -15
- data/src/core/lib/promise/party.h +21 -23
- data/src/core/lib/promise/pipe.h +15 -15
- data/src/core/lib/promise/poll.h +6 -5
- data/src/core/lib/promise/prioritized_race.h +2 -2
- data/src/core/lib/promise/promise.h +2 -2
- data/src/core/lib/promise/race.h +2 -2
- data/src/core/lib/promise/seq.h +2 -2
- data/src/core/lib/promise/sleep.cc +2 -3
- data/src/core/lib/promise/sleep.h +1 -2
- data/src/core/lib/promise/status_flag.h +16 -8
- data/src/core/lib/promise/trace.cc +2 -2
- data/src/core/lib/promise/try_join.h +4 -3
- data/src/core/lib/promise/try_seq.h +4 -3
- data/src/core/lib/resource_quota/api.cc +1 -2
- data/src/core/lib/resource_quota/api.h +1 -2
- data/src/core/lib/resource_quota/arena.cc +1 -2
- data/src/core/lib/resource_quota/arena.h +4 -2
- data/src/core/lib/resource_quota/connection_quota.cc +70 -0
- data/src/core/lib/resource_quota/connection_quota.h +61 -0
- data/src/core/lib/resource_quota/memory_quota.cc +11 -11
- data/src/core/lib/resource_quota/memory_quota.h +4 -4
- data/src/core/lib/resource_quota/periodic_update.cc +2 -2
- data/src/core/lib/resource_quota/periodic_update.h +2 -2
- data/src/core/lib/resource_quota/resource_quota.cc +2 -2
- data/src/core/lib/resource_quota/resource_quota.h +1 -2
- data/src/core/lib/resource_quota/thread_quota.cc +4 -3
- data/src/core/lib/resource_quota/thread_quota.h +2 -2
- data/src/core/lib/resource_quota/trace.cc +2 -2
- data/src/core/lib/security/authorization/audit_logging.cc +6 -6
- data/src/core/lib/security/authorization/audit_logging.h +1 -2
- data/src/core/lib/security/authorization/authorization_engine.h +2 -2
- data/src/core/lib/security/authorization/authorization_policy_provider.h +1 -2
- data/src/core/lib/security/authorization/authorization_policy_provider_vtable.cc +1 -2
- data/src/core/lib/security/authorization/evaluate_args.cc +7 -7
- data/src/core/lib/security/authorization/evaluate_args.h +4 -5
- data/src/core/lib/security/authorization/grpc_authorization_engine.cc +4 -3
- data/src/core/lib/security/authorization/grpc_authorization_engine.h +1 -2
- data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +8 -12
- data/src/core/lib/security/authorization/grpc_server_authz_filter.h +7 -9
- data/src/core/lib/security/authorization/matchers.cc +1 -2
- data/src/core/lib/security/authorization/matchers.h +2 -2
- data/src/core/lib/security/authorization/rbac_policy.cc +2 -2
- data/src/core/lib/security/authorization/rbac_policy.h +1 -2
- data/src/core/lib/security/authorization/stdout_logger.cc +4 -3
- data/src/core/lib/security/authorization/stdout_logger.h +1 -2
- data/src/core/lib/security/certificate_provider/certificate_provider_factory.h +2 -2
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.cc +4 -3
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.h +2 -2
- data/src/core/lib/security/context/security_context.cc +5 -3
- data/src/core/lib/security/context/security_context.h +2 -2
- data/src/core/lib/security/credentials/alts/alts_credentials.cc +1 -2
- data/src/core/lib/security/credentials/alts/alts_credentials.h +2 -2
- data/src/core/lib/security/credentials/alts/check_gcp_environment.cc +1 -2
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc +1 -2
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc +1 -2
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.h +2 -2
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc +1 -2
- data/src/core/lib/security/credentials/call_creds_util.cc +1 -2
- data/src/core/lib/security/credentials/call_creds_util.h +2 -2
- data/src/core/lib/security/credentials/channel_creds_registry.h +2 -2
- data/src/core/lib/security/credentials/channel_creds_registry_init.cc +2 -2
- data/src/core/lib/security/credentials/composite/composite_credentials.cc +9 -8
- data/src/core/lib/security/credentials/composite/composite_credentials.h +2 -2
- data/src/core/lib/security/credentials/credentials.cc +4 -3
- data/src/core/lib/security/credentials/credentials.h +5 -4
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +5 -4
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.h +2 -2
- data/src/core/lib/security/credentials/external/aws_request_signer.cc +2 -2
- data/src/core/lib/security/credentials/external/aws_request_signer.h +2 -2
- data/src/core/lib/security/credentials/external/external_account_credentials.cc +7 -6
- data/src/core/lib/security/credentials/external/external_account_credentials.h +2 -2
- data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +1 -2
- data/src/core/lib/security/credentials/external/file_external_account_credentials.h +2 -2
- data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +4 -3
- data/src/core/lib/security/credentials/external/url_external_account_credentials.h +2 -2
- data/src/core/lib/security/credentials/fake/fake_credentials.cc +2 -2
- data/src/core/lib/security/credentials/fake/fake_credentials.h +2 -2
- data/src/core/lib/security/credentials/google_default/credentials_generic.cc +1 -2
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +8 -7
- data/src/core/lib/security/credentials/google_default/google_default_credentials.h +2 -2
- data/src/core/lib/security/credentials/iam/iam_credentials.cc +5 -5
- data/src/core/lib/security/credentials/iam/iam_credentials.h +2 -2
- data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +2 -2
- data/src/core/lib/security/credentials/insecure/insecure_credentials.h +2 -2
- data/src/core/lib/security/credentials/jwt/json_token.cc +13 -8
- data/src/core/lib/security/credentials/jwt/json_token.h +1 -2
- data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +4 -3
- data/src/core/lib/security/credentials/jwt/jwt_credentials.h +2 -2
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +26 -31
- data/src/core/lib/security/credentials/jwt/jwt_verifier.h +1 -2
- data/src/core/lib/security/credentials/local/local_credentials.cc +1 -2
- data/src/core/lib/security/credentials/local/local_credentials.h +2 -2
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +9 -8
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +2 -2
- data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +3 -3
- data/src/core/lib/security/credentials/plugin/plugin_credentials.h +2 -2
- data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +13 -13
- data/src/core/lib/security/credentials/ssl/ssl_credentials.h +5 -3
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +26 -25
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.h +2 -2
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc +2 -2
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +7 -6
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +3 -3
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc +3 -3
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h +4 -3
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +19 -18
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +1 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +19 -12
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +8 -5
- data/src/core/lib/security/credentials/tls/tls_credentials.cc +1 -2
- data/src/core/lib/security/credentials/tls/tls_credentials.h +2 -2
- data/src/core/lib/security/credentials/tls/tls_utils.cc +1 -2
- data/src/core/lib/security/credentials/tls/tls_utils.h +1 -2
- data/src/core/lib/security/credentials/xds/xds_credentials.cc +7 -7
- data/src/core/lib/security/credentials/xds/xds_credentials.h +3 -3
- data/src/core/lib/security/security_connector/alts/alts_security_connector.cc +14 -14
- data/src/core/lib/security/security_connector/alts/alts_security_connector.h +2 -2
- data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +5 -5
- data/src/core/lib/security/security_connector/fake/fake_security_connector.h +2 -2
- data/src/core/lib/security/security_connector/insecure/insecure_security_connector.cc +6 -5
- data/src/core/lib/security/security_connector/insecure/insecure_security_connector.h +3 -3
- data/src/core/lib/security/security_connector/load_system_roots.h +4 -2
- data/src/core/lib/security/security_connector/load_system_roots_fallback.cc +3 -2
- data/src/core/lib/security/security_connector/load_system_roots_supported.cc +2 -2
- data/src/core/lib/security/security_connector/load_system_roots_supported.h +1 -2
- data/src/core/lib/security/security_connector/load_system_roots_windows.cc +87 -0
- data/src/core/lib/security/security_connector/local/local_security_connector.cc +11 -11
- data/src/core/lib/security/security_connector/local/local_security_connector.h +2 -2
- data/src/core/lib/security/security_connector/security_connector.cc +7 -6
- data/src/core/lib/security/security_connector/security_connector.h +3 -3
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +6 -6
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +2 -2
- data/src/core/lib/security/security_connector/ssl_utils.cc +10 -9
- data/src/core/lib/security/security_connector/ssl_utils.h +1 -2
- data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +13 -13
- data/src/core/lib/security/security_connector/tls/tls_security_connector.h +3 -3
- data/src/core/lib/security/transport/auth_filters.h +11 -36
- data/src/core/lib/security/transport/client_auth_filter.cc +6 -5
- data/src/core/lib/security/transport/server_auth_filter.cc +7 -5
- data/src/core/lib/security/util/json_util.cc +1 -2
- data/src/core/lib/slice/percent_encoding.cc +4 -3
- data/src/core/lib/slice/slice.cc +42 -15
- data/src/core/lib/slice/slice.h +4 -4
- data/src/core/lib/slice/slice_buffer.cc +64 -25
- data/src/core/lib/slice/slice_buffer.h +15 -3
- data/src/core/lib/slice/slice_internal.h +10 -3
- data/src/core/lib/slice/slice_refcount.cc +2 -2
- data/src/core/lib/slice/slice_refcount.h +1 -2
- data/src/core/lib/slice/slice_string_helpers.cc +2 -2
- data/src/core/lib/slice/slice_string_helpers.h +1 -2
- data/src/core/lib/surface/api_trace.cc +2 -2
- data/src/core/lib/surface/api_trace.h +1 -2
- data/src/core/lib/surface/byte_buffer.cc +1 -2
- data/src/core/lib/surface/byte_buffer_reader.cc +4 -3
- data/src/core/lib/surface/call.cc +212 -339
- data/src/core/lib/surface/call.h +181 -11
- data/src/core/lib/surface/call_details.cc +1 -2
- data/src/core/lib/surface/call_log_batch.cc +1 -2
- data/src/core/lib/surface/call_test_only.h +1 -2
- data/src/core/lib/surface/call_trace.h +0 -6
- data/src/core/lib/surface/channel.cc +111 -321
- data/src/core/lib/surface/channel.h +90 -110
- data/src/core/lib/surface/channel_create.cc +110 -0
- data/src/core/lib/surface/{builtins.cc → channel_create.h} +21 -16
- data/src/core/lib/surface/channel_init.cc +13 -12
- data/src/core/lib/surface/channel_init.h +31 -10
- data/src/core/lib/surface/channel_stack_type.cc +2 -2
- data/src/core/lib/surface/completion_queue.cc +17 -18
- data/src/core/lib/surface/completion_queue.h +1 -2
- data/src/core/lib/surface/completion_queue_factory.cc +9 -8
- data/src/core/lib/surface/completion_queue_factory.h +1 -2
- data/src/core/lib/surface/event_string.cc +2 -2
- data/src/core/lib/surface/event_string.h +1 -2
- data/src/core/lib/surface/init.cc +10 -16
- data/src/core/lib/surface/init_internally.cc +2 -2
- data/src/core/lib/surface/lame_client.cc +12 -40
- data/src/core/lib/surface/lame_client.h +13 -13
- data/src/core/lib/surface/legacy_channel.cc +414 -0
- data/src/core/lib/surface/legacy_channel.h +123 -0
- data/src/core/lib/surface/metadata_array.cc +1 -2
- data/src/core/lib/surface/validate_metadata.cc +1 -2
- data/src/core/lib/surface/validate_metadata.h +3 -3
- data/src/core/lib/surface/version.cc +3 -4
- data/src/core/lib/surface/wait_for_cq_end_op.cc +2 -2
- data/src/core/lib/transport/batch_builder.cc +14 -21
- data/src/core/lib/transport/batch_builder.h +6 -10
- data/src/core/lib/transport/bdp_estimator.cc +5 -3
- data/src/core/lib/transport/bdp_estimator.h +4 -4
- data/src/core/lib/transport/{call_size_estimator.cc → call_arena_allocator.cc} +3 -3
- data/src/core/lib/transport/{call_size_estimator.h → call_arena_allocator.h} +26 -5
- data/src/core/lib/transport/call_filters.cc +143 -28
- data/src/core/lib/transport/call_filters.h +412 -63
- data/src/core/lib/transport/call_final_info.cc +2 -2
- data/src/core/lib/transport/call_final_info.h +1 -2
- data/src/core/lib/transport/call_spine.cc +18 -19
- data/src/core/lib/transport/call_spine.h +393 -190
- data/src/core/lib/transport/connectivity_state.cc +1 -2
- data/src/core/lib/transport/connectivity_state.h +1 -2
- data/src/core/lib/transport/error_utils.cc +1 -2
- data/src/core/lib/transport/error_utils.h +1 -2
- data/src/core/lib/transport/message.cc +1 -2
- data/src/core/lib/transport/metadata.cc +3 -3
- data/src/core/lib/transport/metadata_batch.cc +68 -7
- data/src/core/lib/transport/metadata_batch.h +45 -20
- data/src/core/lib/transport/metadata_compression_traits.h +2 -2
- data/src/core/lib/transport/metadata_info.cc +55 -0
- data/src/core/lib/transport/metadata_info.h +85 -0
- data/src/core/lib/transport/parsed_metadata.cc +2 -2
- data/src/core/lib/transport/parsed_metadata.h +1 -2
- data/src/core/lib/transport/simple_slice_based_metadata.h +2 -2
- data/src/core/lib/transport/status_conversion.cc +2 -2
- data/src/core/lib/transport/status_conversion.h +1 -2
- data/src/core/lib/transport/timeout_encoding.cc +5 -5
- data/src/core/lib/transport/timeout_encoding.h +2 -2
- data/src/core/lib/transport/transport.cc +1 -2
- data/src/core/lib/transport/transport.h +41 -38
- data/src/core/lib/transport/transport_op_string.cc +1 -10
- data/src/core/lib/uri/uri_parser.cc +3 -3
- data/src/core/lib/uri/uri_parser.h +2 -2
- data/src/core/load_balancing/address_filtering.cc +3 -3
- data/src/core/load_balancing/address_filtering.h +3 -3
- data/src/core/load_balancing/backend_metric_data.h +2 -2
- data/src/core/{client_channel/backend_metric.cc → load_balancing/backend_metric_parser.cc} +3 -3
- data/src/core/{client_channel/backend_metric.h → load_balancing/backend_metric_parser.h} +5 -5
- data/src/core/load_balancing/child_policy_handler.cc +7 -7
- data/src/core/load_balancing/child_policy_handler.h +2 -2
- data/src/core/load_balancing/delegating_helper.h +10 -3
- data/src/core/load_balancing/endpoint_list.cc +7 -9
- data/src/core/load_balancing/endpoint_list.h +15 -9
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.cc +28 -30
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +21 -8
- data/src/core/load_balancing/grpclb/grpclb.cc +65 -70
- data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc +2 -2
- data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.h +1 -2
- data/src/core/load_balancing/grpclb/grpclb_client_stats.cc +1 -2
- data/src/core/load_balancing/grpclb/grpclb_client_stats.h +2 -3
- data/src/core/load_balancing/grpclb/load_balancer_api.cc +1 -2
- data/src/core/load_balancing/grpclb/load_balancer_api.h +2 -3
- data/src/core/load_balancing/health_check_client.cc +10 -11
- data/src/core/load_balancing/health_check_client.h +2 -2
- data/src/core/load_balancing/health_check_client_internal.h +5 -7
- data/src/core/load_balancing/lb_policy.cc +2 -2
- data/src/core/load_balancing/lb_policy.h +14 -6
- data/src/core/load_balancing/lb_policy_factory.h +2 -2
- data/src/core/load_balancing/lb_policy_registry.cc +3 -3
- data/src/core/load_balancing/lb_policy_registry.h +4 -4
- data/src/core/load_balancing/oob_backend_metric.cc +10 -11
- data/src/core/load_balancing/oob_backend_metric.h +3 -3
- data/src/core/load_balancing/oob_backend_metric_internal.h +7 -8
- data/src/core/load_balancing/outlier_detection/outlier_detection.cc +32 -32
- data/src/core/load_balancing/outlier_detection/outlier_detection.h +2 -2
- data/src/core/load_balancing/pick_first/pick_first.cc +1152 -245
- data/src/core/load_balancing/priority/priority.cc +23 -17
- data/src/core/load_balancing/ring_hash/ring_hash.cc +42 -25
- data/src/core/load_balancing/ring_hash/ring_hash.h +3 -3
- data/src/core/load_balancing/rls/rls.cc +225 -95
- data/src/core/load_balancing/rls/rls.h +26 -0
- data/src/core/load_balancing/round_robin/round_robin.cc +33 -477
- data/src/core/load_balancing/subchannel_interface.h +4 -4
- data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc +4 -4
- data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h +3 -3
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +203 -988
- data/src/core/load_balancing/weighted_target/weighted_target.cc +20 -17
- data/src/core/load_balancing/weighted_target/weighted_target.h +28 -0
- data/src/core/load_balancing/xds/cds.cc +19 -20
- data/src/core/load_balancing/xds/xds_cluster_impl.cc +113 -67
- data/src/core/load_balancing/xds/xds_cluster_manager.cc +8 -9
- data/src/core/load_balancing/xds/xds_override_host.cc +21 -21
- data/src/core/load_balancing/xds/xds_override_host.h +3 -3
- data/src/core/load_balancing/xds/xds_wrr_locality.cc +11 -11
- data/src/core/plugin_registry/grpc_plugin_registry.cc +23 -9
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +1 -3
- data/src/core/resolver/binder/binder_resolver.cc +12 -5
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +13 -13
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.h +2 -2
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h +3 -3
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +6 -5
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +38 -37
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +14 -14
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.h +1 -2
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +1 -1
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +1 -1
- data/src/core/resolver/dns/dns_resolver_plugin.cc +4 -5
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +7 -7
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h +6 -4
- data/src/core/resolver/dns/event_engine/service_config_helper.cc +2 -2
- data/src/core/resolver/dns/event_engine/service_config_helper.h +2 -2
- data/src/core/resolver/dns/native/dns_resolver.cc +6 -7
- data/src/core/resolver/endpoint_addresses.cc +4 -4
- data/src/core/resolver/endpoint_addresses.h +6 -6
- data/src/core/resolver/fake/fake_resolver.cc +6 -6
- data/src/core/resolver/fake/fake_resolver.h +2 -3
- data/src/core/resolver/google_c2p/google_c2p_resolver.cc +18 -13
- data/src/core/resolver/polling_resolver.cc +5 -5
- data/src/core/resolver/polling_resolver.h +1 -2
- data/src/core/resolver/resolver.cc +2 -2
- data/src/core/resolver/resolver.h +2 -2
- data/src/core/resolver/resolver_factory.h +3 -3
- data/src/core/resolver/resolver_registry.cc +5 -5
- data/src/core/resolver/resolver_registry.h +5 -5
- data/src/core/resolver/sockaddr/sockaddr_resolver.cc +8 -9
- data/src/core/resolver/xds/xds_dependency_manager.cc +19 -13
- data/src/core/resolver/xds/xds_dependency_manager.h +12 -12
- data/src/core/resolver/xds/xds_resolver.cc +36 -40
- data/src/core/resolver/xds/xds_resolver_attributes.h +3 -3
- data/src/core/resolver/xds/xds_resolver_trace.cc +2 -2
- data/src/core/{lib/surface → server}/server.cc +81 -94
- data/src/core/{lib/surface → server}/server.h +16 -13
- data/src/core/{lib/channel → server}/server_call_tracer_filter.cc +10 -5
- data/src/core/{lib/surface/builtins.h → server/server_call_tracer_filter.h} +7 -5
- data/src/core/{ext/filters/server_config_selector → server}/server_config_selector.h +5 -5
- data/src/core/{ext/filters/server_config_selector → server}/server_config_selector_filter.cc +37 -37
- data/src/core/{ext/filters/server_config_selector → server}/server_config_selector_filter.h +3 -3
- data/src/core/server/server_interface.h +43 -0
- data/src/core/{ext/xds → server}/xds_channel_stack_modifier.cc +3 -3
- data/src/core/{ext/xds → server}/xds_channel_stack_modifier.h +6 -6
- data/src/core/{ext/xds → server}/xds_server_config_fetcher.cc +43 -41
- data/src/core/service_config/service_config.h +1 -2
- data/src/core/service_config/service_config_call_data.h +2 -2
- data/src/core/{client_channel → service_config}/service_config_channel_arg_filter.cc +7 -8
- data/src/core/service_config/service_config_impl.cc +2 -2
- data/src/core/service_config/service_config_impl.h +3 -3
- data/src/core/service_config/service_config_parser.cc +1 -2
- data/src/core/service_config/service_config_parser.h +3 -3
- data/src/core/tsi/alts/crypt/aes_gcm.cc +1 -2
- data/src/core/tsi/alts/crypt/gsec.cc +1 -2
- data/src/core/tsi/alts/crypt/gsec.h +1 -2
- data/src/core/tsi/alts/frame_protector/alts_counter.cc +1 -2
- data/src/core/tsi/alts/frame_protector/alts_counter.h +1 -2
- data/src/core/tsi/alts/frame_protector/alts_crypter.cc +1 -2
- data/src/core/tsi/alts/frame_protector/alts_crypter.h +1 -2
- data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +1 -2
- data/src/core/tsi/alts/frame_protector/alts_frame_protector.h +2 -2
- data/src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc +1 -2
- data/src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.h +1 -2
- data/src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc +1 -2
- data/src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc +1 -2
- data/src/core/tsi/alts/frame_protector/frame_handler.cc +1 -2
- data/src/core/tsi/alts/frame_protector/frame_handler.h +2 -2
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +44 -41
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.h +1 -2
- data/src/core/tsi/alts/handshaker/alts_shared_resource.cc +5 -4
- data/src/core/tsi/alts/handshaker/alts_shared_resource.h +1 -2
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +23 -20
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.h +1 -2
- data/src/core/tsi/alts/handshaker/alts_tsi_utils.cc +5 -4
- data/src/core/tsi/alts/handshaker/alts_tsi_utils.h +1 -2
- data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +2 -2
- data/src/core/tsi/alts/handshaker/transport_security_common_api.h +1 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc +5 -4
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.h +2 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc +1 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.h +2 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol.h +1 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc +9 -5
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc +1 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.h +2 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +5 -4
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +2 -2
- data/src/core/tsi/fake_transport_security.cc +6 -4
- data/src/core/tsi/local_transport_security.cc +1 -2
- data/src/core/tsi/local_transport_security.h +1 -2
- data/src/core/tsi/ssl/key_logging/ssl_key_logging.cc +7 -6
- data/src/core/tsi/ssl/key_logging/ssl_key_logging.h +1 -2
- data/src/core/tsi/ssl/session_cache/ssl_session.h +1 -2
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +11 -10
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.h +1 -2
- data/src/core/tsi/ssl/session_cache/ssl_session_openssl.cc +3 -4
- data/src/core/tsi/ssl_transport_security.cc +218 -89
- data/src/core/tsi/ssl_transport_security.h +1 -2
- data/src/core/tsi/ssl_transport_security_utils.cc +138 -10
- data/src/core/tsi/ssl_transport_security_utils.h +28 -2
- data/src/core/tsi/ssl_types.h +2 -2
- data/src/core/tsi/transport_security.cc +1 -2
- data/src/core/tsi/transport_security.h +2 -2
- data/src/core/tsi/transport_security_grpc.cc +2 -2
- data/src/core/tsi/transport_security_grpc.h +1 -2
- data/src/core/tsi/transport_security_interface.h +2 -2
- data/src/core/{ext/xds → xds/grpc}/certificate_provider_store.cc +2 -3
- data/src/core/{ext/xds → xds/grpc}/certificate_provider_store.h +7 -7
- data/src/core/{ext/xds → xds/grpc}/file_watcher_certificate_provider_factory.cc +2 -3
- data/src/core/{ext/xds → xds/grpc}/file_watcher_certificate_provider_factory.h +6 -7
- data/src/core/{ext/xds → xds/grpc}/upb_utils.h +5 -5
- data/src/core/{ext/xds → xds/grpc}/xds_audit_logger_registry.cc +6 -5
- data/src/core/{ext/xds → xds/grpc}/xds_audit_logger_registry.h +7 -7
- data/src/core/{ext/xds → xds/grpc}/xds_bootstrap_grpc.cc +40 -9
- data/src/core/{ext/xds → xds/grpc}/xds_bootstrap_grpc.h +33 -18
- data/src/core/{ext/xds → xds/grpc}/xds_certificate_provider.cc +7 -7
- data/src/core/{ext/xds → xds/grpc}/xds_certificate_provider.h +5 -6
- data/src/core/{ext/xds → xds/grpc}/xds_client_grpc.cc +208 -66
- data/src/core/{ext/xds → xds/grpc}/xds_client_grpc.h +30 -17
- data/src/core/{ext/xds → xds/grpc}/xds_cluster.cc +27 -18
- data/src/core/{ext/xds → xds/grpc}/xds_cluster.h +16 -14
- data/src/core/{ext/xds → xds/grpc}/xds_cluster_specifier_plugin.cc +4 -4
- data/src/core/{ext/xds → xds/grpc}/xds_cluster_specifier_plugin.h +8 -8
- data/src/core/{ext/xds → xds/grpc}/xds_common_types.cc +5 -6
- data/src/core/{ext/xds → xds/grpc}/xds_common_types.h +6 -6
- data/src/core/{ext/xds → xds/grpc}/xds_endpoint.cc +10 -9
- data/src/core/{ext/xds → xds/grpc}/xds_endpoint.h +11 -11
- data/src/core/{ext/xds → xds/grpc}/xds_health_status.cc +3 -3
- data/src/core/{ext/xds → xds/grpc}/xds_health_status.h +7 -7
- data/src/core/{ext/xds → xds/grpc}/xds_http_fault_filter.cc +4 -5
- data/src/core/{ext/xds → xds/grpc}/xds_http_fault_filter.h +9 -9
- data/src/core/{ext/xds → xds/grpc}/xds_http_filters.cc +8 -9
- data/src/core/{ext/xds → xds/grpc}/xds_http_filters.h +9 -9
- data/src/core/{ext/xds → xds/grpc}/xds_http_rbac_filter.cc +6 -7
- data/src/core/{ext/xds → xds/grpc}/xds_http_rbac_filter.h +9 -9
- data/src/core/{ext/xds → xds/grpc}/xds_http_stateful_session_filter.cc +5 -6
- data/src/core/{ext/xds → xds/grpc}/xds_http_stateful_session_filter.h +9 -9
- data/src/core/{ext/xds → xds/grpc}/xds_lb_policy_registry.cc +8 -9
- data/src/core/{ext/xds → xds/grpc}/xds_lb_policy_registry.h +7 -7
- data/src/core/{ext/xds → xds/grpc}/xds_listener.cc +8 -8
- data/src/core/{ext/xds → xds/grpc}/xds_listener.h +13 -13
- data/src/core/{ext/xds → xds/grpc}/xds_route_config.cc +16 -16
- data/src/core/{ext/xds → xds/grpc}/xds_route_config.h +12 -12
- data/src/core/{ext/xds → xds/grpc}/xds_routing.cc +6 -6
- data/src/core/{ext/xds → xds/grpc}/xds_routing.h +9 -9
- data/src/core/{ext/xds → xds/grpc}/xds_transport_grpc.cc +31 -46
- data/src/core/{ext/xds → xds/grpc}/xds_transport_grpc.h +12 -13
- data/src/core/{ext/xds → xds/xds_client}/xds_api.cc +4 -5
- data/src/core/{ext/xds → xds/xds_client}/xds_api.h +8 -8
- data/src/core/{ext/xds → xds/xds_client}/xds_bootstrap.cc +3 -3
- data/src/core/{ext/xds → xds/xds_client}/xds_bootstrap.h +7 -9
- data/src/core/{ext/xds → xds/xds_client}/xds_channel_args.h +3 -3
- data/src/core/{ext/xds → xds/xds_client}/xds_client.cc +304 -120
- data/src/core/{ext/xds → xds/xds_client}/xds_client.h +50 -18
- data/src/core/{ext/xds → xds/xds_client}/xds_client_stats.cc +5 -6
- data/src/core/{ext/xds → xds/xds_client}/xds_client_stats.h +20 -13
- data/src/core/xds/xds_client/xds_metrics.h +41 -0
- data/src/core/{ext/xds → xds/xds_client}/xds_resource_type.h +6 -6
- data/src/core/{ext/xds → xds/xds_client}/xds_resource_type_impl.h +7 -7
- data/src/core/{ext/xds → xds/xds_client}/xds_transport.h +6 -6
- data/src/ruby/ext/grpc/extconf.rb +0 -3
- data/src/ruby/ext/grpc/rb_call_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_call_credentials.h +1 -0
- data/src/ruby/ext/grpc/rb_channel.c +1 -0
- data/src/ruby/ext/grpc/rb_channel_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_grpc.c +1 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +130 -132
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +196 -198
- data/src/ruby/ext/grpc/rb_server.c +1 -0
- data/src/ruby/ext/grpc/rb_server_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_server_credentials.h +1 -0
- data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_xds_server_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_xds_server_credentials.h +1 -0
- data/src/ruby/lib/grpc/generic/active_call.rb +8 -2
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/spec/generic/rpc_server_spec.rb +25 -0
- data/third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc +320 -0
- data/third_party/abseil-cpp/absl/debugging/internal/examine_stack.h +64 -0
- data/third_party/abseil-cpp/absl/log/absl_vlog_is_on.h +93 -0
- data/third_party/abseil-cpp/absl/log/check.h +209 -0
- data/third_party/abseil-cpp/absl/log/globals.cc +178 -0
- data/third_party/abseil-cpp/absl/log/globals.h +218 -0
- data/third_party/abseil-cpp/absl/log/internal/append_truncated.h +47 -0
- data/third_party/abseil-cpp/absl/log/internal/check_impl.h +150 -0
- data/third_party/abseil-cpp/absl/log/internal/check_op.cc +118 -0
- data/third_party/abseil-cpp/absl/log/internal/check_op.h +420 -0
- data/third_party/abseil-cpp/absl/log/internal/conditions.cc +83 -0
- data/third_party/abseil-cpp/absl/log/internal/conditions.h +239 -0
- data/third_party/abseil-cpp/absl/log/internal/config.h +45 -0
- data/third_party/abseil-cpp/absl/log/internal/fnmatch.cc +73 -0
- data/third_party/abseil-cpp/absl/log/internal/fnmatch.h +35 -0
- data/third_party/abseil-cpp/absl/log/internal/globals.cc +145 -0
- data/third_party/abseil-cpp/absl/log/internal/globals.h +101 -0
- data/third_party/abseil-cpp/absl/log/internal/log_format.cc +205 -0
- data/third_party/abseil-cpp/absl/log/internal/log_format.h +78 -0
- data/third_party/abseil-cpp/absl/log/internal/log_impl.h +282 -0
- data/third_party/abseil-cpp/absl/log/internal/log_message.cc +633 -0
- data/third_party/abseil-cpp/absl/log/internal/log_message.h +375 -0
- data/third_party/abseil-cpp/absl/log/internal/log_sink_set.cc +296 -0
- data/third_party/abseil-cpp/absl/log/internal/log_sink_set.h +54 -0
- data/third_party/abseil-cpp/absl/log/internal/nullguard.cc +35 -0
- data/third_party/abseil-cpp/absl/log/internal/nullguard.h +88 -0
- data/third_party/abseil-cpp/absl/log/internal/nullstream.h +136 -0
- data/third_party/abseil-cpp/absl/log/internal/proto.cc +220 -0
- data/third_party/abseil-cpp/absl/log/internal/proto.h +288 -0
- data/third_party/abseil-cpp/absl/log/internal/strip.h +72 -0
- data/third_party/abseil-cpp/absl/log/internal/vlog_config.cc +340 -0
- data/third_party/abseil-cpp/absl/log/internal/vlog_config.h +163 -0
- data/third_party/abseil-cpp/absl/log/internal/voidify.h +44 -0
- data/third_party/abseil-cpp/absl/log/log.h +361 -0
- data/third_party/abseil-cpp/absl/log/log_entry.cc +41 -0
- data/third_party/abseil-cpp/absl/log/log_entry.h +221 -0
- data/third_party/abseil-cpp/absl/log/log_sink.cc +23 -0
- data/third_party/abseil-cpp/absl/log/log_sink.h +64 -0
- data/third_party/abseil-cpp/absl/log/log_sink_registry.h +61 -0
- data/third_party/abseil-cpp/absl/log/vlog_is_on.h +72 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/internal.h +1 -7
- data/third_party/boringssl-with-bazel/src/crypto/asn1/posix_time.c +50 -39
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +3 -8
- data/third_party/boringssl-with-bazel/src/crypto/bio/file.c +25 -10
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbs.c +0 -13
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/unicode.c +3 -2
- data/third_party/boringssl-with-bazel/src/crypto/chacha/chacha.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/chacha/internal.h +19 -15
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_des.c +63 -94
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_null.c +7 -3
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_rc2.c +20 -28
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_rc4.c +9 -4
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/tls_cbc.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.c +7 -7
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/internal.h +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/des/des.c +45 -32
- data/third_party/boringssl-with-bazel/src/crypto/des/internal.h +24 -0
- data/third_party/boringssl-with-bazel/src/crypto/digest_extra/digest_extra.c +1 -0
- data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa.c +26 -17
- data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa_asn1.c +3 -2
- data/third_party/boringssl-with-bazel/src/crypto/err/err.c +81 -60
- data/third_party/boringssl-with-bazel/src/crypto/evp/evp.c +41 -120
- data/third_party/boringssl-with-bazel/src/crypto/evp/evp_asn1.c +13 -13
- data/third_party/boringssl-with-bazel/src/crypto/evp/internal.h +7 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_dh.c +137 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_dh_asn1.c +120 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_dsa_asn1.c +30 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec.c +3 -4
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec_asn1.c +30 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ed25519.c +1 -4
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa_asn1.c +30 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_x25519.c +1 -4
- data/third_party/boringssl-with-bazel/src/crypto/ex_data.c +6 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bytes.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/div.c +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/div_extra.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/exponentiation.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd_extra.c +8 -5
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery_inv.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/mul.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/prime.c +14 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/random.c +2 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/internal.h +0 -3
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_key.c +11 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/scalar.c +5 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.h +2 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa.c +11 -11
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.c +22 -8
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/service_indicator/service_indicator.c +3 -6
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/internal.h +73 -29
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha1.c +4 -4
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha256.c +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha512.c +4 -4
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/tls/kdf.c +7 -0
- data/third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c +2 -0
- data/third_party/boringssl-with-bazel/src/crypto/internal.h +45 -21
- data/third_party/boringssl-with-bazel/src/crypto/kyber/internal.h +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/mem.c +18 -9
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_lib.c +18 -17
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_pk8.c +44 -41
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_pkey.c +13 -12
- data/third_party/boringssl-with-bazel/src/crypto/spx/spx.c +7 -6
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c +26 -33
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +8 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/rsa_pss.c +5 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_cpols.c +9 -4
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_crld.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_info.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_lib.c +2 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_purp.c +40 -61
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +24 -7
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +51 -78
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +5 -12
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +13 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_algor.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c +1 -6
- data/third_party/boringssl-with-bazel/{err_data.c → src/gen/crypto/err_data.c} +487 -485
- data/third_party/boringssl-with-bazel/src/include/openssl/asn1.h +10 -10
- data/third_party/boringssl-with-bazel/src/include/openssl/base.h +10 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +80 -39
- data/third_party/boringssl-with-bazel/src/include/openssl/bytestring.h +12 -4
- data/third_party/boringssl-with-bazel/src/include/openssl/crypto.h +1 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/dh.h +17 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/dsa.h +10 -3
- data/third_party/boringssl-with-bazel/src/include/openssl/err.h +13 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +25 -14
- data/third_party/boringssl-with-bazel/src/include/openssl/evp_errors.h +1 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/ex_data.h +15 -3
- data/third_party/boringssl-with-bazel/src/{crypto/spx/internal.h → include/openssl/experimental/spx.h} +24 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/obj.h +2 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/pem.h +63 -53
- data/third_party/boringssl-with-bazel/src/include/openssl/posix_time.h +6 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/rand.h +19 -10
- data/third_party/boringssl-with-bazel/src/include/openssl/rsa.h +19 -10
- data/third_party/boringssl-with-bazel/src/include/openssl/span.h +14 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +291 -73
- data/third_party/boringssl-with-bazel/src/include/openssl/stack.h +10 -3
- data/third_party/boringssl-with-bazel/src/include/openssl/target.h +13 -10
- data/third_party/boringssl-with-bazel/src/include/openssl/tls1.h +2 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +2959 -2403
- data/third_party/boringssl-with-bazel/src/ssl/dtls_record.cc +5 -5
- data/third_party/boringssl-with-bazel/src/ssl/encrypted_client_hello.cc +3 -9
- data/third_party/boringssl-with-bazel/src/ssl/extensions.cc +43 -43
- data/third_party/boringssl-with-bazel/src/ssl/handoff.cc +1 -1
- data/third_party/boringssl-with-bazel/src/ssl/handshake.cc +17 -7
- data/third_party/boringssl-with-bazel/src/ssl/handshake_client.cc +67 -15
- data/third_party/boringssl-with-bazel/src/ssl/handshake_server.cc +143 -113
- data/third_party/boringssl-with-bazel/src/ssl/internal.h +227 -167
- data/third_party/boringssl-with-bazel/src/ssl/s3_both.cc +1 -1
- data/third_party/boringssl-with-bazel/src/ssl/s3_lib.cc +0 -1
- data/third_party/boringssl-with-bazel/src/ssl/ssl_cert.cc +66 -385
- data/third_party/boringssl-with-bazel/src/ssl/ssl_cipher.cc +21 -19
- data/third_party/boringssl-with-bazel/src/ssl/ssl_credential.cc +423 -0
- data/third_party/boringssl-with-bazel/src/ssl/ssl_file.cc +2 -2
- data/third_party/boringssl-with-bazel/src/ssl/ssl_key_share.cc +1 -1
- data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +70 -54
- data/third_party/boringssl-with-bazel/src/ssl/ssl_privkey.cc +59 -75
- data/third_party/boringssl-with-bazel/src/ssl/ssl_session.cc +6 -14
- data/third_party/boringssl-with-bazel/src/ssl/ssl_x509.cc +48 -116
- data/third_party/boringssl-with-bazel/src/ssl/tls13_both.cc +19 -26
- data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +36 -3
- data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +53 -18
- data/third_party/upb/upb/base/descriptor_constants.h +29 -2
- data/third_party/upb/upb/{wire/internal/swap.h → base/internal/endian.h} +12 -11
- data/third_party/upb/upb/base/status.h +1 -1
- data/third_party/upb/upb/base/status.hpp +5 -1
- data/third_party/upb/upb/base/string_view.h +7 -5
- data/third_party/upb/upb/base/upcast.h +29 -0
- data/third_party/upb/upb/generated_code_support.h +2 -1
- data/third_party/upb/upb/json/decode.c +103 -53
- data/third_party/upb/upb/json/decode.h +3 -26
- data/third_party/upb/upb/json/encode.c +3 -26
- data/third_party/upb/upb/json/encode.h +3 -26
- data/third_party/upb/upb/mem/arena.c +233 -106
- data/third_party/upb/upb/mem/arena.h +14 -66
- data/third_party/upb/upb/mem/arena.hpp +8 -4
- data/third_party/upb/upb/mem/internal/arena.h +76 -58
- data/third_party/upb/upb/message/accessors.c +19 -46
- data/third_party/upb/upb/message/accessors.h +208 -123
- data/third_party/upb/upb/message/array.c +55 -83
- data/third_party/upb/upb/message/array.h +18 -30
- data/third_party/upb/upb/message/compat.c +39 -0
- data/third_party/upb/upb/message/compat.h +41 -0
- data/third_party/upb/upb/message/copy.c +322 -0
- data/third_party/upb/upb/message/copy.h +56 -0
- data/third_party/upb/upb/message/internal/accessors.h +178 -178
- data/third_party/upb/upb/message/internal/array.h +80 -81
- data/third_party/upb/upb/message/internal/extension.c +63 -0
- data/third_party/upb/upb/message/internal/extension.h +12 -12
- data/third_party/upb/upb/message/internal/map.h +28 -41
- data/third_party/upb/upb/message/internal/map_entry.h +14 -39
- data/third_party/upb/upb/message/internal/map_sorter.h +18 -37
- data/third_party/upb/upb/message/internal/message.c +59 -0
- data/third_party/upb/upb/message/internal/message.h +26 -42
- data/third_party/upb/upb/message/internal/tagged_ptr.h +56 -0
- data/third_party/upb/upb/message/internal/types.h +7 -12
- data/third_party/upb/upb/message/map.c +3 -26
- data/third_party/upb/upb/message/map.h +5 -33
- data/third_party/upb/upb/message/map_gencode_util.h +3 -26
- data/third_party/upb/upb/message/map_sorter.c +22 -34
- data/third_party/upb/upb/message/message.c +28 -104
- data/third_party/upb/upb/message/message.h +4 -8
- data/third_party/upb/upb/message/tagged_ptr.h +14 -31
- data/third_party/upb/upb/message/value.h +3 -5
- data/third_party/upb/upb/mini_descriptor/build_enum.c +20 -11
- data/third_party/upb/upb/mini_descriptor/decode.c +127 -107
- data/third_party/upb/upb/mini_descriptor/decode.h +3 -8
- data/third_party/upb/upb/mini_descriptor/link.c +34 -22
- data/third_party/upb/upb/mini_descriptor/link.h +1 -1
- data/third_party/upb/upb/mini_table/enum.h +4 -6
- data/third_party/upb/upb/mini_table/extension.h +37 -0
- data/third_party/upb/upb/mini_table/extension_registry.c +9 -2
- data/third_party/upb/upb/mini_table/field.h +46 -60
- data/third_party/upb/upb/mini_table/file.h +44 -0
- data/third_party/upb/upb/mini_table/internal/enum.h +19 -20
- data/third_party/upb/upb/mini_table/internal/extension.h +34 -3
- data/third_party/upb/upb/mini_table/internal/field.h +136 -27
- data/third_party/upb/upb/mini_table/internal/file.h +47 -10
- data/third_party/upb/upb/mini_table/internal/message.c +17 -9
- data/third_party/upb/upb/mini_table/internal/message.h +94 -23
- data/third_party/upb/upb/mini_table/internal/size_log2.h +77 -0
- data/third_party/upb/upb/mini_table/internal/sub.h +39 -4
- data/third_party/upb/upb/mini_table/message.c +18 -19
- data/third_party/upb/upb/mini_table/message.h +29 -20
- data/third_party/upb/upb/mini_table/sub.h +40 -1
- data/third_party/upb/upb/port/def.inc +18 -0
- data/third_party/upb/upb/port/undef.inc +3 -0
- data/third_party/upb/upb/reflection/def.hpp +8 -4
- data/third_party/upb/upb/reflection/def_pool.c +81 -2
- data/third_party/upb/upb/reflection/def_pool.h +8 -0
- data/third_party/upb/upb/reflection/enum_def.c +42 -19
- data/third_party/upb/upb/reflection/enum_def.h +1 -0
- data/third_party/upb/upb/reflection/enum_value_def.c +43 -14
- data/third_party/upb/upb/reflection/enum_value_def.h +2 -0
- data/third_party/upb/upb/reflection/extension_range.c +13 -5
- data/third_party/upb/upb/reflection/extension_range.h +2 -0
- data/third_party/upb/upb/reflection/field_def.c +177 -130
- data/third_party/upb/upb/reflection/field_def.h +10 -1
- data/third_party/upb/upb/reflection/file_def.c +98 -9
- data/third_party/upb/upb/reflection/file_def.h +3 -0
- data/third_party/upb/upb/reflection/internal/def_builder.c +85 -7
- data/third_party/upb/upb/reflection/internal/def_builder.h +23 -0
- data/third_party/upb/upb/reflection/internal/enum_def.h +5 -4
- data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +1 -1
- data/third_party/upb/upb/reflection/internal/enum_value_def.h +2 -1
- data/third_party/upb/upb/reflection/internal/extension_range.h +2 -2
- data/third_party/upb/upb/reflection/internal/field_def.h +11 -10
- data/third_party/upb/upb/reflection/internal/message_def.h +6 -3
- data/third_party/upb/upb/reflection/internal/method_def.h +5 -3
- data/third_party/upb/upb/reflection/internal/oneof_def.h +5 -3
- data/third_party/upb/upb/reflection/internal/service_def.h +5 -3
- data/third_party/upb/upb/reflection/internal/upb_edition_defaults.h +20 -0
- data/third_party/upb/upb/reflection/message.c +27 -12
- data/third_party/upb/upb/reflection/message.h +5 -5
- data/third_party/upb/upb/reflection/message_def.c +56 -27
- data/third_party/upb/upb/reflection/message_def.h +2 -0
- data/third_party/upb/upb/reflection/method_def.c +20 -9
- data/third_party/upb/upb/reflection/method_def.h +2 -0
- data/third_party/upb/upb/reflection/oneof_def.c +20 -11
- data/third_party/upb/upb/reflection/oneof_def.h +3 -1
- data/third_party/upb/upb/reflection/service_def.c +25 -13
- data/third_party/upb/upb/reflection/service_def.h +2 -0
- data/third_party/upb/upb/text/encode.c +126 -36
- data/third_party/upb/upb/wire/decode.c +214 -196
- data/third_party/upb/upb/wire/decode.h +10 -0
- data/third_party/upb/upb/wire/encode.c +105 -91
- data/third_party/upb/upb/wire/encode.h +4 -3
- data/third_party/upb/upb/wire/{decode_fast.c → internal/decode_fast.c} +53 -48
- data/third_party/upb/upb/wire/{decode_fast.h → internal/decode_fast.h} +6 -5
- data/third_party/upb/upb/wire/internal/{decode.h → decoder.h} +15 -31
- data/third_party/upb/upb/wire/internal/reader.h +61 -0
- data/third_party/upb/upb/wire/reader.c +9 -6
- data/third_party/upb/upb/wire/reader.h +18 -47
- data/third_party/utf8_range/utf8_range.c +467 -0
- data/third_party/utf8_range/utf8_range.h +9 -8
- metadata +182 -128
- data/src/core/client_channel/channel_connectivity.cc +0 -265
- data/src/core/client_channel/client_channel_channelz.cc +0 -93
- data/src/core/client_channel/client_channel_channelz.h +0 -85
- data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +0 -318
- data/src/core/ext/filters/channel_idle/channel_idle_filter.h +0 -150
- data/src/core/ext/filters/deadline/deadline_filter.cc +0 -407
- data/src/core/ext/filters/deadline/deadline_filter.h +0 -85
- data/src/core/ext/filters/http/message_compress/legacy_compression_filter.cc +0 -325
- data/src/core/ext/filters/http/message_compress/legacy_compression_filter.h +0 -139
- data/src/core/lib/gpr/log_internal.h +0 -55
- data/src/core/lib/gpr/wrap_memcpy.cc +0 -43
- data/src/core/lib/security/transport/legacy_server_auth_filter.cc +0 -244
- data/src/core/lib/slice/b64.cc +0 -239
- data/src/core/lib/slice/b64.h +0 -52
- data/src/core/lib/surface/call_trace.cc +0 -163
- data/src/core/lib/surface/channel_ping.cc +0 -69
- data/src/core/lib/transport/call_factory.cc +0 -41
- data/src/core/lib/transport/call_factory.h +0 -56
- data/src/core/load_balancing/subchannel_list.h +0 -455
- data/third_party/upb/upb/message/types.h +0 -15
- data/third_party/utf8_range/naive.c +0 -92
- data/third_party/utf8_range/range2-neon.c +0 -157
- data/third_party/utf8_range/range2-sse.c +0 -170
- /data/third_party/boringssl-with-bazel/src/include/openssl/{kyber.h → experimental/kyber.h} +0 -0
@@ -30,22 +30,22 @@
|
|
30
30
|
extern "C" {
|
31
31
|
#endif
|
32
32
|
|
33
|
-
typedef struct envoy_config_accesslog_v3_AccessLog envoy_config_accesslog_v3_AccessLog;
|
34
|
-
typedef struct envoy_config_accesslog_v3_AccessLogFilter envoy_config_accesslog_v3_AccessLogFilter;
|
35
|
-
typedef struct envoy_config_accesslog_v3_ComparisonFilter envoy_config_accesslog_v3_ComparisonFilter;
|
36
|
-
typedef struct envoy_config_accesslog_v3_StatusCodeFilter envoy_config_accesslog_v3_StatusCodeFilter;
|
37
|
-
typedef struct envoy_config_accesslog_v3_DurationFilter envoy_config_accesslog_v3_DurationFilter;
|
38
|
-
typedef struct envoy_config_accesslog_v3_NotHealthCheckFilter envoy_config_accesslog_v3_NotHealthCheckFilter;
|
39
|
-
typedef struct envoy_config_accesslog_v3_TraceableFilter envoy_config_accesslog_v3_TraceableFilter;
|
40
|
-
typedef struct envoy_config_accesslog_v3_RuntimeFilter envoy_config_accesslog_v3_RuntimeFilter;
|
41
|
-
typedef struct envoy_config_accesslog_v3_AndFilter envoy_config_accesslog_v3_AndFilter;
|
42
|
-
typedef struct envoy_config_accesslog_v3_OrFilter envoy_config_accesslog_v3_OrFilter;
|
43
|
-
typedef struct envoy_config_accesslog_v3_HeaderFilter envoy_config_accesslog_v3_HeaderFilter;
|
44
|
-
typedef struct envoy_config_accesslog_v3_ResponseFlagFilter envoy_config_accesslog_v3_ResponseFlagFilter;
|
45
|
-
typedef struct envoy_config_accesslog_v3_GrpcStatusFilter envoy_config_accesslog_v3_GrpcStatusFilter;
|
46
|
-
typedef struct envoy_config_accesslog_v3_MetadataFilter envoy_config_accesslog_v3_MetadataFilter;
|
47
|
-
typedef struct envoy_config_accesslog_v3_LogTypeFilter envoy_config_accesslog_v3_LogTypeFilter;
|
48
|
-
typedef struct envoy_config_accesslog_v3_ExtensionFilter envoy_config_accesslog_v3_ExtensionFilter;
|
33
|
+
typedef struct envoy_config_accesslog_v3_AccessLog { upb_Message UPB_PRIVATE(base); } envoy_config_accesslog_v3_AccessLog;
|
34
|
+
typedef struct envoy_config_accesslog_v3_AccessLogFilter { upb_Message UPB_PRIVATE(base); } envoy_config_accesslog_v3_AccessLogFilter;
|
35
|
+
typedef struct envoy_config_accesslog_v3_ComparisonFilter { upb_Message UPB_PRIVATE(base); } envoy_config_accesslog_v3_ComparisonFilter;
|
36
|
+
typedef struct envoy_config_accesslog_v3_StatusCodeFilter { upb_Message UPB_PRIVATE(base); } envoy_config_accesslog_v3_StatusCodeFilter;
|
37
|
+
typedef struct envoy_config_accesslog_v3_DurationFilter { upb_Message UPB_PRIVATE(base); } envoy_config_accesslog_v3_DurationFilter;
|
38
|
+
typedef struct envoy_config_accesslog_v3_NotHealthCheckFilter { upb_Message UPB_PRIVATE(base); } envoy_config_accesslog_v3_NotHealthCheckFilter;
|
39
|
+
typedef struct envoy_config_accesslog_v3_TraceableFilter { upb_Message UPB_PRIVATE(base); } envoy_config_accesslog_v3_TraceableFilter;
|
40
|
+
typedef struct envoy_config_accesslog_v3_RuntimeFilter { upb_Message UPB_PRIVATE(base); } envoy_config_accesslog_v3_RuntimeFilter;
|
41
|
+
typedef struct envoy_config_accesslog_v3_AndFilter { upb_Message UPB_PRIVATE(base); } envoy_config_accesslog_v3_AndFilter;
|
42
|
+
typedef struct envoy_config_accesslog_v3_OrFilter { upb_Message UPB_PRIVATE(base); } envoy_config_accesslog_v3_OrFilter;
|
43
|
+
typedef struct envoy_config_accesslog_v3_HeaderFilter { upb_Message UPB_PRIVATE(base); } envoy_config_accesslog_v3_HeaderFilter;
|
44
|
+
typedef struct envoy_config_accesslog_v3_ResponseFlagFilter { upb_Message UPB_PRIVATE(base); } envoy_config_accesslog_v3_ResponseFlagFilter;
|
45
|
+
typedef struct envoy_config_accesslog_v3_GrpcStatusFilter { upb_Message UPB_PRIVATE(base); } envoy_config_accesslog_v3_GrpcStatusFilter;
|
46
|
+
typedef struct envoy_config_accesslog_v3_MetadataFilter { upb_Message UPB_PRIVATE(base); } envoy_config_accesslog_v3_MetadataFilter;
|
47
|
+
typedef struct envoy_config_accesslog_v3_LogTypeFilter { upb_Message UPB_PRIVATE(base); } envoy_config_accesslog_v3_LogTypeFilter;
|
48
|
+
typedef struct envoy_config_accesslog_v3_ExtensionFilter { upb_Message UPB_PRIVATE(base); } envoy_config_accesslog_v3_ExtensionFilter;
|
49
49
|
struct envoy_config_core_v3_RuntimeUInt32;
|
50
50
|
struct envoy_config_route_v3_HeaderMatcher;
|
51
51
|
struct envoy_type_matcher_v3_MetadataMatcher;
|
@@ -89,7 +89,8 @@ UPB_INLINE envoy_config_accesslog_v3_AccessLog* envoy_config_accesslog_v3_Access
|
|
89
89
|
UPB_INLINE envoy_config_accesslog_v3_AccessLog* envoy_config_accesslog_v3_AccessLog_parse(const char* buf, size_t size, upb_Arena* arena) {
|
90
90
|
envoy_config_accesslog_v3_AccessLog* ret = envoy_config_accesslog_v3_AccessLog_new(arena);
|
91
91
|
if (!ret) return NULL;
|
92
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__AccessLog_msg_init, NULL, 0, arena) !=
|
92
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__AccessLog_msg_init, NULL, 0, arena) !=
|
93
|
+
kUpb_DecodeStatus_Ok) {
|
93
94
|
return NULL;
|
94
95
|
}
|
95
96
|
return ret;
|
@@ -99,21 +100,21 @@ UPB_INLINE envoy_config_accesslog_v3_AccessLog* envoy_config_accesslog_v3_Access
|
|
99
100
|
int options, upb_Arena* arena) {
|
100
101
|
envoy_config_accesslog_v3_AccessLog* ret = envoy_config_accesslog_v3_AccessLog_new(arena);
|
101
102
|
if (!ret) return NULL;
|
102
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__AccessLog_msg_init, extreg, options,
|
103
|
-
|
103
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__AccessLog_msg_init, extreg, options,
|
104
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
104
105
|
return NULL;
|
105
106
|
}
|
106
107
|
return ret;
|
107
108
|
}
|
108
109
|
UPB_INLINE char* envoy_config_accesslog_v3_AccessLog_serialize(const envoy_config_accesslog_v3_AccessLog* msg, upb_Arena* arena, size_t* len) {
|
109
110
|
char* ptr;
|
110
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__AccessLog_msg_init, 0, arena, &ptr, len);
|
111
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__AccessLog_msg_init, 0, arena, &ptr, len);
|
111
112
|
return ptr;
|
112
113
|
}
|
113
114
|
UPB_INLINE char* envoy_config_accesslog_v3_AccessLog_serialize_ex(const envoy_config_accesslog_v3_AccessLog* msg, int options,
|
114
115
|
upb_Arena* arena, size_t* len) {
|
115
116
|
char* ptr;
|
116
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__AccessLog_msg_init, options, arena, &ptr, len);
|
117
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__AccessLog_msg_init, options, arena, &ptr, len);
|
117
118
|
return ptr;
|
118
119
|
}
|
119
120
|
typedef enum {
|
@@ -121,58 +122,62 @@ typedef enum {
|
|
121
122
|
envoy_config_accesslog_v3_AccessLog_config_type_NOT_SET = 0
|
122
123
|
} envoy_config_accesslog_v3_AccessLog_config_type_oneofcases;
|
123
124
|
UPB_INLINE envoy_config_accesslog_v3_AccessLog_config_type_oneofcases envoy_config_accesslog_v3_AccessLog_config_type_case(const envoy_config_accesslog_v3_AccessLog* msg) {
|
124
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
125
|
-
return (envoy_config_accesslog_v3_AccessLog_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
125
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 40), UPB_SIZE(-17, -13), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
126
|
+
return (envoy_config_accesslog_v3_AccessLog_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
127
|
+
UPB_UPCAST(msg), &field);
|
126
128
|
}
|
127
129
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLog_clear_name(envoy_config_accesslog_v3_AccessLog* msg) {
|
128
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
129
|
-
|
130
|
+
const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
131
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
130
132
|
}
|
131
133
|
UPB_INLINE upb_StringView envoy_config_accesslog_v3_AccessLog_name(const envoy_config_accesslog_v3_AccessLog* msg) {
|
132
134
|
upb_StringView default_val = upb_StringView_FromString("");
|
133
135
|
upb_StringView ret;
|
134
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
135
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
136
|
+
const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
137
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
138
|
+
&default_val, &ret);
|
136
139
|
return ret;
|
137
140
|
}
|
138
141
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLog_clear_filter(envoy_config_accesslog_v3_AccessLog* msg) {
|
139
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
140
|
-
|
142
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
143
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
141
144
|
}
|
142
145
|
UPB_INLINE const envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_AccessLog_filter(const envoy_config_accesslog_v3_AccessLog* msg) {
|
143
146
|
const envoy_config_accesslog_v3_AccessLogFilter* default_val = NULL;
|
144
147
|
const envoy_config_accesslog_v3_AccessLogFilter* ret;
|
145
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
146
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
148
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
149
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
150
|
+
&default_val, &ret);
|
147
151
|
return ret;
|
148
152
|
}
|
149
153
|
UPB_INLINE bool envoy_config_accesslog_v3_AccessLog_has_filter(const envoy_config_accesslog_v3_AccessLog* msg) {
|
150
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
151
|
-
return
|
154
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
155
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
152
156
|
}
|
153
157
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLog_clear_typed_config(envoy_config_accesslog_v3_AccessLog* msg) {
|
154
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
155
|
-
|
158
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 40), UPB_SIZE(-17, -13), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
159
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
156
160
|
}
|
157
161
|
UPB_INLINE const struct google_protobuf_Any* envoy_config_accesslog_v3_AccessLog_typed_config(const envoy_config_accesslog_v3_AccessLog* msg) {
|
158
162
|
const struct google_protobuf_Any* default_val = NULL;
|
159
163
|
const struct google_protobuf_Any* ret;
|
160
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
161
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
164
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 40), UPB_SIZE(-17, -13), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
165
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
166
|
+
&default_val, &ret);
|
162
167
|
return ret;
|
163
168
|
}
|
164
169
|
UPB_INLINE bool envoy_config_accesslog_v3_AccessLog_has_typed_config(const envoy_config_accesslog_v3_AccessLog* msg) {
|
165
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
166
|
-
return
|
170
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 40), UPB_SIZE(-17, -13), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
171
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
167
172
|
}
|
168
173
|
|
169
174
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLog_set_name(envoy_config_accesslog_v3_AccessLog *msg, upb_StringView value) {
|
170
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
171
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
175
|
+
const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
176
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
172
177
|
}
|
173
178
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLog_set_filter(envoy_config_accesslog_v3_AccessLog *msg, envoy_config_accesslog_v3_AccessLogFilter* value) {
|
174
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
175
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
179
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
180
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
176
181
|
}
|
177
182
|
UPB_INLINE struct envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_AccessLog_mutable_filter(envoy_config_accesslog_v3_AccessLog* msg, upb_Arena* arena) {
|
178
183
|
struct envoy_config_accesslog_v3_AccessLogFilter* sub = (struct envoy_config_accesslog_v3_AccessLogFilter*)envoy_config_accesslog_v3_AccessLog_filter(msg);
|
@@ -183,8 +188,8 @@ UPB_INLINE struct envoy_config_accesslog_v3_AccessLogFilter* envoy_config_access
|
|
183
188
|
return sub;
|
184
189
|
}
|
185
190
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLog_set_typed_config(envoy_config_accesslog_v3_AccessLog *msg, struct google_protobuf_Any* value) {
|
186
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
187
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
191
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 40), UPB_SIZE(-17, -13), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
192
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
188
193
|
}
|
189
194
|
UPB_INLINE struct google_protobuf_Any* envoy_config_accesslog_v3_AccessLog_mutable_typed_config(envoy_config_accesslog_v3_AccessLog* msg, upb_Arena* arena) {
|
190
195
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_accesslog_v3_AccessLog_typed_config(msg);
|
@@ -203,7 +208,8 @@ UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_
|
|
203
208
|
UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_AccessLogFilter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
204
209
|
envoy_config_accesslog_v3_AccessLogFilter* ret = envoy_config_accesslog_v3_AccessLogFilter_new(arena);
|
205
210
|
if (!ret) return NULL;
|
206
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__AccessLogFilter_msg_init, NULL, 0, arena) !=
|
211
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__AccessLogFilter_msg_init, NULL, 0, arena) !=
|
212
|
+
kUpb_DecodeStatus_Ok) {
|
207
213
|
return NULL;
|
208
214
|
}
|
209
215
|
return ret;
|
@@ -213,21 +219,21 @@ UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_
|
|
213
219
|
int options, upb_Arena* arena) {
|
214
220
|
envoy_config_accesslog_v3_AccessLogFilter* ret = envoy_config_accesslog_v3_AccessLogFilter_new(arena);
|
215
221
|
if (!ret) return NULL;
|
216
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__AccessLogFilter_msg_init, extreg, options,
|
217
|
-
|
222
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__AccessLogFilter_msg_init, extreg, options,
|
223
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
218
224
|
return NULL;
|
219
225
|
}
|
220
226
|
return ret;
|
221
227
|
}
|
222
228
|
UPB_INLINE char* envoy_config_accesslog_v3_AccessLogFilter_serialize(const envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena, size_t* len) {
|
223
229
|
char* ptr;
|
224
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__AccessLogFilter_msg_init, 0, arena, &ptr, len);
|
230
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__AccessLogFilter_msg_init, 0, arena, &ptr, len);
|
225
231
|
return ptr;
|
226
232
|
}
|
227
233
|
UPB_INLINE char* envoy_config_accesslog_v3_AccessLogFilter_serialize_ex(const envoy_config_accesslog_v3_AccessLogFilter* msg, int options,
|
228
234
|
upb_Arena* arena, size_t* len) {
|
229
235
|
char* ptr;
|
230
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__AccessLogFilter_msg_init, options, arena, &ptr, len);
|
236
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__AccessLogFilter_msg_init, options, arena, &ptr, len);
|
231
237
|
return ptr;
|
232
238
|
}
|
233
239
|
typedef enum {
|
@@ -247,208 +253,222 @@ typedef enum {
|
|
247
253
|
envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_NOT_SET = 0
|
248
254
|
} envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_oneofcases;
|
249
255
|
UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_oneofcases envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_case(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
250
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
251
|
-
return (envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(
|
256
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
257
|
+
return (envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(
|
258
|
+
UPB_UPCAST(msg), &field);
|
252
259
|
}
|
253
260
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_status_code_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
254
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
255
|
-
|
261
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
262
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
256
263
|
}
|
257
264
|
UPB_INLINE const envoy_config_accesslog_v3_StatusCodeFilter* envoy_config_accesslog_v3_AccessLogFilter_status_code_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
258
265
|
const envoy_config_accesslog_v3_StatusCodeFilter* default_val = NULL;
|
259
266
|
const envoy_config_accesslog_v3_StatusCodeFilter* ret;
|
260
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
261
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
267
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
268
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
269
|
+
&default_val, &ret);
|
262
270
|
return ret;
|
263
271
|
}
|
264
272
|
UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_status_code_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
265
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
266
|
-
return
|
273
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
274
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
267
275
|
}
|
268
276
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_duration_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
269
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
270
|
-
|
277
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
278
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
271
279
|
}
|
272
280
|
UPB_INLINE const envoy_config_accesslog_v3_DurationFilter* envoy_config_accesslog_v3_AccessLogFilter_duration_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
273
281
|
const envoy_config_accesslog_v3_DurationFilter* default_val = NULL;
|
274
282
|
const envoy_config_accesslog_v3_DurationFilter* ret;
|
275
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
276
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
283
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
284
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
285
|
+
&default_val, &ret);
|
277
286
|
return ret;
|
278
287
|
}
|
279
288
|
UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_duration_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
280
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
281
|
-
return
|
289
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
290
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
282
291
|
}
|
283
292
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_not_health_check_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
284
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
285
|
-
|
293
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
294
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
286
295
|
}
|
287
296
|
UPB_INLINE const envoy_config_accesslog_v3_NotHealthCheckFilter* envoy_config_accesslog_v3_AccessLogFilter_not_health_check_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
288
297
|
const envoy_config_accesslog_v3_NotHealthCheckFilter* default_val = NULL;
|
289
298
|
const envoy_config_accesslog_v3_NotHealthCheckFilter* ret;
|
290
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
291
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
299
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
300
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
301
|
+
&default_val, &ret);
|
292
302
|
return ret;
|
293
303
|
}
|
294
304
|
UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_not_health_check_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
295
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
296
|
-
return
|
305
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
306
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
297
307
|
}
|
298
308
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_traceable_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
299
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
300
|
-
|
309
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
310
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
301
311
|
}
|
302
312
|
UPB_INLINE const envoy_config_accesslog_v3_TraceableFilter* envoy_config_accesslog_v3_AccessLogFilter_traceable_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
303
313
|
const envoy_config_accesslog_v3_TraceableFilter* default_val = NULL;
|
304
314
|
const envoy_config_accesslog_v3_TraceableFilter* ret;
|
305
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
306
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
315
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
316
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
317
|
+
&default_val, &ret);
|
307
318
|
return ret;
|
308
319
|
}
|
309
320
|
UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_traceable_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
310
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
311
|
-
return
|
321
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
322
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
312
323
|
}
|
313
324
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_runtime_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
314
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
315
|
-
|
325
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
326
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
316
327
|
}
|
317
328
|
UPB_INLINE const envoy_config_accesslog_v3_RuntimeFilter* envoy_config_accesslog_v3_AccessLogFilter_runtime_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
318
329
|
const envoy_config_accesslog_v3_RuntimeFilter* default_val = NULL;
|
319
330
|
const envoy_config_accesslog_v3_RuntimeFilter* ret;
|
320
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
321
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
331
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
332
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
333
|
+
&default_val, &ret);
|
322
334
|
return ret;
|
323
335
|
}
|
324
336
|
UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_runtime_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
325
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
326
|
-
return
|
337
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
338
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
327
339
|
}
|
328
340
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_and_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
329
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
330
|
-
|
341
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
342
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
331
343
|
}
|
332
344
|
UPB_INLINE const envoy_config_accesslog_v3_AndFilter* envoy_config_accesslog_v3_AccessLogFilter_and_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
333
345
|
const envoy_config_accesslog_v3_AndFilter* default_val = NULL;
|
334
346
|
const envoy_config_accesslog_v3_AndFilter* ret;
|
335
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
336
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
347
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
348
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
349
|
+
&default_val, &ret);
|
337
350
|
return ret;
|
338
351
|
}
|
339
352
|
UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_and_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
340
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
341
|
-
return
|
353
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
354
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
342
355
|
}
|
343
356
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_or_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
344
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
345
|
-
|
357
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
358
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
346
359
|
}
|
347
360
|
UPB_INLINE const envoy_config_accesslog_v3_OrFilter* envoy_config_accesslog_v3_AccessLogFilter_or_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
348
361
|
const envoy_config_accesslog_v3_OrFilter* default_val = NULL;
|
349
362
|
const envoy_config_accesslog_v3_OrFilter* ret;
|
350
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
351
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
363
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
364
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
365
|
+
&default_val, &ret);
|
352
366
|
return ret;
|
353
367
|
}
|
354
368
|
UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_or_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
355
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
356
|
-
return
|
369
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
370
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
357
371
|
}
|
358
372
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_header_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
359
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
360
|
-
|
373
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
374
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
361
375
|
}
|
362
376
|
UPB_INLINE const envoy_config_accesslog_v3_HeaderFilter* envoy_config_accesslog_v3_AccessLogFilter_header_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
363
377
|
const envoy_config_accesslog_v3_HeaderFilter* default_val = NULL;
|
364
378
|
const envoy_config_accesslog_v3_HeaderFilter* ret;
|
365
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
366
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
379
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
380
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
381
|
+
&default_val, &ret);
|
367
382
|
return ret;
|
368
383
|
}
|
369
384
|
UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_header_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
370
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
371
|
-
return
|
385
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
386
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
372
387
|
}
|
373
388
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_response_flag_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
374
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
375
|
-
|
389
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
390
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
376
391
|
}
|
377
392
|
UPB_INLINE const envoy_config_accesslog_v3_ResponseFlagFilter* envoy_config_accesslog_v3_AccessLogFilter_response_flag_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
378
393
|
const envoy_config_accesslog_v3_ResponseFlagFilter* default_val = NULL;
|
379
394
|
const envoy_config_accesslog_v3_ResponseFlagFilter* ret;
|
380
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
381
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
395
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
396
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
397
|
+
&default_val, &ret);
|
382
398
|
return ret;
|
383
399
|
}
|
384
400
|
UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_response_flag_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
385
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
386
|
-
return
|
401
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
402
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
387
403
|
}
|
388
404
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_grpc_status_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
389
|
-
const upb_MiniTableField field = {10, UPB_SIZE(
|
390
|
-
|
405
|
+
const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
406
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
391
407
|
}
|
392
408
|
UPB_INLINE const envoy_config_accesslog_v3_GrpcStatusFilter* envoy_config_accesslog_v3_AccessLogFilter_grpc_status_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
393
409
|
const envoy_config_accesslog_v3_GrpcStatusFilter* default_val = NULL;
|
394
410
|
const envoy_config_accesslog_v3_GrpcStatusFilter* ret;
|
395
|
-
const upb_MiniTableField field = {10, UPB_SIZE(
|
396
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
411
|
+
const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
412
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
413
|
+
&default_val, &ret);
|
397
414
|
return ret;
|
398
415
|
}
|
399
416
|
UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_grpc_status_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
400
|
-
const upb_MiniTableField field = {10, UPB_SIZE(
|
401
|
-
return
|
417
|
+
const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
418
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
402
419
|
}
|
403
420
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_extension_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
404
|
-
const upb_MiniTableField field = {11, UPB_SIZE(
|
405
|
-
|
421
|
+
const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
422
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
406
423
|
}
|
407
424
|
UPB_INLINE const envoy_config_accesslog_v3_ExtensionFilter* envoy_config_accesslog_v3_AccessLogFilter_extension_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
408
425
|
const envoy_config_accesslog_v3_ExtensionFilter* default_val = NULL;
|
409
426
|
const envoy_config_accesslog_v3_ExtensionFilter* ret;
|
410
|
-
const upb_MiniTableField field = {11, UPB_SIZE(
|
411
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
427
|
+
const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
428
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
429
|
+
&default_val, &ret);
|
412
430
|
return ret;
|
413
431
|
}
|
414
432
|
UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_extension_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
415
|
-
const upb_MiniTableField field = {11, UPB_SIZE(
|
416
|
-
return
|
433
|
+
const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
434
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
417
435
|
}
|
418
436
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_metadata_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
419
|
-
const upb_MiniTableField field = {12, UPB_SIZE(
|
420
|
-
|
437
|
+
const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
438
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
421
439
|
}
|
422
440
|
UPB_INLINE const envoy_config_accesslog_v3_MetadataFilter* envoy_config_accesslog_v3_AccessLogFilter_metadata_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
423
441
|
const envoy_config_accesslog_v3_MetadataFilter* default_val = NULL;
|
424
442
|
const envoy_config_accesslog_v3_MetadataFilter* ret;
|
425
|
-
const upb_MiniTableField field = {12, UPB_SIZE(
|
426
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
443
|
+
const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
444
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
445
|
+
&default_val, &ret);
|
427
446
|
return ret;
|
428
447
|
}
|
429
448
|
UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_metadata_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
430
|
-
const upb_MiniTableField field = {12, UPB_SIZE(
|
431
|
-
return
|
449
|
+
const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
450
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
432
451
|
}
|
433
452
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_log_type_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
434
|
-
const upb_MiniTableField field = {13, UPB_SIZE(
|
435
|
-
|
453
|
+
const upb_MiniTableField field = {13, UPB_SIZE(12, 16), -9, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
454
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
436
455
|
}
|
437
456
|
UPB_INLINE const envoy_config_accesslog_v3_LogTypeFilter* envoy_config_accesslog_v3_AccessLogFilter_log_type_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
438
457
|
const envoy_config_accesslog_v3_LogTypeFilter* default_val = NULL;
|
439
458
|
const envoy_config_accesslog_v3_LogTypeFilter* ret;
|
440
|
-
const upb_MiniTableField field = {13, UPB_SIZE(
|
441
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
459
|
+
const upb_MiniTableField field = {13, UPB_SIZE(12, 16), -9, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
460
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
461
|
+
&default_val, &ret);
|
442
462
|
return ret;
|
443
463
|
}
|
444
464
|
UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_log_type_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) {
|
445
|
-
const upb_MiniTableField field = {13, UPB_SIZE(
|
446
|
-
return
|
465
|
+
const upb_MiniTableField field = {13, UPB_SIZE(12, 16), -9, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
466
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
447
467
|
}
|
448
468
|
|
449
469
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_status_code_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_StatusCodeFilter* value) {
|
450
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
451
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
470
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
471
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
452
472
|
}
|
453
473
|
UPB_INLINE struct envoy_config_accesslog_v3_StatusCodeFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_status_code_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) {
|
454
474
|
struct envoy_config_accesslog_v3_StatusCodeFilter* sub = (struct envoy_config_accesslog_v3_StatusCodeFilter*)envoy_config_accesslog_v3_AccessLogFilter_status_code_filter(msg);
|
@@ -459,8 +479,8 @@ UPB_INLINE struct envoy_config_accesslog_v3_StatusCodeFilter* envoy_config_acces
|
|
459
479
|
return sub;
|
460
480
|
}
|
461
481
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_duration_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_DurationFilter* value) {
|
462
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
463
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
482
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
483
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
464
484
|
}
|
465
485
|
UPB_INLINE struct envoy_config_accesslog_v3_DurationFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_duration_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) {
|
466
486
|
struct envoy_config_accesslog_v3_DurationFilter* sub = (struct envoy_config_accesslog_v3_DurationFilter*)envoy_config_accesslog_v3_AccessLogFilter_duration_filter(msg);
|
@@ -471,8 +491,8 @@ UPB_INLINE struct envoy_config_accesslog_v3_DurationFilter* envoy_config_accessl
|
|
471
491
|
return sub;
|
472
492
|
}
|
473
493
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_not_health_check_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_NotHealthCheckFilter* value) {
|
474
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
475
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
494
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
495
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
476
496
|
}
|
477
497
|
UPB_INLINE struct envoy_config_accesslog_v3_NotHealthCheckFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_not_health_check_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) {
|
478
498
|
struct envoy_config_accesslog_v3_NotHealthCheckFilter* sub = (struct envoy_config_accesslog_v3_NotHealthCheckFilter*)envoy_config_accesslog_v3_AccessLogFilter_not_health_check_filter(msg);
|
@@ -483,8 +503,8 @@ UPB_INLINE struct envoy_config_accesslog_v3_NotHealthCheckFilter* envoy_config_a
|
|
483
503
|
return sub;
|
484
504
|
}
|
485
505
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_traceable_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_TraceableFilter* value) {
|
486
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
487
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
506
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
507
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
488
508
|
}
|
489
509
|
UPB_INLINE struct envoy_config_accesslog_v3_TraceableFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_traceable_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) {
|
490
510
|
struct envoy_config_accesslog_v3_TraceableFilter* sub = (struct envoy_config_accesslog_v3_TraceableFilter*)envoy_config_accesslog_v3_AccessLogFilter_traceable_filter(msg);
|
@@ -495,8 +515,8 @@ UPB_INLINE struct envoy_config_accesslog_v3_TraceableFilter* envoy_config_access
|
|
495
515
|
return sub;
|
496
516
|
}
|
497
517
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_runtime_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_RuntimeFilter* value) {
|
498
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
499
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
518
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
519
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
500
520
|
}
|
501
521
|
UPB_INLINE struct envoy_config_accesslog_v3_RuntimeFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_runtime_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) {
|
502
522
|
struct envoy_config_accesslog_v3_RuntimeFilter* sub = (struct envoy_config_accesslog_v3_RuntimeFilter*)envoy_config_accesslog_v3_AccessLogFilter_runtime_filter(msg);
|
@@ -507,8 +527,8 @@ UPB_INLINE struct envoy_config_accesslog_v3_RuntimeFilter* envoy_config_accesslo
|
|
507
527
|
return sub;
|
508
528
|
}
|
509
529
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_and_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_AndFilter* value) {
|
510
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
511
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
530
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
531
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
512
532
|
}
|
513
533
|
UPB_INLINE struct envoy_config_accesslog_v3_AndFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_and_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) {
|
514
534
|
struct envoy_config_accesslog_v3_AndFilter* sub = (struct envoy_config_accesslog_v3_AndFilter*)envoy_config_accesslog_v3_AccessLogFilter_and_filter(msg);
|
@@ -519,8 +539,8 @@ UPB_INLINE struct envoy_config_accesslog_v3_AndFilter* envoy_config_accesslog_v3
|
|
519
539
|
return sub;
|
520
540
|
}
|
521
541
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_or_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_OrFilter* value) {
|
522
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
523
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
542
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
543
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
524
544
|
}
|
525
545
|
UPB_INLINE struct envoy_config_accesslog_v3_OrFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_or_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) {
|
526
546
|
struct envoy_config_accesslog_v3_OrFilter* sub = (struct envoy_config_accesslog_v3_OrFilter*)envoy_config_accesslog_v3_AccessLogFilter_or_filter(msg);
|
@@ -531,8 +551,8 @@ UPB_INLINE struct envoy_config_accesslog_v3_OrFilter* envoy_config_accesslog_v3_
|
|
531
551
|
return sub;
|
532
552
|
}
|
533
553
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_header_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_HeaderFilter* value) {
|
534
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
535
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
554
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
555
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
536
556
|
}
|
537
557
|
UPB_INLINE struct envoy_config_accesslog_v3_HeaderFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_header_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) {
|
538
558
|
struct envoy_config_accesslog_v3_HeaderFilter* sub = (struct envoy_config_accesslog_v3_HeaderFilter*)envoy_config_accesslog_v3_AccessLogFilter_header_filter(msg);
|
@@ -543,8 +563,8 @@ UPB_INLINE struct envoy_config_accesslog_v3_HeaderFilter* envoy_config_accesslog
|
|
543
563
|
return sub;
|
544
564
|
}
|
545
565
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_response_flag_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_ResponseFlagFilter* value) {
|
546
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
547
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
566
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
567
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
548
568
|
}
|
549
569
|
UPB_INLINE struct envoy_config_accesslog_v3_ResponseFlagFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_response_flag_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) {
|
550
570
|
struct envoy_config_accesslog_v3_ResponseFlagFilter* sub = (struct envoy_config_accesslog_v3_ResponseFlagFilter*)envoy_config_accesslog_v3_AccessLogFilter_response_flag_filter(msg);
|
@@ -555,8 +575,8 @@ UPB_INLINE struct envoy_config_accesslog_v3_ResponseFlagFilter* envoy_config_acc
|
|
555
575
|
return sub;
|
556
576
|
}
|
557
577
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_grpc_status_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_GrpcStatusFilter* value) {
|
558
|
-
const upb_MiniTableField field = {10, UPB_SIZE(
|
559
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
578
|
+
const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
579
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
560
580
|
}
|
561
581
|
UPB_INLINE struct envoy_config_accesslog_v3_GrpcStatusFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_grpc_status_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) {
|
562
582
|
struct envoy_config_accesslog_v3_GrpcStatusFilter* sub = (struct envoy_config_accesslog_v3_GrpcStatusFilter*)envoy_config_accesslog_v3_AccessLogFilter_grpc_status_filter(msg);
|
@@ -567,8 +587,8 @@ UPB_INLINE struct envoy_config_accesslog_v3_GrpcStatusFilter* envoy_config_acces
|
|
567
587
|
return sub;
|
568
588
|
}
|
569
589
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_extension_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_ExtensionFilter* value) {
|
570
|
-
const upb_MiniTableField field = {11, UPB_SIZE(
|
571
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
590
|
+
const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
591
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
572
592
|
}
|
573
593
|
UPB_INLINE struct envoy_config_accesslog_v3_ExtensionFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_extension_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) {
|
574
594
|
struct envoy_config_accesslog_v3_ExtensionFilter* sub = (struct envoy_config_accesslog_v3_ExtensionFilter*)envoy_config_accesslog_v3_AccessLogFilter_extension_filter(msg);
|
@@ -579,8 +599,8 @@ UPB_INLINE struct envoy_config_accesslog_v3_ExtensionFilter* envoy_config_access
|
|
579
599
|
return sub;
|
580
600
|
}
|
581
601
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_metadata_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_MetadataFilter* value) {
|
582
|
-
const upb_MiniTableField field = {12, UPB_SIZE(
|
583
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
602
|
+
const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
603
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
584
604
|
}
|
585
605
|
UPB_INLINE struct envoy_config_accesslog_v3_MetadataFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_metadata_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) {
|
586
606
|
struct envoy_config_accesslog_v3_MetadataFilter* sub = (struct envoy_config_accesslog_v3_MetadataFilter*)envoy_config_accesslog_v3_AccessLogFilter_metadata_filter(msg);
|
@@ -591,8 +611,8 @@ UPB_INLINE struct envoy_config_accesslog_v3_MetadataFilter* envoy_config_accessl
|
|
591
611
|
return sub;
|
592
612
|
}
|
593
613
|
UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_log_type_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_LogTypeFilter* value) {
|
594
|
-
const upb_MiniTableField field = {13, UPB_SIZE(
|
595
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
614
|
+
const upb_MiniTableField field = {13, UPB_SIZE(12, 16), -9, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
615
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
596
616
|
}
|
597
617
|
UPB_INLINE struct envoy_config_accesslog_v3_LogTypeFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_log_type_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) {
|
598
618
|
struct envoy_config_accesslog_v3_LogTypeFilter* sub = (struct envoy_config_accesslog_v3_LogTypeFilter*)envoy_config_accesslog_v3_AccessLogFilter_log_type_filter(msg);
|
@@ -611,7 +631,8 @@ UPB_INLINE envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3
|
|
611
631
|
UPB_INLINE envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_ComparisonFilter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
612
632
|
envoy_config_accesslog_v3_ComparisonFilter* ret = envoy_config_accesslog_v3_ComparisonFilter_new(arena);
|
613
633
|
if (!ret) return NULL;
|
614
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__ComparisonFilter_msg_init, NULL, 0, arena) !=
|
634
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__ComparisonFilter_msg_init, NULL, 0, arena) !=
|
635
|
+
kUpb_DecodeStatus_Ok) {
|
615
636
|
return NULL;
|
616
637
|
}
|
617
638
|
return ret;
|
@@ -621,57 +642,59 @@ UPB_INLINE envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3
|
|
621
642
|
int options, upb_Arena* arena) {
|
622
643
|
envoy_config_accesslog_v3_ComparisonFilter* ret = envoy_config_accesslog_v3_ComparisonFilter_new(arena);
|
623
644
|
if (!ret) return NULL;
|
624
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__ComparisonFilter_msg_init, extreg, options,
|
625
|
-
|
645
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__ComparisonFilter_msg_init, extreg, options,
|
646
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
626
647
|
return NULL;
|
627
648
|
}
|
628
649
|
return ret;
|
629
650
|
}
|
630
651
|
UPB_INLINE char* envoy_config_accesslog_v3_ComparisonFilter_serialize(const envoy_config_accesslog_v3_ComparisonFilter* msg, upb_Arena* arena, size_t* len) {
|
631
652
|
char* ptr;
|
632
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__ComparisonFilter_msg_init, 0, arena, &ptr, len);
|
653
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__ComparisonFilter_msg_init, 0, arena, &ptr, len);
|
633
654
|
return ptr;
|
634
655
|
}
|
635
656
|
UPB_INLINE char* envoy_config_accesslog_v3_ComparisonFilter_serialize_ex(const envoy_config_accesslog_v3_ComparisonFilter* msg, int options,
|
636
657
|
upb_Arena* arena, size_t* len) {
|
637
658
|
char* ptr;
|
638
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__ComparisonFilter_msg_init, options, arena, &ptr, len);
|
659
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__ComparisonFilter_msg_init, options, arena, &ptr, len);
|
639
660
|
return ptr;
|
640
661
|
}
|
641
662
|
UPB_INLINE void envoy_config_accesslog_v3_ComparisonFilter_clear_op(envoy_config_accesslog_v3_ComparisonFilter* msg) {
|
642
|
-
const upb_MiniTableField field = {1,
|
643
|
-
|
663
|
+
const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
664
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
644
665
|
}
|
645
666
|
UPB_INLINE int32_t envoy_config_accesslog_v3_ComparisonFilter_op(const envoy_config_accesslog_v3_ComparisonFilter* msg) {
|
646
667
|
int32_t default_val = 0;
|
647
668
|
int32_t ret;
|
648
|
-
const upb_MiniTableField field = {1,
|
649
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
669
|
+
const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
670
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
671
|
+
&default_val, &ret);
|
650
672
|
return ret;
|
651
673
|
}
|
652
674
|
UPB_INLINE void envoy_config_accesslog_v3_ComparisonFilter_clear_value(envoy_config_accesslog_v3_ComparisonFilter* msg) {
|
653
|
-
const upb_MiniTableField field = {2,
|
654
|
-
|
675
|
+
const upb_MiniTableField field = {2, 16, 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
676
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
655
677
|
}
|
656
678
|
UPB_INLINE const struct envoy_config_core_v3_RuntimeUInt32* envoy_config_accesslog_v3_ComparisonFilter_value(const envoy_config_accesslog_v3_ComparisonFilter* msg) {
|
657
679
|
const struct envoy_config_core_v3_RuntimeUInt32* default_val = NULL;
|
658
680
|
const struct envoy_config_core_v3_RuntimeUInt32* ret;
|
659
|
-
const upb_MiniTableField field = {2,
|
660
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
681
|
+
const upb_MiniTableField field = {2, 16, 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
682
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
683
|
+
&default_val, &ret);
|
661
684
|
return ret;
|
662
685
|
}
|
663
686
|
UPB_INLINE bool envoy_config_accesslog_v3_ComparisonFilter_has_value(const envoy_config_accesslog_v3_ComparisonFilter* msg) {
|
664
|
-
const upb_MiniTableField field = {2,
|
665
|
-
return
|
687
|
+
const upb_MiniTableField field = {2, 16, 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
688
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
666
689
|
}
|
667
690
|
|
668
691
|
UPB_INLINE void envoy_config_accesslog_v3_ComparisonFilter_set_op(envoy_config_accesslog_v3_ComparisonFilter *msg, int32_t value) {
|
669
|
-
const upb_MiniTableField field = {1,
|
670
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
692
|
+
const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
693
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
671
694
|
}
|
672
695
|
UPB_INLINE void envoy_config_accesslog_v3_ComparisonFilter_set_value(envoy_config_accesslog_v3_ComparisonFilter *msg, struct envoy_config_core_v3_RuntimeUInt32* value) {
|
673
|
-
const upb_MiniTableField field = {2,
|
674
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
696
|
+
const upb_MiniTableField field = {2, 16, 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
697
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
675
698
|
}
|
676
699
|
UPB_INLINE struct envoy_config_core_v3_RuntimeUInt32* envoy_config_accesslog_v3_ComparisonFilter_mutable_value(envoy_config_accesslog_v3_ComparisonFilter* msg, upb_Arena* arena) {
|
677
700
|
struct envoy_config_core_v3_RuntimeUInt32* sub = (struct envoy_config_core_v3_RuntimeUInt32*)envoy_config_accesslog_v3_ComparisonFilter_value(msg);
|
@@ -690,7 +713,8 @@ UPB_INLINE envoy_config_accesslog_v3_StatusCodeFilter* envoy_config_accesslog_v3
|
|
690
713
|
UPB_INLINE envoy_config_accesslog_v3_StatusCodeFilter* envoy_config_accesslog_v3_StatusCodeFilter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
691
714
|
envoy_config_accesslog_v3_StatusCodeFilter* ret = envoy_config_accesslog_v3_StatusCodeFilter_new(arena);
|
692
715
|
if (!ret) return NULL;
|
693
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__StatusCodeFilter_msg_init, NULL, 0, arena) !=
|
716
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__StatusCodeFilter_msg_init, NULL, 0, arena) !=
|
717
|
+
kUpb_DecodeStatus_Ok) {
|
694
718
|
return NULL;
|
695
719
|
}
|
696
720
|
return ret;
|
@@ -700,42 +724,43 @@ UPB_INLINE envoy_config_accesslog_v3_StatusCodeFilter* envoy_config_accesslog_v3
|
|
700
724
|
int options, upb_Arena* arena) {
|
701
725
|
envoy_config_accesslog_v3_StatusCodeFilter* ret = envoy_config_accesslog_v3_StatusCodeFilter_new(arena);
|
702
726
|
if (!ret) return NULL;
|
703
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__StatusCodeFilter_msg_init, extreg, options,
|
704
|
-
|
727
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__StatusCodeFilter_msg_init, extreg, options,
|
728
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
705
729
|
return NULL;
|
706
730
|
}
|
707
731
|
return ret;
|
708
732
|
}
|
709
733
|
UPB_INLINE char* envoy_config_accesslog_v3_StatusCodeFilter_serialize(const envoy_config_accesslog_v3_StatusCodeFilter* msg, upb_Arena* arena, size_t* len) {
|
710
734
|
char* ptr;
|
711
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__StatusCodeFilter_msg_init, 0, arena, &ptr, len);
|
735
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__StatusCodeFilter_msg_init, 0, arena, &ptr, len);
|
712
736
|
return ptr;
|
713
737
|
}
|
714
738
|
UPB_INLINE char* envoy_config_accesslog_v3_StatusCodeFilter_serialize_ex(const envoy_config_accesslog_v3_StatusCodeFilter* msg, int options,
|
715
739
|
upb_Arena* arena, size_t* len) {
|
716
740
|
char* ptr;
|
717
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__StatusCodeFilter_msg_init, options, arena, &ptr, len);
|
741
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__StatusCodeFilter_msg_init, options, arena, &ptr, len);
|
718
742
|
return ptr;
|
719
743
|
}
|
720
744
|
UPB_INLINE void envoy_config_accesslog_v3_StatusCodeFilter_clear_comparison(envoy_config_accesslog_v3_StatusCodeFilter* msg) {
|
721
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
722
|
-
|
745
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
746
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
723
747
|
}
|
724
748
|
UPB_INLINE const envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_StatusCodeFilter_comparison(const envoy_config_accesslog_v3_StatusCodeFilter* msg) {
|
725
749
|
const envoy_config_accesslog_v3_ComparisonFilter* default_val = NULL;
|
726
750
|
const envoy_config_accesslog_v3_ComparisonFilter* ret;
|
727
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
728
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
751
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
752
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
753
|
+
&default_val, &ret);
|
729
754
|
return ret;
|
730
755
|
}
|
731
756
|
UPB_INLINE bool envoy_config_accesslog_v3_StatusCodeFilter_has_comparison(const envoy_config_accesslog_v3_StatusCodeFilter* msg) {
|
732
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
733
|
-
return
|
757
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
758
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
734
759
|
}
|
735
760
|
|
736
761
|
UPB_INLINE void envoy_config_accesslog_v3_StatusCodeFilter_set_comparison(envoy_config_accesslog_v3_StatusCodeFilter *msg, envoy_config_accesslog_v3_ComparisonFilter* value) {
|
737
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
738
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
762
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
763
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
739
764
|
}
|
740
765
|
UPB_INLINE struct envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_StatusCodeFilter_mutable_comparison(envoy_config_accesslog_v3_StatusCodeFilter* msg, upb_Arena* arena) {
|
741
766
|
struct envoy_config_accesslog_v3_ComparisonFilter* sub = (struct envoy_config_accesslog_v3_ComparisonFilter*)envoy_config_accesslog_v3_StatusCodeFilter_comparison(msg);
|
@@ -754,7 +779,8 @@ UPB_INLINE envoy_config_accesslog_v3_DurationFilter* envoy_config_accesslog_v3_D
|
|
754
779
|
UPB_INLINE envoy_config_accesslog_v3_DurationFilter* envoy_config_accesslog_v3_DurationFilter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
755
780
|
envoy_config_accesslog_v3_DurationFilter* ret = envoy_config_accesslog_v3_DurationFilter_new(arena);
|
756
781
|
if (!ret) return NULL;
|
757
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__DurationFilter_msg_init, NULL, 0, arena) !=
|
782
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__DurationFilter_msg_init, NULL, 0, arena) !=
|
783
|
+
kUpb_DecodeStatus_Ok) {
|
758
784
|
return NULL;
|
759
785
|
}
|
760
786
|
return ret;
|
@@ -764,42 +790,43 @@ UPB_INLINE envoy_config_accesslog_v3_DurationFilter* envoy_config_accesslog_v3_D
|
|
764
790
|
int options, upb_Arena* arena) {
|
765
791
|
envoy_config_accesslog_v3_DurationFilter* ret = envoy_config_accesslog_v3_DurationFilter_new(arena);
|
766
792
|
if (!ret) return NULL;
|
767
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__DurationFilter_msg_init, extreg, options,
|
768
|
-
|
793
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__DurationFilter_msg_init, extreg, options,
|
794
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
769
795
|
return NULL;
|
770
796
|
}
|
771
797
|
return ret;
|
772
798
|
}
|
773
799
|
UPB_INLINE char* envoy_config_accesslog_v3_DurationFilter_serialize(const envoy_config_accesslog_v3_DurationFilter* msg, upb_Arena* arena, size_t* len) {
|
774
800
|
char* ptr;
|
775
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__DurationFilter_msg_init, 0, arena, &ptr, len);
|
801
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__DurationFilter_msg_init, 0, arena, &ptr, len);
|
776
802
|
return ptr;
|
777
803
|
}
|
778
804
|
UPB_INLINE char* envoy_config_accesslog_v3_DurationFilter_serialize_ex(const envoy_config_accesslog_v3_DurationFilter* msg, int options,
|
779
805
|
upb_Arena* arena, size_t* len) {
|
780
806
|
char* ptr;
|
781
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__DurationFilter_msg_init, options, arena, &ptr, len);
|
807
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__DurationFilter_msg_init, options, arena, &ptr, len);
|
782
808
|
return ptr;
|
783
809
|
}
|
784
810
|
UPB_INLINE void envoy_config_accesslog_v3_DurationFilter_clear_comparison(envoy_config_accesslog_v3_DurationFilter* msg) {
|
785
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
786
|
-
|
811
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
812
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
787
813
|
}
|
788
814
|
UPB_INLINE const envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_DurationFilter_comparison(const envoy_config_accesslog_v3_DurationFilter* msg) {
|
789
815
|
const envoy_config_accesslog_v3_ComparisonFilter* default_val = NULL;
|
790
816
|
const envoy_config_accesslog_v3_ComparisonFilter* ret;
|
791
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
792
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
817
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
818
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
819
|
+
&default_val, &ret);
|
793
820
|
return ret;
|
794
821
|
}
|
795
822
|
UPB_INLINE bool envoy_config_accesslog_v3_DurationFilter_has_comparison(const envoy_config_accesslog_v3_DurationFilter* msg) {
|
796
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
797
|
-
return
|
823
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
824
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
798
825
|
}
|
799
826
|
|
800
827
|
UPB_INLINE void envoy_config_accesslog_v3_DurationFilter_set_comparison(envoy_config_accesslog_v3_DurationFilter *msg, envoy_config_accesslog_v3_ComparisonFilter* value) {
|
801
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
802
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
828
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
829
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
803
830
|
}
|
804
831
|
UPB_INLINE struct envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_DurationFilter_mutable_comparison(envoy_config_accesslog_v3_DurationFilter* msg, upb_Arena* arena) {
|
805
832
|
struct envoy_config_accesslog_v3_ComparisonFilter* sub = (struct envoy_config_accesslog_v3_ComparisonFilter*)envoy_config_accesslog_v3_DurationFilter_comparison(msg);
|
@@ -818,7 +845,8 @@ UPB_INLINE envoy_config_accesslog_v3_NotHealthCheckFilter* envoy_config_accesslo
|
|
818
845
|
UPB_INLINE envoy_config_accesslog_v3_NotHealthCheckFilter* envoy_config_accesslog_v3_NotHealthCheckFilter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
819
846
|
envoy_config_accesslog_v3_NotHealthCheckFilter* ret = envoy_config_accesslog_v3_NotHealthCheckFilter_new(arena);
|
820
847
|
if (!ret) return NULL;
|
821
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__NotHealthCheckFilter_msg_init, NULL, 0, arena) !=
|
848
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__NotHealthCheckFilter_msg_init, NULL, 0, arena) !=
|
849
|
+
kUpb_DecodeStatus_Ok) {
|
822
850
|
return NULL;
|
823
851
|
}
|
824
852
|
return ret;
|
@@ -828,21 +856,21 @@ UPB_INLINE envoy_config_accesslog_v3_NotHealthCheckFilter* envoy_config_accesslo
|
|
828
856
|
int options, upb_Arena* arena) {
|
829
857
|
envoy_config_accesslog_v3_NotHealthCheckFilter* ret = envoy_config_accesslog_v3_NotHealthCheckFilter_new(arena);
|
830
858
|
if (!ret) return NULL;
|
831
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__NotHealthCheckFilter_msg_init, extreg, options,
|
832
|
-
|
859
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__NotHealthCheckFilter_msg_init, extreg, options,
|
860
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
833
861
|
return NULL;
|
834
862
|
}
|
835
863
|
return ret;
|
836
864
|
}
|
837
865
|
UPB_INLINE char* envoy_config_accesslog_v3_NotHealthCheckFilter_serialize(const envoy_config_accesslog_v3_NotHealthCheckFilter* msg, upb_Arena* arena, size_t* len) {
|
838
866
|
char* ptr;
|
839
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__NotHealthCheckFilter_msg_init, 0, arena, &ptr, len);
|
867
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__NotHealthCheckFilter_msg_init, 0, arena, &ptr, len);
|
840
868
|
return ptr;
|
841
869
|
}
|
842
870
|
UPB_INLINE char* envoy_config_accesslog_v3_NotHealthCheckFilter_serialize_ex(const envoy_config_accesslog_v3_NotHealthCheckFilter* msg, int options,
|
843
871
|
upb_Arena* arena, size_t* len) {
|
844
872
|
char* ptr;
|
845
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__NotHealthCheckFilter_msg_init, options, arena, &ptr, len);
|
873
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__NotHealthCheckFilter_msg_init, options, arena, &ptr, len);
|
846
874
|
return ptr;
|
847
875
|
}
|
848
876
|
|
@@ -855,7 +883,8 @@ UPB_INLINE envoy_config_accesslog_v3_TraceableFilter* envoy_config_accesslog_v3_
|
|
855
883
|
UPB_INLINE envoy_config_accesslog_v3_TraceableFilter* envoy_config_accesslog_v3_TraceableFilter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
856
884
|
envoy_config_accesslog_v3_TraceableFilter* ret = envoy_config_accesslog_v3_TraceableFilter_new(arena);
|
857
885
|
if (!ret) return NULL;
|
858
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__TraceableFilter_msg_init, NULL, 0, arena) !=
|
886
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__TraceableFilter_msg_init, NULL, 0, arena) !=
|
887
|
+
kUpb_DecodeStatus_Ok) {
|
859
888
|
return NULL;
|
860
889
|
}
|
861
890
|
return ret;
|
@@ -865,21 +894,21 @@ UPB_INLINE envoy_config_accesslog_v3_TraceableFilter* envoy_config_accesslog_v3_
|
|
865
894
|
int options, upb_Arena* arena) {
|
866
895
|
envoy_config_accesslog_v3_TraceableFilter* ret = envoy_config_accesslog_v3_TraceableFilter_new(arena);
|
867
896
|
if (!ret) return NULL;
|
868
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__TraceableFilter_msg_init, extreg, options,
|
869
|
-
|
897
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__TraceableFilter_msg_init, extreg, options,
|
898
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
870
899
|
return NULL;
|
871
900
|
}
|
872
901
|
return ret;
|
873
902
|
}
|
874
903
|
UPB_INLINE char* envoy_config_accesslog_v3_TraceableFilter_serialize(const envoy_config_accesslog_v3_TraceableFilter* msg, upb_Arena* arena, size_t* len) {
|
875
904
|
char* ptr;
|
876
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__TraceableFilter_msg_init, 0, arena, &ptr, len);
|
905
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__TraceableFilter_msg_init, 0, arena, &ptr, len);
|
877
906
|
return ptr;
|
878
907
|
}
|
879
908
|
UPB_INLINE char* envoy_config_accesslog_v3_TraceableFilter_serialize_ex(const envoy_config_accesslog_v3_TraceableFilter* msg, int options,
|
880
909
|
upb_Arena* arena, size_t* len) {
|
881
910
|
char* ptr;
|
882
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__TraceableFilter_msg_init, options, arena, &ptr, len);
|
911
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__TraceableFilter_msg_init, options, arena, &ptr, len);
|
883
912
|
return ptr;
|
884
913
|
}
|
885
914
|
|
@@ -892,7 +921,8 @@ UPB_INLINE envoy_config_accesslog_v3_RuntimeFilter* envoy_config_accesslog_v3_Ru
|
|
892
921
|
UPB_INLINE envoy_config_accesslog_v3_RuntimeFilter* envoy_config_accesslog_v3_RuntimeFilter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
893
922
|
envoy_config_accesslog_v3_RuntimeFilter* ret = envoy_config_accesslog_v3_RuntimeFilter_new(arena);
|
894
923
|
if (!ret) return NULL;
|
895
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__RuntimeFilter_msg_init, NULL, 0, arena) !=
|
924
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__RuntimeFilter_msg_init, NULL, 0, arena) !=
|
925
|
+
kUpb_DecodeStatus_Ok) {
|
896
926
|
return NULL;
|
897
927
|
}
|
898
928
|
return ret;
|
@@ -902,68 +932,71 @@ UPB_INLINE envoy_config_accesslog_v3_RuntimeFilter* envoy_config_accesslog_v3_Ru
|
|
902
932
|
int options, upb_Arena* arena) {
|
903
933
|
envoy_config_accesslog_v3_RuntimeFilter* ret = envoy_config_accesslog_v3_RuntimeFilter_new(arena);
|
904
934
|
if (!ret) return NULL;
|
905
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__RuntimeFilter_msg_init, extreg, options,
|
906
|
-
|
935
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__RuntimeFilter_msg_init, extreg, options,
|
936
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
907
937
|
return NULL;
|
908
938
|
}
|
909
939
|
return ret;
|
910
940
|
}
|
911
941
|
UPB_INLINE char* envoy_config_accesslog_v3_RuntimeFilter_serialize(const envoy_config_accesslog_v3_RuntimeFilter* msg, upb_Arena* arena, size_t* len) {
|
912
942
|
char* ptr;
|
913
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__RuntimeFilter_msg_init, 0, arena, &ptr, len);
|
943
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__RuntimeFilter_msg_init, 0, arena, &ptr, len);
|
914
944
|
return ptr;
|
915
945
|
}
|
916
946
|
UPB_INLINE char* envoy_config_accesslog_v3_RuntimeFilter_serialize_ex(const envoy_config_accesslog_v3_RuntimeFilter* msg, int options,
|
917
947
|
upb_Arena* arena, size_t* len) {
|
918
948
|
char* ptr;
|
919
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__RuntimeFilter_msg_init, options, arena, &ptr, len);
|
949
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__RuntimeFilter_msg_init, options, arena, &ptr, len);
|
920
950
|
return ptr;
|
921
951
|
}
|
922
952
|
UPB_INLINE void envoy_config_accesslog_v3_RuntimeFilter_clear_runtime_key(envoy_config_accesslog_v3_RuntimeFilter* msg) {
|
923
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
924
|
-
|
953
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
954
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
925
955
|
}
|
926
956
|
UPB_INLINE upb_StringView envoy_config_accesslog_v3_RuntimeFilter_runtime_key(const envoy_config_accesslog_v3_RuntimeFilter* msg) {
|
927
957
|
upb_StringView default_val = upb_StringView_FromString("");
|
928
958
|
upb_StringView ret;
|
929
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
930
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
959
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
960
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
961
|
+
&default_val, &ret);
|
931
962
|
return ret;
|
932
963
|
}
|
933
964
|
UPB_INLINE void envoy_config_accesslog_v3_RuntimeFilter_clear_percent_sampled(envoy_config_accesslog_v3_RuntimeFilter* msg) {
|
934
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
935
|
-
|
965
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
966
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
936
967
|
}
|
937
968
|
UPB_INLINE const struct envoy_type_v3_FractionalPercent* envoy_config_accesslog_v3_RuntimeFilter_percent_sampled(const envoy_config_accesslog_v3_RuntimeFilter* msg) {
|
938
969
|
const struct envoy_type_v3_FractionalPercent* default_val = NULL;
|
939
970
|
const struct envoy_type_v3_FractionalPercent* ret;
|
940
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
941
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
971
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
972
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
973
|
+
&default_val, &ret);
|
942
974
|
return ret;
|
943
975
|
}
|
944
976
|
UPB_INLINE bool envoy_config_accesslog_v3_RuntimeFilter_has_percent_sampled(const envoy_config_accesslog_v3_RuntimeFilter* msg) {
|
945
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
946
|
-
return
|
977
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
978
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
947
979
|
}
|
948
980
|
UPB_INLINE void envoy_config_accesslog_v3_RuntimeFilter_clear_use_independent_randomness(envoy_config_accesslog_v3_RuntimeFilter* msg) {
|
949
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
950
|
-
|
981
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
982
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
951
983
|
}
|
952
984
|
UPB_INLINE bool envoy_config_accesslog_v3_RuntimeFilter_use_independent_randomness(const envoy_config_accesslog_v3_RuntimeFilter* msg) {
|
953
985
|
bool default_val = false;
|
954
986
|
bool ret;
|
955
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
956
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
987
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
988
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
989
|
+
&default_val, &ret);
|
957
990
|
return ret;
|
958
991
|
}
|
959
992
|
|
960
993
|
UPB_INLINE void envoy_config_accesslog_v3_RuntimeFilter_set_runtime_key(envoy_config_accesslog_v3_RuntimeFilter *msg, upb_StringView value) {
|
961
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
962
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
994
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
995
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
963
996
|
}
|
964
997
|
UPB_INLINE void envoy_config_accesslog_v3_RuntimeFilter_set_percent_sampled(envoy_config_accesslog_v3_RuntimeFilter *msg, struct envoy_type_v3_FractionalPercent* value) {
|
965
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
966
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
998
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
999
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
967
1000
|
}
|
968
1001
|
UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_config_accesslog_v3_RuntimeFilter_mutable_percent_sampled(envoy_config_accesslog_v3_RuntimeFilter* msg, upb_Arena* arena) {
|
969
1002
|
struct envoy_type_v3_FractionalPercent* sub = (struct envoy_type_v3_FractionalPercent*)envoy_config_accesslog_v3_RuntimeFilter_percent_sampled(msg);
|
@@ -974,8 +1007,8 @@ UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_config_accesslog_v3_Run
|
|
974
1007
|
return sub;
|
975
1008
|
}
|
976
1009
|
UPB_INLINE void envoy_config_accesslog_v3_RuntimeFilter_set_use_independent_randomness(envoy_config_accesslog_v3_RuntimeFilter *msg, bool value) {
|
977
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
978
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1010
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1011
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
979
1012
|
}
|
980
1013
|
|
981
1014
|
/* envoy.config.accesslog.v3.AndFilter */
|
@@ -986,7 +1019,8 @@ UPB_INLINE envoy_config_accesslog_v3_AndFilter* envoy_config_accesslog_v3_AndFil
|
|
986
1019
|
UPB_INLINE envoy_config_accesslog_v3_AndFilter* envoy_config_accesslog_v3_AndFilter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
987
1020
|
envoy_config_accesslog_v3_AndFilter* ret = envoy_config_accesslog_v3_AndFilter_new(arena);
|
988
1021
|
if (!ret) return NULL;
|
989
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__AndFilter_msg_init, NULL, 0, arena) !=
|
1022
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__AndFilter_msg_init, NULL, 0, arena) !=
|
1023
|
+
kUpb_DecodeStatus_Ok) {
|
990
1024
|
return NULL;
|
991
1025
|
}
|
992
1026
|
return ret;
|
@@ -996,85 +1030,84 @@ UPB_INLINE envoy_config_accesslog_v3_AndFilter* envoy_config_accesslog_v3_AndFil
|
|
996
1030
|
int options, upb_Arena* arena) {
|
997
1031
|
envoy_config_accesslog_v3_AndFilter* ret = envoy_config_accesslog_v3_AndFilter_new(arena);
|
998
1032
|
if (!ret) return NULL;
|
999
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__AndFilter_msg_init, extreg, options,
|
1000
|
-
|
1033
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__AndFilter_msg_init, extreg, options,
|
1034
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1001
1035
|
return NULL;
|
1002
1036
|
}
|
1003
1037
|
return ret;
|
1004
1038
|
}
|
1005
1039
|
UPB_INLINE char* envoy_config_accesslog_v3_AndFilter_serialize(const envoy_config_accesslog_v3_AndFilter* msg, upb_Arena* arena, size_t* len) {
|
1006
1040
|
char* ptr;
|
1007
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__AndFilter_msg_init, 0, arena, &ptr, len);
|
1041
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__AndFilter_msg_init, 0, arena, &ptr, len);
|
1008
1042
|
return ptr;
|
1009
1043
|
}
|
1010
1044
|
UPB_INLINE char* envoy_config_accesslog_v3_AndFilter_serialize_ex(const envoy_config_accesslog_v3_AndFilter* msg, int options,
|
1011
1045
|
upb_Arena* arena, size_t* len) {
|
1012
1046
|
char* ptr;
|
1013
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__AndFilter_msg_init, options, arena, &ptr, len);
|
1047
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__AndFilter_msg_init, options, arena, &ptr, len);
|
1014
1048
|
return ptr;
|
1015
1049
|
}
|
1016
1050
|
UPB_INLINE void envoy_config_accesslog_v3_AndFilter_clear_filters(envoy_config_accesslog_v3_AndFilter* msg) {
|
1017
|
-
const upb_MiniTableField field = {1,
|
1018
|
-
|
1051
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1052
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1019
1053
|
}
|
1020
1054
|
UPB_INLINE const envoy_config_accesslog_v3_AccessLogFilter* const* envoy_config_accesslog_v3_AndFilter_filters(const envoy_config_accesslog_v3_AndFilter* msg, size_t* size) {
|
1021
|
-
const upb_MiniTableField field = {1,
|
1022
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1055
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1056
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1023
1057
|
if (arr) {
|
1024
|
-
if (size) *size = arr->size;
|
1025
|
-
return (const envoy_config_accesslog_v3_AccessLogFilter* const*)
|
1058
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1059
|
+
return (const envoy_config_accesslog_v3_AccessLogFilter* const*)upb_Array_DataPtr(arr);
|
1026
1060
|
} else {
|
1027
1061
|
if (size) *size = 0;
|
1028
1062
|
return NULL;
|
1029
1063
|
}
|
1030
1064
|
}
|
1031
1065
|
UPB_INLINE const upb_Array* _envoy_config_accesslog_v3_AndFilter_filters_upb_array(const envoy_config_accesslog_v3_AndFilter* msg, size_t* size) {
|
1032
|
-
const upb_MiniTableField field = {1,
|
1033
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1066
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1067
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1034
1068
|
if (size) {
|
1035
|
-
*size = arr ? arr->size : 0;
|
1069
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1036
1070
|
}
|
1037
1071
|
return arr;
|
1038
1072
|
}
|
1039
|
-
UPB_INLINE upb_Array* _envoy_config_accesslog_v3_AndFilter_filters_mutable_upb_array(
|
1040
|
-
const upb_MiniTableField field = {1,
|
1041
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1042
|
-
|
1073
|
+
UPB_INLINE upb_Array* _envoy_config_accesslog_v3_AndFilter_filters_mutable_upb_array(envoy_config_accesslog_v3_AndFilter* msg, size_t* size, upb_Arena* arena) {
|
1074
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1075
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1076
|
+
&field, arena);
|
1043
1077
|
if (size) {
|
1044
|
-
*size = arr ? arr->size : 0;
|
1078
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1045
1079
|
}
|
1046
1080
|
return arr;
|
1047
1081
|
}
|
1048
|
-
UPB_INLINE bool envoy_config_accesslog_v3_AndFilter_has_filters(const envoy_config_accesslog_v3_AndFilter* msg) {
|
1049
|
-
size_t size;
|
1050
|
-
envoy_config_accesslog_v3_AndFilter_filters(msg, &size);
|
1051
|
-
return size != 0;
|
1052
|
-
}
|
1053
1082
|
|
1054
1083
|
UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter** envoy_config_accesslog_v3_AndFilter_mutable_filters(envoy_config_accesslog_v3_AndFilter* msg, size_t* size) {
|
1055
|
-
upb_MiniTableField field = {1,
|
1056
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1084
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1085
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1057
1086
|
if (arr) {
|
1058
|
-
if (size) *size = arr->size;
|
1059
|
-
return (envoy_config_accesslog_v3_AccessLogFilter**)
|
1087
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1088
|
+
return (envoy_config_accesslog_v3_AccessLogFilter**)upb_Array_MutableDataPtr(arr);
|
1060
1089
|
} else {
|
1061
1090
|
if (size) *size = 0;
|
1062
1091
|
return NULL;
|
1063
1092
|
}
|
1064
1093
|
}
|
1065
1094
|
UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter** envoy_config_accesslog_v3_AndFilter_resize_filters(envoy_config_accesslog_v3_AndFilter* msg, size_t size, upb_Arena* arena) {
|
1066
|
-
upb_MiniTableField field = {1,
|
1067
|
-
return (envoy_config_accesslog_v3_AccessLogFilter**)upb_Message_ResizeArrayUninitialized(msg,
|
1095
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1096
|
+
return (envoy_config_accesslog_v3_AccessLogFilter**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1097
|
+
&field, size, arena);
|
1068
1098
|
}
|
1069
1099
|
UPB_INLINE struct envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_AndFilter_add_filters(envoy_config_accesslog_v3_AndFilter* msg, upb_Arena* arena) {
|
1070
|
-
upb_MiniTableField field = {1,
|
1071
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1072
|
-
|
1100
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1101
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1102
|
+
UPB_UPCAST(msg), &field, arena);
|
1103
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1104
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1073
1105
|
return NULL;
|
1074
1106
|
}
|
1075
1107
|
struct envoy_config_accesslog_v3_AccessLogFilter* sub = (struct envoy_config_accesslog_v3_AccessLogFilter*)_upb_Message_New(&envoy__config__accesslog__v3__AccessLogFilter_msg_init, arena);
|
1076
1108
|
if (!arr || !sub) return NULL;
|
1077
|
-
_upb_Array_Set
|
1109
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1110
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1078
1111
|
return sub;
|
1079
1112
|
}
|
1080
1113
|
|
@@ -1086,7 +1119,8 @@ UPB_INLINE envoy_config_accesslog_v3_OrFilter* envoy_config_accesslog_v3_OrFilte
|
|
1086
1119
|
UPB_INLINE envoy_config_accesslog_v3_OrFilter* envoy_config_accesslog_v3_OrFilter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1087
1120
|
envoy_config_accesslog_v3_OrFilter* ret = envoy_config_accesslog_v3_OrFilter_new(arena);
|
1088
1121
|
if (!ret) return NULL;
|
1089
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__OrFilter_msg_init, NULL, 0, arena) !=
|
1122
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__OrFilter_msg_init, NULL, 0, arena) !=
|
1123
|
+
kUpb_DecodeStatus_Ok) {
|
1090
1124
|
return NULL;
|
1091
1125
|
}
|
1092
1126
|
return ret;
|
@@ -1096,85 +1130,84 @@ UPB_INLINE envoy_config_accesslog_v3_OrFilter* envoy_config_accesslog_v3_OrFilte
|
|
1096
1130
|
int options, upb_Arena* arena) {
|
1097
1131
|
envoy_config_accesslog_v3_OrFilter* ret = envoy_config_accesslog_v3_OrFilter_new(arena);
|
1098
1132
|
if (!ret) return NULL;
|
1099
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__OrFilter_msg_init, extreg, options,
|
1100
|
-
|
1133
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__OrFilter_msg_init, extreg, options,
|
1134
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1101
1135
|
return NULL;
|
1102
1136
|
}
|
1103
1137
|
return ret;
|
1104
1138
|
}
|
1105
1139
|
UPB_INLINE char* envoy_config_accesslog_v3_OrFilter_serialize(const envoy_config_accesslog_v3_OrFilter* msg, upb_Arena* arena, size_t* len) {
|
1106
1140
|
char* ptr;
|
1107
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__OrFilter_msg_init, 0, arena, &ptr, len);
|
1141
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__OrFilter_msg_init, 0, arena, &ptr, len);
|
1108
1142
|
return ptr;
|
1109
1143
|
}
|
1110
1144
|
UPB_INLINE char* envoy_config_accesslog_v3_OrFilter_serialize_ex(const envoy_config_accesslog_v3_OrFilter* msg, int options,
|
1111
1145
|
upb_Arena* arena, size_t* len) {
|
1112
1146
|
char* ptr;
|
1113
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__OrFilter_msg_init, options, arena, &ptr, len);
|
1147
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__OrFilter_msg_init, options, arena, &ptr, len);
|
1114
1148
|
return ptr;
|
1115
1149
|
}
|
1116
1150
|
UPB_INLINE void envoy_config_accesslog_v3_OrFilter_clear_filters(envoy_config_accesslog_v3_OrFilter* msg) {
|
1117
|
-
const upb_MiniTableField field = {2,
|
1118
|
-
|
1151
|
+
const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1152
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1119
1153
|
}
|
1120
1154
|
UPB_INLINE const envoy_config_accesslog_v3_AccessLogFilter* const* envoy_config_accesslog_v3_OrFilter_filters(const envoy_config_accesslog_v3_OrFilter* msg, size_t* size) {
|
1121
|
-
const upb_MiniTableField field = {2,
|
1122
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1155
|
+
const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1156
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1123
1157
|
if (arr) {
|
1124
|
-
if (size) *size = arr->size;
|
1125
|
-
return (const envoy_config_accesslog_v3_AccessLogFilter* const*)
|
1158
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1159
|
+
return (const envoy_config_accesslog_v3_AccessLogFilter* const*)upb_Array_DataPtr(arr);
|
1126
1160
|
} else {
|
1127
1161
|
if (size) *size = 0;
|
1128
1162
|
return NULL;
|
1129
1163
|
}
|
1130
1164
|
}
|
1131
1165
|
UPB_INLINE const upb_Array* _envoy_config_accesslog_v3_OrFilter_filters_upb_array(const envoy_config_accesslog_v3_OrFilter* msg, size_t* size) {
|
1132
|
-
const upb_MiniTableField field = {2,
|
1133
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1166
|
+
const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1167
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1134
1168
|
if (size) {
|
1135
|
-
*size = arr ? arr->size : 0;
|
1169
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1136
1170
|
}
|
1137
1171
|
return arr;
|
1138
1172
|
}
|
1139
|
-
UPB_INLINE upb_Array* _envoy_config_accesslog_v3_OrFilter_filters_mutable_upb_array(
|
1140
|
-
const upb_MiniTableField field = {2,
|
1141
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1142
|
-
|
1173
|
+
UPB_INLINE upb_Array* _envoy_config_accesslog_v3_OrFilter_filters_mutable_upb_array(envoy_config_accesslog_v3_OrFilter* msg, size_t* size, upb_Arena* arena) {
|
1174
|
+
const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1175
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1176
|
+
&field, arena);
|
1143
1177
|
if (size) {
|
1144
|
-
*size = arr ? arr->size : 0;
|
1178
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1145
1179
|
}
|
1146
1180
|
return arr;
|
1147
1181
|
}
|
1148
|
-
UPB_INLINE bool envoy_config_accesslog_v3_OrFilter_has_filters(const envoy_config_accesslog_v3_OrFilter* msg) {
|
1149
|
-
size_t size;
|
1150
|
-
envoy_config_accesslog_v3_OrFilter_filters(msg, &size);
|
1151
|
-
return size != 0;
|
1152
|
-
}
|
1153
1182
|
|
1154
1183
|
UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter** envoy_config_accesslog_v3_OrFilter_mutable_filters(envoy_config_accesslog_v3_OrFilter* msg, size_t* size) {
|
1155
|
-
upb_MiniTableField field = {2,
|
1156
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1184
|
+
upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1185
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1157
1186
|
if (arr) {
|
1158
|
-
if (size) *size = arr->size;
|
1159
|
-
return (envoy_config_accesslog_v3_AccessLogFilter**)
|
1187
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1188
|
+
return (envoy_config_accesslog_v3_AccessLogFilter**)upb_Array_MutableDataPtr(arr);
|
1160
1189
|
} else {
|
1161
1190
|
if (size) *size = 0;
|
1162
1191
|
return NULL;
|
1163
1192
|
}
|
1164
1193
|
}
|
1165
1194
|
UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter** envoy_config_accesslog_v3_OrFilter_resize_filters(envoy_config_accesslog_v3_OrFilter* msg, size_t size, upb_Arena* arena) {
|
1166
|
-
upb_MiniTableField field = {2,
|
1167
|
-
return (envoy_config_accesslog_v3_AccessLogFilter**)upb_Message_ResizeArrayUninitialized(msg,
|
1195
|
+
upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1196
|
+
return (envoy_config_accesslog_v3_AccessLogFilter**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1197
|
+
&field, size, arena);
|
1168
1198
|
}
|
1169
1199
|
UPB_INLINE struct envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_OrFilter_add_filters(envoy_config_accesslog_v3_OrFilter* msg, upb_Arena* arena) {
|
1170
|
-
upb_MiniTableField field = {2,
|
1171
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1172
|
-
|
1200
|
+
upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1201
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1202
|
+
UPB_UPCAST(msg), &field, arena);
|
1203
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1204
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1173
1205
|
return NULL;
|
1174
1206
|
}
|
1175
1207
|
struct envoy_config_accesslog_v3_AccessLogFilter* sub = (struct envoy_config_accesslog_v3_AccessLogFilter*)_upb_Message_New(&envoy__config__accesslog__v3__AccessLogFilter_msg_init, arena);
|
1176
1208
|
if (!arr || !sub) return NULL;
|
1177
|
-
_upb_Array_Set
|
1209
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1210
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1178
1211
|
return sub;
|
1179
1212
|
}
|
1180
1213
|
|
@@ -1186,7 +1219,8 @@ UPB_INLINE envoy_config_accesslog_v3_HeaderFilter* envoy_config_accesslog_v3_Hea
|
|
1186
1219
|
UPB_INLINE envoy_config_accesslog_v3_HeaderFilter* envoy_config_accesslog_v3_HeaderFilter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1187
1220
|
envoy_config_accesslog_v3_HeaderFilter* ret = envoy_config_accesslog_v3_HeaderFilter_new(arena);
|
1188
1221
|
if (!ret) return NULL;
|
1189
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__HeaderFilter_msg_init, NULL, 0, arena) !=
|
1222
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__HeaderFilter_msg_init, NULL, 0, arena) !=
|
1223
|
+
kUpb_DecodeStatus_Ok) {
|
1190
1224
|
return NULL;
|
1191
1225
|
}
|
1192
1226
|
return ret;
|
@@ -1196,42 +1230,43 @@ UPB_INLINE envoy_config_accesslog_v3_HeaderFilter* envoy_config_accesslog_v3_Hea
|
|
1196
1230
|
int options, upb_Arena* arena) {
|
1197
1231
|
envoy_config_accesslog_v3_HeaderFilter* ret = envoy_config_accesslog_v3_HeaderFilter_new(arena);
|
1198
1232
|
if (!ret) return NULL;
|
1199
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__HeaderFilter_msg_init, extreg, options,
|
1200
|
-
|
1233
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__HeaderFilter_msg_init, extreg, options,
|
1234
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1201
1235
|
return NULL;
|
1202
1236
|
}
|
1203
1237
|
return ret;
|
1204
1238
|
}
|
1205
1239
|
UPB_INLINE char* envoy_config_accesslog_v3_HeaderFilter_serialize(const envoy_config_accesslog_v3_HeaderFilter* msg, upb_Arena* arena, size_t* len) {
|
1206
1240
|
char* ptr;
|
1207
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__HeaderFilter_msg_init, 0, arena, &ptr, len);
|
1241
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__HeaderFilter_msg_init, 0, arena, &ptr, len);
|
1208
1242
|
return ptr;
|
1209
1243
|
}
|
1210
1244
|
UPB_INLINE char* envoy_config_accesslog_v3_HeaderFilter_serialize_ex(const envoy_config_accesslog_v3_HeaderFilter* msg, int options,
|
1211
1245
|
upb_Arena* arena, size_t* len) {
|
1212
1246
|
char* ptr;
|
1213
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__HeaderFilter_msg_init, options, arena, &ptr, len);
|
1247
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__HeaderFilter_msg_init, options, arena, &ptr, len);
|
1214
1248
|
return ptr;
|
1215
1249
|
}
|
1216
1250
|
UPB_INLINE void envoy_config_accesslog_v3_HeaderFilter_clear_header(envoy_config_accesslog_v3_HeaderFilter* msg) {
|
1217
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1218
|
-
|
1251
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1252
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1219
1253
|
}
|
1220
1254
|
UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* envoy_config_accesslog_v3_HeaderFilter_header(const envoy_config_accesslog_v3_HeaderFilter* msg) {
|
1221
1255
|
const struct envoy_config_route_v3_HeaderMatcher* default_val = NULL;
|
1222
1256
|
const struct envoy_config_route_v3_HeaderMatcher* ret;
|
1223
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1224
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1257
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1258
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1259
|
+
&default_val, &ret);
|
1225
1260
|
return ret;
|
1226
1261
|
}
|
1227
1262
|
UPB_INLINE bool envoy_config_accesslog_v3_HeaderFilter_has_header(const envoy_config_accesslog_v3_HeaderFilter* msg) {
|
1228
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1229
|
-
return
|
1263
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1264
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1230
1265
|
}
|
1231
1266
|
|
1232
1267
|
UPB_INLINE void envoy_config_accesslog_v3_HeaderFilter_set_header(envoy_config_accesslog_v3_HeaderFilter *msg, struct envoy_config_route_v3_HeaderMatcher* value) {
|
1233
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1234
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1268
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1269
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1235
1270
|
}
|
1236
1271
|
UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_accesslog_v3_HeaderFilter_mutable_header(envoy_config_accesslog_v3_HeaderFilter* msg, upb_Arena* arena) {
|
1237
1272
|
struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)envoy_config_accesslog_v3_HeaderFilter_header(msg);
|
@@ -1250,7 +1285,8 @@ UPB_INLINE envoy_config_accesslog_v3_ResponseFlagFilter* envoy_config_accesslog_
|
|
1250
1285
|
UPB_INLINE envoy_config_accesslog_v3_ResponseFlagFilter* envoy_config_accesslog_v3_ResponseFlagFilter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1251
1286
|
envoy_config_accesslog_v3_ResponseFlagFilter* ret = envoy_config_accesslog_v3_ResponseFlagFilter_new(arena);
|
1252
1287
|
if (!ret) return NULL;
|
1253
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__ResponseFlagFilter_msg_init, NULL, 0, arena) !=
|
1288
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__ResponseFlagFilter_msg_init, NULL, 0, arena) !=
|
1289
|
+
kUpb_DecodeStatus_Ok) {
|
1254
1290
|
return NULL;
|
1255
1291
|
}
|
1256
1292
|
return ret;
|
@@ -1260,83 +1296,82 @@ UPB_INLINE envoy_config_accesslog_v3_ResponseFlagFilter* envoy_config_accesslog_
|
|
1260
1296
|
int options, upb_Arena* arena) {
|
1261
1297
|
envoy_config_accesslog_v3_ResponseFlagFilter* ret = envoy_config_accesslog_v3_ResponseFlagFilter_new(arena);
|
1262
1298
|
if (!ret) return NULL;
|
1263
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__ResponseFlagFilter_msg_init, extreg, options,
|
1264
|
-
|
1299
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__ResponseFlagFilter_msg_init, extreg, options,
|
1300
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1265
1301
|
return NULL;
|
1266
1302
|
}
|
1267
1303
|
return ret;
|
1268
1304
|
}
|
1269
1305
|
UPB_INLINE char* envoy_config_accesslog_v3_ResponseFlagFilter_serialize(const envoy_config_accesslog_v3_ResponseFlagFilter* msg, upb_Arena* arena, size_t* len) {
|
1270
1306
|
char* ptr;
|
1271
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__ResponseFlagFilter_msg_init, 0, arena, &ptr, len);
|
1307
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__ResponseFlagFilter_msg_init, 0, arena, &ptr, len);
|
1272
1308
|
return ptr;
|
1273
1309
|
}
|
1274
1310
|
UPB_INLINE char* envoy_config_accesslog_v3_ResponseFlagFilter_serialize_ex(const envoy_config_accesslog_v3_ResponseFlagFilter* msg, int options,
|
1275
1311
|
upb_Arena* arena, size_t* len) {
|
1276
1312
|
char* ptr;
|
1277
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__ResponseFlagFilter_msg_init, options, arena, &ptr, len);
|
1313
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__ResponseFlagFilter_msg_init, options, arena, &ptr, len);
|
1278
1314
|
return ptr;
|
1279
1315
|
}
|
1280
1316
|
UPB_INLINE void envoy_config_accesslog_v3_ResponseFlagFilter_clear_flags(envoy_config_accesslog_v3_ResponseFlagFilter* msg) {
|
1281
|
-
const upb_MiniTableField field = {1,
|
1282
|
-
|
1317
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1318
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1283
1319
|
}
|
1284
1320
|
UPB_INLINE upb_StringView const* envoy_config_accesslog_v3_ResponseFlagFilter_flags(const envoy_config_accesslog_v3_ResponseFlagFilter* msg, size_t* size) {
|
1285
|
-
const upb_MiniTableField field = {1,
|
1286
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1321
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1322
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1287
1323
|
if (arr) {
|
1288
|
-
if (size) *size = arr->size;
|
1289
|
-
return (upb_StringView const*)
|
1324
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1325
|
+
return (upb_StringView const*)upb_Array_DataPtr(arr);
|
1290
1326
|
} else {
|
1291
1327
|
if (size) *size = 0;
|
1292
1328
|
return NULL;
|
1293
1329
|
}
|
1294
1330
|
}
|
1295
1331
|
UPB_INLINE const upb_Array* _envoy_config_accesslog_v3_ResponseFlagFilter_flags_upb_array(const envoy_config_accesslog_v3_ResponseFlagFilter* msg, size_t* size) {
|
1296
|
-
const upb_MiniTableField field = {1,
|
1297
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1332
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1333
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1298
1334
|
if (size) {
|
1299
|
-
*size = arr ? arr->size : 0;
|
1335
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1300
1336
|
}
|
1301
1337
|
return arr;
|
1302
1338
|
}
|
1303
|
-
UPB_INLINE upb_Array* _envoy_config_accesslog_v3_ResponseFlagFilter_flags_mutable_upb_array(
|
1304
|
-
const upb_MiniTableField field = {1,
|
1305
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1306
|
-
|
1339
|
+
UPB_INLINE upb_Array* _envoy_config_accesslog_v3_ResponseFlagFilter_flags_mutable_upb_array(envoy_config_accesslog_v3_ResponseFlagFilter* msg, size_t* size, upb_Arena* arena) {
|
1340
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1341
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1342
|
+
&field, arena);
|
1307
1343
|
if (size) {
|
1308
|
-
*size = arr ? arr->size : 0;
|
1344
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1309
1345
|
}
|
1310
1346
|
return arr;
|
1311
1347
|
}
|
1312
|
-
UPB_INLINE bool envoy_config_accesslog_v3_ResponseFlagFilter_has_flags(const envoy_config_accesslog_v3_ResponseFlagFilter* msg) {
|
1313
|
-
size_t size;
|
1314
|
-
envoy_config_accesslog_v3_ResponseFlagFilter_flags(msg, &size);
|
1315
|
-
return size != 0;
|
1316
|
-
}
|
1317
1348
|
|
1318
1349
|
UPB_INLINE upb_StringView* envoy_config_accesslog_v3_ResponseFlagFilter_mutable_flags(envoy_config_accesslog_v3_ResponseFlagFilter* msg, size_t* size) {
|
1319
|
-
upb_MiniTableField field = {1,
|
1320
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1350
|
+
upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1351
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1321
1352
|
if (arr) {
|
1322
|
-
if (size) *size = arr->size;
|
1323
|
-
return (upb_StringView*)
|
1353
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1354
|
+
return (upb_StringView*)upb_Array_MutableDataPtr(arr);
|
1324
1355
|
} else {
|
1325
1356
|
if (size) *size = 0;
|
1326
1357
|
return NULL;
|
1327
1358
|
}
|
1328
1359
|
}
|
1329
1360
|
UPB_INLINE upb_StringView* envoy_config_accesslog_v3_ResponseFlagFilter_resize_flags(envoy_config_accesslog_v3_ResponseFlagFilter* msg, size_t size, upb_Arena* arena) {
|
1330
|
-
upb_MiniTableField field = {1,
|
1331
|
-
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg,
|
1361
|
+
upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1362
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1363
|
+
&field, size, arena);
|
1332
1364
|
}
|
1333
1365
|
UPB_INLINE bool envoy_config_accesslog_v3_ResponseFlagFilter_add_flags(envoy_config_accesslog_v3_ResponseFlagFilter* msg, upb_StringView val, upb_Arena* arena) {
|
1334
|
-
upb_MiniTableField field = {1,
|
1335
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1336
|
-
|
1366
|
+
upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1367
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1368
|
+
UPB_UPCAST(msg), &field, arena);
|
1369
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1370
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1337
1371
|
return false;
|
1338
1372
|
}
|
1339
|
-
_upb_Array_Set
|
1373
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1374
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
1340
1375
|
return true;
|
1341
1376
|
}
|
1342
1377
|
|
@@ -1348,7 +1383,8 @@ UPB_INLINE envoy_config_accesslog_v3_GrpcStatusFilter* envoy_config_accesslog_v3
|
|
1348
1383
|
UPB_INLINE envoy_config_accesslog_v3_GrpcStatusFilter* envoy_config_accesslog_v3_GrpcStatusFilter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1349
1384
|
envoy_config_accesslog_v3_GrpcStatusFilter* ret = envoy_config_accesslog_v3_GrpcStatusFilter_new(arena);
|
1350
1385
|
if (!ret) return NULL;
|
1351
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__GrpcStatusFilter_msg_init, NULL, 0, arena) !=
|
1386
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__GrpcStatusFilter_msg_init, NULL, 0, arena) !=
|
1387
|
+
kUpb_DecodeStatus_Ok) {
|
1352
1388
|
return NULL;
|
1353
1389
|
}
|
1354
1390
|
return ret;
|
@@ -1358,99 +1394,99 @@ UPB_INLINE envoy_config_accesslog_v3_GrpcStatusFilter* envoy_config_accesslog_v3
|
|
1358
1394
|
int options, upb_Arena* arena) {
|
1359
1395
|
envoy_config_accesslog_v3_GrpcStatusFilter* ret = envoy_config_accesslog_v3_GrpcStatusFilter_new(arena);
|
1360
1396
|
if (!ret) return NULL;
|
1361
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__GrpcStatusFilter_msg_init, extreg, options,
|
1362
|
-
|
1397
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__GrpcStatusFilter_msg_init, extreg, options,
|
1398
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1363
1399
|
return NULL;
|
1364
1400
|
}
|
1365
1401
|
return ret;
|
1366
1402
|
}
|
1367
1403
|
UPB_INLINE char* envoy_config_accesslog_v3_GrpcStatusFilter_serialize(const envoy_config_accesslog_v3_GrpcStatusFilter* msg, upb_Arena* arena, size_t* len) {
|
1368
1404
|
char* ptr;
|
1369
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__GrpcStatusFilter_msg_init, 0, arena, &ptr, len);
|
1405
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__GrpcStatusFilter_msg_init, 0, arena, &ptr, len);
|
1370
1406
|
return ptr;
|
1371
1407
|
}
|
1372
1408
|
UPB_INLINE char* envoy_config_accesslog_v3_GrpcStatusFilter_serialize_ex(const envoy_config_accesslog_v3_GrpcStatusFilter* msg, int options,
|
1373
1409
|
upb_Arena* arena, size_t* len) {
|
1374
1410
|
char* ptr;
|
1375
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__GrpcStatusFilter_msg_init, options, arena, &ptr, len);
|
1411
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__GrpcStatusFilter_msg_init, options, arena, &ptr, len);
|
1376
1412
|
return ptr;
|
1377
1413
|
}
|
1378
1414
|
UPB_INLINE void envoy_config_accesslog_v3_GrpcStatusFilter_clear_statuses(envoy_config_accesslog_v3_GrpcStatusFilter* msg) {
|
1379
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1380
|
-
|
1415
|
+
const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1416
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1381
1417
|
}
|
1382
1418
|
UPB_INLINE int32_t const* envoy_config_accesslog_v3_GrpcStatusFilter_statuses(const envoy_config_accesslog_v3_GrpcStatusFilter* msg, size_t* size) {
|
1383
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1384
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1419
|
+
const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1420
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1385
1421
|
if (arr) {
|
1386
|
-
if (size) *size = arr->size;
|
1387
|
-
return (int32_t const*)
|
1422
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1423
|
+
return (int32_t const*)upb_Array_DataPtr(arr);
|
1388
1424
|
} else {
|
1389
1425
|
if (size) *size = 0;
|
1390
1426
|
return NULL;
|
1391
1427
|
}
|
1392
1428
|
}
|
1393
1429
|
UPB_INLINE const upb_Array* _envoy_config_accesslog_v3_GrpcStatusFilter_statuses_upb_array(const envoy_config_accesslog_v3_GrpcStatusFilter* msg, size_t* size) {
|
1394
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1395
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1430
|
+
const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1431
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1396
1432
|
if (size) {
|
1397
|
-
*size = arr ? arr->size : 0;
|
1433
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1398
1434
|
}
|
1399
1435
|
return arr;
|
1400
1436
|
}
|
1401
|
-
UPB_INLINE upb_Array* _envoy_config_accesslog_v3_GrpcStatusFilter_statuses_mutable_upb_array(
|
1402
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1403
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1404
|
-
|
1437
|
+
UPB_INLINE upb_Array* _envoy_config_accesslog_v3_GrpcStatusFilter_statuses_mutable_upb_array(envoy_config_accesslog_v3_GrpcStatusFilter* msg, size_t* size, upb_Arena* arena) {
|
1438
|
+
const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1439
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1440
|
+
&field, arena);
|
1405
1441
|
if (size) {
|
1406
|
-
*size = arr ? arr->size : 0;
|
1442
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1407
1443
|
}
|
1408
1444
|
return arr;
|
1409
1445
|
}
|
1410
|
-
UPB_INLINE bool envoy_config_accesslog_v3_GrpcStatusFilter_has_statuses(const envoy_config_accesslog_v3_GrpcStatusFilter* msg) {
|
1411
|
-
size_t size;
|
1412
|
-
envoy_config_accesslog_v3_GrpcStatusFilter_statuses(msg, &size);
|
1413
|
-
return size != 0;
|
1414
|
-
}
|
1415
1446
|
UPB_INLINE void envoy_config_accesslog_v3_GrpcStatusFilter_clear_exclude(envoy_config_accesslog_v3_GrpcStatusFilter* msg) {
|
1416
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1417
|
-
|
1447
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1448
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1418
1449
|
}
|
1419
1450
|
UPB_INLINE bool envoy_config_accesslog_v3_GrpcStatusFilter_exclude(const envoy_config_accesslog_v3_GrpcStatusFilter* msg) {
|
1420
1451
|
bool default_val = false;
|
1421
1452
|
bool ret;
|
1422
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1423
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1453
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1454
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1455
|
+
&default_val, &ret);
|
1424
1456
|
return ret;
|
1425
1457
|
}
|
1426
1458
|
|
1427
1459
|
UPB_INLINE int32_t* envoy_config_accesslog_v3_GrpcStatusFilter_mutable_statuses(envoy_config_accesslog_v3_GrpcStatusFilter* msg, size_t* size) {
|
1428
|
-
upb_MiniTableField field = {1, UPB_SIZE(
|
1429
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1460
|
+
upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1461
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1430
1462
|
if (arr) {
|
1431
|
-
if (size) *size = arr->size;
|
1432
|
-
return (int32_t*)
|
1463
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1464
|
+
return (int32_t*)upb_Array_MutableDataPtr(arr);
|
1433
1465
|
} else {
|
1434
1466
|
if (size) *size = 0;
|
1435
1467
|
return NULL;
|
1436
1468
|
}
|
1437
1469
|
}
|
1438
1470
|
UPB_INLINE int32_t* envoy_config_accesslog_v3_GrpcStatusFilter_resize_statuses(envoy_config_accesslog_v3_GrpcStatusFilter* msg, size_t size, upb_Arena* arena) {
|
1439
|
-
upb_MiniTableField field = {1, UPB_SIZE(
|
1440
|
-
return (int32_t*)upb_Message_ResizeArrayUninitialized(msg,
|
1471
|
+
upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1472
|
+
return (int32_t*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1473
|
+
&field, size, arena);
|
1441
1474
|
}
|
1442
1475
|
UPB_INLINE bool envoy_config_accesslog_v3_GrpcStatusFilter_add_statuses(envoy_config_accesslog_v3_GrpcStatusFilter* msg, int32_t val, upb_Arena* arena) {
|
1443
|
-
upb_MiniTableField field = {1, UPB_SIZE(
|
1444
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1445
|
-
|
1476
|
+
upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1477
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1478
|
+
UPB_UPCAST(msg), &field, arena);
|
1479
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1480
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1446
1481
|
return false;
|
1447
1482
|
}
|
1448
|
-
_upb_Array_Set
|
1483
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1484
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
1449
1485
|
return true;
|
1450
1486
|
}
|
1451
1487
|
UPB_INLINE void envoy_config_accesslog_v3_GrpcStatusFilter_set_exclude(envoy_config_accesslog_v3_GrpcStatusFilter *msg, bool value) {
|
1452
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1453
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1488
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1489
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1454
1490
|
}
|
1455
1491
|
|
1456
1492
|
/* envoy.config.accesslog.v3.MetadataFilter */
|
@@ -1461,7 +1497,8 @@ UPB_INLINE envoy_config_accesslog_v3_MetadataFilter* envoy_config_accesslog_v3_M
|
|
1461
1497
|
UPB_INLINE envoy_config_accesslog_v3_MetadataFilter* envoy_config_accesslog_v3_MetadataFilter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1462
1498
|
envoy_config_accesslog_v3_MetadataFilter* ret = envoy_config_accesslog_v3_MetadataFilter_new(arena);
|
1463
1499
|
if (!ret) return NULL;
|
1464
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__MetadataFilter_msg_init, NULL, 0, arena) !=
|
1500
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__MetadataFilter_msg_init, NULL, 0, arena) !=
|
1501
|
+
kUpb_DecodeStatus_Ok) {
|
1465
1502
|
return NULL;
|
1466
1503
|
}
|
1467
1504
|
return ret;
|
@@ -1471,57 +1508,59 @@ UPB_INLINE envoy_config_accesslog_v3_MetadataFilter* envoy_config_accesslog_v3_M
|
|
1471
1508
|
int options, upb_Arena* arena) {
|
1472
1509
|
envoy_config_accesslog_v3_MetadataFilter* ret = envoy_config_accesslog_v3_MetadataFilter_new(arena);
|
1473
1510
|
if (!ret) return NULL;
|
1474
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__MetadataFilter_msg_init, extreg, options,
|
1475
|
-
|
1511
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__MetadataFilter_msg_init, extreg, options,
|
1512
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1476
1513
|
return NULL;
|
1477
1514
|
}
|
1478
1515
|
return ret;
|
1479
1516
|
}
|
1480
1517
|
UPB_INLINE char* envoy_config_accesslog_v3_MetadataFilter_serialize(const envoy_config_accesslog_v3_MetadataFilter* msg, upb_Arena* arena, size_t* len) {
|
1481
1518
|
char* ptr;
|
1482
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__MetadataFilter_msg_init, 0, arena, &ptr, len);
|
1519
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__MetadataFilter_msg_init, 0, arena, &ptr, len);
|
1483
1520
|
return ptr;
|
1484
1521
|
}
|
1485
1522
|
UPB_INLINE char* envoy_config_accesslog_v3_MetadataFilter_serialize_ex(const envoy_config_accesslog_v3_MetadataFilter* msg, int options,
|
1486
1523
|
upb_Arena* arena, size_t* len) {
|
1487
1524
|
char* ptr;
|
1488
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__MetadataFilter_msg_init, options, arena, &ptr, len);
|
1525
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__MetadataFilter_msg_init, options, arena, &ptr, len);
|
1489
1526
|
return ptr;
|
1490
1527
|
}
|
1491
1528
|
UPB_INLINE void envoy_config_accesslog_v3_MetadataFilter_clear_matcher(envoy_config_accesslog_v3_MetadataFilter* msg) {
|
1492
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1493
|
-
|
1529
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1530
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1494
1531
|
}
|
1495
1532
|
UPB_INLINE const struct envoy_type_matcher_v3_MetadataMatcher* envoy_config_accesslog_v3_MetadataFilter_matcher(const envoy_config_accesslog_v3_MetadataFilter* msg) {
|
1496
1533
|
const struct envoy_type_matcher_v3_MetadataMatcher* default_val = NULL;
|
1497
1534
|
const struct envoy_type_matcher_v3_MetadataMatcher* ret;
|
1498
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1499
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1535
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1536
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1537
|
+
&default_val, &ret);
|
1500
1538
|
return ret;
|
1501
1539
|
}
|
1502
1540
|
UPB_INLINE bool envoy_config_accesslog_v3_MetadataFilter_has_matcher(const envoy_config_accesslog_v3_MetadataFilter* msg) {
|
1503
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1504
|
-
return
|
1541
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1542
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1505
1543
|
}
|
1506
1544
|
UPB_INLINE void envoy_config_accesslog_v3_MetadataFilter_clear_match_if_key_not_found(envoy_config_accesslog_v3_MetadataFilter* msg) {
|
1507
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1508
|
-
|
1545
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1546
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1509
1547
|
}
|
1510
1548
|
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_accesslog_v3_MetadataFilter_match_if_key_not_found(const envoy_config_accesslog_v3_MetadataFilter* msg) {
|
1511
1549
|
const struct google_protobuf_BoolValue* default_val = NULL;
|
1512
1550
|
const struct google_protobuf_BoolValue* ret;
|
1513
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1514
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1551
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1552
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1553
|
+
&default_val, &ret);
|
1515
1554
|
return ret;
|
1516
1555
|
}
|
1517
1556
|
UPB_INLINE bool envoy_config_accesslog_v3_MetadataFilter_has_match_if_key_not_found(const envoy_config_accesslog_v3_MetadataFilter* msg) {
|
1518
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1519
|
-
return
|
1557
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1558
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1520
1559
|
}
|
1521
1560
|
|
1522
1561
|
UPB_INLINE void envoy_config_accesslog_v3_MetadataFilter_set_matcher(envoy_config_accesslog_v3_MetadataFilter *msg, struct envoy_type_matcher_v3_MetadataMatcher* value) {
|
1523
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1524
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1562
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1563
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1525
1564
|
}
|
1526
1565
|
UPB_INLINE struct envoy_type_matcher_v3_MetadataMatcher* envoy_config_accesslog_v3_MetadataFilter_mutable_matcher(envoy_config_accesslog_v3_MetadataFilter* msg, upb_Arena* arena) {
|
1527
1566
|
struct envoy_type_matcher_v3_MetadataMatcher* sub = (struct envoy_type_matcher_v3_MetadataMatcher*)envoy_config_accesslog_v3_MetadataFilter_matcher(msg);
|
@@ -1532,8 +1571,8 @@ UPB_INLINE struct envoy_type_matcher_v3_MetadataMatcher* envoy_config_accesslog_
|
|
1532
1571
|
return sub;
|
1533
1572
|
}
|
1534
1573
|
UPB_INLINE void envoy_config_accesslog_v3_MetadataFilter_set_match_if_key_not_found(envoy_config_accesslog_v3_MetadataFilter *msg, struct google_protobuf_BoolValue* value) {
|
1535
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1536
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1574
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1575
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1537
1576
|
}
|
1538
1577
|
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_accesslog_v3_MetadataFilter_mutable_match_if_key_not_found(envoy_config_accesslog_v3_MetadataFilter* msg, upb_Arena* arena) {
|
1539
1578
|
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_accesslog_v3_MetadataFilter_match_if_key_not_found(msg);
|
@@ -1552,7 +1591,8 @@ UPB_INLINE envoy_config_accesslog_v3_LogTypeFilter* envoy_config_accesslog_v3_Lo
|
|
1552
1591
|
UPB_INLINE envoy_config_accesslog_v3_LogTypeFilter* envoy_config_accesslog_v3_LogTypeFilter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1553
1592
|
envoy_config_accesslog_v3_LogTypeFilter* ret = envoy_config_accesslog_v3_LogTypeFilter_new(arena);
|
1554
1593
|
if (!ret) return NULL;
|
1555
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__LogTypeFilter_msg_init, NULL, 0, arena) !=
|
1594
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__LogTypeFilter_msg_init, NULL, 0, arena) !=
|
1595
|
+
kUpb_DecodeStatus_Ok) {
|
1556
1596
|
return NULL;
|
1557
1597
|
}
|
1558
1598
|
return ret;
|
@@ -1562,99 +1602,99 @@ UPB_INLINE envoy_config_accesslog_v3_LogTypeFilter* envoy_config_accesslog_v3_Lo
|
|
1562
1602
|
int options, upb_Arena* arena) {
|
1563
1603
|
envoy_config_accesslog_v3_LogTypeFilter* ret = envoy_config_accesslog_v3_LogTypeFilter_new(arena);
|
1564
1604
|
if (!ret) return NULL;
|
1565
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__LogTypeFilter_msg_init, extreg, options,
|
1566
|
-
|
1605
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__LogTypeFilter_msg_init, extreg, options,
|
1606
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1567
1607
|
return NULL;
|
1568
1608
|
}
|
1569
1609
|
return ret;
|
1570
1610
|
}
|
1571
1611
|
UPB_INLINE char* envoy_config_accesslog_v3_LogTypeFilter_serialize(const envoy_config_accesslog_v3_LogTypeFilter* msg, upb_Arena* arena, size_t* len) {
|
1572
1612
|
char* ptr;
|
1573
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__LogTypeFilter_msg_init, 0, arena, &ptr, len);
|
1613
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__LogTypeFilter_msg_init, 0, arena, &ptr, len);
|
1574
1614
|
return ptr;
|
1575
1615
|
}
|
1576
1616
|
UPB_INLINE char* envoy_config_accesslog_v3_LogTypeFilter_serialize_ex(const envoy_config_accesslog_v3_LogTypeFilter* msg, int options,
|
1577
1617
|
upb_Arena* arena, size_t* len) {
|
1578
1618
|
char* ptr;
|
1579
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__LogTypeFilter_msg_init, options, arena, &ptr, len);
|
1619
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__LogTypeFilter_msg_init, options, arena, &ptr, len);
|
1580
1620
|
return ptr;
|
1581
1621
|
}
|
1582
1622
|
UPB_INLINE void envoy_config_accesslog_v3_LogTypeFilter_clear_types(envoy_config_accesslog_v3_LogTypeFilter* msg) {
|
1583
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1584
|
-
|
1623
|
+
const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1624
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1585
1625
|
}
|
1586
1626
|
UPB_INLINE int32_t const* envoy_config_accesslog_v3_LogTypeFilter_types(const envoy_config_accesslog_v3_LogTypeFilter* msg, size_t* size) {
|
1587
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1588
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1627
|
+
const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1628
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1589
1629
|
if (arr) {
|
1590
|
-
if (size) *size = arr->size;
|
1591
|
-
return (int32_t const*)
|
1630
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1631
|
+
return (int32_t const*)upb_Array_DataPtr(arr);
|
1592
1632
|
} else {
|
1593
1633
|
if (size) *size = 0;
|
1594
1634
|
return NULL;
|
1595
1635
|
}
|
1596
1636
|
}
|
1597
1637
|
UPB_INLINE const upb_Array* _envoy_config_accesslog_v3_LogTypeFilter_types_upb_array(const envoy_config_accesslog_v3_LogTypeFilter* msg, size_t* size) {
|
1598
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1599
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1638
|
+
const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1639
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1600
1640
|
if (size) {
|
1601
|
-
*size = arr ? arr->size : 0;
|
1641
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1602
1642
|
}
|
1603
1643
|
return arr;
|
1604
1644
|
}
|
1605
|
-
UPB_INLINE upb_Array* _envoy_config_accesslog_v3_LogTypeFilter_types_mutable_upb_array(
|
1606
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1607
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1608
|
-
|
1645
|
+
UPB_INLINE upb_Array* _envoy_config_accesslog_v3_LogTypeFilter_types_mutable_upb_array(envoy_config_accesslog_v3_LogTypeFilter* msg, size_t* size, upb_Arena* arena) {
|
1646
|
+
const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1647
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1648
|
+
&field, arena);
|
1609
1649
|
if (size) {
|
1610
|
-
*size = arr ? arr->size : 0;
|
1650
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1611
1651
|
}
|
1612
1652
|
return arr;
|
1613
1653
|
}
|
1614
|
-
UPB_INLINE bool envoy_config_accesslog_v3_LogTypeFilter_has_types(const envoy_config_accesslog_v3_LogTypeFilter* msg) {
|
1615
|
-
size_t size;
|
1616
|
-
envoy_config_accesslog_v3_LogTypeFilter_types(msg, &size);
|
1617
|
-
return size != 0;
|
1618
|
-
}
|
1619
1654
|
UPB_INLINE void envoy_config_accesslog_v3_LogTypeFilter_clear_exclude(envoy_config_accesslog_v3_LogTypeFilter* msg) {
|
1620
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1621
|
-
|
1655
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1656
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1622
1657
|
}
|
1623
1658
|
UPB_INLINE bool envoy_config_accesslog_v3_LogTypeFilter_exclude(const envoy_config_accesslog_v3_LogTypeFilter* msg) {
|
1624
1659
|
bool default_val = false;
|
1625
1660
|
bool ret;
|
1626
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1627
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1661
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1662
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1663
|
+
&default_val, &ret);
|
1628
1664
|
return ret;
|
1629
1665
|
}
|
1630
1666
|
|
1631
1667
|
UPB_INLINE int32_t* envoy_config_accesslog_v3_LogTypeFilter_mutable_types(envoy_config_accesslog_v3_LogTypeFilter* msg, size_t* size) {
|
1632
|
-
upb_MiniTableField field = {1, UPB_SIZE(
|
1633
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1668
|
+
upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1669
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1634
1670
|
if (arr) {
|
1635
|
-
if (size) *size = arr->size;
|
1636
|
-
return (int32_t*)
|
1671
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1672
|
+
return (int32_t*)upb_Array_MutableDataPtr(arr);
|
1637
1673
|
} else {
|
1638
1674
|
if (size) *size = 0;
|
1639
1675
|
return NULL;
|
1640
1676
|
}
|
1641
1677
|
}
|
1642
1678
|
UPB_INLINE int32_t* envoy_config_accesslog_v3_LogTypeFilter_resize_types(envoy_config_accesslog_v3_LogTypeFilter* msg, size_t size, upb_Arena* arena) {
|
1643
|
-
upb_MiniTableField field = {1, UPB_SIZE(
|
1644
|
-
return (int32_t*)upb_Message_ResizeArrayUninitialized(msg,
|
1679
|
+
upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1680
|
+
return (int32_t*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1681
|
+
&field, size, arena);
|
1645
1682
|
}
|
1646
1683
|
UPB_INLINE bool envoy_config_accesslog_v3_LogTypeFilter_add_types(envoy_config_accesslog_v3_LogTypeFilter* msg, int32_t val, upb_Arena* arena) {
|
1647
|
-
upb_MiniTableField field = {1, UPB_SIZE(
|
1648
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1649
|
-
|
1684
|
+
upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1685
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1686
|
+
UPB_UPCAST(msg), &field, arena);
|
1687
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1688
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1650
1689
|
return false;
|
1651
1690
|
}
|
1652
|
-
_upb_Array_Set
|
1691
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1692
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
1653
1693
|
return true;
|
1654
1694
|
}
|
1655
1695
|
UPB_INLINE void envoy_config_accesslog_v3_LogTypeFilter_set_exclude(envoy_config_accesslog_v3_LogTypeFilter *msg, bool value) {
|
1656
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1657
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1696
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1697
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1658
1698
|
}
|
1659
1699
|
|
1660
1700
|
/* envoy.config.accesslog.v3.ExtensionFilter */
|
@@ -1665,7 +1705,8 @@ UPB_INLINE envoy_config_accesslog_v3_ExtensionFilter* envoy_config_accesslog_v3_
|
|
1665
1705
|
UPB_INLINE envoy_config_accesslog_v3_ExtensionFilter* envoy_config_accesslog_v3_ExtensionFilter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1666
1706
|
envoy_config_accesslog_v3_ExtensionFilter* ret = envoy_config_accesslog_v3_ExtensionFilter_new(arena);
|
1667
1707
|
if (!ret) return NULL;
|
1668
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__ExtensionFilter_msg_init, NULL, 0, arena) !=
|
1708
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__ExtensionFilter_msg_init, NULL, 0, arena) !=
|
1709
|
+
kUpb_DecodeStatus_Ok) {
|
1669
1710
|
return NULL;
|
1670
1711
|
}
|
1671
1712
|
return ret;
|
@@ -1675,21 +1716,21 @@ UPB_INLINE envoy_config_accesslog_v3_ExtensionFilter* envoy_config_accesslog_v3_
|
|
1675
1716
|
int options, upb_Arena* arena) {
|
1676
1717
|
envoy_config_accesslog_v3_ExtensionFilter* ret = envoy_config_accesslog_v3_ExtensionFilter_new(arena);
|
1677
1718
|
if (!ret) return NULL;
|
1678
|
-
if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__ExtensionFilter_msg_init, extreg, options,
|
1679
|
-
|
1719
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__accesslog__v3__ExtensionFilter_msg_init, extreg, options,
|
1720
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1680
1721
|
return NULL;
|
1681
1722
|
}
|
1682
1723
|
return ret;
|
1683
1724
|
}
|
1684
1725
|
UPB_INLINE char* envoy_config_accesslog_v3_ExtensionFilter_serialize(const envoy_config_accesslog_v3_ExtensionFilter* msg, upb_Arena* arena, size_t* len) {
|
1685
1726
|
char* ptr;
|
1686
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__ExtensionFilter_msg_init, 0, arena, &ptr, len);
|
1727
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__ExtensionFilter_msg_init, 0, arena, &ptr, len);
|
1687
1728
|
return ptr;
|
1688
1729
|
}
|
1689
1730
|
UPB_INLINE char* envoy_config_accesslog_v3_ExtensionFilter_serialize_ex(const envoy_config_accesslog_v3_ExtensionFilter* msg, int options,
|
1690
1731
|
upb_Arena* arena, size_t* len) {
|
1691
1732
|
char* ptr;
|
1692
|
-
(void)upb_Encode(msg, &envoy__config__accesslog__v3__ExtensionFilter_msg_init, options, arena, &ptr, len);
|
1733
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__accesslog__v3__ExtensionFilter_msg_init, options, arena, &ptr, len);
|
1693
1734
|
return ptr;
|
1694
1735
|
}
|
1695
1736
|
typedef enum {
|
@@ -1697,43 +1738,46 @@ typedef enum {
|
|
1697
1738
|
envoy_config_accesslog_v3_ExtensionFilter_config_type_NOT_SET = 0
|
1698
1739
|
} envoy_config_accesslog_v3_ExtensionFilter_config_type_oneofcases;
|
1699
1740
|
UPB_INLINE envoy_config_accesslog_v3_ExtensionFilter_config_type_oneofcases envoy_config_accesslog_v3_ExtensionFilter_config_type_case(const envoy_config_accesslog_v3_ExtensionFilter* msg) {
|
1700
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1701
|
-
return (envoy_config_accesslog_v3_ExtensionFilter_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
1741
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1742
|
+
return (envoy_config_accesslog_v3_ExtensionFilter_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
1743
|
+
UPB_UPCAST(msg), &field);
|
1702
1744
|
}
|
1703
1745
|
UPB_INLINE void envoy_config_accesslog_v3_ExtensionFilter_clear_name(envoy_config_accesslog_v3_ExtensionFilter* msg) {
|
1704
|
-
const upb_MiniTableField field = {1,
|
1705
|
-
|
1746
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1747
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1706
1748
|
}
|
1707
1749
|
UPB_INLINE upb_StringView envoy_config_accesslog_v3_ExtensionFilter_name(const envoy_config_accesslog_v3_ExtensionFilter* msg) {
|
1708
1750
|
upb_StringView default_val = upb_StringView_FromString("");
|
1709
1751
|
upb_StringView ret;
|
1710
|
-
const upb_MiniTableField field = {1,
|
1711
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1752
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1753
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1754
|
+
&default_val, &ret);
|
1712
1755
|
return ret;
|
1713
1756
|
}
|
1714
1757
|
UPB_INLINE void envoy_config_accesslog_v3_ExtensionFilter_clear_typed_config(envoy_config_accesslog_v3_ExtensionFilter* msg) {
|
1715
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1716
|
-
|
1758
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1759
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1717
1760
|
}
|
1718
1761
|
UPB_INLINE const struct google_protobuf_Any* envoy_config_accesslog_v3_ExtensionFilter_typed_config(const envoy_config_accesslog_v3_ExtensionFilter* msg) {
|
1719
1762
|
const struct google_protobuf_Any* default_val = NULL;
|
1720
1763
|
const struct google_protobuf_Any* ret;
|
1721
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1722
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1764
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1765
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1766
|
+
&default_val, &ret);
|
1723
1767
|
return ret;
|
1724
1768
|
}
|
1725
1769
|
UPB_INLINE bool envoy_config_accesslog_v3_ExtensionFilter_has_typed_config(const envoy_config_accesslog_v3_ExtensionFilter* msg) {
|
1726
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1727
|
-
return
|
1770
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1771
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1728
1772
|
}
|
1729
1773
|
|
1730
1774
|
UPB_INLINE void envoy_config_accesslog_v3_ExtensionFilter_set_name(envoy_config_accesslog_v3_ExtensionFilter *msg, upb_StringView value) {
|
1731
|
-
const upb_MiniTableField field = {1,
|
1732
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1775
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1776
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1733
1777
|
}
|
1734
1778
|
UPB_INLINE void envoy_config_accesslog_v3_ExtensionFilter_set_typed_config(envoy_config_accesslog_v3_ExtensionFilter *msg, struct google_protobuf_Any* value) {
|
1735
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1736
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1779
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1780
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1737
1781
|
}
|
1738
1782
|
UPB_INLINE struct google_protobuf_Any* envoy_config_accesslog_v3_ExtensionFilter_mutable_typed_config(envoy_config_accesslog_v3_ExtensionFilter* msg, upb_Arena* arena) {
|
1739
1783
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_accesslog_v3_ExtensionFilter_typed_config(msg);
|