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,33 +9,14 @@
|
|
9
9
|
#ifndef ENVOY_CONFIG_CORE_V3_PROTOCOL_PROTO_UPB_H_
|
10
10
|
#define ENVOY_CONFIG_CORE_V3_PROTOCOL_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_core_v3_TcpProtocolOptions;
|
24
|
-
struct envoy_config_core_v3_QuicKeepAliveSettings;
|
25
|
-
struct envoy_config_core_v3_QuicProtocolOptions;
|
26
|
-
struct envoy_config_core_v3_UpstreamHttpProtocolOptions;
|
27
|
-
struct envoy_config_core_v3_AlternateProtocolsCacheOptions;
|
28
|
-
struct envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry;
|
29
|
-
struct envoy_config_core_v3_HttpProtocolOptions;
|
30
|
-
struct envoy_config_core_v3_Http1ProtocolOptions;
|
31
|
-
struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat;
|
32
|
-
struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords;
|
33
|
-
struct envoy_config_core_v3_KeepaliveSettings;
|
34
|
-
struct envoy_config_core_v3_Http2ProtocolOptions;
|
35
|
-
struct envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter;
|
36
|
-
struct envoy_config_core_v3_GrpcProtocolOptions;
|
37
|
-
struct envoy_config_core_v3_Http3ProtocolOptions;
|
38
|
-
struct envoy_config_core_v3_SchemeHeaderTransformation;
|
39
20
|
typedef struct envoy_config_core_v3_TcpProtocolOptions envoy_config_core_v3_TcpProtocolOptions;
|
40
21
|
typedef struct envoy_config_core_v3_QuicKeepAliveSettings envoy_config_core_v3_QuicKeepAliveSettings;
|
41
22
|
typedef struct envoy_config_core_v3_QuicProtocolOptions envoy_config_core_v3_QuicProtocolOptions;
|
@@ -52,32 +33,32 @@ typedef struct envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter envoy
|
|
52
33
|
typedef struct envoy_config_core_v3_GrpcProtocolOptions envoy_config_core_v3_GrpcProtocolOptions;
|
53
34
|
typedef struct envoy_config_core_v3_Http3ProtocolOptions envoy_config_core_v3_Http3ProtocolOptions;
|
54
35
|
typedef struct envoy_config_core_v3_SchemeHeaderTransformation envoy_config_core_v3_SchemeHeaderTransformation;
|
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
|
62
|
-
extern const upb_MiniTable
|
63
|
-
extern const upb_MiniTable
|
64
|
-
extern const upb_MiniTable
|
65
|
-
extern const upb_MiniTable
|
66
|
-
extern const upb_MiniTable
|
67
|
-
extern const upb_MiniTable
|
68
|
-
extern const upb_MiniTable
|
69
|
-
extern const upb_MiniTable
|
70
|
-
extern const upb_MiniTable
|
36
|
+
extern const upb_MiniTable envoy_config_core_v3_TcpProtocolOptions_msg_init;
|
37
|
+
extern const upb_MiniTable envoy_config_core_v3_QuicKeepAliveSettings_msg_init;
|
38
|
+
extern const upb_MiniTable envoy_config_core_v3_QuicProtocolOptions_msg_init;
|
39
|
+
extern const upb_MiniTable envoy_config_core_v3_UpstreamHttpProtocolOptions_msg_init;
|
40
|
+
extern const upb_MiniTable envoy_config_core_v3_AlternateProtocolsCacheOptions_msg_init;
|
41
|
+
extern const upb_MiniTable envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_msg_init;
|
42
|
+
extern const upb_MiniTable envoy_config_core_v3_HttpProtocolOptions_msg_init;
|
43
|
+
extern const upb_MiniTable envoy_config_core_v3_Http1ProtocolOptions_msg_init;
|
44
|
+
extern const upb_MiniTable envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msg_init;
|
45
|
+
extern const upb_MiniTable envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msg_init;
|
46
|
+
extern const upb_MiniTable envoy_config_core_v3_KeepaliveSettings_msg_init;
|
47
|
+
extern const upb_MiniTable envoy_config_core_v3_Http2ProtocolOptions_msg_init;
|
48
|
+
extern const upb_MiniTable envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msg_init;
|
49
|
+
extern const upb_MiniTable envoy_config_core_v3_GrpcProtocolOptions_msg_init;
|
50
|
+
extern const upb_MiniTable envoy_config_core_v3_Http3ProtocolOptions_msg_init;
|
51
|
+
extern const upb_MiniTable envoy_config_core_v3_SchemeHeaderTransformation_msg_init;
|
71
52
|
struct envoy_config_core_v3_TypedExtensionConfig;
|
72
53
|
struct envoy_type_v3_Percent;
|
73
54
|
struct google_protobuf_BoolValue;
|
74
55
|
struct google_protobuf_Duration;
|
75
56
|
struct google_protobuf_UInt32Value;
|
76
|
-
extern const upb_MiniTable
|
77
|
-
extern const upb_MiniTable
|
78
|
-
extern const upb_MiniTable
|
79
|
-
extern const upb_MiniTable
|
80
|
-
extern const upb_MiniTable
|
57
|
+
extern const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init;
|
58
|
+
extern const upb_MiniTable envoy_type_v3_Percent_msg_init;
|
59
|
+
extern const upb_MiniTable google_protobuf_BoolValue_msg_init;
|
60
|
+
extern const upb_MiniTable google_protobuf_Duration_msg_init;
|
61
|
+
extern const upb_MiniTable google_protobuf_UInt32Value_msg_init;
|
81
62
|
|
82
63
|
typedef enum {
|
83
64
|
envoy_config_core_v3_HttpProtocolOptions_ALLOW = 0,
|
@@ -90,12 +71,12 @@ typedef enum {
|
|
90
71
|
/* envoy.config.core.v3.TcpProtocolOptions */
|
91
72
|
|
92
73
|
UPB_INLINE envoy_config_core_v3_TcpProtocolOptions* envoy_config_core_v3_TcpProtocolOptions_new(upb_Arena* arena) {
|
93
|
-
return (envoy_config_core_v3_TcpProtocolOptions*)_upb_Message_New(&
|
74
|
+
return (envoy_config_core_v3_TcpProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_TcpProtocolOptions_msg_init, arena);
|
94
75
|
}
|
95
76
|
UPB_INLINE envoy_config_core_v3_TcpProtocolOptions* envoy_config_core_v3_TcpProtocolOptions_parse(const char* buf, size_t size, upb_Arena* arena) {
|
96
77
|
envoy_config_core_v3_TcpProtocolOptions* ret = envoy_config_core_v3_TcpProtocolOptions_new(arena);
|
97
78
|
if (!ret) return NULL;
|
98
|
-
if (upb_Decode(buf, size, ret, &
|
79
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_TcpProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
99
80
|
return NULL;
|
100
81
|
}
|
101
82
|
return ret;
|
@@ -105,7 +86,7 @@ UPB_INLINE envoy_config_core_v3_TcpProtocolOptions* envoy_config_core_v3_TcpProt
|
|
105
86
|
int options, upb_Arena* arena) {
|
106
87
|
envoy_config_core_v3_TcpProtocolOptions* ret = envoy_config_core_v3_TcpProtocolOptions_new(arena);
|
107
88
|
if (!ret) return NULL;
|
108
|
-
if (upb_Decode(buf, size, ret, &
|
89
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_TcpProtocolOptions_msg_init, extreg, options, arena) !=
|
109
90
|
kUpb_DecodeStatus_Ok) {
|
110
91
|
return NULL;
|
111
92
|
}
|
@@ -113,13 +94,13 @@ UPB_INLINE envoy_config_core_v3_TcpProtocolOptions* envoy_config_core_v3_TcpProt
|
|
113
94
|
}
|
114
95
|
UPB_INLINE char* envoy_config_core_v3_TcpProtocolOptions_serialize(const envoy_config_core_v3_TcpProtocolOptions* msg, upb_Arena* arena, size_t* len) {
|
115
96
|
char* ptr;
|
116
|
-
(void)upb_Encode(msg, &
|
97
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_TcpProtocolOptions_msg_init, 0, arena, &ptr, len);
|
117
98
|
return ptr;
|
118
99
|
}
|
119
100
|
UPB_INLINE char* envoy_config_core_v3_TcpProtocolOptions_serialize_ex(const envoy_config_core_v3_TcpProtocolOptions* msg, int options,
|
120
101
|
upb_Arena* arena, size_t* len) {
|
121
102
|
char* ptr;
|
122
|
-
(void)upb_Encode(msg, &
|
103
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_TcpProtocolOptions_msg_init, options, arena, &ptr, len);
|
123
104
|
return ptr;
|
124
105
|
}
|
125
106
|
|
@@ -127,12 +108,12 @@ UPB_INLINE char* envoy_config_core_v3_TcpProtocolOptions_serialize_ex(const envo
|
|
127
108
|
/* envoy.config.core.v3.QuicKeepAliveSettings */
|
128
109
|
|
129
110
|
UPB_INLINE envoy_config_core_v3_QuicKeepAliveSettings* envoy_config_core_v3_QuicKeepAliveSettings_new(upb_Arena* arena) {
|
130
|
-
return (envoy_config_core_v3_QuicKeepAliveSettings*)_upb_Message_New(&
|
111
|
+
return (envoy_config_core_v3_QuicKeepAliveSettings*)_upb_Message_New(&envoy_config_core_v3_QuicKeepAliveSettings_msg_init, arena);
|
131
112
|
}
|
132
113
|
UPB_INLINE envoy_config_core_v3_QuicKeepAliveSettings* envoy_config_core_v3_QuicKeepAliveSettings_parse(const char* buf, size_t size, upb_Arena* arena) {
|
133
114
|
envoy_config_core_v3_QuicKeepAliveSettings* ret = envoy_config_core_v3_QuicKeepAliveSettings_new(arena);
|
134
115
|
if (!ret) return NULL;
|
135
|
-
if (upb_Decode(buf, size, ret, &
|
116
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_QuicKeepAliveSettings_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
136
117
|
return NULL;
|
137
118
|
}
|
138
119
|
return ret;
|
@@ -142,7 +123,7 @@ UPB_INLINE envoy_config_core_v3_QuicKeepAliveSettings* envoy_config_core_v3_Quic
|
|
142
123
|
int options, upb_Arena* arena) {
|
143
124
|
envoy_config_core_v3_QuicKeepAliveSettings* ret = envoy_config_core_v3_QuicKeepAliveSettings_new(arena);
|
144
125
|
if (!ret) return NULL;
|
145
|
-
if (upb_Decode(buf, size, ret, &
|
126
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_QuicKeepAliveSettings_msg_init, extreg, options, arena) !=
|
146
127
|
kUpb_DecodeStatus_Ok) {
|
147
128
|
return NULL;
|
148
129
|
}
|
@@ -150,57 +131,67 @@ UPB_INLINE envoy_config_core_v3_QuicKeepAliveSettings* envoy_config_core_v3_Quic
|
|
150
131
|
}
|
151
132
|
UPB_INLINE char* envoy_config_core_v3_QuicKeepAliveSettings_serialize(const envoy_config_core_v3_QuicKeepAliveSettings* msg, upb_Arena* arena, size_t* len) {
|
152
133
|
char* ptr;
|
153
|
-
(void)upb_Encode(msg, &
|
134
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_QuicKeepAliveSettings_msg_init, 0, arena, &ptr, len);
|
154
135
|
return ptr;
|
155
136
|
}
|
156
137
|
UPB_INLINE char* envoy_config_core_v3_QuicKeepAliveSettings_serialize_ex(const envoy_config_core_v3_QuicKeepAliveSettings* msg, int options,
|
157
138
|
upb_Arena* arena, size_t* len) {
|
158
139
|
char* ptr;
|
159
|
-
(void)upb_Encode(msg, &
|
140
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_QuicKeepAliveSettings_msg_init, options, arena, &ptr, len);
|
160
141
|
return ptr;
|
161
142
|
}
|
162
|
-
UPB_INLINE
|
163
|
-
|
164
|
-
|
165
|
-
UPB_INLINE void envoy_config_core_v3_QuicKeepAliveSettings_clear_max_interval(const envoy_config_core_v3_QuicKeepAliveSettings* msg) {
|
166
|
-
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
|
143
|
+
UPB_INLINE void envoy_config_core_v3_QuicKeepAliveSettings_clear_max_interval(envoy_config_core_v3_QuicKeepAliveSettings* msg) {
|
144
|
+
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)};
|
145
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
167
146
|
}
|
168
147
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_core_v3_QuicKeepAliveSettings_max_interval(const envoy_config_core_v3_QuicKeepAliveSettings* msg) {
|
169
|
-
|
148
|
+
const struct google_protobuf_Duration* default_val = NULL;
|
149
|
+
const struct google_protobuf_Duration* ret;
|
150
|
+
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)};
|
151
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
152
|
+
return ret;
|
170
153
|
}
|
171
|
-
UPB_INLINE bool
|
172
|
-
|
154
|
+
UPB_INLINE bool envoy_config_core_v3_QuicKeepAliveSettings_has_max_interval(const envoy_config_core_v3_QuicKeepAliveSettings* msg) {
|
155
|
+
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)};
|
156
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
173
157
|
}
|
174
|
-
UPB_INLINE void envoy_config_core_v3_QuicKeepAliveSettings_clear_initial_interval(
|
175
|
-
|
158
|
+
UPB_INLINE void envoy_config_core_v3_QuicKeepAliveSettings_clear_initial_interval(envoy_config_core_v3_QuicKeepAliveSettings* msg) {
|
159
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
160
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
176
161
|
}
|
177
162
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_core_v3_QuicKeepAliveSettings_initial_interval(const envoy_config_core_v3_QuicKeepAliveSettings* msg) {
|
178
|
-
|
163
|
+
const struct google_protobuf_Duration* default_val = NULL;
|
164
|
+
const struct google_protobuf_Duration* ret;
|
165
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
166
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
167
|
+
return ret;
|
168
|
+
}
|
169
|
+
UPB_INLINE bool envoy_config_core_v3_QuicKeepAliveSettings_has_initial_interval(const envoy_config_core_v3_QuicKeepAliveSettings* msg) {
|
170
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
171
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
179
172
|
}
|
180
173
|
|
181
174
|
UPB_INLINE void envoy_config_core_v3_QuicKeepAliveSettings_set_max_interval(envoy_config_core_v3_QuicKeepAliveSettings *msg, struct google_protobuf_Duration* value) {
|
182
|
-
|
183
|
-
|
175
|
+
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)};
|
176
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
184
177
|
}
|
185
178
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_QuicKeepAliveSettings_mutable_max_interval(envoy_config_core_v3_QuicKeepAliveSettings* msg, upb_Arena* arena) {
|
186
179
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_QuicKeepAliveSettings_max_interval(msg);
|
187
180
|
if (sub == NULL) {
|
188
|
-
sub = (struct google_protobuf_Duration*)_upb_Message_New(&
|
189
|
-
if (
|
190
|
-
envoy_config_core_v3_QuicKeepAliveSettings_set_max_interval(msg, sub);
|
181
|
+
sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena);
|
182
|
+
if (sub) envoy_config_core_v3_QuicKeepAliveSettings_set_max_interval(msg, sub);
|
191
183
|
}
|
192
184
|
return sub;
|
193
185
|
}
|
194
186
|
UPB_INLINE void envoy_config_core_v3_QuicKeepAliveSettings_set_initial_interval(envoy_config_core_v3_QuicKeepAliveSettings *msg, struct google_protobuf_Duration* value) {
|
195
|
-
|
196
|
-
|
187
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
188
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
197
189
|
}
|
198
190
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_QuicKeepAliveSettings_mutable_initial_interval(envoy_config_core_v3_QuicKeepAliveSettings* msg, upb_Arena* arena) {
|
199
191
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_QuicKeepAliveSettings_initial_interval(msg);
|
200
192
|
if (sub == NULL) {
|
201
|
-
sub = (struct google_protobuf_Duration*)_upb_Message_New(&
|
202
|
-
if (
|
203
|
-
envoy_config_core_v3_QuicKeepAliveSettings_set_initial_interval(msg, sub);
|
193
|
+
sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena);
|
194
|
+
if (sub) envoy_config_core_v3_QuicKeepAliveSettings_set_initial_interval(msg, sub);
|
204
195
|
}
|
205
196
|
return sub;
|
206
197
|
}
|
@@ -208,12 +199,12 @@ UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_QuicKeepAliveSe
|
|
208
199
|
/* envoy.config.core.v3.QuicProtocolOptions */
|
209
200
|
|
210
201
|
UPB_INLINE envoy_config_core_v3_QuicProtocolOptions* envoy_config_core_v3_QuicProtocolOptions_new(upb_Arena* arena) {
|
211
|
-
return (envoy_config_core_v3_QuicProtocolOptions*)_upb_Message_New(&
|
202
|
+
return (envoy_config_core_v3_QuicProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_QuicProtocolOptions_msg_init, arena);
|
212
203
|
}
|
213
204
|
UPB_INLINE envoy_config_core_v3_QuicProtocolOptions* envoy_config_core_v3_QuicProtocolOptions_parse(const char* buf, size_t size, upb_Arena* arena) {
|
214
205
|
envoy_config_core_v3_QuicProtocolOptions* ret = envoy_config_core_v3_QuicProtocolOptions_new(arena);
|
215
206
|
if (!ret) return NULL;
|
216
|
-
if (upb_Decode(buf, size, ret, &
|
207
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_QuicProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
217
208
|
return NULL;
|
218
209
|
}
|
219
210
|
return ret;
|
@@ -223,7 +214,7 @@ UPB_INLINE envoy_config_core_v3_QuicProtocolOptions* envoy_config_core_v3_QuicPr
|
|
223
214
|
int options, upb_Arena* arena) {
|
224
215
|
envoy_config_core_v3_QuicProtocolOptions* ret = envoy_config_core_v3_QuicProtocolOptions_new(arena);
|
225
216
|
if (!ret) return NULL;
|
226
|
-
if (upb_Decode(buf, size, ret, &
|
217
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_QuicProtocolOptions_msg_init, extreg, options, arena) !=
|
227
218
|
kUpb_DecodeStatus_Ok) {
|
228
219
|
return NULL;
|
229
220
|
}
|
@@ -231,123 +222,148 @@ UPB_INLINE envoy_config_core_v3_QuicProtocolOptions* envoy_config_core_v3_QuicPr
|
|
231
222
|
}
|
232
223
|
UPB_INLINE char* envoy_config_core_v3_QuicProtocolOptions_serialize(const envoy_config_core_v3_QuicProtocolOptions* msg, upb_Arena* arena, size_t* len) {
|
233
224
|
char* ptr;
|
234
|
-
(void)upb_Encode(msg, &
|
225
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_QuicProtocolOptions_msg_init, 0, arena, &ptr, len);
|
235
226
|
return ptr;
|
236
227
|
}
|
237
228
|
UPB_INLINE char* envoy_config_core_v3_QuicProtocolOptions_serialize_ex(const envoy_config_core_v3_QuicProtocolOptions* msg, int options,
|
238
229
|
upb_Arena* arena, size_t* len) {
|
239
230
|
char* ptr;
|
240
|
-
(void)upb_Encode(msg, &
|
231
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_QuicProtocolOptions_msg_init, options, arena, &ptr, len);
|
241
232
|
return ptr;
|
242
233
|
}
|
243
|
-
UPB_INLINE
|
244
|
-
|
245
|
-
|
246
|
-
UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_clear_max_concurrent_streams(const envoy_config_core_v3_QuicProtocolOptions* msg) {
|
247
|
-
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
|
234
|
+
UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_clear_max_concurrent_streams(envoy_config_core_v3_QuicProtocolOptions* msg) {
|
235
|
+
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)};
|
236
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
248
237
|
}
|
249
238
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_QuicProtocolOptions_max_concurrent_streams(const envoy_config_core_v3_QuicProtocolOptions* msg) {
|
250
|
-
|
239
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
240
|
+
const struct google_protobuf_UInt32Value* ret;
|
241
|
+
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)};
|
242
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
243
|
+
return ret;
|
251
244
|
}
|
252
|
-
UPB_INLINE bool
|
253
|
-
|
245
|
+
UPB_INLINE bool envoy_config_core_v3_QuicProtocolOptions_has_max_concurrent_streams(const envoy_config_core_v3_QuicProtocolOptions* msg) {
|
246
|
+
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)};
|
247
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
254
248
|
}
|
255
|
-
UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_clear_initial_stream_window_size(
|
256
|
-
|
249
|
+
UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_clear_initial_stream_window_size(envoy_config_core_v3_QuicProtocolOptions* msg) {
|
250
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
251
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
257
252
|
}
|
258
253
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_QuicProtocolOptions_initial_stream_window_size(const envoy_config_core_v3_QuicProtocolOptions* msg) {
|
259
|
-
|
254
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
255
|
+
const struct google_protobuf_UInt32Value* ret;
|
256
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
257
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
258
|
+
return ret;
|
260
259
|
}
|
261
|
-
UPB_INLINE bool
|
262
|
-
|
260
|
+
UPB_INLINE bool envoy_config_core_v3_QuicProtocolOptions_has_initial_stream_window_size(const envoy_config_core_v3_QuicProtocolOptions* msg) {
|
261
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
262
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
263
263
|
}
|
264
|
-
UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_clear_initial_connection_window_size(
|
265
|
-
|
264
|
+
UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_clear_initial_connection_window_size(envoy_config_core_v3_QuicProtocolOptions* msg) {
|
265
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
266
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
266
267
|
}
|
267
268
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_QuicProtocolOptions_initial_connection_window_size(const envoy_config_core_v3_QuicProtocolOptions* msg) {
|
268
|
-
|
269
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
270
|
+
const struct google_protobuf_UInt32Value* ret;
|
271
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
272
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
273
|
+
return ret;
|
269
274
|
}
|
270
|
-
UPB_INLINE bool
|
271
|
-
|
275
|
+
UPB_INLINE bool envoy_config_core_v3_QuicProtocolOptions_has_initial_connection_window_size(const envoy_config_core_v3_QuicProtocolOptions* msg) {
|
276
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
277
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
272
278
|
}
|
273
|
-
UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_clear_num_timeouts_to_trigger_port_migration(
|
274
|
-
|
279
|
+
UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_clear_num_timeouts_to_trigger_port_migration(envoy_config_core_v3_QuicProtocolOptions* msg) {
|
280
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
281
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
275
282
|
}
|
276
283
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_QuicProtocolOptions_num_timeouts_to_trigger_port_migration(const envoy_config_core_v3_QuicProtocolOptions* msg) {
|
277
|
-
|
284
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
285
|
+
const struct google_protobuf_UInt32Value* ret;
|
286
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
287
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
288
|
+
return ret;
|
278
289
|
}
|
279
|
-
UPB_INLINE bool
|
280
|
-
|
290
|
+
UPB_INLINE bool envoy_config_core_v3_QuicProtocolOptions_has_num_timeouts_to_trigger_port_migration(const envoy_config_core_v3_QuicProtocolOptions* msg) {
|
291
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
292
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
281
293
|
}
|
282
|
-
UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_clear_connection_keepalive(
|
283
|
-
|
294
|
+
UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_clear_connection_keepalive(envoy_config_core_v3_QuicProtocolOptions* msg) {
|
295
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
296
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
284
297
|
}
|
285
298
|
UPB_INLINE const envoy_config_core_v3_QuicKeepAliveSettings* envoy_config_core_v3_QuicProtocolOptions_connection_keepalive(const envoy_config_core_v3_QuicProtocolOptions* msg) {
|
286
|
-
|
299
|
+
const envoy_config_core_v3_QuicKeepAliveSettings* default_val = NULL;
|
300
|
+
const envoy_config_core_v3_QuicKeepAliveSettings* ret;
|
301
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
302
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
303
|
+
return ret;
|
304
|
+
}
|
305
|
+
UPB_INLINE bool envoy_config_core_v3_QuicProtocolOptions_has_connection_keepalive(const envoy_config_core_v3_QuicProtocolOptions* msg) {
|
306
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
307
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
287
308
|
}
|
288
309
|
|
289
310
|
UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_set_max_concurrent_streams(envoy_config_core_v3_QuicProtocolOptions *msg, struct google_protobuf_UInt32Value* value) {
|
290
|
-
|
291
|
-
|
311
|
+
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)};
|
312
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
292
313
|
}
|
293
314
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_QuicProtocolOptions_mutable_max_concurrent_streams(envoy_config_core_v3_QuicProtocolOptions* msg, upb_Arena* arena) {
|
294
315
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_QuicProtocolOptions_max_concurrent_streams(msg);
|
295
316
|
if (sub == NULL) {
|
296
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
297
|
-
if (
|
298
|
-
envoy_config_core_v3_QuicProtocolOptions_set_max_concurrent_streams(msg, sub);
|
317
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
318
|
+
if (sub) envoy_config_core_v3_QuicProtocolOptions_set_max_concurrent_streams(msg, sub);
|
299
319
|
}
|
300
320
|
return sub;
|
301
321
|
}
|
302
322
|
UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_set_initial_stream_window_size(envoy_config_core_v3_QuicProtocolOptions *msg, struct google_protobuf_UInt32Value* value) {
|
303
|
-
|
304
|
-
|
323
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
324
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
305
325
|
}
|
306
326
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_QuicProtocolOptions_mutable_initial_stream_window_size(envoy_config_core_v3_QuicProtocolOptions* msg, upb_Arena* arena) {
|
307
327
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_QuicProtocolOptions_initial_stream_window_size(msg);
|
308
328
|
if (sub == NULL) {
|
309
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
310
|
-
if (
|
311
|
-
envoy_config_core_v3_QuicProtocolOptions_set_initial_stream_window_size(msg, sub);
|
329
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
330
|
+
if (sub) envoy_config_core_v3_QuicProtocolOptions_set_initial_stream_window_size(msg, sub);
|
312
331
|
}
|
313
332
|
return sub;
|
314
333
|
}
|
315
334
|
UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_set_initial_connection_window_size(envoy_config_core_v3_QuicProtocolOptions *msg, struct google_protobuf_UInt32Value* value) {
|
316
|
-
|
317
|
-
|
335
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
336
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
318
337
|
}
|
319
338
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_QuicProtocolOptions_mutable_initial_connection_window_size(envoy_config_core_v3_QuicProtocolOptions* msg, upb_Arena* arena) {
|
320
339
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_QuicProtocolOptions_initial_connection_window_size(msg);
|
321
340
|
if (sub == NULL) {
|
322
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
323
|
-
if (
|
324
|
-
envoy_config_core_v3_QuicProtocolOptions_set_initial_connection_window_size(msg, sub);
|
341
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
342
|
+
if (sub) envoy_config_core_v3_QuicProtocolOptions_set_initial_connection_window_size(msg, sub);
|
325
343
|
}
|
326
344
|
return sub;
|
327
345
|
}
|
328
346
|
UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_set_num_timeouts_to_trigger_port_migration(envoy_config_core_v3_QuicProtocolOptions *msg, struct google_protobuf_UInt32Value* value) {
|
329
|
-
|
330
|
-
|
347
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
348
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
331
349
|
}
|
332
350
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_QuicProtocolOptions_mutable_num_timeouts_to_trigger_port_migration(envoy_config_core_v3_QuicProtocolOptions* msg, upb_Arena* arena) {
|
333
351
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_QuicProtocolOptions_num_timeouts_to_trigger_port_migration(msg);
|
334
352
|
if (sub == NULL) {
|
335
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
336
|
-
if (
|
337
|
-
envoy_config_core_v3_QuicProtocolOptions_set_num_timeouts_to_trigger_port_migration(msg, sub);
|
353
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
354
|
+
if (sub) envoy_config_core_v3_QuicProtocolOptions_set_num_timeouts_to_trigger_port_migration(msg, sub);
|
338
355
|
}
|
339
356
|
return sub;
|
340
357
|
}
|
341
358
|
UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_set_connection_keepalive(envoy_config_core_v3_QuicProtocolOptions *msg, envoy_config_core_v3_QuicKeepAliveSettings* value) {
|
342
|
-
|
343
|
-
|
359
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
360
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
344
361
|
}
|
345
362
|
UPB_INLINE struct envoy_config_core_v3_QuicKeepAliveSettings* envoy_config_core_v3_QuicProtocolOptions_mutable_connection_keepalive(envoy_config_core_v3_QuicProtocolOptions* msg, upb_Arena* arena) {
|
346
363
|
struct envoy_config_core_v3_QuicKeepAliveSettings* sub = (struct envoy_config_core_v3_QuicKeepAliveSettings*)envoy_config_core_v3_QuicProtocolOptions_connection_keepalive(msg);
|
347
364
|
if (sub == NULL) {
|
348
|
-
sub = (struct envoy_config_core_v3_QuicKeepAliveSettings*)_upb_Message_New(&
|
349
|
-
if (
|
350
|
-
envoy_config_core_v3_QuicProtocolOptions_set_connection_keepalive(msg, sub);
|
365
|
+
sub = (struct envoy_config_core_v3_QuicKeepAliveSettings*)_upb_Message_New(&envoy_config_core_v3_QuicKeepAliveSettings_msg_init, arena);
|
366
|
+
if (sub) envoy_config_core_v3_QuicProtocolOptions_set_connection_keepalive(msg, sub);
|
351
367
|
}
|
352
368
|
return sub;
|
353
369
|
}
|
@@ -355,12 +371,12 @@ UPB_INLINE struct envoy_config_core_v3_QuicKeepAliveSettings* envoy_config_core_
|
|
355
371
|
/* envoy.config.core.v3.UpstreamHttpProtocolOptions */
|
356
372
|
|
357
373
|
UPB_INLINE envoy_config_core_v3_UpstreamHttpProtocolOptions* envoy_config_core_v3_UpstreamHttpProtocolOptions_new(upb_Arena* arena) {
|
358
|
-
return (envoy_config_core_v3_UpstreamHttpProtocolOptions*)_upb_Message_New(&
|
374
|
+
return (envoy_config_core_v3_UpstreamHttpProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_UpstreamHttpProtocolOptions_msg_init, arena);
|
359
375
|
}
|
360
376
|
UPB_INLINE envoy_config_core_v3_UpstreamHttpProtocolOptions* envoy_config_core_v3_UpstreamHttpProtocolOptions_parse(const char* buf, size_t size, upb_Arena* arena) {
|
361
377
|
envoy_config_core_v3_UpstreamHttpProtocolOptions* ret = envoy_config_core_v3_UpstreamHttpProtocolOptions_new(arena);
|
362
378
|
if (!ret) return NULL;
|
363
|
-
if (upb_Decode(buf, size, ret, &
|
379
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_UpstreamHttpProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
364
380
|
return NULL;
|
365
381
|
}
|
366
382
|
return ret;
|
@@ -370,7 +386,7 @@ UPB_INLINE envoy_config_core_v3_UpstreamHttpProtocolOptions* envoy_config_core_v
|
|
370
386
|
int options, upb_Arena* arena) {
|
371
387
|
envoy_config_core_v3_UpstreamHttpProtocolOptions* ret = envoy_config_core_v3_UpstreamHttpProtocolOptions_new(arena);
|
372
388
|
if (!ret) return NULL;
|
373
|
-
if (upb_Decode(buf, size, ret, &
|
389
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_UpstreamHttpProtocolOptions_msg_init, extreg, options, arena) !=
|
374
390
|
kUpb_DecodeStatus_Ok) {
|
375
391
|
return NULL;
|
376
392
|
}
|
@@ -378,53 +394,71 @@ UPB_INLINE envoy_config_core_v3_UpstreamHttpProtocolOptions* envoy_config_core_v
|
|
378
394
|
}
|
379
395
|
UPB_INLINE char* envoy_config_core_v3_UpstreamHttpProtocolOptions_serialize(const envoy_config_core_v3_UpstreamHttpProtocolOptions* msg, upb_Arena* arena, size_t* len) {
|
380
396
|
char* ptr;
|
381
|
-
(void)upb_Encode(msg, &
|
397
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_UpstreamHttpProtocolOptions_msg_init, 0, arena, &ptr, len);
|
382
398
|
return ptr;
|
383
399
|
}
|
384
400
|
UPB_INLINE char* envoy_config_core_v3_UpstreamHttpProtocolOptions_serialize_ex(const envoy_config_core_v3_UpstreamHttpProtocolOptions* msg, int options,
|
385
401
|
upb_Arena* arena, size_t* len) {
|
386
402
|
char* ptr;
|
387
|
-
(void)upb_Encode(msg, &
|
403
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_UpstreamHttpProtocolOptions_msg_init, options, arena, &ptr, len);
|
388
404
|
return ptr;
|
389
405
|
}
|
390
|
-
UPB_INLINE void envoy_config_core_v3_UpstreamHttpProtocolOptions_clear_auto_sni(
|
391
|
-
|
406
|
+
UPB_INLINE void envoy_config_core_v3_UpstreamHttpProtocolOptions_clear_auto_sni(envoy_config_core_v3_UpstreamHttpProtocolOptions* msg) {
|
407
|
+
const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
408
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
392
409
|
}
|
393
410
|
UPB_INLINE bool envoy_config_core_v3_UpstreamHttpProtocolOptions_auto_sni(const envoy_config_core_v3_UpstreamHttpProtocolOptions* msg) {
|
394
|
-
|
411
|
+
bool default_val = false;
|
412
|
+
bool ret;
|
413
|
+
const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
414
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
415
|
+
return ret;
|
395
416
|
}
|
396
|
-
UPB_INLINE void envoy_config_core_v3_UpstreamHttpProtocolOptions_clear_auto_san_validation(
|
397
|
-
|
417
|
+
UPB_INLINE void envoy_config_core_v3_UpstreamHttpProtocolOptions_clear_auto_san_validation(envoy_config_core_v3_UpstreamHttpProtocolOptions* msg) {
|
418
|
+
const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
419
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
398
420
|
}
|
399
421
|
UPB_INLINE bool envoy_config_core_v3_UpstreamHttpProtocolOptions_auto_san_validation(const envoy_config_core_v3_UpstreamHttpProtocolOptions* msg) {
|
400
|
-
|
422
|
+
bool default_val = false;
|
423
|
+
bool ret;
|
424
|
+
const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
425
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
426
|
+
return ret;
|
401
427
|
}
|
402
|
-
UPB_INLINE void envoy_config_core_v3_UpstreamHttpProtocolOptions_clear_override_auto_sni_header(
|
403
|
-
|
428
|
+
UPB_INLINE void envoy_config_core_v3_UpstreamHttpProtocolOptions_clear_override_auto_sni_header(envoy_config_core_v3_UpstreamHttpProtocolOptions* msg) {
|
429
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
430
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
404
431
|
}
|
405
432
|
UPB_INLINE upb_StringView envoy_config_core_v3_UpstreamHttpProtocolOptions_override_auto_sni_header(const envoy_config_core_v3_UpstreamHttpProtocolOptions* msg) {
|
406
|
-
|
433
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
434
|
+
upb_StringView ret;
|
435
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
436
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
437
|
+
return ret;
|
407
438
|
}
|
408
439
|
|
409
440
|
UPB_INLINE void envoy_config_core_v3_UpstreamHttpProtocolOptions_set_auto_sni(envoy_config_core_v3_UpstreamHttpProtocolOptions *msg, bool value) {
|
410
|
-
|
441
|
+
const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
442
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
411
443
|
}
|
412
444
|
UPB_INLINE void envoy_config_core_v3_UpstreamHttpProtocolOptions_set_auto_san_validation(envoy_config_core_v3_UpstreamHttpProtocolOptions *msg, bool value) {
|
413
|
-
|
445
|
+
const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
446
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
414
447
|
}
|
415
448
|
UPB_INLINE void envoy_config_core_v3_UpstreamHttpProtocolOptions_set_override_auto_sni_header(envoy_config_core_v3_UpstreamHttpProtocolOptions *msg, upb_StringView value) {
|
416
|
-
|
449
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
450
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
417
451
|
}
|
418
452
|
|
419
453
|
/* envoy.config.core.v3.AlternateProtocolsCacheOptions */
|
420
454
|
|
421
455
|
UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions* envoy_config_core_v3_AlternateProtocolsCacheOptions_new(upb_Arena* arena) {
|
422
|
-
return (envoy_config_core_v3_AlternateProtocolsCacheOptions*)_upb_Message_New(&
|
456
|
+
return (envoy_config_core_v3_AlternateProtocolsCacheOptions*)_upb_Message_New(&envoy_config_core_v3_AlternateProtocolsCacheOptions_msg_init, arena);
|
423
457
|
}
|
424
458
|
UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions* envoy_config_core_v3_AlternateProtocolsCacheOptions_parse(const char* buf, size_t size, upb_Arena* arena) {
|
425
459
|
envoy_config_core_v3_AlternateProtocolsCacheOptions* ret = envoy_config_core_v3_AlternateProtocolsCacheOptions_new(arena);
|
426
460
|
if (!ret) return NULL;
|
427
|
-
if (upb_Decode(buf, size, ret, &
|
461
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_AlternateProtocolsCacheOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
428
462
|
return NULL;
|
429
463
|
}
|
430
464
|
return ret;
|
@@ -434,7 +468,7 @@ UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions* envoy_config_cor
|
|
434
468
|
int options, upb_Arena* arena) {
|
435
469
|
envoy_config_core_v3_AlternateProtocolsCacheOptions* ret = envoy_config_core_v3_AlternateProtocolsCacheOptions_new(arena);
|
436
470
|
if (!ret) return NULL;
|
437
|
-
if (upb_Decode(buf, size, ret, &
|
471
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_AlternateProtocolsCacheOptions_msg_init, extreg, options, arena) !=
|
438
472
|
kUpb_DecodeStatus_Ok) {
|
439
473
|
return NULL;
|
440
474
|
}
|
@@ -442,115 +476,219 @@ UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions* envoy_config_cor
|
|
442
476
|
}
|
443
477
|
UPB_INLINE char* envoy_config_core_v3_AlternateProtocolsCacheOptions_serialize(const envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, upb_Arena* arena, size_t* len) {
|
444
478
|
char* ptr;
|
445
|
-
(void)upb_Encode(msg, &
|
479
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_AlternateProtocolsCacheOptions_msg_init, 0, arena, &ptr, len);
|
446
480
|
return ptr;
|
447
481
|
}
|
448
482
|
UPB_INLINE char* envoy_config_core_v3_AlternateProtocolsCacheOptions_serialize_ex(const envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, int options,
|
449
483
|
upb_Arena* arena, size_t* len) {
|
450
484
|
char* ptr;
|
451
|
-
(void)upb_Encode(msg, &
|
485
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_AlternateProtocolsCacheOptions_msg_init, options, arena, &ptr, len);
|
452
486
|
return ptr;
|
453
487
|
}
|
454
|
-
UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_clear_name(
|
455
|
-
|
488
|
+
UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_clear_name(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg) {
|
489
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
490
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
456
491
|
}
|
457
492
|
UPB_INLINE upb_StringView envoy_config_core_v3_AlternateProtocolsCacheOptions_name(const envoy_config_core_v3_AlternateProtocolsCacheOptions* msg) {
|
458
|
-
|
493
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
494
|
+
upb_StringView ret;
|
495
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
496
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
497
|
+
return ret;
|
498
|
+
}
|
499
|
+
UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_clear_max_entries(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg) {
|
500
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
501
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
502
|
+
}
|
503
|
+
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_AlternateProtocolsCacheOptions_max_entries(const envoy_config_core_v3_AlternateProtocolsCacheOptions* msg) {
|
504
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
505
|
+
const struct google_protobuf_UInt32Value* ret;
|
506
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
507
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
508
|
+
return ret;
|
459
509
|
}
|
460
510
|
UPB_INLINE bool envoy_config_core_v3_AlternateProtocolsCacheOptions_has_max_entries(const envoy_config_core_v3_AlternateProtocolsCacheOptions* msg) {
|
461
|
-
|
511
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
512
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
462
513
|
}
|
463
|
-
UPB_INLINE void
|
464
|
-
|
514
|
+
UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_clear_key_value_store_config(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg) {
|
515
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
516
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
465
517
|
}
|
466
|
-
UPB_INLINE const struct
|
467
|
-
|
518
|
+
UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v3_AlternateProtocolsCacheOptions_key_value_store_config(const envoy_config_core_v3_AlternateProtocolsCacheOptions* msg) {
|
519
|
+
const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
|
520
|
+
const struct envoy_config_core_v3_TypedExtensionConfig* ret;
|
521
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
522
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
523
|
+
return ret;
|
468
524
|
}
|
469
525
|
UPB_INLINE bool envoy_config_core_v3_AlternateProtocolsCacheOptions_has_key_value_store_config(const envoy_config_core_v3_AlternateProtocolsCacheOptions* msg) {
|
470
|
-
|
526
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
527
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
528
|
+
}
|
529
|
+
UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_clear_prepopulated_entries(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg) {
|
530
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
531
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
532
|
+
}
|
533
|
+
UPB_INLINE const envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* const* envoy_config_core_v3_AlternateProtocolsCacheOptions_prepopulated_entries(const envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, size_t* size) {
|
534
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
535
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
536
|
+
if (arr) {
|
537
|
+
if (size) *size = arr->size;
|
538
|
+
return (const envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* const*)_upb_array_constptr(arr);
|
539
|
+
} else {
|
540
|
+
if (size) *size = 0;
|
541
|
+
return NULL;
|
542
|
+
}
|
471
543
|
}
|
472
|
-
UPB_INLINE
|
473
|
-
|
544
|
+
UPB_INLINE const upb_Array* _envoy_config_core_v3_AlternateProtocolsCacheOptions_prepopulated_entries_upb_array(const envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, size_t* size) {
|
545
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
546
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
547
|
+
if (size) {
|
548
|
+
*size = arr ? arr->size : 0;
|
549
|
+
}
|
550
|
+
return arr;
|
474
551
|
}
|
475
|
-
UPB_INLINE
|
476
|
-
|
552
|
+
UPB_INLINE upb_Array* _envoy_config_core_v3_AlternateProtocolsCacheOptions_prepopulated_entries_mutable_upb_array(const envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, size_t* size, upb_Arena* arena) {
|
553
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
554
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
555
|
+
(upb_Message*)msg, &field, arena);
|
556
|
+
if (size) {
|
557
|
+
*size = arr ? arr->size : 0;
|
558
|
+
}
|
559
|
+
return arr;
|
477
560
|
}
|
478
561
|
UPB_INLINE bool envoy_config_core_v3_AlternateProtocolsCacheOptions_has_prepopulated_entries(const envoy_config_core_v3_AlternateProtocolsCacheOptions* msg) {
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
562
|
+
size_t size;
|
563
|
+
envoy_config_core_v3_AlternateProtocolsCacheOptions_prepopulated_entries(msg, &size);
|
564
|
+
return size != 0;
|
565
|
+
}
|
566
|
+
UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_clear_canonical_suffixes(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg) {
|
567
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
568
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
569
|
+
}
|
570
|
+
UPB_INLINE upb_StringView const* envoy_config_core_v3_AlternateProtocolsCacheOptions_canonical_suffixes(const envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, size_t* size) {
|
571
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
572
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
573
|
+
if (arr) {
|
574
|
+
if (size) *size = arr->size;
|
575
|
+
return (upb_StringView const*)_upb_array_constptr(arr);
|
576
|
+
} else {
|
577
|
+
if (size) *size = 0;
|
578
|
+
return NULL;
|
579
|
+
}
|
483
580
|
}
|
484
|
-
UPB_INLINE const
|
485
|
-
|
581
|
+
UPB_INLINE const upb_Array* _envoy_config_core_v3_AlternateProtocolsCacheOptions_canonical_suffixes_upb_array(const envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, size_t* size) {
|
582
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
583
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
584
|
+
if (size) {
|
585
|
+
*size = arr ? arr->size : 0;
|
586
|
+
}
|
587
|
+
return arr;
|
486
588
|
}
|
487
|
-
UPB_INLINE
|
488
|
-
|
589
|
+
UPB_INLINE upb_Array* _envoy_config_core_v3_AlternateProtocolsCacheOptions_canonical_suffixes_mutable_upb_array(const envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, size_t* size, upb_Arena* arena) {
|
590
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
591
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
592
|
+
(upb_Message*)msg, &field, arena);
|
593
|
+
if (size) {
|
594
|
+
*size = arr ? arr->size : 0;
|
595
|
+
}
|
596
|
+
return arr;
|
489
597
|
}
|
490
|
-
UPB_INLINE
|
491
|
-
|
598
|
+
UPB_INLINE bool envoy_config_core_v3_AlternateProtocolsCacheOptions_has_canonical_suffixes(const envoy_config_core_v3_AlternateProtocolsCacheOptions* msg) {
|
599
|
+
size_t size;
|
600
|
+
envoy_config_core_v3_AlternateProtocolsCacheOptions_canonical_suffixes(msg, &size);
|
601
|
+
return size != 0;
|
492
602
|
}
|
493
603
|
|
494
604
|
UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_set_name(envoy_config_core_v3_AlternateProtocolsCacheOptions *msg, upb_StringView value) {
|
495
|
-
|
605
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
606
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
496
607
|
}
|
497
608
|
UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_set_max_entries(envoy_config_core_v3_AlternateProtocolsCacheOptions *msg, struct google_protobuf_UInt32Value* value) {
|
498
|
-
|
499
|
-
|
609
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
610
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
500
611
|
}
|
501
612
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_AlternateProtocolsCacheOptions_mutable_max_entries(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, upb_Arena* arena) {
|
502
613
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_AlternateProtocolsCacheOptions_max_entries(msg);
|
503
614
|
if (sub == NULL) {
|
504
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
505
|
-
if (
|
506
|
-
envoy_config_core_v3_AlternateProtocolsCacheOptions_set_max_entries(msg, sub);
|
615
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
616
|
+
if (sub) envoy_config_core_v3_AlternateProtocolsCacheOptions_set_max_entries(msg, sub);
|
507
617
|
}
|
508
618
|
return sub;
|
509
619
|
}
|
510
620
|
UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_set_key_value_store_config(envoy_config_core_v3_AlternateProtocolsCacheOptions *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
|
511
|
-
|
512
|
-
|
621
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
622
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
513
623
|
}
|
514
624
|
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v3_AlternateProtocolsCacheOptions_mutable_key_value_store_config(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, upb_Arena* arena) {
|
515
625
|
struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_core_v3_AlternateProtocolsCacheOptions_key_value_store_config(msg);
|
516
626
|
if (sub == NULL) {
|
517
|
-
sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&
|
518
|
-
if (
|
519
|
-
envoy_config_core_v3_AlternateProtocolsCacheOptions_set_key_value_store_config(msg, sub);
|
627
|
+
sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena);
|
628
|
+
if (sub) envoy_config_core_v3_AlternateProtocolsCacheOptions_set_key_value_store_config(msg, sub);
|
520
629
|
}
|
521
630
|
return sub;
|
522
631
|
}
|
523
|
-
UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry** envoy_config_core_v3_AlternateProtocolsCacheOptions_mutable_prepopulated_entries(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, size_t*
|
524
|
-
|
632
|
+
UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry** envoy_config_core_v3_AlternateProtocolsCacheOptions_mutable_prepopulated_entries(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, size_t* size) {
|
633
|
+
upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
634
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
635
|
+
if (arr) {
|
636
|
+
if (size) *size = arr->size;
|
637
|
+
return (envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry**)_upb_array_ptr(arr);
|
638
|
+
} else {
|
639
|
+
if (size) *size = 0;
|
640
|
+
return NULL;
|
641
|
+
}
|
525
642
|
}
|
526
|
-
UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry** envoy_config_core_v3_AlternateProtocolsCacheOptions_resize_prepopulated_entries(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, size_t
|
527
|
-
|
643
|
+
UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry** envoy_config_core_v3_AlternateProtocolsCacheOptions_resize_prepopulated_entries(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, size_t size, upb_Arena* arena) {
|
644
|
+
upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
645
|
+
return (envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
528
646
|
}
|
529
647
|
UPB_INLINE struct envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* envoy_config_core_v3_AlternateProtocolsCacheOptions_add_prepopulated_entries(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, upb_Arena* arena) {
|
530
|
-
|
531
|
-
|
532
|
-
if (!
|
648
|
+
upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
649
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
650
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
651
|
+
return NULL;
|
652
|
+
}
|
653
|
+
struct envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* sub = (struct envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry*)_upb_Message_New(&envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_msg_init, arena);
|
654
|
+
if (!arr || !sub) return NULL;
|
655
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
533
656
|
return sub;
|
534
657
|
}
|
535
|
-
UPB_INLINE upb_StringView* envoy_config_core_v3_AlternateProtocolsCacheOptions_mutable_canonical_suffixes(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, size_t*
|
536
|
-
|
658
|
+
UPB_INLINE upb_StringView* envoy_config_core_v3_AlternateProtocolsCacheOptions_mutable_canonical_suffixes(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, size_t* size) {
|
659
|
+
upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
660
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
661
|
+
if (arr) {
|
662
|
+
if (size) *size = arr->size;
|
663
|
+
return (upb_StringView*)_upb_array_ptr(arr);
|
664
|
+
} else {
|
665
|
+
if (size) *size = 0;
|
666
|
+
return NULL;
|
667
|
+
}
|
537
668
|
}
|
538
|
-
UPB_INLINE upb_StringView* envoy_config_core_v3_AlternateProtocolsCacheOptions_resize_canonical_suffixes(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, size_t
|
539
|
-
|
669
|
+
UPB_INLINE upb_StringView* envoy_config_core_v3_AlternateProtocolsCacheOptions_resize_canonical_suffixes(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, size_t size, upb_Arena* arena) {
|
670
|
+
upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
671
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
540
672
|
}
|
541
673
|
UPB_INLINE bool envoy_config_core_v3_AlternateProtocolsCacheOptions_add_canonical_suffixes(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, upb_StringView val, upb_Arena* arena) {
|
542
|
-
|
674
|
+
upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
675
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
676
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
677
|
+
return false;
|
678
|
+
}
|
679
|
+
_upb_Array_Set(arr, arr->size - 1, &val, sizeof(val));
|
680
|
+
return true;
|
543
681
|
}
|
544
682
|
|
545
683
|
/* envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry */
|
546
684
|
|
547
685
|
UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_new(upb_Arena* arena) {
|
548
|
-
return (envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry*)_upb_Message_New(&
|
686
|
+
return (envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry*)_upb_Message_New(&envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_msg_init, arena);
|
549
687
|
}
|
550
688
|
UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_parse(const char* buf, size_t size, upb_Arena* arena) {
|
551
689
|
envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* ret = envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_new(arena);
|
552
690
|
if (!ret) return NULL;
|
553
|
-
if (upb_Decode(buf, size, ret, &
|
691
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
554
692
|
return NULL;
|
555
693
|
}
|
556
694
|
return ret;
|
@@ -560,7 +698,7 @@ UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocol
|
|
560
698
|
int options, upb_Arena* arena) {
|
561
699
|
envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* ret = envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_new(arena);
|
562
700
|
if (!ret) return NULL;
|
563
|
-
if (upb_Decode(buf, size, ret, &
|
701
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_msg_init, extreg, options, arena) !=
|
564
702
|
kUpb_DecodeStatus_Ok) {
|
565
703
|
return NULL;
|
566
704
|
}
|
@@ -568,44 +706,56 @@ UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocol
|
|
568
706
|
}
|
569
707
|
UPB_INLINE char* envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_serialize(const envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* msg, upb_Arena* arena, size_t* len) {
|
570
708
|
char* ptr;
|
571
|
-
(void)upb_Encode(msg, &
|
709
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_msg_init, 0, arena, &ptr, len);
|
572
710
|
return ptr;
|
573
711
|
}
|
574
712
|
UPB_INLINE char* envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_serialize_ex(const envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* msg, int options,
|
575
713
|
upb_Arena* arena, size_t* len) {
|
576
714
|
char* ptr;
|
577
|
-
(void)upb_Encode(msg, &
|
715
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_msg_init, options, arena, &ptr, len);
|
578
716
|
return ptr;
|
579
717
|
}
|
580
|
-
UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_clear_hostname(
|
581
|
-
|
718
|
+
UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_clear_hostname(envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* msg) {
|
719
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
720
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
582
721
|
}
|
583
722
|
UPB_INLINE upb_StringView envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_hostname(const envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* msg) {
|
584
|
-
|
723
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
724
|
+
upb_StringView ret;
|
725
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
726
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
727
|
+
return ret;
|
585
728
|
}
|
586
|
-
UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_clear_port(
|
587
|
-
|
729
|
+
UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_clear_port(envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* msg) {
|
730
|
+
const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
731
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
588
732
|
}
|
589
733
|
UPB_INLINE uint32_t envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_port(const envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* msg) {
|
590
|
-
|
734
|
+
uint32_t default_val = (uint32_t)0u;
|
735
|
+
uint32_t ret;
|
736
|
+
const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
737
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
738
|
+
return ret;
|
591
739
|
}
|
592
740
|
|
593
741
|
UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_set_hostname(envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry *msg, upb_StringView value) {
|
594
|
-
|
742
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
743
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
595
744
|
}
|
596
745
|
UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_set_port(envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry *msg, uint32_t value) {
|
597
|
-
|
746
|
+
const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
747
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
598
748
|
}
|
599
749
|
|
600
750
|
/* envoy.config.core.v3.HttpProtocolOptions */
|
601
751
|
|
602
752
|
UPB_INLINE envoy_config_core_v3_HttpProtocolOptions* envoy_config_core_v3_HttpProtocolOptions_new(upb_Arena* arena) {
|
603
|
-
return (envoy_config_core_v3_HttpProtocolOptions*)_upb_Message_New(&
|
753
|
+
return (envoy_config_core_v3_HttpProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_HttpProtocolOptions_msg_init, arena);
|
604
754
|
}
|
605
755
|
UPB_INLINE envoy_config_core_v3_HttpProtocolOptions* envoy_config_core_v3_HttpProtocolOptions_parse(const char* buf, size_t size, upb_Arena* arena) {
|
606
756
|
envoy_config_core_v3_HttpProtocolOptions* ret = envoy_config_core_v3_HttpProtocolOptions_new(arena);
|
607
757
|
if (!ret) return NULL;
|
608
|
-
if (upb_Decode(buf, size, ret, &
|
758
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HttpProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
609
759
|
return NULL;
|
610
760
|
}
|
611
761
|
return ret;
|
@@ -615,7 +765,7 @@ UPB_INLINE envoy_config_core_v3_HttpProtocolOptions* envoy_config_core_v3_HttpPr
|
|
615
765
|
int options, upb_Arena* arena) {
|
616
766
|
envoy_config_core_v3_HttpProtocolOptions* ret = envoy_config_core_v3_HttpProtocolOptions_new(arena);
|
617
767
|
if (!ret) return NULL;
|
618
|
-
if (upb_Decode(buf, size, ret, &
|
768
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HttpProtocolOptions_msg_init, extreg, options, arena) !=
|
619
769
|
kUpb_DecodeStatus_Ok) {
|
620
770
|
return NULL;
|
621
771
|
}
|
@@ -623,132 +773,163 @@ UPB_INLINE envoy_config_core_v3_HttpProtocolOptions* envoy_config_core_v3_HttpPr
|
|
623
773
|
}
|
624
774
|
UPB_INLINE char* envoy_config_core_v3_HttpProtocolOptions_serialize(const envoy_config_core_v3_HttpProtocolOptions* msg, upb_Arena* arena, size_t* len) {
|
625
775
|
char* ptr;
|
626
|
-
(void)upb_Encode(msg, &
|
776
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_HttpProtocolOptions_msg_init, 0, arena, &ptr, len);
|
627
777
|
return ptr;
|
628
778
|
}
|
629
779
|
UPB_INLINE char* envoy_config_core_v3_HttpProtocolOptions_serialize_ex(const envoy_config_core_v3_HttpProtocolOptions* msg, int options,
|
630
780
|
upb_Arena* arena, size_t* len) {
|
631
781
|
char* ptr;
|
632
|
-
(void)upb_Encode(msg, &
|
782
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_HttpProtocolOptions_msg_init, options, arena, &ptr, len);
|
633
783
|
return ptr;
|
634
784
|
}
|
635
|
-
UPB_INLINE
|
636
|
-
|
637
|
-
|
638
|
-
UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_clear_idle_timeout(const envoy_config_core_v3_HttpProtocolOptions* msg) {
|
639
|
-
*UPB_PTR_AT(msg, UPB_SIZE(8, 8), const upb_Message*) = NULL;
|
785
|
+
UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_clear_idle_timeout(envoy_config_core_v3_HttpProtocolOptions* msg) {
|
786
|
+
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)};
|
787
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
640
788
|
}
|
641
789
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_core_v3_HttpProtocolOptions_idle_timeout(const envoy_config_core_v3_HttpProtocolOptions* msg) {
|
642
|
-
|
790
|
+
const struct google_protobuf_Duration* default_val = NULL;
|
791
|
+
const struct google_protobuf_Duration* ret;
|
792
|
+
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)};
|
793
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
794
|
+
return ret;
|
643
795
|
}
|
644
|
-
UPB_INLINE bool
|
645
|
-
|
796
|
+
UPB_INLINE bool envoy_config_core_v3_HttpProtocolOptions_has_idle_timeout(const envoy_config_core_v3_HttpProtocolOptions* msg) {
|
797
|
+
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)};
|
798
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
646
799
|
}
|
647
|
-
UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_clear_max_headers_count(
|
648
|
-
|
800
|
+
UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_clear_max_headers_count(envoy_config_core_v3_HttpProtocolOptions* msg) {
|
801
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
802
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
649
803
|
}
|
650
804
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_HttpProtocolOptions_max_headers_count(const envoy_config_core_v3_HttpProtocolOptions* msg) {
|
651
|
-
|
805
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
806
|
+
const struct google_protobuf_UInt32Value* ret;
|
807
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
808
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
809
|
+
return ret;
|
652
810
|
}
|
653
|
-
UPB_INLINE bool
|
654
|
-
|
811
|
+
UPB_INLINE bool envoy_config_core_v3_HttpProtocolOptions_has_max_headers_count(const envoy_config_core_v3_HttpProtocolOptions* msg) {
|
812
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
813
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
655
814
|
}
|
656
|
-
UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_clear_max_connection_duration(
|
657
|
-
|
815
|
+
UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_clear_max_connection_duration(envoy_config_core_v3_HttpProtocolOptions* msg) {
|
816
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
817
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
658
818
|
}
|
659
819
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_core_v3_HttpProtocolOptions_max_connection_duration(const envoy_config_core_v3_HttpProtocolOptions* msg) {
|
660
|
-
|
820
|
+
const struct google_protobuf_Duration* default_val = NULL;
|
821
|
+
const struct google_protobuf_Duration* ret;
|
822
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
823
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
824
|
+
return ret;
|
661
825
|
}
|
662
|
-
UPB_INLINE bool
|
663
|
-
|
826
|
+
UPB_INLINE bool envoy_config_core_v3_HttpProtocolOptions_has_max_connection_duration(const envoy_config_core_v3_HttpProtocolOptions* msg) {
|
827
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
828
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
664
829
|
}
|
665
|
-
UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_clear_max_stream_duration(
|
666
|
-
|
830
|
+
UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_clear_max_stream_duration(envoy_config_core_v3_HttpProtocolOptions* msg) {
|
831
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
832
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
667
833
|
}
|
668
834
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_core_v3_HttpProtocolOptions_max_stream_duration(const envoy_config_core_v3_HttpProtocolOptions* msg) {
|
669
|
-
|
835
|
+
const struct google_protobuf_Duration* default_val = NULL;
|
836
|
+
const struct google_protobuf_Duration* ret;
|
837
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
838
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
839
|
+
return ret;
|
670
840
|
}
|
671
|
-
UPB_INLINE
|
672
|
-
|
841
|
+
UPB_INLINE bool envoy_config_core_v3_HttpProtocolOptions_has_max_stream_duration(const envoy_config_core_v3_HttpProtocolOptions* msg) {
|
842
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
843
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
673
844
|
}
|
674
|
-
UPB_INLINE
|
675
|
-
|
845
|
+
UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_clear_headers_with_underscores_action(envoy_config_core_v3_HttpProtocolOptions* msg) {
|
846
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
847
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
676
848
|
}
|
677
|
-
UPB_INLINE
|
678
|
-
|
849
|
+
UPB_INLINE int32_t envoy_config_core_v3_HttpProtocolOptions_headers_with_underscores_action(const envoy_config_core_v3_HttpProtocolOptions* msg) {
|
850
|
+
int32_t default_val = 0;
|
851
|
+
int32_t ret;
|
852
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
853
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
854
|
+
return ret;
|
679
855
|
}
|
680
|
-
UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_clear_max_requests_per_connection(
|
681
|
-
|
856
|
+
UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_clear_max_requests_per_connection(envoy_config_core_v3_HttpProtocolOptions* msg) {
|
857
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
858
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
682
859
|
}
|
683
860
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_HttpProtocolOptions_max_requests_per_connection(const envoy_config_core_v3_HttpProtocolOptions* msg) {
|
684
|
-
|
861
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
862
|
+
const struct google_protobuf_UInt32Value* ret;
|
863
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
864
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
865
|
+
return ret;
|
866
|
+
}
|
867
|
+
UPB_INLINE bool envoy_config_core_v3_HttpProtocolOptions_has_max_requests_per_connection(const envoy_config_core_v3_HttpProtocolOptions* msg) {
|
868
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
869
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
685
870
|
}
|
686
871
|
|
687
872
|
UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_set_idle_timeout(envoy_config_core_v3_HttpProtocolOptions *msg, struct google_protobuf_Duration* value) {
|
688
|
-
|
689
|
-
|
873
|
+
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)};
|
874
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
690
875
|
}
|
691
876
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_HttpProtocolOptions_mutable_idle_timeout(envoy_config_core_v3_HttpProtocolOptions* msg, upb_Arena* arena) {
|
692
877
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_HttpProtocolOptions_idle_timeout(msg);
|
693
878
|
if (sub == NULL) {
|
694
|
-
sub = (struct google_protobuf_Duration*)_upb_Message_New(&
|
695
|
-
if (
|
696
|
-
envoy_config_core_v3_HttpProtocolOptions_set_idle_timeout(msg, sub);
|
879
|
+
sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena);
|
880
|
+
if (sub) envoy_config_core_v3_HttpProtocolOptions_set_idle_timeout(msg, sub);
|
697
881
|
}
|
698
882
|
return sub;
|
699
883
|
}
|
700
884
|
UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_set_max_headers_count(envoy_config_core_v3_HttpProtocolOptions *msg, struct google_protobuf_UInt32Value* value) {
|
701
|
-
|
702
|
-
|
885
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
886
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
703
887
|
}
|
704
888
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_HttpProtocolOptions_mutable_max_headers_count(envoy_config_core_v3_HttpProtocolOptions* msg, upb_Arena* arena) {
|
705
889
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_HttpProtocolOptions_max_headers_count(msg);
|
706
890
|
if (sub == NULL) {
|
707
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
708
|
-
if (
|
709
|
-
envoy_config_core_v3_HttpProtocolOptions_set_max_headers_count(msg, sub);
|
891
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
892
|
+
if (sub) envoy_config_core_v3_HttpProtocolOptions_set_max_headers_count(msg, sub);
|
710
893
|
}
|
711
894
|
return sub;
|
712
895
|
}
|
713
896
|
UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_set_max_connection_duration(envoy_config_core_v3_HttpProtocolOptions *msg, struct google_protobuf_Duration* value) {
|
714
|
-
|
715
|
-
|
897
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 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);
|
716
899
|
}
|
717
900
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_HttpProtocolOptions_mutable_max_connection_duration(envoy_config_core_v3_HttpProtocolOptions* msg, upb_Arena* arena) {
|
718
901
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_HttpProtocolOptions_max_connection_duration(msg);
|
719
902
|
if (sub == NULL) {
|
720
|
-
sub = (struct google_protobuf_Duration*)_upb_Message_New(&
|
721
|
-
if (
|
722
|
-
envoy_config_core_v3_HttpProtocolOptions_set_max_connection_duration(msg, sub);
|
903
|
+
sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena);
|
904
|
+
if (sub) envoy_config_core_v3_HttpProtocolOptions_set_max_connection_duration(msg, sub);
|
723
905
|
}
|
724
906
|
return sub;
|
725
907
|
}
|
726
908
|
UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_set_max_stream_duration(envoy_config_core_v3_HttpProtocolOptions *msg, struct google_protobuf_Duration* value) {
|
727
|
-
|
728
|
-
|
909
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 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);
|
729
911
|
}
|
730
912
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_HttpProtocolOptions_mutable_max_stream_duration(envoy_config_core_v3_HttpProtocolOptions* msg, upb_Arena* arena) {
|
731
913
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_HttpProtocolOptions_max_stream_duration(msg);
|
732
914
|
if (sub == NULL) {
|
733
|
-
sub = (struct google_protobuf_Duration*)_upb_Message_New(&
|
734
|
-
if (
|
735
|
-
envoy_config_core_v3_HttpProtocolOptions_set_max_stream_duration(msg, sub);
|
915
|
+
sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena);
|
916
|
+
if (sub) envoy_config_core_v3_HttpProtocolOptions_set_max_stream_duration(msg, sub);
|
736
917
|
}
|
737
918
|
return sub;
|
738
919
|
}
|
739
920
|
UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_set_headers_with_underscores_action(envoy_config_core_v3_HttpProtocolOptions *msg, int32_t value) {
|
740
|
-
|
921
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
922
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
741
923
|
}
|
742
924
|
UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_set_max_requests_per_connection(envoy_config_core_v3_HttpProtocolOptions *msg, struct google_protobuf_UInt32Value* value) {
|
743
|
-
|
744
|
-
|
925
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
926
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
745
927
|
}
|
746
928
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_HttpProtocolOptions_mutable_max_requests_per_connection(envoy_config_core_v3_HttpProtocolOptions* msg, upb_Arena* arena) {
|
747
929
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_HttpProtocolOptions_max_requests_per_connection(msg);
|
748
930
|
if (sub == NULL) {
|
749
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
750
|
-
if (
|
751
|
-
envoy_config_core_v3_HttpProtocolOptions_set_max_requests_per_connection(msg, sub);
|
931
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
932
|
+
if (sub) envoy_config_core_v3_HttpProtocolOptions_set_max_requests_per_connection(msg, sub);
|
752
933
|
}
|
753
934
|
return sub;
|
754
935
|
}
|
@@ -756,12 +937,12 @@ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_HttpProtocol
|
|
756
937
|
/* envoy.config.core.v3.Http1ProtocolOptions */
|
757
938
|
|
758
939
|
UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions* envoy_config_core_v3_Http1ProtocolOptions_new(upb_Arena* arena) {
|
759
|
-
return (envoy_config_core_v3_Http1ProtocolOptions*)_upb_Message_New(&
|
940
|
+
return (envoy_config_core_v3_Http1ProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_Http1ProtocolOptions_msg_init, arena);
|
760
941
|
}
|
761
942
|
UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions* envoy_config_core_v3_Http1ProtocolOptions_parse(const char* buf, size_t size, upb_Arena* arena) {
|
762
943
|
envoy_config_core_v3_Http1ProtocolOptions* ret = envoy_config_core_v3_Http1ProtocolOptions_new(arena);
|
763
944
|
if (!ret) return NULL;
|
764
|
-
if (upb_Decode(buf, size, ret, &
|
945
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http1ProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
765
946
|
return NULL;
|
766
947
|
}
|
767
948
|
return ret;
|
@@ -771,7 +952,7 @@ UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions* envoy_config_core_v3_Http1
|
|
771
952
|
int options, upb_Arena* arena) {
|
772
953
|
envoy_config_core_v3_Http1ProtocolOptions* ret = envoy_config_core_v3_Http1ProtocolOptions_new(arena);
|
773
954
|
if (!ret) return NULL;
|
774
|
-
if (upb_Decode(buf, size, ret, &
|
955
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http1ProtocolOptions_msg_init, extreg, options, arena) !=
|
775
956
|
kUpb_DecodeStatus_Ok) {
|
776
957
|
return NULL;
|
777
958
|
}
|
@@ -779,159 +960,224 @@ UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions* envoy_config_core_v3_Http1
|
|
779
960
|
}
|
780
961
|
UPB_INLINE char* envoy_config_core_v3_Http1ProtocolOptions_serialize(const envoy_config_core_v3_Http1ProtocolOptions* msg, upb_Arena* arena, size_t* len) {
|
781
962
|
char* ptr;
|
782
|
-
(void)upb_Encode(msg, &
|
963
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_Http1ProtocolOptions_msg_init, 0, arena, &ptr, len);
|
783
964
|
return ptr;
|
784
965
|
}
|
785
966
|
UPB_INLINE char* envoy_config_core_v3_Http1ProtocolOptions_serialize_ex(const envoy_config_core_v3_Http1ProtocolOptions* msg, int options,
|
786
967
|
upb_Arena* arena, size_t* len) {
|
787
968
|
char* ptr;
|
788
|
-
(void)upb_Encode(msg, &
|
969
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_Http1ProtocolOptions_msg_init, options, arena, &ptr, len);
|
789
970
|
return ptr;
|
790
971
|
}
|
791
|
-
UPB_INLINE
|
792
|
-
|
793
|
-
|
794
|
-
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_clear_allow_absolute_url(const envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
795
|
-
*UPB_PTR_AT(msg, UPB_SIZE(8, 8), const upb_Message*) = NULL;
|
972
|
+
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_clear_allow_absolute_url(envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
973
|
+
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)};
|
974
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
796
975
|
}
|
797
976
|
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_core_v3_Http1ProtocolOptions_allow_absolute_url(const envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
798
|
-
|
977
|
+
const struct google_protobuf_BoolValue* default_val = NULL;
|
978
|
+
const struct google_protobuf_BoolValue* ret;
|
979
|
+
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)};
|
980
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
981
|
+
return ret;
|
799
982
|
}
|
800
|
-
UPB_INLINE
|
801
|
-
|
983
|
+
UPB_INLINE bool envoy_config_core_v3_Http1ProtocolOptions_has_allow_absolute_url(const envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
984
|
+
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)};
|
985
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
986
|
+
}
|
987
|
+
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_clear_accept_http_10(envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
988
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
989
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
802
990
|
}
|
803
991
|
UPB_INLINE bool envoy_config_core_v3_Http1ProtocolOptions_accept_http_10(const envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
804
|
-
|
992
|
+
bool default_val = false;
|
993
|
+
bool ret;
|
994
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
995
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
996
|
+
return ret;
|
805
997
|
}
|
806
|
-
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_clear_default_host_for_http_10(
|
807
|
-
|
998
|
+
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_clear_default_host_for_http_10(envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
999
|
+
const upb_MiniTableField field = {3, UPB_SIZE(36, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1000
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
808
1001
|
}
|
809
1002
|
UPB_INLINE upb_StringView envoy_config_core_v3_Http1ProtocolOptions_default_host_for_http_10(const envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
1003
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
1004
|
+
upb_StringView ret;
|
1005
|
+
const upb_MiniTableField field = {3, UPB_SIZE(36, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1006
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1007
|
+
return ret;
|
814
1008
|
}
|
815
|
-
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_clear_header_key_format(
|
816
|
-
|
1009
|
+
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_clear_header_key_format(envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
1010
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1011
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
817
1012
|
}
|
818
1013
|
UPB_INLINE const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* envoy_config_core_v3_Http1ProtocolOptions_header_key_format(const envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
819
|
-
|
1014
|
+
const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* default_val = NULL;
|
1015
|
+
const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* ret;
|
1016
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1017
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1018
|
+
return ret;
|
820
1019
|
}
|
821
|
-
UPB_INLINE
|
822
|
-
|
1020
|
+
UPB_INLINE bool envoy_config_core_v3_Http1ProtocolOptions_has_header_key_format(const envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
1021
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1022
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1023
|
+
}
|
1024
|
+
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_clear_enable_trailers(envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
1025
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1026
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
823
1027
|
}
|
824
1028
|
UPB_INLINE bool envoy_config_core_v3_Http1ProtocolOptions_enable_trailers(const envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
825
|
-
|
1029
|
+
bool default_val = false;
|
1030
|
+
bool ret;
|
1031
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1032
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1033
|
+
return ret;
|
826
1034
|
}
|
827
|
-
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_clear_allow_chunked_length(
|
828
|
-
|
1035
|
+
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_clear_allow_chunked_length(envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
1036
|
+
const upb_MiniTableField field = {6, UPB_SIZE(17, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1037
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
829
1038
|
}
|
830
1039
|
UPB_INLINE bool envoy_config_core_v3_Http1ProtocolOptions_allow_chunked_length(const envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
1040
|
+
bool default_val = false;
|
1041
|
+
bool ret;
|
1042
|
+
const upb_MiniTableField field = {6, UPB_SIZE(17, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1043
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1044
|
+
return ret;
|
835
1045
|
}
|
836
|
-
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_clear_override_stream_error_on_invalid_http_message(
|
837
|
-
|
1046
|
+
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_clear_override_stream_error_on_invalid_http_message(envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
1047
|
+
const upb_MiniTableField field = {7, UPB_SIZE(20, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1048
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
838
1049
|
}
|
839
1050
|
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_core_v3_Http1ProtocolOptions_override_stream_error_on_invalid_http_message(const envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
840
|
-
|
1051
|
+
const struct google_protobuf_BoolValue* default_val = NULL;
|
1052
|
+
const struct google_protobuf_BoolValue* ret;
|
1053
|
+
const upb_MiniTableField field = {7, UPB_SIZE(20, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1054
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1055
|
+
return ret;
|
841
1056
|
}
|
842
|
-
UPB_INLINE
|
843
|
-
|
1057
|
+
UPB_INLINE bool envoy_config_core_v3_Http1ProtocolOptions_has_override_stream_error_on_invalid_http_message(const envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
1058
|
+
const upb_MiniTableField field = {7, UPB_SIZE(20, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1059
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
844
1060
|
}
|
845
|
-
UPB_INLINE
|
846
|
-
|
1061
|
+
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_clear_send_fully_qualified_url(envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
1062
|
+
const upb_MiniTableField field = {8, UPB_SIZE(24, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1063
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
847
1064
|
}
|
848
|
-
UPB_INLINE bool
|
849
|
-
|
1065
|
+
UPB_INLINE bool envoy_config_core_v3_Http1ProtocolOptions_send_fully_qualified_url(const envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
1066
|
+
bool default_val = false;
|
1067
|
+
bool ret;
|
1068
|
+
const upb_MiniTableField field = {8, UPB_SIZE(24, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1069
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1070
|
+
return ret;
|
850
1071
|
}
|
851
|
-
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_clear_use_balsa_parser(
|
852
|
-
|
1072
|
+
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_clear_use_balsa_parser(envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
1073
|
+
const upb_MiniTableField field = {9, UPB_SIZE(28, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1074
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
853
1075
|
}
|
854
1076
|
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_core_v3_Http1ProtocolOptions_use_balsa_parser(const envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
855
|
-
|
1077
|
+
const struct google_protobuf_BoolValue* default_val = NULL;
|
1078
|
+
const struct google_protobuf_BoolValue* ret;
|
1079
|
+
const upb_MiniTableField field = {9, UPB_SIZE(28, 48), 4, 3, 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;
|
1082
|
+
}
|
1083
|
+
UPB_INLINE bool envoy_config_core_v3_Http1ProtocolOptions_has_use_balsa_parser(const envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
1084
|
+
const upb_MiniTableField field = {9, UPB_SIZE(28, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1085
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1086
|
+
}
|
1087
|
+
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_clear_allow_custom_methods(envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
1088
|
+
const upb_MiniTableField field = {10, UPB_SIZE(32, 5), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1089
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1090
|
+
}
|
1091
|
+
UPB_INLINE bool envoy_config_core_v3_Http1ProtocolOptions_allow_custom_methods(const envoy_config_core_v3_Http1ProtocolOptions* msg) {
|
1092
|
+
bool default_val = false;
|
1093
|
+
bool ret;
|
1094
|
+
const upb_MiniTableField field = {10, UPB_SIZE(32, 5), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1095
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1096
|
+
return ret;
|
856
1097
|
}
|
857
1098
|
|
858
1099
|
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_set_allow_absolute_url(envoy_config_core_v3_Http1ProtocolOptions *msg, struct google_protobuf_BoolValue* value) {
|
859
|
-
|
860
|
-
|
1100
|
+
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)};
|
1101
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
861
1102
|
}
|
862
1103
|
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_Http1ProtocolOptions_mutable_allow_absolute_url(envoy_config_core_v3_Http1ProtocolOptions* msg, upb_Arena* arena) {
|
863
1104
|
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_Http1ProtocolOptions_allow_absolute_url(msg);
|
864
1105
|
if (sub == NULL) {
|
865
|
-
sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&
|
866
|
-
if (
|
867
|
-
envoy_config_core_v3_Http1ProtocolOptions_set_allow_absolute_url(msg, sub);
|
1106
|
+
sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena);
|
1107
|
+
if (sub) envoy_config_core_v3_Http1ProtocolOptions_set_allow_absolute_url(msg, sub);
|
868
1108
|
}
|
869
1109
|
return sub;
|
870
1110
|
}
|
871
1111
|
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_set_accept_http_10(envoy_config_core_v3_Http1ProtocolOptions *msg, bool value) {
|
872
|
-
|
1112
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1113
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
873
1114
|
}
|
874
1115
|
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_set_default_host_for_http_10(envoy_config_core_v3_Http1ProtocolOptions *msg, upb_StringView value) {
|
875
|
-
|
1116
|
+
const upb_MiniTableField field = {3, UPB_SIZE(36, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1117
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
876
1118
|
}
|
877
1119
|
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_set_header_key_format(envoy_config_core_v3_Http1ProtocolOptions *msg, envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* value) {
|
878
|
-
|
879
|
-
|
1120
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1121
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
880
1122
|
}
|
881
1123
|
UPB_INLINE struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* envoy_config_core_v3_Http1ProtocolOptions_mutable_header_key_format(envoy_config_core_v3_Http1ProtocolOptions* msg, upb_Arena* arena) {
|
882
1124
|
struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* sub = (struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat*)envoy_config_core_v3_Http1ProtocolOptions_header_key_format(msg);
|
883
1125
|
if (sub == NULL) {
|
884
|
-
sub = (struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat*)_upb_Message_New(&
|
885
|
-
if (
|
886
|
-
envoy_config_core_v3_Http1ProtocolOptions_set_header_key_format(msg, sub);
|
1126
|
+
sub = (struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat*)_upb_Message_New(&envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msg_init, arena);
|
1127
|
+
if (sub) envoy_config_core_v3_Http1ProtocolOptions_set_header_key_format(msg, sub);
|
887
1128
|
}
|
888
1129
|
return sub;
|
889
1130
|
}
|
890
1131
|
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_set_enable_trailers(envoy_config_core_v3_Http1ProtocolOptions *msg, bool value) {
|
891
|
-
|
1132
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1133
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
892
1134
|
}
|
893
1135
|
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_set_allow_chunked_length(envoy_config_core_v3_Http1ProtocolOptions *msg, bool value) {
|
894
|
-
|
1136
|
+
const upb_MiniTableField field = {6, UPB_SIZE(17, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1137
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
895
1138
|
}
|
896
1139
|
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_set_override_stream_error_on_invalid_http_message(envoy_config_core_v3_Http1ProtocolOptions *msg, struct google_protobuf_BoolValue* value) {
|
897
|
-
|
898
|
-
|
1140
|
+
const upb_MiniTableField field = {7, UPB_SIZE(20, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1141
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
899
1142
|
}
|
900
1143
|
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_Http1ProtocolOptions_mutable_override_stream_error_on_invalid_http_message(envoy_config_core_v3_Http1ProtocolOptions* msg, upb_Arena* arena) {
|
901
1144
|
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_Http1ProtocolOptions_override_stream_error_on_invalid_http_message(msg);
|
902
1145
|
if (sub == NULL) {
|
903
|
-
sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&
|
904
|
-
if (
|
905
|
-
envoy_config_core_v3_Http1ProtocolOptions_set_override_stream_error_on_invalid_http_message(msg, sub);
|
1146
|
+
sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena);
|
1147
|
+
if (sub) envoy_config_core_v3_Http1ProtocolOptions_set_override_stream_error_on_invalid_http_message(msg, sub);
|
906
1148
|
}
|
907
1149
|
return sub;
|
908
1150
|
}
|
909
1151
|
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_set_send_fully_qualified_url(envoy_config_core_v3_Http1ProtocolOptions *msg, bool value) {
|
910
|
-
|
1152
|
+
const upb_MiniTableField field = {8, UPB_SIZE(24, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1153
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
911
1154
|
}
|
912
1155
|
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_set_use_balsa_parser(envoy_config_core_v3_Http1ProtocolOptions *msg, struct google_protobuf_BoolValue* value) {
|
913
|
-
|
914
|
-
|
1156
|
+
const upb_MiniTableField field = {9, UPB_SIZE(28, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1157
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
915
1158
|
}
|
916
1159
|
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_Http1ProtocolOptions_mutable_use_balsa_parser(envoy_config_core_v3_Http1ProtocolOptions* msg, upb_Arena* arena) {
|
917
1160
|
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_Http1ProtocolOptions_use_balsa_parser(msg);
|
918
1161
|
if (sub == NULL) {
|
919
|
-
sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&
|
920
|
-
if (
|
921
|
-
envoy_config_core_v3_Http1ProtocolOptions_set_use_balsa_parser(msg, sub);
|
1162
|
+
sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena);
|
1163
|
+
if (sub) envoy_config_core_v3_Http1ProtocolOptions_set_use_balsa_parser(msg, sub);
|
922
1164
|
}
|
923
1165
|
return sub;
|
924
1166
|
}
|
1167
|
+
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_set_allow_custom_methods(envoy_config_core_v3_Http1ProtocolOptions *msg, bool value) {
|
1168
|
+
const upb_MiniTableField field = {10, UPB_SIZE(32, 5), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1169
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1170
|
+
}
|
925
1171
|
|
926
1172
|
/* envoy.config.core.v3.Http1ProtocolOptions.HeaderKeyFormat */
|
927
1173
|
|
928
1174
|
UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_new(upb_Arena* arena) {
|
929
|
-
return (envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat*)_upb_Message_New(&
|
1175
|
+
return (envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat*)_upb_Message_New(&envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msg_init, arena);
|
930
1176
|
}
|
931
1177
|
UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_parse(const char* buf, size_t size, upb_Arena* arena) {
|
932
1178
|
envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* ret = envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_new(arena);
|
933
1179
|
if (!ret) return NULL;
|
934
|
-
if (upb_Decode(buf, size, ret, &
|
1180
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
935
1181
|
return NULL;
|
936
1182
|
}
|
937
1183
|
return ret;
|
@@ -941,7 +1187,7 @@ UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* envoy_conf
|
|
941
1187
|
int options, upb_Arena* arena) {
|
942
1188
|
envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* ret = envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_new(arena);
|
943
1189
|
if (!ret) return NULL;
|
944
|
-
if (upb_Decode(buf, size, ret, &
|
1190
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msg_init, extreg, options, arena) !=
|
945
1191
|
kUpb_DecodeStatus_Ok) {
|
946
1192
|
return NULL;
|
947
1193
|
}
|
@@ -949,13 +1195,13 @@ UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* envoy_conf
|
|
949
1195
|
}
|
950
1196
|
UPB_INLINE char* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_serialize(const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* msg, upb_Arena* arena, size_t* len) {
|
951
1197
|
char* ptr;
|
952
|
-
(void)upb_Encode(msg, &
|
1198
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msg_init, 0, arena, &ptr, len);
|
953
1199
|
return ptr;
|
954
1200
|
}
|
955
1201
|
UPB_INLINE char* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_serialize_ex(const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* msg, int options,
|
956
1202
|
upb_Arena* arena, size_t* len) {
|
957
1203
|
char* ptr;
|
958
|
-
(void)upb_Encode(msg, &
|
1204
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msg_init, options, arena, &ptr, len);
|
959
1205
|
return ptr;
|
960
1206
|
}
|
961
1207
|
typedef enum {
|
@@ -964,48 +1210,61 @@ typedef enum {
|
|
964
1210
|
envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_header_format_NOT_SET = 0
|
965
1211
|
} envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_header_format_oneofcases;
|
966
1212
|
UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_header_format_oneofcases envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_header_format_case(const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* msg) {
|
967
|
-
|
1213
|
+
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)};
|
1214
|
+
return (envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_header_format_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field);
|
968
1215
|
}
|
969
|
-
UPB_INLINE
|
970
|
-
|
971
|
-
|
972
|
-
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_clear_proper_case_words(const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* msg) {
|
973
|
-
UPB_WRITE_ONEOF(msg, envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords*, UPB_SIZE(4, 8), 0, UPB_SIZE(0, 0), envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_header_format_NOT_SET);
|
1216
|
+
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_clear_proper_case_words(envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* msg) {
|
1217
|
+
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)};
|
1218
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
974
1219
|
}
|
975
1220
|
UPB_INLINE const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_proper_case_words(const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* msg) {
|
976
|
-
|
1221
|
+
const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* default_val = NULL;
|
1222
|
+
const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* ret;
|
1223
|
+
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)};
|
1224
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1225
|
+
return ret;
|
977
1226
|
}
|
978
|
-
UPB_INLINE bool
|
979
|
-
|
1227
|
+
UPB_INLINE bool envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_has_proper_case_words(const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* msg) {
|
1228
|
+
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)};
|
1229
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
980
1230
|
}
|
981
|
-
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_clear_stateful_formatter(
|
982
|
-
|
1231
|
+
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_clear_stateful_formatter(envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* msg) {
|
1232
|
+
const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1233
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
983
1234
|
}
|
984
1235
|
UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_stateful_formatter(const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* msg) {
|
985
|
-
|
1236
|
+
const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
|
1237
|
+
const struct envoy_config_core_v3_TypedExtensionConfig* ret;
|
1238
|
+
const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1239
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1240
|
+
return ret;
|
1241
|
+
}
|
1242
|
+
UPB_INLINE bool envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_has_stateful_formatter(const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* msg) {
|
1243
|
+
const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1244
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
986
1245
|
}
|
987
1246
|
|
988
1247
|
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_set_proper_case_words(envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat *msg, envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* value) {
|
989
|
-
|
1248
|
+
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)};
|
1249
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
990
1250
|
}
|
991
1251
|
UPB_INLINE struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_mutable_proper_case_words(envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* msg, upb_Arena* arena) {
|
992
1252
|
struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* sub = (struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords*)envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_proper_case_words(msg);
|
993
1253
|
if (sub == NULL) {
|
994
|
-
sub = (struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords*)_upb_Message_New(&
|
995
|
-
if (
|
996
|
-
envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_set_proper_case_words(msg, sub);
|
1254
|
+
sub = (struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords*)_upb_Message_New(&envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msg_init, arena);
|
1255
|
+
if (sub) envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_set_proper_case_words(msg, sub);
|
997
1256
|
}
|
998
1257
|
return sub;
|
999
1258
|
}
|
1000
1259
|
UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_set_stateful_formatter(envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
|
1001
|
-
|
1260
|
+
const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1261
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1002
1262
|
}
|
1003
1263
|
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_mutable_stateful_formatter(envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* msg, upb_Arena* arena) {
|
1004
1264
|
struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_stateful_formatter(msg);
|
1005
1265
|
if (sub == NULL) {
|
1006
|
-
sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&
|
1007
|
-
if (
|
1008
|
-
envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_set_stateful_formatter(msg, sub);
|
1266
|
+
sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena);
|
1267
|
+
if (sub) envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_set_stateful_formatter(msg, sub);
|
1009
1268
|
}
|
1010
1269
|
return sub;
|
1011
1270
|
}
|
@@ -1013,12 +1272,12 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v
|
|
1013
1272
|
/* envoy.config.core.v3.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords */
|
1014
1273
|
|
1015
1274
|
UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_new(upb_Arena* arena) {
|
1016
|
-
return (envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords*)_upb_Message_New(&
|
1275
|
+
return (envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords*)_upb_Message_New(&envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msg_init, arena);
|
1017
1276
|
}
|
1018
1277
|
UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1019
1278
|
envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* ret = envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_new(arena);
|
1020
1279
|
if (!ret) return NULL;
|
1021
|
-
if (upb_Decode(buf, size, ret, &
|
1280
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1022
1281
|
return NULL;
|
1023
1282
|
}
|
1024
1283
|
return ret;
|
@@ -1028,7 +1287,7 @@ UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseW
|
|
1028
1287
|
int options, upb_Arena* arena) {
|
1029
1288
|
envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* ret = envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_new(arena);
|
1030
1289
|
if (!ret) return NULL;
|
1031
|
-
if (upb_Decode(buf, size, ret, &
|
1290
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msg_init, extreg, options, arena) !=
|
1032
1291
|
kUpb_DecodeStatus_Ok) {
|
1033
1292
|
return NULL;
|
1034
1293
|
}
|
@@ -1036,13 +1295,13 @@ UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseW
|
|
1036
1295
|
}
|
1037
1296
|
UPB_INLINE char* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_serialize(const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* msg, upb_Arena* arena, size_t* len) {
|
1038
1297
|
char* ptr;
|
1039
|
-
(void)upb_Encode(msg, &
|
1298
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msg_init, 0, arena, &ptr, len);
|
1040
1299
|
return ptr;
|
1041
1300
|
}
|
1042
1301
|
UPB_INLINE char* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_serialize_ex(const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* msg, int options,
|
1043
1302
|
upb_Arena* arena, size_t* len) {
|
1044
1303
|
char* ptr;
|
1045
|
-
(void)upb_Encode(msg, &
|
1304
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msg_init, options, arena, &ptr, len);
|
1046
1305
|
return ptr;
|
1047
1306
|
}
|
1048
1307
|
|
@@ -1050,12 +1309,12 @@ UPB_INLINE char* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_Prope
|
|
1050
1309
|
/* envoy.config.core.v3.KeepaliveSettings */
|
1051
1310
|
|
1052
1311
|
UPB_INLINE envoy_config_core_v3_KeepaliveSettings* envoy_config_core_v3_KeepaliveSettings_new(upb_Arena* arena) {
|
1053
|
-
return (envoy_config_core_v3_KeepaliveSettings*)_upb_Message_New(&
|
1312
|
+
return (envoy_config_core_v3_KeepaliveSettings*)_upb_Message_New(&envoy_config_core_v3_KeepaliveSettings_msg_init, arena);
|
1054
1313
|
}
|
1055
1314
|
UPB_INLINE envoy_config_core_v3_KeepaliveSettings* envoy_config_core_v3_KeepaliveSettings_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1056
1315
|
envoy_config_core_v3_KeepaliveSettings* ret = envoy_config_core_v3_KeepaliveSettings_new(arena);
|
1057
1316
|
if (!ret) return NULL;
|
1058
|
-
if (upb_Decode(buf, size, ret, &
|
1317
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_KeepaliveSettings_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1059
1318
|
return NULL;
|
1060
1319
|
}
|
1061
1320
|
return ret;
|
@@ -1065,7 +1324,7 @@ UPB_INLINE envoy_config_core_v3_KeepaliveSettings* envoy_config_core_v3_Keepaliv
|
|
1065
1324
|
int options, upb_Arena* arena) {
|
1066
1325
|
envoy_config_core_v3_KeepaliveSettings* ret = envoy_config_core_v3_KeepaliveSettings_new(arena);
|
1067
1326
|
if (!ret) return NULL;
|
1068
|
-
if (upb_Decode(buf, size, ret, &
|
1327
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_KeepaliveSettings_msg_init, extreg, options, arena) !=
|
1069
1328
|
kUpb_DecodeStatus_Ok) {
|
1070
1329
|
return NULL;
|
1071
1330
|
}
|
@@ -1073,101 +1332,121 @@ UPB_INLINE envoy_config_core_v3_KeepaliveSettings* envoy_config_core_v3_Keepaliv
|
|
1073
1332
|
}
|
1074
1333
|
UPB_INLINE char* envoy_config_core_v3_KeepaliveSettings_serialize(const envoy_config_core_v3_KeepaliveSettings* msg, upb_Arena* arena, size_t* len) {
|
1075
1334
|
char* ptr;
|
1076
|
-
(void)upb_Encode(msg, &
|
1335
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_KeepaliveSettings_msg_init, 0, arena, &ptr, len);
|
1077
1336
|
return ptr;
|
1078
1337
|
}
|
1079
1338
|
UPB_INLINE char* envoy_config_core_v3_KeepaliveSettings_serialize_ex(const envoy_config_core_v3_KeepaliveSettings* msg, int options,
|
1080
1339
|
upb_Arena* arena, size_t* len) {
|
1081
1340
|
char* ptr;
|
1082
|
-
(void)upb_Encode(msg, &
|
1341
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_KeepaliveSettings_msg_init, options, arena, &ptr, len);
|
1083
1342
|
return ptr;
|
1084
1343
|
}
|
1085
|
-
UPB_INLINE
|
1086
|
-
|
1087
|
-
|
1088
|
-
UPB_INLINE void envoy_config_core_v3_KeepaliveSettings_clear_interval(const envoy_config_core_v3_KeepaliveSettings* msg) {
|
1089
|
-
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
|
1344
|
+
UPB_INLINE void envoy_config_core_v3_KeepaliveSettings_clear_interval(envoy_config_core_v3_KeepaliveSettings* msg) {
|
1345
|
+
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)};
|
1346
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1090
1347
|
}
|
1091
1348
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_core_v3_KeepaliveSettings_interval(const envoy_config_core_v3_KeepaliveSettings* msg) {
|
1092
|
-
|
1349
|
+
const struct google_protobuf_Duration* default_val = NULL;
|
1350
|
+
const struct google_protobuf_Duration* ret;
|
1351
|
+
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)};
|
1352
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1353
|
+
return ret;
|
1093
1354
|
}
|
1094
|
-
UPB_INLINE bool
|
1095
|
-
|
1355
|
+
UPB_INLINE bool envoy_config_core_v3_KeepaliveSettings_has_interval(const envoy_config_core_v3_KeepaliveSettings* msg) {
|
1356
|
+
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)};
|
1357
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1096
1358
|
}
|
1097
|
-
UPB_INLINE void envoy_config_core_v3_KeepaliveSettings_clear_timeout(
|
1098
|
-
|
1359
|
+
UPB_INLINE void envoy_config_core_v3_KeepaliveSettings_clear_timeout(envoy_config_core_v3_KeepaliveSettings* msg) {
|
1360
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1361
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1099
1362
|
}
|
1100
1363
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_core_v3_KeepaliveSettings_timeout(const envoy_config_core_v3_KeepaliveSettings* msg) {
|
1101
|
-
|
1364
|
+
const struct google_protobuf_Duration* default_val = NULL;
|
1365
|
+
const struct google_protobuf_Duration* ret;
|
1366
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1367
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1368
|
+
return ret;
|
1102
1369
|
}
|
1103
|
-
UPB_INLINE bool
|
1104
|
-
|
1370
|
+
UPB_INLINE bool envoy_config_core_v3_KeepaliveSettings_has_timeout(const envoy_config_core_v3_KeepaliveSettings* msg) {
|
1371
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1372
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1105
1373
|
}
|
1106
|
-
UPB_INLINE void envoy_config_core_v3_KeepaliveSettings_clear_interval_jitter(
|
1107
|
-
|
1374
|
+
UPB_INLINE void envoy_config_core_v3_KeepaliveSettings_clear_interval_jitter(envoy_config_core_v3_KeepaliveSettings* msg) {
|
1375
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1376
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1108
1377
|
}
|
1109
1378
|
UPB_INLINE const struct envoy_type_v3_Percent* envoy_config_core_v3_KeepaliveSettings_interval_jitter(const envoy_config_core_v3_KeepaliveSettings* msg) {
|
1110
|
-
|
1379
|
+
const struct envoy_type_v3_Percent* default_val = NULL;
|
1380
|
+
const struct envoy_type_v3_Percent* ret;
|
1381
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1382
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1383
|
+
return ret;
|
1111
1384
|
}
|
1112
|
-
UPB_INLINE bool
|
1113
|
-
|
1385
|
+
UPB_INLINE bool envoy_config_core_v3_KeepaliveSettings_has_interval_jitter(const envoy_config_core_v3_KeepaliveSettings* msg) {
|
1386
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1387
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1114
1388
|
}
|
1115
|
-
UPB_INLINE void envoy_config_core_v3_KeepaliveSettings_clear_connection_idle_interval(
|
1116
|
-
|
1389
|
+
UPB_INLINE void envoy_config_core_v3_KeepaliveSettings_clear_connection_idle_interval(envoy_config_core_v3_KeepaliveSettings* msg) {
|
1390
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1391
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1117
1392
|
}
|
1118
1393
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_core_v3_KeepaliveSettings_connection_idle_interval(const envoy_config_core_v3_KeepaliveSettings* msg) {
|
1119
|
-
|
1394
|
+
const struct google_protobuf_Duration* default_val = NULL;
|
1395
|
+
const struct google_protobuf_Duration* ret;
|
1396
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1397
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1398
|
+
return ret;
|
1399
|
+
}
|
1400
|
+
UPB_INLINE bool envoy_config_core_v3_KeepaliveSettings_has_connection_idle_interval(const envoy_config_core_v3_KeepaliveSettings* msg) {
|
1401
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1402
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1120
1403
|
}
|
1121
1404
|
|
1122
1405
|
UPB_INLINE void envoy_config_core_v3_KeepaliveSettings_set_interval(envoy_config_core_v3_KeepaliveSettings *msg, struct google_protobuf_Duration* value) {
|
1123
|
-
|
1124
|
-
|
1406
|
+
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)};
|
1407
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1125
1408
|
}
|
1126
1409
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_KeepaliveSettings_mutable_interval(envoy_config_core_v3_KeepaliveSettings* msg, upb_Arena* arena) {
|
1127
1410
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_KeepaliveSettings_interval(msg);
|
1128
1411
|
if (sub == NULL) {
|
1129
|
-
sub = (struct google_protobuf_Duration*)_upb_Message_New(&
|
1130
|
-
if (
|
1131
|
-
envoy_config_core_v3_KeepaliveSettings_set_interval(msg, sub);
|
1412
|
+
sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena);
|
1413
|
+
if (sub) envoy_config_core_v3_KeepaliveSettings_set_interval(msg, sub);
|
1132
1414
|
}
|
1133
1415
|
return sub;
|
1134
1416
|
}
|
1135
1417
|
UPB_INLINE void envoy_config_core_v3_KeepaliveSettings_set_timeout(envoy_config_core_v3_KeepaliveSettings *msg, struct google_protobuf_Duration* value) {
|
1136
|
-
|
1137
|
-
|
1418
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1419
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1138
1420
|
}
|
1139
1421
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_KeepaliveSettings_mutable_timeout(envoy_config_core_v3_KeepaliveSettings* msg, upb_Arena* arena) {
|
1140
1422
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_KeepaliveSettings_timeout(msg);
|
1141
1423
|
if (sub == NULL) {
|
1142
|
-
sub = (struct google_protobuf_Duration*)_upb_Message_New(&
|
1143
|
-
if (
|
1144
|
-
envoy_config_core_v3_KeepaliveSettings_set_timeout(msg, sub);
|
1424
|
+
sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena);
|
1425
|
+
if (sub) envoy_config_core_v3_KeepaliveSettings_set_timeout(msg, sub);
|
1145
1426
|
}
|
1146
1427
|
return sub;
|
1147
1428
|
}
|
1148
1429
|
UPB_INLINE void envoy_config_core_v3_KeepaliveSettings_set_interval_jitter(envoy_config_core_v3_KeepaliveSettings *msg, struct envoy_type_v3_Percent* value) {
|
1149
|
-
|
1150
|
-
|
1430
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1431
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1151
1432
|
}
|
1152
1433
|
UPB_INLINE struct envoy_type_v3_Percent* envoy_config_core_v3_KeepaliveSettings_mutable_interval_jitter(envoy_config_core_v3_KeepaliveSettings* msg, upb_Arena* arena) {
|
1153
1434
|
struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_config_core_v3_KeepaliveSettings_interval_jitter(msg);
|
1154
1435
|
if (sub == NULL) {
|
1155
|
-
sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&
|
1156
|
-
if (
|
1157
|
-
envoy_config_core_v3_KeepaliveSettings_set_interval_jitter(msg, sub);
|
1436
|
+
sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena);
|
1437
|
+
if (sub) envoy_config_core_v3_KeepaliveSettings_set_interval_jitter(msg, sub);
|
1158
1438
|
}
|
1159
1439
|
return sub;
|
1160
1440
|
}
|
1161
1441
|
UPB_INLINE void envoy_config_core_v3_KeepaliveSettings_set_connection_idle_interval(envoy_config_core_v3_KeepaliveSettings *msg, struct google_protobuf_Duration* value) {
|
1162
|
-
|
1163
|
-
|
1442
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1443
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1164
1444
|
}
|
1165
1445
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_KeepaliveSettings_mutable_connection_idle_interval(envoy_config_core_v3_KeepaliveSettings* msg, upb_Arena* arena) {
|
1166
1446
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_KeepaliveSettings_connection_idle_interval(msg);
|
1167
1447
|
if (sub == NULL) {
|
1168
|
-
sub = (struct google_protobuf_Duration*)_upb_Message_New(&
|
1169
|
-
if (
|
1170
|
-
envoy_config_core_v3_KeepaliveSettings_set_connection_idle_interval(msg, sub);
|
1448
|
+
sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena);
|
1449
|
+
if (sub) envoy_config_core_v3_KeepaliveSettings_set_connection_idle_interval(msg, sub);
|
1171
1450
|
}
|
1172
1451
|
return sub;
|
1173
1452
|
}
|
@@ -1175,12 +1454,12 @@ UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_KeepaliveSettin
|
|
1175
1454
|
/* envoy.config.core.v3.Http2ProtocolOptions */
|
1176
1455
|
|
1177
1456
|
UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions* envoy_config_core_v3_Http2ProtocolOptions_new(upb_Arena* arena) {
|
1178
|
-
return (envoy_config_core_v3_Http2ProtocolOptions*)_upb_Message_New(&
|
1457
|
+
return (envoy_config_core_v3_Http2ProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_Http2ProtocolOptions_msg_init, arena);
|
1179
1458
|
}
|
1180
1459
|
UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions* envoy_config_core_v3_Http2ProtocolOptions_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1181
1460
|
envoy_config_core_v3_Http2ProtocolOptions* ret = envoy_config_core_v3_Http2ProtocolOptions_new(arena);
|
1182
1461
|
if (!ret) return NULL;
|
1183
|
-
if (upb_Decode(buf, size, ret, &
|
1462
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http2ProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1184
1463
|
return NULL;
|
1185
1464
|
}
|
1186
1465
|
return ret;
|
@@ -1190,7 +1469,7 @@ UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions* envoy_config_core_v3_Http2
|
|
1190
1469
|
int options, upb_Arena* arena) {
|
1191
1470
|
envoy_config_core_v3_Http2ProtocolOptions* ret = envoy_config_core_v3_Http2ProtocolOptions_new(arena);
|
1192
1471
|
if (!ret) return NULL;
|
1193
|
-
if (upb_Decode(buf, size, ret, &
|
1472
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http2ProtocolOptions_msg_init, extreg, options, arena) !=
|
1194
1473
|
kUpb_DecodeStatus_Ok) {
|
1195
1474
|
return NULL;
|
1196
1475
|
}
|
@@ -1198,303 +1477,445 @@ UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions* envoy_config_core_v3_Http2
|
|
1198
1477
|
}
|
1199
1478
|
UPB_INLINE char* envoy_config_core_v3_Http2ProtocolOptions_serialize(const envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena, size_t* len) {
|
1200
1479
|
char* ptr;
|
1201
|
-
(void)upb_Encode(msg, &
|
1480
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_Http2ProtocolOptions_msg_init, 0, arena, &ptr, len);
|
1202
1481
|
return ptr;
|
1203
1482
|
}
|
1204
1483
|
UPB_INLINE char* envoy_config_core_v3_Http2ProtocolOptions_serialize_ex(const envoy_config_core_v3_Http2ProtocolOptions* msg, int options,
|
1205
1484
|
upb_Arena* arena, size_t* len) {
|
1206
1485
|
char* ptr;
|
1207
|
-
(void)upb_Encode(msg, &
|
1486
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_Http2ProtocolOptions_msg_init, options, arena, &ptr, len);
|
1208
1487
|
return ptr;
|
1209
1488
|
}
|
1210
|
-
UPB_INLINE
|
1211
|
-
|
1212
|
-
|
1213
|
-
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_hpack_table_size(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1214
|
-
*UPB_PTR_AT(msg, UPB_SIZE(8, 8), const upb_Message*) = NULL;
|
1489
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_hpack_table_size(envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1490
|
+
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)};
|
1491
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1215
1492
|
}
|
1216
1493
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_hpack_table_size(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1217
|
-
|
1494
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
1495
|
+
const struct google_protobuf_UInt32Value* ret;
|
1496
|
+
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)};
|
1497
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1498
|
+
return ret;
|
1218
1499
|
}
|
1219
|
-
UPB_INLINE bool
|
1220
|
-
|
1500
|
+
UPB_INLINE bool envoy_config_core_v3_Http2ProtocolOptions_has_hpack_table_size(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1501
|
+
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)};
|
1502
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1221
1503
|
}
|
1222
|
-
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_max_concurrent_streams(
|
1223
|
-
|
1504
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_max_concurrent_streams(envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1505
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1506
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1224
1507
|
}
|
1225
1508
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_max_concurrent_streams(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1226
|
-
|
1509
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
1510
|
+
const struct google_protobuf_UInt32Value* ret;
|
1511
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1512
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1513
|
+
return ret;
|
1227
1514
|
}
|
1228
|
-
UPB_INLINE bool
|
1229
|
-
|
1515
|
+
UPB_INLINE bool envoy_config_core_v3_Http2ProtocolOptions_has_max_concurrent_streams(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1516
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1517
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1230
1518
|
}
|
1231
|
-
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_initial_stream_window_size(
|
1232
|
-
|
1519
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_initial_stream_window_size(envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1520
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1521
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1233
1522
|
}
|
1234
1523
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_initial_stream_window_size(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1235
|
-
|
1524
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
1525
|
+
const struct google_protobuf_UInt32Value* ret;
|
1526
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1527
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1528
|
+
return ret;
|
1236
1529
|
}
|
1237
|
-
UPB_INLINE bool
|
1238
|
-
|
1530
|
+
UPB_INLINE bool envoy_config_core_v3_Http2ProtocolOptions_has_initial_stream_window_size(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1531
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1532
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1239
1533
|
}
|
1240
|
-
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_initial_connection_window_size(
|
1241
|
-
|
1534
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_initial_connection_window_size(envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1535
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1536
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1242
1537
|
}
|
1243
1538
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_initial_connection_window_size(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1244
|
-
|
1539
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
1540
|
+
const struct google_protobuf_UInt32Value* ret;
|
1541
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1542
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1543
|
+
return ret;
|
1245
1544
|
}
|
1246
|
-
UPB_INLINE
|
1247
|
-
|
1545
|
+
UPB_INLINE bool envoy_config_core_v3_Http2ProtocolOptions_has_initial_connection_window_size(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1546
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1547
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1548
|
+
}
|
1549
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_allow_connect(envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1550
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1551
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1248
1552
|
}
|
1249
1553
|
UPB_INLINE bool envoy_config_core_v3_Http2ProtocolOptions_allow_connect(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1250
|
-
|
1554
|
+
bool default_val = false;
|
1555
|
+
bool ret;
|
1556
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1557
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1558
|
+
return ret;
|
1251
1559
|
}
|
1252
|
-
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_allow_metadata(
|
1253
|
-
|
1560
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_allow_metadata(envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1561
|
+
const upb_MiniTableField field = {6, UPB_SIZE(21, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1562
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1254
1563
|
}
|
1255
1564
|
UPB_INLINE bool envoy_config_core_v3_Http2ProtocolOptions_allow_metadata(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1565
|
+
bool default_val = false;
|
1566
|
+
bool ret;
|
1567
|
+
const upb_MiniTableField field = {6, UPB_SIZE(21, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1568
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1569
|
+
return ret;
|
1260
1570
|
}
|
1261
|
-
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_max_outbound_frames(
|
1262
|
-
|
1571
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_max_outbound_frames(envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1572
|
+
const upb_MiniTableField field = {7, UPB_SIZE(24, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1573
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1263
1574
|
}
|
1264
1575
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_max_outbound_frames(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1265
|
-
|
1576
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
1577
|
+
const struct google_protobuf_UInt32Value* ret;
|
1578
|
+
const upb_MiniTableField field = {7, UPB_SIZE(24, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1579
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1580
|
+
return ret;
|
1266
1581
|
}
|
1267
|
-
UPB_INLINE bool
|
1268
|
-
|
1582
|
+
UPB_INLINE bool envoy_config_core_v3_Http2ProtocolOptions_has_max_outbound_frames(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1583
|
+
const upb_MiniTableField field = {7, UPB_SIZE(24, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1584
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1269
1585
|
}
|
1270
|
-
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_max_outbound_control_frames(
|
1271
|
-
|
1586
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_max_outbound_control_frames(envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1587
|
+
const upb_MiniTableField field = {8, UPB_SIZE(28, 48), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1588
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1272
1589
|
}
|
1273
1590
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_max_outbound_control_frames(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1274
|
-
|
1591
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
1592
|
+
const struct google_protobuf_UInt32Value* ret;
|
1593
|
+
const upb_MiniTableField field = {8, UPB_SIZE(28, 48), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1594
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1595
|
+
return ret;
|
1275
1596
|
}
|
1276
|
-
UPB_INLINE bool
|
1277
|
-
|
1597
|
+
UPB_INLINE bool envoy_config_core_v3_Http2ProtocolOptions_has_max_outbound_control_frames(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1598
|
+
const upb_MiniTableField field = {8, UPB_SIZE(28, 48), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1599
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1278
1600
|
}
|
1279
|
-
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_max_consecutive_inbound_frames_with_empty_payload(
|
1280
|
-
|
1601
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_max_consecutive_inbound_frames_with_empty_payload(envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1602
|
+
const upb_MiniTableField field = {9, UPB_SIZE(32, 56), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1603
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1281
1604
|
}
|
1282
1605
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_max_consecutive_inbound_frames_with_empty_payload(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1283
|
-
|
1606
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
1607
|
+
const struct google_protobuf_UInt32Value* ret;
|
1608
|
+
const upb_MiniTableField field = {9, UPB_SIZE(32, 56), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1609
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1610
|
+
return ret;
|
1284
1611
|
}
|
1285
|
-
UPB_INLINE bool
|
1286
|
-
|
1612
|
+
UPB_INLINE bool envoy_config_core_v3_Http2ProtocolOptions_has_max_consecutive_inbound_frames_with_empty_payload(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1613
|
+
const upb_MiniTableField field = {9, UPB_SIZE(32, 56), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1614
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1287
1615
|
}
|
1288
|
-
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_max_inbound_priority_frames_per_stream(
|
1289
|
-
|
1616
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_max_inbound_priority_frames_per_stream(envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1617
|
+
const upb_MiniTableField field = {10, UPB_SIZE(36, 64), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1618
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1290
1619
|
}
|
1291
1620
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_max_inbound_priority_frames_per_stream(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1292
|
-
|
1621
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
1622
|
+
const struct google_protobuf_UInt32Value* ret;
|
1623
|
+
const upb_MiniTableField field = {10, UPB_SIZE(36, 64), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1624
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1625
|
+
return ret;
|
1293
1626
|
}
|
1294
|
-
UPB_INLINE bool
|
1295
|
-
|
1627
|
+
UPB_INLINE bool envoy_config_core_v3_Http2ProtocolOptions_has_max_inbound_priority_frames_per_stream(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1628
|
+
const upb_MiniTableField field = {10, UPB_SIZE(36, 64), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1629
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1296
1630
|
}
|
1297
|
-
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_max_inbound_window_update_frames_per_data_frame_sent(
|
1298
|
-
|
1631
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_max_inbound_window_update_frames_per_data_frame_sent(envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1632
|
+
const upb_MiniTableField field = {11, UPB_SIZE(40, 72), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1633
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1299
1634
|
}
|
1300
1635
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_max_inbound_window_update_frames_per_data_frame_sent(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1301
|
-
|
1636
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
1637
|
+
const struct google_protobuf_UInt32Value* ret;
|
1638
|
+
const upb_MiniTableField field = {11, UPB_SIZE(40, 72), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1639
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1640
|
+
return ret;
|
1302
1641
|
}
|
1303
|
-
UPB_INLINE
|
1304
|
-
|
1642
|
+
UPB_INLINE bool envoy_config_core_v3_Http2ProtocolOptions_has_max_inbound_window_update_frames_per_data_frame_sent(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1643
|
+
const upb_MiniTableField field = {11, UPB_SIZE(40, 72), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1644
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1645
|
+
}
|
1646
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_stream_error_on_invalid_http_messaging(envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1647
|
+
const upb_MiniTableField field = {12, UPB_SIZE(44, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1648
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1305
1649
|
}
|
1306
1650
|
UPB_INLINE bool envoy_config_core_v3_Http2ProtocolOptions_stream_error_on_invalid_http_messaging(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1307
|
-
|
1651
|
+
bool default_val = false;
|
1652
|
+
bool ret;
|
1653
|
+
const upb_MiniTableField field = {12, UPB_SIZE(44, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1654
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1655
|
+
return ret;
|
1308
1656
|
}
|
1309
|
-
UPB_INLINE
|
1310
|
-
|
1657
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_custom_settings_parameters(envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1658
|
+
const upb_MiniTableField field = {13, UPB_SIZE(48, 80), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1659
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1660
|
+
}
|
1661
|
+
UPB_INLINE const envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* const* envoy_config_core_v3_Http2ProtocolOptions_custom_settings_parameters(const envoy_config_core_v3_Http2ProtocolOptions* msg, size_t* size) {
|
1662
|
+
const upb_MiniTableField field = {13, UPB_SIZE(48, 80), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1663
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1664
|
+
if (arr) {
|
1665
|
+
if (size) *size = arr->size;
|
1666
|
+
return (const envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* const*)_upb_array_constptr(arr);
|
1667
|
+
} else {
|
1668
|
+
if (size) *size = 0;
|
1669
|
+
return NULL;
|
1670
|
+
}
|
1311
1671
|
}
|
1312
|
-
UPB_INLINE
|
1313
|
-
|
1672
|
+
UPB_INLINE const upb_Array* _envoy_config_core_v3_Http2ProtocolOptions_custom_settings_parameters_upb_array(const envoy_config_core_v3_Http2ProtocolOptions* msg, size_t* size) {
|
1673
|
+
const upb_MiniTableField field = {13, UPB_SIZE(48, 80), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1674
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1675
|
+
if (size) {
|
1676
|
+
*size = arr ? arr->size : 0;
|
1677
|
+
}
|
1678
|
+
return arr;
|
1314
1679
|
}
|
1315
|
-
UPB_INLINE
|
1316
|
-
|
1680
|
+
UPB_INLINE upb_Array* _envoy_config_core_v3_Http2ProtocolOptions_custom_settings_parameters_mutable_upb_array(const envoy_config_core_v3_Http2ProtocolOptions* msg, size_t* size, upb_Arena* arena) {
|
1681
|
+
const upb_MiniTableField field = {13, UPB_SIZE(48, 80), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1682
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1683
|
+
(upb_Message*)msg, &field, arena);
|
1684
|
+
if (size) {
|
1685
|
+
*size = arr ? arr->size : 0;
|
1686
|
+
}
|
1687
|
+
return arr;
|
1317
1688
|
}
|
1318
|
-
UPB_INLINE bool
|
1319
|
-
|
1689
|
+
UPB_INLINE bool envoy_config_core_v3_Http2ProtocolOptions_has_custom_settings_parameters(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1690
|
+
size_t size;
|
1691
|
+
envoy_config_core_v3_Http2ProtocolOptions_custom_settings_parameters(msg, &size);
|
1692
|
+
return size != 0;
|
1320
1693
|
}
|
1321
|
-
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_override_stream_error_on_invalid_http_message(
|
1322
|
-
|
1694
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_override_stream_error_on_invalid_http_message(envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1695
|
+
const upb_MiniTableField field = {14, UPB_SIZE(52, 88), 10, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1696
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1323
1697
|
}
|
1324
1698
|
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_core_v3_Http2ProtocolOptions_override_stream_error_on_invalid_http_message(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1325
|
-
|
1699
|
+
const struct google_protobuf_BoolValue* default_val = NULL;
|
1700
|
+
const struct google_protobuf_BoolValue* ret;
|
1701
|
+
const upb_MiniTableField field = {14, UPB_SIZE(52, 88), 10, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1702
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1703
|
+
return ret;
|
1326
1704
|
}
|
1327
|
-
UPB_INLINE bool
|
1328
|
-
|
1705
|
+
UPB_INLINE bool envoy_config_core_v3_Http2ProtocolOptions_has_override_stream_error_on_invalid_http_message(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1706
|
+
const upb_MiniTableField field = {14, UPB_SIZE(52, 88), 10, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1707
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1329
1708
|
}
|
1330
|
-
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_connection_keepalive(
|
1331
|
-
|
1709
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_connection_keepalive(envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1710
|
+
const upb_MiniTableField field = {15, UPB_SIZE(56, 96), 11, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1711
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1332
1712
|
}
|
1333
1713
|
UPB_INLINE const envoy_config_core_v3_KeepaliveSettings* envoy_config_core_v3_Http2ProtocolOptions_connection_keepalive(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1334
|
-
|
1714
|
+
const envoy_config_core_v3_KeepaliveSettings* default_val = NULL;
|
1715
|
+
const envoy_config_core_v3_KeepaliveSettings* ret;
|
1716
|
+
const upb_MiniTableField field = {15, UPB_SIZE(56, 96), 11, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1717
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1718
|
+
return ret;
|
1719
|
+
}
|
1720
|
+
UPB_INLINE bool envoy_config_core_v3_Http2ProtocolOptions_has_connection_keepalive(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1721
|
+
const upb_MiniTableField field = {15, UPB_SIZE(56, 96), 11, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1722
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1723
|
+
}
|
1724
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_use_oghttp2_codec(envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1725
|
+
const upb_MiniTableField field = {16, UPB_SIZE(60, 104), 12, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1726
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1727
|
+
}
|
1728
|
+
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_core_v3_Http2ProtocolOptions_use_oghttp2_codec(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1729
|
+
const struct google_protobuf_BoolValue* default_val = NULL;
|
1730
|
+
const struct google_protobuf_BoolValue* ret;
|
1731
|
+
const upb_MiniTableField field = {16, UPB_SIZE(60, 104), 12, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1732
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1733
|
+
return ret;
|
1734
|
+
}
|
1735
|
+
UPB_INLINE bool envoy_config_core_v3_Http2ProtocolOptions_has_use_oghttp2_codec(const envoy_config_core_v3_Http2ProtocolOptions* msg) {
|
1736
|
+
const upb_MiniTableField field = {16, UPB_SIZE(60, 104), 12, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1737
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1335
1738
|
}
|
1336
1739
|
|
1337
1740
|
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_hpack_table_size(envoy_config_core_v3_Http2ProtocolOptions *msg, struct google_protobuf_UInt32Value* value) {
|
1338
|
-
|
1339
|
-
|
1741
|
+
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)};
|
1742
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1340
1743
|
}
|
1341
1744
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_mutable_hpack_table_size(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) {
|
1342
1745
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_hpack_table_size(msg);
|
1343
1746
|
if (sub == NULL) {
|
1344
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
1345
|
-
if (
|
1346
|
-
envoy_config_core_v3_Http2ProtocolOptions_set_hpack_table_size(msg, sub);
|
1747
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
1748
|
+
if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_hpack_table_size(msg, sub);
|
1347
1749
|
}
|
1348
1750
|
return sub;
|
1349
1751
|
}
|
1350
1752
|
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_max_concurrent_streams(envoy_config_core_v3_Http2ProtocolOptions *msg, struct google_protobuf_UInt32Value* value) {
|
1351
|
-
|
1352
|
-
|
1753
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1754
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1353
1755
|
}
|
1354
1756
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_mutable_max_concurrent_streams(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) {
|
1355
1757
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_max_concurrent_streams(msg);
|
1356
1758
|
if (sub == NULL) {
|
1357
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
1358
|
-
if (
|
1359
|
-
envoy_config_core_v3_Http2ProtocolOptions_set_max_concurrent_streams(msg, sub);
|
1759
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
1760
|
+
if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_max_concurrent_streams(msg, sub);
|
1360
1761
|
}
|
1361
1762
|
return sub;
|
1362
1763
|
}
|
1363
1764
|
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_initial_stream_window_size(envoy_config_core_v3_Http2ProtocolOptions *msg, struct google_protobuf_UInt32Value* value) {
|
1364
|
-
|
1365
|
-
|
1765
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1766
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1366
1767
|
}
|
1367
1768
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_mutable_initial_stream_window_size(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) {
|
1368
1769
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_initial_stream_window_size(msg);
|
1369
1770
|
if (sub == NULL) {
|
1370
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
1371
|
-
if (
|
1372
|
-
envoy_config_core_v3_Http2ProtocolOptions_set_initial_stream_window_size(msg, sub);
|
1771
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
1772
|
+
if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_initial_stream_window_size(msg, sub);
|
1373
1773
|
}
|
1374
1774
|
return sub;
|
1375
1775
|
}
|
1376
1776
|
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_initial_connection_window_size(envoy_config_core_v3_Http2ProtocolOptions *msg, struct google_protobuf_UInt32Value* value) {
|
1377
|
-
|
1378
|
-
|
1777
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1778
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1379
1779
|
}
|
1380
1780
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_mutable_initial_connection_window_size(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) {
|
1381
1781
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_initial_connection_window_size(msg);
|
1382
1782
|
if (sub == NULL) {
|
1383
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
1384
|
-
if (
|
1385
|
-
envoy_config_core_v3_Http2ProtocolOptions_set_initial_connection_window_size(msg, sub);
|
1783
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
1784
|
+
if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_initial_connection_window_size(msg, sub);
|
1386
1785
|
}
|
1387
1786
|
return sub;
|
1388
1787
|
}
|
1389
1788
|
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_allow_connect(envoy_config_core_v3_Http2ProtocolOptions *msg, bool value) {
|
1390
|
-
|
1789
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1790
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1391
1791
|
}
|
1392
1792
|
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_allow_metadata(envoy_config_core_v3_Http2ProtocolOptions *msg, bool value) {
|
1393
|
-
|
1793
|
+
const upb_MiniTableField field = {6, UPB_SIZE(21, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1794
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1394
1795
|
}
|
1395
1796
|
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_max_outbound_frames(envoy_config_core_v3_Http2ProtocolOptions *msg, struct google_protobuf_UInt32Value* value) {
|
1396
|
-
|
1397
|
-
|
1797
|
+
const upb_MiniTableField field = {7, UPB_SIZE(24, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1798
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1398
1799
|
}
|
1399
1800
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_mutable_max_outbound_frames(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) {
|
1400
1801
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_max_outbound_frames(msg);
|
1401
1802
|
if (sub == NULL) {
|
1402
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
1403
|
-
if (
|
1404
|
-
envoy_config_core_v3_Http2ProtocolOptions_set_max_outbound_frames(msg, sub);
|
1803
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
1804
|
+
if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_max_outbound_frames(msg, sub);
|
1405
1805
|
}
|
1406
1806
|
return sub;
|
1407
1807
|
}
|
1408
1808
|
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_max_outbound_control_frames(envoy_config_core_v3_Http2ProtocolOptions *msg, struct google_protobuf_UInt32Value* value) {
|
1409
|
-
|
1410
|
-
|
1809
|
+
const upb_MiniTableField field = {8, UPB_SIZE(28, 48), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1810
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1411
1811
|
}
|
1412
1812
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_mutable_max_outbound_control_frames(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) {
|
1413
1813
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_max_outbound_control_frames(msg);
|
1414
1814
|
if (sub == NULL) {
|
1415
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
1416
|
-
if (
|
1417
|
-
envoy_config_core_v3_Http2ProtocolOptions_set_max_outbound_control_frames(msg, sub);
|
1815
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
1816
|
+
if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_max_outbound_control_frames(msg, sub);
|
1418
1817
|
}
|
1419
1818
|
return sub;
|
1420
1819
|
}
|
1421
1820
|
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_max_consecutive_inbound_frames_with_empty_payload(envoy_config_core_v3_Http2ProtocolOptions *msg, struct google_protobuf_UInt32Value* value) {
|
1422
|
-
|
1423
|
-
|
1821
|
+
const upb_MiniTableField field = {9, UPB_SIZE(32, 56), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1822
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1424
1823
|
}
|
1425
1824
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_mutable_max_consecutive_inbound_frames_with_empty_payload(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) {
|
1426
1825
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_max_consecutive_inbound_frames_with_empty_payload(msg);
|
1427
1826
|
if (sub == NULL) {
|
1428
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
1429
|
-
if (
|
1430
|
-
envoy_config_core_v3_Http2ProtocolOptions_set_max_consecutive_inbound_frames_with_empty_payload(msg, sub);
|
1827
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
1828
|
+
if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_max_consecutive_inbound_frames_with_empty_payload(msg, sub);
|
1431
1829
|
}
|
1432
1830
|
return sub;
|
1433
1831
|
}
|
1434
1832
|
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_max_inbound_priority_frames_per_stream(envoy_config_core_v3_Http2ProtocolOptions *msg, struct google_protobuf_UInt32Value* value) {
|
1435
|
-
|
1436
|
-
|
1833
|
+
const upb_MiniTableField field = {10, UPB_SIZE(36, 64), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1834
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1437
1835
|
}
|
1438
1836
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_mutable_max_inbound_priority_frames_per_stream(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) {
|
1439
1837
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_max_inbound_priority_frames_per_stream(msg);
|
1440
1838
|
if (sub == NULL) {
|
1441
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
1442
|
-
if (
|
1443
|
-
envoy_config_core_v3_Http2ProtocolOptions_set_max_inbound_priority_frames_per_stream(msg, sub);
|
1839
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
1840
|
+
if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_max_inbound_priority_frames_per_stream(msg, sub);
|
1444
1841
|
}
|
1445
1842
|
return sub;
|
1446
1843
|
}
|
1447
1844
|
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_max_inbound_window_update_frames_per_data_frame_sent(envoy_config_core_v3_Http2ProtocolOptions *msg, struct google_protobuf_UInt32Value* value) {
|
1448
|
-
|
1449
|
-
|
1845
|
+
const upb_MiniTableField field = {11, UPB_SIZE(40, 72), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1846
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1450
1847
|
}
|
1451
1848
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_mutable_max_inbound_window_update_frames_per_data_frame_sent(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) {
|
1452
1849
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_max_inbound_window_update_frames_per_data_frame_sent(msg);
|
1453
1850
|
if (sub == NULL) {
|
1454
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
1455
|
-
if (
|
1456
|
-
envoy_config_core_v3_Http2ProtocolOptions_set_max_inbound_window_update_frames_per_data_frame_sent(msg, sub);
|
1851
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
1852
|
+
if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_max_inbound_window_update_frames_per_data_frame_sent(msg, sub);
|
1457
1853
|
}
|
1458
1854
|
return sub;
|
1459
1855
|
}
|
1460
1856
|
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_stream_error_on_invalid_http_messaging(envoy_config_core_v3_Http2ProtocolOptions *msg, bool value) {
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1857
|
+
const upb_MiniTableField field = {12, UPB_SIZE(44, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1858
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1859
|
+
}
|
1860
|
+
UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter** envoy_config_core_v3_Http2ProtocolOptions_mutable_custom_settings_parameters(envoy_config_core_v3_Http2ProtocolOptions* msg, size_t* size) {
|
1861
|
+
upb_MiniTableField field = {13, UPB_SIZE(48, 80), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1862
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1863
|
+
if (arr) {
|
1864
|
+
if (size) *size = arr->size;
|
1865
|
+
return (envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter**)_upb_array_ptr(arr);
|
1866
|
+
} else {
|
1867
|
+
if (size) *size = 0;
|
1868
|
+
return NULL;
|
1869
|
+
}
|
1465
1870
|
}
|
1466
|
-
UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter** envoy_config_core_v3_Http2ProtocolOptions_resize_custom_settings_parameters(envoy_config_core_v3_Http2ProtocolOptions* msg, size_t
|
1467
|
-
|
1871
|
+
UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter** envoy_config_core_v3_Http2ProtocolOptions_resize_custom_settings_parameters(envoy_config_core_v3_Http2ProtocolOptions* msg, size_t size, upb_Arena* arena) {
|
1872
|
+
upb_MiniTableField field = {13, UPB_SIZE(48, 80), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1873
|
+
return (envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
1468
1874
|
}
|
1469
1875
|
UPB_INLINE struct envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* envoy_config_core_v3_Http2ProtocolOptions_add_custom_settings_parameters(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) {
|
1470
|
-
|
1471
|
-
|
1472
|
-
if (!
|
1876
|
+
upb_MiniTableField field = {13, UPB_SIZE(48, 80), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1877
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
1878
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
1879
|
+
return NULL;
|
1880
|
+
}
|
1881
|
+
struct envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* sub = (struct envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter*)_upb_Message_New(&envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msg_init, arena);
|
1882
|
+
if (!arr || !sub) return NULL;
|
1883
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
1473
1884
|
return sub;
|
1474
1885
|
}
|
1475
1886
|
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_override_stream_error_on_invalid_http_message(envoy_config_core_v3_Http2ProtocolOptions *msg, struct google_protobuf_BoolValue* value) {
|
1476
|
-
|
1477
|
-
|
1887
|
+
const upb_MiniTableField field = {14, UPB_SIZE(52, 88), 10, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1888
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1478
1889
|
}
|
1479
1890
|
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_Http2ProtocolOptions_mutable_override_stream_error_on_invalid_http_message(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) {
|
1480
1891
|
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_Http2ProtocolOptions_override_stream_error_on_invalid_http_message(msg);
|
1481
1892
|
if (sub == NULL) {
|
1482
|
-
sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&
|
1483
|
-
if (
|
1484
|
-
envoy_config_core_v3_Http2ProtocolOptions_set_override_stream_error_on_invalid_http_message(msg, sub);
|
1893
|
+
sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena);
|
1894
|
+
if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_override_stream_error_on_invalid_http_message(msg, sub);
|
1485
1895
|
}
|
1486
1896
|
return sub;
|
1487
1897
|
}
|
1488
1898
|
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_connection_keepalive(envoy_config_core_v3_Http2ProtocolOptions *msg, envoy_config_core_v3_KeepaliveSettings* value) {
|
1489
|
-
|
1490
|
-
|
1899
|
+
const upb_MiniTableField field = {15, UPB_SIZE(56, 96), 11, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1900
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1491
1901
|
}
|
1492
1902
|
UPB_INLINE struct envoy_config_core_v3_KeepaliveSettings* envoy_config_core_v3_Http2ProtocolOptions_mutable_connection_keepalive(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) {
|
1493
1903
|
struct envoy_config_core_v3_KeepaliveSettings* sub = (struct envoy_config_core_v3_KeepaliveSettings*)envoy_config_core_v3_Http2ProtocolOptions_connection_keepalive(msg);
|
1494
1904
|
if (sub == NULL) {
|
1495
|
-
sub = (struct envoy_config_core_v3_KeepaliveSettings*)_upb_Message_New(&
|
1496
|
-
if (
|
1497
|
-
|
1905
|
+
sub = (struct envoy_config_core_v3_KeepaliveSettings*)_upb_Message_New(&envoy_config_core_v3_KeepaliveSettings_msg_init, arena);
|
1906
|
+
if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_connection_keepalive(msg, sub);
|
1907
|
+
}
|
1908
|
+
return sub;
|
1909
|
+
}
|
1910
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_use_oghttp2_codec(envoy_config_core_v3_Http2ProtocolOptions *msg, struct google_protobuf_BoolValue* value) {
|
1911
|
+
const upb_MiniTableField field = {16, UPB_SIZE(60, 104), 12, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1912
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1913
|
+
}
|
1914
|
+
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_Http2ProtocolOptions_mutable_use_oghttp2_codec(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) {
|
1915
|
+
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_Http2ProtocolOptions_use_oghttp2_codec(msg);
|
1916
|
+
if (sub == NULL) {
|
1917
|
+
sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena);
|
1918
|
+
if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_use_oghttp2_codec(msg, sub);
|
1498
1919
|
}
|
1499
1920
|
return sub;
|
1500
1921
|
}
|
@@ -1502,12 +1923,12 @@ UPB_INLINE struct envoy_config_core_v3_KeepaliveSettings* envoy_config_core_v3_H
|
|
1502
1923
|
/* envoy.config.core.v3.Http2ProtocolOptions.SettingsParameter */
|
1503
1924
|
|
1504
1925
|
UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_new(upb_Arena* arena) {
|
1505
|
-
return (envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter*)_upb_Message_New(&
|
1926
|
+
return (envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter*)_upb_Message_New(&envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msg_init, arena);
|
1506
1927
|
}
|
1507
1928
|
UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1508
1929
|
envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* ret = envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_new(arena);
|
1509
1930
|
if (!ret) return NULL;
|
1510
|
-
if (upb_Decode(buf, size, ret, &
|
1931
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1511
1932
|
return NULL;
|
1512
1933
|
}
|
1513
1934
|
return ret;
|
@@ -1517,7 +1938,7 @@ UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* envoy_co
|
|
1517
1938
|
int options, upb_Arena* arena) {
|
1518
1939
|
envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* ret = envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_new(arena);
|
1519
1940
|
if (!ret) return NULL;
|
1520
|
-
if (upb_Decode(buf, size, ret, &
|
1941
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msg_init, extreg, options, arena) !=
|
1521
1942
|
kUpb_DecodeStatus_Ok) {
|
1522
1943
|
return NULL;
|
1523
1944
|
}
|
@@ -1525,57 +1946,67 @@ UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* envoy_co
|
|
1525
1946
|
}
|
1526
1947
|
UPB_INLINE char* envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_serialize(const envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* msg, upb_Arena* arena, size_t* len) {
|
1527
1948
|
char* ptr;
|
1528
|
-
(void)upb_Encode(msg, &
|
1949
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msg_init, 0, arena, &ptr, len);
|
1529
1950
|
return ptr;
|
1530
1951
|
}
|
1531
1952
|
UPB_INLINE char* envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_serialize_ex(const envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* msg, int options,
|
1532
1953
|
upb_Arena* arena, size_t* len) {
|
1533
1954
|
char* ptr;
|
1534
|
-
(void)upb_Encode(msg, &
|
1955
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msg_init, options, arena, &ptr, len);
|
1535
1956
|
return ptr;
|
1536
1957
|
}
|
1537
|
-
UPB_INLINE
|
1538
|
-
|
1539
|
-
|
1540
|
-
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_clear_identifier(const envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* msg) {
|
1541
|
-
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
|
1958
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_clear_identifier(envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* msg) {
|
1959
|
+
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)};
|
1960
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1542
1961
|
}
|
1543
1962
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_identifier(const envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* msg) {
|
1544
|
-
|
1963
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
1964
|
+
const struct google_protobuf_UInt32Value* ret;
|
1965
|
+
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)};
|
1966
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1967
|
+
return ret;
|
1545
1968
|
}
|
1546
|
-
UPB_INLINE bool
|
1547
|
-
|
1969
|
+
UPB_INLINE bool envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_has_identifier(const envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* msg) {
|
1970
|
+
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)};
|
1971
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1548
1972
|
}
|
1549
|
-
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_clear_value(
|
1550
|
-
|
1973
|
+
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_clear_value(envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* msg) {
|
1974
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1975
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1551
1976
|
}
|
1552
1977
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_value(const envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* msg) {
|
1553
|
-
|
1978
|
+
const struct google_protobuf_UInt32Value* default_val = NULL;
|
1979
|
+
const struct google_protobuf_UInt32Value* ret;
|
1980
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1981
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1982
|
+
return ret;
|
1983
|
+
}
|
1984
|
+
UPB_INLINE bool envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_has_value(const envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* msg) {
|
1985
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1986
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1554
1987
|
}
|
1555
1988
|
|
1556
1989
|
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_set_identifier(envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter *msg, struct google_protobuf_UInt32Value* value) {
|
1557
|
-
|
1558
|
-
|
1990
|
+
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)};
|
1991
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1559
1992
|
}
|
1560
1993
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_mutable_identifier(envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* msg, upb_Arena* arena) {
|
1561
1994
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_identifier(msg);
|
1562
1995
|
if (sub == NULL) {
|
1563
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
1564
|
-
if (
|
1565
|
-
envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_set_identifier(msg, sub);
|
1996
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
1997
|
+
if (sub) envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_set_identifier(msg, sub);
|
1566
1998
|
}
|
1567
1999
|
return sub;
|
1568
2000
|
}
|
1569
2001
|
UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_set_value(envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter *msg, struct google_protobuf_UInt32Value* value) {
|
1570
|
-
|
1571
|
-
|
2002
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2003
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1572
2004
|
}
|
1573
2005
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_mutable_value(envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* msg, upb_Arena* arena) {
|
1574
2006
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_value(msg);
|
1575
2007
|
if (sub == NULL) {
|
1576
|
-
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&
|
1577
|
-
if (
|
1578
|
-
envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_set_value(msg, sub);
|
2008
|
+
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena);
|
2009
|
+
if (sub) envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_set_value(msg, sub);
|
1579
2010
|
}
|
1580
2011
|
return sub;
|
1581
2012
|
}
|
@@ -1583,12 +2014,12 @@ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2Protoco
|
|
1583
2014
|
/* envoy.config.core.v3.GrpcProtocolOptions */
|
1584
2015
|
|
1585
2016
|
UPB_INLINE envoy_config_core_v3_GrpcProtocolOptions* envoy_config_core_v3_GrpcProtocolOptions_new(upb_Arena* arena) {
|
1586
|
-
return (envoy_config_core_v3_GrpcProtocolOptions*)_upb_Message_New(&
|
2017
|
+
return (envoy_config_core_v3_GrpcProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_GrpcProtocolOptions_msg_init, arena);
|
1587
2018
|
}
|
1588
2019
|
UPB_INLINE envoy_config_core_v3_GrpcProtocolOptions* envoy_config_core_v3_GrpcProtocolOptions_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1589
2020
|
envoy_config_core_v3_GrpcProtocolOptions* ret = envoy_config_core_v3_GrpcProtocolOptions_new(arena);
|
1590
2021
|
if (!ret) return NULL;
|
1591
|
-
if (upb_Decode(buf, size, ret, &
|
2022
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1592
2023
|
return NULL;
|
1593
2024
|
}
|
1594
2025
|
return ret;
|
@@ -1598,7 +2029,7 @@ UPB_INLINE envoy_config_core_v3_GrpcProtocolOptions* envoy_config_core_v3_GrpcPr
|
|
1598
2029
|
int options, upb_Arena* arena) {
|
1599
2030
|
envoy_config_core_v3_GrpcProtocolOptions* ret = envoy_config_core_v3_GrpcProtocolOptions_new(arena);
|
1600
2031
|
if (!ret) return NULL;
|
1601
|
-
if (upb_Decode(buf, size, ret, &
|
2032
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcProtocolOptions_msg_init, extreg, options, arena) !=
|
1602
2033
|
kUpb_DecodeStatus_Ok) {
|
1603
2034
|
return NULL;
|
1604
2035
|
}
|
@@ -1606,35 +2037,40 @@ UPB_INLINE envoy_config_core_v3_GrpcProtocolOptions* envoy_config_core_v3_GrpcPr
|
|
1606
2037
|
}
|
1607
2038
|
UPB_INLINE char* envoy_config_core_v3_GrpcProtocolOptions_serialize(const envoy_config_core_v3_GrpcProtocolOptions* msg, upb_Arena* arena, size_t* len) {
|
1608
2039
|
char* ptr;
|
1609
|
-
(void)upb_Encode(msg, &
|
2040
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_GrpcProtocolOptions_msg_init, 0, arena, &ptr, len);
|
1610
2041
|
return ptr;
|
1611
2042
|
}
|
1612
2043
|
UPB_INLINE char* envoy_config_core_v3_GrpcProtocolOptions_serialize_ex(const envoy_config_core_v3_GrpcProtocolOptions* msg, int options,
|
1613
2044
|
upb_Arena* arena, size_t* len) {
|
1614
2045
|
char* ptr;
|
1615
|
-
(void)upb_Encode(msg, &
|
2046
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_GrpcProtocolOptions_msg_init, options, arena, &ptr, len);
|
1616
2047
|
return ptr;
|
1617
2048
|
}
|
1618
|
-
UPB_INLINE
|
1619
|
-
|
1620
|
-
|
1621
|
-
UPB_INLINE void envoy_config_core_v3_GrpcProtocolOptions_clear_http2_protocol_options(const envoy_config_core_v3_GrpcProtocolOptions* msg) {
|
1622
|
-
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
|
2049
|
+
UPB_INLINE void envoy_config_core_v3_GrpcProtocolOptions_clear_http2_protocol_options(envoy_config_core_v3_GrpcProtocolOptions* msg) {
|
2050
|
+
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)};
|
2051
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1623
2052
|
}
|
1624
2053
|
UPB_INLINE const envoy_config_core_v3_Http2ProtocolOptions* envoy_config_core_v3_GrpcProtocolOptions_http2_protocol_options(const envoy_config_core_v3_GrpcProtocolOptions* msg) {
|
1625
|
-
|
2054
|
+
const envoy_config_core_v3_Http2ProtocolOptions* default_val = NULL;
|
2055
|
+
const envoy_config_core_v3_Http2ProtocolOptions* ret;
|
2056
|
+
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)};
|
2057
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2058
|
+
return ret;
|
2059
|
+
}
|
2060
|
+
UPB_INLINE bool envoy_config_core_v3_GrpcProtocolOptions_has_http2_protocol_options(const envoy_config_core_v3_GrpcProtocolOptions* msg) {
|
2061
|
+
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)};
|
2062
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1626
2063
|
}
|
1627
2064
|
|
1628
2065
|
UPB_INLINE void envoy_config_core_v3_GrpcProtocolOptions_set_http2_protocol_options(envoy_config_core_v3_GrpcProtocolOptions *msg, envoy_config_core_v3_Http2ProtocolOptions* value) {
|
1629
|
-
|
1630
|
-
|
2066
|
+
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)};
|
2067
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1631
2068
|
}
|
1632
2069
|
UPB_INLINE struct envoy_config_core_v3_Http2ProtocolOptions* envoy_config_core_v3_GrpcProtocolOptions_mutable_http2_protocol_options(envoy_config_core_v3_GrpcProtocolOptions* msg, upb_Arena* arena) {
|
1633
2070
|
struct envoy_config_core_v3_Http2ProtocolOptions* sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)envoy_config_core_v3_GrpcProtocolOptions_http2_protocol_options(msg);
|
1634
2071
|
if (sub == NULL) {
|
1635
|
-
sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)_upb_Message_New(&
|
1636
|
-
if (
|
1637
|
-
envoy_config_core_v3_GrpcProtocolOptions_set_http2_protocol_options(msg, sub);
|
2072
|
+
sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_Http2ProtocolOptions_msg_init, arena);
|
2073
|
+
if (sub) envoy_config_core_v3_GrpcProtocolOptions_set_http2_protocol_options(msg, sub);
|
1638
2074
|
}
|
1639
2075
|
return sub;
|
1640
2076
|
}
|
@@ -1642,12 +2078,12 @@ UPB_INLINE struct envoy_config_core_v3_Http2ProtocolOptions* envoy_config_core_v
|
|
1642
2078
|
/* envoy.config.core.v3.Http3ProtocolOptions */
|
1643
2079
|
|
1644
2080
|
UPB_INLINE envoy_config_core_v3_Http3ProtocolOptions* envoy_config_core_v3_Http3ProtocolOptions_new(upb_Arena* arena) {
|
1645
|
-
return (envoy_config_core_v3_Http3ProtocolOptions*)_upb_Message_New(&
|
2081
|
+
return (envoy_config_core_v3_Http3ProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_Http3ProtocolOptions_msg_init, arena);
|
1646
2082
|
}
|
1647
2083
|
UPB_INLINE envoy_config_core_v3_Http3ProtocolOptions* envoy_config_core_v3_Http3ProtocolOptions_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1648
2084
|
envoy_config_core_v3_Http3ProtocolOptions* ret = envoy_config_core_v3_Http3ProtocolOptions_new(arena);
|
1649
2085
|
if (!ret) return NULL;
|
1650
|
-
if (upb_Decode(buf, size, ret, &
|
2086
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http3ProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1651
2087
|
return NULL;
|
1652
2088
|
}
|
1653
2089
|
return ret;
|
@@ -1657,7 +2093,7 @@ UPB_INLINE envoy_config_core_v3_Http3ProtocolOptions* envoy_config_core_v3_Http3
|
|
1657
2093
|
int options, upb_Arena* arena) {
|
1658
2094
|
envoy_config_core_v3_Http3ProtocolOptions* ret = envoy_config_core_v3_Http3ProtocolOptions_new(arena);
|
1659
2095
|
if (!ret) return NULL;
|
1660
|
-
if (upb_Decode(buf, size, ret, &
|
2096
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http3ProtocolOptions_msg_init, extreg, options, arena) !=
|
1661
2097
|
kUpb_DecodeStatus_Ok) {
|
1662
2098
|
return NULL;
|
1663
2099
|
}
|
@@ -1665,79 +2101,95 @@ UPB_INLINE envoy_config_core_v3_Http3ProtocolOptions* envoy_config_core_v3_Http3
|
|
1665
2101
|
}
|
1666
2102
|
UPB_INLINE char* envoy_config_core_v3_Http3ProtocolOptions_serialize(const envoy_config_core_v3_Http3ProtocolOptions* msg, upb_Arena* arena, size_t* len) {
|
1667
2103
|
char* ptr;
|
1668
|
-
(void)upb_Encode(msg, &
|
2104
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_Http3ProtocolOptions_msg_init, 0, arena, &ptr, len);
|
1669
2105
|
return ptr;
|
1670
2106
|
}
|
1671
2107
|
UPB_INLINE char* envoy_config_core_v3_Http3ProtocolOptions_serialize_ex(const envoy_config_core_v3_Http3ProtocolOptions* msg, int options,
|
1672
2108
|
upb_Arena* arena, size_t* len) {
|
1673
2109
|
char* ptr;
|
1674
|
-
(void)upb_Encode(msg, &
|
2110
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_Http3ProtocolOptions_msg_init, options, arena, &ptr, len);
|
1675
2111
|
return ptr;
|
1676
2112
|
}
|
1677
|
-
UPB_INLINE
|
1678
|
-
|
1679
|
-
|
1680
|
-
UPB_INLINE void envoy_config_core_v3_Http3ProtocolOptions_clear_quic_protocol_options(const envoy_config_core_v3_Http3ProtocolOptions* msg) {
|
1681
|
-
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
|
2113
|
+
UPB_INLINE void envoy_config_core_v3_Http3ProtocolOptions_clear_quic_protocol_options(envoy_config_core_v3_Http3ProtocolOptions* msg) {
|
2114
|
+
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)};
|
2115
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1682
2116
|
}
|
1683
2117
|
UPB_INLINE const envoy_config_core_v3_QuicProtocolOptions* envoy_config_core_v3_Http3ProtocolOptions_quic_protocol_options(const envoy_config_core_v3_Http3ProtocolOptions* msg) {
|
1684
|
-
|
2118
|
+
const envoy_config_core_v3_QuicProtocolOptions* default_val = NULL;
|
2119
|
+
const envoy_config_core_v3_QuicProtocolOptions* ret;
|
2120
|
+
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)};
|
2121
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2122
|
+
return ret;
|
1685
2123
|
}
|
1686
|
-
UPB_INLINE bool
|
1687
|
-
|
2124
|
+
UPB_INLINE bool envoy_config_core_v3_Http3ProtocolOptions_has_quic_protocol_options(const envoy_config_core_v3_Http3ProtocolOptions* msg) {
|
2125
|
+
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)};
|
2126
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1688
2127
|
}
|
1689
|
-
UPB_INLINE void envoy_config_core_v3_Http3ProtocolOptions_clear_override_stream_error_on_invalid_http_message(
|
1690
|
-
|
2128
|
+
UPB_INLINE void envoy_config_core_v3_Http3ProtocolOptions_clear_override_stream_error_on_invalid_http_message(envoy_config_core_v3_Http3ProtocolOptions* msg) {
|
2129
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2130
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1691
2131
|
}
|
1692
2132
|
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_core_v3_Http3ProtocolOptions_override_stream_error_on_invalid_http_message(const envoy_config_core_v3_Http3ProtocolOptions* msg) {
|
1693
|
-
|
2133
|
+
const struct google_protobuf_BoolValue* default_val = NULL;
|
2134
|
+
const struct google_protobuf_BoolValue* ret;
|
2135
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2136
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2137
|
+
return ret;
|
2138
|
+
}
|
2139
|
+
UPB_INLINE bool envoy_config_core_v3_Http3ProtocolOptions_has_override_stream_error_on_invalid_http_message(const envoy_config_core_v3_Http3ProtocolOptions* msg) {
|
2140
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2141
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1694
2142
|
}
|
1695
|
-
UPB_INLINE void envoy_config_core_v3_Http3ProtocolOptions_clear_allow_extended_connect(
|
1696
|
-
|
2143
|
+
UPB_INLINE void envoy_config_core_v3_Http3ProtocolOptions_clear_allow_extended_connect(envoy_config_core_v3_Http3ProtocolOptions* msg) {
|
2144
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2145
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1697
2146
|
}
|
1698
2147
|
UPB_INLINE bool envoy_config_core_v3_Http3ProtocolOptions_allow_extended_connect(const envoy_config_core_v3_Http3ProtocolOptions* msg) {
|
1699
|
-
|
2148
|
+
bool default_val = false;
|
2149
|
+
bool ret;
|
2150
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2151
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2152
|
+
return ret;
|
1700
2153
|
}
|
1701
2154
|
|
1702
2155
|
UPB_INLINE void envoy_config_core_v3_Http3ProtocolOptions_set_quic_protocol_options(envoy_config_core_v3_Http3ProtocolOptions *msg, envoy_config_core_v3_QuicProtocolOptions* value) {
|
1703
|
-
|
1704
|
-
|
2156
|
+
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)};
|
2157
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1705
2158
|
}
|
1706
2159
|
UPB_INLINE struct envoy_config_core_v3_QuicProtocolOptions* envoy_config_core_v3_Http3ProtocolOptions_mutable_quic_protocol_options(envoy_config_core_v3_Http3ProtocolOptions* msg, upb_Arena* arena) {
|
1707
2160
|
struct envoy_config_core_v3_QuicProtocolOptions* sub = (struct envoy_config_core_v3_QuicProtocolOptions*)envoy_config_core_v3_Http3ProtocolOptions_quic_protocol_options(msg);
|
1708
2161
|
if (sub == NULL) {
|
1709
|
-
sub = (struct envoy_config_core_v3_QuicProtocolOptions*)_upb_Message_New(&
|
1710
|
-
if (
|
1711
|
-
envoy_config_core_v3_Http3ProtocolOptions_set_quic_protocol_options(msg, sub);
|
2162
|
+
sub = (struct envoy_config_core_v3_QuicProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_QuicProtocolOptions_msg_init, arena);
|
2163
|
+
if (sub) envoy_config_core_v3_Http3ProtocolOptions_set_quic_protocol_options(msg, sub);
|
1712
2164
|
}
|
1713
2165
|
return sub;
|
1714
2166
|
}
|
1715
2167
|
UPB_INLINE void envoy_config_core_v3_Http3ProtocolOptions_set_override_stream_error_on_invalid_http_message(envoy_config_core_v3_Http3ProtocolOptions *msg, struct google_protobuf_BoolValue* value) {
|
1716
|
-
|
1717
|
-
|
2168
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2169
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1718
2170
|
}
|
1719
2171
|
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_Http3ProtocolOptions_mutable_override_stream_error_on_invalid_http_message(envoy_config_core_v3_Http3ProtocolOptions* msg, upb_Arena* arena) {
|
1720
2172
|
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_Http3ProtocolOptions_override_stream_error_on_invalid_http_message(msg);
|
1721
2173
|
if (sub == NULL) {
|
1722
|
-
sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&
|
1723
|
-
if (
|
1724
|
-
envoy_config_core_v3_Http3ProtocolOptions_set_override_stream_error_on_invalid_http_message(msg, sub);
|
2174
|
+
sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena);
|
2175
|
+
if (sub) envoy_config_core_v3_Http3ProtocolOptions_set_override_stream_error_on_invalid_http_message(msg, sub);
|
1725
2176
|
}
|
1726
2177
|
return sub;
|
1727
2178
|
}
|
1728
2179
|
UPB_INLINE void envoy_config_core_v3_Http3ProtocolOptions_set_allow_extended_connect(envoy_config_core_v3_Http3ProtocolOptions *msg, bool value) {
|
1729
|
-
|
2180
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2181
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1730
2182
|
}
|
1731
2183
|
|
1732
2184
|
/* envoy.config.core.v3.SchemeHeaderTransformation */
|
1733
2185
|
|
1734
2186
|
UPB_INLINE envoy_config_core_v3_SchemeHeaderTransformation* envoy_config_core_v3_SchemeHeaderTransformation_new(upb_Arena* arena) {
|
1735
|
-
return (envoy_config_core_v3_SchemeHeaderTransformation*)_upb_Message_New(&
|
2187
|
+
return (envoy_config_core_v3_SchemeHeaderTransformation*)_upb_Message_New(&envoy_config_core_v3_SchemeHeaderTransformation_msg_init, arena);
|
1736
2188
|
}
|
1737
2189
|
UPB_INLINE envoy_config_core_v3_SchemeHeaderTransformation* envoy_config_core_v3_SchemeHeaderTransformation_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1738
2190
|
envoy_config_core_v3_SchemeHeaderTransformation* ret = envoy_config_core_v3_SchemeHeaderTransformation_new(arena);
|
1739
2191
|
if (!ret) return NULL;
|
1740
|
-
if (upb_Decode(buf, size, ret, &
|
2192
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_SchemeHeaderTransformation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1741
2193
|
return NULL;
|
1742
2194
|
}
|
1743
2195
|
return ret;
|
@@ -1747,7 +2199,7 @@ UPB_INLINE envoy_config_core_v3_SchemeHeaderTransformation* envoy_config_core_v3
|
|
1747
2199
|
int options, upb_Arena* arena) {
|
1748
2200
|
envoy_config_core_v3_SchemeHeaderTransformation* ret = envoy_config_core_v3_SchemeHeaderTransformation_new(arena);
|
1749
2201
|
if (!ret) return NULL;
|
1750
|
-
if (upb_Decode(buf, size, ret, &
|
2202
|
+
if (upb_Decode(buf, size, ret, &envoy_config_core_v3_SchemeHeaderTransformation_msg_init, extreg, options, arena) !=
|
1751
2203
|
kUpb_DecodeStatus_Ok) {
|
1752
2204
|
return NULL;
|
1753
2205
|
}
|
@@ -1755,13 +2207,13 @@ UPB_INLINE envoy_config_core_v3_SchemeHeaderTransformation* envoy_config_core_v3
|
|
1755
2207
|
}
|
1756
2208
|
UPB_INLINE char* envoy_config_core_v3_SchemeHeaderTransformation_serialize(const envoy_config_core_v3_SchemeHeaderTransformation* msg, upb_Arena* arena, size_t* len) {
|
1757
2209
|
char* ptr;
|
1758
|
-
(void)upb_Encode(msg, &
|
2210
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_SchemeHeaderTransformation_msg_init, 0, arena, &ptr, len);
|
1759
2211
|
return ptr;
|
1760
2212
|
}
|
1761
2213
|
UPB_INLINE char* envoy_config_core_v3_SchemeHeaderTransformation_serialize_ex(const envoy_config_core_v3_SchemeHeaderTransformation* msg, int options,
|
1762
2214
|
upb_Arena* arena, size_t* len) {
|
1763
2215
|
char* ptr;
|
1764
|
-
(void)upb_Encode(msg, &
|
2216
|
+
(void)upb_Encode(msg, &envoy_config_core_v3_SchemeHeaderTransformation_msg_init, options, arena, &ptr, len);
|
1765
2217
|
return ptr;
|
1766
2218
|
}
|
1767
2219
|
typedef enum {
|
@@ -1769,28 +2221,36 @@ typedef enum {
|
|
1769
2221
|
envoy_config_core_v3_SchemeHeaderTransformation_transformation_NOT_SET = 0
|
1770
2222
|
} envoy_config_core_v3_SchemeHeaderTransformation_transformation_oneofcases;
|
1771
2223
|
UPB_INLINE envoy_config_core_v3_SchemeHeaderTransformation_transformation_oneofcases envoy_config_core_v3_SchemeHeaderTransformation_transformation_case(const envoy_config_core_v3_SchemeHeaderTransformation* msg) {
|
1772
|
-
|
1773
|
-
|
1774
|
-
UPB_INLINE bool envoy_config_core_v3_SchemeHeaderTransformation_has_scheme_to_overwrite(const envoy_config_core_v3_SchemeHeaderTransformation* msg) {
|
1775
|
-
return _upb_getoneofcase(msg, UPB_SIZE(0, 0)) == 1;
|
2224
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2225
|
+
return (envoy_config_core_v3_SchemeHeaderTransformation_transformation_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field);
|
1776
2226
|
}
|
1777
|
-
UPB_INLINE void envoy_config_core_v3_SchemeHeaderTransformation_clear_scheme_to_overwrite(
|
1778
|
-
|
2227
|
+
UPB_INLINE void envoy_config_core_v3_SchemeHeaderTransformation_clear_scheme_to_overwrite(envoy_config_core_v3_SchemeHeaderTransformation* msg) {
|
2228
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2229
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1779
2230
|
}
|
1780
2231
|
UPB_INLINE upb_StringView envoy_config_core_v3_SchemeHeaderTransformation_scheme_to_overwrite(const envoy_config_core_v3_SchemeHeaderTransformation* msg) {
|
1781
|
-
|
2232
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
2233
|
+
upb_StringView ret;
|
2234
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2235
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2236
|
+
return ret;
|
2237
|
+
}
|
2238
|
+
UPB_INLINE bool envoy_config_core_v3_SchemeHeaderTransformation_has_scheme_to_overwrite(const envoy_config_core_v3_SchemeHeaderTransformation* msg) {
|
2239
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2240
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1782
2241
|
}
|
1783
2242
|
|
1784
2243
|
UPB_INLINE void envoy_config_core_v3_SchemeHeaderTransformation_set_scheme_to_overwrite(envoy_config_core_v3_SchemeHeaderTransformation *msg, upb_StringView value) {
|
1785
|
-
|
2244
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2245
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1786
2246
|
}
|
1787
2247
|
|
1788
|
-
extern const
|
2248
|
+
extern const upb_MiniTableFile envoy_config_core_v3_protocol_proto_upb_file_layout;
|
1789
2249
|
|
1790
2250
|
#ifdef __cplusplus
|
1791
2251
|
} /* extern "C" */
|
1792
2252
|
#endif
|
1793
2253
|
|
1794
|
-
#include "upb/
|
2254
|
+
#include "upb/port/undef.inc"
|
1795
2255
|
|
1796
2256
|
#endif /* ENVOY_CONFIG_CORE_V3_PROTOCOL_PROTO_UPB_H_ */
|