grpc 1.65.2 → 1.66.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +17 -7
- data/include/grpc/event_engine/event_engine.h +14 -0
- data/include/grpc/event_engine/extensible.h +3 -0
- data/include/grpc/event_engine/memory_request.h +18 -0
- data/include/grpc/support/log.h +0 -18
- data/include/grpc/support/metrics.h +14 -3
- data/include/grpc/support/port_platform.h +22 -0
- data/src/core/client_channel/client_channel.cc +125 -30
- data/src/core/client_channel/client_channel_filter.cc +37 -113
- data/src/core/client_channel/client_channel_internal.h +6 -0
- data/src/core/client_channel/config_selector.h +17 -14
- data/src/core/client_channel/direct_channel.cc +83 -0
- data/src/core/client_channel/direct_channel.h +101 -0
- data/src/core/client_channel/dynamic_filters.cc +3 -1
- data/src/core/client_channel/lb_metadata.cc +120 -0
- data/src/core/client_channel/lb_metadata.h +56 -0
- data/src/core/client_channel/load_balanced_call_destination.cc +8 -70
- data/src/core/client_channel/retry_filter.cc +1 -1
- data/src/core/client_channel/retry_filter_legacy_call_data.cc +164 -185
- data/src/core/client_channel/subchannel.cc +58 -42
- data/src/core/client_channel/subchannel.h +4 -10
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +6 -7
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +2 -0
- data/src/core/ext/filters/census/grpc_context.cc +4 -4
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +13 -14
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h +4 -0
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +4 -5
- data/src/core/ext/filters/fault_injection/fault_injection_filter.h +2 -0
- data/src/core/ext/filters/http/client/http_client_filter.cc +1 -1
- data/src/core/ext/filters/http/client/http_client_filter.h +2 -0
- data/src/core/ext/filters/http/client_authority_filter.cc +1 -2
- data/src/core/ext/filters/http/client_authority_filter.h +2 -0
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +16 -19
- data/src/core/ext/filters/http/message_compress/compression_filter.h +5 -0
- data/src/core/ext/filters/http/server/http_server_filter.cc +4 -4
- data/src/core/ext/filters/http/server/http_server_filter.h +2 -0
- data/src/core/ext/filters/message_size/message_size_filter.cc +12 -14
- data/src/core/ext/filters/message_size/message_size_filter.h +4 -0
- data/src/core/ext/filters/rbac/rbac_filter.cc +1 -1
- data/src/core/ext/filters/rbac/rbac_filter.h +2 -0
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +1 -2
- data/src/core/ext/filters/stateful_session/stateful_session_filter.h +2 -0
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +53 -66
- data/src/core/ext/transport/chttp2/client/chttp2_connector.h +1 -1
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +90 -112
- data/src/core/ext/transport/chttp2/transport/bin_decoder.cc +17 -29
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +189 -168
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +2 -2
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +3 -3
- data/src/core/ext/transport/chttp2/transport/frame_data.cc +3 -7
- data/src/core/ext/transport/chttp2/transport/frame_data.h +2 -1
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +7 -8
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +12 -10
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +5 -3
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +9 -10
- data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +7 -3
- data/src/core/ext/transport/chttp2/transport/frame_window_update.h +3 -1
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +4 -5
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +4 -5
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +47 -38
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +2 -0
- data/src/core/ext/transport/chttp2/transport/internal.h +54 -9
- data/src/core/ext/transport/chttp2/transport/parsing.cc +59 -59
- data/src/core/ext/transport/chttp2/transport/stream_lists.cc +7 -7
- data/src/core/ext/transport/chttp2/transport/writing.cc +105 -79
- data/src/core/ext/transport/inproc/inproc_transport.cc +94 -35
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +101 -98
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +11 -11
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +15 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +23 -23
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +12 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +11 -11
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +15 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +50 -50
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +57 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +110 -78
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +23 -15
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +4 -4
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +11 -2
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +30 -30
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +48 -0
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +361 -250
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +139 -48
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +1 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +10 -10
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +314 -137
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +120 -22
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +1 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +115 -23
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +27 -3
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +31 -31
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +45 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +23 -23
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +24 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +646 -68
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +230 -16
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +5 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +21 -21
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +21 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +130 -58
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +63 -12
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +104 -58
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +42 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +132 -72
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +65 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +7 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +7 -7
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +12 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +58 -30
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +30 -7
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +237 -33
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +58 -12
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +1 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +59 -43
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +37 -6
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +25 -25
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +21 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +66 -9
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +10 -3
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +5 -5
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +18 -18
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +24 -0
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +17 -17
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +30 -0
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +63 -34
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +39 -4
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +9 -9
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +273 -229
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +191 -14
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +31 -31
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +36 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +109 -12
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +38 -11
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +1 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +11 -11
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +4 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +7 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +114 -98
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +52 -3
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +7 -7
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +15 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +18 -18
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +41 -9
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +15 -3
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +8 -8
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +4 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +146 -130
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +74 -10
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +10 -10
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +15 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +7 -7
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +111 -27
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +43 -7
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +1 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +8 -8
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +35 -35
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +21 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +16 -16
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +12 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +36 -36
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +42 -0
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +4 -4
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +20 -20
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +15 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +12 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +5 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +15 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +4 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +5 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +37 -6
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +20 -3
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +8 -8
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +12 -0
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +21 -0
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +13 -13
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +15 -0
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +5 -5
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/google/api/annotations.upb.h +10 -1
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +32 -32
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +39 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +43 -43
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +42 -0
- data/src/core/ext/upb-gen/google/api/http.upb.h +12 -12
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/google/api/httpbody.upb.h +2 -2
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/google/protobuf/any.upb.h +2 -2
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +381 -177
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +148 -22
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +1 -0
- data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +2 -2
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +6 -6
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +12 -0
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +2 -2
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +9 -9
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +27 -0
- data/src/core/ext/upb-gen/google/rpc/status.upb.h +2 -2
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +10 -10
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +12 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +6 -6
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +35 -35
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +36 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +4 -4
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +2 -2
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +18 -18
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +27 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +4 -4
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +15 -15
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +27 -0
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +54 -9
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +12 -3
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +1 -1
- data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +12 -3
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +11 -2
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/validate/validate.upb.h +175 -166
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +69 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +54 -9
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +12 -3
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +1 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +35 -8
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +12 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +11 -2
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +1 -1
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +2 -2
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +5 -5
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +2 -2
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +3 -3
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +7 -7
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +4 -4
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +6 -6
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +12 -0
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +1 -1
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +2 -2
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +1 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +2 -2
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +18 -18
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +30 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +3 -3
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +18 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +2 -2
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +6 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +4 -4
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +6 -6
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +2 -2
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +3 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c +86 -81
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c +61 -60
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +221 -210
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c +317 -297
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c +114 -105
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c +185 -140
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +25 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c +10 -11
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c +173 -164
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c +197 -187
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c +229 -222
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +39 -36
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c +122 -93
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c +41 -39
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c +20 -12
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c +69 -65
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c +611 -604
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c +30 -20
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c +18 -17
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c +62 -59
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c +21 -20
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c +145 -142
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +36 -33
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +290 -288
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +82 -75
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c +39 -33
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +281 -256
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +5 -0
- data/src/core/handshaker/endpoint_info/endpoint_info_handshaker.cc +9 -7
- data/src/core/handshaker/handshaker.cc +122 -135
- data/src/core/handshaker/handshaker.h +51 -43
- data/src/core/handshaker/http_connect/http_connect_handshaker.cc +102 -137
- data/src/core/handshaker/http_connect/http_proxy_mapper.cc +13 -16
- data/src/core/handshaker/security/secure_endpoint.cc +51 -42
- data/src/core/handshaker/security/secure_endpoint.h +5 -3
- data/src/core/handshaker/security/security_handshaker.cc +95 -119
- data/src/core/handshaker/tcp_connect/tcp_connect_handshaker.cc +36 -49
- data/src/core/lib/channel/channel_args.h +5 -0
- data/src/core/lib/channel/channel_stack.cc +3 -8
- data/src/core/lib/channel/channel_stack.h +2 -12
- data/src/core/lib/channel/connected_channel.cc +2 -2
- data/src/core/lib/channel/promise_based_filter.cc +120 -145
- data/src/core/lib/channel/promise_based_filter.h +6 -18
- data/src/core/lib/compression/compression.cc +3 -3
- data/src/core/lib/config/config_vars.cc +1 -8
- data/src/core/lib/config/config_vars.h +0 -6
- data/src/core/lib/debug/trace.cc +1 -2
- data/src/core/lib/debug/trace_flags.cc +2 -0
- data/src/core/lib/debug/trace_flags.h +1 -0
- data/src/core/lib/debug/trace_impl.h +4 -0
- data/src/core/lib/event_engine/ares_resolver.cc +47 -0
- data/src/core/lib/event_engine/ares_resolver.h +13 -6
- data/src/core/lib/event_engine/cf_engine/cf_engine.cc +10 -11
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +29 -28
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +0 -1
- data/src/core/lib/event_engine/default_event_engine.cc +6 -7
- data/src/core/lib/event_engine/event_engine.cc +8 -2
- data/src/core/lib/event_engine/event_engine_context.h +4 -2
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +32 -30
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +7 -21
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +3 -3
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +17 -10
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +2 -0
- data/src/core/lib/event_engine/posix_engine/timer_manager.cc +7 -8
- data/src/core/lib/event_engine/thread_pool/thread_count.cc +3 -2
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +10 -12
- data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.cc +32 -6
- data/src/core/lib/event_engine/windows/iocp.cc +10 -9
- data/src/core/lib/event_engine/windows/win_socket.cc +14 -12
- data/src/core/lib/event_engine/windows/windows_endpoint.cc +10 -8
- data/src/core/lib/event_engine/windows/windows_engine.cc +35 -40
- data/src/core/lib/event_engine/windows/windows_listener.cc +8 -11
- data/src/core/lib/experiments/config.cc +33 -7
- data/src/core/lib/experiments/config.h +55 -1
- data/src/core/lib/experiments/experiments.cc +15 -51
- data/src/core/lib/experiments/experiments.h +33 -49
- data/src/core/lib/gprpp/bitset.h +1 -1
- data/src/core/lib/gprpp/construct_destruct.h +2 -2
- data/src/core/lib/gprpp/debug_location.h +7 -0
- data/src/core/lib/gprpp/down_cast.h +2 -2
- data/src/core/lib/gprpp/dump_args.cc +8 -8
- data/src/core/lib/gprpp/dump_args.h +51 -3
- data/src/core/lib/gprpp/status_helper.cc +1 -1
- data/src/core/lib/gprpp/table.h +23 -15
- data/src/core/lib/gprpp/time.h +12 -17
- data/src/core/lib/gprpp/unique_type_name.h +28 -8
- data/src/core/lib/gprpp/work_serializer.cc +22 -17
- data/src/core/lib/iomgr/call_combiner.cc +28 -44
- data/src/core/lib/iomgr/call_combiner.h +7 -5
- data/src/core/lib/iomgr/cfstream_handle.cc +10 -10
- data/src/core/lib/iomgr/closure.h +5 -5
- data/src/core/lib/iomgr/combiner.cc +30 -39
- data/src/core/lib/iomgr/endpoint.h +2 -0
- data/src/core/lib/iomgr/endpoint_cfstream.cc +21 -25
- data/src/core/lib/iomgr/error.cc +3 -3
- data/src/core/lib/iomgr/ev_apple.cc +3 -3
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +31 -38
- data/src/core/lib/iomgr/ev_poll_posix.cc +14 -14
- data/src/core/lib/iomgr/ev_posix.cc +5 -4
- data/src/core/lib/iomgr/ev_posix.h +3 -3
- data/src/core/lib/iomgr/event_engine_shims/closure.cc +6 -6
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +9 -11
- data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +7 -10
- data/src/core/lib/iomgr/exec_ctx.cc +6 -6
- data/src/core/lib/iomgr/executor.cc +8 -5
- data/src/core/lib/iomgr/lockfree_event.cc +6 -9
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +13 -13
- data/src/core/lib/iomgr/tcp_client_cfstream.cc +8 -7
- data/src/core/lib/iomgr/tcp_client_posix.cc +6 -7
- data/src/core/lib/iomgr/tcp_posix.cc +30 -34
- data/src/core/lib/iomgr/tcp_server_posix.cc +20 -29
- data/src/core/lib/iomgr/tcp_windows.cc +8 -12
- data/src/core/lib/iomgr/timer_generic.cc +52 -61
- data/src/core/lib/iomgr/timer_manager.cc +4 -6
- data/src/core/lib/promise/activity.h +13 -2
- data/src/core/lib/promise/all_ok.h +15 -8
- data/src/core/lib/promise/cancel_callback.h +11 -7
- data/src/core/lib/promise/context.h +7 -7
- data/src/core/lib/promise/detail/join_state.h +418 -579
- data/src/core/lib/promise/detail/promise_factory.h +44 -27
- data/src/core/lib/promise/detail/promise_like.h +14 -5
- data/src/core/lib/promise/detail/seq_state.h +208 -614
- data/src/core/lib/promise/detail/status.h +34 -13
- data/src/core/lib/promise/for_each.h +25 -20
- data/src/core/lib/promise/if.h +19 -15
- data/src/core/lib/promise/interceptor_list.h +12 -13
- data/src/core/lib/promise/latch.h +9 -14
- data/src/core/lib/promise/loop.h +13 -8
- data/src/core/lib/promise/map.h +9 -8
- data/src/core/lib/promise/party.cc +81 -62
- data/src/core/lib/promise/party.h +68 -89
- data/src/core/lib/promise/pipe.h +2 -3
- data/src/core/lib/promise/poll.h +99 -33
- data/src/core/lib/promise/promise.h +11 -5
- data/src/core/lib/promise/race.h +10 -5
- data/src/core/lib/promise/seq.h +51 -36
- data/src/core/lib/promise/status_flag.h +146 -47
- data/src/core/lib/promise/try_join.h +34 -18
- data/src/core/lib/promise/try_seq.h +83 -46
- data/src/core/lib/resource_quota/arena.cc +19 -17
- data/src/core/lib/resource_quota/arena.h +30 -10
- data/src/core/lib/resource_quota/memory_quota.cc +14 -15
- data/src/core/lib/resource_quota/memory_quota.h +3 -2
- data/src/core/lib/resource_quota/periodic_update.cc +3 -2
- data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +13 -17
- data/src/core/lib/security/authorization/grpc_server_authz_filter.h +2 -0
- data/src/core/lib/security/context/security_context.cc +31 -28
- data/src/core/lib/security/credentials/alts/check_gcp_environment.cc +1 -1
- data/src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc +1 -1
- data/src/core/lib/security/credentials/composite/composite_credentials.cc +7 -9
- data/src/core/lib/security/credentials/credentials.cc +11 -9
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +2 -3
- data/src/core/lib/security/credentials/iam/iam_credentials.cc +3 -5
- data/src/core/lib/security/credentials/jwt/json_token.cc +1 -1
- data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +8 -14
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +19 -23
- data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +11 -18
- data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +16 -20
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +5 -6
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc +2 -3
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +5 -7
- data/src/core/lib/security/credentials/tls/tls_credentials.cc +2 -2
- data/src/core/lib/security/credentials/xds/xds_credentials.cc +12 -8
- data/src/core/lib/security/security_connector/security_connector.cc +3 -3
- data/src/core/lib/security/security_connector/ssl_utils.cc +9 -6
- data/src/core/lib/security/transport/auth_filters.h +4 -0
- data/src/core/lib/security/transport/client_auth_filter.cc +1 -2
- data/src/core/lib/security/transport/server_auth_filter.cc +8 -11
- data/src/core/lib/slice/slice_refcount.h +4 -6
- data/src/core/lib/surface/call.cc +40 -26
- data/src/core/lib/surface/call.h +28 -18
- data/src/core/lib/surface/call_details.cc +4 -3
- data/src/core/lib/surface/call_log_batch.cc +4 -5
- data/src/core/lib/surface/call_utils.cc +5 -7
- data/src/core/lib/surface/channel.cc +32 -34
- data/src/core/lib/surface/channel_create.cc +15 -6
- data/src/core/lib/surface/channel_init.cc +257 -196
- data/src/core/lib/surface/channel_init.h +156 -21
- data/src/core/lib/surface/client_call.cc +32 -21
- data/src/core/lib/surface/client_call.h +12 -12
- data/src/core/lib/surface/completion_queue.cc +51 -64
- data/src/core/lib/surface/filter_stack_call.cc +15 -14
- data/src/core/lib/surface/init.cc +25 -7
- data/src/core/lib/surface/lame_client.cc +1 -2
- data/src/core/lib/surface/lame_client.h +2 -0
- data/src/core/lib/surface/legacy_channel.cc +9 -7
- data/src/core/lib/surface/metadata_array.cc +4 -3
- data/src/core/lib/surface/server_call.cc +2 -0
- data/src/core/lib/surface/server_call.h +8 -6
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/bdp_estimator.cc +7 -9
- data/src/core/lib/transport/bdp_estimator.h +5 -5
- data/src/core/lib/transport/call_arena_allocator.h +2 -0
- data/src/core/lib/transport/call_filters.cc +72 -319
- data/src/core/lib/transport/call_filters.h +347 -770
- data/src/core/lib/transport/call_spine.cc +99 -72
- data/src/core/lib/transport/call_spine.h +23 -73
- data/src/core/lib/transport/call_state.cc +39 -0
- data/src/core/lib/transport/call_state.h +957 -0
- data/src/core/lib/transport/connectivity_state.cc +28 -25
- data/src/core/lib/transport/interception_chain.cc +6 -14
- data/src/core/lib/transport/interception_chain.h +34 -26
- data/src/core/lib/transport/metadata.cc +27 -3
- data/src/core/lib/transport/metadata.h +37 -2
- data/src/core/lib/transport/metadata_batch.h +5 -0
- data/src/core/lib/transport/transport.h +9 -5
- data/src/core/load_balancing/child_policy_handler.cc +24 -27
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.cc +1 -2
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +3 -0
- data/src/core/load_balancing/grpclb/grpclb.cc +95 -106
- data/src/core/load_balancing/health_check_client.cc +35 -41
- data/src/core/load_balancing/lb_policy.h +42 -22
- data/src/core/load_balancing/oob_backend_metric.cc +4 -4
- data/src/core/load_balancing/outlier_detection/outlier_detection.cc +86 -104
- data/src/core/load_balancing/pick_first/pick_first.cc +156 -180
- data/src/core/load_balancing/priority/priority.cc +63 -74
- data/src/core/load_balancing/ring_hash/ring_hash.cc +34 -40
- data/src/core/load_balancing/rls/rls.cc +228 -186
- data/src/core/load_balancing/round_robin/round_robin.cc +39 -38
- data/src/core/load_balancing/subchannel_interface.h +4 -0
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +75 -74
- data/src/core/load_balancing/weighted_target/weighted_target.cc +47 -55
- data/src/core/load_balancing/xds/cds.cc +22 -22
- data/src/core/load_balancing/xds/xds_cluster_impl.cc +100 -75
- data/src/core/load_balancing/xds/xds_cluster_manager.cc +31 -45
- data/src/core/load_balancing/xds/xds_override_host.cc +68 -91
- data/src/core/load_balancing/xds/xds_wrr_locality.cc +19 -18
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +9 -0
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +14 -24
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.h +6 -6
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +4 -5
- data/src/core/resolver/dns/native/dns_resolver.cc +6 -7
- data/src/core/resolver/endpoint_addresses.h +3 -0
- data/src/core/resolver/resolver.h +0 -3
- data/src/core/resolver/xds/xds_dependency_manager.cc +67 -57
- data/src/core/resolver/xds/xds_dependency_manager.h +4 -0
- data/src/core/resolver/xds/xds_resolver.cc +72 -45
- data/src/core/resolver/xds/xds_resolver_attributes.h +5 -1
- data/src/core/server/server.cc +74 -78
- data/src/core/server/server_call_tracer_filter.cc +3 -2
- data/src/core/server/server_config_selector_filter.cc +6 -2
- data/src/core/server/xds_channel_stack_modifier.cc +1 -1
- data/src/core/server/xds_server_config_fetcher.cc +40 -44
- data/src/core/service_config/service_config_call_data.h +2 -1
- data/src/core/service_config/service_config_channel_arg_filter.cc +3 -2
- data/src/core/telemetry/call_tracer.cc +34 -0
- data/src/core/telemetry/call_tracer.h +15 -0
- data/src/core/telemetry/metrics.h +13 -8
- data/src/core/tsi/alts/frame_protector/frame_handler.cc +8 -7
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +8 -10
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +6 -9
- data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +13 -21
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc +6 -8
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc +6 -8
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc +5 -5
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +3 -6
- data/src/core/tsi/fake_transport_security.cc +7 -7
- data/src/core/tsi/ssl/key_logging/ssl_key_logging.cc +5 -7
- data/src/core/tsi/ssl_transport_security.cc +44 -29
- data/src/core/tsi/ssl_transport_security_utils.cc +3 -4
- data/src/core/util/android/log.cc +0 -12
- data/src/core/util/http_client/httpcli.cc +21 -33
- data/src/core/util/http_client/httpcli.h +3 -4
- data/src/core/util/http_client/parser.cc +3 -3
- data/src/core/util/latent_see.cc +113 -0
- data/src/core/util/latent_see.h +214 -0
- data/src/core/util/linux/cpu.cc +8 -7
- data/src/core/util/log.cc +0 -18
- data/src/core/util/posix/cpu.cc +3 -2
- data/src/core/util/posix/tmpfile.cc +5 -5
- data/src/core/util/time_precise.cc +4 -3
- data/src/core/{xds/grpc → util}/upb_utils.h +3 -5
- data/src/core/util/useful.h +39 -44
- data/src/core/xds/grpc/xds_audit_logger_registry.cc +1 -0
- data/src/core/xds/grpc/xds_bootstrap_grpc.cc +0 -125
- data/src/core/xds/grpc/xds_bootstrap_grpc.h +2 -27
- data/src/core/xds/grpc/xds_certificate_provider.cc +2 -1
- data/src/core/xds/grpc/xds_certificate_provider.h +3 -1
- data/src/core/xds/grpc/xds_client_grpc.cc +13 -14
- data/src/core/xds/grpc/xds_cluster.cc +0 -723
- data/src/core/xds/grpc/xds_cluster.h +2 -37
- data/src/core/xds/grpc/xds_cluster_parser.cc +730 -0
- data/src/core/xds/grpc/xds_cluster_parser.h +57 -0
- data/src/core/xds/grpc/xds_common_types.cc +33 -437
- data/src/core/xds/grpc/xds_common_types.h +7 -24
- data/src/core/xds/grpc/xds_common_types_parser.cc +467 -0
- data/src/core/xds/grpc/xds_common_types_parser.h +54 -0
- data/src/core/xds/grpc/xds_endpoint.cc +0 -419
- data/src/core/xds/grpc/xds_endpoint.h +0 -24
- data/src/core/xds/grpc/xds_endpoint_parser.cc +439 -0
- data/src/core/xds/grpc/xds_endpoint_parser.h +48 -0
- data/src/core/xds/grpc/xds_health_status.cc +0 -2
- data/src/core/xds/grpc/xds_health_status.h +0 -2
- data/src/core/xds/grpc/xds_http_fault_filter.cc +6 -1
- data/src/core/xds/grpc/xds_http_fault_filter.h +2 -1
- data/src/core/xds/grpc/{xds_http_filters.h → xds_http_filter.h} +6 -63
- data/src/core/xds/grpc/{xds_http_filters.cc → xds_http_filter_registry.cc} +2 -1
- data/src/core/xds/grpc/xds_http_filter_registry.h +98 -0
- data/src/core/xds/grpc/xds_http_rbac_filter.cc +5 -1
- data/src/core/xds/grpc/xds_http_rbac_filter.h +2 -1
- data/src/core/xds/grpc/xds_http_stateful_session_filter.cc +8 -2
- data/src/core/xds/grpc/xds_http_stateful_session_filter.h +2 -1
- data/src/core/xds/grpc/xds_lb_policy_registry.cc +4 -5
- data/src/core/xds/grpc/xds_listener.cc +18 -982
- data/src/core/xds/grpc/xds_listener.h +1 -33
- data/src/core/xds/grpc/xds_listener_parser.cc +997 -0
- data/src/core/xds/grpc/xds_listener_parser.h +60 -0
- data/src/core/xds/grpc/xds_route_config.cc +0 -915
- data/src/core/xds/grpc/xds_route_config.h +6 -38
- data/src/core/xds/grpc/xds_route_config_parser.cc +969 -0
- data/src/core/xds/grpc/xds_route_config_parser.h +80 -0
- data/src/core/xds/grpc/xds_routing.cc +1 -1
- data/src/core/xds/grpc/xds_routing.h +1 -1
- data/src/core/xds/grpc/xds_server_grpc.cc +161 -0
- data/src/core/xds/grpc/xds_server_grpc.h +63 -0
- data/src/core/xds/grpc/xds_transport_grpc.cc +4 -5
- data/src/core/xds/xds_client/xds_api.cc +10 -10
- data/src/core/xds/xds_client/xds_client.cc +144 -177
- data/src/core/xds/xds_client/xds_client_stats.cc +21 -24
- data/src/ruby/ext/grpc/rb_call.c +3 -3
- data/src/ruby/ext/grpc/rb_call_credentials.c +1 -1
- data/src/ruby/ext/grpc/rb_channel.c +14 -14
- data/src/ruby/ext/grpc/rb_channel_args.c +1 -1
- data/src/ruby/ext/grpc/rb_compression_options.c +3 -3
- data/src/ruby/ext/grpc/rb_event_thread.c +2 -2
- data/src/ruby/ext/grpc/rb_grpc.c +5 -5
- data/src/ruby/ext/grpc/rb_grpc.h +8 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +0 -4
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +0 -6
- data/src/ruby/ext/grpc/rb_server.c +4 -4
- data/src/ruby/lib/grpc/logconfig.rb +13 -0
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/spec/logconfig_spec.rb +30 -0
- data/third_party/upb/upb/base/string_view.h +1 -1
- data/third_party/upb/upb/json/decode.c +1 -0
- data/third_party/upb/upb/mem/arena.c +67 -2
- data/third_party/upb/upb/mem/arena.h +11 -9
- data/third_party/upb/upb/mem/internal/arena.h +11 -8
- data/third_party/upb/upb/message/accessors.c +6 -5
- data/third_party/upb/upb/message/accessors.h +49 -38
- data/third_party/upb/upb/message/array.c +26 -3
- data/third_party/upb/upb/message/array.h +17 -9
- data/third_party/upb/upb/message/compat.c +5 -5
- data/third_party/upb/upb/message/compat.h +3 -3
- data/third_party/upb/upb/message/copy.c +12 -13
- data/third_party/upb/upb/message/internal/accessors.h +45 -35
- data/third_party/upb/upb/message/internal/array.h +23 -15
- data/third_party/upb/upb/message/internal/compare_unknown.c +289 -0
- data/third_party/upb/upb/message/internal/compare_unknown.h +49 -0
- data/third_party/upb/upb/message/internal/extension.c +11 -12
- data/third_party/upb/upb/message/internal/extension.h +9 -12
- data/third_party/upb/upb/message/internal/map.h +15 -0
- data/third_party/upb/upb/message/internal/map_sorter.h +4 -5
- data/third_party/upb/upb/message/internal/message.c +20 -3
- data/third_party/upb/upb/message/internal/message.h +10 -0
- data/third_party/upb/upb/message/internal/tagged_ptr.h +5 -5
- data/third_party/upb/upb/message/internal/types.h +41 -1
- data/third_party/upb/upb/message/map.c +25 -0
- data/third_party/upb/upb/message/map.h +11 -7
- data/third_party/upb/upb/message/message.c +83 -4
- data/third_party/upb/upb/message/message.h +20 -1
- data/third_party/upb/upb/message/tagged_ptr.h +4 -8
- data/third_party/upb/upb/mini_descriptor/build_enum.c +3 -3
- data/third_party/upb/upb/mini_descriptor/build_enum.h +6 -14
- data/third_party/upb/upb/mini_descriptor/decode.c +12 -1
- data/third_party/upb/upb/mini_descriptor/link.c +16 -18
- data/third_party/upb/upb/mini_table/enum.h +2 -4
- data/third_party/upb/upb/mini_table/extension.h +4 -12
- data/third_party/upb/upb/mini_table/field.h +12 -38
- data/third_party/upb/upb/mini_table/file.h +6 -19
- data/third_party/upb/upb/mini_table/internal/enum.h +1 -1
- data/third_party/upb/upb/mini_table/internal/extension.h +9 -9
- data/third_party/upb/upb/mini_table/internal/field.h +23 -23
- data/third_party/upb/upb/mini_table/internal/file.h +7 -7
- data/third_party/upb/upb/mini_table/internal/message.h +51 -27
- data/third_party/upb/upb/mini_table/internal/sub.h +4 -4
- data/third_party/upb/upb/mini_table/message.h +13 -22
- data/third_party/upb/upb/mini_table/sub.h +4 -12
- data/third_party/upb/upb/port/def.inc +12 -6
- data/third_party/upb/upb/port/undef.inc +1 -1
- data/third_party/upb/upb/reflection/def.hpp +27 -0
- data/third_party/upb/upb/reflection/def_pool.h +2 -2
- data/third_party/upb/upb/reflection/enum_def.c +5 -1
- data/third_party/upb/upb/reflection/enum_def.h +1 -0
- data/third_party/upb/upb/reflection/enum_value_def.c +3 -8
- data/third_party/upb/upb/reflection/field_def.c +61 -24
- data/third_party/upb/upb/reflection/field_def.h +3 -0
- data/third_party/upb/upb/reflection/file_def.c +30 -4
- data/third_party/upb/upb/reflection/file_def.h +3 -0
- data/third_party/upb/upb/reflection/internal/upb_edition_defaults.h +1 -1
- data/third_party/upb/upb/reflection/message.c +19 -7
- data/third_party/upb/upb/reflection/message_def.c +14 -9
- data/third_party/upb/upb/reflection/method_def.h +8 -7
- data/third_party/upb/upb/reflection/service_def.h +6 -5
- data/third_party/upb/upb/text/encode.c +10 -3
- data/third_party/upb/upb/wire/decode.c +91 -57
- data/third_party/upb/upb/wire/decode.h +11 -1
- data/third_party/upb/upb/wire/encode.c +48 -30
- data/third_party/upb/upb/wire/encode.h +9 -1
- data/third_party/upb/upb/wire/eps_copy_input_stream.h +3 -3
- data/third_party/upb/upb/wire/internal/decode_fast.c +25 -29
- data/third_party/upb/upb/wire/internal/reader.h +3 -3
- data/third_party/upb/upb/wire/reader.c +1 -2
- data/third_party/upb/upb/wire/reader.h +4 -8
- metadata +32 -10
- data/src/core/client_channel/config_selector.cc +0 -60
- data/src/core/lib/event_engine/trace.h +0 -37
- data/src/core/lib/surface/api_trace.h +0 -50
@@ -46,6 +46,9 @@ typedef struct envoy_config_core_v3_RuntimeUInt32 { upb_Message UPB_PRIVATE(base
|
|
46
46
|
typedef struct envoy_config_core_v3_RuntimePercent { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RuntimePercent;
|
47
47
|
typedef struct envoy_config_core_v3_RuntimeDouble { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RuntimeDouble;
|
48
48
|
typedef struct envoy_config_core_v3_RuntimeFeatureFlag { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RuntimeFeatureFlag;
|
49
|
+
typedef struct envoy_config_core_v3_KeyValue { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_KeyValue;
|
50
|
+
typedef struct envoy_config_core_v3_KeyValueAppend { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_KeyValueAppend;
|
51
|
+
typedef struct envoy_config_core_v3_KeyValueMutation { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_KeyValueMutation;
|
49
52
|
typedef struct envoy_config_core_v3_QueryParameter { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_QueryParameter;
|
50
53
|
typedef struct envoy_config_core_v3_HeaderValue { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_HeaderValue;
|
51
54
|
typedef struct envoy_config_core_v3_HeaderValueOption { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_HeaderValueOption;
|
@@ -53,6 +56,8 @@ typedef struct envoy_config_core_v3_HeaderMap { upb_Message UPB_PRIVATE(base); }
|
|
53
56
|
typedef struct envoy_config_core_v3_WatchedDirectory { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_WatchedDirectory;
|
54
57
|
typedef struct envoy_config_core_v3_DataSource { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_DataSource;
|
55
58
|
typedef struct envoy_config_core_v3_RetryPolicy { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RetryPolicy;
|
59
|
+
typedef struct envoy_config_core_v3_RetryPolicy_RetryPriority { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RetryPolicy_RetryPriority;
|
60
|
+
typedef struct envoy_config_core_v3_RetryPolicy_RetryHostPredicate { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RetryPolicy_RetryHostPredicate;
|
56
61
|
typedef struct envoy_config_core_v3_RemoteDataSource { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RemoteDataSource;
|
57
62
|
typedef struct envoy_config_core_v3_AsyncDataSource { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_AsyncDataSource;
|
58
63
|
typedef struct envoy_config_core_v3_TransportSocket { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_TransportSocket;
|
@@ -77,6 +82,13 @@ typedef enum {
|
|
77
82
|
envoy_config_core_v3_HeaderValueOption_OVERWRITE_IF_EXISTS = 3
|
78
83
|
} envoy_config_core_v3_HeaderValueOption_HeaderAppendAction;
|
79
84
|
|
85
|
+
typedef enum {
|
86
|
+
envoy_config_core_v3_KeyValueAppend_APPEND_IF_EXISTS_OR_ADD = 0,
|
87
|
+
envoy_config_core_v3_KeyValueAppend_ADD_IF_ABSENT = 1,
|
88
|
+
envoy_config_core_v3_KeyValueAppend_OVERWRITE_IF_EXISTS_OR_ADD = 2,
|
89
|
+
envoy_config_core_v3_KeyValueAppend_OVERWRITE_IF_EXISTS = 3
|
90
|
+
} envoy_config_core_v3_KeyValueAppend_KeyValueAppendAction;
|
91
|
+
|
80
92
|
typedef enum {
|
81
93
|
envoy_config_core_v3_METHOD_UNSPECIFIED = 0,
|
82
94
|
envoy_config_core_v3_GET = 1,
|
@@ -178,15 +190,15 @@ UPB_INLINE upb_StringView envoy_config_core_v3_Locality_sub_zone(const envoy_con
|
|
178
190
|
|
179
191
|
UPB_INLINE void envoy_config_core_v3_Locality_set_region(envoy_config_core_v3_Locality *msg, upb_StringView value) {
|
180
192
|
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
181
|
-
|
193
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
182
194
|
}
|
183
195
|
UPB_INLINE void envoy_config_core_v3_Locality_set_zone(envoy_config_core_v3_Locality *msg, upb_StringView value) {
|
184
196
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
185
|
-
|
197
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
186
198
|
}
|
187
199
|
UPB_INLINE void envoy_config_core_v3_Locality_set_sub_zone(envoy_config_core_v3_Locality *msg, upb_StringView value) {
|
188
200
|
const upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
189
|
-
|
201
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
190
202
|
}
|
191
203
|
|
192
204
|
/* envoy.config.core.v3.BuildVersion */
|
@@ -260,7 +272,7 @@ UPB_INLINE bool envoy_config_core_v3_BuildVersion_has_metadata(const envoy_confi
|
|
260
272
|
|
261
273
|
UPB_INLINE void envoy_config_core_v3_BuildVersion_set_version(envoy_config_core_v3_BuildVersion *msg, struct envoy_type_v3_SemanticVersion* value) {
|
262
274
|
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
263
|
-
|
275
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
264
276
|
}
|
265
277
|
UPB_INLINE struct envoy_type_v3_SemanticVersion* envoy_config_core_v3_BuildVersion_mutable_version(envoy_config_core_v3_BuildVersion* msg, upb_Arena* arena) {
|
266
278
|
struct envoy_type_v3_SemanticVersion* sub = (struct envoy_type_v3_SemanticVersion*)envoy_config_core_v3_BuildVersion_version(msg);
|
@@ -272,7 +284,7 @@ UPB_INLINE struct envoy_type_v3_SemanticVersion* envoy_config_core_v3_BuildVersi
|
|
272
284
|
}
|
273
285
|
UPB_INLINE void envoy_config_core_v3_BuildVersion_set_metadata(envoy_config_core_v3_BuildVersion *msg, struct google_protobuf_Struct* value) {
|
274
286
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
275
|
-
|
287
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
276
288
|
}
|
277
289
|
UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_BuildVersion_mutable_metadata(envoy_config_core_v3_BuildVersion* msg, upb_Arena* arena) {
|
278
290
|
struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_core_v3_BuildVersion_metadata(msg);
|
@@ -418,19 +430,19 @@ UPB_INLINE upb_Array* _envoy_config_core_v3_Extension_type_urls_mutable_upb_arra
|
|
418
430
|
|
419
431
|
UPB_INLINE void envoy_config_core_v3_Extension_set_name(envoy_config_core_v3_Extension *msg, upb_StringView value) {
|
420
432
|
const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
421
|
-
|
433
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
422
434
|
}
|
423
435
|
UPB_INLINE void envoy_config_core_v3_Extension_set_category(envoy_config_core_v3_Extension *msg, upb_StringView value) {
|
424
436
|
const upb_MiniTableField field = {2, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
425
|
-
|
437
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
426
438
|
}
|
427
439
|
UPB_INLINE void envoy_config_core_v3_Extension_set_type_descriptor(envoy_config_core_v3_Extension *msg, upb_StringView value) {
|
428
440
|
const upb_MiniTableField field = {3, UPB_SIZE(40, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
429
|
-
|
441
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
430
442
|
}
|
431
443
|
UPB_INLINE void envoy_config_core_v3_Extension_set_version(envoy_config_core_v3_Extension *msg, envoy_config_core_v3_BuildVersion* value) {
|
432
444
|
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
433
|
-
|
445
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
434
446
|
}
|
435
447
|
UPB_INLINE struct envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Extension_mutable_version(envoy_config_core_v3_Extension* msg, upb_Arena* arena) {
|
436
448
|
struct envoy_config_core_v3_BuildVersion* sub = (struct envoy_config_core_v3_BuildVersion*)envoy_config_core_v3_Extension_version(msg);
|
@@ -442,7 +454,7 @@ UPB_INLINE struct envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Extens
|
|
442
454
|
}
|
443
455
|
UPB_INLINE void envoy_config_core_v3_Extension_set_disabled(envoy_config_core_v3_Extension *msg, bool value) {
|
444
456
|
const upb_MiniTableField field = {5, UPB_SIZE(16, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
445
|
-
|
457
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
446
458
|
}
|
447
459
|
UPB_INLINE upb_StringView* envoy_config_core_v3_Extension_mutable_type_urls(envoy_config_core_v3_Extension* msg, size_t* size) {
|
448
460
|
upb_MiniTableField field = {6, UPB_SIZE(20, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
@@ -747,15 +759,15 @@ UPB_INLINE upb_Map* _envoy_config_core_v3_Node_dynamic_parameters_mutable_upb_ma
|
|
747
759
|
|
748
760
|
UPB_INLINE void envoy_config_core_v3_Node_set_id(envoy_config_core_v3_Node *msg, upb_StringView value) {
|
749
761
|
const upb_MiniTableField field = {1, UPB_SIZE(48, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
750
|
-
|
762
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
751
763
|
}
|
752
764
|
UPB_INLINE void envoy_config_core_v3_Node_set_cluster(envoy_config_core_v3_Node *msg, upb_StringView value) {
|
753
765
|
const upb_MiniTableField field = {2, UPB_SIZE(56, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
754
|
-
|
766
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
755
767
|
}
|
756
768
|
UPB_INLINE void envoy_config_core_v3_Node_set_metadata(envoy_config_core_v3_Node *msg, struct google_protobuf_Struct* value) {
|
757
769
|
const upb_MiniTableField field = {3, UPB_SIZE(12, 64), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
758
|
-
|
770
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
759
771
|
}
|
760
772
|
UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_Node_mutable_metadata(envoy_config_core_v3_Node* msg, upb_Arena* arena) {
|
761
773
|
struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_core_v3_Node_metadata(msg);
|
@@ -767,7 +779,7 @@ UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_Node_mutable_meta
|
|
767
779
|
}
|
768
780
|
UPB_INLINE void envoy_config_core_v3_Node_set_locality(envoy_config_core_v3_Node *msg, envoy_config_core_v3_Locality* value) {
|
769
781
|
const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
770
|
-
|
782
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
771
783
|
}
|
772
784
|
UPB_INLINE struct envoy_config_core_v3_Locality* envoy_config_core_v3_Node_mutable_locality(envoy_config_core_v3_Node* msg, upb_Arena* arena) {
|
773
785
|
struct envoy_config_core_v3_Locality* sub = (struct envoy_config_core_v3_Locality*)envoy_config_core_v3_Node_locality(msg);
|
@@ -779,15 +791,15 @@ UPB_INLINE struct envoy_config_core_v3_Locality* envoy_config_core_v3_Node_mutab
|
|
779
791
|
}
|
780
792
|
UPB_INLINE void envoy_config_core_v3_Node_set_user_agent_name(envoy_config_core_v3_Node *msg, upb_StringView value) {
|
781
793
|
const upb_MiniTableField field = {6, UPB_SIZE(64, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
782
|
-
|
794
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
783
795
|
}
|
784
796
|
UPB_INLINE void envoy_config_core_v3_Node_set_user_agent_version(envoy_config_core_v3_Node *msg, upb_StringView value) {
|
785
797
|
const upb_MiniTableField field = {7, UPB_SIZE(40, 16), UPB_SIZE(-21, -13), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
786
|
-
|
798
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
787
799
|
}
|
788
800
|
UPB_INLINE void envoy_config_core_v3_Node_set_user_agent_build_version(envoy_config_core_v3_Node *msg, envoy_config_core_v3_BuildVersion* value) {
|
789
801
|
const upb_MiniTableField field = {8, UPB_SIZE(40, 16), UPB_SIZE(-21, -13), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
790
|
-
|
802
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
791
803
|
}
|
792
804
|
UPB_INLINE struct envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Node_mutable_user_agent_build_version(envoy_config_core_v3_Node* msg, upb_Arena* arena) {
|
793
805
|
struct envoy_config_core_v3_BuildVersion* sub = (struct envoy_config_core_v3_BuildVersion*)envoy_config_core_v3_Node_user_agent_build_version(msg);
|
@@ -1183,11 +1195,11 @@ UPB_INLINE upb_StringView envoy_config_core_v3_RuntimeUInt32_runtime_key(const e
|
|
1183
1195
|
|
1184
1196
|
UPB_INLINE void envoy_config_core_v3_RuntimeUInt32_set_default_value(envoy_config_core_v3_RuntimeUInt32 *msg, uint32_t value) {
|
1185
1197
|
const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1186
|
-
|
1198
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1187
1199
|
}
|
1188
1200
|
UPB_INLINE void envoy_config_core_v3_RuntimeUInt32_set_runtime_key(envoy_config_core_v3_RuntimeUInt32 *msg, upb_StringView value) {
|
1189
1201
|
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1190
|
-
|
1202
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1191
1203
|
}
|
1192
1204
|
|
1193
1205
|
/* envoy.config.core.v3.RuntimePercent */
|
@@ -1257,7 +1269,7 @@ UPB_INLINE upb_StringView envoy_config_core_v3_RuntimePercent_runtime_key(const
|
|
1257
1269
|
|
1258
1270
|
UPB_INLINE void envoy_config_core_v3_RuntimePercent_set_default_value(envoy_config_core_v3_RuntimePercent *msg, struct envoy_type_v3_Percent* value) {
|
1259
1271
|
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1260
|
-
|
1272
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1261
1273
|
}
|
1262
1274
|
UPB_INLINE struct envoy_type_v3_Percent* envoy_config_core_v3_RuntimePercent_mutable_default_value(envoy_config_core_v3_RuntimePercent* msg, upb_Arena* arena) {
|
1263
1275
|
struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_config_core_v3_RuntimePercent_default_value(msg);
|
@@ -1269,7 +1281,7 @@ UPB_INLINE struct envoy_type_v3_Percent* envoy_config_core_v3_RuntimePercent_mut
|
|
1269
1281
|
}
|
1270
1282
|
UPB_INLINE void envoy_config_core_v3_RuntimePercent_set_runtime_key(envoy_config_core_v3_RuntimePercent *msg, upb_StringView value) {
|
1271
1283
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1272
|
-
|
1284
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1273
1285
|
}
|
1274
1286
|
|
1275
1287
|
/* envoy.config.core.v3.RuntimeDouble */
|
@@ -1335,11 +1347,11 @@ UPB_INLINE upb_StringView envoy_config_core_v3_RuntimeDouble_runtime_key(const e
|
|
1335
1347
|
|
1336
1348
|
UPB_INLINE void envoy_config_core_v3_RuntimeDouble_set_default_value(envoy_config_core_v3_RuntimeDouble *msg, double value) {
|
1337
1349
|
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1338
|
-
|
1350
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1339
1351
|
}
|
1340
1352
|
UPB_INLINE void envoy_config_core_v3_RuntimeDouble_set_runtime_key(envoy_config_core_v3_RuntimeDouble *msg, upb_StringView value) {
|
1341
1353
|
const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1342
|
-
|
1354
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1343
1355
|
}
|
1344
1356
|
|
1345
1357
|
/* envoy.config.core.v3.RuntimeFeatureFlag */
|
@@ -1409,7 +1421,7 @@ UPB_INLINE upb_StringView envoy_config_core_v3_RuntimeFeatureFlag_runtime_key(co
|
|
1409
1421
|
|
1410
1422
|
UPB_INLINE void envoy_config_core_v3_RuntimeFeatureFlag_set_default_value(envoy_config_core_v3_RuntimeFeatureFlag *msg, struct google_protobuf_BoolValue* value) {
|
1411
1423
|
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1412
|
-
|
1424
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1413
1425
|
}
|
1414
1426
|
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_RuntimeFeatureFlag_mutable_default_value(envoy_config_core_v3_RuntimeFeatureFlag* msg, upb_Arena* arena) {
|
1415
1427
|
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_RuntimeFeatureFlag_default_value(msg);
|
@@ -1421,7 +1433,241 @@ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_RuntimeFeature
|
|
1421
1433
|
}
|
1422
1434
|
UPB_INLINE void envoy_config_core_v3_RuntimeFeatureFlag_set_runtime_key(envoy_config_core_v3_RuntimeFeatureFlag *msg, upb_StringView value) {
|
1423
1435
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1424
|
-
|
1436
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1437
|
+
}
|
1438
|
+
|
1439
|
+
/* envoy.config.core.v3.KeyValue */
|
1440
|
+
|
1441
|
+
UPB_INLINE envoy_config_core_v3_KeyValue* envoy_config_core_v3_KeyValue_new(upb_Arena* arena) {
|
1442
|
+
return (envoy_config_core_v3_KeyValue*)_upb_Message_New(&envoy__config__core__v3__KeyValue_msg_init, arena);
|
1443
|
+
}
|
1444
|
+
UPB_INLINE envoy_config_core_v3_KeyValue* envoy_config_core_v3_KeyValue_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1445
|
+
envoy_config_core_v3_KeyValue* ret = envoy_config_core_v3_KeyValue_new(arena);
|
1446
|
+
if (!ret) return NULL;
|
1447
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValue_msg_init, NULL, 0, arena) !=
|
1448
|
+
kUpb_DecodeStatus_Ok) {
|
1449
|
+
return NULL;
|
1450
|
+
}
|
1451
|
+
return ret;
|
1452
|
+
}
|
1453
|
+
UPB_INLINE envoy_config_core_v3_KeyValue* envoy_config_core_v3_KeyValue_parse_ex(const char* buf, size_t size,
|
1454
|
+
const upb_ExtensionRegistry* extreg,
|
1455
|
+
int options, upb_Arena* arena) {
|
1456
|
+
envoy_config_core_v3_KeyValue* ret = envoy_config_core_v3_KeyValue_new(arena);
|
1457
|
+
if (!ret) return NULL;
|
1458
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValue_msg_init, extreg, options,
|
1459
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1460
|
+
return NULL;
|
1461
|
+
}
|
1462
|
+
return ret;
|
1463
|
+
}
|
1464
|
+
UPB_INLINE char* envoy_config_core_v3_KeyValue_serialize(const envoy_config_core_v3_KeyValue* msg, upb_Arena* arena, size_t* len) {
|
1465
|
+
char* ptr;
|
1466
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__KeyValue_msg_init, 0, arena, &ptr, len);
|
1467
|
+
return ptr;
|
1468
|
+
}
|
1469
|
+
UPB_INLINE char* envoy_config_core_v3_KeyValue_serialize_ex(const envoy_config_core_v3_KeyValue* msg, int options,
|
1470
|
+
upb_Arena* arena, size_t* len) {
|
1471
|
+
char* ptr;
|
1472
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__KeyValue_msg_init, options, arena, &ptr, len);
|
1473
|
+
return ptr;
|
1474
|
+
}
|
1475
|
+
UPB_INLINE void envoy_config_core_v3_KeyValue_clear_key(envoy_config_core_v3_KeyValue* msg) {
|
1476
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1477
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1478
|
+
}
|
1479
|
+
UPB_INLINE upb_StringView envoy_config_core_v3_KeyValue_key(const envoy_config_core_v3_KeyValue* msg) {
|
1480
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
1481
|
+
upb_StringView ret;
|
1482
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1483
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1484
|
+
&default_val, &ret);
|
1485
|
+
return ret;
|
1486
|
+
}
|
1487
|
+
UPB_INLINE void envoy_config_core_v3_KeyValue_clear_value(envoy_config_core_v3_KeyValue* msg) {
|
1488
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1489
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1490
|
+
}
|
1491
|
+
UPB_INLINE upb_StringView envoy_config_core_v3_KeyValue_value(const envoy_config_core_v3_KeyValue* msg) {
|
1492
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
1493
|
+
upb_StringView ret;
|
1494
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1495
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1496
|
+
&default_val, &ret);
|
1497
|
+
return ret;
|
1498
|
+
}
|
1499
|
+
|
1500
|
+
UPB_INLINE void envoy_config_core_v3_KeyValue_set_key(envoy_config_core_v3_KeyValue *msg, upb_StringView value) {
|
1501
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1502
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1503
|
+
}
|
1504
|
+
UPB_INLINE void envoy_config_core_v3_KeyValue_set_value(envoy_config_core_v3_KeyValue *msg, upb_StringView value) {
|
1505
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1506
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1507
|
+
}
|
1508
|
+
|
1509
|
+
/* envoy.config.core.v3.KeyValueAppend */
|
1510
|
+
|
1511
|
+
UPB_INLINE envoy_config_core_v3_KeyValueAppend* envoy_config_core_v3_KeyValueAppend_new(upb_Arena* arena) {
|
1512
|
+
return (envoy_config_core_v3_KeyValueAppend*)_upb_Message_New(&envoy__config__core__v3__KeyValueAppend_msg_init, arena);
|
1513
|
+
}
|
1514
|
+
UPB_INLINE envoy_config_core_v3_KeyValueAppend* envoy_config_core_v3_KeyValueAppend_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1515
|
+
envoy_config_core_v3_KeyValueAppend* ret = envoy_config_core_v3_KeyValueAppend_new(arena);
|
1516
|
+
if (!ret) return NULL;
|
1517
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValueAppend_msg_init, NULL, 0, arena) !=
|
1518
|
+
kUpb_DecodeStatus_Ok) {
|
1519
|
+
return NULL;
|
1520
|
+
}
|
1521
|
+
return ret;
|
1522
|
+
}
|
1523
|
+
UPB_INLINE envoy_config_core_v3_KeyValueAppend* envoy_config_core_v3_KeyValueAppend_parse_ex(const char* buf, size_t size,
|
1524
|
+
const upb_ExtensionRegistry* extreg,
|
1525
|
+
int options, upb_Arena* arena) {
|
1526
|
+
envoy_config_core_v3_KeyValueAppend* ret = envoy_config_core_v3_KeyValueAppend_new(arena);
|
1527
|
+
if (!ret) return NULL;
|
1528
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValueAppend_msg_init, extreg, options,
|
1529
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1530
|
+
return NULL;
|
1531
|
+
}
|
1532
|
+
return ret;
|
1533
|
+
}
|
1534
|
+
UPB_INLINE char* envoy_config_core_v3_KeyValueAppend_serialize(const envoy_config_core_v3_KeyValueAppend* msg, upb_Arena* arena, size_t* len) {
|
1535
|
+
char* ptr;
|
1536
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__KeyValueAppend_msg_init, 0, arena, &ptr, len);
|
1537
|
+
return ptr;
|
1538
|
+
}
|
1539
|
+
UPB_INLINE char* envoy_config_core_v3_KeyValueAppend_serialize_ex(const envoy_config_core_v3_KeyValueAppend* msg, int options,
|
1540
|
+
upb_Arena* arena, size_t* len) {
|
1541
|
+
char* ptr;
|
1542
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__KeyValueAppend_msg_init, options, arena, &ptr, len);
|
1543
|
+
return ptr;
|
1544
|
+
}
|
1545
|
+
UPB_INLINE void envoy_config_core_v3_KeyValueAppend_clear_entry(envoy_config_core_v3_KeyValueAppend* msg) {
|
1546
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1547
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1548
|
+
}
|
1549
|
+
UPB_INLINE const envoy_config_core_v3_KeyValue* envoy_config_core_v3_KeyValueAppend_entry(const envoy_config_core_v3_KeyValueAppend* msg) {
|
1550
|
+
const envoy_config_core_v3_KeyValue* default_val = NULL;
|
1551
|
+
const envoy_config_core_v3_KeyValue* ret;
|
1552
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1553
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1554
|
+
&default_val, &ret);
|
1555
|
+
return ret;
|
1556
|
+
}
|
1557
|
+
UPB_INLINE bool envoy_config_core_v3_KeyValueAppend_has_entry(const envoy_config_core_v3_KeyValueAppend* msg) {
|
1558
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1559
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1560
|
+
}
|
1561
|
+
UPB_INLINE void envoy_config_core_v3_KeyValueAppend_clear_action(envoy_config_core_v3_KeyValueAppend* msg) {
|
1562
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1563
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1564
|
+
}
|
1565
|
+
UPB_INLINE int32_t envoy_config_core_v3_KeyValueAppend_action(const envoy_config_core_v3_KeyValueAppend* msg) {
|
1566
|
+
int32_t default_val = 0;
|
1567
|
+
int32_t ret;
|
1568
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1569
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1570
|
+
&default_val, &ret);
|
1571
|
+
return ret;
|
1572
|
+
}
|
1573
|
+
|
1574
|
+
UPB_INLINE void envoy_config_core_v3_KeyValueAppend_set_entry(envoy_config_core_v3_KeyValueAppend *msg, envoy_config_core_v3_KeyValue* value) {
|
1575
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1576
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1577
|
+
}
|
1578
|
+
UPB_INLINE struct envoy_config_core_v3_KeyValue* envoy_config_core_v3_KeyValueAppend_mutable_entry(envoy_config_core_v3_KeyValueAppend* msg, upb_Arena* arena) {
|
1579
|
+
struct envoy_config_core_v3_KeyValue* sub = (struct envoy_config_core_v3_KeyValue*)envoy_config_core_v3_KeyValueAppend_entry(msg);
|
1580
|
+
if (sub == NULL) {
|
1581
|
+
sub = (struct envoy_config_core_v3_KeyValue*)_upb_Message_New(&envoy__config__core__v3__KeyValue_msg_init, arena);
|
1582
|
+
if (sub) envoy_config_core_v3_KeyValueAppend_set_entry(msg, sub);
|
1583
|
+
}
|
1584
|
+
return sub;
|
1585
|
+
}
|
1586
|
+
UPB_INLINE void envoy_config_core_v3_KeyValueAppend_set_action(envoy_config_core_v3_KeyValueAppend *msg, int32_t value) {
|
1587
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1588
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1589
|
+
}
|
1590
|
+
|
1591
|
+
/* envoy.config.core.v3.KeyValueMutation */
|
1592
|
+
|
1593
|
+
UPB_INLINE envoy_config_core_v3_KeyValueMutation* envoy_config_core_v3_KeyValueMutation_new(upb_Arena* arena) {
|
1594
|
+
return (envoy_config_core_v3_KeyValueMutation*)_upb_Message_New(&envoy__config__core__v3__KeyValueMutation_msg_init, arena);
|
1595
|
+
}
|
1596
|
+
UPB_INLINE envoy_config_core_v3_KeyValueMutation* envoy_config_core_v3_KeyValueMutation_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1597
|
+
envoy_config_core_v3_KeyValueMutation* ret = envoy_config_core_v3_KeyValueMutation_new(arena);
|
1598
|
+
if (!ret) return NULL;
|
1599
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValueMutation_msg_init, NULL, 0, arena) !=
|
1600
|
+
kUpb_DecodeStatus_Ok) {
|
1601
|
+
return NULL;
|
1602
|
+
}
|
1603
|
+
return ret;
|
1604
|
+
}
|
1605
|
+
UPB_INLINE envoy_config_core_v3_KeyValueMutation* envoy_config_core_v3_KeyValueMutation_parse_ex(const char* buf, size_t size,
|
1606
|
+
const upb_ExtensionRegistry* extreg,
|
1607
|
+
int options, upb_Arena* arena) {
|
1608
|
+
envoy_config_core_v3_KeyValueMutation* ret = envoy_config_core_v3_KeyValueMutation_new(arena);
|
1609
|
+
if (!ret) return NULL;
|
1610
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValueMutation_msg_init, extreg, options,
|
1611
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1612
|
+
return NULL;
|
1613
|
+
}
|
1614
|
+
return ret;
|
1615
|
+
}
|
1616
|
+
UPB_INLINE char* envoy_config_core_v3_KeyValueMutation_serialize(const envoy_config_core_v3_KeyValueMutation* msg, upb_Arena* arena, size_t* len) {
|
1617
|
+
char* ptr;
|
1618
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__KeyValueMutation_msg_init, 0, arena, &ptr, len);
|
1619
|
+
return ptr;
|
1620
|
+
}
|
1621
|
+
UPB_INLINE char* envoy_config_core_v3_KeyValueMutation_serialize_ex(const envoy_config_core_v3_KeyValueMutation* msg, int options,
|
1622
|
+
upb_Arena* arena, size_t* len) {
|
1623
|
+
char* ptr;
|
1624
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__KeyValueMutation_msg_init, options, arena, &ptr, len);
|
1625
|
+
return ptr;
|
1626
|
+
}
|
1627
|
+
UPB_INLINE void envoy_config_core_v3_KeyValueMutation_clear_append(envoy_config_core_v3_KeyValueMutation* msg) {
|
1628
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1629
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1630
|
+
}
|
1631
|
+
UPB_INLINE const envoy_config_core_v3_KeyValueAppend* envoy_config_core_v3_KeyValueMutation_append(const envoy_config_core_v3_KeyValueMutation* msg) {
|
1632
|
+
const envoy_config_core_v3_KeyValueAppend* default_val = NULL;
|
1633
|
+
const envoy_config_core_v3_KeyValueAppend* ret;
|
1634
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1635
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1636
|
+
&default_val, &ret);
|
1637
|
+
return ret;
|
1638
|
+
}
|
1639
|
+
UPB_INLINE bool envoy_config_core_v3_KeyValueMutation_has_append(const envoy_config_core_v3_KeyValueMutation* msg) {
|
1640
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1641
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1642
|
+
}
|
1643
|
+
UPB_INLINE void envoy_config_core_v3_KeyValueMutation_clear_remove(envoy_config_core_v3_KeyValueMutation* msg) {
|
1644
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1645
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1646
|
+
}
|
1647
|
+
UPB_INLINE upb_StringView envoy_config_core_v3_KeyValueMutation_remove(const envoy_config_core_v3_KeyValueMutation* msg) {
|
1648
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
1649
|
+
upb_StringView ret;
|
1650
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1651
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1652
|
+
&default_val, &ret);
|
1653
|
+
return ret;
|
1654
|
+
}
|
1655
|
+
|
1656
|
+
UPB_INLINE void envoy_config_core_v3_KeyValueMutation_set_append(envoy_config_core_v3_KeyValueMutation *msg, envoy_config_core_v3_KeyValueAppend* value) {
|
1657
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1658
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1659
|
+
}
|
1660
|
+
UPB_INLINE struct envoy_config_core_v3_KeyValueAppend* envoy_config_core_v3_KeyValueMutation_mutable_append(envoy_config_core_v3_KeyValueMutation* msg, upb_Arena* arena) {
|
1661
|
+
struct envoy_config_core_v3_KeyValueAppend* sub = (struct envoy_config_core_v3_KeyValueAppend*)envoy_config_core_v3_KeyValueMutation_append(msg);
|
1662
|
+
if (sub == NULL) {
|
1663
|
+
sub = (struct envoy_config_core_v3_KeyValueAppend*)_upb_Message_New(&envoy__config__core__v3__KeyValueAppend_msg_init, arena);
|
1664
|
+
if (sub) envoy_config_core_v3_KeyValueMutation_set_append(msg, sub);
|
1665
|
+
}
|
1666
|
+
return sub;
|
1667
|
+
}
|
1668
|
+
UPB_INLINE void envoy_config_core_v3_KeyValueMutation_set_remove(envoy_config_core_v3_KeyValueMutation *msg, upb_StringView value) {
|
1669
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1670
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1425
1671
|
}
|
1426
1672
|
|
1427
1673
|
/* envoy.config.core.v3.QueryParameter */
|
@@ -1487,11 +1733,11 @@ UPB_INLINE upb_StringView envoy_config_core_v3_QueryParameter_value(const envoy_
|
|
1487
1733
|
|
1488
1734
|
UPB_INLINE void envoy_config_core_v3_QueryParameter_set_key(envoy_config_core_v3_QueryParameter *msg, upb_StringView value) {
|
1489
1735
|
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1490
|
-
|
1736
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1491
1737
|
}
|
1492
1738
|
UPB_INLINE void envoy_config_core_v3_QueryParameter_set_value(envoy_config_core_v3_QueryParameter *msg, upb_StringView value) {
|
1493
1739
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1494
|
-
|
1740
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1495
1741
|
}
|
1496
1742
|
|
1497
1743
|
/* envoy.config.core.v3.HeaderValue */
|
@@ -1569,15 +1815,15 @@ UPB_INLINE upb_StringView envoy_config_core_v3_HeaderValue_raw_value(const envoy
|
|
1569
1815
|
|
1570
1816
|
UPB_INLINE void envoy_config_core_v3_HeaderValue_set_key(envoy_config_core_v3_HeaderValue *msg, upb_StringView value) {
|
1571
1817
|
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1572
|
-
|
1818
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1573
1819
|
}
|
1574
1820
|
UPB_INLINE void envoy_config_core_v3_HeaderValue_set_value(envoy_config_core_v3_HeaderValue *msg, upb_StringView value) {
|
1575
1821
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1576
|
-
|
1822
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1577
1823
|
}
|
1578
1824
|
UPB_INLINE void envoy_config_core_v3_HeaderValue_set_raw_value(envoy_config_core_v3_HeaderValue *msg, upb_StringView value) {
|
1579
1825
|
const upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1580
|
-
|
1826
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1581
1827
|
}
|
1582
1828
|
|
1583
1829
|
/* envoy.config.core.v3.HeaderValueOption */
|
@@ -1675,7 +1921,7 @@ UPB_INLINE bool envoy_config_core_v3_HeaderValueOption_keep_empty_value(const en
|
|
1675
1921
|
|
1676
1922
|
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_header(envoy_config_core_v3_HeaderValueOption *msg, envoy_config_core_v3_HeaderValue* value) {
|
1677
1923
|
const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1678
|
-
|
1924
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1679
1925
|
}
|
1680
1926
|
UPB_INLINE struct envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValueOption_mutable_header(envoy_config_core_v3_HeaderValueOption* msg, upb_Arena* arena) {
|
1681
1927
|
struct envoy_config_core_v3_HeaderValue* sub = (struct envoy_config_core_v3_HeaderValue*)envoy_config_core_v3_HeaderValueOption_header(msg);
|
@@ -1687,7 +1933,7 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderV
|
|
1687
1933
|
}
|
1688
1934
|
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_append(envoy_config_core_v3_HeaderValueOption *msg, struct google_protobuf_BoolValue* value) {
|
1689
1935
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1690
|
-
|
1936
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1691
1937
|
}
|
1692
1938
|
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_HeaderValueOption_mutable_append(envoy_config_core_v3_HeaderValueOption* msg, upb_Arena* arena) {
|
1693
1939
|
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_HeaderValueOption_append(msg);
|
@@ -1699,11 +1945,11 @@ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_HeaderValueOpt
|
|
1699
1945
|
}
|
1700
1946
|
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_append_action(envoy_config_core_v3_HeaderValueOption *msg, int32_t value) {
|
1701
1947
|
const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1702
|
-
|
1948
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1703
1949
|
}
|
1704
1950
|
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_keep_empty_value(envoy_config_core_v3_HeaderValueOption *msg, bool value) {
|
1705
1951
|
const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1706
|
-
|
1952
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1707
1953
|
}
|
1708
1954
|
|
1709
1955
|
/* envoy.config.core.v3.HeaderMap */
|
@@ -1857,7 +2103,7 @@ UPB_INLINE upb_StringView envoy_config_core_v3_WatchedDirectory_path(const envoy
|
|
1857
2103
|
|
1858
2104
|
UPB_INLINE void envoy_config_core_v3_WatchedDirectory_set_path(envoy_config_core_v3_WatchedDirectory *msg, upb_StringView value) {
|
1859
2105
|
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1860
|
-
|
2106
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1861
2107
|
}
|
1862
2108
|
|
1863
2109
|
/* envoy.config.core.v3.DataSource */
|
@@ -1904,90 +2150,118 @@ typedef enum {
|
|
1904
2150
|
envoy_config_core_v3_DataSource_specifier_NOT_SET = 0
|
1905
2151
|
} envoy_config_core_v3_DataSource_specifier_oneofcases;
|
1906
2152
|
UPB_INLINE envoy_config_core_v3_DataSource_specifier_oneofcases envoy_config_core_v3_DataSource_specifier_case(const envoy_config_core_v3_DataSource* msg) {
|
1907
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2153
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1908
2154
|
return (envoy_config_core_v3_DataSource_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(
|
1909
2155
|
UPB_UPCAST(msg), &field);
|
1910
2156
|
}
|
1911
2157
|
UPB_INLINE void envoy_config_core_v3_DataSource_clear_filename(envoy_config_core_v3_DataSource* msg) {
|
1912
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2158
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1913
2159
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1914
2160
|
}
|
1915
2161
|
UPB_INLINE upb_StringView envoy_config_core_v3_DataSource_filename(const envoy_config_core_v3_DataSource* msg) {
|
1916
2162
|
upb_StringView default_val = upb_StringView_FromString("");
|
1917
2163
|
upb_StringView ret;
|
1918
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2164
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1919
2165
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1920
2166
|
&default_val, &ret);
|
1921
2167
|
return ret;
|
1922
2168
|
}
|
1923
2169
|
UPB_INLINE bool envoy_config_core_v3_DataSource_has_filename(const envoy_config_core_v3_DataSource* msg) {
|
1924
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2170
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1925
2171
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1926
2172
|
}
|
1927
2173
|
UPB_INLINE void envoy_config_core_v3_DataSource_clear_inline_bytes(envoy_config_core_v3_DataSource* msg) {
|
1928
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2174
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 16), -13, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1929
2175
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1930
2176
|
}
|
1931
2177
|
UPB_INLINE upb_StringView envoy_config_core_v3_DataSource_inline_bytes(const envoy_config_core_v3_DataSource* msg) {
|
1932
2178
|
upb_StringView default_val = upb_StringView_FromString("");
|
1933
2179
|
upb_StringView ret;
|
1934
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2180
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 16), -13, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1935
2181
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1936
2182
|
&default_val, &ret);
|
1937
2183
|
return ret;
|
1938
2184
|
}
|
1939
2185
|
UPB_INLINE bool envoy_config_core_v3_DataSource_has_inline_bytes(const envoy_config_core_v3_DataSource* msg) {
|
1940
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2186
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 16), -13, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1941
2187
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1942
2188
|
}
|
1943
2189
|
UPB_INLINE void envoy_config_core_v3_DataSource_clear_inline_string(envoy_config_core_v3_DataSource* msg) {
|
1944
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2190
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 16), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1945
2191
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1946
2192
|
}
|
1947
2193
|
UPB_INLINE upb_StringView envoy_config_core_v3_DataSource_inline_string(const envoy_config_core_v3_DataSource* msg) {
|
1948
2194
|
upb_StringView default_val = upb_StringView_FromString("");
|
1949
2195
|
upb_StringView ret;
|
1950
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2196
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 16), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1951
2197
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1952
2198
|
&default_val, &ret);
|
1953
2199
|
return ret;
|
1954
2200
|
}
|
1955
2201
|
UPB_INLINE bool envoy_config_core_v3_DataSource_has_inline_string(const envoy_config_core_v3_DataSource* msg) {
|
1956
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2202
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 16), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1957
2203
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1958
2204
|
}
|
1959
2205
|
UPB_INLINE void envoy_config_core_v3_DataSource_clear_environment_variable(envoy_config_core_v3_DataSource* msg) {
|
1960
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2206
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 16), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1961
2207
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1962
2208
|
}
|
1963
2209
|
UPB_INLINE upb_StringView envoy_config_core_v3_DataSource_environment_variable(const envoy_config_core_v3_DataSource* msg) {
|
1964
2210
|
upb_StringView default_val = upb_StringView_FromString("");
|
1965
2211
|
upb_StringView ret;
|
1966
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2212
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 16), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1967
2213
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1968
2214
|
&default_val, &ret);
|
1969
2215
|
return ret;
|
1970
2216
|
}
|
1971
2217
|
UPB_INLINE bool envoy_config_core_v3_DataSource_has_environment_variable(const envoy_config_core_v3_DataSource* msg) {
|
1972
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2218
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 16), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2219
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2220
|
+
}
|
2221
|
+
UPB_INLINE void envoy_config_core_v3_DataSource_clear_watched_directory(envoy_config_core_v3_DataSource* msg) {
|
2222
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2223
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2224
|
+
}
|
2225
|
+
UPB_INLINE const envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_DataSource_watched_directory(const envoy_config_core_v3_DataSource* msg) {
|
2226
|
+
const envoy_config_core_v3_WatchedDirectory* default_val = NULL;
|
2227
|
+
const envoy_config_core_v3_WatchedDirectory* ret;
|
2228
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2229
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2230
|
+
&default_val, &ret);
|
2231
|
+
return ret;
|
2232
|
+
}
|
2233
|
+
UPB_INLINE bool envoy_config_core_v3_DataSource_has_watched_directory(const envoy_config_core_v3_DataSource* msg) {
|
2234
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1973
2235
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1974
2236
|
}
|
1975
2237
|
|
1976
2238
|
UPB_INLINE void envoy_config_core_v3_DataSource_set_filename(envoy_config_core_v3_DataSource *msg, upb_StringView value) {
|
1977
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1978
|
-
|
2239
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2240
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1979
2241
|
}
|
1980
2242
|
UPB_INLINE void envoy_config_core_v3_DataSource_set_inline_bytes(envoy_config_core_v3_DataSource *msg, upb_StringView value) {
|
1981
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1982
|
-
|
2243
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 16), -13, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2244
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1983
2245
|
}
|
1984
2246
|
UPB_INLINE void envoy_config_core_v3_DataSource_set_inline_string(envoy_config_core_v3_DataSource *msg, upb_StringView value) {
|
1985
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1986
|
-
|
2247
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 16), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2248
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1987
2249
|
}
|
1988
2250
|
UPB_INLINE void envoy_config_core_v3_DataSource_set_environment_variable(envoy_config_core_v3_DataSource *msg, upb_StringView value) {
|
1989
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1990
|
-
|
2251
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 16), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2252
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2253
|
+
}
|
2254
|
+
UPB_INLINE void envoy_config_core_v3_DataSource_set_watched_directory(envoy_config_core_v3_DataSource *msg, envoy_config_core_v3_WatchedDirectory* value) {
|
2255
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2256
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2257
|
+
}
|
2258
|
+
UPB_INLINE struct envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_DataSource_mutable_watched_directory(envoy_config_core_v3_DataSource* msg, upb_Arena* arena) {
|
2259
|
+
struct envoy_config_core_v3_WatchedDirectory* sub = (struct envoy_config_core_v3_WatchedDirectory*)envoy_config_core_v3_DataSource_watched_directory(msg);
|
2260
|
+
if (sub == NULL) {
|
2261
|
+
sub = (struct envoy_config_core_v3_WatchedDirectory*)_upb_Message_New(&envoy__config__core__v3__WatchedDirectory_msg_init, arena);
|
2262
|
+
if (sub) envoy_config_core_v3_DataSource_set_watched_directory(msg, sub);
|
2263
|
+
}
|
2264
|
+
return sub;
|
1991
2265
|
}
|
1992
2266
|
|
1993
2267
|
/* envoy.config.core.v3.RetryPolicy */
|
@@ -2058,10 +2332,82 @@ UPB_INLINE bool envoy_config_core_v3_RetryPolicy_has_num_retries(const envoy_con
|
|
2058
2332
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2059
2333
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2060
2334
|
}
|
2335
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_clear_retry_on(envoy_config_core_v3_RetryPolicy* msg) {
|
2336
|
+
const upb_MiniTableField field = {3, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2337
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2338
|
+
}
|
2339
|
+
UPB_INLINE upb_StringView envoy_config_core_v3_RetryPolicy_retry_on(const envoy_config_core_v3_RetryPolicy* msg) {
|
2340
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
2341
|
+
upb_StringView ret;
|
2342
|
+
const upb_MiniTableField field = {3, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2343
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2344
|
+
&default_val, &ret);
|
2345
|
+
return ret;
|
2346
|
+
}
|
2347
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_clear_retry_priority(envoy_config_core_v3_RetryPolicy* msg) {
|
2348
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2349
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2350
|
+
}
|
2351
|
+
UPB_INLINE const envoy_config_core_v3_RetryPolicy_RetryPriority* envoy_config_core_v3_RetryPolicy_retry_priority(const envoy_config_core_v3_RetryPolicy* msg) {
|
2352
|
+
const envoy_config_core_v3_RetryPolicy_RetryPriority* default_val = NULL;
|
2353
|
+
const envoy_config_core_v3_RetryPolicy_RetryPriority* ret;
|
2354
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2355
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2356
|
+
&default_val, &ret);
|
2357
|
+
return ret;
|
2358
|
+
}
|
2359
|
+
UPB_INLINE bool envoy_config_core_v3_RetryPolicy_has_retry_priority(const envoy_config_core_v3_RetryPolicy* msg) {
|
2360
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2361
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2362
|
+
}
|
2363
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_clear_retry_host_predicate(envoy_config_core_v3_RetryPolicy* msg) {
|
2364
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2365
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2366
|
+
}
|
2367
|
+
UPB_INLINE const envoy_config_core_v3_RetryPolicy_RetryHostPredicate* const* envoy_config_core_v3_RetryPolicy_retry_host_predicate(const envoy_config_core_v3_RetryPolicy* msg, size_t* size) {
|
2368
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2369
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
2370
|
+
if (arr) {
|
2371
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
2372
|
+
return (const envoy_config_core_v3_RetryPolicy_RetryHostPredicate* const*)upb_Array_DataPtr(arr);
|
2373
|
+
} else {
|
2374
|
+
if (size) *size = 0;
|
2375
|
+
return NULL;
|
2376
|
+
}
|
2377
|
+
}
|
2378
|
+
UPB_INLINE const upb_Array* _envoy_config_core_v3_RetryPolicy_retry_host_predicate_upb_array(const envoy_config_core_v3_RetryPolicy* msg, size_t* size) {
|
2379
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2380
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
2381
|
+
if (size) {
|
2382
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
2383
|
+
}
|
2384
|
+
return arr;
|
2385
|
+
}
|
2386
|
+
UPB_INLINE upb_Array* _envoy_config_core_v3_RetryPolicy_retry_host_predicate_mutable_upb_array(envoy_config_core_v3_RetryPolicy* msg, size_t* size, upb_Arena* arena) {
|
2387
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2388
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
2389
|
+
&field, arena);
|
2390
|
+
if (size) {
|
2391
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
2392
|
+
}
|
2393
|
+
return arr;
|
2394
|
+
}
|
2395
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_clear_host_selection_retry_max_attempts(envoy_config_core_v3_RetryPolicy* msg) {
|
2396
|
+
const upb_MiniTableField field = {6, UPB_SIZE(40, 64), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
2397
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2398
|
+
}
|
2399
|
+
UPB_INLINE int64_t envoy_config_core_v3_RetryPolicy_host_selection_retry_max_attempts(const envoy_config_core_v3_RetryPolicy* msg) {
|
2400
|
+
int64_t default_val = (int64_t)0ll;
|
2401
|
+
int64_t ret;
|
2402
|
+
const upb_MiniTableField field = {6, UPB_SIZE(40, 64), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
2403
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2404
|
+
&default_val, &ret);
|
2405
|
+
return ret;
|
2406
|
+
}
|
2061
2407
|
|
2062
2408
|
UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_retry_back_off(envoy_config_core_v3_RetryPolicy *msg, struct envoy_config_core_v3_BackoffStrategy* value) {
|
2063
2409
|
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2064
|
-
|
2410
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2065
2411
|
}
|
2066
2412
|
UPB_INLINE struct envoy_config_core_v3_BackoffStrategy* envoy_config_core_v3_RetryPolicy_mutable_retry_back_off(envoy_config_core_v3_RetryPolicy* msg, upb_Arena* arena) {
|
2067
2413
|
struct envoy_config_core_v3_BackoffStrategy* sub = (struct envoy_config_core_v3_BackoffStrategy*)envoy_config_core_v3_RetryPolicy_retry_back_off(msg);
|
@@ -2073,7 +2419,7 @@ UPB_INLINE struct envoy_config_core_v3_BackoffStrategy* envoy_config_core_v3_Ret
|
|
2073
2419
|
}
|
2074
2420
|
UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_num_retries(envoy_config_core_v3_RetryPolicy *msg, struct google_protobuf_UInt32Value* value) {
|
2075
2421
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2076
|
-
|
2422
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2077
2423
|
}
|
2078
2424
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_RetryPolicy_mutable_num_retries(envoy_config_core_v3_RetryPolicy* msg, upb_Arena* arena) {
|
2079
2425
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_RetryPolicy_num_retries(msg);
|
@@ -2083,6 +2429,238 @@ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_RetryPolicy_
|
|
2083
2429
|
}
|
2084
2430
|
return sub;
|
2085
2431
|
}
|
2432
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_retry_on(envoy_config_core_v3_RetryPolicy *msg, upb_StringView value) {
|
2433
|
+
const upb_MiniTableField field = {3, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2434
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2435
|
+
}
|
2436
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_retry_priority(envoy_config_core_v3_RetryPolicy *msg, envoy_config_core_v3_RetryPolicy_RetryPriority* value) {
|
2437
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2438
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2439
|
+
}
|
2440
|
+
UPB_INLINE struct envoy_config_core_v3_RetryPolicy_RetryPriority* envoy_config_core_v3_RetryPolicy_mutable_retry_priority(envoy_config_core_v3_RetryPolicy* msg, upb_Arena* arena) {
|
2441
|
+
struct envoy_config_core_v3_RetryPolicy_RetryPriority* sub = (struct envoy_config_core_v3_RetryPolicy_RetryPriority*)envoy_config_core_v3_RetryPolicy_retry_priority(msg);
|
2442
|
+
if (sub == NULL) {
|
2443
|
+
sub = (struct envoy_config_core_v3_RetryPolicy_RetryPriority*)_upb_Message_New(&envoy__config__core__v3__RetryPolicy__RetryPriority_msg_init, arena);
|
2444
|
+
if (sub) envoy_config_core_v3_RetryPolicy_set_retry_priority(msg, sub);
|
2445
|
+
}
|
2446
|
+
return sub;
|
2447
|
+
}
|
2448
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryHostPredicate** envoy_config_core_v3_RetryPolicy_mutable_retry_host_predicate(envoy_config_core_v3_RetryPolicy* msg, size_t* size) {
|
2449
|
+
upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2450
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
2451
|
+
if (arr) {
|
2452
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
2453
|
+
return (envoy_config_core_v3_RetryPolicy_RetryHostPredicate**)upb_Array_MutableDataPtr(arr);
|
2454
|
+
} else {
|
2455
|
+
if (size) *size = 0;
|
2456
|
+
return NULL;
|
2457
|
+
}
|
2458
|
+
}
|
2459
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryHostPredicate** envoy_config_core_v3_RetryPolicy_resize_retry_host_predicate(envoy_config_core_v3_RetryPolicy* msg, size_t size, upb_Arena* arena) {
|
2460
|
+
upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2461
|
+
return (envoy_config_core_v3_RetryPolicy_RetryHostPredicate**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
2462
|
+
&field, size, arena);
|
2463
|
+
}
|
2464
|
+
UPB_INLINE struct envoy_config_core_v3_RetryPolicy_RetryHostPredicate* envoy_config_core_v3_RetryPolicy_add_retry_host_predicate(envoy_config_core_v3_RetryPolicy* msg, upb_Arena* arena) {
|
2465
|
+
upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2466
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2467
|
+
UPB_UPCAST(msg), &field, arena);
|
2468
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
2469
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
2470
|
+
return NULL;
|
2471
|
+
}
|
2472
|
+
struct envoy_config_core_v3_RetryPolicy_RetryHostPredicate* sub = (struct envoy_config_core_v3_RetryPolicy_RetryHostPredicate*)_upb_Message_New(&envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init, arena);
|
2473
|
+
if (!arr || !sub) return NULL;
|
2474
|
+
UPB_PRIVATE(_upb_Array_Set)
|
2475
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
2476
|
+
return sub;
|
2477
|
+
}
|
2478
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_host_selection_retry_max_attempts(envoy_config_core_v3_RetryPolicy *msg, int64_t value) {
|
2479
|
+
const upb_MiniTableField field = {6, UPB_SIZE(40, 64), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
2480
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2481
|
+
}
|
2482
|
+
|
2483
|
+
/* envoy.config.core.v3.RetryPolicy.RetryPriority */
|
2484
|
+
|
2485
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryPriority* envoy_config_core_v3_RetryPolicy_RetryPriority_new(upb_Arena* arena) {
|
2486
|
+
return (envoy_config_core_v3_RetryPolicy_RetryPriority*)_upb_Message_New(&envoy__config__core__v3__RetryPolicy__RetryPriority_msg_init, arena);
|
2487
|
+
}
|
2488
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryPriority* envoy_config_core_v3_RetryPolicy_RetryPriority_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2489
|
+
envoy_config_core_v3_RetryPolicy_RetryPriority* ret = envoy_config_core_v3_RetryPolicy_RetryPriority_new(arena);
|
2490
|
+
if (!ret) return NULL;
|
2491
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RetryPolicy__RetryPriority_msg_init, NULL, 0, arena) !=
|
2492
|
+
kUpb_DecodeStatus_Ok) {
|
2493
|
+
return NULL;
|
2494
|
+
}
|
2495
|
+
return ret;
|
2496
|
+
}
|
2497
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryPriority* envoy_config_core_v3_RetryPolicy_RetryPriority_parse_ex(const char* buf, size_t size,
|
2498
|
+
const upb_ExtensionRegistry* extreg,
|
2499
|
+
int options, upb_Arena* arena) {
|
2500
|
+
envoy_config_core_v3_RetryPolicy_RetryPriority* ret = envoy_config_core_v3_RetryPolicy_RetryPriority_new(arena);
|
2501
|
+
if (!ret) return NULL;
|
2502
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RetryPolicy__RetryPriority_msg_init, extreg, options,
|
2503
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2504
|
+
return NULL;
|
2505
|
+
}
|
2506
|
+
return ret;
|
2507
|
+
}
|
2508
|
+
UPB_INLINE char* envoy_config_core_v3_RetryPolicy_RetryPriority_serialize(const envoy_config_core_v3_RetryPolicy_RetryPriority* msg, upb_Arena* arena, size_t* len) {
|
2509
|
+
char* ptr;
|
2510
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RetryPolicy__RetryPriority_msg_init, 0, arena, &ptr, len);
|
2511
|
+
return ptr;
|
2512
|
+
}
|
2513
|
+
UPB_INLINE char* envoy_config_core_v3_RetryPolicy_RetryPriority_serialize_ex(const envoy_config_core_v3_RetryPolicy_RetryPriority* msg, int options,
|
2514
|
+
upb_Arena* arena, size_t* len) {
|
2515
|
+
char* ptr;
|
2516
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RetryPolicy__RetryPriority_msg_init, options, arena, &ptr, len);
|
2517
|
+
return ptr;
|
2518
|
+
}
|
2519
|
+
typedef enum {
|
2520
|
+
envoy_config_core_v3_RetryPolicy_RetryPriority_config_type_typed_config = 2,
|
2521
|
+
envoy_config_core_v3_RetryPolicy_RetryPriority_config_type_NOT_SET = 0
|
2522
|
+
} envoy_config_core_v3_RetryPolicy_RetryPriority_config_type_oneofcases;
|
2523
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryPriority_config_type_oneofcases envoy_config_core_v3_RetryPolicy_RetryPriority_config_type_case(const envoy_config_core_v3_RetryPolicy_RetryPriority* msg) {
|
2524
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2525
|
+
return (envoy_config_core_v3_RetryPolicy_RetryPriority_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
2526
|
+
UPB_UPCAST(msg), &field);
|
2527
|
+
}
|
2528
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryPriority_clear_name(envoy_config_core_v3_RetryPolicy_RetryPriority* msg) {
|
2529
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2530
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2531
|
+
}
|
2532
|
+
UPB_INLINE upb_StringView envoy_config_core_v3_RetryPolicy_RetryPriority_name(const envoy_config_core_v3_RetryPolicy_RetryPriority* msg) {
|
2533
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
2534
|
+
upb_StringView ret;
|
2535
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2536
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2537
|
+
&default_val, &ret);
|
2538
|
+
return ret;
|
2539
|
+
}
|
2540
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryPriority_clear_typed_config(envoy_config_core_v3_RetryPolicy_RetryPriority* msg) {
|
2541
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2542
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2543
|
+
}
|
2544
|
+
UPB_INLINE const struct google_protobuf_Any* envoy_config_core_v3_RetryPolicy_RetryPriority_typed_config(const envoy_config_core_v3_RetryPolicy_RetryPriority* msg) {
|
2545
|
+
const struct google_protobuf_Any* default_val = NULL;
|
2546
|
+
const struct google_protobuf_Any* ret;
|
2547
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2548
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2549
|
+
&default_val, &ret);
|
2550
|
+
return ret;
|
2551
|
+
}
|
2552
|
+
UPB_INLINE bool envoy_config_core_v3_RetryPolicy_RetryPriority_has_typed_config(const envoy_config_core_v3_RetryPolicy_RetryPriority* msg) {
|
2553
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2554
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2555
|
+
}
|
2556
|
+
|
2557
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryPriority_set_name(envoy_config_core_v3_RetryPolicy_RetryPriority *msg, upb_StringView value) {
|
2558
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2559
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2560
|
+
}
|
2561
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryPriority_set_typed_config(envoy_config_core_v3_RetryPolicy_RetryPriority *msg, struct google_protobuf_Any* value) {
|
2562
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2563
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2564
|
+
}
|
2565
|
+
UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_RetryPolicy_RetryPriority_mutable_typed_config(envoy_config_core_v3_RetryPolicy_RetryPriority* msg, upb_Arena* arena) {
|
2566
|
+
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_core_v3_RetryPolicy_RetryPriority_typed_config(msg);
|
2567
|
+
if (sub == NULL) {
|
2568
|
+
sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena);
|
2569
|
+
if (sub) envoy_config_core_v3_RetryPolicy_RetryPriority_set_typed_config(msg, sub);
|
2570
|
+
}
|
2571
|
+
return sub;
|
2572
|
+
}
|
2573
|
+
|
2574
|
+
/* envoy.config.core.v3.RetryPolicy.RetryHostPredicate */
|
2575
|
+
|
2576
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryHostPredicate* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_new(upb_Arena* arena) {
|
2577
|
+
return (envoy_config_core_v3_RetryPolicy_RetryHostPredicate*)_upb_Message_New(&envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init, arena);
|
2578
|
+
}
|
2579
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryHostPredicate* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2580
|
+
envoy_config_core_v3_RetryPolicy_RetryHostPredicate* ret = envoy_config_core_v3_RetryPolicy_RetryHostPredicate_new(arena);
|
2581
|
+
if (!ret) return NULL;
|
2582
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init, NULL, 0, arena) !=
|
2583
|
+
kUpb_DecodeStatus_Ok) {
|
2584
|
+
return NULL;
|
2585
|
+
}
|
2586
|
+
return ret;
|
2587
|
+
}
|
2588
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryHostPredicate* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_parse_ex(const char* buf, size_t size,
|
2589
|
+
const upb_ExtensionRegistry* extreg,
|
2590
|
+
int options, upb_Arena* arena) {
|
2591
|
+
envoy_config_core_v3_RetryPolicy_RetryHostPredicate* ret = envoy_config_core_v3_RetryPolicy_RetryHostPredicate_new(arena);
|
2592
|
+
if (!ret) return NULL;
|
2593
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init, extreg, options,
|
2594
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2595
|
+
return NULL;
|
2596
|
+
}
|
2597
|
+
return ret;
|
2598
|
+
}
|
2599
|
+
UPB_INLINE char* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_serialize(const envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg, upb_Arena* arena, size_t* len) {
|
2600
|
+
char* ptr;
|
2601
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init, 0, arena, &ptr, len);
|
2602
|
+
return ptr;
|
2603
|
+
}
|
2604
|
+
UPB_INLINE char* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_serialize_ex(const envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg, int options,
|
2605
|
+
upb_Arena* arena, size_t* len) {
|
2606
|
+
char* ptr;
|
2607
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init, options, arena, &ptr, len);
|
2608
|
+
return ptr;
|
2609
|
+
}
|
2610
|
+
typedef enum {
|
2611
|
+
envoy_config_core_v3_RetryPolicy_RetryHostPredicate_config_type_typed_config = 2,
|
2612
|
+
envoy_config_core_v3_RetryPolicy_RetryHostPredicate_config_type_NOT_SET = 0
|
2613
|
+
} envoy_config_core_v3_RetryPolicy_RetryHostPredicate_config_type_oneofcases;
|
2614
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryHostPredicate_config_type_oneofcases envoy_config_core_v3_RetryPolicy_RetryHostPredicate_config_type_case(const envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg) {
|
2615
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2616
|
+
return (envoy_config_core_v3_RetryPolicy_RetryHostPredicate_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
2617
|
+
UPB_UPCAST(msg), &field);
|
2618
|
+
}
|
2619
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryHostPredicate_clear_name(envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg) {
|
2620
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2621
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2622
|
+
}
|
2623
|
+
UPB_INLINE upb_StringView envoy_config_core_v3_RetryPolicy_RetryHostPredicate_name(const envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg) {
|
2624
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
2625
|
+
upb_StringView ret;
|
2626
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2627
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2628
|
+
&default_val, &ret);
|
2629
|
+
return ret;
|
2630
|
+
}
|
2631
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryHostPredicate_clear_typed_config(envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg) {
|
2632
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2633
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2634
|
+
}
|
2635
|
+
UPB_INLINE const struct google_protobuf_Any* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_typed_config(const envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg) {
|
2636
|
+
const struct google_protobuf_Any* default_val = NULL;
|
2637
|
+
const struct google_protobuf_Any* ret;
|
2638
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2639
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2640
|
+
&default_val, &ret);
|
2641
|
+
return ret;
|
2642
|
+
}
|
2643
|
+
UPB_INLINE bool envoy_config_core_v3_RetryPolicy_RetryHostPredicate_has_typed_config(const envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg) {
|
2644
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2645
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2646
|
+
}
|
2647
|
+
|
2648
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryHostPredicate_set_name(envoy_config_core_v3_RetryPolicy_RetryHostPredicate *msg, upb_StringView value) {
|
2649
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2650
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2651
|
+
}
|
2652
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryHostPredicate_set_typed_config(envoy_config_core_v3_RetryPolicy_RetryHostPredicate *msg, struct google_protobuf_Any* value) {
|
2653
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2654
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2655
|
+
}
|
2656
|
+
UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_mutable_typed_config(envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg, upb_Arena* arena) {
|
2657
|
+
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_core_v3_RetryPolicy_RetryHostPredicate_typed_config(msg);
|
2658
|
+
if (sub == NULL) {
|
2659
|
+
sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena);
|
2660
|
+
if (sub) envoy_config_core_v3_RetryPolicy_RetryHostPredicate_set_typed_config(msg, sub);
|
2661
|
+
}
|
2662
|
+
return sub;
|
2663
|
+
}
|
2086
2664
|
|
2087
2665
|
/* envoy.config.core.v3.RemoteDataSource */
|
2088
2666
|
|
@@ -2167,7 +2745,7 @@ UPB_INLINE bool envoy_config_core_v3_RemoteDataSource_has_retry_policy(const env
|
|
2167
2745
|
|
2168
2746
|
UPB_INLINE void envoy_config_core_v3_RemoteDataSource_set_http_uri(envoy_config_core_v3_RemoteDataSource *msg, struct envoy_config_core_v3_HttpUri* value) {
|
2169
2747
|
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2170
|
-
|
2748
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2171
2749
|
}
|
2172
2750
|
UPB_INLINE struct envoy_config_core_v3_HttpUri* envoy_config_core_v3_RemoteDataSource_mutable_http_uri(envoy_config_core_v3_RemoteDataSource* msg, upb_Arena* arena) {
|
2173
2751
|
struct envoy_config_core_v3_HttpUri* sub = (struct envoy_config_core_v3_HttpUri*)envoy_config_core_v3_RemoteDataSource_http_uri(msg);
|
@@ -2179,11 +2757,11 @@ UPB_INLINE struct envoy_config_core_v3_HttpUri* envoy_config_core_v3_RemoteDataS
|
|
2179
2757
|
}
|
2180
2758
|
UPB_INLINE void envoy_config_core_v3_RemoteDataSource_set_sha256(envoy_config_core_v3_RemoteDataSource *msg, upb_StringView value) {
|
2181
2759
|
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2182
|
-
|
2760
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2183
2761
|
}
|
2184
2762
|
UPB_INLINE void envoy_config_core_v3_RemoteDataSource_set_retry_policy(envoy_config_core_v3_RemoteDataSource *msg, envoy_config_core_v3_RetryPolicy* value) {
|
2185
2763
|
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2186
|
-
|
2764
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2187
2765
|
}
|
2188
2766
|
UPB_INLINE struct envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RemoteDataSource_mutable_retry_policy(envoy_config_core_v3_RemoteDataSource* msg, upb_Arena* arena) {
|
2189
2767
|
struct envoy_config_core_v3_RetryPolicy* sub = (struct envoy_config_core_v3_RetryPolicy*)envoy_config_core_v3_RemoteDataSource_retry_policy(msg);
|
@@ -2275,7 +2853,7 @@ UPB_INLINE bool envoy_config_core_v3_AsyncDataSource_has_remote(const envoy_conf
|
|
2275
2853
|
|
2276
2854
|
UPB_INLINE void envoy_config_core_v3_AsyncDataSource_set_local(envoy_config_core_v3_AsyncDataSource *msg, envoy_config_core_v3_DataSource* value) {
|
2277
2855
|
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2278
|
-
|
2856
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2279
2857
|
}
|
2280
2858
|
UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_config_core_v3_AsyncDataSource_mutable_local(envoy_config_core_v3_AsyncDataSource* msg, upb_Arena* arena) {
|
2281
2859
|
struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_config_core_v3_AsyncDataSource_local(msg);
|
@@ -2287,7 +2865,7 @@ UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_config_core_v3_AsyncDat
|
|
2287
2865
|
}
|
2288
2866
|
UPB_INLINE void envoy_config_core_v3_AsyncDataSource_set_remote(envoy_config_core_v3_AsyncDataSource *msg, envoy_config_core_v3_RemoteDataSource* value) {
|
2289
2867
|
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2290
|
-
|
2868
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2291
2869
|
}
|
2292
2870
|
UPB_INLINE struct envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_AsyncDataSource_mutable_remote(envoy_config_core_v3_AsyncDataSource* msg, upb_Arena* arena) {
|
2293
2871
|
struct envoy_config_core_v3_RemoteDataSource* sub = (struct envoy_config_core_v3_RemoteDataSource*)envoy_config_core_v3_AsyncDataSource_remote(msg);
|
@@ -2374,11 +2952,11 @@ UPB_INLINE bool envoy_config_core_v3_TransportSocket_has_typed_config(const envo
|
|
2374
2952
|
|
2375
2953
|
UPB_INLINE void envoy_config_core_v3_TransportSocket_set_name(envoy_config_core_v3_TransportSocket *msg, upb_StringView value) {
|
2376
2954
|
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2377
|
-
|
2955
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2378
2956
|
}
|
2379
2957
|
UPB_INLINE void envoy_config_core_v3_TransportSocket_set_typed_config(envoy_config_core_v3_TransportSocket *msg, struct google_protobuf_Any* value) {
|
2380
2958
|
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2381
|
-
|
2959
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2382
2960
|
}
|
2383
2961
|
UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_TransportSocket_mutable_typed_config(envoy_config_core_v3_TransportSocket* msg, upb_Arena* arena) {
|
2384
2962
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_core_v3_TransportSocket_typed_config(msg);
|
@@ -2456,7 +3034,7 @@ UPB_INLINE upb_StringView envoy_config_core_v3_RuntimeFractionalPercent_runtime_
|
|
2456
3034
|
|
2457
3035
|
UPB_INLINE void envoy_config_core_v3_RuntimeFractionalPercent_set_default_value(envoy_config_core_v3_RuntimeFractionalPercent *msg, struct envoy_type_v3_FractionalPercent* value) {
|
2458
3036
|
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2459
|
-
|
3037
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2460
3038
|
}
|
2461
3039
|
UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_config_core_v3_RuntimeFractionalPercent_mutable_default_value(envoy_config_core_v3_RuntimeFractionalPercent* msg, upb_Arena* arena) {
|
2462
3040
|
struct envoy_type_v3_FractionalPercent* sub = (struct envoy_type_v3_FractionalPercent*)envoy_config_core_v3_RuntimeFractionalPercent_default_value(msg);
|
@@ -2468,7 +3046,7 @@ UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_config_core_v3_RuntimeF
|
|
2468
3046
|
}
|
2469
3047
|
UPB_INLINE void envoy_config_core_v3_RuntimeFractionalPercent_set_runtime_key(envoy_config_core_v3_RuntimeFractionalPercent *msg, upb_StringView value) {
|
2470
3048
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2471
|
-
|
3049
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2472
3050
|
}
|
2473
3051
|
|
2474
3052
|
/* envoy.config.core.v3.ControlPlane */
|
@@ -2522,7 +3100,7 @@ UPB_INLINE upb_StringView envoy_config_core_v3_ControlPlane_identifier(const env
|
|
2522
3100
|
|
2523
3101
|
UPB_INLINE void envoy_config_core_v3_ControlPlane_set_identifier(envoy_config_core_v3_ControlPlane *msg, upb_StringView value) {
|
2524
3102
|
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2525
|
-
|
3103
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2526
3104
|
}
|
2527
3105
|
|
2528
3106
|
#ifdef __cplusplus
|