grpc 1.54.3 → 1.59.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +665 -324
- data/include/grpc/event_engine/event_engine.h +32 -46
- data/include/grpc/event_engine/memory_allocator.h +2 -2
- data/include/grpc/grpc_audit_logging.h +96 -0
- data/include/grpc/grpc_security.h +19 -0
- data/include/grpc/impl/channel_arg_names.h +375 -0
- data/include/grpc/impl/grpc_types.h +1 -348
- data/include/grpc/module.modulemap +3 -0
- data/include/grpc/support/json.h +218 -0
- data/include/grpc/support/port_platform.h +103 -24
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +7 -2
- data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +24 -10
- data/src/core/ext/filters/client_channel/backend_metric.cc +4 -1
- data/src/core/ext/filters/client_channel/channel_connectivity.cc +4 -4
- data/src/core/ext/filters/client_channel/client_channel.cc +564 -178
- data/src/core/ext/filters/client_channel/client_channel.h +75 -23
- data/src/core/ext/filters/client_channel/client_channel_channelz.cc +20 -19
- data/src/core/ext/filters/client_channel/client_channel_internal.h +22 -59
- data/src/core/ext/filters/client_channel/client_channel_plugin.cc +15 -1
- data/src/core/ext/filters/client_channel/client_channel_service_config.cc +2 -2
- data/src/core/ext/filters/client_channel/config_selector.h +9 -36
- data/src/core/ext/filters/client_channel/dynamic_filters.h +5 -3
- data/src/core/ext/filters/client_channel/{http_proxy.cc → http_proxy_mapper.cc} +41 -3
- data/src/core/ext/filters/client_channel/{http_proxy.h → http_proxy_mapper.h} +3 -3
- data/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +27 -53
- data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +23 -9
- data/src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h +3 -0
- data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +25 -35
- data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc +188 -0
- data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.h +214 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +103 -142
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc +2 -1
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +5 -4
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +4 -2
- data/src/core/ext/filters/client_channel/lb_policy/health_check_client.cc +515 -0
- data/src/core/ext/filters/client_channel/lb_policy/health_check_client.h +52 -0
- data/src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h +204 -0
- data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc +6 -9
- data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h +2 -0
- data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +93 -106
- data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h +2 -2
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +532 -191
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h +36 -0
- data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +16 -45
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +447 -464
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h +18 -1
- data/src/core/ext/filters/client_channel/lb_policy/rls/rls.cc +73 -129
- data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +416 -30
- data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +26 -23
- data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc +76 -6
- data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc +904 -101
- data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +19 -54
- data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +73 -126
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h +8 -0
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +35 -86
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +23 -69
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +117 -173
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc +81 -68
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc +28 -96
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +21 -123
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h +30 -0
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +102 -11
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +105 -175
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +58 -44
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +4 -1
- data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc +66 -0
- data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h +27 -0
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +586 -0
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h +35 -0
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc +97 -0
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h +32 -0
- data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +3 -14
- data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.h +24 -0
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +24 -6
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +36 -2
- data/src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc +30 -28
- data/src/core/ext/filters/client_channel/resolver/polling_resolver.cc +10 -4
- data/src/core/ext/filters/client_channel/resolver/polling_resolver.h +1 -0
- data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +25 -13
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +467 -312
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h +32 -1
- data/src/core/ext/filters/client_channel/retry_filter.cc +39 -2530
- data/src/core/ext/filters/client_channel/retry_filter.h +92 -1
- data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc +2052 -0
- data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h +442 -0
- data/src/core/ext/filters/client_channel/retry_service_config.cc +10 -9
- data/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc +40 -90
- data/src/core/ext/filters/client_channel/subchannel.cc +50 -199
- data/src/core/ext/filters/client_channel/subchannel.h +23 -48
- data/src/core/ext/filters/client_channel/subchannel_interface_internal.h +3 -0
- data/src/core/ext/filters/deadline/deadline_filter.cc +1 -1
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc +1 -1
- data/src/core/ext/filters/http/client/http_client_filter.cc +1 -0
- data/src/core/ext/filters/http/client_authority_filter.cc +1 -1
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +8 -7
- data/src/core/ext/filters/http/server/http_server_filter.cc +22 -18
- data/src/core/ext/filters/message_size/message_size_filter.cc +1 -0
- data/src/core/ext/filters/rbac/rbac_filter.cc +40 -111
- data/src/core/ext/filters/rbac/rbac_filter.h +12 -30
- data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +162 -72
- data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +6 -8
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +164 -88
- data/src/core/ext/filters/stateful_session/stateful_session_filter.h +16 -7
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +1 -0
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +16 -17
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +979 -832
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +21 -0
- data/src/core/ext/transport/chttp2/transport/context_list_entry.h +70 -0
- data/src/core/ext/transport/chttp2/transport/decode_huff.cc +6569 -174
- data/src/core/ext/transport/chttp2/transport/decode_huff.h +2278 -441
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +74 -117
- data/src/core/ext/transport/chttp2/transport/flow_control.h +27 -4
- data/src/core/ext/transport/chttp2/transport/frame_data.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_goaway.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +24 -25
- data/src/core/ext/transport/chttp2/transport/frame_ping.h +1 -4
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +10 -1
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_settings.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_window_update.h +1 -1
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +1 -0
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +176 -0
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +326 -0
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +640 -547
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +160 -12
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.cc +48 -33
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +19 -5
- data/src/core/ext/transport/chttp2/transport/internal.h +194 -149
- data/src/core/ext/transport/chttp2/transport/{frame.h → legacy_frame.h} +3 -3
- data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc +44 -0
- data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h +67 -0
- data/src/core/ext/transport/chttp2/transport/parsing.cc +143 -31
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc +90 -0
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.h +59 -0
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +108 -0
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.h +115 -0
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +120 -0
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +88 -0
- data/src/core/ext/transport/chttp2/transport/stream_lists.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/write_size_policy.cc +60 -0
- data/src/core/ext/transport/chttp2/transport/write_size_policy.h +66 -0
- data/src/core/ext/transport/chttp2/transport/writing.cc +220 -145
- data/src/core/ext/transport/inproc/inproc_transport.cc +10 -0
- data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c +85 -52
- data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h +407 -182
- data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c +119 -60
- data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h +474 -225
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +88 -55
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +408 -189
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c +355 -210
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h +1564 -729
- data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c +28 -17
- data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h +140 -51
- data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c +32 -21
- data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h +153 -63
- data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c +25 -14
- data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h +71 -39
- data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c +18 -11
- data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h +41 -27
- data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c +18 -11
- data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h +41 -27
- data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c +107 -62
- data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h +559 -245
- data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c +19 -12
- data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h +38 -31
- data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +20 -19
- data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +75 -30
- data/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +21 -16
- data/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +38 -31
- data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +253 -147
- data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +869 -405
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +415 -264
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +1831 -899
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c +72 -41
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h +279 -149
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +529 -334
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +2009 -1131
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c +19 -12
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h +38 -31
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +87 -52
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +340 -233
- data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c +262 -165
- data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h +881 -477
- data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +137 -80
- data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +520 -275
- data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c +20 -13
- data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h +43 -37
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +378 -221
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +1160 -611
- data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +155 -92
- data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +620 -293
- data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c +16 -11
- data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h +30 -27
- data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +19 -12
- data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +38 -31
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c +28 -17
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h +140 -51
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +277 -167
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +811 -441
- data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +230 -137
- data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +1157 -501
- data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c +20 -13
- data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h +53 -38
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +367 -211
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +1107 -647
- data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +31 -18
- data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h +109 -51
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +32 -19
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +110 -56
- data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c +36 -21
- data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h +141 -65
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +29 -18
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +136 -66
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +20 -13
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +44 -38
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +76 -43
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h +258 -128
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c +143 -88
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h +431 -242
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c +113 -62
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h +552 -228
- data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c +16 -11
- data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h +28 -27
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +173 -118
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +850 -443
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +170 -95
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +857 -375
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +46 -27
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +152 -111
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +37 -18
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +66 -56
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c +27 -15
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h +85 -46
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +129 -74
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +481 -249
- data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +161 -84
- data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +673 -241
- data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +246 -139
- data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +926 -434
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +78 -49
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +609 -202
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +1281 -776
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +5414 -2519
- data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +47 -28
- data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +157 -85
- data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c +226 -141
- data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h +731 -400
- data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c +18 -11
- data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h +41 -27
- data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c +19 -12
- data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h +38 -31
- data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +30 -19
- data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h +62 -49
- data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c +25 -14
- data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h +103 -44
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c +44 -25
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h +252 -101
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c +19 -12
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h +38 -31
- data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c +16 -11
- data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h +28 -27
- data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c +40 -23
- data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h +101 -71
- data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c +5 -4
- data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h +14 -17
- data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c +41 -24
- data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h +103 -76
- data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c +28 -17
- data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h +88 -51
- data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c +556 -0
- data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h +2702 -0
- data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +14 -9
- data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +66 -24
- data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +58 -37
- data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +143 -109
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +91 -43
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +379 -168
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c +42 -25
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +107 -81
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +66 -22
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +348 -83
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c +30 -19
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +65 -51
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +502 -300
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +2235 -1075
- data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c +16 -11
- data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +28 -27
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c +33 -21
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +105 -79
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c +70 -45
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +186 -139
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c +45 -0
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +85 -0
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c +32 -21
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +112 -79
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c +16 -11
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +28 -27
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +5 -4
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +8 -11
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +182 -96
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +900 -361
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +54 -33
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +143 -102
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +186 -111
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +809 -420
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c +30 -19
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +101 -53
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c +8 -7
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h +11 -15
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +298 -177
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +1277 -523
- data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +40 -23
- data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h +181 -76
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +128 -83
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +503 -239
- data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c +20 -13
- data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h +48 -35
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +37 -26
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +117 -69
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c +19 -12
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h +40 -31
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c +50 -29
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h +85 -63
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c +35 -20
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h +126 -64
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +20 -13
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +84 -41
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c +19 -12
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h +43 -33
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c +16 -11
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h +30 -27
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +44 -27
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h +94 -71
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c +11 -10
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h +17 -22
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +38 -23
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +154 -76
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +29 -18
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +106 -56
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c +44 -29
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h +132 -92
- data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c +63 -42
- data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h +192 -121
- data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c +78 -45
- data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h +201 -132
- data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c +32 -21
- data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h +66 -53
- data/src/core/ext/upb-generated/envoy/type/v3/http.upb.c +5 -4
- data/src/core/ext/upb-generated/envoy/type/v3/http.upb.h +5 -8
- data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c +14 -9
- data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h +21 -19
- data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c +26 -15
- data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h +47 -34
- data/src/core/ext/upb-generated/envoy/type/v3/range.upb.c +41 -22
- data/src/core/ext/upb-generated/envoy/type/v3/range.upb.h +83 -53
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c +33 -20
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h +84 -57
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c +5 -4
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h +5 -8
- data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c +18 -11
- data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h +41 -27
- data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c +21 -14
- data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h +54 -42
- data/src/core/ext/upb-generated/google/api/annotations.upb.c +12 -11
- data/src/core/ext/upb-generated/google/api/annotations.upb.h +22 -20
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +253 -154
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +927 -451
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +297 -180
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +939 -484
- data/src/core/ext/upb-generated/google/api/http.upb.c +66 -35
- data/src/core/ext/upb-generated/google/api/http.upb.h +277 -121
- data/src/core/ext/upb-generated/google/api/httpbody.upb.c +20 -13
- data/src/core/ext/upb-generated/google/api/httpbody.upb.h +88 -38
- data/src/core/ext/upb-generated/google/protobuf/any.upb.c +17 -10
- data/src/core/ext/upb-generated/google/protobuf/any.upb.h +31 -23
- data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +1168 -419
- data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +4431 -1412
- data/src/core/ext/upb-generated/google/protobuf/duration.upb.c +17 -10
- data/src/core/ext/upb-generated/google/protobuf/duration.upb.h +31 -23
- data/src/core/ext/upb-generated/google/protobuf/empty.upb.c +8 -7
- data/src/core/ext/upb-generated/google/protobuf/empty.upb.h +11 -15
- data/src/core/ext/upb-generated/google/protobuf/struct.upb.c +60 -39
- data/src/core/ext/upb-generated/google/protobuf/struct.upb.h +200 -103
- data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +17 -10
- data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +31 -23
- data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +88 -51
- data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +149 -107
- data/src/core/ext/upb-generated/google/rpc/status.upb.c +20 -13
- data/src/core/ext/upb-generated/google/rpc/status.upb.h +88 -38
- data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c +57 -34
- data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h +147 -93
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +41 -24
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +110 -60
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +248 -145
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +912 -416
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +32 -19
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +68 -51
- data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +23 -14
- data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +37 -30
- data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +142 -81
- data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +397 -217
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c +49 -26
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h +146 -62
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c +171 -102
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h +848 -299
- data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +66 -49
- data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +148 -105
- data/src/core/ext/upb-generated/udpa/annotations/security.upb.c +24 -17
- data/src/core/ext/upb-generated/udpa/annotations/security.upb.h +48 -35
- data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +10 -9
- data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +23 -14
- data/src/core/ext/upb-generated/udpa/annotations/status.upb.c +24 -17
- data/src/core/ext/upb-generated/udpa/annotations/status.upb.h +48 -35
- data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c +21 -16
- data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h +38 -31
- data/src/core/ext/upb-generated/validate/validate.upb.c +843 -455
- data/src/core/ext/upb-generated/validate/validate.upb.h +4340 -1909
- data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c +66 -49
- data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h +148 -105
- data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c +24 -17
- data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h +48 -35
- data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c +10 -9
- data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h +23 -14
- data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c +63 -44
- data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h +130 -92
- data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c +21 -16
- data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h +38 -31
- data/src/core/ext/upb-generated/xds/core/v3/authority.upb.c +14 -9
- data/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +21 -19
- data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.c +19 -12
- data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.h +38 -31
- data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +35 -22
- data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +88 -63
- data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +24 -17
- data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +44 -29
- data/src/core/ext/upb-generated/xds/core/v3/extension.upb.c +19 -12
- data/src/core/ext/upb-generated/xds/core/v3/extension.upb.h +38 -31
- data/src/core/ext/upb-generated/xds/core/v3/resource.upb.c +21 -14
- data/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +55 -43
- data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +42 -25
- data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +162 -80
- data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +25 -14
- data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +58 -39
- data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c +76 -38
- data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h +175 -77
- data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c +19 -12
- data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h +82 -35
- data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c +16 -11
- data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h +28 -27
- data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c +30 -19
- data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h +143 -55
- data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c +8 -7
- data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h +11 -15
- data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c +32 -21
- data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h +154 -64
- data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c +160 -101
- data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h +494 -294
- data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c +83 -52
- data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h +423 -165
- data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c +22 -15
- data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h +45 -37
- data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c +38 -23
- data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h +154 -76
- data/src/core/ext/upb-generated/xds/type/v3/cel.upb.c +35 -22
- data/src/core/ext/upb-generated/xds/type/v3/cel.upb.h +84 -66
- data/src/core/ext/upb-generated/xds/type/v3/range.upb.c +41 -22
- data/src/core/ext/upb-generated/xds/type/v3/range.upb.h +83 -53
- data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c +19 -12
- data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h +38 -31
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +89 -77
- data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h +11 -5
- data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +252 -253
- data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c +163 -161
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c +130 -119
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +142 -136
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c +20 -13
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c +39 -31
- data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h +11 -5
- data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c +134 -128
- data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h +11 -5
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c +402 -0
- data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h +111 -0
- data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +81 -75
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +64 -48
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h +11 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +495 -470
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +11 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +138 -136
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +12 -13
- data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +30 -30
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c +406 -273
- data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h +21 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h +6 -5
- data/src/core/ext/xds/certificate_provider_store.cc +8 -13
- data/src/core/ext/xds/certificate_provider_store.h +1 -1
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +30 -42
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.h +14 -9
- data/src/core/ext/xds/upb_utils.h +1 -1
- data/src/core/ext/xds/xds_api.cc +41 -18
- data/src/core/ext/xds/xds_api.h +5 -4
- data/src/core/ext/xds/xds_audit_logger_registry.cc +122 -0
- data/src/core/ext/xds/xds_audit_logger_registry.h +68 -0
- data/src/core/ext/xds/xds_bootstrap.cc +3 -3
- data/src/core/ext/xds/xds_bootstrap_grpc.cc +65 -50
- data/src/core/ext/xds/xds_bootstrap_grpc.h +10 -13
- data/src/core/ext/xds/xds_client.cc +35 -16
- data/src/core/ext/xds/xds_client.h +3 -3
- data/src/core/ext/xds/xds_client_grpc.cc +12 -6
- data/src/core/ext/xds/xds_client_grpc.h +16 -2
- data/src/core/ext/xds/xds_client_stats.h +11 -1
- data/src/core/ext/xds/xds_cluster.cc +100 -109
- data/src/core/ext/xds/xds_cluster.h +1 -6
- data/src/core/ext/xds/xds_cluster_specifier_plugin.cc +15 -11
- data/src/core/ext/xds/xds_cluster_specifier_plugin.h +2 -2
- data/src/core/ext/xds/xds_common_types.cc +8 -5
- data/src/core/ext/xds/xds_endpoint.cc +21 -28
- data/src/core/ext/xds/xds_endpoint.h +1 -2
- data/src/core/ext/xds/xds_health_status.cc +0 -17
- data/src/core/ext/xds/xds_health_status.h +5 -25
- data/src/core/ext/xds/xds_http_fault_filter.cc +16 -14
- data/src/core/ext/xds/xds_http_fault_filter.h +1 -1
- data/src/core/ext/xds/xds_http_filters.cc +1 -4
- data/src/core/ext/xds/xds_http_filters.h +3 -2
- data/src/core/ext/xds/xds_http_rbac_filter.cc +152 -72
- data/src/core/ext/xds/xds_http_rbac_filter.h +1 -1
- data/src/core/ext/xds/xds_http_stateful_session_filter.cc +16 -16
- data/src/core/ext/xds/xds_http_stateful_session_filter.h +1 -1
- data/src/core/ext/xds/xds_lb_policy_registry.cc +60 -36
- data/src/core/ext/xds/xds_listener.cc +25 -18
- data/src/core/ext/xds/xds_listener.h +14 -4
- data/src/core/ext/xds/xds_resource_type.h +3 -9
- data/src/core/ext/xds/xds_resource_type_impl.h +9 -11
- data/src/core/ext/xds/xds_route_config.cc +62 -19
- data/src/core/ext/xds/xds_route_config.h +2 -2
- data/src/core/ext/xds/xds_server_config_fetcher.cc +53 -28
- data/src/core/ext/xds/xds_transport_grpc.cc +13 -2
- data/src/core/lib/address_utils/parse_address.cc +63 -1
- data/src/core/lib/address_utils/parse_address.h +8 -0
- data/src/core/lib/address_utils/sockaddr_utils.cc +46 -1
- data/src/core/lib/address_utils/sockaddr_utils.h +2 -2
- data/src/core/lib/avl/avl.h +15 -173
- data/src/core/lib/backoff/random_early_detection.cc +4 -2
- data/src/core/lib/backoff/random_early_detection.h +7 -4
- data/src/core/lib/channel/call_tracer.cc +296 -1
- data/src/core/lib/channel/call_tracer.h +39 -1
- data/src/core/lib/channel/channel_args.cc +120 -46
- data/src/core/lib/channel/channel_args.h +52 -4
- data/src/core/lib/channel/channel_trace.cc +16 -12
- data/src/core/lib/channel/channelz.cc +163 -135
- data/src/core/lib/channel/channelz.h +42 -35
- data/src/core/lib/channel/channelz_registry.cc +24 -20
- data/src/core/lib/channel/channelz_registry.h +4 -2
- data/src/core/lib/channel/connected_channel.cc +103 -35
- data/src/core/lib/channel/promise_based_filter.cc +15 -17
- data/src/core/lib/channel/promise_based_filter.h +5 -1
- data/src/core/lib/compression/compression_internal.cc +8 -7
- data/src/core/lib/config/config_vars.cc +20 -18
- data/src/core/lib/config/config_vars.h +5 -5
- data/src/core/lib/config/core_configuration.cc +2 -1
- data/src/core/lib/config/core_configuration.h +5 -4
- data/src/core/lib/config/load_config.cc +13 -0
- data/src/core/lib/config/load_config.h +6 -0
- data/src/core/lib/debug/event_log.h +1 -1
- data/src/core/lib/debug/stats_data.cc +202 -35
- data/src/core/lib/debug/stats_data.h +103 -1
- data/src/core/lib/debug/trace.cc +31 -56
- data/src/core/lib/debug/trace.h +14 -4
- data/src/core/lib/event_engine/ares_resolver.cc +721 -0
- data/src/core/lib/event_engine/ares_resolver.h +150 -0
- data/src/core/lib/event_engine/cf_engine/cf_engine.cc +221 -0
- data/src/core/lib/event_engine/cf_engine/cf_engine.h +89 -0
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +357 -0
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.h +149 -0
- data/src/core/lib/event_engine/cf_engine/cftype_unique_ref.h +82 -0
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +241 -0
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.h +120 -0
- data/src/core/lib/event_engine/default_event_engine.cc +13 -1
- data/src/core/lib/event_engine/default_event_engine_factory.cc +14 -2
- data/src/core/lib/event_engine/event_engine.cc +0 -12
- data/src/core/lib/event_engine/forkable.cc +62 -43
- data/src/core/lib/event_engine/forkable.h +15 -0
- data/src/core/lib/event_engine/grpc_polled_fd.h +73 -0
- data/src/core/lib/event_engine/handle_containers.h +0 -4
- data/src/core/lib/event_engine/nameser.h +102 -0
- data/src/core/lib/event_engine/poller.h +2 -2
- data/src/core/lib/event_engine/posix.h +4 -0
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +5 -7
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +29 -9
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +10 -1
- data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +197 -0
- data/src/core/lib/event_engine/posix_engine/lockfree_event.cc +7 -18
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +28 -14
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +12 -1
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +90 -47
- data/src/core/lib/event_engine/posix_engine/posix_engine.h +21 -14
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +41 -31
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.h +9 -8
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +4 -2
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +50 -4
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +9 -0
- data/src/core/lib/event_engine/posix_engine/timer.h +10 -37
- data/src/core/lib/event_engine/posix_engine/timer_manager.h +1 -1
- data/src/core/lib/event_engine/posix_engine/traced_buffer_list.cc +2 -0
- data/src/core/lib/event_engine/shim.cc +9 -1
- data/src/core/lib/event_engine/tcp_socket_utils.cc +67 -7
- data/src/core/lib/event_engine/tcp_socket_utils.h +3 -0
- data/src/core/lib/event_engine/thread_pool/thread_count.cc +58 -0
- data/src/core/lib/event_engine/thread_pool/thread_count.h +176 -0
- data/src/core/lib/event_engine/thread_pool/thread_pool.h +50 -0
- data/src/core/lib/event_engine/{executor/executor.h → thread_pool/thread_pool_factory.cc} +12 -15
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +523 -0
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +223 -0
- data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.cc +157 -0
- data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.h +104 -0
- data/src/core/lib/event_engine/trace.cc +1 -0
- data/src/core/lib/event_engine/trace.h +6 -0
- data/src/core/lib/event_engine/windows/iocp.cc +4 -3
- data/src/core/lib/event_engine/windows/iocp.h +3 -3
- data/src/core/lib/event_engine/windows/win_socket.cc +6 -6
- data/src/core/lib/event_engine/windows/win_socket.h +4 -4
- data/src/core/lib/event_engine/windows/windows_endpoint.cc +60 -59
- data/src/core/lib/event_engine/windows/windows_endpoint.h +17 -13
- data/src/core/lib/event_engine/windows/windows_engine.cc +21 -18
- data/src/core/lib/event_engine/windows/windows_engine.h +14 -18
- data/src/core/lib/event_engine/windows/windows_listener.cc +3 -3
- data/src/core/lib/event_engine/windows/windows_listener.h +3 -2
- data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +63 -0
- data/src/core/lib/event_engine/work_queue/basic_work_queue.h +71 -0
- data/src/core/lib/event_engine/work_queue/work_queue.h +62 -0
- data/src/core/lib/experiments/config.cc +121 -30
- data/src/core/lib/experiments/config.h +33 -5
- data/src/core/lib/experiments/experiments.cc +675 -23
- data/src/core/lib/experiments/experiments.h +342 -27
- data/src/core/lib/gpr/log_internal.h +55 -0
- data/src/core/lib/gpr/posix/time.cc +5 -0
- data/src/core/lib/gprpp/crash.cc +10 -0
- data/src/core/lib/gprpp/crash.h +3 -0
- data/src/core/lib/gprpp/dual_ref_counted.h +9 -9
- data/src/core/lib/gprpp/fork.cc +8 -9
- data/src/core/lib/gprpp/fork.h +7 -6
- data/src/core/lib/gprpp/if_list.h +4530 -0
- data/src/core/lib/gprpp/manual_constructor.h +1 -2
- data/src/core/lib/gprpp/no_destruct.h +1 -1
- data/src/core/lib/gprpp/orphanable.h +3 -3
- data/src/core/lib/gprpp/per_cpu.cc +35 -0
- data/src/core/lib/gprpp/per_cpu.h +61 -9
- data/src/core/lib/gprpp/ref_counted.h +9 -7
- data/src/core/lib/gprpp/ref_counted_ptr.h +63 -0
- data/src/core/lib/gprpp/ref_counted_string.cc +44 -0
- data/src/core/lib/gprpp/ref_counted_string.h +146 -0
- data/src/core/lib/gprpp/sorted_pack.h +3 -12
- data/src/core/lib/gprpp/status_helper.cc +2 -2
- data/src/core/lib/gprpp/status_helper.h +16 -15
- data/src/core/lib/gprpp/time.cc +1 -0
- data/src/core/lib/gprpp/time.h +13 -1
- data/src/core/lib/gprpp/type_list.h +32 -0
- data/src/core/lib/gprpp/validation_errors.cc +8 -3
- data/src/core/lib/gprpp/validation_errors.h +16 -9
- data/src/core/lib/gprpp/work_serializer.cc +320 -12
- data/src/core/lib/gprpp/work_serializer.h +30 -9
- data/src/core/lib/http/httpcli.h +6 -9
- data/src/core/lib/http/httpcli_security_connector.cc +1 -0
- data/src/core/lib/iomgr/buffer_list.cc +2 -0
- data/src/core/lib/iomgr/buffer_list.h +0 -1
- data/src/core/lib/iomgr/cfstream_handle.cc +1 -1
- data/src/core/lib/iomgr/combiner.cc +57 -15
- data/src/core/lib/iomgr/combiner.h +8 -3
- data/src/core/lib/iomgr/endpoint_cfstream.cc +10 -8
- data/src/core/lib/iomgr/error.cc +32 -2
- data/src/core/lib/iomgr/error.h +9 -10
- data/src/core/lib/iomgr/ev_apple.cc +12 -12
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +15 -10
- data/src/core/lib/iomgr/ev_poll_posix.cc +6 -5
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +24 -27
- data/src/core/lib/iomgr/exec_ctx.cc +12 -0
- data/src/core/lib/iomgr/exec_ctx.h +66 -19
- data/src/core/lib/iomgr/iocp_windows.cc +24 -3
- data/src/core/lib/iomgr/iocp_windows.h +11 -0
- data/src/core/lib/iomgr/iomgr_posix_cfstream.cc +1 -1
- data/src/core/lib/iomgr/polling_entity.cc +10 -0
- data/src/core/lib/iomgr/polling_entity.h +2 -0
- data/src/core/lib/iomgr/pollset.h +4 -5
- data/src/core/lib/iomgr/port.h +24 -0
- data/src/core/lib/iomgr/resolve_address.cc +13 -1
- data/src/core/lib/iomgr/resolve_address.h +17 -3
- data/src/core/lib/iomgr/sockaddr_posix.h +7 -0
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +33 -2
- data/src/core/lib/iomgr/socket_utils_posix.cc +5 -0
- data/src/core/lib/iomgr/socket_utils_posix.h +9 -0
- data/src/core/lib/iomgr/socket_windows.cc +61 -7
- data/src/core/lib/iomgr/socket_windows.h +9 -2
- data/src/core/lib/iomgr/tcp_client_cfstream.cc +14 -3
- data/src/core/lib/iomgr/tcp_client_posix.cc +8 -1
- data/src/core/lib/iomgr/tcp_posix.cc +41 -21
- data/src/core/lib/iomgr/tcp_server_posix.cc +145 -106
- data/src/core/lib/iomgr/tcp_server_utils_posix.h +1 -1
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +5 -2
- data/src/core/lib/iomgr/tcp_server_windows.cc +1 -1
- data/src/core/lib/iomgr/tcp_windows.cc +1 -3
- data/src/core/lib/iomgr/timer_generic.cc +17 -16
- data/src/core/lib/iomgr/vsock.cc +59 -0
- data/src/core/lib/iomgr/vsock.h +38 -0
- data/src/core/lib/iomgr/wakeup_fd_posix.h +3 -6
- data/src/core/lib/json/json.h +2 -218
- data/src/core/lib/json/json_object_loader.cc +24 -25
- data/src/core/lib/json/json_object_loader.h +30 -18
- data/src/core/lib/json/json_reader.cc +69 -42
- data/src/core/lib/json/json_reader.h +34 -0
- data/src/core/lib/json/json_util.cc +10 -15
- data/src/core/lib/json/json_util.h +5 -4
- data/src/core/lib/json/json_writer.cc +24 -25
- data/src/core/lib/json/json_writer.h +33 -0
- data/src/core/lib/load_balancing/delegating_helper.h +115 -0
- data/src/core/lib/load_balancing/lb_policy.h +43 -9
- data/src/core/lib/load_balancing/lb_policy_registry.cc +9 -8
- data/src/core/lib/load_balancing/subchannel_interface.h +6 -0
- data/src/core/lib/matchers/matchers.cc +3 -4
- data/src/core/lib/matchers/matchers.h +2 -1
- data/src/core/lib/promise/activity.cc +5 -0
- data/src/core/lib/promise/activity.h +10 -0
- data/src/core/lib/promise/arena_promise.h +5 -1
- data/src/core/lib/promise/detail/basic_seq.h +1 -372
- data/src/core/lib/promise/detail/promise_factory.h +1 -1
- data/src/core/lib/promise/detail/seq_state.h +2494 -0
- data/src/core/lib/promise/latch.h +1 -0
- data/src/core/lib/promise/loop.h +8 -5
- data/src/core/lib/promise/party.cc +31 -13
- data/src/core/lib/promise/party.h +12 -3
- data/src/core/lib/promise/pipe.h +40 -26
- data/src/core/lib/promise/poll.h +4 -6
- data/src/core/lib/promise/prioritized_race.h +95 -0
- data/src/core/lib/promise/seq.h +19 -2
- data/src/core/lib/promise/sleep.cc +2 -1
- data/src/core/lib/promise/sleep.h +5 -10
- data/src/core/lib/promise/try_seq.h +34 -2
- data/src/core/lib/resolver/resolver_factory.h +3 -2
- data/src/core/lib/resolver/server_address.cc +9 -102
- data/src/core/lib/resolver/server_address.h +11 -70
- data/src/core/lib/resource_quota/api.cc +1 -0
- data/src/core/lib/resource_quota/arena.cc +2 -0
- data/src/core/lib/resource_quota/arena.h +42 -8
- data/src/core/lib/resource_quota/memory_quota.cc +65 -10
- data/src/core/lib/resource_quota/memory_quota.h +6 -4
- data/src/core/lib/resource_quota/resource_quota.h +1 -0
- data/src/core/lib/security/authorization/audit_logging.cc +98 -0
- data/src/core/lib/security/authorization/audit_logging.h +73 -0
- data/src/core/lib/security/authorization/authorization_policy_provider.h +1 -1
- data/src/core/lib/security/authorization/grpc_authorization_engine.cc +47 -2
- data/src/core/lib/security/authorization/grpc_authorization_engine.h +18 -1
- data/src/core/lib/security/authorization/rbac_policy.cc +36 -4
- data/src/core/lib/security/authorization/rbac_policy.h +19 -2
- data/src/core/lib/security/authorization/stdout_logger.cc +75 -0
- data/src/core/lib/security/authorization/stdout_logger.h +61 -0
- data/src/core/lib/security/certificate_provider/certificate_provider_factory.h +8 -4
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.cc +8 -18
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.h +14 -8
- data/src/core/lib/security/credentials/channel_creds_registry.h +51 -27
- data/src/core/lib/security/credentials/channel_creds_registry_init.cc +169 -9
- data/src/core/lib/security/credentials/composite/composite_credentials.cc +1 -1
- data/src/core/lib/security/credentials/composite/composite_credentials.h +3 -1
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +54 -49
- data/src/core/lib/security/credentials/external/aws_request_signer.cc +8 -0
- data/src/core/lib/security/credentials/external/external_account_credentials.cc +104 -65
- data/src/core/lib/security/credentials/external/external_account_credentials.h +6 -0
- data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +23 -21
- data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +29 -27
- data/src/core/lib/security/credentials/fake/fake_credentials.cc +30 -38
- data/src/core/lib/security/credentials/fake/fake_credentials.h +28 -0
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +6 -2
- data/src/core/lib/security/credentials/jwt/json_token.cc +36 -16
- data/src/core/lib/security/credentials/jwt/json_token.h +4 -0
- data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +10 -5
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +82 -38
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +18 -16
- data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +116 -9
- data/src/core/lib/security/credentials/ssl/ssl_credentials.h +14 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc +86 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +0 -55
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h +2 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +8 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +5 -1
- data/src/core/lib/security/credentials/tls/tls_credentials.cc +2 -1
- data/src/core/lib/security/credentials/tls/tls_credentials.h +3 -1
- data/src/core/lib/security/credentials/xds/xds_credentials.cc +1 -0
- data/src/core/lib/security/security_connector/alts/alts_security_connector.cc +2 -5
- data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +1 -0
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +7 -57
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +1 -1
- data/src/core/lib/security/security_connector/ssl_utils.cc +3 -1
- data/src/core/lib/security/security_connector/ssl_utils.h +1 -1
- data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +3 -15
- data/src/core/lib/security/transport/client_auth_filter.cc +8 -5
- data/src/core/lib/security/transport/security_handshaker.cc +1 -0
- data/src/core/lib/security/transport/server_auth_filter.cc +2 -0
- data/src/core/lib/security/util/json_util.cc +6 -5
- data/src/core/lib/service_config/service_config_call_data.h +54 -20
- data/src/core/lib/service_config/service_config_impl.cc +13 -6
- data/src/core/lib/slice/slice.h +24 -0
- data/src/core/lib/slice/slice_buffer.cc +15 -0
- data/src/core/lib/slice/slice_buffer.h +16 -4
- data/src/core/lib/slice/slice_refcount.h +1 -1
- data/src/core/lib/surface/call.cc +244 -100
- data/src/core/lib/surface/call.h +5 -5
- data/src/core/lib/surface/channel.cc +8 -4
- data/src/core/lib/surface/channel_init.h +3 -2
- data/src/core/lib/surface/completion_queue.cc +18 -3
- data/src/core/lib/surface/init.cc +1 -0
- data/src/core/lib/surface/server.cc +151 -80
- data/src/core/lib/surface/server.h +19 -21
- data/src/core/lib/surface/validate_metadata.cc +37 -22
- data/src/core/lib/surface/validate_metadata.h +13 -3
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/batch_builder.cc +16 -15
- data/src/core/lib/transport/batch_builder.h +48 -36
- data/src/core/lib/transport/metadata_batch.cc +13 -7
- data/src/core/lib/transport/metadata_batch.h +118 -108
- data/src/core/lib/transport/metadata_compression_traits.h +67 -0
- data/src/core/lib/transport/parsed_metadata.h +32 -20
- data/src/core/lib/transport/simple_slice_based_metadata.h +54 -0
- data/src/core/lib/transport/transport.h +30 -11
- data/src/core/plugin_registry/grpc_plugin_registry.cc +2 -6
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +2 -0
- data/src/core/tsi/alts/crypt/aes_gcm.cc +27 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc +4 -6
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +1 -2
- data/src/core/tsi/ssl_transport_security.cc +51 -9
- data/src/core/tsi/ssl_transport_security.h +17 -1
- data/src/ruby/bin/math_pb.rb +24 -18
- data/src/ruby/ext/grpc/extconf.rb +27 -27
- data/src/ruby/ext/grpc/rb_call.c +62 -39
- data/src/ruby/ext/grpc/rb_call_credentials.c +0 -1
- data/src/ruby/ext/grpc/rb_channel.c +109 -84
- data/src/ruby/ext/grpc/rb_channel.h +1 -0
- data/src/ruby/ext/grpc/rb_channel_args.c +18 -2
- data/src/ruby/ext/grpc/rb_channel_args.h +4 -0
- data/src/ruby/ext/grpc/rb_channel_credentials.c +0 -1
- data/src/ruby/ext/grpc/rb_compression_options.c +0 -1
- data/src/ruby/ext/grpc/rb_event_thread.c +22 -6
- data/src/ruby/ext/grpc/rb_event_thread.h +1 -0
- data/src/ruby/ext/grpc/rb_grpc.c +192 -30
- data/src/ruby/ext/grpc/rb_grpc.h +8 -2
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +2 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +3 -0
- data/src/ruby/ext/grpc/rb_server.c +62 -45
- data/src/ruby/ext/grpc/rb_server_credentials.c +0 -1
- data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +0 -1
- data/src/ruby/ext/grpc/rb_xds_server_credentials.c +0 -1
- data/src/ruby/lib/grpc/generic/active_call.rb +9 -14
- data/src/ruby/lib/grpc/generic/bidi_call.rb +2 -0
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/grpc/health/v1/health_pb.rb +24 -13
- data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +24 -3
- data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +28 -111
- data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +25 -2
- data/src/ruby/pb/test/client.rb +16 -0
- data/src/ruby/spec/generic/rpc_server_spec.rb +3 -3
- data/third_party/abseil-cpp/absl/algorithm/container.h +3 -2
- data/third_party/abseil-cpp/absl/base/attributes.h +58 -5
- data/third_party/abseil-cpp/absl/base/call_once.h +1 -1
- data/third_party/abseil-cpp/absl/base/casts.h +8 -8
- data/third_party/abseil-cpp/absl/base/config.h +89 -106
- data/third_party/abseil-cpp/absl/base/dynamic_annotations.h +26 -1
- data/third_party/abseil-cpp/absl/base/internal/direct_mmap.h +2 -2
- data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc +50 -39
- data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.h +2 -1
- data/third_party/abseil-cpp/absl/base/internal/prefetch.h +17 -18
- data/third_party/abseil-cpp/absl/base/internal/raw_logging.cc +32 -3
- data/third_party/abseil-cpp/absl/base/internal/raw_logging.h +24 -4
- data/third_party/abseil-cpp/absl/base/internal/sysinfo.cc +31 -73
- data/third_party/abseil-cpp/absl/base/internal/thread_identity.cc +9 -8
- data/third_party/abseil-cpp/absl/base/internal/thread_identity.h +11 -11
- data/third_party/abseil-cpp/absl/base/internal/throw_delegate.cc +23 -32
- data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +2 -3
- data/third_party/abseil-cpp/absl/base/options.h +1 -1
- data/third_party/abseil-cpp/absl/base/policy_checks.h +3 -3
- data/third_party/abseil-cpp/absl/base/prefetch.h +198 -0
- data/third_party/abseil-cpp/absl/container/fixed_array.h +54 -29
- data/third_party/abseil-cpp/absl/container/flat_hash_map.h +5 -1
- data/third_party/abseil-cpp/absl/container/flat_hash_set.h +6 -2
- data/third_party/abseil-cpp/absl/container/inlined_vector.h +167 -79
- data/third_party/abseil-cpp/absl/container/internal/common_policy_traits.h +1 -1
- data/third_party/abseil-cpp/absl/container/internal/compressed_tuple.h +3 -21
- data/third_party/abseil-cpp/absl/container/internal/container_memory.h +1 -1
- data/third_party/abseil-cpp/absl/container/internal/hash_function_defaults.h +46 -0
- data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc +2 -0
- data/third_party/abseil-cpp/absl/container/internal/inlined_vector.h +85 -26
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_map.h +35 -18
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc +70 -29
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h +437 -236
- data/third_party/abseil-cpp/absl/crc/crc32c.h +8 -1
- data/third_party/abseil-cpp/absl/crc/internal/cpu_detect.cc +14 -8
- data/third_party/abseil-cpp/absl/crc/internal/crc.cc +4 -35
- data/third_party/abseil-cpp/absl/crc/internal/crc.h +2 -10
- data/third_party/abseil-cpp/absl/crc/internal/crc32_x86_arm_combined_simd.h +1 -1
- data/third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc +1 -1
- data/third_party/abseil-cpp/absl/crc/internal/crc_cord_state.h +4 -4
- data/third_party/abseil-cpp/absl/crc/internal/crc_internal.h +8 -10
- data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc +17 -19
- data/third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc +8 -8
- data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h +2 -1
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_aarch64-inl.inc +59 -23
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_powerpc-inl.inc +1 -1
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_x86-inl.inc +1 -1
- data/third_party/abseil-cpp/absl/debugging/internal/symbolize.h +1 -1
- data/third_party/abseil-cpp/absl/debugging/symbolize_elf.inc +43 -19
- data/third_party/abseil-cpp/absl/debugging/symbolize_emscripten.inc +3 -0
- data/third_party/abseil-cpp/absl/flags/commandlineflag.h +1 -1
- data/third_party/abseil-cpp/absl/flags/internal/commandlineflag.cc +1 -1
- data/third_party/abseil-cpp/absl/flags/internal/flag.cc +2 -2
- data/third_party/abseil-cpp/absl/flags/internal/flag.h +16 -15
- data/third_party/abseil-cpp/absl/flags/internal/flag_msvc.inc +1 -1
- data/third_party/abseil-cpp/absl/flags/marshalling.cc +43 -2
- data/third_party/abseil-cpp/absl/flags/marshalling.h +5 -0
- data/third_party/abseil-cpp/absl/functional/any_invocable.h +9 -1
- data/third_party/abseil-cpp/absl/functional/bind_front.h +1 -1
- data/third_party/abseil-cpp/absl/functional/function_ref.h +3 -3
- data/third_party/abseil-cpp/absl/functional/internal/any_invocable.h +37 -24
- data/third_party/abseil-cpp/absl/functional/internal/function_ref.h +19 -9
- data/third_party/abseil-cpp/absl/hash/hash.h +7 -4
- data/third_party/abseil-cpp/absl/hash/internal/hash.h +38 -15
- data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc +6 -0
- data/third_party/abseil-cpp/absl/meta/type_traits.h +48 -373
- data/third_party/abseil-cpp/absl/numeric/bits.h +4 -4
- data/third_party/abseil-cpp/absl/numeric/int128.cc +20 -8
- data/third_party/abseil-cpp/absl/numeric/int128.h +36 -39
- data/third_party/abseil-cpp/absl/numeric/int128_have_intrinsic.inc +0 -3
- data/third_party/abseil-cpp/absl/numeric/int128_no_intrinsic.inc +47 -30
- data/third_party/abseil-cpp/absl/random/bit_gen_ref.h +185 -0
- data/third_party/abseil-cpp/absl/random/internal/fast_uniform_bits.h +4 -3
- data/third_party/abseil-cpp/absl/random/internal/generate_real.h +1 -1
- data/third_party/abseil-cpp/absl/random/internal/platform.h +1 -1
- data/third_party/abseil-cpp/absl/random/internal/randen_detect.cc +4 -0
- data/third_party/abseil-cpp/absl/random/internal/randen_engine.h +1 -1
- data/third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc +1 -1
- data/third_party/abseil-cpp/absl/random/internal/uniform_helper.h +1 -1
- data/third_party/abseil-cpp/absl/status/internal/status_internal.h +4 -0
- data/third_party/abseil-cpp/absl/status/internal/statusor_internal.h +12 -24
- data/third_party/abseil-cpp/absl/status/status.cc +11 -7
- data/third_party/abseil-cpp/absl/status/status.h +11 -2
- data/third_party/abseil-cpp/absl/status/statusor.h +22 -8
- data/third_party/abseil-cpp/absl/strings/ascii.cc +54 -6
- data/third_party/abseil-cpp/absl/strings/charconv.cc +21 -4
- data/third_party/abseil-cpp/absl/strings/charconv.h +2 -2
- data/third_party/abseil-cpp/absl/strings/cord.cc +1 -2
- data/third_party/abseil-cpp/absl/strings/cord.h +32 -5
- data/third_party/abseil-cpp/absl/strings/cord_analysis.cc +23 -1
- data/third_party/abseil-cpp/absl/strings/cord_analysis.h +18 -0
- data/third_party/abseil-cpp/absl/strings/cord_buffer.h +2 -5
- data/third_party/abseil-cpp/absl/strings/escaping.cc +10 -32
- data/third_party/abseil-cpp/absl/strings/escaping.h +1 -1
- data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc +2 -4
- data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.h +3 -3
- data/third_party/abseil-cpp/absl/strings/internal/cord_internal.cc +0 -1
- data/third_party/abseil-cpp/absl/strings/internal/cord_internal.h +15 -13
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc +13 -4
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.h +8 -0
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc +5 -3
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.h +4 -7
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_flat.h +8 -0
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.h +2 -2
- data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc +46 -20
- data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.h +1 -34
- data/third_party/abseil-cpp/absl/strings/internal/cordz_info.cc +2 -1
- data/third_party/abseil-cpp/absl/strings/internal/escaping.cc +23 -0
- data/third_party/abseil-cpp/absl/strings/internal/escaping.h +1 -0
- data/third_party/abseil-cpp/absl/strings/internal/memutil.cc +2 -77
- data/third_party/abseil-cpp/absl/strings/internal/memutil.h +4 -112
- data/third_party/abseil-cpp/absl/strings/internal/stl_type_traits.h +1 -1
- data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc +10 -31
- data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.h +8 -8
- data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.h +5 -20
- data/third_party/abseil-cpp/absl/strings/internal/str_format/constexpr_parser.h +1 -0
- data/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h +1 -1
- data/third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc +9 -9
- data/third_party/abseil-cpp/absl/strings/internal/str_split_internal.h +56 -6
- data/third_party/abseil-cpp/absl/strings/match.cc +87 -0
- data/third_party/abseil-cpp/absl/strings/match.h +19 -0
- data/third_party/abseil-cpp/absl/strings/numbers.cc +154 -122
- data/third_party/abseil-cpp/absl/strings/numbers.h +1 -6
- data/third_party/abseil-cpp/absl/strings/str_cat.cc +7 -50
- data/third_party/abseil-cpp/absl/strings/str_cat.h +83 -15
- data/third_party/abseil-cpp/absl/strings/str_format.h +6 -3
- data/third_party/abseil-cpp/absl/strings/str_split.cc +9 -6
- data/third_party/abseil-cpp/absl/strings/string_view.cc +26 -4
- data/third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc +5 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/futex.h +63 -43
- data/third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.cc +111 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.h +63 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc +11 -7
- data/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.cc +225 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.h +122 -114
- data/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc +12 -8
- data/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.h +10 -1
- data/third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.cc +167 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.h +60 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.cc +122 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.h +65 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.cc +91 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.h +56 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter.h +19 -113
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter_base.cc +42 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter_base.h +90 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.cc +151 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.h +70 -0
- data/third_party/abseil-cpp/absl/synchronization/mutex.cc +407 -411
- data/third_party/abseil-cpp/absl/synchronization/mutex.h +152 -118
- data/third_party/abseil-cpp/absl/time/clock.cc +6 -7
- data/third_party/abseil-cpp/absl/time/duration.cc +24 -26
- data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/time_zone.h +1 -0
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc +1 -1
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc +3 -3
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc +8 -6
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.h +6 -3
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc +4 -2
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.h +4 -0
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc +322 -295
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.h +8 -17
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc +51 -33
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.h +7 -2
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc +128 -2
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.h +1 -1
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/tzfile.h +5 -1
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc +34 -34
- data/third_party/abseil-cpp/absl/time/time.cc +9 -2
- data/third_party/abseil-cpp/absl/time/time.h +115 -15
- data/third_party/abseil-cpp/absl/types/internal/optional.h +0 -52
- data/third_party/abseil-cpp/absl/types/internal/span.h +2 -2
- data/third_party/abseil-cpp/absl/types/internal/variant.h +2 -2
- data/third_party/abseil-cpp/absl/types/optional.h +15 -13
- data/third_party/abseil-cpp/absl/types/span.h +1 -2
- data/third_party/boringssl-with-bazel/err_data.c +554 -553
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_gentm.c +7 -3
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_mbstr.c +9 -8
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strex.c +7 -7
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strnid.c +6 -6
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_time.c +34 -1
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_utctm.c +11 -4
- data/third_party/boringssl-with-bazel/src/crypto/asn1/internal.h +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_dec.c +10 -6
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_enc.c +7 -4
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +9 -7
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio_mem.c +40 -55
- data/third_party/boringssl-with-bazel/src/crypto/bio/connect.c +7 -7
- data/third_party/boringssl-with-bazel/src/crypto/bio/errno.c +92 -0
- data/third_party/boringssl-with-bazel/src/crypto/bio/fd.c +14 -54
- data/third_party/boringssl-with-bazel/src/crypto/bio/file.c +23 -22
- data/third_party/boringssl-with-bazel/src/crypto/bio/internal.h +16 -6
- data/third_party/boringssl-with-bazel/src/crypto/bio/pair.c +4 -2
- data/third_party/boringssl-with-bazel/src/crypto/bio/socket.c +4 -4
- data/third_party/boringssl-with-bazel/src/crypto/bio/socket_helper.c +11 -2
- data/third_party/boringssl-with-bazel/src/crypto/blake2/blake2.c +31 -22
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbs.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/chacha/chacha.c +19 -1
- data/third_party/boringssl-with-bazel/src/crypto/chacha/internal.h +8 -1
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_tls.c +29 -26
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/internal.h +8 -0
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/tls_cbc.c +189 -13
- data/third_party/boringssl-with-bazel/src/crypto/conf/conf.c +31 -192
- data/third_party/boringssl-with-bazel/src/crypto/conf/conf_def.h +3 -7
- data/third_party/boringssl-with-bazel/src/crypto/conf/internal.h +8 -0
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_apple.c +3 -2
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_fuchsia.c +0 -1
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_linux.c +0 -2
- data/third_party/boringssl-with-bazel/src/crypto/{cpu_aarch64_freebsd.c → cpu_aarch64_openbsd.c} +23 -24
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_sysreg.c +93 -0
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_win.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_freebsd.c +0 -1
- data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_linux.c +0 -2
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.c +55 -50
- data/third_party/boringssl-with-bazel/src/crypto/{cpu_arm.c → curve25519/curve25519_64_adx.c} +4 -24
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519_tables.h +2834 -7442
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/internal.h +26 -8
- data/third_party/boringssl-with-bazel/src/crypto/dh_extra/dh_asn1.c +4 -0
- data/third_party/boringssl-with-bazel/src/crypto/dh_extra/params.c +5 -0
- data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa.c +4 -0
- data/third_party/boringssl-with-bazel/src/crypto/dsa/internal.h +20 -0
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/ec_asn1.c +110 -72
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/ec_derive.c +4 -3
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/hash_to_curve.c +42 -34
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/internal.h +17 -11
- data/third_party/boringssl-with-bazel/src/crypto/ecdh_extra/ecdh_extra.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/err/err.c +23 -21
- data/third_party/boringssl-with-bazel/src/crypto/evp/evp.c +35 -12
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec.c +2 -4
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec_asn1.c +3 -7
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/evp/pbkdf.c +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/evp/print.c +7 -6
- data/third_party/boringssl-with-bazel/src/crypto/ex_data.c +34 -72
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bcm.c +2 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/div.c +12 -5
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd.c +5 -6
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/internal.h +12 -6
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery.c +17 -18
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery_inv.c +51 -15
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/rsaz_exp.c +7 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/delocate.h +5 -6
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/check.c +37 -8
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/dh.c +41 -19
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/internal.h +9 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/builtin_curves.h +277 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec.c +204 -428
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_key.c +4 -4
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_montgomery.c +31 -64
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/felem.c +17 -13
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/internal.h +105 -143
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/oct.c +19 -19
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p224-64.c +16 -18
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256-nistz.c +27 -30
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256.c +23 -26
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256_table.h +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/scalar.c +24 -24
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/simple.c +21 -37
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/simple_mul.c +31 -31
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/wnaf.c +16 -16
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdh/ecdh.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdsa/ecdsa.c +11 -5
- data/third_party/boringssl-with-bazel/src/crypto/{hkdf → fipsmodule/hkdf}/hkdf.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/cbc.c +2 -10
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/ctr.c +1 -4
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/gcm.c +115 -133
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/gcm_nohw.c +12 -14
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/internal.h +57 -47
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/ofb.c +1 -8
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/polyval.c +27 -28
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.c +40 -26
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/internal.h +21 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/rand.c +38 -19
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/urandom.c +2 -41
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/internal.h +76 -16
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/padding.c +5 -288
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa.c +143 -83
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.c +126 -233
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/self_check.c +113 -24
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/service_indicator/service_indicator.c +4 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/tls/internal.h +8 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/tls/kdf.c +33 -0
- data/third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c +169 -6
- data/third_party/boringssl-with-bazel/src/crypto/internal.h +216 -87
- data/third_party/boringssl-with-bazel/src/crypto/kyber/internal.h +32 -2
- data/third_party/boringssl-with-bazel/src/crypto/kyber/keccak.c +11 -12
- data/third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c +834 -0
- data/third_party/boringssl-with-bazel/src/crypto/mem.c +7 -8
- data/third_party/boringssl-with-bazel/src/crypto/obj/obj.c +25 -46
- data/third_party/boringssl-with-bazel/src/crypto/obj/obj_dat.h +6 -13
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_lib.c +18 -14
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/internal.h +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/p5_pbev2.c +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8.c +7 -7
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8_x509.c +8 -5
- data/third_party/boringssl-with-bazel/src/crypto/pool/internal.h +1 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/deterministic.c +7 -6
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/forkunsafe.c +6 -12
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/getentropy.c +52 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/{fuchsia.c → ios.c} +8 -8
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/trusty.c +38 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/windows.c +41 -19
- data/third_party/boringssl-with-bazel/src/crypto/{refcount_c11.c → refcount.c} +11 -17
- data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/internal.h +77 -0
- data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_crypt.c +568 -0
- data/third_party/boringssl-with-bazel/src/crypto/stack/stack.c +152 -72
- data/third_party/boringssl-with-bazel/src/crypto/thread_none.c +0 -8
- data/third_party/boringssl-with-bazel/src/crypto/thread_pthread.c +6 -35
- data/third_party/boringssl-with-bazel/src/crypto/thread_win.c +5 -26
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/internal.h +62 -0
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/pmbtoken.c +240 -72
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/trust_token.c +35 -0
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/voprf.c +588 -130
- data/third_party/boringssl-with-bazel/src/crypto/x509/a_sign.c +27 -18
- data/third_party/boringssl-with-bazel/src/crypto/x509/asn1_gen.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c +10 -20
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.c +0 -3
- data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +3 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509/name_print.c +17 -39
- data/third_party/boringssl-with-bazel/src/crypto/x509/policy.c +18 -14
- data/third_party/boringssl-with-bazel/src/crypto/x509/t_x509.c +39 -48
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_att.c +1 -141
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_d2.c +1 -3
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +19 -25
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_req.c +72 -23
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +8 -4
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_v3.c +8 -12
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +22 -24
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +1 -72
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509name.c +22 -29
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509spki.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c +9 -7
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_name.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_pubkey.c +7 -7
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509a.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/internal.h +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_alt.c +2 -3
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_conf.c +33 -46
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_cpols.c +1 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_info.c +3 -5
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_lib.c +20 -52
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_prn.c +14 -26
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c +11 -9
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_skey.c +17 -10
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_utl.c +5 -3
- data/third_party/boringssl-with-bazel/src/include/openssl/aead.h +5 -7
- data/third_party/boringssl-with-bazel/src/include/openssl/arm_arch.h +4 -119
- data/third_party/boringssl-with-bazel/src/include/openssl/asm_base.h +207 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/asn1.h +11 -4
- data/third_party/boringssl-with-bazel/src/include/openssl/base.h +37 -112
- data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +19 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/blake2.h +1 -4
- data/third_party/boringssl-with-bazel/src/include/openssl/bn.h +0 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/chacha.h +6 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/conf.h +5 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/dh.h +4 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/dsa.h +0 -21
- data/third_party/boringssl-with-bazel/src/include/openssl/ec.h +28 -11
- data/third_party/boringssl-with-bazel/src/include/openssl/ec_key.h +19 -6
- data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +14 -10
- data/third_party/boringssl-with-bazel/src/include/openssl/hpke.h +34 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/kyber.h +128 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/nid.h +2 -11
- data/third_party/boringssl-with-bazel/src/include/openssl/obj.h +8 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/pem.h +0 -3
- data/third_party/boringssl-with-bazel/src/include/openssl/rand.h +13 -14
- data/third_party/boringssl-with-bazel/src/include/openssl/rsa.h +91 -62
- data/third_party/boringssl-with-bazel/src/include/openssl/span.h +26 -19
- data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +275 -96
- data/third_party/boringssl-with-bazel/src/include/openssl/stack.h +242 -223
- data/third_party/boringssl-with-bazel/src/include/openssl/target.h +201 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/thread.h +1 -25
- data/third_party/boringssl-with-bazel/src/include/openssl/tls1.h +4 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/trust_token.h +8 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +760 -614
- data/third_party/boringssl-with-bazel/src/include/openssl/x509v3.h +45 -12
- data/third_party/boringssl-with-bazel/src/ssl/encrypted_client_hello.cc +11 -6
- data/third_party/boringssl-with-bazel/src/ssl/extensions.cc +10 -68
- data/third_party/boringssl-with-bazel/src/ssl/handoff.cc +20 -20
- data/third_party/boringssl-with-bazel/src/ssl/handshake_client.cc +33 -18
- data/third_party/boringssl-with-bazel/src/ssl/handshake_server.cc +1 -1
- data/third_party/boringssl-with-bazel/src/ssl/internal.h +86 -46
- data/third_party/boringssl-with-bazel/src/ssl/s3_both.cc +37 -18
- data/third_party/boringssl-with-bazel/src/ssl/ssl_asn1.cc +8 -4
- data/third_party/boringssl-with-bazel/src/ssl/ssl_cipher.cc +209 -209
- data/third_party/boringssl-with-bazel/src/ssl/ssl_file.cc +6 -6
- data/third_party/boringssl-with-bazel/src/ssl/ssl_key_share.cc +76 -118
- data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +209 -33
- data/third_party/boringssl-with-bazel/src/ssl/ssl_privkey.cc +17 -4
- data/third_party/boringssl-with-bazel/src/ssl/ssl_session.cc +19 -21
- data/third_party/boringssl-with-bazel/src/ssl/ssl_versions.cc +27 -19
- data/third_party/boringssl-with-bazel/src/ssl/tls13_both.cc +2 -1
- data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +2 -3
- data/third_party/boringssl-with-bazel/src/ssl/tls13_enc.cc +5 -21
- data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +5 -2
- data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_64_adx.h +691 -0
- data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_64_msvc.h +1281 -0
- data/third_party/boringssl-with-bazel/src/third_party/fiat/p256_64_msvc.h +2002 -0
- data/third_party/cares/cares/include/ares.h +23 -1
- data/third_party/cares/cares/{src/lib → include}/ares_nameser.h +9 -7
- data/third_party/cares/cares/include/ares_rules.h +2 -2
- data/third_party/cares/cares/include/ares_version.h +3 -3
- data/third_party/cares/cares/src/lib/ares__addrinfo2hostent.c +266 -0
- data/third_party/cares/cares/src/lib/ares__addrinfo_localhost.c +240 -0
- data/third_party/cares/cares/src/lib/ares__parse_into_addrinfo.c +49 -80
- data/third_party/cares/cares/src/lib/ares__readaddrinfo.c +37 -43
- data/third_party/cares/cares/src/lib/ares__sortaddrinfo.c +12 -4
- data/third_party/cares/cares/src/lib/ares_data.c +16 -0
- data/third_party/cares/cares/src/lib/ares_data.h +7 -0
- data/third_party/cares/cares/src/lib/ares_destroy.c +8 -0
- data/third_party/cares/cares/src/lib/ares_expand_name.c +17 -6
- data/third_party/cares/cares/src/lib/ares_freeaddrinfo.c +1 -0
- data/third_party/cares/cares/src/lib/ares_getaddrinfo.c +156 -78
- data/third_party/cares/cares/src/lib/ares_gethostbyname.c +130 -326
- data/third_party/cares/cares/src/lib/ares_init.c +97 -485
- data/third_party/cares/cares/src/lib/ares_library_init.c +2 -89
- data/third_party/cares/cares/src/lib/ares_parse_a_reply.c +23 -142
- data/third_party/cares/cares/src/lib/ares_parse_aaaa_reply.c +22 -142
- data/third_party/cares/cares/src/lib/ares_parse_uri_reply.c +184 -0
- data/third_party/cares/cares/src/lib/ares_private.h +30 -16
- data/third_party/cares/cares/src/lib/ares_process.c +55 -16
- data/third_party/cares/cares/src/lib/ares_query.c +1 -35
- data/third_party/cares/cares/src/lib/ares_rand.c +279 -0
- data/third_party/cares/cares/src/lib/ares_send.c +5 -7
- data/third_party/cares/cares/src/lib/ares_strdup.c +12 -19
- data/third_party/cares/cares/src/lib/ares_strsplit.c +44 -128
- data/third_party/cares/cares/src/lib/ares_strsplit.h +9 -10
- data/third_party/cares/cares/src/lib/inet_net_pton.c +78 -116
- data/third_party/cares/cares/src/tools/ares_getopt.h +53 -0
- data/third_party/upb/upb/{table_internal.h → alloc.h} +6 -6
- data/third_party/upb/upb/arena.h +4 -193
- data/third_party/upb/upb/array.h +4 -51
- data/third_party/upb/upb/base/descriptor_constants.h +104 -0
- data/third_party/upb/upb/base/log2.h +57 -0
- data/third_party/upb/upb/{status.c → base/status.c} +2 -7
- data/third_party/upb/upb/base/status.h +66 -0
- data/third_party/upb/upb/base/string_view.h +75 -0
- data/third_party/upb/upb/{array.c → collections/array.c} +73 -36
- data/third_party/upb/upb/collections/array.h +91 -0
- data/third_party/upb/upb/collections/array_internal.h +135 -0
- data/third_party/upb/upb/{map.c → collections/map.c} +60 -26
- data/third_party/upb/upb/collections/map.h +140 -0
- data/third_party/upb/upb/collections/map_gencode_util.h +78 -0
- data/third_party/upb/upb/collections/map_internal.h +170 -0
- data/third_party/upb/upb/collections/map_sorter.c +166 -0
- data/third_party/upb/upb/collections/map_sorter_internal.h +109 -0
- data/third_party/upb/upb/{message_value.h → collections/message_value.h} +19 -13
- data/third_party/upb/upb/decode.h +3 -62
- data/third_party/upb/upb/def.h +4 -384
- data/third_party/upb/upb/def.hpp +3 -411
- data/third_party/upb/upb/encode.h +3 -48
- data/third_party/upb/upb/extension_registry.h +3 -52
- data/third_party/upb/upb/generated_code_support.h +54 -0
- data/third_party/upb/upb/{table.c → hash/common.c} +55 -108
- data/third_party/upb/upb/hash/common.h +200 -0
- data/third_party/upb/upb/hash/int_table.h +102 -0
- data/third_party/upb/upb/hash/str_table.h +162 -0
- data/third_party/upb/upb/{json_decode.c → json/decode.c} +63 -98
- data/third_party/upb/upb/{json_decode.h → json/decode.h} +8 -3
- data/third_party/upb/upb/{json_encode.c → json/encode.c} +69 -45
- data/third_party/upb/upb/{json_encode.h → json/encode.h} +8 -3
- data/third_party/upb/upb/lex/atoi.c +68 -0
- data/third_party/upb/upb/lex/atoi.h +53 -0
- data/third_party/upb/upb/{upb.c → lex/round_trip.c} +2 -11
- data/third_party/upb/upb/{internal/upb.h → lex/round_trip.h} +17 -30
- data/third_party/upb/upb/lex/strtod.c +97 -0
- data/third_party/upb/upb/lex/strtod.h +46 -0
- data/third_party/upb/upb/lex/unicode.c +57 -0
- data/third_party/upb/upb/lex/unicode.h +77 -0
- data/third_party/upb/upb/map.h +4 -85
- data/third_party/upb/upb/mem/alloc.c +47 -0
- data/third_party/upb/upb/mem/alloc.h +98 -0
- data/third_party/upb/upb/mem/arena.c +367 -0
- data/third_party/upb/upb/mem/arena.h +160 -0
- data/third_party/upb/upb/mem/arena_internal.h +114 -0
- data/third_party/upb/upb/message/accessors.c +92 -0
- data/third_party/upb/upb/message/accessors.h +400 -0
- data/third_party/upb/upb/message/accessors_internal.h +391 -0
- data/third_party/upb/upb/message/extension_internal.h +83 -0
- data/third_party/upb/upb/message/internal/map_entry.h +64 -0
- data/third_party/upb/upb/message/internal.h +131 -0
- data/third_party/upb/upb/message/message.c +174 -0
- data/third_party/upb/upb/message/message.h +69 -0
- data/third_party/upb/upb/message/tagged_ptr.h +89 -0
- data/third_party/upb/upb/mini_descriptor/build_enum.c +150 -0
- data/third_party/upb/upb/mini_descriptor/build_enum.h +63 -0
- data/third_party/upb/upb/mini_descriptor/decode.c +875 -0
- data/third_party/upb/upb/mini_descriptor/decode.h +140 -0
- data/third_party/upb/upb/mini_descriptor/internal/base92.c +46 -0
- data/third_party/upb/upb/mini_descriptor/internal/base92.h +81 -0
- data/third_party/upb/upb/mini_descriptor/internal/decoder.h +73 -0
- data/third_party/upb/upb/mini_descriptor/internal/encode.c +326 -0
- data/third_party/upb/upb/mini_descriptor/internal/encode.h +110 -0
- data/third_party/upb/upb/{mini_table.hpp → mini_descriptor/internal/encode.hpp} +32 -8
- data/third_party/upb/upb/mini_descriptor/internal/modifiers.h +50 -0
- data/third_party/upb/upb/mini_descriptor/internal/wire_constants.h +91 -0
- data/third_party/upb/upb/mini_descriptor/link.c +142 -0
- data/third_party/upb/upb/mini_descriptor/link.h +104 -0
- data/third_party/upb/upb/mini_table/enum.h +50 -0
- data/third_party/upb/upb/mini_table/extension.h +40 -0
- data/third_party/upb/upb/{extension_registry.c → mini_table/extension_registry.c} +27 -24
- data/third_party/upb/upb/mini_table/extension_registry.h +105 -0
- data/third_party/upb/upb/mini_table/field.h +118 -0
- data/third_party/upb/upb/{collections.h → mini_table/file.h} +6 -7
- data/third_party/upb/upb/mini_table/internal/enum.h +76 -0
- data/third_party/upb/upb/mini_table/internal/extension.h +47 -0
- data/third_party/upb/upb/mini_table/internal/field.h +136 -0
- data/third_party/upb/upb/mini_table/internal/file.h +49 -0
- data/third_party/upb/upb/mini_table/internal/message.c +39 -0
- data/third_party/upb/upb/mini_table/internal/message.h +113 -0
- data/third_party/upb/upb/mini_table/internal/sub.h +39 -0
- data/third_party/upb/upb/mini_table/message.c +97 -0
- data/third_party/upb/upb/mini_table/message.h +105 -0
- data/third_party/upb/upb/mini_table/sub.h +35 -0
- data/third_party/upb/upb/msg.h +3 -38
- data/third_party/upb/upb/port/atomic.h +101 -0
- data/third_party/upb/upb/{port_def.inc → port/def.inc} +94 -27
- data/third_party/upb/upb/{port_undef.inc → port/undef.inc} +13 -3
- data/third_party/upb/upb/{internal → port}/vsnprintf_compat.h +5 -7
- data/third_party/upb/upb/reflection/common.h +67 -0
- data/third_party/upb/upb/reflection/def.h +42 -0
- data/third_party/upb/upb/reflection/def.hpp +622 -0
- data/third_party/upb/upb/reflection/def_builder.c +357 -0
- data/third_party/upb/upb/reflection/def_builder_internal.h +157 -0
- data/third_party/upb/upb/reflection/def_pool.c +462 -0
- data/third_party/upb/upb/reflection/def_pool.h +108 -0
- data/third_party/upb/upb/reflection/def_pool_internal.h +77 -0
- data/third_party/upb/upb/reflection/def_type.c +50 -0
- data/third_party/upb/upb/reflection/def_type.h +81 -0
- data/third_party/upb/upb/reflection/desc_state.c +53 -0
- data/third_party/upb/upb/reflection/desc_state_internal.h +64 -0
- data/third_party/upb/upb/reflection/enum_def.c +310 -0
- data/third_party/upb/upb/reflection/enum_def.h +80 -0
- data/third_party/upb/upb/reflection/enum_def_internal.h +56 -0
- data/third_party/upb/upb/reflection/enum_reserved_range.c +84 -0
- data/third_party/upb/upb/reflection/enum_reserved_range.h +51 -0
- data/third_party/upb/upb/reflection/enum_reserved_range_internal.h +55 -0
- data/third_party/upb/upb/reflection/enum_value_def.c +144 -0
- data/third_party/upb/upb/reflection/enum_value_def.h +57 -0
- data/third_party/upb/upb/reflection/enum_value_def_internal.h +57 -0
- data/third_party/upb/upb/reflection/extension_range.c +93 -0
- data/third_party/upb/upb/reflection/extension_range.h +55 -0
- data/third_party/upb/upb/reflection/extension_range_internal.h +54 -0
- data/third_party/upb/upb/reflection/field_def.c +931 -0
- data/third_party/upb/upb/reflection/field_def.h +91 -0
- data/third_party/upb/upb/reflection/field_def_internal.h +76 -0
- data/third_party/upb/upb/reflection/file_def.c +370 -0
- data/third_party/upb/upb/reflection/file_def.h +77 -0
- data/third_party/upb/upb/reflection/file_def_internal.h +57 -0
- data/third_party/upb/upb/reflection/message.c +233 -0
- data/third_party/upb/upb/reflection/message.h +102 -0
- data/third_party/upb/upb/reflection/message.hpp +37 -0
- data/third_party/upb/upb/reflection/message_def.c +720 -0
- data/third_party/upb/upb/reflection/message_def.h +174 -0
- data/third_party/upb/upb/reflection/message_def_internal.h +63 -0
- data/third_party/upb/upb/reflection/message_reserved_range.c +81 -0
- data/third_party/upb/upb/reflection/message_reserved_range.h +51 -0
- data/third_party/upb/upb/reflection/message_reserved_range_internal.h +55 -0
- data/third_party/upb/upb/reflection/method_def.c +124 -0
- data/third_party/upb/upb/reflection/method_def.h +59 -0
- data/third_party/upb/upb/reflection/method_def_internal.h +53 -0
- data/third_party/upb/upb/reflection/oneof_def.c +226 -0
- data/third_party/upb/upb/reflection/oneof_def.h +66 -0
- data/third_party/upb/upb/reflection/oneof_def_internal.h +57 -0
- data/third_party/upb/upb/reflection/service_def.c +128 -0
- data/third_party/upb/upb/reflection/service_def.h +60 -0
- data/third_party/upb/upb/reflection/service_def_internal.h +53 -0
- data/third_party/upb/upb/reflection.h +4 -78
- data/third_party/upb/upb/reflection.hpp +3 -7
- data/third_party/upb/upb/status.h +4 -34
- data/third_party/upb/upb/string_view.h +36 -0
- data/third_party/upb/upb/{text_encode.c → text/encode.c} +74 -70
- data/third_party/upb/upb/text/encode.h +69 -0
- data/third_party/upb/upb/text_encode.h +4 -32
- data/third_party/upb/upb/upb.h +6 -151
- data/third_party/upb/upb/upb.hpp +10 -18
- data/third_party/upb/upb/wire/common.h +44 -0
- data/third_party/upb/upb/wire/common_internal.h +50 -0
- data/third_party/upb/upb/wire/decode.c +1382 -0
- data/third_party/upb/upb/wire/decode.h +148 -0
- data/third_party/upb/upb/{decode_fast.c → wire/decode_fast.c} +184 -225
- data/third_party/upb/upb/{decode_fast.h → wire/decode_fast.h} +21 -7
- data/third_party/upb/upb/{internal/decode.h → wire/decode_internal.h} +44 -92
- data/third_party/upb/upb/{encode.c → wire/encode.c} +134 -105
- data/third_party/upb/upb/wire/encode.h +92 -0
- data/third_party/upb/upb/wire/eps_copy_input_stream.c +39 -0
- data/third_party/upb/upb/wire/eps_copy_input_stream.h +425 -0
- data/third_party/upb/upb/wire/reader.c +67 -0
- data/third_party/upb/upb/wire/reader.h +227 -0
- data/third_party/upb/upb/wire/swap_internal.h +63 -0
- data/third_party/upb/upb/wire/types.h +41 -0
- data/third_party/{upb/third_party/utf8_range → utf8_range}/range2-neon.c +1 -1
- data/third_party/{upb/third_party/utf8_range → utf8_range}/utf8_range.h +12 -0
- metadata +286 -87
- data/src/core/ext/filters/client_channel/health/health_check_client.cc +0 -175
- data/src/core/ext/filters/client_channel/health/health_check_client.h +0 -43
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_attributes.cc +0 -42
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_attributes.h +0 -64
- data/src/core/ext/transport/chttp2/transport/context_list.cc +0 -71
- data/src/core/ext/transport/chttp2/transport/context_list.h +0 -54
- data/src/core/ext/transport/chttp2/transport/stream_map.cc +0 -177
- data/src/core/ext/transport/chttp2/transport/stream_map.h +0 -68
- data/src/core/lib/event_engine/thread_pool.cc +0 -253
- data/src/core/lib/event_engine/thread_pool.h +0 -141
- data/src/core/lib/promise/detail/basic_join.h +0 -197
- data/src/core/lib/promise/detail/switch.h +0 -1455
- data/src/core/lib/promise/try_join.h +0 -82
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter.cc +0 -403
- data/third_party/boringssl-with-bazel/src/crypto/refcount_lock.c +0 -52
- data/third_party/cares/cares/src/lib/ares_library_init.h +0 -43
- data/third_party/re2/util/benchmark.h +0 -156
- data/third_party/re2/util/flags.h +0 -26
- data/third_party/re2/util/malloc_counter.h +0 -19
- data/third_party/re2/util/pcre.cc +0 -1025
- data/third_party/re2/util/pcre.h +0 -681
- data/third_party/re2/util/test.h +0 -50
- data/third_party/upb/upb/arena.c +0 -277
- data/third_party/upb/upb/decode.c +0 -1221
- data/third_party/upb/upb/def.c +0 -3269
- data/third_party/upb/upb/internal/table.h +0 -385
- data/third_party/upb/upb/mini_table.c +0 -1147
- data/third_party/upb/upb/mini_table.h +0 -189
- data/third_party/upb/upb/msg.c +0 -368
- data/third_party/upb/upb/msg_internal.h +0 -837
- data/third_party/upb/upb/reflection.c +0 -323
- data/third_party/zlib/gzclose.c +0 -25
- data/third_party/zlib/gzlib.c +0 -639
- data/third_party/zlib/gzread.c +0 -650
- data/third_party/zlib/gzwrite.c +0 -677
- /data/third_party/{upb/third_party/utf8_range → utf8_range}/naive.c +0 -0
- /data/third_party/{upb/third_party/utf8_range → utf8_range}/range2-sse.c +0 -0
@@ -9,24 +9,14 @@
|
|
9
9
|
#ifndef ENVOY_CONFIG_LISTENER_V3_LISTENER_COMPONENTS_PROTO_UPB_H_
|
10
10
|
#define ENVOY_CONFIG_LISTENER_V3_LISTENER_COMPONENTS_PROTO_UPB_H_
|
11
11
|
|
12
|
-
#include "upb/
|
13
|
-
|
14
|
-
#include "upb/
|
15
|
-
#include "upb/encode.h"
|
16
|
-
|
17
|
-
#include "upb/port_def.inc"
|
12
|
+
#include "upb/generated_code_support.h"
|
13
|
+
// Must be last.
|
14
|
+
#include "upb/port/def.inc"
|
18
15
|
|
19
16
|
#ifdef __cplusplus
|
20
17
|
extern "C" {
|
21
18
|
#endif
|
22
19
|
|
23
|
-
struct envoy_config_listener_v3_Filter;
|
24
|
-
struct envoy_config_listener_v3_FilterChainMatch;
|
25
|
-
struct envoy_config_listener_v3_FilterChain;
|
26
|
-
struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration;
|
27
|
-
struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate;
|
28
|
-
struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet;
|
29
|
-
struct envoy_config_listener_v3_ListenerFilter;
|
30
20
|
typedef struct envoy_config_listener_v3_Filter envoy_config_listener_v3_Filter;
|
31
21
|
typedef struct envoy_config_listener_v3_FilterChainMatch envoy_config_listener_v3_FilterChainMatch;
|
32
22
|
typedef struct envoy_config_listener_v3_FilterChain envoy_config_listener_v3_FilterChain;
|
@@ -34,13 +24,13 @@ typedef struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration envoy_
|
|
34
24
|
typedef struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate envoy_config_listener_v3_ListenerFilterChainMatchPredicate;
|
35
25
|
typedef struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet;
|
36
26
|
typedef struct envoy_config_listener_v3_ListenerFilter envoy_config_listener_v3_ListenerFilter;
|
37
|
-
extern const upb_MiniTable
|
38
|
-
extern const upb_MiniTable
|
39
|
-
extern const upb_MiniTable
|
40
|
-
extern const upb_MiniTable
|
41
|
-
extern const upb_MiniTable
|
42
|
-
extern const upb_MiniTable
|
43
|
-
extern const upb_MiniTable
|
27
|
+
extern const upb_MiniTable envoy_config_listener_v3_Filter_msg_init;
|
28
|
+
extern const upb_MiniTable envoy_config_listener_v3_FilterChainMatch_msg_init;
|
29
|
+
extern const upb_MiniTable envoy_config_listener_v3_FilterChain_msg_init;
|
30
|
+
extern const upb_MiniTable envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msg_init;
|
31
|
+
extern const upb_MiniTable envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init;
|
32
|
+
extern const upb_MiniTable envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init;
|
33
|
+
extern const upb_MiniTable envoy_config_listener_v3_ListenerFilter_msg_init;
|
44
34
|
struct envoy_config_core_v3_CidrRange;
|
45
35
|
struct envoy_config_core_v3_ExtensionConfigSource;
|
46
36
|
struct envoy_config_core_v3_Metadata;
|
@@ -50,15 +40,15 @@ struct google_protobuf_Any;
|
|
50
40
|
struct google_protobuf_BoolValue;
|
51
41
|
struct google_protobuf_Duration;
|
52
42
|
struct google_protobuf_UInt32Value;
|
53
|
-
extern const upb_MiniTable
|
54
|
-
extern const upb_MiniTable
|
55
|
-
extern const upb_MiniTable
|
56
|
-
extern const upb_MiniTable
|
57
|
-
extern const upb_MiniTable
|
58
|
-
extern const upb_MiniTable
|
59
|
-
extern const upb_MiniTable
|
60
|
-
extern const upb_MiniTable
|
61
|
-
extern const upb_MiniTable
|
43
|
+
extern const upb_MiniTable envoy_config_core_v3_CidrRange_msg_init;
|
44
|
+
extern const upb_MiniTable envoy_config_core_v3_ExtensionConfigSource_msg_init;
|
45
|
+
extern const upb_MiniTable envoy_config_core_v3_Metadata_msg_init;
|
46
|
+
extern const upb_MiniTable envoy_config_core_v3_TransportSocket_msg_init;
|
47
|
+
extern const upb_MiniTable envoy_type_v3_Int32Range_msg_init;
|
48
|
+
extern const upb_MiniTable google_protobuf_Any_msg_init;
|
49
|
+
extern const upb_MiniTable google_protobuf_BoolValue_msg_init;
|
50
|
+
extern const upb_MiniTable google_protobuf_Duration_msg_init;
|
51
|
+
extern const upb_MiniTable google_protobuf_UInt32Value_msg_init;
|
62
52
|
|
63
53
|
typedef enum {
|
64
54
|
envoy_config_listener_v3_FilterChainMatch_ANY = 0,
|
@@ -71,12 +61,12 @@ typedef enum {
|
|
71
61
|
/* envoy.config.listener.v3.Filter */
|
72
62
|
|
73
63
|
UPB_INLINE envoy_config_listener_v3_Filter* envoy_config_listener_v3_Filter_new(upb_Arena* arena) {
|
74
|
-
return (envoy_config_listener_v3_Filter*)_upb_Message_New(&
|
64
|
+
return (envoy_config_listener_v3_Filter*)_upb_Message_New(&envoy_config_listener_v3_Filter_msg_init, arena);
|
75
65
|
}
|
76
66
|
UPB_INLINE envoy_config_listener_v3_Filter* envoy_config_listener_v3_Filter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
77
67
|
envoy_config_listener_v3_Filter* ret = envoy_config_listener_v3_Filter_new(arena);
|
78
68
|
if (!ret) return NULL;
|
79
|
-
if (upb_Decode(buf, size, ret, &
|
69
|
+
if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_Filter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
80
70
|
return NULL;
|
81
71
|
}
|
82
72
|
return ret;
|
@@ -86,7 +76,7 @@ UPB_INLINE envoy_config_listener_v3_Filter* envoy_config_listener_v3_Filter_pars
|
|
86
76
|
int options, upb_Arena* arena) {
|
87
77
|
envoy_config_listener_v3_Filter* ret = envoy_config_listener_v3_Filter_new(arena);
|
88
78
|
if (!ret) return NULL;
|
89
|
-
if (upb_Decode(buf, size, ret, &
|
79
|
+
if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_Filter_msg_init, extreg, options, arena) !=
|
90
80
|
kUpb_DecodeStatus_Ok) {
|
91
81
|
return NULL;
|
92
82
|
}
|
@@ -94,13 +84,13 @@ UPB_INLINE envoy_config_listener_v3_Filter* envoy_config_listener_v3_Filter_pars
|
|
94
84
|
}
|
95
85
|
UPB_INLINE char* envoy_config_listener_v3_Filter_serialize(const envoy_config_listener_v3_Filter* msg, upb_Arena* arena, size_t* len) {
|
96
86
|
char* ptr;
|
97
|
-
(void)upb_Encode(msg, &
|
87
|
+
(void)upb_Encode(msg, &envoy_config_listener_v3_Filter_msg_init, 0, arena, &ptr, len);
|
98
88
|
return ptr;
|
99
89
|
}
|
100
90
|
UPB_INLINE char* envoy_config_listener_v3_Filter_serialize_ex(const envoy_config_listener_v3_Filter* msg, int options,
|
101
91
|
upb_Arena* arena, size_t* len) {
|
102
92
|
char* ptr;
|
103
|
-
(void)upb_Encode(msg, &
|
93
|
+
(void)upb_Encode(msg, &envoy_config_listener_v3_Filter_msg_init, options, arena, &ptr, len);
|
104
94
|
return ptr;
|
105
95
|
}
|
106
96
|
typedef enum {
|
@@ -109,57 +99,76 @@ typedef enum {
|
|
109
99
|
envoy_config_listener_v3_Filter_config_type_NOT_SET = 0
|
110
100
|
} envoy_config_listener_v3_Filter_config_type_oneofcases;
|
111
101
|
UPB_INLINE envoy_config_listener_v3_Filter_config_type_oneofcases envoy_config_listener_v3_Filter_config_type_case(const envoy_config_listener_v3_Filter* msg) {
|
112
|
-
|
102
|
+
const upb_MiniTableField field = {4, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
103
|
+
return (envoy_config_listener_v3_Filter_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field);
|
113
104
|
}
|
114
|
-
UPB_INLINE void envoy_config_listener_v3_Filter_clear_name(
|
115
|
-
|
105
|
+
UPB_INLINE void envoy_config_listener_v3_Filter_clear_name(envoy_config_listener_v3_Filter* msg) {
|
106
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
107
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
116
108
|
}
|
117
109
|
UPB_INLINE upb_StringView envoy_config_listener_v3_Filter_name(const envoy_config_listener_v3_Filter* msg) {
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
110
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
111
|
+
upb_StringView ret;
|
112
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
113
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
114
|
+
return ret;
|
122
115
|
}
|
123
|
-
UPB_INLINE void envoy_config_listener_v3_Filter_clear_typed_config(
|
124
|
-
|
116
|
+
UPB_INLINE void envoy_config_listener_v3_Filter_clear_typed_config(envoy_config_listener_v3_Filter* msg) {
|
117
|
+
const upb_MiniTableField field = {4, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
118
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
125
119
|
}
|
126
120
|
UPB_INLINE const struct google_protobuf_Any* envoy_config_listener_v3_Filter_typed_config(const envoy_config_listener_v3_Filter* msg) {
|
127
|
-
|
121
|
+
const struct google_protobuf_Any* default_val = NULL;
|
122
|
+
const struct google_protobuf_Any* ret;
|
123
|
+
const upb_MiniTableField field = {4, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
124
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
125
|
+
return ret;
|
128
126
|
}
|
129
|
-
UPB_INLINE bool
|
130
|
-
|
127
|
+
UPB_INLINE bool envoy_config_listener_v3_Filter_has_typed_config(const envoy_config_listener_v3_Filter* msg) {
|
128
|
+
const upb_MiniTableField field = {4, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
129
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
131
130
|
}
|
132
|
-
UPB_INLINE void envoy_config_listener_v3_Filter_clear_config_discovery(
|
133
|
-
|
131
|
+
UPB_INLINE void envoy_config_listener_v3_Filter_clear_config_discovery(envoy_config_listener_v3_Filter* msg) {
|
132
|
+
const upb_MiniTableField field = {5, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
133
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
134
134
|
}
|
135
135
|
UPB_INLINE const struct envoy_config_core_v3_ExtensionConfigSource* envoy_config_listener_v3_Filter_config_discovery(const envoy_config_listener_v3_Filter* msg) {
|
136
|
-
|
136
|
+
const struct envoy_config_core_v3_ExtensionConfigSource* default_val = NULL;
|
137
|
+
const struct envoy_config_core_v3_ExtensionConfigSource* ret;
|
138
|
+
const upb_MiniTableField field = {5, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
139
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
140
|
+
return ret;
|
141
|
+
}
|
142
|
+
UPB_INLINE bool envoy_config_listener_v3_Filter_has_config_discovery(const envoy_config_listener_v3_Filter* msg) {
|
143
|
+
const upb_MiniTableField field = {5, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
144
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
137
145
|
}
|
138
146
|
|
139
147
|
UPB_INLINE void envoy_config_listener_v3_Filter_set_name(envoy_config_listener_v3_Filter *msg, upb_StringView value) {
|
140
|
-
|
148
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
149
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
141
150
|
}
|
142
151
|
UPB_INLINE void envoy_config_listener_v3_Filter_set_typed_config(envoy_config_listener_v3_Filter *msg, struct google_protobuf_Any* value) {
|
143
|
-
|
152
|
+
const upb_MiniTableField field = {4, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
153
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
144
154
|
}
|
145
155
|
UPB_INLINE struct google_protobuf_Any* envoy_config_listener_v3_Filter_mutable_typed_config(envoy_config_listener_v3_Filter* msg, upb_Arena* arena) {
|
146
156
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_listener_v3_Filter_typed_config(msg);
|
147
157
|
if (sub == NULL) {
|
148
|
-
sub = (struct google_protobuf_Any*)_upb_Message_New(&
|
149
|
-
if (
|
150
|
-
envoy_config_listener_v3_Filter_set_typed_config(msg, sub);
|
158
|
+
sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena);
|
159
|
+
if (sub) envoy_config_listener_v3_Filter_set_typed_config(msg, sub);
|
151
160
|
}
|
152
161
|
return sub;
|
153
162
|
}
|
154
163
|
UPB_INLINE void envoy_config_listener_v3_Filter_set_config_discovery(envoy_config_listener_v3_Filter *msg, struct envoy_config_core_v3_ExtensionConfigSource* value) {
|
155
|
-
|
164
|
+
const upb_MiniTableField field = {5, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
165
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
156
166
|
}
|
157
167
|
UPB_INLINE struct envoy_config_core_v3_ExtensionConfigSource* envoy_config_listener_v3_Filter_mutable_config_discovery(envoy_config_listener_v3_Filter* msg, upb_Arena* arena) {
|
158
168
|
struct envoy_config_core_v3_ExtensionConfigSource* sub = (struct envoy_config_core_v3_ExtensionConfigSource*)envoy_config_listener_v3_Filter_config_discovery(msg);
|
159
169
|
if (sub == NULL) {
|
160
|
-
sub = (struct envoy_config_core_v3_ExtensionConfigSource*)_upb_Message_New(&
|
161
|
-
if (
|
162
|
-
envoy_config_listener_v3_Filter_set_config_discovery(msg, sub);
|
170
|
+
sub = (struct envoy_config_core_v3_ExtensionConfigSource*)_upb_Message_New(&envoy_config_core_v3_ExtensionConfigSource_msg_init, arena);
|
171
|
+
if (sub) envoy_config_listener_v3_Filter_set_config_discovery(msg, sub);
|
163
172
|
}
|
164
173
|
return sub;
|
165
174
|
}
|
@@ -167,12 +176,12 @@ UPB_INLINE struct envoy_config_core_v3_ExtensionConfigSource* envoy_config_liste
|
|
167
176
|
/* envoy.config.listener.v3.FilterChainMatch */
|
168
177
|
|
169
178
|
UPB_INLINE envoy_config_listener_v3_FilterChainMatch* envoy_config_listener_v3_FilterChainMatch_new(upb_Arena* arena) {
|
170
|
-
return (envoy_config_listener_v3_FilterChainMatch*)_upb_Message_New(&
|
179
|
+
return (envoy_config_listener_v3_FilterChainMatch*)_upb_Message_New(&envoy_config_listener_v3_FilterChainMatch_msg_init, arena);
|
171
180
|
}
|
172
181
|
UPB_INLINE envoy_config_listener_v3_FilterChainMatch* envoy_config_listener_v3_FilterChainMatch_parse(const char* buf, size_t size, upb_Arena* arena) {
|
173
182
|
envoy_config_listener_v3_FilterChainMatch* ret = envoy_config_listener_v3_FilterChainMatch_new(arena);
|
174
183
|
if (!ret) return NULL;
|
175
|
-
if (upb_Decode(buf, size, ret, &
|
184
|
+
if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_FilterChainMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
176
185
|
return NULL;
|
177
186
|
}
|
178
187
|
return ret;
|
@@ -182,7 +191,7 @@ UPB_INLINE envoy_config_listener_v3_FilterChainMatch* envoy_config_listener_v3_F
|
|
182
191
|
int options, upb_Arena* arena) {
|
183
192
|
envoy_config_listener_v3_FilterChainMatch* ret = envoy_config_listener_v3_FilterChainMatch_new(arena);
|
184
193
|
if (!ret) return NULL;
|
185
|
-
if (upb_Decode(buf, size, ret, &
|
194
|
+
if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_FilterChainMatch_msg_init, extreg, options, arena) !=
|
186
195
|
kUpb_DecodeStatus_Ok) {
|
187
196
|
return NULL;
|
188
197
|
}
|
@@ -190,205 +199,497 @@ UPB_INLINE envoy_config_listener_v3_FilterChainMatch* envoy_config_listener_v3_F
|
|
190
199
|
}
|
191
200
|
UPB_INLINE char* envoy_config_listener_v3_FilterChainMatch_serialize(const envoy_config_listener_v3_FilterChainMatch* msg, upb_Arena* arena, size_t* len) {
|
192
201
|
char* ptr;
|
193
|
-
(void)upb_Encode(msg, &
|
202
|
+
(void)upb_Encode(msg, &envoy_config_listener_v3_FilterChainMatch_msg_init, 0, arena, &ptr, len);
|
194
203
|
return ptr;
|
195
204
|
}
|
196
205
|
UPB_INLINE char* envoy_config_listener_v3_FilterChainMatch_serialize_ex(const envoy_config_listener_v3_FilterChainMatch* msg, int options,
|
197
206
|
upb_Arena* arena, size_t* len) {
|
198
207
|
char* ptr;
|
199
|
-
(void)upb_Encode(msg, &
|
208
|
+
(void)upb_Encode(msg, &envoy_config_listener_v3_FilterChainMatch_msg_init, options, arena, &ptr, len);
|
200
209
|
return ptr;
|
201
210
|
}
|
202
|
-
UPB_INLINE
|
203
|
-
|
211
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_clear_prefix_ranges(envoy_config_listener_v3_FilterChainMatch* msg) {
|
212
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
213
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
214
|
+
}
|
215
|
+
UPB_INLINE const struct envoy_config_core_v3_CidrRange* const* envoy_config_listener_v3_FilterChainMatch_prefix_ranges(const envoy_config_listener_v3_FilterChainMatch* msg, size_t* size) {
|
216
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
217
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
218
|
+
if (arr) {
|
219
|
+
if (size) *size = arr->size;
|
220
|
+
return (const struct envoy_config_core_v3_CidrRange* const*)_upb_array_constptr(arr);
|
221
|
+
} else {
|
222
|
+
if (size) *size = 0;
|
223
|
+
return NULL;
|
224
|
+
}
|
204
225
|
}
|
205
|
-
UPB_INLINE
|
206
|
-
|
226
|
+
UPB_INLINE const upb_Array* _envoy_config_listener_v3_FilterChainMatch_prefix_ranges_upb_array(const envoy_config_listener_v3_FilterChainMatch* msg, size_t* size) {
|
227
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
228
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
229
|
+
if (size) {
|
230
|
+
*size = arr ? arr->size : 0;
|
231
|
+
}
|
232
|
+
return arr;
|
233
|
+
}
|
234
|
+
UPB_INLINE upb_Array* _envoy_config_listener_v3_FilterChainMatch_prefix_ranges_mutable_upb_array(const envoy_config_listener_v3_FilterChainMatch* msg, size_t* size, upb_Arena* arena) {
|
235
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
236
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
237
|
+
(upb_Message*)msg, &field, arena);
|
238
|
+
if (size) {
|
239
|
+
*size = arr ? arr->size : 0;
|
240
|
+
}
|
241
|
+
return arr;
|
207
242
|
}
|
208
|
-
UPB_INLINE
|
209
|
-
|
243
|
+
UPB_INLINE bool envoy_config_listener_v3_FilterChainMatch_has_prefix_ranges(const envoy_config_listener_v3_FilterChainMatch* msg) {
|
244
|
+
size_t size;
|
245
|
+
envoy_config_listener_v3_FilterChainMatch_prefix_ranges(msg, &size);
|
246
|
+
return size != 0;
|
210
247
|
}
|
211
|
-
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_clear_address_suffix(
|
212
|
-
|
248
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_clear_address_suffix(envoy_config_listener_v3_FilterChainMatch* msg) {
|
249
|
+
const upb_MiniTableField field = {4, UPB_SIZE(40, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
250
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
213
251
|
}
|
214
252
|
UPB_INLINE upb_StringView envoy_config_listener_v3_FilterChainMatch_address_suffix(const envoy_config_listener_v3_FilterChainMatch* msg) {
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
253
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
254
|
+
upb_StringView ret;
|
255
|
+
const upb_MiniTableField field = {4, UPB_SIZE(40, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
256
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
257
|
+
return ret;
|
219
258
|
}
|
220
|
-
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_clear_suffix_len(
|
221
|
-
|
259
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_clear_suffix_len(envoy_config_listener_v3_FilterChainMatch* msg) {
|
260
|
+
const upb_MiniTableField field = {5, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
261
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
222
262
|
}
|
223
263
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_listener_v3_FilterChainMatch_suffix_len(const envoy_config_listener_v3_FilterChainMatch* msg) {
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
264
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
265
|
+
const struct google_protobuf_UInt32Value* ret;
|
266
|
+
const upb_MiniTableField field = {5, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
267
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
268
|
+
return ret;
|
228
269
|
}
|
229
|
-
UPB_INLINE
|
230
|
-
|
270
|
+
UPB_INLINE bool envoy_config_listener_v3_FilterChainMatch_has_suffix_len(const envoy_config_listener_v3_FilterChainMatch* msg) {
|
271
|
+
const upb_MiniTableField field = {5, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
272
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
273
|
+
}
|
274
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_clear_source_prefix_ranges(envoy_config_listener_v3_FilterChainMatch* msg) {
|
275
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
276
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
277
|
+
}
|
278
|
+
UPB_INLINE const struct envoy_config_core_v3_CidrRange* const* envoy_config_listener_v3_FilterChainMatch_source_prefix_ranges(const envoy_config_listener_v3_FilterChainMatch* msg, size_t* size) {
|
279
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
280
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
281
|
+
if (arr) {
|
282
|
+
if (size) *size = arr->size;
|
283
|
+
return (const struct envoy_config_core_v3_CidrRange* const*)_upb_array_constptr(arr);
|
284
|
+
} else {
|
285
|
+
if (size) *size = 0;
|
286
|
+
return NULL;
|
287
|
+
}
|
231
288
|
}
|
232
|
-
UPB_INLINE const
|
233
|
-
|
289
|
+
UPB_INLINE const upb_Array* _envoy_config_listener_v3_FilterChainMatch_source_prefix_ranges_upb_array(const envoy_config_listener_v3_FilterChainMatch* msg, size_t* size) {
|
290
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
291
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
292
|
+
if (size) {
|
293
|
+
*size = arr ? arr->size : 0;
|
294
|
+
}
|
295
|
+
return arr;
|
296
|
+
}
|
297
|
+
UPB_INLINE upb_Array* _envoy_config_listener_v3_FilterChainMatch_source_prefix_ranges_mutable_upb_array(const envoy_config_listener_v3_FilterChainMatch* msg, size_t* size, upb_Arena* arena) {
|
298
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
299
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
300
|
+
(upb_Message*)msg, &field, arena);
|
301
|
+
if (size) {
|
302
|
+
*size = arr ? arr->size : 0;
|
303
|
+
}
|
304
|
+
return arr;
|
234
305
|
}
|
235
|
-
UPB_INLINE
|
236
|
-
|
306
|
+
UPB_INLINE bool envoy_config_listener_v3_FilterChainMatch_has_source_prefix_ranges(const envoy_config_listener_v3_FilterChainMatch* msg) {
|
307
|
+
size_t size;
|
308
|
+
envoy_config_listener_v3_FilterChainMatch_source_prefix_ranges(msg, &size);
|
309
|
+
return size != 0;
|
310
|
+
}
|
311
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_clear_source_ports(envoy_config_listener_v3_FilterChainMatch* msg) {
|
312
|
+
const upb_MiniTableField field = {7, UPB_SIZE(16, 48), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
313
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
314
|
+
}
|
315
|
+
UPB_INLINE uint32_t const* envoy_config_listener_v3_FilterChainMatch_source_ports(const envoy_config_listener_v3_FilterChainMatch* msg, size_t* size) {
|
316
|
+
const upb_MiniTableField field = {7, UPB_SIZE(16, 48), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
317
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
318
|
+
if (arr) {
|
319
|
+
if (size) *size = arr->size;
|
320
|
+
return (uint32_t const*)_upb_array_constptr(arr);
|
321
|
+
} else {
|
322
|
+
if (size) *size = 0;
|
323
|
+
return NULL;
|
324
|
+
}
|
237
325
|
}
|
238
|
-
UPB_INLINE
|
239
|
-
|
326
|
+
UPB_INLINE const upb_Array* _envoy_config_listener_v3_FilterChainMatch_source_ports_upb_array(const envoy_config_listener_v3_FilterChainMatch* msg, size_t* size) {
|
327
|
+
const upb_MiniTableField field = {7, UPB_SIZE(16, 48), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
328
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
329
|
+
if (size) {
|
330
|
+
*size = arr ? arr->size : 0;
|
331
|
+
}
|
332
|
+
return arr;
|
333
|
+
}
|
334
|
+
UPB_INLINE upb_Array* _envoy_config_listener_v3_FilterChainMatch_source_ports_mutable_upb_array(const envoy_config_listener_v3_FilterChainMatch* msg, size_t* size, upb_Arena* arena) {
|
335
|
+
const upb_MiniTableField field = {7, UPB_SIZE(16, 48), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
336
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
337
|
+
(upb_Message*)msg, &field, arena);
|
338
|
+
if (size) {
|
339
|
+
*size = arr ? arr->size : 0;
|
340
|
+
}
|
341
|
+
return arr;
|
240
342
|
}
|
241
|
-
UPB_INLINE bool
|
242
|
-
|
343
|
+
UPB_INLINE bool envoy_config_listener_v3_FilterChainMatch_has_source_ports(const envoy_config_listener_v3_FilterChainMatch* msg) {
|
344
|
+
size_t size;
|
345
|
+
envoy_config_listener_v3_FilterChainMatch_source_ports(msg, &size);
|
346
|
+
return size != 0;
|
243
347
|
}
|
244
|
-
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_clear_destination_port(
|
245
|
-
|
348
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_clear_destination_port(envoy_config_listener_v3_FilterChainMatch* msg) {
|
349
|
+
const upb_MiniTableField field = {8, UPB_SIZE(20, 56), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
350
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
246
351
|
}
|
247
352
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_listener_v3_FilterChainMatch_destination_port(const envoy_config_listener_v3_FilterChainMatch* msg) {
|
248
|
-
|
353
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
354
|
+
const struct google_protobuf_UInt32Value* ret;
|
355
|
+
const upb_MiniTableField field = {8, UPB_SIZE(20, 56), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
356
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
357
|
+
return ret;
|
249
358
|
}
|
250
|
-
UPB_INLINE
|
251
|
-
|
359
|
+
UPB_INLINE bool envoy_config_listener_v3_FilterChainMatch_has_destination_port(const envoy_config_listener_v3_FilterChainMatch* msg) {
|
360
|
+
const upb_MiniTableField field = {8, UPB_SIZE(20, 56), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
361
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
362
|
+
}
|
363
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_clear_transport_protocol(envoy_config_listener_v3_FilterChainMatch* msg) {
|
364
|
+
const upb_MiniTableField field = {9, UPB_SIZE(48, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
365
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
252
366
|
}
|
253
367
|
UPB_INLINE upb_StringView envoy_config_listener_v3_FilterChainMatch_transport_protocol(const envoy_config_listener_v3_FilterChainMatch* msg) {
|
254
|
-
|
368
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
369
|
+
upb_StringView ret;
|
370
|
+
const upb_MiniTableField field = {9, UPB_SIZE(48, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
371
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
372
|
+
return ret;
|
255
373
|
}
|
256
|
-
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_clear_application_protocols(
|
257
|
-
|
374
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_clear_application_protocols(envoy_config_listener_v3_FilterChainMatch* msg) {
|
375
|
+
const upb_MiniTableField field = {10, UPB_SIZE(24, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
376
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
377
|
+
}
|
378
|
+
UPB_INLINE upb_StringView const* envoy_config_listener_v3_FilterChainMatch_application_protocols(const envoy_config_listener_v3_FilterChainMatch* msg, size_t* size) {
|
379
|
+
const upb_MiniTableField field = {10, UPB_SIZE(24, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
380
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
381
|
+
if (arr) {
|
382
|
+
if (size) *size = arr->size;
|
383
|
+
return (upb_StringView const*)_upb_array_constptr(arr);
|
384
|
+
} else {
|
385
|
+
if (size) *size = 0;
|
386
|
+
return NULL;
|
387
|
+
}
|
258
388
|
}
|
259
|
-
UPB_INLINE
|
260
|
-
|
389
|
+
UPB_INLINE const upb_Array* _envoy_config_listener_v3_FilterChainMatch_application_protocols_upb_array(const envoy_config_listener_v3_FilterChainMatch* msg, size_t* size) {
|
390
|
+
const upb_MiniTableField field = {10, UPB_SIZE(24, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
391
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
392
|
+
if (size) {
|
393
|
+
*size = arr ? arr->size : 0;
|
394
|
+
}
|
395
|
+
return arr;
|
396
|
+
}
|
397
|
+
UPB_INLINE upb_Array* _envoy_config_listener_v3_FilterChainMatch_application_protocols_mutable_upb_array(const envoy_config_listener_v3_FilterChainMatch* msg, size_t* size, upb_Arena* arena) {
|
398
|
+
const upb_MiniTableField field = {10, UPB_SIZE(24, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
399
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
400
|
+
(upb_Message*)msg, &field, arena);
|
401
|
+
if (size) {
|
402
|
+
*size = arr ? arr->size : 0;
|
403
|
+
}
|
404
|
+
return arr;
|
405
|
+
}
|
406
|
+
UPB_INLINE bool envoy_config_listener_v3_FilterChainMatch_has_application_protocols(const envoy_config_listener_v3_FilterChainMatch* msg) {
|
407
|
+
size_t size;
|
408
|
+
envoy_config_listener_v3_FilterChainMatch_application_protocols(msg, &size);
|
409
|
+
return size != 0;
|
410
|
+
}
|
411
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_clear_server_names(envoy_config_listener_v3_FilterChainMatch* msg) {
|
412
|
+
const upb_MiniTableField field = {11, UPB_SIZE(28, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
413
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
414
|
+
}
|
415
|
+
UPB_INLINE upb_StringView const* envoy_config_listener_v3_FilterChainMatch_server_names(const envoy_config_listener_v3_FilterChainMatch* msg, size_t* size) {
|
416
|
+
const upb_MiniTableField field = {11, UPB_SIZE(28, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
417
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
418
|
+
if (arr) {
|
419
|
+
if (size) *size = arr->size;
|
420
|
+
return (upb_StringView const*)_upb_array_constptr(arr);
|
421
|
+
} else {
|
422
|
+
if (size) *size = 0;
|
423
|
+
return NULL;
|
424
|
+
}
|
261
425
|
}
|
262
|
-
UPB_INLINE
|
263
|
-
|
426
|
+
UPB_INLINE const upb_Array* _envoy_config_listener_v3_FilterChainMatch_server_names_upb_array(const envoy_config_listener_v3_FilterChainMatch* msg, size_t* size) {
|
427
|
+
const upb_MiniTableField field = {11, UPB_SIZE(28, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
428
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
429
|
+
if (size) {
|
430
|
+
*size = arr ? arr->size : 0;
|
431
|
+
}
|
432
|
+
return arr;
|
433
|
+
}
|
434
|
+
UPB_INLINE upb_Array* _envoy_config_listener_v3_FilterChainMatch_server_names_mutable_upb_array(const envoy_config_listener_v3_FilterChainMatch* msg, size_t* size, upb_Arena* arena) {
|
435
|
+
const upb_MiniTableField field = {11, UPB_SIZE(28, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
436
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
437
|
+
(upb_Message*)msg, &field, arena);
|
438
|
+
if (size) {
|
439
|
+
*size = arr ? arr->size : 0;
|
440
|
+
}
|
441
|
+
return arr;
|
264
442
|
}
|
265
|
-
UPB_INLINE
|
266
|
-
|
443
|
+
UPB_INLINE bool envoy_config_listener_v3_FilterChainMatch_has_server_names(const envoy_config_listener_v3_FilterChainMatch* msg) {
|
444
|
+
size_t size;
|
445
|
+
envoy_config_listener_v3_FilterChainMatch_server_names(msg, &size);
|
446
|
+
return size != 0;
|
267
447
|
}
|
268
|
-
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_clear_source_type(
|
269
|
-
|
448
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_clear_source_type(envoy_config_listener_v3_FilterChainMatch* msg) {
|
449
|
+
const upb_MiniTableField field = {12, UPB_SIZE(32, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
450
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
270
451
|
}
|
271
452
|
UPB_INLINE int32_t envoy_config_listener_v3_FilterChainMatch_source_type(const envoy_config_listener_v3_FilterChainMatch* msg) {
|
272
|
-
|
453
|
+
int32_t default_val = 0;
|
454
|
+
int32_t ret;
|
455
|
+
const upb_MiniTableField field = {12, UPB_SIZE(32, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
456
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
457
|
+
return ret;
|
273
458
|
}
|
274
|
-
UPB_INLINE
|
275
|
-
|
459
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_clear_direct_source_prefix_ranges(envoy_config_listener_v3_FilterChainMatch* msg) {
|
460
|
+
const upb_MiniTableField field = {13, UPB_SIZE(36, 96), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
461
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
462
|
+
}
|
463
|
+
UPB_INLINE const struct envoy_config_core_v3_CidrRange* const* envoy_config_listener_v3_FilterChainMatch_direct_source_prefix_ranges(const envoy_config_listener_v3_FilterChainMatch* msg, size_t* size) {
|
464
|
+
const upb_MiniTableField field = {13, UPB_SIZE(36, 96), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
465
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
466
|
+
if (arr) {
|
467
|
+
if (size) *size = arr->size;
|
468
|
+
return (const struct envoy_config_core_v3_CidrRange* const*)_upb_array_constptr(arr);
|
469
|
+
} else {
|
470
|
+
if (size) *size = 0;
|
471
|
+
return NULL;
|
472
|
+
}
|
276
473
|
}
|
277
|
-
UPB_INLINE
|
278
|
-
|
474
|
+
UPB_INLINE const upb_Array* _envoy_config_listener_v3_FilterChainMatch_direct_source_prefix_ranges_upb_array(const envoy_config_listener_v3_FilterChainMatch* msg, size_t* size) {
|
475
|
+
const upb_MiniTableField field = {13, UPB_SIZE(36, 96), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
476
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
477
|
+
if (size) {
|
478
|
+
*size = arr ? arr->size : 0;
|
479
|
+
}
|
480
|
+
return arr;
|
481
|
+
}
|
482
|
+
UPB_INLINE upb_Array* _envoy_config_listener_v3_FilterChainMatch_direct_source_prefix_ranges_mutable_upb_array(const envoy_config_listener_v3_FilterChainMatch* msg, size_t* size, upb_Arena* arena) {
|
483
|
+
const upb_MiniTableField field = {13, UPB_SIZE(36, 96), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
484
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
485
|
+
(upb_Message*)msg, &field, arena);
|
486
|
+
if (size) {
|
487
|
+
*size = arr ? arr->size : 0;
|
488
|
+
}
|
489
|
+
return arr;
|
279
490
|
}
|
280
|
-
UPB_INLINE
|
281
|
-
|
491
|
+
UPB_INLINE bool envoy_config_listener_v3_FilterChainMatch_has_direct_source_prefix_ranges(const envoy_config_listener_v3_FilterChainMatch* msg) {
|
492
|
+
size_t size;
|
493
|
+
envoy_config_listener_v3_FilterChainMatch_direct_source_prefix_ranges(msg, &size);
|
494
|
+
return size != 0;
|
282
495
|
}
|
283
496
|
|
284
|
-
UPB_INLINE struct envoy_config_core_v3_CidrRange** envoy_config_listener_v3_FilterChainMatch_mutable_prefix_ranges(envoy_config_listener_v3_FilterChainMatch* msg, size_t*
|
285
|
-
|
497
|
+
UPB_INLINE struct envoy_config_core_v3_CidrRange** envoy_config_listener_v3_FilterChainMatch_mutable_prefix_ranges(envoy_config_listener_v3_FilterChainMatch* msg, size_t* size) {
|
498
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
499
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
500
|
+
if (arr) {
|
501
|
+
if (size) *size = arr->size;
|
502
|
+
return (struct envoy_config_core_v3_CidrRange**)_upb_array_ptr(arr);
|
503
|
+
} else {
|
504
|
+
if (size) *size = 0;
|
505
|
+
return NULL;
|
506
|
+
}
|
286
507
|
}
|
287
|
-
UPB_INLINE struct envoy_config_core_v3_CidrRange** envoy_config_listener_v3_FilterChainMatch_resize_prefix_ranges(envoy_config_listener_v3_FilterChainMatch* msg, size_t
|
288
|
-
|
508
|
+
UPB_INLINE struct envoy_config_core_v3_CidrRange** envoy_config_listener_v3_FilterChainMatch_resize_prefix_ranges(envoy_config_listener_v3_FilterChainMatch* msg, size_t size, upb_Arena* arena) {
|
509
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
510
|
+
return (struct envoy_config_core_v3_CidrRange**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
289
511
|
}
|
290
512
|
UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_config_listener_v3_FilterChainMatch_add_prefix_ranges(envoy_config_listener_v3_FilterChainMatch* msg, upb_Arena* arena) {
|
291
|
-
|
292
|
-
|
293
|
-
if (!
|
513
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
514
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
515
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
516
|
+
return NULL;
|
517
|
+
}
|
518
|
+
struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy_config_core_v3_CidrRange_msg_init, arena);
|
519
|
+
if (!arr || !sub) return NULL;
|
520
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
294
521
|
return sub;
|
295
522
|
}
|
296
523
|
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_set_address_suffix(envoy_config_listener_v3_FilterChainMatch *msg, upb_StringView value) {
|
297
|
-
|
524
|
+
const upb_MiniTableField field = {4, UPB_SIZE(40, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
525
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
298
526
|
}
|
299
527
|
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_set_suffix_len(envoy_config_listener_v3_FilterChainMatch *msg, struct google_protobuf_UInt32Value* value) {
|
300
|
-
|
301
|
-
|
528
|
+
const upb_MiniTableField field = {5, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
529
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
302
530
|
}
|
303
531
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_listener_v3_FilterChainMatch_mutable_suffix_len(envoy_config_listener_v3_FilterChainMatch* msg, upb_Arena* arena) {
|
304
532
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_listener_v3_FilterChainMatch_suffix_len(msg);
|
305
533
|
if (sub == NULL) {
|
306
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
307
|
-
if (
|
308
|
-
envoy_config_listener_v3_FilterChainMatch_set_suffix_len(msg, sub);
|
534
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
535
|
+
if (sub) envoy_config_listener_v3_FilterChainMatch_set_suffix_len(msg, sub);
|
309
536
|
}
|
310
537
|
return sub;
|
311
538
|
}
|
312
|
-
UPB_INLINE struct envoy_config_core_v3_CidrRange** envoy_config_listener_v3_FilterChainMatch_mutable_source_prefix_ranges(envoy_config_listener_v3_FilterChainMatch* msg, size_t*
|
313
|
-
|
539
|
+
UPB_INLINE struct envoy_config_core_v3_CidrRange** envoy_config_listener_v3_FilterChainMatch_mutable_source_prefix_ranges(envoy_config_listener_v3_FilterChainMatch* msg, size_t* size) {
|
540
|
+
upb_MiniTableField field = {6, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
541
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
542
|
+
if (arr) {
|
543
|
+
if (size) *size = arr->size;
|
544
|
+
return (struct envoy_config_core_v3_CidrRange**)_upb_array_ptr(arr);
|
545
|
+
} else {
|
546
|
+
if (size) *size = 0;
|
547
|
+
return NULL;
|
548
|
+
}
|
314
549
|
}
|
315
|
-
UPB_INLINE struct envoy_config_core_v3_CidrRange** envoy_config_listener_v3_FilterChainMatch_resize_source_prefix_ranges(envoy_config_listener_v3_FilterChainMatch* msg, size_t
|
316
|
-
|
550
|
+
UPB_INLINE struct envoy_config_core_v3_CidrRange** envoy_config_listener_v3_FilterChainMatch_resize_source_prefix_ranges(envoy_config_listener_v3_FilterChainMatch* msg, size_t size, upb_Arena* arena) {
|
551
|
+
upb_MiniTableField field = {6, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
552
|
+
return (struct envoy_config_core_v3_CidrRange**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
317
553
|
}
|
318
554
|
UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_config_listener_v3_FilterChainMatch_add_source_prefix_ranges(envoy_config_listener_v3_FilterChainMatch* msg, upb_Arena* arena) {
|
319
|
-
|
320
|
-
|
321
|
-
if (!
|
555
|
+
upb_MiniTableField field = {6, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
556
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
557
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
558
|
+
return NULL;
|
559
|
+
}
|
560
|
+
struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy_config_core_v3_CidrRange_msg_init, arena);
|
561
|
+
if (!arr || !sub) return NULL;
|
562
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
322
563
|
return sub;
|
323
564
|
}
|
324
|
-
UPB_INLINE uint32_t* envoy_config_listener_v3_FilterChainMatch_mutable_source_ports(envoy_config_listener_v3_FilterChainMatch* msg, size_t*
|
325
|
-
|
565
|
+
UPB_INLINE uint32_t* envoy_config_listener_v3_FilterChainMatch_mutable_source_ports(envoy_config_listener_v3_FilterChainMatch* msg, size_t* size) {
|
566
|
+
upb_MiniTableField field = {7, UPB_SIZE(16, 48), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
567
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
568
|
+
if (arr) {
|
569
|
+
if (size) *size = arr->size;
|
570
|
+
return (uint32_t*)_upb_array_ptr(arr);
|
571
|
+
} else {
|
572
|
+
if (size) *size = 0;
|
573
|
+
return NULL;
|
574
|
+
}
|
326
575
|
}
|
327
|
-
UPB_INLINE uint32_t* envoy_config_listener_v3_FilterChainMatch_resize_source_ports(envoy_config_listener_v3_FilterChainMatch* msg, size_t
|
328
|
-
|
576
|
+
UPB_INLINE uint32_t* envoy_config_listener_v3_FilterChainMatch_resize_source_ports(envoy_config_listener_v3_FilterChainMatch* msg, size_t size, upb_Arena* arena) {
|
577
|
+
upb_MiniTableField field = {7, UPB_SIZE(16, 48), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
578
|
+
return (uint32_t*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
329
579
|
}
|
330
580
|
UPB_INLINE bool envoy_config_listener_v3_FilterChainMatch_add_source_ports(envoy_config_listener_v3_FilterChainMatch* msg, uint32_t val, upb_Arena* arena) {
|
331
|
-
|
581
|
+
upb_MiniTableField field = {7, UPB_SIZE(16, 48), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
582
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
583
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
584
|
+
return false;
|
585
|
+
}
|
586
|
+
_upb_Array_Set(arr, arr->size - 1, &val, sizeof(val));
|
587
|
+
return true;
|
332
588
|
}
|
333
589
|
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_set_destination_port(envoy_config_listener_v3_FilterChainMatch *msg, struct google_protobuf_UInt32Value* value) {
|
334
|
-
|
335
|
-
|
590
|
+
const upb_MiniTableField field = {8, UPB_SIZE(20, 56), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
591
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
336
592
|
}
|
337
593
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_listener_v3_FilterChainMatch_mutable_destination_port(envoy_config_listener_v3_FilterChainMatch* msg, upb_Arena* arena) {
|
338
594
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_listener_v3_FilterChainMatch_destination_port(msg);
|
339
595
|
if (sub == NULL) {
|
340
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
341
|
-
if (
|
342
|
-
envoy_config_listener_v3_FilterChainMatch_set_destination_port(msg, sub);
|
596
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
597
|
+
if (sub) envoy_config_listener_v3_FilterChainMatch_set_destination_port(msg, sub);
|
343
598
|
}
|
344
599
|
return sub;
|
345
600
|
}
|
346
601
|
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_set_transport_protocol(envoy_config_listener_v3_FilterChainMatch *msg, upb_StringView value) {
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
602
|
+
const upb_MiniTableField field = {9, UPB_SIZE(48, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
603
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
604
|
+
}
|
605
|
+
UPB_INLINE upb_StringView* envoy_config_listener_v3_FilterChainMatch_mutable_application_protocols(envoy_config_listener_v3_FilterChainMatch* msg, size_t* size) {
|
606
|
+
upb_MiniTableField field = {10, UPB_SIZE(24, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
607
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
608
|
+
if (arr) {
|
609
|
+
if (size) *size = arr->size;
|
610
|
+
return (upb_StringView*)_upb_array_ptr(arr);
|
611
|
+
} else {
|
612
|
+
if (size) *size = 0;
|
613
|
+
return NULL;
|
614
|
+
}
|
351
615
|
}
|
352
|
-
UPB_INLINE upb_StringView* envoy_config_listener_v3_FilterChainMatch_resize_application_protocols(envoy_config_listener_v3_FilterChainMatch* msg, size_t
|
353
|
-
|
616
|
+
UPB_INLINE upb_StringView* envoy_config_listener_v3_FilterChainMatch_resize_application_protocols(envoy_config_listener_v3_FilterChainMatch* msg, size_t size, upb_Arena* arena) {
|
617
|
+
upb_MiniTableField field = {10, UPB_SIZE(24, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
618
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
354
619
|
}
|
355
620
|
UPB_INLINE bool envoy_config_listener_v3_FilterChainMatch_add_application_protocols(envoy_config_listener_v3_FilterChainMatch* msg, upb_StringView val, upb_Arena* arena) {
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
621
|
+
upb_MiniTableField field = {10, UPB_SIZE(24, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
622
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
623
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
624
|
+
return false;
|
625
|
+
}
|
626
|
+
_upb_Array_Set(arr, arr->size - 1, &val, sizeof(val));
|
627
|
+
return true;
|
628
|
+
}
|
629
|
+
UPB_INLINE upb_StringView* envoy_config_listener_v3_FilterChainMatch_mutable_server_names(envoy_config_listener_v3_FilterChainMatch* msg, size_t* size) {
|
630
|
+
upb_MiniTableField field = {11, UPB_SIZE(28, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
631
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
632
|
+
if (arr) {
|
633
|
+
if (size) *size = arr->size;
|
634
|
+
return (upb_StringView*)_upb_array_ptr(arr);
|
635
|
+
} else {
|
636
|
+
if (size) *size = 0;
|
637
|
+
return NULL;
|
638
|
+
}
|
360
639
|
}
|
361
|
-
UPB_INLINE upb_StringView* envoy_config_listener_v3_FilterChainMatch_resize_server_names(envoy_config_listener_v3_FilterChainMatch* msg, size_t
|
362
|
-
|
640
|
+
UPB_INLINE upb_StringView* envoy_config_listener_v3_FilterChainMatch_resize_server_names(envoy_config_listener_v3_FilterChainMatch* msg, size_t size, upb_Arena* arena) {
|
641
|
+
upb_MiniTableField field = {11, UPB_SIZE(28, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
642
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
363
643
|
}
|
364
644
|
UPB_INLINE bool envoy_config_listener_v3_FilterChainMatch_add_server_names(envoy_config_listener_v3_FilterChainMatch* msg, upb_StringView val, upb_Arena* arena) {
|
365
|
-
|
645
|
+
upb_MiniTableField field = {11, UPB_SIZE(28, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
646
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
647
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
648
|
+
return false;
|
649
|
+
}
|
650
|
+
_upb_Array_Set(arr, arr->size - 1, &val, sizeof(val));
|
651
|
+
return true;
|
366
652
|
}
|
367
653
|
UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_set_source_type(envoy_config_listener_v3_FilterChainMatch *msg, int32_t value) {
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
654
|
+
const upb_MiniTableField field = {12, UPB_SIZE(32, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
655
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
656
|
+
}
|
657
|
+
UPB_INLINE struct envoy_config_core_v3_CidrRange** envoy_config_listener_v3_FilterChainMatch_mutable_direct_source_prefix_ranges(envoy_config_listener_v3_FilterChainMatch* msg, size_t* size) {
|
658
|
+
upb_MiniTableField field = {13, UPB_SIZE(36, 96), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
659
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
660
|
+
if (arr) {
|
661
|
+
if (size) *size = arr->size;
|
662
|
+
return (struct envoy_config_core_v3_CidrRange**)_upb_array_ptr(arr);
|
663
|
+
} else {
|
664
|
+
if (size) *size = 0;
|
665
|
+
return NULL;
|
666
|
+
}
|
372
667
|
}
|
373
|
-
UPB_INLINE struct envoy_config_core_v3_CidrRange** envoy_config_listener_v3_FilterChainMatch_resize_direct_source_prefix_ranges(envoy_config_listener_v3_FilterChainMatch* msg, size_t
|
374
|
-
|
668
|
+
UPB_INLINE struct envoy_config_core_v3_CidrRange** envoy_config_listener_v3_FilterChainMatch_resize_direct_source_prefix_ranges(envoy_config_listener_v3_FilterChainMatch* msg, size_t size, upb_Arena* arena) {
|
669
|
+
upb_MiniTableField field = {13, UPB_SIZE(36, 96), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
670
|
+
return (struct envoy_config_core_v3_CidrRange**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
375
671
|
}
|
376
672
|
UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_config_listener_v3_FilterChainMatch_add_direct_source_prefix_ranges(envoy_config_listener_v3_FilterChainMatch* msg, upb_Arena* arena) {
|
377
|
-
|
378
|
-
|
379
|
-
if (!
|
673
|
+
upb_MiniTableField field = {13, UPB_SIZE(36, 96), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
674
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
675
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
676
|
+
return NULL;
|
677
|
+
}
|
678
|
+
struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy_config_core_v3_CidrRange_msg_init, arena);
|
679
|
+
if (!arr || !sub) return NULL;
|
680
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
380
681
|
return sub;
|
381
682
|
}
|
382
683
|
|
383
684
|
/* envoy.config.listener.v3.FilterChain */
|
384
685
|
|
385
686
|
UPB_INLINE envoy_config_listener_v3_FilterChain* envoy_config_listener_v3_FilterChain_new(upb_Arena* arena) {
|
386
|
-
return (envoy_config_listener_v3_FilterChain*)_upb_Message_New(&
|
687
|
+
return (envoy_config_listener_v3_FilterChain*)_upb_Message_New(&envoy_config_listener_v3_FilterChain_msg_init, arena);
|
387
688
|
}
|
388
689
|
UPB_INLINE envoy_config_listener_v3_FilterChain* envoy_config_listener_v3_FilterChain_parse(const char* buf, size_t size, upb_Arena* arena) {
|
389
690
|
envoy_config_listener_v3_FilterChain* ret = envoy_config_listener_v3_FilterChain_new(arena);
|
390
691
|
if (!ret) return NULL;
|
391
|
-
if (upb_Decode(buf, size, ret, &
|
692
|
+
if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_FilterChain_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
392
693
|
return NULL;
|
393
694
|
}
|
394
695
|
return ret;
|
@@ -398,7 +699,7 @@ UPB_INLINE envoy_config_listener_v3_FilterChain* envoy_config_listener_v3_Filter
|
|
398
699
|
int options, upb_Arena* arena) {
|
399
700
|
envoy_config_listener_v3_FilterChain* ret = envoy_config_listener_v3_FilterChain_new(arena);
|
400
701
|
if (!ret) return NULL;
|
401
|
-
if (upb_Decode(buf, size, ret, &
|
702
|
+
if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_FilterChain_msg_init, extreg, options, arena) !=
|
402
703
|
kUpb_DecodeStatus_Ok) {
|
403
704
|
return NULL;
|
404
705
|
}
|
@@ -406,175 +707,253 @@ UPB_INLINE envoy_config_listener_v3_FilterChain* envoy_config_listener_v3_Filter
|
|
406
707
|
}
|
407
708
|
UPB_INLINE char* envoy_config_listener_v3_FilterChain_serialize(const envoy_config_listener_v3_FilterChain* msg, upb_Arena* arena, size_t* len) {
|
408
709
|
char* ptr;
|
409
|
-
(void)upb_Encode(msg, &
|
710
|
+
(void)upb_Encode(msg, &envoy_config_listener_v3_FilterChain_msg_init, 0, arena, &ptr, len);
|
410
711
|
return ptr;
|
411
712
|
}
|
412
713
|
UPB_INLINE char* envoy_config_listener_v3_FilterChain_serialize_ex(const envoy_config_listener_v3_FilterChain* msg, int options,
|
413
714
|
upb_Arena* arena, size_t* len) {
|
414
715
|
char* ptr;
|
415
|
-
(void)upb_Encode(msg, &
|
716
|
+
(void)upb_Encode(msg, &envoy_config_listener_v3_FilterChain_msg_init, options, arena, &ptr, len);
|
416
717
|
return ptr;
|
417
718
|
}
|
418
|
-
UPB_INLINE
|
419
|
-
|
420
|
-
|
421
|
-
UPB_INLINE void envoy_config_listener_v3_FilterChain_clear_filter_chain_match(const envoy_config_listener_v3_FilterChain* msg) {
|
422
|
-
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
|
719
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChain_clear_filter_chain_match(envoy_config_listener_v3_FilterChain* msg) {
|
720
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
721
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
423
722
|
}
|
424
723
|
UPB_INLINE const envoy_config_listener_v3_FilterChainMatch* envoy_config_listener_v3_FilterChain_filter_chain_match(const envoy_config_listener_v3_FilterChain* msg) {
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
724
|
+
const envoy_config_listener_v3_FilterChainMatch* default_val = NULL;
|
725
|
+
const envoy_config_listener_v3_FilterChainMatch* ret;
|
726
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
727
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
728
|
+
return ret;
|
429
729
|
}
|
430
|
-
UPB_INLINE
|
431
|
-
|
730
|
+
UPB_INLINE bool envoy_config_listener_v3_FilterChain_has_filter_chain_match(const envoy_config_listener_v3_FilterChain* msg) {
|
731
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
732
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
733
|
+
}
|
734
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChain_clear_filters(envoy_config_listener_v3_FilterChain* msg) {
|
735
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
736
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
737
|
+
}
|
738
|
+
UPB_INLINE const envoy_config_listener_v3_Filter* const* envoy_config_listener_v3_FilterChain_filters(const envoy_config_listener_v3_FilterChain* msg, size_t* size) {
|
739
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
740
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
741
|
+
if (arr) {
|
742
|
+
if (size) *size = arr->size;
|
743
|
+
return (const envoy_config_listener_v3_Filter* const*)_upb_array_constptr(arr);
|
744
|
+
} else {
|
745
|
+
if (size) *size = 0;
|
746
|
+
return NULL;
|
747
|
+
}
|
432
748
|
}
|
433
|
-
UPB_INLINE const
|
434
|
-
|
749
|
+
UPB_INLINE const upb_Array* _envoy_config_listener_v3_FilterChain_filters_upb_array(const envoy_config_listener_v3_FilterChain* msg, size_t* size) {
|
750
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
751
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
752
|
+
if (size) {
|
753
|
+
*size = arr ? arr->size : 0;
|
754
|
+
}
|
755
|
+
return arr;
|
756
|
+
}
|
757
|
+
UPB_INLINE upb_Array* _envoy_config_listener_v3_FilterChain_filters_mutable_upb_array(const envoy_config_listener_v3_FilterChain* msg, size_t* size, upb_Arena* arena) {
|
758
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
759
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
760
|
+
(upb_Message*)msg, &field, arena);
|
761
|
+
if (size) {
|
762
|
+
*size = arr ? arr->size : 0;
|
763
|
+
}
|
764
|
+
return arr;
|
435
765
|
}
|
436
|
-
UPB_INLINE bool
|
437
|
-
|
766
|
+
UPB_INLINE bool envoy_config_listener_v3_FilterChain_has_filters(const envoy_config_listener_v3_FilterChain* msg) {
|
767
|
+
size_t size;
|
768
|
+
envoy_config_listener_v3_FilterChain_filters(msg, &size);
|
769
|
+
return size != 0;
|
438
770
|
}
|
439
|
-
UPB_INLINE void envoy_config_listener_v3_FilterChain_clear_use_proxy_proto(
|
440
|
-
|
771
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChain_clear_use_proxy_proto(envoy_config_listener_v3_FilterChain* msg) {
|
772
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
773
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
441
774
|
}
|
442
775
|
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_listener_v3_FilterChain_use_proxy_proto(const envoy_config_listener_v3_FilterChain* msg) {
|
443
|
-
|
776
|
+
const struct google_protobuf_BoolValue* default_val = NULL;
|
777
|
+
const struct google_protobuf_BoolValue* ret;
|
778
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
779
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
780
|
+
return ret;
|
444
781
|
}
|
445
|
-
UPB_INLINE bool
|
446
|
-
|
782
|
+
UPB_INLINE bool envoy_config_listener_v3_FilterChain_has_use_proxy_proto(const envoy_config_listener_v3_FilterChain* msg) {
|
783
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
784
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
447
785
|
}
|
448
|
-
UPB_INLINE void envoy_config_listener_v3_FilterChain_clear_metadata(
|
449
|
-
|
786
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChain_clear_metadata(envoy_config_listener_v3_FilterChain* msg) {
|
787
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 32), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
788
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
450
789
|
}
|
451
790
|
UPB_INLINE const struct envoy_config_core_v3_Metadata* envoy_config_listener_v3_FilterChain_metadata(const envoy_config_listener_v3_FilterChain* msg) {
|
452
|
-
|
791
|
+
const struct envoy_config_core_v3_Metadata* default_val = NULL;
|
792
|
+
const struct envoy_config_core_v3_Metadata* ret;
|
793
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 32), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
794
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
795
|
+
return ret;
|
453
796
|
}
|
454
|
-
UPB_INLINE bool
|
455
|
-
|
797
|
+
UPB_INLINE bool envoy_config_listener_v3_FilterChain_has_metadata(const envoy_config_listener_v3_FilterChain* msg) {
|
798
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 32), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
799
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
456
800
|
}
|
457
|
-
UPB_INLINE void envoy_config_listener_v3_FilterChain_clear_transport_socket(
|
458
|
-
|
801
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChain_clear_transport_socket(envoy_config_listener_v3_FilterChain* msg) {
|
802
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 40), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
803
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
459
804
|
}
|
460
805
|
UPB_INLINE const struct envoy_config_core_v3_TransportSocket* envoy_config_listener_v3_FilterChain_transport_socket(const envoy_config_listener_v3_FilterChain* msg) {
|
461
|
-
|
806
|
+
const struct envoy_config_core_v3_TransportSocket* default_val = NULL;
|
807
|
+
const struct envoy_config_core_v3_TransportSocket* ret;
|
808
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 40), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
809
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
810
|
+
return ret;
|
462
811
|
}
|
463
|
-
UPB_INLINE
|
464
|
-
|
812
|
+
UPB_INLINE bool envoy_config_listener_v3_FilterChain_has_transport_socket(const envoy_config_listener_v3_FilterChain* msg) {
|
813
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 40), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
814
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
465
815
|
}
|
466
|
-
UPB_INLINE
|
467
|
-
|
816
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChain_clear_name(envoy_config_listener_v3_FilterChain* msg) {
|
817
|
+
const upb_MiniTableField field = {7, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
818
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
468
819
|
}
|
469
|
-
UPB_INLINE
|
470
|
-
|
820
|
+
UPB_INLINE upb_StringView envoy_config_listener_v3_FilterChain_name(const envoy_config_listener_v3_FilterChain* msg) {
|
821
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
822
|
+
upb_StringView ret;
|
823
|
+
const upb_MiniTableField field = {7, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
824
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
825
|
+
return ret;
|
471
826
|
}
|
472
|
-
UPB_INLINE void envoy_config_listener_v3_FilterChain_clear_on_demand_configuration(
|
473
|
-
|
827
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChain_clear_on_demand_configuration(envoy_config_listener_v3_FilterChain* msg) {
|
828
|
+
const upb_MiniTableField field = {8, UPB_SIZE(24, 64), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
829
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
474
830
|
}
|
475
831
|
UPB_INLINE const envoy_config_listener_v3_FilterChain_OnDemandConfiguration* envoy_config_listener_v3_FilterChain_on_demand_configuration(const envoy_config_listener_v3_FilterChain* msg) {
|
476
|
-
|
832
|
+
const envoy_config_listener_v3_FilterChain_OnDemandConfiguration* default_val = NULL;
|
833
|
+
const envoy_config_listener_v3_FilterChain_OnDemandConfiguration* ret;
|
834
|
+
const upb_MiniTableField field = {8, UPB_SIZE(24, 64), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
835
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
836
|
+
return ret;
|
477
837
|
}
|
478
|
-
UPB_INLINE bool
|
479
|
-
|
838
|
+
UPB_INLINE bool envoy_config_listener_v3_FilterChain_has_on_demand_configuration(const envoy_config_listener_v3_FilterChain* msg) {
|
839
|
+
const upb_MiniTableField field = {8, UPB_SIZE(24, 64), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
840
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
480
841
|
}
|
481
|
-
UPB_INLINE void envoy_config_listener_v3_FilterChain_clear_transport_socket_connect_timeout(
|
482
|
-
|
842
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChain_clear_transport_socket_connect_timeout(envoy_config_listener_v3_FilterChain* msg) {
|
843
|
+
const upb_MiniTableField field = {9, UPB_SIZE(28, 72), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
844
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
483
845
|
}
|
484
846
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_listener_v3_FilterChain_transport_socket_connect_timeout(const envoy_config_listener_v3_FilterChain* msg) {
|
485
|
-
|
847
|
+
const struct google_protobuf_Duration* default_val = NULL;
|
848
|
+
const struct google_protobuf_Duration* ret;
|
849
|
+
const upb_MiniTableField field = {9, UPB_SIZE(28, 72), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
850
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
851
|
+
return ret;
|
852
|
+
}
|
853
|
+
UPB_INLINE bool envoy_config_listener_v3_FilterChain_has_transport_socket_connect_timeout(const envoy_config_listener_v3_FilterChain* msg) {
|
854
|
+
const upb_MiniTableField field = {9, UPB_SIZE(28, 72), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
855
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
486
856
|
}
|
487
857
|
|
488
858
|
UPB_INLINE void envoy_config_listener_v3_FilterChain_set_filter_chain_match(envoy_config_listener_v3_FilterChain *msg, envoy_config_listener_v3_FilterChainMatch* value) {
|
489
|
-
|
490
|
-
|
859
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
860
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
491
861
|
}
|
492
862
|
UPB_INLINE struct envoy_config_listener_v3_FilterChainMatch* envoy_config_listener_v3_FilterChain_mutable_filter_chain_match(envoy_config_listener_v3_FilterChain* msg, upb_Arena* arena) {
|
493
863
|
struct envoy_config_listener_v3_FilterChainMatch* sub = (struct envoy_config_listener_v3_FilterChainMatch*)envoy_config_listener_v3_FilterChain_filter_chain_match(msg);
|
494
864
|
if (sub == NULL) {
|
495
|
-
sub = (struct envoy_config_listener_v3_FilterChainMatch*)_upb_Message_New(&
|
496
|
-
if (
|
497
|
-
envoy_config_listener_v3_FilterChain_set_filter_chain_match(msg, sub);
|
865
|
+
sub = (struct envoy_config_listener_v3_FilterChainMatch*)_upb_Message_New(&envoy_config_listener_v3_FilterChainMatch_msg_init, arena);
|
866
|
+
if (sub) envoy_config_listener_v3_FilterChain_set_filter_chain_match(msg, sub);
|
498
867
|
}
|
499
868
|
return sub;
|
500
869
|
}
|
501
|
-
UPB_INLINE envoy_config_listener_v3_Filter** envoy_config_listener_v3_FilterChain_mutable_filters(envoy_config_listener_v3_FilterChain* msg, size_t*
|
502
|
-
|
870
|
+
UPB_INLINE envoy_config_listener_v3_Filter** envoy_config_listener_v3_FilterChain_mutable_filters(envoy_config_listener_v3_FilterChain* msg, size_t* size) {
|
871
|
+
upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
872
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
873
|
+
if (arr) {
|
874
|
+
if (size) *size = arr->size;
|
875
|
+
return (envoy_config_listener_v3_Filter**)_upb_array_ptr(arr);
|
876
|
+
} else {
|
877
|
+
if (size) *size = 0;
|
878
|
+
return NULL;
|
879
|
+
}
|
503
880
|
}
|
504
|
-
UPB_INLINE envoy_config_listener_v3_Filter** envoy_config_listener_v3_FilterChain_resize_filters(envoy_config_listener_v3_FilterChain* msg, size_t
|
505
|
-
|
881
|
+
UPB_INLINE envoy_config_listener_v3_Filter** envoy_config_listener_v3_FilterChain_resize_filters(envoy_config_listener_v3_FilterChain* msg, size_t size, upb_Arena* arena) {
|
882
|
+
upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
883
|
+
return (envoy_config_listener_v3_Filter**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
506
884
|
}
|
507
885
|
UPB_INLINE struct envoy_config_listener_v3_Filter* envoy_config_listener_v3_FilterChain_add_filters(envoy_config_listener_v3_FilterChain* msg, upb_Arena* arena) {
|
508
|
-
|
509
|
-
|
510
|
-
if (!
|
886
|
+
upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
887
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
888
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
889
|
+
return NULL;
|
890
|
+
}
|
891
|
+
struct envoy_config_listener_v3_Filter* sub = (struct envoy_config_listener_v3_Filter*)_upb_Message_New(&envoy_config_listener_v3_Filter_msg_init, arena);
|
892
|
+
if (!arr || !sub) return NULL;
|
893
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
511
894
|
return sub;
|
512
895
|
}
|
513
896
|
UPB_INLINE void envoy_config_listener_v3_FilterChain_set_use_proxy_proto(envoy_config_listener_v3_FilterChain *msg, struct google_protobuf_BoolValue* value) {
|
514
|
-
|
515
|
-
|
897
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
898
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
516
899
|
}
|
517
900
|
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_listener_v3_FilterChain_mutable_use_proxy_proto(envoy_config_listener_v3_FilterChain* msg, upb_Arena* arena) {
|
518
901
|
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_listener_v3_FilterChain_use_proxy_proto(msg);
|
519
902
|
if (sub == NULL) {
|
520
|
-
sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&
|
521
|
-
if (
|
522
|
-
envoy_config_listener_v3_FilterChain_set_use_proxy_proto(msg, sub);
|
903
|
+
sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena);
|
904
|
+
if (sub) envoy_config_listener_v3_FilterChain_set_use_proxy_proto(msg, sub);
|
523
905
|
}
|
524
906
|
return sub;
|
525
907
|
}
|
526
908
|
UPB_INLINE void envoy_config_listener_v3_FilterChain_set_metadata(envoy_config_listener_v3_FilterChain *msg, struct envoy_config_core_v3_Metadata* value) {
|
527
|
-
|
528
|
-
|
909
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 32), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
910
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
529
911
|
}
|
530
912
|
UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_listener_v3_FilterChain_mutable_metadata(envoy_config_listener_v3_FilterChain* msg, upb_Arena* arena) {
|
531
913
|
struct envoy_config_core_v3_Metadata* sub = (struct envoy_config_core_v3_Metadata*)envoy_config_listener_v3_FilterChain_metadata(msg);
|
532
914
|
if (sub == NULL) {
|
533
|
-
sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&
|
534
|
-
if (
|
535
|
-
envoy_config_listener_v3_FilterChain_set_metadata(msg, sub);
|
915
|
+
sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy_config_core_v3_Metadata_msg_init, arena);
|
916
|
+
if (sub) envoy_config_listener_v3_FilterChain_set_metadata(msg, sub);
|
536
917
|
}
|
537
918
|
return sub;
|
538
919
|
}
|
539
920
|
UPB_INLINE void envoy_config_listener_v3_FilterChain_set_transport_socket(envoy_config_listener_v3_FilterChain *msg, struct envoy_config_core_v3_TransportSocket* value) {
|
540
|
-
|
541
|
-
|
921
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 40), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
922
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
542
923
|
}
|
543
924
|
UPB_INLINE struct envoy_config_core_v3_TransportSocket* envoy_config_listener_v3_FilterChain_mutable_transport_socket(envoy_config_listener_v3_FilterChain* msg, upb_Arena* arena) {
|
544
925
|
struct envoy_config_core_v3_TransportSocket* sub = (struct envoy_config_core_v3_TransportSocket*)envoy_config_listener_v3_FilterChain_transport_socket(msg);
|
545
926
|
if (sub == NULL) {
|
546
|
-
sub = (struct envoy_config_core_v3_TransportSocket*)_upb_Message_New(&
|
547
|
-
if (
|
548
|
-
envoy_config_listener_v3_FilterChain_set_transport_socket(msg, sub);
|
927
|
+
sub = (struct envoy_config_core_v3_TransportSocket*)_upb_Message_New(&envoy_config_core_v3_TransportSocket_msg_init, arena);
|
928
|
+
if (sub) envoy_config_listener_v3_FilterChain_set_transport_socket(msg, sub);
|
549
929
|
}
|
550
930
|
return sub;
|
551
931
|
}
|
552
932
|
UPB_INLINE void envoy_config_listener_v3_FilterChain_set_name(envoy_config_listener_v3_FilterChain *msg, upb_StringView value) {
|
553
|
-
|
933
|
+
const upb_MiniTableField field = {7, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
934
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
554
935
|
}
|
555
936
|
UPB_INLINE void envoy_config_listener_v3_FilterChain_set_on_demand_configuration(envoy_config_listener_v3_FilterChain *msg, envoy_config_listener_v3_FilterChain_OnDemandConfiguration* value) {
|
556
|
-
|
557
|
-
|
937
|
+
const upb_MiniTableField field = {8, UPB_SIZE(24, 64), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
938
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
558
939
|
}
|
559
940
|
UPB_INLINE struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration* envoy_config_listener_v3_FilterChain_mutable_on_demand_configuration(envoy_config_listener_v3_FilterChain* msg, upb_Arena* arena) {
|
560
941
|
struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration* sub = (struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration*)envoy_config_listener_v3_FilterChain_on_demand_configuration(msg);
|
561
942
|
if (sub == NULL) {
|
562
|
-
sub = (struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration*)_upb_Message_New(&
|
563
|
-
if (
|
564
|
-
envoy_config_listener_v3_FilterChain_set_on_demand_configuration(msg, sub);
|
943
|
+
sub = (struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration*)_upb_Message_New(&envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msg_init, arena);
|
944
|
+
if (sub) envoy_config_listener_v3_FilterChain_set_on_demand_configuration(msg, sub);
|
565
945
|
}
|
566
946
|
return sub;
|
567
947
|
}
|
568
948
|
UPB_INLINE void envoy_config_listener_v3_FilterChain_set_transport_socket_connect_timeout(envoy_config_listener_v3_FilterChain *msg, struct google_protobuf_Duration* value) {
|
569
|
-
|
570
|
-
|
949
|
+
const upb_MiniTableField field = {9, UPB_SIZE(28, 72), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
950
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
571
951
|
}
|
572
952
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_listener_v3_FilterChain_mutable_transport_socket_connect_timeout(envoy_config_listener_v3_FilterChain* msg, upb_Arena* arena) {
|
573
953
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_listener_v3_FilterChain_transport_socket_connect_timeout(msg);
|
574
954
|
if (sub == NULL) {
|
575
|
-
sub = (struct google_protobuf_Duration*)_upb_Message_New(&
|
576
|
-
if (
|
577
|
-
envoy_config_listener_v3_FilterChain_set_transport_socket_connect_timeout(msg, sub);
|
955
|
+
sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena);
|
956
|
+
if (sub) envoy_config_listener_v3_FilterChain_set_transport_socket_connect_timeout(msg, sub);
|
578
957
|
}
|
579
958
|
return sub;
|
580
959
|
}
|
@@ -582,12 +961,12 @@ UPB_INLINE struct google_protobuf_Duration* envoy_config_listener_v3_FilterChain
|
|
582
961
|
/* envoy.config.listener.v3.FilterChain.OnDemandConfiguration */
|
583
962
|
|
584
963
|
UPB_INLINE envoy_config_listener_v3_FilterChain_OnDemandConfiguration* envoy_config_listener_v3_FilterChain_OnDemandConfiguration_new(upb_Arena* arena) {
|
585
|
-
return (envoy_config_listener_v3_FilterChain_OnDemandConfiguration*)_upb_Message_New(&
|
964
|
+
return (envoy_config_listener_v3_FilterChain_OnDemandConfiguration*)_upb_Message_New(&envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msg_init, arena);
|
586
965
|
}
|
587
966
|
UPB_INLINE envoy_config_listener_v3_FilterChain_OnDemandConfiguration* envoy_config_listener_v3_FilterChain_OnDemandConfiguration_parse(const char* buf, size_t size, upb_Arena* arena) {
|
588
967
|
envoy_config_listener_v3_FilterChain_OnDemandConfiguration* ret = envoy_config_listener_v3_FilterChain_OnDemandConfiguration_new(arena);
|
589
968
|
if (!ret) return NULL;
|
590
|
-
if (upb_Decode(buf, size, ret, &
|
969
|
+
if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
591
970
|
return NULL;
|
592
971
|
}
|
593
972
|
return ret;
|
@@ -597,7 +976,7 @@ UPB_INLINE envoy_config_listener_v3_FilterChain_OnDemandConfiguration* envoy_con
|
|
597
976
|
int options, upb_Arena* arena) {
|
598
977
|
envoy_config_listener_v3_FilterChain_OnDemandConfiguration* ret = envoy_config_listener_v3_FilterChain_OnDemandConfiguration_new(arena);
|
599
978
|
if (!ret) return NULL;
|
600
|
-
if (upb_Decode(buf, size, ret, &
|
979
|
+
if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msg_init, extreg, options, arena) !=
|
601
980
|
kUpb_DecodeStatus_Ok) {
|
602
981
|
return NULL;
|
603
982
|
}
|
@@ -605,35 +984,40 @@ UPB_INLINE envoy_config_listener_v3_FilterChain_OnDemandConfiguration* envoy_con
|
|
605
984
|
}
|
606
985
|
UPB_INLINE char* envoy_config_listener_v3_FilterChain_OnDemandConfiguration_serialize(const envoy_config_listener_v3_FilterChain_OnDemandConfiguration* msg, upb_Arena* arena, size_t* len) {
|
607
986
|
char* ptr;
|
608
|
-
(void)upb_Encode(msg, &
|
987
|
+
(void)upb_Encode(msg, &envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msg_init, 0, arena, &ptr, len);
|
609
988
|
return ptr;
|
610
989
|
}
|
611
990
|
UPB_INLINE char* envoy_config_listener_v3_FilterChain_OnDemandConfiguration_serialize_ex(const envoy_config_listener_v3_FilterChain_OnDemandConfiguration* msg, int options,
|
612
991
|
upb_Arena* arena, size_t* len) {
|
613
992
|
char* ptr;
|
614
|
-
(void)upb_Encode(msg, &
|
993
|
+
(void)upb_Encode(msg, &envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msg_init, options, arena, &ptr, len);
|
615
994
|
return ptr;
|
616
995
|
}
|
617
|
-
UPB_INLINE
|
618
|
-
|
619
|
-
|
620
|
-
UPB_INLINE void envoy_config_listener_v3_FilterChain_OnDemandConfiguration_clear_rebuild_timeout(const envoy_config_listener_v3_FilterChain_OnDemandConfiguration* msg) {
|
621
|
-
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
|
996
|
+
UPB_INLINE void envoy_config_listener_v3_FilterChain_OnDemandConfiguration_clear_rebuild_timeout(envoy_config_listener_v3_FilterChain_OnDemandConfiguration* msg) {
|
997
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
998
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
622
999
|
}
|
623
1000
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_listener_v3_FilterChain_OnDemandConfiguration_rebuild_timeout(const envoy_config_listener_v3_FilterChain_OnDemandConfiguration* msg) {
|
624
|
-
|
1001
|
+
const struct google_protobuf_Duration* default_val = NULL;
|
1002
|
+
const struct google_protobuf_Duration* ret;
|
1003
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1004
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1005
|
+
return ret;
|
1006
|
+
}
|
1007
|
+
UPB_INLINE bool envoy_config_listener_v3_FilterChain_OnDemandConfiguration_has_rebuild_timeout(const envoy_config_listener_v3_FilterChain_OnDemandConfiguration* msg) {
|
1008
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1009
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
625
1010
|
}
|
626
1011
|
|
627
1012
|
UPB_INLINE void envoy_config_listener_v3_FilterChain_OnDemandConfiguration_set_rebuild_timeout(envoy_config_listener_v3_FilterChain_OnDemandConfiguration *msg, struct google_protobuf_Duration* value) {
|
628
|
-
|
629
|
-
|
1013
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1014
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
630
1015
|
}
|
631
1016
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_listener_v3_FilterChain_OnDemandConfiguration_mutable_rebuild_timeout(envoy_config_listener_v3_FilterChain_OnDemandConfiguration* msg, upb_Arena* arena) {
|
632
1017
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_listener_v3_FilterChain_OnDemandConfiguration_rebuild_timeout(msg);
|
633
1018
|
if (sub == NULL) {
|
634
|
-
sub = (struct google_protobuf_Duration*)_upb_Message_New(&
|
635
|
-
if (
|
636
|
-
envoy_config_listener_v3_FilterChain_OnDemandConfiguration_set_rebuild_timeout(msg, sub);
|
1019
|
+
sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena);
|
1020
|
+
if (sub) envoy_config_listener_v3_FilterChain_OnDemandConfiguration_set_rebuild_timeout(msg, sub);
|
637
1021
|
}
|
638
1022
|
return sub;
|
639
1023
|
}
|
@@ -641,12 +1025,12 @@ UPB_INLINE struct google_protobuf_Duration* envoy_config_listener_v3_FilterChain
|
|
641
1025
|
/* envoy.config.listener.v3.ListenerFilterChainMatchPredicate */
|
642
1026
|
|
643
1027
|
UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_new(upb_Arena* arena) {
|
644
|
-
return (envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)_upb_Message_New(&
|
1028
|
+
return (envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)_upb_Message_New(&envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init, arena);
|
645
1029
|
}
|
646
1030
|
UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_parse(const char* buf, size_t size, upb_Arena* arena) {
|
647
1031
|
envoy_config_listener_v3_ListenerFilterChainMatchPredicate* ret = envoy_config_listener_v3_ListenerFilterChainMatchPredicate_new(arena);
|
648
1032
|
if (!ret) return NULL;
|
649
|
-
if (upb_Decode(buf, size, ret, &
|
1033
|
+
if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
650
1034
|
return NULL;
|
651
1035
|
}
|
652
1036
|
return ret;
|
@@ -656,7 +1040,7 @@ UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate* envoy_con
|
|
656
1040
|
int options, upb_Arena* arena) {
|
657
1041
|
envoy_config_listener_v3_ListenerFilterChainMatchPredicate* ret = envoy_config_listener_v3_ListenerFilterChainMatchPredicate_new(arena);
|
658
1042
|
if (!ret) return NULL;
|
659
|
-
if (upb_Decode(buf, size, ret, &
|
1043
|
+
if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init, extreg, options, arena) !=
|
660
1044
|
kUpb_DecodeStatus_Ok) {
|
661
1045
|
return NULL;
|
662
1046
|
}
|
@@ -664,13 +1048,13 @@ UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate* envoy_con
|
|
664
1048
|
}
|
665
1049
|
UPB_INLINE char* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_serialize(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg, upb_Arena* arena, size_t* len) {
|
666
1050
|
char* ptr;
|
667
|
-
(void)upb_Encode(msg, &
|
1051
|
+
(void)upb_Encode(msg, &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init, 0, arena, &ptr, len);
|
668
1052
|
return ptr;
|
669
1053
|
}
|
670
1054
|
UPB_INLINE char* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_serialize_ex(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg, int options,
|
671
1055
|
upb_Arena* arena, size_t* len) {
|
672
1056
|
char* ptr;
|
673
|
-
(void)upb_Encode(msg, &
|
1057
|
+
(void)upb_Encode(msg, &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init, options, arena, &ptr, len);
|
674
1058
|
return ptr;
|
675
1059
|
}
|
676
1060
|
typedef enum {
|
@@ -682,102 +1066,134 @@ typedef enum {
|
|
682
1066
|
envoy_config_listener_v3_ListenerFilterChainMatchPredicate_rule_NOT_SET = 0
|
683
1067
|
} envoy_config_listener_v3_ListenerFilterChainMatchPredicate_rule_oneofcases;
|
684
1068
|
UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate_rule_oneofcases envoy_config_listener_v3_ListenerFilterChainMatchPredicate_rule_case(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg) {
|
685
|
-
|
1069
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1070
|
+
return (envoy_config_listener_v3_ListenerFilterChainMatchPredicate_rule_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field);
|
686
1071
|
}
|
687
|
-
UPB_INLINE
|
688
|
-
|
689
|
-
|
690
|
-
UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_clear_or_match(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg) {
|
691
|
-
UPB_WRITE_ONEOF(msg, envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*, UPB_SIZE(4, 8), 0, UPB_SIZE(0, 0), envoy_config_listener_v3_ListenerFilterChainMatchPredicate_rule_NOT_SET);
|
1072
|
+
UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_clear_or_match(envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg) {
|
1073
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1074
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
692
1075
|
}
|
693
1076
|
UPB_INLINE const envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_or_match(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg) {
|
694
|
-
|
1077
|
+
const envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* default_val = NULL;
|
1078
|
+
const envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* ret;
|
1079
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1080
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1081
|
+
return ret;
|
695
1082
|
}
|
696
|
-
UPB_INLINE bool
|
697
|
-
|
1083
|
+
UPB_INLINE bool envoy_config_listener_v3_ListenerFilterChainMatchPredicate_has_or_match(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg) {
|
1084
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1085
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
698
1086
|
}
|
699
|
-
UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_clear_and_match(
|
700
|
-
|
1087
|
+
UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_clear_and_match(envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg) {
|
1088
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1089
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
701
1090
|
}
|
702
1091
|
UPB_INLINE const envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_and_match(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg) {
|
703
|
-
|
1092
|
+
const envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* default_val = NULL;
|
1093
|
+
const envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* ret;
|
1094
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1095
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1096
|
+
return ret;
|
704
1097
|
}
|
705
|
-
UPB_INLINE bool
|
706
|
-
|
1098
|
+
UPB_INLINE bool envoy_config_listener_v3_ListenerFilterChainMatchPredicate_has_and_match(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg) {
|
1099
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1100
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
707
1101
|
}
|
708
|
-
UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_clear_not_match(
|
709
|
-
|
1102
|
+
UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_clear_not_match(envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg) {
|
1103
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1104
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
710
1105
|
}
|
711
1106
|
UPB_INLINE const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_not_match(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg) {
|
712
|
-
|
1107
|
+
const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* default_val = NULL;
|
1108
|
+
const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* ret;
|
1109
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1110
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1111
|
+
return ret;
|
713
1112
|
}
|
714
|
-
UPB_INLINE bool
|
715
|
-
|
1113
|
+
UPB_INLINE bool envoy_config_listener_v3_ListenerFilterChainMatchPredicate_has_not_match(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg) {
|
1114
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1115
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
716
1116
|
}
|
717
|
-
UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_clear_any_match(
|
718
|
-
|
1117
|
+
UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_clear_any_match(envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg) {
|
1118
|
+
const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1119
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
719
1120
|
}
|
720
1121
|
UPB_INLINE bool envoy_config_listener_v3_ListenerFilterChainMatchPredicate_any_match(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg) {
|
721
|
-
|
1122
|
+
bool default_val = false;
|
1123
|
+
bool ret;
|
1124
|
+
const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1125
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1126
|
+
return ret;
|
722
1127
|
}
|
723
|
-
UPB_INLINE bool
|
724
|
-
|
1128
|
+
UPB_INLINE bool envoy_config_listener_v3_ListenerFilterChainMatchPredicate_has_any_match(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg) {
|
1129
|
+
const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1130
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
725
1131
|
}
|
726
|
-
UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_clear_destination_port_range(
|
727
|
-
|
1132
|
+
UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_clear_destination_port_range(envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg) {
|
1133
|
+
const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1134
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
728
1135
|
}
|
729
1136
|
UPB_INLINE const struct envoy_type_v3_Int32Range* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_destination_port_range(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg) {
|
730
|
-
|
1137
|
+
const struct envoy_type_v3_Int32Range* default_val = NULL;
|
1138
|
+
const struct envoy_type_v3_Int32Range* ret;
|
1139
|
+
const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1140
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1141
|
+
return ret;
|
1142
|
+
}
|
1143
|
+
UPB_INLINE bool envoy_config_listener_v3_ListenerFilterChainMatchPredicate_has_destination_port_range(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg) {
|
1144
|
+
const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1145
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
731
1146
|
}
|
732
1147
|
|
733
1148
|
UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_or_match(envoy_config_listener_v3_ListenerFilterChainMatchPredicate *msg, envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* value) {
|
734
|
-
|
1149
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1150
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
735
1151
|
}
|
736
1152
|
UPB_INLINE struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_mutable_or_match(envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg, upb_Arena* arena) {
|
737
1153
|
struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*)envoy_config_listener_v3_ListenerFilterChainMatchPredicate_or_match(msg);
|
738
1154
|
if (sub == NULL) {
|
739
|
-
sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*)_upb_Message_New(&
|
740
|
-
if (
|
741
|
-
envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_or_match(msg, sub);
|
1155
|
+
sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*)_upb_Message_New(&envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init, arena);
|
1156
|
+
if (sub) envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_or_match(msg, sub);
|
742
1157
|
}
|
743
1158
|
return sub;
|
744
1159
|
}
|
745
1160
|
UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_and_match(envoy_config_listener_v3_ListenerFilterChainMatchPredicate *msg, envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* value) {
|
746
|
-
|
1161
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1162
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
747
1163
|
}
|
748
1164
|
UPB_INLINE struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_mutable_and_match(envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg, upb_Arena* arena) {
|
749
1165
|
struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*)envoy_config_listener_v3_ListenerFilterChainMatchPredicate_and_match(msg);
|
750
1166
|
if (sub == NULL) {
|
751
|
-
sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*)_upb_Message_New(&
|
752
|
-
if (
|
753
|
-
envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_and_match(msg, sub);
|
1167
|
+
sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*)_upb_Message_New(&envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init, arena);
|
1168
|
+
if (sub) envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_and_match(msg, sub);
|
754
1169
|
}
|
755
1170
|
return sub;
|
756
1171
|
}
|
757
1172
|
UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_not_match(envoy_config_listener_v3_ListenerFilterChainMatchPredicate *msg, envoy_config_listener_v3_ListenerFilterChainMatchPredicate* value) {
|
758
|
-
|
1173
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1174
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
759
1175
|
}
|
760
1176
|
UPB_INLINE struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_mutable_not_match(envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg, upb_Arena* arena) {
|
761
1177
|
struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate* sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)envoy_config_listener_v3_ListenerFilterChainMatchPredicate_not_match(msg);
|
762
1178
|
if (sub == NULL) {
|
763
|
-
sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)_upb_Message_New(&
|
764
|
-
if (
|
765
|
-
envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_not_match(msg, sub);
|
1179
|
+
sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)_upb_Message_New(&envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init, arena);
|
1180
|
+
if (sub) envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_not_match(msg, sub);
|
766
1181
|
}
|
767
1182
|
return sub;
|
768
1183
|
}
|
769
1184
|
UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_any_match(envoy_config_listener_v3_ListenerFilterChainMatchPredicate *msg, bool value) {
|
770
|
-
|
1185
|
+
const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1186
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
771
1187
|
}
|
772
1188
|
UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_destination_port_range(envoy_config_listener_v3_ListenerFilterChainMatchPredicate *msg, struct envoy_type_v3_Int32Range* value) {
|
773
|
-
|
1189
|
+
const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1190
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
774
1191
|
}
|
775
1192
|
UPB_INLINE struct envoy_type_v3_Int32Range* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_mutable_destination_port_range(envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg, upb_Arena* arena) {
|
776
1193
|
struct envoy_type_v3_Int32Range* sub = (struct envoy_type_v3_Int32Range*)envoy_config_listener_v3_ListenerFilterChainMatchPredicate_destination_port_range(msg);
|
777
1194
|
if (sub == NULL) {
|
778
|
-
sub = (struct envoy_type_v3_Int32Range*)_upb_Message_New(&
|
779
|
-
if (
|
780
|
-
envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_destination_port_range(msg, sub);
|
1195
|
+
sub = (struct envoy_type_v3_Int32Range*)_upb_Message_New(&envoy_type_v3_Int32Range_msg_init, arena);
|
1196
|
+
if (sub) envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_destination_port_range(msg, sub);
|
781
1197
|
}
|
782
1198
|
return sub;
|
783
1199
|
}
|
@@ -785,12 +1201,12 @@ UPB_INLINE struct envoy_type_v3_Int32Range* envoy_config_listener_v3_ListenerFil
|
|
785
1201
|
/* envoy.config.listener.v3.ListenerFilterChainMatchPredicate.MatchSet */
|
786
1202
|
|
787
1203
|
UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_new(upb_Arena* arena) {
|
788
|
-
return (envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*)_upb_Message_New(&
|
1204
|
+
return (envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*)_upb_Message_New(&envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init, arena);
|
789
1205
|
}
|
790
1206
|
UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_parse(const char* buf, size_t size, upb_Arena* arena) {
|
791
1207
|
envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* ret = envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_new(arena);
|
792
1208
|
if (!ret) return NULL;
|
793
|
-
if (upb_Decode(buf, size, ret, &
|
1209
|
+
if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
794
1210
|
return NULL;
|
795
1211
|
}
|
796
1212
|
return ret;
|
@@ -800,7 +1216,7 @@ UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*
|
|
800
1216
|
int options, upb_Arena* arena) {
|
801
1217
|
envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* ret = envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_new(arena);
|
802
1218
|
if (!ret) return NULL;
|
803
|
-
if (upb_Decode(buf, size, ret, &
|
1219
|
+
if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init, extreg, options, arena) !=
|
804
1220
|
kUpb_DecodeStatus_Ok) {
|
805
1221
|
return NULL;
|
806
1222
|
}
|
@@ -808,47 +1224,89 @@ UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*
|
|
808
1224
|
}
|
809
1225
|
UPB_INLINE char* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_serialize(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* msg, upb_Arena* arena, size_t* len) {
|
810
1226
|
char* ptr;
|
811
|
-
(void)upb_Encode(msg, &
|
1227
|
+
(void)upb_Encode(msg, &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init, 0, arena, &ptr, len);
|
812
1228
|
return ptr;
|
813
1229
|
}
|
814
1230
|
UPB_INLINE char* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_serialize_ex(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* msg, int options,
|
815
1231
|
upb_Arena* arena, size_t* len) {
|
816
1232
|
char* ptr;
|
817
|
-
(void)upb_Encode(msg, &
|
1233
|
+
(void)upb_Encode(msg, &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init, options, arena, &ptr, len);
|
818
1234
|
return ptr;
|
819
1235
|
}
|
820
|
-
UPB_INLINE
|
821
|
-
|
1236
|
+
UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_clear_rules(envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* msg) {
|
1237
|
+
const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1238
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1239
|
+
}
|
1240
|
+
UPB_INLINE const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* const* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_rules(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* msg, size_t* size) {
|
1241
|
+
const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1242
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1243
|
+
if (arr) {
|
1244
|
+
if (size) *size = arr->size;
|
1245
|
+
return (const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* const*)_upb_array_constptr(arr);
|
1246
|
+
} else {
|
1247
|
+
if (size) *size = 0;
|
1248
|
+
return NULL;
|
1249
|
+
}
|
822
1250
|
}
|
823
|
-
UPB_INLINE
|
824
|
-
|
1251
|
+
UPB_INLINE const upb_Array* _envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_rules_upb_array(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* msg, size_t* size) {
|
1252
|
+
const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1253
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1254
|
+
if (size) {
|
1255
|
+
*size = arr ? arr->size : 0;
|
1256
|
+
}
|
1257
|
+
return arr;
|
1258
|
+
}
|
1259
|
+
UPB_INLINE upb_Array* _envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_rules_mutable_upb_array(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* msg, size_t* size, upb_Arena* arena) {
|
1260
|
+
const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1261
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1262
|
+
(upb_Message*)msg, &field, arena);
|
1263
|
+
if (size) {
|
1264
|
+
*size = arr ? arr->size : 0;
|
1265
|
+
}
|
1266
|
+
return arr;
|
825
1267
|
}
|
826
|
-
UPB_INLINE
|
827
|
-
|
1268
|
+
UPB_INLINE bool envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_has_rules(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* msg) {
|
1269
|
+
size_t size;
|
1270
|
+
envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_rules(msg, &size);
|
1271
|
+
return size != 0;
|
828
1272
|
}
|
829
1273
|
|
830
|
-
UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate** envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_mutable_rules(envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* msg, size_t*
|
831
|
-
|
1274
|
+
UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate** envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_mutable_rules(envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* msg, size_t* size) {
|
1275
|
+
upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1276
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1277
|
+
if (arr) {
|
1278
|
+
if (size) *size = arr->size;
|
1279
|
+
return (envoy_config_listener_v3_ListenerFilterChainMatchPredicate**)_upb_array_ptr(arr);
|
1280
|
+
} else {
|
1281
|
+
if (size) *size = 0;
|
1282
|
+
return NULL;
|
1283
|
+
}
|
832
1284
|
}
|
833
|
-
UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate** envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_resize_rules(envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* msg, size_t
|
834
|
-
|
1285
|
+
UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate** envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_resize_rules(envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* msg, size_t size, upb_Arena* arena) {
|
1286
|
+
upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1287
|
+
return (envoy_config_listener_v3_ListenerFilterChainMatchPredicate**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
835
1288
|
}
|
836
1289
|
UPB_INLINE struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_add_rules(envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* msg, upb_Arena* arena) {
|
837
|
-
|
838
|
-
|
839
|
-
if (!
|
1290
|
+
upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1291
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
1292
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
1293
|
+
return NULL;
|
1294
|
+
}
|
1295
|
+
struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate* sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)_upb_Message_New(&envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init, arena);
|
1296
|
+
if (!arr || !sub) return NULL;
|
1297
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
840
1298
|
return sub;
|
841
1299
|
}
|
842
1300
|
|
843
1301
|
/* envoy.config.listener.v3.ListenerFilter */
|
844
1302
|
|
845
1303
|
UPB_INLINE envoy_config_listener_v3_ListenerFilter* envoy_config_listener_v3_ListenerFilter_new(upb_Arena* arena) {
|
846
|
-
return (envoy_config_listener_v3_ListenerFilter*)_upb_Message_New(&
|
1304
|
+
return (envoy_config_listener_v3_ListenerFilter*)_upb_Message_New(&envoy_config_listener_v3_ListenerFilter_msg_init, arena);
|
847
1305
|
}
|
848
1306
|
UPB_INLINE envoy_config_listener_v3_ListenerFilter* envoy_config_listener_v3_ListenerFilter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
849
1307
|
envoy_config_listener_v3_ListenerFilter* ret = envoy_config_listener_v3_ListenerFilter_new(arena);
|
850
1308
|
if (!ret) return NULL;
|
851
|
-
if (upb_Decode(buf, size, ret, &
|
1309
|
+
if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ListenerFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
852
1310
|
return NULL;
|
853
1311
|
}
|
854
1312
|
return ret;
|
@@ -858,7 +1316,7 @@ UPB_INLINE envoy_config_listener_v3_ListenerFilter* envoy_config_listener_v3_Lis
|
|
858
1316
|
int options, upb_Arena* arena) {
|
859
1317
|
envoy_config_listener_v3_ListenerFilter* ret = envoy_config_listener_v3_ListenerFilter_new(arena);
|
860
1318
|
if (!ret) return NULL;
|
861
|
-
if (upb_Decode(buf, size, ret, &
|
1319
|
+
if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ListenerFilter_msg_init, extreg, options, arena) !=
|
862
1320
|
kUpb_DecodeStatus_Ok) {
|
863
1321
|
return NULL;
|
864
1322
|
}
|
@@ -866,13 +1324,13 @@ UPB_INLINE envoy_config_listener_v3_ListenerFilter* envoy_config_listener_v3_Lis
|
|
866
1324
|
}
|
867
1325
|
UPB_INLINE char* envoy_config_listener_v3_ListenerFilter_serialize(const envoy_config_listener_v3_ListenerFilter* msg, upb_Arena* arena, size_t* len) {
|
868
1326
|
char* ptr;
|
869
|
-
(void)upb_Encode(msg, &
|
1327
|
+
(void)upb_Encode(msg, &envoy_config_listener_v3_ListenerFilter_msg_init, 0, arena, &ptr, len);
|
870
1328
|
return ptr;
|
871
1329
|
}
|
872
1330
|
UPB_INLINE char* envoy_config_listener_v3_ListenerFilter_serialize_ex(const envoy_config_listener_v3_ListenerFilter* msg, int options,
|
873
1331
|
upb_Arena* arena, size_t* len) {
|
874
1332
|
char* ptr;
|
875
|
-
(void)upb_Encode(msg, &
|
1333
|
+
(void)upb_Encode(msg, &envoy_config_listener_v3_ListenerFilter_msg_init, options, arena, &ptr, len);
|
876
1334
|
return ptr;
|
877
1335
|
}
|
878
1336
|
typedef enum {
|
@@ -881,89 +1339,113 @@ typedef enum {
|
|
881
1339
|
envoy_config_listener_v3_ListenerFilter_config_type_NOT_SET = 0
|
882
1340
|
} envoy_config_listener_v3_ListenerFilter_config_type_oneofcases;
|
883
1341
|
UPB_INLINE envoy_config_listener_v3_ListenerFilter_config_type_oneofcases envoy_config_listener_v3_ListenerFilter_config_type_case(const envoy_config_listener_v3_ListenerFilter* msg) {
|
884
|
-
|
1342
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1343
|
+
return (envoy_config_listener_v3_ListenerFilter_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field);
|
885
1344
|
}
|
886
|
-
UPB_INLINE void envoy_config_listener_v3_ListenerFilter_clear_name(
|
887
|
-
|
1345
|
+
UPB_INLINE void envoy_config_listener_v3_ListenerFilter_clear_name(envoy_config_listener_v3_ListenerFilter* msg) {
|
1346
|
+
const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1347
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
888
1348
|
}
|
889
1349
|
UPB_INLINE upb_StringView envoy_config_listener_v3_ListenerFilter_name(const envoy_config_listener_v3_ListenerFilter* msg) {
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
1350
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
1351
|
+
upb_StringView ret;
|
1352
|
+
const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1353
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1354
|
+
return ret;
|
894
1355
|
}
|
895
|
-
UPB_INLINE void envoy_config_listener_v3_ListenerFilter_clear_typed_config(
|
896
|
-
|
1356
|
+
UPB_INLINE void envoy_config_listener_v3_ListenerFilter_clear_typed_config(envoy_config_listener_v3_ListenerFilter* msg) {
|
1357
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1358
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
897
1359
|
}
|
898
1360
|
UPB_INLINE const struct google_protobuf_Any* envoy_config_listener_v3_ListenerFilter_typed_config(const envoy_config_listener_v3_ListenerFilter* msg) {
|
899
|
-
|
1361
|
+
const struct google_protobuf_Any* default_val = NULL;
|
1362
|
+
const struct google_protobuf_Any* ret;
|
1363
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1364
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1365
|
+
return ret;
|
900
1366
|
}
|
901
|
-
UPB_INLINE bool
|
902
|
-
|
1367
|
+
UPB_INLINE bool envoy_config_listener_v3_ListenerFilter_has_typed_config(const envoy_config_listener_v3_ListenerFilter* msg) {
|
1368
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1369
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
903
1370
|
}
|
904
|
-
UPB_INLINE void envoy_config_listener_v3_ListenerFilter_clear_filter_disabled(
|
905
|
-
|
1371
|
+
UPB_INLINE void envoy_config_listener_v3_ListenerFilter_clear_filter_disabled(envoy_config_listener_v3_ListenerFilter* msg) {
|
1372
|
+
const upb_MiniTableField field = {4, UPB_SIZE(4, 24), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1373
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
906
1374
|
}
|
907
1375
|
UPB_INLINE const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* envoy_config_listener_v3_ListenerFilter_filter_disabled(const envoy_config_listener_v3_ListenerFilter* msg) {
|
908
|
-
|
1376
|
+
const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* default_val = NULL;
|
1377
|
+
const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* ret;
|
1378
|
+
const upb_MiniTableField field = {4, UPB_SIZE(4, 24), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1379
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1380
|
+
return ret;
|
909
1381
|
}
|
910
|
-
UPB_INLINE bool
|
911
|
-
|
1382
|
+
UPB_INLINE bool envoy_config_listener_v3_ListenerFilter_has_filter_disabled(const envoy_config_listener_v3_ListenerFilter* msg) {
|
1383
|
+
const upb_MiniTableField field = {4, UPB_SIZE(4, 24), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1384
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
912
1385
|
}
|
913
|
-
UPB_INLINE void envoy_config_listener_v3_ListenerFilter_clear_config_discovery(
|
914
|
-
|
1386
|
+
UPB_INLINE void envoy_config_listener_v3_ListenerFilter_clear_config_discovery(envoy_config_listener_v3_ListenerFilter* msg) {
|
1387
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1388
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
915
1389
|
}
|
916
1390
|
UPB_INLINE const struct envoy_config_core_v3_ExtensionConfigSource* envoy_config_listener_v3_ListenerFilter_config_discovery(const envoy_config_listener_v3_ListenerFilter* msg) {
|
917
|
-
|
1391
|
+
const struct envoy_config_core_v3_ExtensionConfigSource* default_val = NULL;
|
1392
|
+
const struct envoy_config_core_v3_ExtensionConfigSource* ret;
|
1393
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1394
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1395
|
+
return ret;
|
1396
|
+
}
|
1397
|
+
UPB_INLINE bool envoy_config_listener_v3_ListenerFilter_has_config_discovery(const envoy_config_listener_v3_ListenerFilter* msg) {
|
1398
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1399
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
918
1400
|
}
|
919
1401
|
|
920
1402
|
UPB_INLINE void envoy_config_listener_v3_ListenerFilter_set_name(envoy_config_listener_v3_ListenerFilter *msg, upb_StringView value) {
|
921
|
-
|
1403
|
+
const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1404
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
922
1405
|
}
|
923
1406
|
UPB_INLINE void envoy_config_listener_v3_ListenerFilter_set_typed_config(envoy_config_listener_v3_ListenerFilter *msg, struct google_protobuf_Any* value) {
|
924
|
-
|
1407
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1408
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
925
1409
|
}
|
926
1410
|
UPB_INLINE struct google_protobuf_Any* envoy_config_listener_v3_ListenerFilter_mutable_typed_config(envoy_config_listener_v3_ListenerFilter* msg, upb_Arena* arena) {
|
927
1411
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_listener_v3_ListenerFilter_typed_config(msg);
|
928
1412
|
if (sub == NULL) {
|
929
|
-
sub = (struct google_protobuf_Any*)_upb_Message_New(&
|
930
|
-
if (
|
931
|
-
envoy_config_listener_v3_ListenerFilter_set_typed_config(msg, sub);
|
1413
|
+
sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena);
|
1414
|
+
if (sub) envoy_config_listener_v3_ListenerFilter_set_typed_config(msg, sub);
|
932
1415
|
}
|
933
1416
|
return sub;
|
934
1417
|
}
|
935
1418
|
UPB_INLINE void envoy_config_listener_v3_ListenerFilter_set_filter_disabled(envoy_config_listener_v3_ListenerFilter *msg, envoy_config_listener_v3_ListenerFilterChainMatchPredicate* value) {
|
936
|
-
|
937
|
-
|
1419
|
+
const upb_MiniTableField field = {4, UPB_SIZE(4, 24), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1420
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
938
1421
|
}
|
939
1422
|
UPB_INLINE struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate* envoy_config_listener_v3_ListenerFilter_mutable_filter_disabled(envoy_config_listener_v3_ListenerFilter* msg, upb_Arena* arena) {
|
940
1423
|
struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate* sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)envoy_config_listener_v3_ListenerFilter_filter_disabled(msg);
|
941
1424
|
if (sub == NULL) {
|
942
|
-
sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)_upb_Message_New(&
|
943
|
-
if (
|
944
|
-
envoy_config_listener_v3_ListenerFilter_set_filter_disabled(msg, sub);
|
1425
|
+
sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)_upb_Message_New(&envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init, arena);
|
1426
|
+
if (sub) envoy_config_listener_v3_ListenerFilter_set_filter_disabled(msg, sub);
|
945
1427
|
}
|
946
1428
|
return sub;
|
947
1429
|
}
|
948
1430
|
UPB_INLINE void envoy_config_listener_v3_ListenerFilter_set_config_discovery(envoy_config_listener_v3_ListenerFilter *msg, struct envoy_config_core_v3_ExtensionConfigSource* value) {
|
949
|
-
|
1431
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1432
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
950
1433
|
}
|
951
1434
|
UPB_INLINE struct envoy_config_core_v3_ExtensionConfigSource* envoy_config_listener_v3_ListenerFilter_mutable_config_discovery(envoy_config_listener_v3_ListenerFilter* msg, upb_Arena* arena) {
|
952
1435
|
struct envoy_config_core_v3_ExtensionConfigSource* sub = (struct envoy_config_core_v3_ExtensionConfigSource*)envoy_config_listener_v3_ListenerFilter_config_discovery(msg);
|
953
1436
|
if (sub == NULL) {
|
954
|
-
sub = (struct envoy_config_core_v3_ExtensionConfigSource*)_upb_Message_New(&
|
955
|
-
if (
|
956
|
-
envoy_config_listener_v3_ListenerFilter_set_config_discovery(msg, sub);
|
1437
|
+
sub = (struct envoy_config_core_v3_ExtensionConfigSource*)_upb_Message_New(&envoy_config_core_v3_ExtensionConfigSource_msg_init, arena);
|
1438
|
+
if (sub) envoy_config_listener_v3_ListenerFilter_set_config_discovery(msg, sub);
|
957
1439
|
}
|
958
1440
|
return sub;
|
959
1441
|
}
|
960
1442
|
|
961
|
-
extern const
|
1443
|
+
extern const upb_MiniTableFile envoy_config_listener_v3_listener_components_proto_upb_file_layout;
|
962
1444
|
|
963
1445
|
#ifdef __cplusplus
|
964
1446
|
} /* extern "C" */
|
965
1447
|
#endif
|
966
1448
|
|
967
|
-
#include "upb/
|
1449
|
+
#include "upb/port/undef.inc"
|
968
1450
|
|
969
1451
|
#endif /* ENVOY_CONFIG_LISTENER_V3_LISTENER_COMPONENTS_PROTO_UPB_H_ */
|