grpc 1.62.3 → 1.63.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +415 -1962
- data/include/grpc/byte_buffer.h +1 -2
- data/include/grpc/census.h +1 -2
- data/include/grpc/compression.h +1 -2
- data/include/grpc/event_engine/endpoint_config.h +2 -2
- data/include/grpc/event_engine/event_engine.h +4 -2
- data/include/grpc/event_engine/extensible.h +2 -2
- data/include/grpc/event_engine/internal/memory_allocator_impl.h +1 -2
- data/include/grpc/event_engine/memory_allocator.h +1 -2
- data/include/grpc/event_engine/memory_request.h +2 -2
- data/include/grpc/event_engine/slice.h +1 -2
- data/include/grpc/event_engine/slice_buffer.h +1 -2
- data/include/grpc/grpc.h +1 -8
- data/include/grpc/grpc_audit_logging.h +1 -2
- data/include/grpc/grpc_crl_provider.h +2 -2
- data/include/grpc/grpc_cronet.h +1 -2
- data/include/grpc/grpc_posix.h +1 -2
- data/include/grpc/grpc_security.h +1 -2
- data/include/grpc/impl/call.h +1 -2
- data/include/grpc/impl/channel_arg_names.h +4 -0
- data/include/grpc/impl/grpc_types.h +1 -2
- data/include/grpc/impl/slice_type.h +2 -2
- data/include/grpc/module.modulemap +1 -0
- data/include/grpc/slice.h +1 -2
- data/include/grpc/slice_buffer.h +1 -2
- data/include/grpc/support/alloc.h +2 -2
- data/include/grpc/support/json.h +2 -2
- data/include/grpc/support/log.h +2 -2
- data/include/grpc/support/metrics.h +51 -0
- data/include/grpc/support/string_util.h +0 -1
- data/include/grpc/support/sync.h +0 -1
- data/include/grpc/support/sync_abseil.h +0 -1
- data/include/grpc/support/sync_custom.h +0 -1
- data/include/grpc/support/sync_generic.h +1 -2
- data/include/grpc/support/sync_posix.h +1 -2
- data/include/grpc/support/time.h +2 -2
- data/src/core/client_channel/client_channel_channelz.h +1 -1
- data/src/core/client_channel/client_channel_filter.cc +48 -38
- data/src/core/client_channel/client_channel_filter.h +6 -14
- data/src/core/client_channel/client_channel_internal.h +1 -1
- data/src/core/client_channel/client_channel_service_config.h +4 -3
- data/src/core/client_channel/config_selector.h +1 -1
- data/src/core/client_channel/dynamic_filters.h +1 -1
- data/src/core/client_channel/http_proxy_mapper.cc +3 -4
- data/src/core/client_channel/http_proxy_mapper.h +1 -1
- data/src/core/client_channel/retry_filter.h +1 -1
- data/src/core/client_channel/retry_filter_legacy_call_data.cc +1 -1
- data/src/core/client_channel/retry_filter_legacy_call_data.h +9 -9
- data/src/core/client_channel/retry_service_config.h +3 -3
- data/src/core/client_channel/retry_throttle.h +3 -2
- data/src/core/client_channel/subchannel.cc +2 -2
- data/src/core/client_channel/subchannel.h +7 -7
- data/src/core/client_channel/subchannel_pool_interface.h +1 -1
- data/src/core/client_channel/subchannel_stream_client.cc +1 -5
- data/src/core/client_channel/subchannel_stream_client.h +2 -2
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +3 -49
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +0 -12
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +4 -10
- data/src/core/ext/filters/http/http_filters_plugin.cc +15 -35
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +8 -7
- data/src/core/ext/filters/http/message_compress/compression_filter.h +2 -1
- data/src/core/ext/filters/http/server/http_server_filter.cc +1 -1
- data/src/core/ext/filters/message_size/message_size_filter.cc +15 -10
- data/src/core/ext/filters/rbac/rbac_filter.cc +4 -11
- data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +2 -2
- data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +1 -0
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +4 -9
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +38 -1
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +27 -75
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +23 -4
- data/src/core/ext/transport/chttp2/transport/context_list_entry.h +13 -10
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +28 -85
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +0 -4
- data/src/core/ext/transport/chttp2/transport/internal.h +4 -2
- data/src/core/ext/transport/chttp2/transport/parsing.cc +5 -10
- data/src/core/ext/transport/chttp2/transport/writing.cc +34 -31
- data/src/core/ext/transport/inproc/inproc_transport.cc +6 -4
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +9 -8
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +243 -230
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +42 -48
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +289 -265
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +62 -70
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +238 -226
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +42 -50
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +937 -882
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +182 -208
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +77 -76
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +86 -84
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +49 -42
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +357 -318
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +86 -86
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +23 -20
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +40 -32
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +24 -20
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +517 -473
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +105 -125
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +1207 -1108
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +261 -289
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +163 -152
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +29 -43
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +1265 -1137
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +276 -346
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +32 -28
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +7 -9
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +212 -188
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +53 -69
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +564 -508
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +123 -131
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +340 -309
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +69 -83
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +25 -22
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +5 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +786 -688
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +171 -189
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +367 -343
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +72 -80
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +19 -16
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +23 -20
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +77 -76
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +539 -471
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +125 -141
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +672 -632
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +137 -137
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +44 -43
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +35 -30
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +713 -637
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +166 -208
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +65 -61
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +10 -12
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +65 -61
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +11 -13
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +91 -83
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +17 -17
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +102 -93
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +22 -22
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +25 -22
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +5 -11
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +162 -145
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +32 -40
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +314 -287
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +70 -74
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +330 -309
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +66 -66
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +516 -478
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +110 -120
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +495 -468
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +89 -101
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +88 -78
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +19 -37
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +41 -36
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +8 -26
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +46 -40
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +307 -279
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +60 -64
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +382 -358
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +70 -70
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +540 -490
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +122 -136
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +339 -327
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +48 -70
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +3407 -3145
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +700 -752
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +100 -91
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +20 -20
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +472 -430
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +102 -116
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +23 -20
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +42 -36
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +9 -13
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +58 -55
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +9 -13
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +146 -136
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +30 -30
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +69 -65
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +67 -58
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +14 -24
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +64 -56
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +14 -20
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +58 -50
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +986 -832
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +269 -281
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +35 -35
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +102 -88
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +25 -25
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +224 -204
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +46 -62
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +66 -58
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +14 -24
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +160 -153
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +28 -30
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +51 -44
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +12 -12
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +1349 -1230
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +293 -309
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +61 -54
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +13 -23
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +124 -108
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +29 -37
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +14 -12
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +66 -58
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +20 -20
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +518 -493
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +82 -108
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +92 -80
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +23 -29
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +497 -457
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +110 -124
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +58 -55
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +9 -11
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +206 -185
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +48 -64
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +7 -6
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +766 -710
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +140 -150
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +102 -98
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +17 -17
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +310 -288
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +67 -67
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +30 -26
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +77 -71
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +26 -22
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +70 -60
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +77 -71
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +14 -14
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +44 -43
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +19 -16
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +65 -56
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +15 -19
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +14 -12
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +2 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +97 -89
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +18 -18
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +63 -59
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +10 -10
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +134 -121
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +29 -29
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +135 -121
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +26 -26
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +141 -122
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +37 -37
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +49 -42
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +11 -11
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +14 -12
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +35 -30
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +63 -54
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +58 -50
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +14 -14
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +32 -28
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +7 -9
- data/src/core/ext/upb-gen/google/api/annotations.upb.h +10 -8
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +581 -524
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +118 -146
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +616 -544
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +136 -152
- data/src/core/ext/upb-gen/google/api/http.upb.h +176 -162
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +34 -34
- data/src/core/ext/upb-gen/google/api/httpbody.upb.h +49 -47
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/google/protobuf/any.upb.h +21 -18
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +5 -5
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +2456 -2358
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +367 -486
- data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +21 -18
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +5 -5
- data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +7 -6
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +134 -116
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +27 -29
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +21 -18
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +5 -5
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +126 -108
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +27 -27
- data/src/core/ext/upb-gen/google/rpc/status.upb.h +49 -47
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +107 -92
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +27 -27
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +77 -61
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +21 -21
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +577 -518
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +121 -127
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +46 -40
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +10 -16
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +28 -24
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +265 -238
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +57 -63
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +96 -82
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +19 -19
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +496 -466
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +81 -85
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +99 -82
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +31 -26
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +10 -8
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +31 -26
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +24 -20
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/validate/validate.upb.h +2620 -2458
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +363 -507
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +99 -82
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +31 -26
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +10 -8
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +93 -78
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +17 -17
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +24 -20
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +14 -12
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +58 -50
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +33 -23
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +32 -28
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +103 -93
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +21 -21
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +37 -32
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +9 -13
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +127 -93
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +34 -34
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +44 -43
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +79 -78
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +9 -11
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +7 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +86 -84
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +324 -285
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +74 -82
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +237 -234
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +30 -36
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +33 -28
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +97 -89
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +18 -18
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +53 -46
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +12 -18
- data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +63 -54
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +5 -7
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +385 -384
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +2 -5
- data/src/core/ext/xds/certificate_provider_store.h +3 -2
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.h +2 -2
- data/src/core/ext/xds/xds_api.h +1 -1
- data/src/core/ext/xds/xds_audit_logger_registry.cc +2 -1
- data/src/core/ext/xds/xds_audit_logger_registry.h +1 -1
- data/src/core/ext/xds/xds_bootstrap.h +2 -4
- data/src/core/ext/xds/xds_bootstrap_grpc.cc +38 -6
- data/src/core/ext/xds/xds_bootstrap_grpc.h +22 -7
- data/src/core/ext/xds/xds_certificate_provider.cc +2 -2
- data/src/core/ext/xds/xds_certificate_provider.h +1 -1
- data/src/core/ext/xds/xds_channel_stack_modifier.h +2 -1
- data/src/core/ext/xds/xds_client.cc +283 -103
- data/src/core/ext/xds/xds_client.h +41 -8
- data/src/core/ext/xds/xds_client_grpc.cc +184 -55
- data/src/core/ext/xds/xds_client_grpc.h +22 -8
- data/src/core/ext/xds/xds_client_stats.cc +2 -2
- data/src/core/ext/xds/xds_client_stats.h +14 -7
- data/src/core/ext/xds/xds_cluster.cc +9 -9
- data/src/core/ext/xds/xds_cluster.h +5 -2
- data/src/core/ext/xds/xds_cluster_specifier_plugin.h +2 -2
- data/src/core/ext/xds/xds_endpoint.cc +3 -2
- data/src/core/ext/xds/xds_endpoint.h +2 -2
- data/src/core/ext/xds/xds_health_status.h +2 -2
- data/src/core/ext/xds/xds_http_fault_filter.h +1 -1
- data/src/core/ext/xds/xds_http_filters.h +2 -2
- data/src/core/ext/xds/xds_http_rbac_filter.h +1 -1
- data/src/core/ext/xds/xds_http_stateful_session_filter.h +1 -1
- data/src/core/ext/xds/xds_lb_policy_registry.cc +5 -5
- data/src/core/ext/xds/xds_lb_policy_registry.h +1 -1
- data/src/core/ext/xds/xds_listener.h +1 -1
- data/src/core/ext/xds/xds_metrics.h +39 -0
- data/src/core/ext/xds/xds_route_config.h +1 -1
- data/src/core/ext/xds/xds_routing.h +1 -1
- data/src/core/ext/xds/xds_server_config_fetcher.cc +20 -19
- data/src/core/ext/xds/xds_transport_grpc.cc +17 -32
- data/src/core/ext/xds/xds_transport_grpc.h +6 -6
- data/src/core/lib/address_utils/parse_address.cc +8 -1
- data/src/core/lib/address_utils/sockaddr_utils.cc +8 -1
- data/src/core/lib/channel/call_finalization.h +1 -1
- data/src/core/lib/channel/call_tracer.cc +3 -4
- data/src/core/lib/channel/call_tracer.h +14 -12
- data/src/core/lib/channel/channel_stack.cc +9 -0
- data/src/core/lib/channel/channel_stack.h +5 -0
- data/src/core/lib/channel/channel_stack_builder_impl.cc +140 -0
- data/src/core/lib/channel/channelz.h +9 -6
- data/src/core/lib/channel/channelz_registry.h +1 -1
- data/src/core/lib/channel/connected_channel.cc +5 -8
- data/src/core/lib/channel/metrics.cc +396 -0
- data/src/core/lib/channel/metrics.h +406 -0
- data/src/core/lib/channel/promise_based_filter.h +63 -7
- data/src/core/lib/channel/server_call_tracer_filter.cc +2 -0
- data/src/core/lib/{surface/builtins.h → channel/server_call_tracer_filter.h} +7 -5
- data/src/core/lib/channel/tcp_tracer.h +4 -0
- data/src/core/lib/compression/compression_internal.cc +33 -0
- data/src/core/lib/compression/compression_internal.h +3 -0
- data/src/core/lib/config/config_vars.cc +6 -4
- data/src/core/lib/config/config_vars.h +4 -0
- data/src/core/lib/debug/stats_data.cc +269 -26
- data/src/core/lib/debug/stats_data.h +176 -0
- data/src/core/lib/event_engine/default_event_engine.h +0 -6
- data/src/core/lib/event_engine/event_engine_context.h +31 -0
- data/src/core/lib/event_engine/extensions/chaotic_good_extension.h +65 -0
- data/src/core/lib/event_engine/posix.h +8 -0
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +1 -1
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +1 -0
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +7 -0
- data/src/core/lib/event_engine/tcp_socket_utils.cc +8 -1
- data/src/core/lib/event_engine/tcp_socket_utils.h +2 -2
- data/src/core/lib/event_engine/windows/win_socket.cc +4 -0
- data/src/core/lib/event_engine/windows/win_socket.h +3 -0
- data/src/core/lib/event_engine/windows/windows_engine.cc +41 -8
- data/src/core/lib/event_engine/windows/windows_listener.cc +54 -6
- data/src/core/lib/event_engine/windows/windows_listener.h +14 -0
- data/src/core/lib/experiments/config.cc +63 -45
- data/src/core/lib/experiments/experiments.cc +19 -238
- data/src/core/lib/experiments/experiments.h +4 -119
- data/src/core/lib/gpr/android/log.cc +1 -1
- data/src/core/lib/gpr/linux/log.cc +1 -1
- data/src/core/lib/gpr/log.cc +26 -0
- data/src/core/lib/gpr/posix/log.cc +1 -1
- data/src/core/lib/gpr/posix/time.cc +0 -60
- data/src/core/lib/gpr/windows/log.cc +1 -1
- data/src/core/lib/gprpp/down_cast.h +4 -4
- data/src/core/lib/gprpp/dual_ref_counted.h +17 -9
- data/src/core/lib/gprpp/load_file.cc +3 -1
- data/src/core/lib/gprpp/orphanable.h +5 -2
- data/src/core/lib/gprpp/ref_counted.h +5 -2
- data/src/core/lib/gprpp/ref_counted_ptr.h +2 -1
- data/src/core/lib/gprpp/time.h +6 -0
- data/src/core/lib/gprpp/uuid_v4.cc +37 -0
- data/src/core/lib/gprpp/uuid_v4.h +36 -0
- data/src/core/lib/iomgr/port.h +3 -0
- data/src/core/lib/iomgr/tcp_client_windows.cc +24 -5
- data/src/core/lib/iomgr/tcp_posix.cc +47 -0
- data/src/core/lib/iomgr/tcp_server_posix.cc +101 -87
- data/src/core/lib/iomgr/tcp_server_windows.cc +60 -9
- data/src/core/lib/iomgr/unix_sockets_posix.cc +13 -0
- data/src/core/lib/promise/activity.h +1 -0
- data/src/core/lib/promise/context.h +2 -2
- data/src/core/lib/promise/party.cc +33 -3
- data/src/core/lib/promise/party.h +12 -14
- data/src/core/lib/promise/sleep.cc +1 -1
- data/src/core/lib/promise/status_flag.h +8 -0
- data/src/core/lib/resource_quota/arena.h +3 -0
- data/src/core/lib/resource_quota/connection_quota.cc +71 -0
- data/src/core/lib/resource_quota/connection_quota.h +61 -0
- data/src/core/lib/security/authorization/evaluate_args.cc +6 -5
- data/src/core/lib/security/authorization/evaluate_args.h +3 -3
- data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +4 -7
- data/src/core/lib/security/authorization/grpc_server_authz_filter.h +1 -2
- data/src/core/lib/security/credentials/jwt/json_token.cc +8 -4
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +11 -16
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +17 -10
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +7 -3
- data/src/core/lib/security/security_connector/load_system_roots.h +3 -0
- data/src/core/lib/security/security_connector/load_system_roots_fallback.cc +3 -2
- data/src/core/lib/security/security_connector/load_system_roots_windows.cc +87 -0
- data/src/core/lib/security/transport/auth_filters.h +0 -25
- data/src/core/lib/security/transport/security_handshaker.cc +18 -9
- data/src/core/lib/security/transport/security_handshaker.h +4 -2
- data/src/core/lib/slice/slice.cc +31 -5
- data/src/core/lib/slice/slice_buffer.cc +49 -11
- data/src/core/lib/slice/slice_buffer.h +14 -1
- data/src/core/lib/slice/slice_internal.h +7 -0
- data/src/core/lib/surface/call.cc +50 -55
- data/src/core/lib/surface/call.h +3 -3
- data/src/core/lib/surface/call_trace.h +0 -6
- data/src/core/lib/surface/channel.cc +104 -315
- data/src/core/lib/surface/channel.h +88 -107
- data/src/core/lib/surface/channel_create.cc +109 -0
- data/src/core/lib/surface/{builtins.cc → channel_create.h} +20 -15
- data/src/core/lib/surface/channel_init.cc +7 -6
- data/src/core/lib/surface/channel_init.h +18 -2
- data/src/core/lib/surface/init.cc +9 -14
- data/src/core/lib/surface/lame_client.cc +3 -28
- data/src/core/lib/surface/lame_client.h +7 -2
- data/src/core/lib/surface/legacy_channel.cc +414 -0
- data/src/core/lib/surface/legacy_channel.h +124 -0
- data/src/core/lib/surface/server.cc +20 -35
- data/src/core/lib/surface/server.h +10 -6
- data/src/core/lib/surface/server_interface.h +43 -0
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/batch_builder.cc +7 -16
- data/src/core/lib/transport/batch_builder.h +4 -6
- data/src/core/lib/transport/call_filters.cc +119 -19
- data/src/core/lib/transport/call_filters.h +339 -40
- data/src/core/lib/transport/call_spine.h +8 -3
- data/src/core/lib/transport/endpoint_info_handshaker.cc +80 -0
- data/src/core/lib/transport/endpoint_info_handshaker.h +37 -0
- data/src/core/lib/transport/handshaker_factory.h +1 -2
- data/src/core/lib/transport/metadata.cc +1 -1
- data/src/core/lib/transport/metadata_batch.cc +66 -5
- data/src/core/lib/transport/metadata_batch.h +12 -16
- data/src/core/lib/transport/metadata_info.cc +55 -0
- data/src/core/lib/transport/metadata_info.h +85 -0
- data/src/core/lib/transport/transport_op_string.cc +0 -8
- data/src/core/load_balancing/address_filtering.cc +1 -1
- data/src/core/load_balancing/address_filtering.h +1 -1
- data/src/core/{client_channel/backend_metric.cc → load_balancing/backend_metric_parser.cc} +1 -1
- data/src/core/{client_channel/backend_metric.h → load_balancing/backend_metric_parser.h} +3 -3
- data/src/core/load_balancing/child_policy_handler.cc +1 -1
- data/src/core/load_balancing/delegating_helper.h +8 -0
- data/src/core/load_balancing/endpoint_list.cc +1 -1
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +3 -1
- data/src/core/load_balancing/grpclb/grpclb.cc +39 -44
- data/src/core/load_balancing/grpclb/grpclb_client_stats.h +1 -1
- data/src/core/load_balancing/health_check_client.cc +6 -6
- data/src/core/load_balancing/health_check_client_internal.h +4 -5
- data/src/core/load_balancing/lb_policy.h +13 -4
- data/src/core/load_balancing/lb_policy_registry.h +2 -2
- data/src/core/load_balancing/oob_backend_metric.cc +6 -6
- data/src/core/load_balancing/oob_backend_metric.h +1 -1
- data/src/core/load_balancing/oob_backend_metric_internal.h +6 -6
- data/src/core/load_balancing/outlier_detection/outlier_detection.cc +29 -29
- data/src/core/load_balancing/pick_first/pick_first.cc +70 -148
- data/src/core/load_balancing/priority/priority.cc +8 -7
- data/src/core/load_balancing/ring_hash/ring_hash.cc +8 -8
- data/src/core/load_balancing/ring_hash/ring_hash.h +1 -1
- data/src/core/load_balancing/rls/rls.cc +202 -79
- data/src/core/load_balancing/rls/rls.h +26 -0
- data/src/core/load_balancing/round_robin/round_robin.cc +7 -462
- data/src/core/load_balancing/subchannel_interface.h +3 -2
- data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h +1 -1
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +169 -964
- data/src/core/load_balancing/weighted_target/weighted_target.cc +13 -10
- data/src/core/load_balancing/weighted_target/weighted_target.h +28 -0
- data/src/core/load_balancing/xds/cds.cc +8 -8
- data/src/core/load_balancing/xds/xds_cluster_impl.cc +101 -57
- data/src/core/load_balancing/xds/xds_cluster_manager.cc +6 -6
- data/src/core/load_balancing/xds/xds_override_host.cc +15 -15
- data/src/core/load_balancing/xds/xds_override_host.h +1 -1
- data/src/core/load_balancing/xds/xds_wrr_locality.cc +9 -8
- data/src/core/plugin_registry/grpc_plugin_registry.cc +20 -3
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -1
- data/src/core/resolver/binder/binder_resolver.cc +9 -2
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +8 -7
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +2 -2
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +3 -3
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +1 -1
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +2 -2
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h +3 -1
- data/src/core/resolver/dns/native/dns_resolver.cc +3 -3
- data/src/core/resolver/endpoint_addresses.h +4 -4
- data/src/core/resolver/fake/fake_resolver.cc +2 -2
- data/src/core/resolver/fake/fake_resolver.h +1 -1
- data/src/core/resolver/google_c2p/google_c2p_resolver.cc +9 -4
- data/src/core/resolver/resolver_registry.h +2 -2
- data/src/core/resolver/sockaddr/sockaddr_resolver.cc +6 -6
- data/src/core/resolver/xds/xds_dependency_manager.cc +14 -9
- data/src/core/resolver/xds/xds_dependency_manager.h +5 -5
- data/src/core/resolver/xds/xds_resolver.cc +17 -16
- data/src/core/resolver/xds/xds_resolver_attributes.h +1 -1
- data/src/core/{client_channel → service_config}/service_config_channel_arg_filter.cc +1 -1
- data/src/core/service_config/service_config_parser.h +1 -1
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +6 -4
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +1 -0
- data/src/core/tsi/ssl/key_logging/ssl_key_logging.cc +1 -1
- data/src/core/tsi/ssl_transport_security.cc +198 -70
- data/src/core/tsi/ssl_transport_security_utils.cc +127 -0
- data/src/core/tsi/ssl_transport_security_utils.h +27 -0
- data/src/ruby/ext/grpc/extconf.rb +0 -3
- data/src/ruby/ext/grpc/rb_grpc.c +1 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +0 -2
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +0 -3
- data/src/ruby/lib/grpc/generic/active_call.rb +8 -2
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/spec/generic/rpc_server_spec.rb +25 -0
- data/third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc +320 -0
- data/third_party/abseil-cpp/absl/debugging/internal/examine_stack.h +64 -0
- data/third_party/abseil-cpp/absl/log/absl_vlog_is_on.h +93 -0
- data/third_party/abseil-cpp/absl/log/globals.cc +178 -0
- data/third_party/abseil-cpp/absl/log/globals.h +218 -0
- data/third_party/abseil-cpp/absl/log/internal/append_truncated.h +47 -0
- data/third_party/abseil-cpp/absl/log/internal/conditions.cc +83 -0
- data/third_party/abseil-cpp/absl/log/internal/conditions.h +239 -0
- data/third_party/abseil-cpp/absl/log/internal/config.h +45 -0
- data/third_party/abseil-cpp/absl/log/internal/fnmatch.cc +73 -0
- data/third_party/abseil-cpp/absl/log/internal/fnmatch.h +35 -0
- data/third_party/abseil-cpp/absl/log/internal/globals.cc +145 -0
- data/third_party/abseil-cpp/absl/log/internal/globals.h +101 -0
- data/third_party/abseil-cpp/absl/log/internal/log_format.cc +205 -0
- data/third_party/abseil-cpp/absl/log/internal/log_format.h +78 -0
- data/third_party/abseil-cpp/absl/log/internal/log_impl.h +282 -0
- data/third_party/abseil-cpp/absl/log/internal/log_message.cc +633 -0
- data/third_party/abseil-cpp/absl/log/internal/log_message.h +375 -0
- data/third_party/abseil-cpp/absl/log/internal/log_sink_set.cc +296 -0
- data/third_party/abseil-cpp/absl/log/internal/log_sink_set.h +54 -0
- data/third_party/abseil-cpp/absl/log/internal/nullguard.cc +35 -0
- data/third_party/abseil-cpp/absl/log/internal/nullguard.h +88 -0
- data/third_party/abseil-cpp/absl/log/internal/nullstream.h +136 -0
- data/third_party/abseil-cpp/absl/log/internal/proto.cc +220 -0
- data/third_party/abseil-cpp/absl/log/internal/proto.h +288 -0
- data/third_party/abseil-cpp/absl/log/internal/strip.h +72 -0
- data/third_party/abseil-cpp/absl/log/internal/vlog_config.cc +340 -0
- data/third_party/abseil-cpp/absl/log/internal/vlog_config.h +163 -0
- data/third_party/abseil-cpp/absl/log/internal/voidify.h +44 -0
- data/third_party/abseil-cpp/absl/log/log.h +361 -0
- data/third_party/abseil-cpp/absl/log/log_entry.cc +41 -0
- data/third_party/abseil-cpp/absl/log/log_entry.h +221 -0
- data/third_party/abseil-cpp/absl/log/log_sink.cc +23 -0
- data/third_party/abseil-cpp/absl/log/log_sink.h +64 -0
- data/third_party/abseil-cpp/absl/log/log_sink_registry.h +61 -0
- data/third_party/abseil-cpp/absl/log/vlog_is_on.h +72 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/internal.h +1 -7
- data/third_party/boringssl-with-bazel/src/crypto/asn1/posix_time.c +50 -39
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_des.c +15 -28
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/internal.h +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/des/des.c +45 -32
- data/third_party/boringssl-with-bazel/src/crypto/des/internal.h +24 -0
- data/third_party/boringssl-with-bazel/src/crypto/internal.h +12 -4
- data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +4 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_purp.c +40 -61
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +24 -7
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +36 -59
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +4 -4
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +13 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/asn1.h +10 -10
- data/third_party/boringssl-with-bazel/src/include/openssl/base.h +2 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +3 -3
- data/third_party/boringssl-with-bazel/src/include/openssl/pki/certificate.h +83 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/pki/signature_verify_cache.h +41 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/posix_time.h +6 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/rsa.h +19 -10
- data/third_party/boringssl-with-bazel/src/include/openssl/span.h +14 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +16 -4
- data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +196 -141
- data/third_party/boringssl-with-bazel/src/ssl/ssl_cert.cc +8 -1
- data/third_party/upb/upb/base/descriptor_constants.h +29 -2
- data/third_party/upb/upb/{wire/internal/swap.h → base/internal/endian.h} +12 -11
- data/third_party/upb/upb/base/status.h +1 -1
- data/third_party/upb/upb/base/status.hpp +5 -1
- data/third_party/upb/upb/base/string_view.h +7 -5
- data/third_party/upb/upb/base/upcast.h +29 -0
- data/third_party/upb/upb/generated_code_support.h +2 -1
- data/third_party/upb/upb/json/decode.c +103 -53
- data/third_party/upb/upb/json/decode.h +3 -26
- data/third_party/upb/upb/json/encode.c +3 -26
- data/third_party/upb/upb/json/encode.h +3 -26
- data/third_party/upb/upb/mem/arena.c +233 -106
- data/third_party/upb/upb/mem/arena.h +14 -66
- data/third_party/upb/upb/mem/arena.hpp +8 -4
- data/third_party/upb/upb/mem/internal/arena.h +76 -58
- data/third_party/upb/upb/message/accessors.c +19 -46
- data/third_party/upb/upb/message/accessors.h +208 -123
- data/third_party/upb/upb/message/array.c +55 -83
- data/third_party/upb/upb/message/array.h +18 -30
- data/third_party/upb/upb/message/compat.c +39 -0
- data/third_party/upb/upb/message/compat.h +41 -0
- data/third_party/upb/upb/message/copy.c +322 -0
- data/third_party/upb/upb/message/copy.h +56 -0
- data/third_party/upb/upb/message/internal/accessors.h +178 -178
- data/third_party/upb/upb/message/internal/array.h +80 -81
- data/third_party/upb/upb/message/internal/extension.c +63 -0
- data/third_party/upb/upb/message/internal/extension.h +12 -12
- data/third_party/upb/upb/message/internal/map.h +28 -41
- data/third_party/upb/upb/message/internal/map_entry.h +14 -39
- data/third_party/upb/upb/message/internal/map_sorter.h +18 -37
- data/third_party/upb/upb/message/internal/message.c +59 -0
- data/third_party/upb/upb/message/internal/message.h +26 -42
- data/third_party/upb/upb/message/internal/tagged_ptr.h +56 -0
- data/third_party/upb/upb/message/internal/types.h +7 -12
- data/third_party/upb/upb/message/map.c +3 -26
- data/third_party/upb/upb/message/map.h +5 -33
- data/third_party/upb/upb/message/map_gencode_util.h +3 -26
- data/third_party/upb/upb/message/map_sorter.c +22 -34
- data/third_party/upb/upb/message/message.c +28 -104
- data/third_party/upb/upb/message/message.h +4 -8
- data/third_party/upb/upb/message/tagged_ptr.h +14 -31
- data/third_party/upb/upb/message/value.h +3 -5
- data/third_party/upb/upb/mini_descriptor/build_enum.c +20 -11
- data/third_party/upb/upb/mini_descriptor/decode.c +127 -107
- data/third_party/upb/upb/mini_descriptor/decode.h +3 -8
- data/third_party/upb/upb/mini_descriptor/link.c +34 -22
- data/third_party/upb/upb/mini_descriptor/link.h +1 -1
- data/third_party/upb/upb/mini_table/enum.h +4 -6
- data/third_party/upb/upb/mini_table/extension.h +37 -0
- data/third_party/upb/upb/mini_table/extension_registry.c +9 -2
- data/third_party/upb/upb/mini_table/field.h +46 -60
- data/third_party/upb/upb/mini_table/file.h +44 -0
- data/third_party/upb/upb/mini_table/internal/enum.h +19 -20
- data/third_party/upb/upb/mini_table/internal/extension.h +34 -3
- data/third_party/upb/upb/mini_table/internal/field.h +136 -27
- data/third_party/upb/upb/mini_table/internal/file.h +47 -10
- data/third_party/upb/upb/mini_table/internal/message.c +17 -9
- data/third_party/upb/upb/mini_table/internal/message.h +94 -23
- data/third_party/upb/upb/mini_table/internal/size_log2.h +77 -0
- data/third_party/upb/upb/mini_table/internal/sub.h +39 -4
- data/third_party/upb/upb/mini_table/message.c +18 -19
- data/third_party/upb/upb/mini_table/message.h +29 -20
- data/third_party/upb/upb/mini_table/sub.h +40 -1
- data/third_party/upb/upb/port/def.inc +18 -0
- data/third_party/upb/upb/port/undef.inc +3 -0
- data/third_party/upb/upb/reflection/def.hpp +8 -4
- data/third_party/upb/upb/reflection/def_pool.c +81 -2
- data/third_party/upb/upb/reflection/def_pool.h +8 -0
- data/third_party/upb/upb/reflection/enum_def.c +42 -19
- data/third_party/upb/upb/reflection/enum_def.h +1 -0
- data/third_party/upb/upb/reflection/enum_value_def.c +43 -14
- data/third_party/upb/upb/reflection/enum_value_def.h +2 -0
- data/third_party/upb/upb/reflection/extension_range.c +13 -5
- data/third_party/upb/upb/reflection/extension_range.h +2 -0
- data/third_party/upb/upb/reflection/field_def.c +177 -130
- data/third_party/upb/upb/reflection/field_def.h +10 -1
- data/third_party/upb/upb/reflection/file_def.c +98 -9
- data/third_party/upb/upb/reflection/file_def.h +3 -0
- data/third_party/upb/upb/reflection/internal/def_builder.c +85 -7
- data/third_party/upb/upb/reflection/internal/def_builder.h +23 -0
- data/third_party/upb/upb/reflection/internal/enum_def.h +5 -4
- data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +1 -1
- data/third_party/upb/upb/reflection/internal/enum_value_def.h +2 -1
- data/third_party/upb/upb/reflection/internal/extension_range.h +2 -2
- data/third_party/upb/upb/reflection/internal/field_def.h +11 -10
- data/third_party/upb/upb/reflection/internal/message_def.h +6 -3
- data/third_party/upb/upb/reflection/internal/method_def.h +5 -3
- data/third_party/upb/upb/reflection/internal/oneof_def.h +5 -3
- data/third_party/upb/upb/reflection/internal/service_def.h +5 -3
- data/third_party/upb/upb/reflection/internal/upb_edition_defaults.h +20 -0
- data/third_party/upb/upb/reflection/message.c +27 -12
- data/third_party/upb/upb/reflection/message.h +5 -5
- data/third_party/upb/upb/reflection/message_def.c +56 -27
- data/third_party/upb/upb/reflection/message_def.h +2 -0
- data/third_party/upb/upb/reflection/method_def.c +20 -9
- data/third_party/upb/upb/reflection/method_def.h +2 -0
- data/third_party/upb/upb/reflection/oneof_def.c +20 -11
- data/third_party/upb/upb/reflection/oneof_def.h +3 -1
- data/third_party/upb/upb/reflection/service_def.c +25 -13
- data/third_party/upb/upb/reflection/service_def.h +2 -0
- data/third_party/upb/upb/text/encode.c +126 -36
- data/third_party/upb/upb/wire/decode.c +214 -196
- data/third_party/upb/upb/wire/decode.h +10 -0
- data/third_party/upb/upb/wire/encode.c +105 -91
- data/third_party/upb/upb/wire/encode.h +4 -3
- data/third_party/upb/upb/wire/{decode_fast.c → internal/decode_fast.c} +53 -48
- data/third_party/upb/upb/wire/{decode_fast.h → internal/decode_fast.h} +6 -5
- data/third_party/upb/upb/wire/internal/{decode.h → decoder.h} +15 -31
- data/third_party/upb/upb/wire/internal/reader.h +61 -0
- data/third_party/upb/upb/wire/reader.c +9 -6
- data/third_party/upb/upb/wire/reader.h +18 -47
- data/third_party/utf8_range/utf8_range.c +467 -0
- data/third_party/utf8_range/utf8_range.h +9 -8
- metadata +83 -30
- data/src/core/client_channel/channel_connectivity.cc +0 -265
- data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +0 -318
- data/src/core/ext/filters/channel_idle/channel_idle_filter.h +0 -150
- data/src/core/ext/filters/http/message_compress/legacy_compression_filter.cc +0 -325
- data/src/core/ext/filters/http/message_compress/legacy_compression_filter.h +0 -139
- data/src/core/lib/gpr/wrap_memcpy.cc +0 -43
- data/src/core/lib/security/transport/legacy_server_auth_filter.cc +0 -244
- data/src/core/lib/slice/b64.cc +0 -239
- data/src/core/lib/slice/b64.h +0 -52
- data/src/core/lib/surface/call_trace.cc +0 -163
- data/src/core/lib/surface/channel_ping.cc +0 -69
- data/src/core/lib/transport/call_factory.cc +0 -41
- data/src/core/lib/transport/call_factory.h +0 -56
- data/src/core/load_balancing/subchannel_list.h +0 -455
- data/third_party/upb/upb/message/types.h +0 -15
- data/third_party/utf8_range/naive.c +0 -92
- data/third_party/utf8_range/range2-neon.c +0 -157
- data/third_party/utf8_range/range2-sse.c +0 -170
@@ -31,18 +31,18 @@
|
|
31
31
|
extern "C" {
|
32
32
|
#endif
|
33
33
|
|
34
|
-
typedef struct envoy_config_tap_v3_TapConfig envoy_config_tap_v3_TapConfig;
|
35
|
-
typedef struct envoy_config_tap_v3_MatchPredicate envoy_config_tap_v3_MatchPredicate;
|
36
|
-
typedef struct envoy_config_tap_v3_MatchPredicate_MatchSet envoy_config_tap_v3_MatchPredicate_MatchSet;
|
37
|
-
typedef struct envoy_config_tap_v3_HttpHeadersMatch envoy_config_tap_v3_HttpHeadersMatch;
|
38
|
-
typedef struct envoy_config_tap_v3_HttpGenericBodyMatch envoy_config_tap_v3_HttpGenericBodyMatch;
|
39
|
-
typedef struct envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch;
|
40
|
-
typedef struct envoy_config_tap_v3_OutputConfig envoy_config_tap_v3_OutputConfig;
|
41
|
-
typedef struct envoy_config_tap_v3_OutputSink envoy_config_tap_v3_OutputSink;
|
42
|
-
typedef struct envoy_config_tap_v3_StreamingAdminSink envoy_config_tap_v3_StreamingAdminSink;
|
43
|
-
typedef struct envoy_config_tap_v3_BufferedAdminSink envoy_config_tap_v3_BufferedAdminSink;
|
44
|
-
typedef struct envoy_config_tap_v3_FilePerTapSink envoy_config_tap_v3_FilePerTapSink;
|
45
|
-
typedef struct envoy_config_tap_v3_StreamingGrpcSink envoy_config_tap_v3_StreamingGrpcSink;
|
34
|
+
typedef struct envoy_config_tap_v3_TapConfig { upb_Message UPB_PRIVATE(base); } envoy_config_tap_v3_TapConfig;
|
35
|
+
typedef struct envoy_config_tap_v3_MatchPredicate { upb_Message UPB_PRIVATE(base); } envoy_config_tap_v3_MatchPredicate;
|
36
|
+
typedef struct envoy_config_tap_v3_MatchPredicate_MatchSet { upb_Message UPB_PRIVATE(base); } envoy_config_tap_v3_MatchPredicate_MatchSet;
|
37
|
+
typedef struct envoy_config_tap_v3_HttpHeadersMatch { upb_Message UPB_PRIVATE(base); } envoy_config_tap_v3_HttpHeadersMatch;
|
38
|
+
typedef struct envoy_config_tap_v3_HttpGenericBodyMatch { upb_Message UPB_PRIVATE(base); } envoy_config_tap_v3_HttpGenericBodyMatch;
|
39
|
+
typedef struct envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch { upb_Message UPB_PRIVATE(base); } envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch;
|
40
|
+
typedef struct envoy_config_tap_v3_OutputConfig { upb_Message UPB_PRIVATE(base); } envoy_config_tap_v3_OutputConfig;
|
41
|
+
typedef struct envoy_config_tap_v3_OutputSink { upb_Message UPB_PRIVATE(base); } envoy_config_tap_v3_OutputSink;
|
42
|
+
typedef struct envoy_config_tap_v3_StreamingAdminSink { upb_Message UPB_PRIVATE(base); } envoy_config_tap_v3_StreamingAdminSink;
|
43
|
+
typedef struct envoy_config_tap_v3_BufferedAdminSink { upb_Message UPB_PRIVATE(base); } envoy_config_tap_v3_BufferedAdminSink;
|
44
|
+
typedef struct envoy_config_tap_v3_FilePerTapSink { upb_Message UPB_PRIVATE(base); } envoy_config_tap_v3_FilePerTapSink;
|
45
|
+
typedef struct envoy_config_tap_v3_StreamingGrpcSink { upb_Message UPB_PRIVATE(base); } envoy_config_tap_v3_StreamingGrpcSink;
|
46
46
|
struct envoy_config_common_matcher_v3_MatchPredicate;
|
47
47
|
struct envoy_config_core_v3_GrpcService;
|
48
48
|
struct envoy_config_core_v3_RuntimeFractionalPercent;
|
@@ -69,7 +69,8 @@ UPB_INLINE envoy_config_tap_v3_TapConfig* envoy_config_tap_v3_TapConfig_new(upb_
|
|
69
69
|
UPB_INLINE envoy_config_tap_v3_TapConfig* envoy_config_tap_v3_TapConfig_parse(const char* buf, size_t size, upb_Arena* arena) {
|
70
70
|
envoy_config_tap_v3_TapConfig* ret = envoy_config_tap_v3_TapConfig_new(arena);
|
71
71
|
if (!ret) return NULL;
|
72
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__TapConfig_msg_init, NULL, 0, arena) !=
|
72
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__TapConfig_msg_init, NULL, 0, arena) !=
|
73
|
+
kUpb_DecodeStatus_Ok) {
|
73
74
|
return NULL;
|
74
75
|
}
|
75
76
|
return ret;
|
@@ -79,87 +80,91 @@ UPB_INLINE envoy_config_tap_v3_TapConfig* envoy_config_tap_v3_TapConfig_parse_ex
|
|
79
80
|
int options, upb_Arena* arena) {
|
80
81
|
envoy_config_tap_v3_TapConfig* ret = envoy_config_tap_v3_TapConfig_new(arena);
|
81
82
|
if (!ret) return NULL;
|
82
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__TapConfig_msg_init, extreg, options,
|
83
|
-
|
83
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__TapConfig_msg_init, extreg, options,
|
84
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
84
85
|
return NULL;
|
85
86
|
}
|
86
87
|
return ret;
|
87
88
|
}
|
88
89
|
UPB_INLINE char* envoy_config_tap_v3_TapConfig_serialize(const envoy_config_tap_v3_TapConfig* msg, upb_Arena* arena, size_t* len) {
|
89
90
|
char* ptr;
|
90
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__TapConfig_msg_init, 0, arena, &ptr, len);
|
91
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__TapConfig_msg_init, 0, arena, &ptr, len);
|
91
92
|
return ptr;
|
92
93
|
}
|
93
94
|
UPB_INLINE char* envoy_config_tap_v3_TapConfig_serialize_ex(const envoy_config_tap_v3_TapConfig* msg, int options,
|
94
95
|
upb_Arena* arena, size_t* len) {
|
95
96
|
char* ptr;
|
96
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__TapConfig_msg_init, options, arena, &ptr, len);
|
97
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__TapConfig_msg_init, options, arena, &ptr, len);
|
97
98
|
return ptr;
|
98
99
|
}
|
99
100
|
UPB_INLINE void envoy_config_tap_v3_TapConfig_clear_match_config(envoy_config_tap_v3_TapConfig* msg) {
|
100
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
101
|
-
|
101
|
+
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)};
|
102
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
102
103
|
}
|
103
104
|
UPB_INLINE const envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_TapConfig_match_config(const envoy_config_tap_v3_TapConfig* msg) {
|
104
105
|
const envoy_config_tap_v3_MatchPredicate* default_val = NULL;
|
105
106
|
const envoy_config_tap_v3_MatchPredicate* ret;
|
106
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
107
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
107
|
+
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)};
|
108
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
109
|
+
&default_val, &ret);
|
108
110
|
return ret;
|
109
111
|
}
|
110
112
|
UPB_INLINE bool envoy_config_tap_v3_TapConfig_has_match_config(const envoy_config_tap_v3_TapConfig* msg) {
|
111
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
112
|
-
return
|
113
|
+
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)};
|
114
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
113
115
|
}
|
114
116
|
UPB_INLINE void envoy_config_tap_v3_TapConfig_clear_output_config(envoy_config_tap_v3_TapConfig* msg) {
|
115
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
116
|
-
|
117
|
+
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)};
|
118
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
117
119
|
}
|
118
120
|
UPB_INLINE const envoy_config_tap_v3_OutputConfig* envoy_config_tap_v3_TapConfig_output_config(const envoy_config_tap_v3_TapConfig* msg) {
|
119
121
|
const envoy_config_tap_v3_OutputConfig* default_val = NULL;
|
120
122
|
const envoy_config_tap_v3_OutputConfig* ret;
|
121
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
122
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
123
|
+
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)};
|
124
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
125
|
+
&default_val, &ret);
|
123
126
|
return ret;
|
124
127
|
}
|
125
128
|
UPB_INLINE bool envoy_config_tap_v3_TapConfig_has_output_config(const envoy_config_tap_v3_TapConfig* msg) {
|
126
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
127
|
-
return
|
129
|
+
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)};
|
130
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
128
131
|
}
|
129
132
|
UPB_INLINE void envoy_config_tap_v3_TapConfig_clear_tap_enabled(envoy_config_tap_v3_TapConfig* msg) {
|
130
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
131
|
-
|
133
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
134
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
132
135
|
}
|
133
136
|
UPB_INLINE const struct envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_tap_v3_TapConfig_tap_enabled(const envoy_config_tap_v3_TapConfig* msg) {
|
134
137
|
const struct envoy_config_core_v3_RuntimeFractionalPercent* default_val = NULL;
|
135
138
|
const struct envoy_config_core_v3_RuntimeFractionalPercent* ret;
|
136
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
137
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
139
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
140
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
141
|
+
&default_val, &ret);
|
138
142
|
return ret;
|
139
143
|
}
|
140
144
|
UPB_INLINE bool envoy_config_tap_v3_TapConfig_has_tap_enabled(const envoy_config_tap_v3_TapConfig* msg) {
|
141
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
142
|
-
return
|
145
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
146
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
143
147
|
}
|
144
148
|
UPB_INLINE void envoy_config_tap_v3_TapConfig_clear_match(envoy_config_tap_v3_TapConfig* msg) {
|
145
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
146
|
-
|
149
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
150
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
147
151
|
}
|
148
152
|
UPB_INLINE const struct envoy_config_common_matcher_v3_MatchPredicate* envoy_config_tap_v3_TapConfig_match(const envoy_config_tap_v3_TapConfig* msg) {
|
149
153
|
const struct envoy_config_common_matcher_v3_MatchPredicate* default_val = NULL;
|
150
154
|
const struct envoy_config_common_matcher_v3_MatchPredicate* ret;
|
151
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
152
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
155
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
156
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
157
|
+
&default_val, &ret);
|
153
158
|
return ret;
|
154
159
|
}
|
155
160
|
UPB_INLINE bool envoy_config_tap_v3_TapConfig_has_match(const envoy_config_tap_v3_TapConfig* msg) {
|
156
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
157
|
-
return
|
161
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
162
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
158
163
|
}
|
159
164
|
|
160
165
|
UPB_INLINE void envoy_config_tap_v3_TapConfig_set_match_config(envoy_config_tap_v3_TapConfig *msg, envoy_config_tap_v3_MatchPredicate* value) {
|
161
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
162
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
166
|
+
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)};
|
167
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
163
168
|
}
|
164
169
|
UPB_INLINE struct envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_TapConfig_mutable_match_config(envoy_config_tap_v3_TapConfig* msg, upb_Arena* arena) {
|
165
170
|
struct envoy_config_tap_v3_MatchPredicate* sub = (struct envoy_config_tap_v3_MatchPredicate*)envoy_config_tap_v3_TapConfig_match_config(msg);
|
@@ -170,8 +175,8 @@ UPB_INLINE struct envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_TapCon
|
|
170
175
|
return sub;
|
171
176
|
}
|
172
177
|
UPB_INLINE void envoy_config_tap_v3_TapConfig_set_output_config(envoy_config_tap_v3_TapConfig *msg, envoy_config_tap_v3_OutputConfig* value) {
|
173
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
174
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
178
|
+
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)};
|
179
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
175
180
|
}
|
176
181
|
UPB_INLINE struct envoy_config_tap_v3_OutputConfig* envoy_config_tap_v3_TapConfig_mutable_output_config(envoy_config_tap_v3_TapConfig* msg, upb_Arena* arena) {
|
177
182
|
struct envoy_config_tap_v3_OutputConfig* sub = (struct envoy_config_tap_v3_OutputConfig*)envoy_config_tap_v3_TapConfig_output_config(msg);
|
@@ -182,8 +187,8 @@ UPB_INLINE struct envoy_config_tap_v3_OutputConfig* envoy_config_tap_v3_TapConfi
|
|
182
187
|
return sub;
|
183
188
|
}
|
184
189
|
UPB_INLINE void envoy_config_tap_v3_TapConfig_set_tap_enabled(envoy_config_tap_v3_TapConfig *msg, struct envoy_config_core_v3_RuntimeFractionalPercent* value) {
|
185
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
186
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
190
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
191
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
187
192
|
}
|
188
193
|
UPB_INLINE struct envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_tap_v3_TapConfig_mutable_tap_enabled(envoy_config_tap_v3_TapConfig* msg, upb_Arena* arena) {
|
189
194
|
struct envoy_config_core_v3_RuntimeFractionalPercent* sub = (struct envoy_config_core_v3_RuntimeFractionalPercent*)envoy_config_tap_v3_TapConfig_tap_enabled(msg);
|
@@ -194,8 +199,8 @@ UPB_INLINE struct envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_ta
|
|
194
199
|
return sub;
|
195
200
|
}
|
196
201
|
UPB_INLINE void envoy_config_tap_v3_TapConfig_set_match(envoy_config_tap_v3_TapConfig *msg, struct envoy_config_common_matcher_v3_MatchPredicate* value) {
|
197
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
198
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
202
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
203
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
199
204
|
}
|
200
205
|
UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate* envoy_config_tap_v3_TapConfig_mutable_match(envoy_config_tap_v3_TapConfig* msg, upb_Arena* arena) {
|
201
206
|
struct envoy_config_common_matcher_v3_MatchPredicate* sub = (struct envoy_config_common_matcher_v3_MatchPredicate*)envoy_config_tap_v3_TapConfig_match(msg);
|
@@ -214,7 +219,8 @@ UPB_INLINE envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchPredicat
|
|
214
219
|
UPB_INLINE envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchPredicate_parse(const char* buf, size_t size, upb_Arena* arena) {
|
215
220
|
envoy_config_tap_v3_MatchPredicate* ret = envoy_config_tap_v3_MatchPredicate_new(arena);
|
216
221
|
if (!ret) return NULL;
|
217
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__MatchPredicate_msg_init, NULL, 0, arena) !=
|
222
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__MatchPredicate_msg_init, NULL, 0, arena) !=
|
223
|
+
kUpb_DecodeStatus_Ok) {
|
218
224
|
return NULL;
|
219
225
|
}
|
220
226
|
return ret;
|
@@ -224,21 +230,21 @@ UPB_INLINE envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchPredicat
|
|
224
230
|
int options, upb_Arena* arena) {
|
225
231
|
envoy_config_tap_v3_MatchPredicate* ret = envoy_config_tap_v3_MatchPredicate_new(arena);
|
226
232
|
if (!ret) return NULL;
|
227
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__MatchPredicate_msg_init, extreg, options,
|
228
|
-
|
233
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__MatchPredicate_msg_init, extreg, options,
|
234
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
229
235
|
return NULL;
|
230
236
|
}
|
231
237
|
return ret;
|
232
238
|
}
|
233
239
|
UPB_INLINE char* envoy_config_tap_v3_MatchPredicate_serialize(const envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena, size_t* len) {
|
234
240
|
char* ptr;
|
235
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__MatchPredicate_msg_init, 0, arena, &ptr, len);
|
241
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__MatchPredicate_msg_init, 0, arena, &ptr, len);
|
236
242
|
return ptr;
|
237
243
|
}
|
238
244
|
UPB_INLINE char* envoy_config_tap_v3_MatchPredicate_serialize_ex(const envoy_config_tap_v3_MatchPredicate* msg, int options,
|
239
245
|
upb_Arena* arena, size_t* len) {
|
240
246
|
char* ptr;
|
241
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__MatchPredicate_msg_init, options, arena, &ptr, len);
|
247
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__MatchPredicate_msg_init, options, arena, &ptr, len);
|
242
248
|
return ptr;
|
243
249
|
}
|
244
250
|
typedef enum {
|
@@ -255,163 +261,174 @@ typedef enum {
|
|
255
261
|
envoy_config_tap_v3_MatchPredicate_rule_NOT_SET = 0
|
256
262
|
} envoy_config_tap_v3_MatchPredicate_rule_oneofcases;
|
257
263
|
UPB_INLINE envoy_config_tap_v3_MatchPredicate_rule_oneofcases envoy_config_tap_v3_MatchPredicate_rule_case(const envoy_config_tap_v3_MatchPredicate* msg) {
|
258
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
259
|
-
return (envoy_config_tap_v3_MatchPredicate_rule_oneofcases)upb_Message_WhichOneofFieldNumber(
|
264
|
+
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)};
|
265
|
+
return (envoy_config_tap_v3_MatchPredicate_rule_oneofcases)upb_Message_WhichOneofFieldNumber(
|
266
|
+
UPB_UPCAST(msg), &field);
|
260
267
|
}
|
261
268
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_or_match(envoy_config_tap_v3_MatchPredicate* msg) {
|
262
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
263
|
-
|
269
|
+
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)};
|
270
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
264
271
|
}
|
265
272
|
UPB_INLINE const envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_or_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
266
273
|
const envoy_config_tap_v3_MatchPredicate_MatchSet* default_val = NULL;
|
267
274
|
const envoy_config_tap_v3_MatchPredicate_MatchSet* ret;
|
268
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
269
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
275
|
+
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)};
|
276
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
277
|
+
&default_val, &ret);
|
270
278
|
return ret;
|
271
279
|
}
|
272
280
|
UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_or_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
273
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
274
|
-
return
|
281
|
+
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)};
|
282
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
275
283
|
}
|
276
284
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_and_match(envoy_config_tap_v3_MatchPredicate* msg) {
|
277
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
278
|
-
|
285
|
+
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)};
|
286
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
279
287
|
}
|
280
288
|
UPB_INLINE const envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_and_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
281
289
|
const envoy_config_tap_v3_MatchPredicate_MatchSet* default_val = NULL;
|
282
290
|
const envoy_config_tap_v3_MatchPredicate_MatchSet* ret;
|
283
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
284
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
291
|
+
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)};
|
292
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
293
|
+
&default_val, &ret);
|
285
294
|
return ret;
|
286
295
|
}
|
287
296
|
UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_and_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
288
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
289
|
-
return
|
297
|
+
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)};
|
298
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
290
299
|
}
|
291
300
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_not_match(envoy_config_tap_v3_MatchPredicate* msg) {
|
292
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
293
|
-
|
301
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
302
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
294
303
|
}
|
295
304
|
UPB_INLINE const envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchPredicate_not_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
296
305
|
const envoy_config_tap_v3_MatchPredicate* default_val = NULL;
|
297
306
|
const envoy_config_tap_v3_MatchPredicate* ret;
|
298
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
299
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
307
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
308
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
309
|
+
&default_val, &ret);
|
300
310
|
return ret;
|
301
311
|
}
|
302
312
|
UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_not_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
303
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
304
|
-
return
|
313
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
314
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
305
315
|
}
|
306
316
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_any_match(envoy_config_tap_v3_MatchPredicate* msg) {
|
307
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
308
|
-
|
317
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
318
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
309
319
|
}
|
310
320
|
UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_any_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
311
321
|
bool default_val = false;
|
312
322
|
bool ret;
|
313
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
314
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
323
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
324
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
325
|
+
&default_val, &ret);
|
315
326
|
return ret;
|
316
327
|
}
|
317
328
|
UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_any_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
318
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
319
|
-
return
|
329
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
330
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
320
331
|
}
|
321
332
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_http_request_headers_match(envoy_config_tap_v3_MatchPredicate* msg) {
|
322
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
323
|
-
|
333
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
334
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
324
335
|
}
|
325
336
|
UPB_INLINE const envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_http_request_headers_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
326
337
|
const envoy_config_tap_v3_HttpHeadersMatch* default_val = NULL;
|
327
338
|
const envoy_config_tap_v3_HttpHeadersMatch* ret;
|
328
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
329
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
339
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
340
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
341
|
+
&default_val, &ret);
|
330
342
|
return ret;
|
331
343
|
}
|
332
344
|
UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_http_request_headers_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
333
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
334
|
-
return
|
345
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
346
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
335
347
|
}
|
336
348
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_http_request_trailers_match(envoy_config_tap_v3_MatchPredicate* msg) {
|
337
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
338
|
-
|
349
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
350
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
339
351
|
}
|
340
352
|
UPB_INLINE const envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_http_request_trailers_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
341
353
|
const envoy_config_tap_v3_HttpHeadersMatch* default_val = NULL;
|
342
354
|
const envoy_config_tap_v3_HttpHeadersMatch* ret;
|
343
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
344
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
355
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
356
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
357
|
+
&default_val, &ret);
|
345
358
|
return ret;
|
346
359
|
}
|
347
360
|
UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_http_request_trailers_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
348
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
349
|
-
return
|
361
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
362
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
350
363
|
}
|
351
364
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_http_response_headers_match(envoy_config_tap_v3_MatchPredicate* msg) {
|
352
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
353
|
-
|
365
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
366
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
354
367
|
}
|
355
368
|
UPB_INLINE const envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_http_response_headers_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
356
369
|
const envoy_config_tap_v3_HttpHeadersMatch* default_val = NULL;
|
357
370
|
const envoy_config_tap_v3_HttpHeadersMatch* ret;
|
358
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
359
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
371
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
372
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
373
|
+
&default_val, &ret);
|
360
374
|
return ret;
|
361
375
|
}
|
362
376
|
UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_http_response_headers_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
363
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
364
|
-
return
|
377
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
378
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
365
379
|
}
|
366
380
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_http_response_trailers_match(envoy_config_tap_v3_MatchPredicate* msg) {
|
367
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
368
|
-
|
381
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
382
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
369
383
|
}
|
370
384
|
UPB_INLINE const envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_http_response_trailers_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
371
385
|
const envoy_config_tap_v3_HttpHeadersMatch* default_val = NULL;
|
372
386
|
const envoy_config_tap_v3_HttpHeadersMatch* ret;
|
373
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
374
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
387
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
388
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
389
|
+
&default_val, &ret);
|
375
390
|
return ret;
|
376
391
|
}
|
377
392
|
UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_http_response_trailers_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
378
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
379
|
-
return
|
393
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
394
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
380
395
|
}
|
381
396
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_http_request_generic_body_match(envoy_config_tap_v3_MatchPredicate* msg) {
|
382
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
383
|
-
|
397
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
398
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
384
399
|
}
|
385
400
|
UPB_INLINE const envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_MatchPredicate_http_request_generic_body_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
386
401
|
const envoy_config_tap_v3_HttpGenericBodyMatch* default_val = NULL;
|
387
402
|
const envoy_config_tap_v3_HttpGenericBodyMatch* ret;
|
388
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
389
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
403
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
404
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
405
|
+
&default_val, &ret);
|
390
406
|
return ret;
|
391
407
|
}
|
392
408
|
UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_http_request_generic_body_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
393
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
394
|
-
return
|
409
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
410
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
395
411
|
}
|
396
412
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_http_response_generic_body_match(envoy_config_tap_v3_MatchPredicate* msg) {
|
397
|
-
const upb_MiniTableField field = {10, UPB_SIZE(
|
398
|
-
|
413
|
+
const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
414
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
399
415
|
}
|
400
416
|
UPB_INLINE const envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_MatchPredicate_http_response_generic_body_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
401
417
|
const envoy_config_tap_v3_HttpGenericBodyMatch* default_val = NULL;
|
402
418
|
const envoy_config_tap_v3_HttpGenericBodyMatch* ret;
|
403
|
-
const upb_MiniTableField field = {10, UPB_SIZE(
|
404
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
419
|
+
const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
420
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
421
|
+
&default_val, &ret);
|
405
422
|
return ret;
|
406
423
|
}
|
407
424
|
UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_http_response_generic_body_match(const envoy_config_tap_v3_MatchPredicate* msg) {
|
408
|
-
const upb_MiniTableField field = {10, UPB_SIZE(
|
409
|
-
return
|
425
|
+
const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
426
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
410
427
|
}
|
411
428
|
|
412
429
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_or_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_MatchPredicate_MatchSet* value) {
|
413
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
414
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
430
|
+
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)};
|
431
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
415
432
|
}
|
416
433
|
UPB_INLINE struct envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_mutable_or_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) {
|
417
434
|
struct envoy_config_tap_v3_MatchPredicate_MatchSet* sub = (struct envoy_config_tap_v3_MatchPredicate_MatchSet*)envoy_config_tap_v3_MatchPredicate_or_match(msg);
|
@@ -422,8 +439,8 @@ UPB_INLINE struct envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_
|
|
422
439
|
return sub;
|
423
440
|
}
|
424
441
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_and_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_MatchPredicate_MatchSet* value) {
|
425
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
426
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
442
|
+
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)};
|
443
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
427
444
|
}
|
428
445
|
UPB_INLINE struct envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_mutable_and_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) {
|
429
446
|
struct envoy_config_tap_v3_MatchPredicate_MatchSet* sub = (struct envoy_config_tap_v3_MatchPredicate_MatchSet*)envoy_config_tap_v3_MatchPredicate_and_match(msg);
|
@@ -434,8 +451,8 @@ UPB_INLINE struct envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_
|
|
434
451
|
return sub;
|
435
452
|
}
|
436
453
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_not_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_MatchPredicate* value) {
|
437
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
438
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
454
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
455
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
439
456
|
}
|
440
457
|
UPB_INLINE struct envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchPredicate_mutable_not_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) {
|
441
458
|
struct envoy_config_tap_v3_MatchPredicate* sub = (struct envoy_config_tap_v3_MatchPredicate*)envoy_config_tap_v3_MatchPredicate_not_match(msg);
|
@@ -446,12 +463,12 @@ UPB_INLINE struct envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchP
|
|
446
463
|
return sub;
|
447
464
|
}
|
448
465
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_any_match(envoy_config_tap_v3_MatchPredicate *msg, bool value) {
|
449
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
450
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
466
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
467
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
451
468
|
}
|
452
469
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_http_request_headers_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_HttpHeadersMatch* value) {
|
453
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
454
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
470
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
471
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
455
472
|
}
|
456
473
|
UPB_INLINE struct envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_mutable_http_request_headers_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) {
|
457
474
|
struct envoy_config_tap_v3_HttpHeadersMatch* sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)envoy_config_tap_v3_MatchPredicate_http_request_headers_match(msg);
|
@@ -462,8 +479,8 @@ UPB_INLINE struct envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_Matc
|
|
462
479
|
return sub;
|
463
480
|
}
|
464
481
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_http_request_trailers_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_HttpHeadersMatch* value) {
|
465
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
466
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
482
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
483
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
467
484
|
}
|
468
485
|
UPB_INLINE struct envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_mutable_http_request_trailers_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) {
|
469
486
|
struct envoy_config_tap_v3_HttpHeadersMatch* sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)envoy_config_tap_v3_MatchPredicate_http_request_trailers_match(msg);
|
@@ -474,8 +491,8 @@ UPB_INLINE struct envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_Matc
|
|
474
491
|
return sub;
|
475
492
|
}
|
476
493
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_http_response_headers_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_HttpHeadersMatch* value) {
|
477
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
478
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
494
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
495
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
479
496
|
}
|
480
497
|
UPB_INLINE struct envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_mutable_http_response_headers_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) {
|
481
498
|
struct envoy_config_tap_v3_HttpHeadersMatch* sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)envoy_config_tap_v3_MatchPredicate_http_response_headers_match(msg);
|
@@ -486,8 +503,8 @@ UPB_INLINE struct envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_Matc
|
|
486
503
|
return sub;
|
487
504
|
}
|
488
505
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_http_response_trailers_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_HttpHeadersMatch* value) {
|
489
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
490
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
506
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
507
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
491
508
|
}
|
492
509
|
UPB_INLINE struct envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_mutable_http_response_trailers_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) {
|
493
510
|
struct envoy_config_tap_v3_HttpHeadersMatch* sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)envoy_config_tap_v3_MatchPredicate_http_response_trailers_match(msg);
|
@@ -498,8 +515,8 @@ UPB_INLINE struct envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_Matc
|
|
498
515
|
return sub;
|
499
516
|
}
|
500
517
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_http_request_generic_body_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_HttpGenericBodyMatch* value) {
|
501
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
502
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
518
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
519
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
503
520
|
}
|
504
521
|
UPB_INLINE struct envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_MatchPredicate_mutable_http_request_generic_body_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) {
|
505
522
|
struct envoy_config_tap_v3_HttpGenericBodyMatch* sub = (struct envoy_config_tap_v3_HttpGenericBodyMatch*)envoy_config_tap_v3_MatchPredicate_http_request_generic_body_match(msg);
|
@@ -510,8 +527,8 @@ UPB_INLINE struct envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_
|
|
510
527
|
return sub;
|
511
528
|
}
|
512
529
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_http_response_generic_body_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_HttpGenericBodyMatch* value) {
|
513
|
-
const upb_MiniTableField field = {10, UPB_SIZE(
|
514
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
530
|
+
const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
531
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
515
532
|
}
|
516
533
|
UPB_INLINE struct envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_MatchPredicate_mutable_http_response_generic_body_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) {
|
517
534
|
struct envoy_config_tap_v3_HttpGenericBodyMatch* sub = (struct envoy_config_tap_v3_HttpGenericBodyMatch*)envoy_config_tap_v3_MatchPredicate_http_response_generic_body_match(msg);
|
@@ -530,7 +547,8 @@ UPB_INLINE envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_Matc
|
|
530
547
|
UPB_INLINE envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_MatchSet_parse(const char* buf, size_t size, upb_Arena* arena) {
|
531
548
|
envoy_config_tap_v3_MatchPredicate_MatchSet* ret = envoy_config_tap_v3_MatchPredicate_MatchSet_new(arena);
|
532
549
|
if (!ret) return NULL;
|
533
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init, NULL, 0, arena) !=
|
550
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init, NULL, 0, arena) !=
|
551
|
+
kUpb_DecodeStatus_Ok) {
|
534
552
|
return NULL;
|
535
553
|
}
|
536
554
|
return ret;
|
@@ -540,85 +558,84 @@ UPB_INLINE envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_Matc
|
|
540
558
|
int options, upb_Arena* arena) {
|
541
559
|
envoy_config_tap_v3_MatchPredicate_MatchSet* ret = envoy_config_tap_v3_MatchPredicate_MatchSet_new(arena);
|
542
560
|
if (!ret) return NULL;
|
543
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init, extreg, options,
|
544
|
-
|
561
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init, extreg, options,
|
562
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
545
563
|
return NULL;
|
546
564
|
}
|
547
565
|
return ret;
|
548
566
|
}
|
549
567
|
UPB_INLINE char* envoy_config_tap_v3_MatchPredicate_MatchSet_serialize(const envoy_config_tap_v3_MatchPredicate_MatchSet* msg, upb_Arena* arena, size_t* len) {
|
550
568
|
char* ptr;
|
551
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init, 0, arena, &ptr, len);
|
569
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init, 0, arena, &ptr, len);
|
552
570
|
return ptr;
|
553
571
|
}
|
554
572
|
UPB_INLINE char* envoy_config_tap_v3_MatchPredicate_MatchSet_serialize_ex(const envoy_config_tap_v3_MatchPredicate_MatchSet* msg, int options,
|
555
573
|
upb_Arena* arena, size_t* len) {
|
556
574
|
char* ptr;
|
557
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init, options, arena, &ptr, len);
|
575
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init, options, arena, &ptr, len);
|
558
576
|
return ptr;
|
559
577
|
}
|
560
578
|
UPB_INLINE void envoy_config_tap_v3_MatchPredicate_MatchSet_clear_rules(envoy_config_tap_v3_MatchPredicate_MatchSet* msg) {
|
561
|
-
const upb_MiniTableField field = {1,
|
562
|
-
|
579
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
580
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
563
581
|
}
|
564
582
|
UPB_INLINE const envoy_config_tap_v3_MatchPredicate* const* envoy_config_tap_v3_MatchPredicate_MatchSet_rules(const envoy_config_tap_v3_MatchPredicate_MatchSet* msg, size_t* size) {
|
565
|
-
const upb_MiniTableField field = {1,
|
566
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
583
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
584
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
567
585
|
if (arr) {
|
568
|
-
if (size) *size = arr->size;
|
569
|
-
return (const envoy_config_tap_v3_MatchPredicate* const*)
|
586
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
587
|
+
return (const envoy_config_tap_v3_MatchPredicate* const*)upb_Array_DataPtr(arr);
|
570
588
|
} else {
|
571
589
|
if (size) *size = 0;
|
572
590
|
return NULL;
|
573
591
|
}
|
574
592
|
}
|
575
593
|
UPB_INLINE const upb_Array* _envoy_config_tap_v3_MatchPredicate_MatchSet_rules_upb_array(const envoy_config_tap_v3_MatchPredicate_MatchSet* msg, size_t* size) {
|
576
|
-
const upb_MiniTableField field = {1,
|
577
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
594
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
595
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
578
596
|
if (size) {
|
579
|
-
*size = arr ? arr->size : 0;
|
597
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
580
598
|
}
|
581
599
|
return arr;
|
582
600
|
}
|
583
|
-
UPB_INLINE upb_Array* _envoy_config_tap_v3_MatchPredicate_MatchSet_rules_mutable_upb_array(
|
584
|
-
const upb_MiniTableField field = {1,
|
585
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
586
|
-
|
601
|
+
UPB_INLINE upb_Array* _envoy_config_tap_v3_MatchPredicate_MatchSet_rules_mutable_upb_array(envoy_config_tap_v3_MatchPredicate_MatchSet* msg, size_t* size, upb_Arena* arena) {
|
602
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
603
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
604
|
+
&field, arena);
|
587
605
|
if (size) {
|
588
|
-
*size = arr ? arr->size : 0;
|
606
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
589
607
|
}
|
590
608
|
return arr;
|
591
609
|
}
|
592
|
-
UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_MatchSet_has_rules(const envoy_config_tap_v3_MatchPredicate_MatchSet* msg) {
|
593
|
-
size_t size;
|
594
|
-
envoy_config_tap_v3_MatchPredicate_MatchSet_rules(msg, &size);
|
595
|
-
return size != 0;
|
596
|
-
}
|
597
610
|
|
598
611
|
UPB_INLINE envoy_config_tap_v3_MatchPredicate** envoy_config_tap_v3_MatchPredicate_MatchSet_mutable_rules(envoy_config_tap_v3_MatchPredicate_MatchSet* msg, size_t* size) {
|
599
|
-
upb_MiniTableField field = {1,
|
600
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
612
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
613
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
601
614
|
if (arr) {
|
602
|
-
if (size) *size = arr->size;
|
603
|
-
return (envoy_config_tap_v3_MatchPredicate**)
|
615
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
616
|
+
return (envoy_config_tap_v3_MatchPredicate**)upb_Array_MutableDataPtr(arr);
|
604
617
|
} else {
|
605
618
|
if (size) *size = 0;
|
606
619
|
return NULL;
|
607
620
|
}
|
608
621
|
}
|
609
622
|
UPB_INLINE envoy_config_tap_v3_MatchPredicate** envoy_config_tap_v3_MatchPredicate_MatchSet_resize_rules(envoy_config_tap_v3_MatchPredicate_MatchSet* msg, size_t size, upb_Arena* arena) {
|
610
|
-
upb_MiniTableField field = {1,
|
611
|
-
return (envoy_config_tap_v3_MatchPredicate**)upb_Message_ResizeArrayUninitialized(msg,
|
623
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
624
|
+
return (envoy_config_tap_v3_MatchPredicate**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
625
|
+
&field, size, arena);
|
612
626
|
}
|
613
627
|
UPB_INLINE struct envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchPredicate_MatchSet_add_rules(envoy_config_tap_v3_MatchPredicate_MatchSet* msg, upb_Arena* arena) {
|
614
|
-
upb_MiniTableField field = {1,
|
615
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
616
|
-
|
628
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
629
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
630
|
+
UPB_UPCAST(msg), &field, arena);
|
631
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
632
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
617
633
|
return NULL;
|
618
634
|
}
|
619
635
|
struct envoy_config_tap_v3_MatchPredicate* sub = (struct envoy_config_tap_v3_MatchPredicate*)_upb_Message_New(&envoy__config__tap__v3__MatchPredicate_msg_init, arena);
|
620
636
|
if (!arr || !sub) return NULL;
|
621
|
-
_upb_Array_Set
|
637
|
+
UPB_PRIVATE(_upb_Array_Set)
|
638
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
622
639
|
return sub;
|
623
640
|
}
|
624
641
|
|
@@ -630,7 +647,8 @@ UPB_INLINE envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_HttpHeaders
|
|
630
647
|
UPB_INLINE envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_HttpHeadersMatch_parse(const char* buf, size_t size, upb_Arena* arena) {
|
631
648
|
envoy_config_tap_v3_HttpHeadersMatch* ret = envoy_config_tap_v3_HttpHeadersMatch_new(arena);
|
632
649
|
if (!ret) return NULL;
|
633
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__HttpHeadersMatch_msg_init, NULL, 0, arena) !=
|
650
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__HttpHeadersMatch_msg_init, NULL, 0, arena) !=
|
651
|
+
kUpb_DecodeStatus_Ok) {
|
634
652
|
return NULL;
|
635
653
|
}
|
636
654
|
return ret;
|
@@ -640,85 +658,84 @@ UPB_INLINE envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_HttpHeaders
|
|
640
658
|
int options, upb_Arena* arena) {
|
641
659
|
envoy_config_tap_v3_HttpHeadersMatch* ret = envoy_config_tap_v3_HttpHeadersMatch_new(arena);
|
642
660
|
if (!ret) return NULL;
|
643
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__HttpHeadersMatch_msg_init, extreg, options,
|
644
|
-
|
661
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__HttpHeadersMatch_msg_init, extreg, options,
|
662
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
645
663
|
return NULL;
|
646
664
|
}
|
647
665
|
return ret;
|
648
666
|
}
|
649
667
|
UPB_INLINE char* envoy_config_tap_v3_HttpHeadersMatch_serialize(const envoy_config_tap_v3_HttpHeadersMatch* msg, upb_Arena* arena, size_t* len) {
|
650
668
|
char* ptr;
|
651
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__HttpHeadersMatch_msg_init, 0, arena, &ptr, len);
|
669
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__HttpHeadersMatch_msg_init, 0, arena, &ptr, len);
|
652
670
|
return ptr;
|
653
671
|
}
|
654
672
|
UPB_INLINE char* envoy_config_tap_v3_HttpHeadersMatch_serialize_ex(const envoy_config_tap_v3_HttpHeadersMatch* msg, int options,
|
655
673
|
upb_Arena* arena, size_t* len) {
|
656
674
|
char* ptr;
|
657
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__HttpHeadersMatch_msg_init, options, arena, &ptr, len);
|
675
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__HttpHeadersMatch_msg_init, options, arena, &ptr, len);
|
658
676
|
return ptr;
|
659
677
|
}
|
660
678
|
UPB_INLINE void envoy_config_tap_v3_HttpHeadersMatch_clear_headers(envoy_config_tap_v3_HttpHeadersMatch* msg) {
|
661
|
-
const upb_MiniTableField field = {1,
|
662
|
-
|
679
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
680
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
663
681
|
}
|
664
682
|
UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* const* envoy_config_tap_v3_HttpHeadersMatch_headers(const envoy_config_tap_v3_HttpHeadersMatch* msg, size_t* size) {
|
665
|
-
const upb_MiniTableField field = {1,
|
666
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
683
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
684
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
667
685
|
if (arr) {
|
668
|
-
if (size) *size = arr->size;
|
669
|
-
return (const struct envoy_config_route_v3_HeaderMatcher* const*)
|
686
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
687
|
+
return (const struct envoy_config_route_v3_HeaderMatcher* const*)upb_Array_DataPtr(arr);
|
670
688
|
} else {
|
671
689
|
if (size) *size = 0;
|
672
690
|
return NULL;
|
673
691
|
}
|
674
692
|
}
|
675
693
|
UPB_INLINE const upb_Array* _envoy_config_tap_v3_HttpHeadersMatch_headers_upb_array(const envoy_config_tap_v3_HttpHeadersMatch* msg, size_t* size) {
|
676
|
-
const upb_MiniTableField field = {1,
|
677
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
694
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
695
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
678
696
|
if (size) {
|
679
|
-
*size = arr ? arr->size : 0;
|
697
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
680
698
|
}
|
681
699
|
return arr;
|
682
700
|
}
|
683
|
-
UPB_INLINE upb_Array* _envoy_config_tap_v3_HttpHeadersMatch_headers_mutable_upb_array(
|
684
|
-
const upb_MiniTableField field = {1,
|
685
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
686
|
-
|
701
|
+
UPB_INLINE upb_Array* _envoy_config_tap_v3_HttpHeadersMatch_headers_mutable_upb_array(envoy_config_tap_v3_HttpHeadersMatch* msg, size_t* size, upb_Arena* arena) {
|
702
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
703
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
704
|
+
&field, arena);
|
687
705
|
if (size) {
|
688
|
-
*size = arr ? arr->size : 0;
|
706
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
689
707
|
}
|
690
708
|
return arr;
|
691
709
|
}
|
692
|
-
UPB_INLINE bool envoy_config_tap_v3_HttpHeadersMatch_has_headers(const envoy_config_tap_v3_HttpHeadersMatch* msg) {
|
693
|
-
size_t size;
|
694
|
-
envoy_config_tap_v3_HttpHeadersMatch_headers(msg, &size);
|
695
|
-
return size != 0;
|
696
|
-
}
|
697
710
|
|
698
711
|
UPB_INLINE struct envoy_config_route_v3_HeaderMatcher** envoy_config_tap_v3_HttpHeadersMatch_mutable_headers(envoy_config_tap_v3_HttpHeadersMatch* msg, size_t* size) {
|
699
|
-
upb_MiniTableField field = {1,
|
700
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
712
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
713
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
701
714
|
if (arr) {
|
702
|
-
if (size) *size = arr->size;
|
703
|
-
return (struct envoy_config_route_v3_HeaderMatcher**)
|
715
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
716
|
+
return (struct envoy_config_route_v3_HeaderMatcher**)upb_Array_MutableDataPtr(arr);
|
704
717
|
} else {
|
705
718
|
if (size) *size = 0;
|
706
719
|
return NULL;
|
707
720
|
}
|
708
721
|
}
|
709
722
|
UPB_INLINE struct envoy_config_route_v3_HeaderMatcher** envoy_config_tap_v3_HttpHeadersMatch_resize_headers(envoy_config_tap_v3_HttpHeadersMatch* msg, size_t size, upb_Arena* arena) {
|
710
|
-
upb_MiniTableField field = {1,
|
711
|
-
return (struct envoy_config_route_v3_HeaderMatcher**)upb_Message_ResizeArrayUninitialized(msg,
|
723
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
724
|
+
return (struct envoy_config_route_v3_HeaderMatcher**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
725
|
+
&field, size, arena);
|
712
726
|
}
|
713
727
|
UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_tap_v3_HttpHeadersMatch_add_headers(envoy_config_tap_v3_HttpHeadersMatch* msg, upb_Arena* arena) {
|
714
|
-
upb_MiniTableField field = {1,
|
715
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
716
|
-
|
728
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
729
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
730
|
+
UPB_UPCAST(msg), &field, arena);
|
731
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
732
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
717
733
|
return NULL;
|
718
734
|
}
|
719
735
|
struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy__config__route__v3__HeaderMatcher_msg_init, arena);
|
720
736
|
if (!arr || !sub) return NULL;
|
721
|
-
_upb_Array_Set
|
737
|
+
UPB_PRIVATE(_upb_Array_Set)
|
738
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
722
739
|
return sub;
|
723
740
|
}
|
724
741
|
|
@@ -730,7 +747,8 @@ UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_HttpGen
|
|
730
747
|
UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_HttpGenericBodyMatch_parse(const char* buf, size_t size, upb_Arena* arena) {
|
731
748
|
envoy_config_tap_v3_HttpGenericBodyMatch* ret = envoy_config_tap_v3_HttpGenericBodyMatch_new(arena);
|
732
749
|
if (!ret) return NULL;
|
733
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__HttpGenericBodyMatch_msg_init, NULL, 0, arena) !=
|
750
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__HttpGenericBodyMatch_msg_init, NULL, 0, arena) !=
|
751
|
+
kUpb_DecodeStatus_Ok) {
|
734
752
|
return NULL;
|
735
753
|
}
|
736
754
|
return ret;
|
@@ -740,100 +758,100 @@ UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_HttpGen
|
|
740
758
|
int options, upb_Arena* arena) {
|
741
759
|
envoy_config_tap_v3_HttpGenericBodyMatch* ret = envoy_config_tap_v3_HttpGenericBodyMatch_new(arena);
|
742
760
|
if (!ret) return NULL;
|
743
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__HttpGenericBodyMatch_msg_init, extreg, options,
|
744
|
-
|
761
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__HttpGenericBodyMatch_msg_init, extreg, options,
|
762
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
745
763
|
return NULL;
|
746
764
|
}
|
747
765
|
return ret;
|
748
766
|
}
|
749
767
|
UPB_INLINE char* envoy_config_tap_v3_HttpGenericBodyMatch_serialize(const envoy_config_tap_v3_HttpGenericBodyMatch* msg, upb_Arena* arena, size_t* len) {
|
750
768
|
char* ptr;
|
751
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__HttpGenericBodyMatch_msg_init, 0, arena, &ptr, len);
|
769
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__HttpGenericBodyMatch_msg_init, 0, arena, &ptr, len);
|
752
770
|
return ptr;
|
753
771
|
}
|
754
772
|
UPB_INLINE char* envoy_config_tap_v3_HttpGenericBodyMatch_serialize_ex(const envoy_config_tap_v3_HttpGenericBodyMatch* msg, int options,
|
755
773
|
upb_Arena* arena, size_t* len) {
|
756
774
|
char* ptr;
|
757
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__HttpGenericBodyMatch_msg_init, options, arena, &ptr, len);
|
775
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__HttpGenericBodyMatch_msg_init, options, arena, &ptr, len);
|
758
776
|
return ptr;
|
759
777
|
}
|
760
778
|
UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_clear_bytes_limit(envoy_config_tap_v3_HttpGenericBodyMatch* msg) {
|
761
|
-
const upb_MiniTableField field = {1,
|
762
|
-
|
779
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
780
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
763
781
|
}
|
764
782
|
UPB_INLINE uint32_t envoy_config_tap_v3_HttpGenericBodyMatch_bytes_limit(const envoy_config_tap_v3_HttpGenericBodyMatch* msg) {
|
765
783
|
uint32_t default_val = (uint32_t)0u;
|
766
784
|
uint32_t ret;
|
767
|
-
const upb_MiniTableField field = {1,
|
768
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
785
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
786
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
787
|
+
&default_val, &ret);
|
769
788
|
return ret;
|
770
789
|
}
|
771
790
|
UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_clear_patterns(envoy_config_tap_v3_HttpGenericBodyMatch* msg) {
|
772
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
773
|
-
|
791
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
792
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
774
793
|
}
|
775
794
|
UPB_INLINE const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* const* envoy_config_tap_v3_HttpGenericBodyMatch_patterns(const envoy_config_tap_v3_HttpGenericBodyMatch* msg, size_t* size) {
|
776
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
777
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
795
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
796
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
778
797
|
if (arr) {
|
779
|
-
if (size) *size = arr->size;
|
780
|
-
return (const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* const*)
|
798
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
799
|
+
return (const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* const*)upb_Array_DataPtr(arr);
|
781
800
|
} else {
|
782
801
|
if (size) *size = 0;
|
783
802
|
return NULL;
|
784
803
|
}
|
785
804
|
}
|
786
805
|
UPB_INLINE const upb_Array* _envoy_config_tap_v3_HttpGenericBodyMatch_patterns_upb_array(const envoy_config_tap_v3_HttpGenericBodyMatch* msg, size_t* size) {
|
787
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
788
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
806
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
807
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
789
808
|
if (size) {
|
790
|
-
*size = arr ? arr->size : 0;
|
809
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
791
810
|
}
|
792
811
|
return arr;
|
793
812
|
}
|
794
|
-
UPB_INLINE upb_Array* _envoy_config_tap_v3_HttpGenericBodyMatch_patterns_mutable_upb_array(
|
795
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
796
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
797
|
-
|
813
|
+
UPB_INLINE upb_Array* _envoy_config_tap_v3_HttpGenericBodyMatch_patterns_mutable_upb_array(envoy_config_tap_v3_HttpGenericBodyMatch* msg, size_t* size, upb_Arena* arena) {
|
814
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
815
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
816
|
+
&field, arena);
|
798
817
|
if (size) {
|
799
|
-
*size = arr ? arr->size : 0;
|
818
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
800
819
|
}
|
801
820
|
return arr;
|
802
821
|
}
|
803
|
-
UPB_INLINE bool envoy_config_tap_v3_HttpGenericBodyMatch_has_patterns(const envoy_config_tap_v3_HttpGenericBodyMatch* msg) {
|
804
|
-
size_t size;
|
805
|
-
envoy_config_tap_v3_HttpGenericBodyMatch_patterns(msg, &size);
|
806
|
-
return size != 0;
|
807
|
-
}
|
808
822
|
|
809
823
|
UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_set_bytes_limit(envoy_config_tap_v3_HttpGenericBodyMatch *msg, uint32_t value) {
|
810
|
-
const upb_MiniTableField field = {1,
|
811
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
824
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
825
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
812
826
|
}
|
813
827
|
UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch** envoy_config_tap_v3_HttpGenericBodyMatch_mutable_patterns(envoy_config_tap_v3_HttpGenericBodyMatch* msg, size_t* size) {
|
814
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
815
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
828
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
829
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
816
830
|
if (arr) {
|
817
|
-
if (size) *size = arr->size;
|
818
|
-
return (envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch**)
|
831
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
832
|
+
return (envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch**)upb_Array_MutableDataPtr(arr);
|
819
833
|
} else {
|
820
834
|
if (size) *size = 0;
|
821
835
|
return NULL;
|
822
836
|
}
|
823
837
|
}
|
824
838
|
UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch** envoy_config_tap_v3_HttpGenericBodyMatch_resize_patterns(envoy_config_tap_v3_HttpGenericBodyMatch* msg, size_t size, upb_Arena* arena) {
|
825
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
826
|
-
return (envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch**)upb_Message_ResizeArrayUninitialized(msg,
|
839
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
840
|
+
return (envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
841
|
+
&field, size, arena);
|
827
842
|
}
|
828
843
|
UPB_INLINE struct envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_tap_v3_HttpGenericBodyMatch_add_patterns(envoy_config_tap_v3_HttpGenericBodyMatch* msg, upb_Arena* arena) {
|
829
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
830
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
831
|
-
|
844
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
845
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
846
|
+
UPB_UPCAST(msg), &field, arena);
|
847
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
848
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
832
849
|
return NULL;
|
833
850
|
}
|
834
851
|
struct envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* sub = (struct envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch*)_upb_Message_New(&envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, arena);
|
835
852
|
if (!arr || !sub) return NULL;
|
836
|
-
_upb_Array_Set
|
853
|
+
UPB_PRIVATE(_upb_Array_Set)
|
854
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
837
855
|
return sub;
|
838
856
|
}
|
839
857
|
|
@@ -845,7 +863,8 @@ UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_conf
|
|
845
863
|
UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_parse(const char* buf, size_t size, upb_Arena* arena) {
|
846
864
|
envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* ret = envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_new(arena);
|
847
865
|
if (!ret) return NULL;
|
848
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, NULL, 0, arena) !=
|
866
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, NULL, 0, arena) !=
|
867
|
+
kUpb_DecodeStatus_Ok) {
|
849
868
|
return NULL;
|
850
869
|
}
|
851
870
|
return ret;
|
@@ -855,21 +874,21 @@ UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_conf
|
|
855
874
|
int options, upb_Arena* arena) {
|
856
875
|
envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* ret = envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_new(arena);
|
857
876
|
if (!ret) return NULL;
|
858
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, extreg, options,
|
859
|
-
|
877
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, extreg, options,
|
878
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
860
879
|
return NULL;
|
861
880
|
}
|
862
881
|
return ret;
|
863
882
|
}
|
864
883
|
UPB_INLINE char* envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_serialize(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg, upb_Arena* arena, size_t* len) {
|
865
884
|
char* ptr;
|
866
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, 0, arena, &ptr, len);
|
885
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, 0, arena, &ptr, len);
|
867
886
|
return ptr;
|
868
887
|
}
|
869
888
|
UPB_INLINE char* envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_serialize_ex(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg, int options,
|
870
889
|
upb_Arena* arena, size_t* len) {
|
871
890
|
char* ptr;
|
872
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, options, arena, &ptr, len);
|
891
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, options, arena, &ptr, len);
|
873
892
|
return ptr;
|
874
893
|
}
|
875
894
|
typedef enum {
|
@@ -878,47 +897,50 @@ typedef enum {
|
|
878
897
|
envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_NOT_SET = 0
|
879
898
|
} envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases;
|
880
899
|
UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_case(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) {
|
881
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
882
|
-
return (envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases)upb_Message_WhichOneofFieldNumber(
|
900
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
901
|
+
return (envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases)upb_Message_WhichOneofFieldNumber(
|
902
|
+
UPB_UPCAST(msg), &field);
|
883
903
|
}
|
884
904
|
UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_clear_string_match(envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) {
|
885
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
886
|
-
|
905
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
906
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
887
907
|
}
|
888
908
|
UPB_INLINE upb_StringView envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_string_match(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) {
|
889
909
|
upb_StringView default_val = upb_StringView_FromString("");
|
890
910
|
upb_StringView ret;
|
891
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
892
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
911
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
912
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
913
|
+
&default_val, &ret);
|
893
914
|
return ret;
|
894
915
|
}
|
895
916
|
UPB_INLINE bool envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_has_string_match(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) {
|
896
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
897
|
-
return
|
917
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
918
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
898
919
|
}
|
899
920
|
UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_clear_binary_match(envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) {
|
900
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
901
|
-
|
921
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
922
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
902
923
|
}
|
903
924
|
UPB_INLINE upb_StringView envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_binary_match(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) {
|
904
925
|
upb_StringView default_val = upb_StringView_FromString("");
|
905
926
|
upb_StringView ret;
|
906
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
907
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
927
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
928
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
929
|
+
&default_val, &ret);
|
908
930
|
return ret;
|
909
931
|
}
|
910
932
|
UPB_INLINE bool envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_has_binary_match(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) {
|
911
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
912
|
-
return
|
933
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
934
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
913
935
|
}
|
914
936
|
|
915
937
|
UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_set_string_match(envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch *msg, upb_StringView value) {
|
916
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
917
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
938
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
939
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
918
940
|
}
|
919
941
|
UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_set_binary_match(envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch *msg, upb_StringView value) {
|
920
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
921
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
942
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
943
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
922
944
|
}
|
923
945
|
|
924
946
|
/* envoy.config.tap.v3.OutputConfig */
|
@@ -929,7 +951,8 @@ UPB_INLINE envoy_config_tap_v3_OutputConfig* envoy_config_tap_v3_OutputConfig_ne
|
|
929
951
|
UPB_INLINE envoy_config_tap_v3_OutputConfig* envoy_config_tap_v3_OutputConfig_parse(const char* buf, size_t size, upb_Arena* arena) {
|
930
952
|
envoy_config_tap_v3_OutputConfig* ret = envoy_config_tap_v3_OutputConfig_new(arena);
|
931
953
|
if (!ret) return NULL;
|
932
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__OutputConfig_msg_init, NULL, 0, arena) !=
|
954
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__OutputConfig_msg_init, NULL, 0, arena) !=
|
955
|
+
kUpb_DecodeStatus_Ok) {
|
933
956
|
return NULL;
|
934
957
|
}
|
935
958
|
return ret;
|
@@ -939,131 +962,133 @@ UPB_INLINE envoy_config_tap_v3_OutputConfig* envoy_config_tap_v3_OutputConfig_pa
|
|
939
962
|
int options, upb_Arena* arena) {
|
940
963
|
envoy_config_tap_v3_OutputConfig* ret = envoy_config_tap_v3_OutputConfig_new(arena);
|
941
964
|
if (!ret) return NULL;
|
942
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__OutputConfig_msg_init, extreg, options,
|
943
|
-
|
965
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__OutputConfig_msg_init, extreg, options,
|
966
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
944
967
|
return NULL;
|
945
968
|
}
|
946
969
|
return ret;
|
947
970
|
}
|
948
971
|
UPB_INLINE char* envoy_config_tap_v3_OutputConfig_serialize(const envoy_config_tap_v3_OutputConfig* msg, upb_Arena* arena, size_t* len) {
|
949
972
|
char* ptr;
|
950
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__OutputConfig_msg_init, 0, arena, &ptr, len);
|
973
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__OutputConfig_msg_init, 0, arena, &ptr, len);
|
951
974
|
return ptr;
|
952
975
|
}
|
953
976
|
UPB_INLINE char* envoy_config_tap_v3_OutputConfig_serialize_ex(const envoy_config_tap_v3_OutputConfig* msg, int options,
|
954
977
|
upb_Arena* arena, size_t* len) {
|
955
978
|
char* ptr;
|
956
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__OutputConfig_msg_init, options, arena, &ptr, len);
|
979
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__OutputConfig_msg_init, options, arena, &ptr, len);
|
957
980
|
return ptr;
|
958
981
|
}
|
959
982
|
UPB_INLINE void envoy_config_tap_v3_OutputConfig_clear_sinks(envoy_config_tap_v3_OutputConfig* msg) {
|
960
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
961
|
-
|
983
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
984
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
962
985
|
}
|
963
986
|
UPB_INLINE const envoy_config_tap_v3_OutputSink* const* envoy_config_tap_v3_OutputConfig_sinks(const envoy_config_tap_v3_OutputConfig* msg, size_t* size) {
|
964
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
965
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
987
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
988
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
966
989
|
if (arr) {
|
967
|
-
if (size) *size = arr->size;
|
968
|
-
return (const envoy_config_tap_v3_OutputSink* const*)
|
990
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
991
|
+
return (const envoy_config_tap_v3_OutputSink* const*)upb_Array_DataPtr(arr);
|
969
992
|
} else {
|
970
993
|
if (size) *size = 0;
|
971
994
|
return NULL;
|
972
995
|
}
|
973
996
|
}
|
974
997
|
UPB_INLINE const upb_Array* _envoy_config_tap_v3_OutputConfig_sinks_upb_array(const envoy_config_tap_v3_OutputConfig* msg, size_t* size) {
|
975
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
976
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
998
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
999
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
977
1000
|
if (size) {
|
978
|
-
*size = arr ? arr->size : 0;
|
1001
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
979
1002
|
}
|
980
1003
|
return arr;
|
981
1004
|
}
|
982
|
-
UPB_INLINE upb_Array* _envoy_config_tap_v3_OutputConfig_sinks_mutable_upb_array(
|
983
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
984
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
985
|
-
|
1005
|
+
UPB_INLINE upb_Array* _envoy_config_tap_v3_OutputConfig_sinks_mutable_upb_array(envoy_config_tap_v3_OutputConfig* msg, size_t* size, upb_Arena* arena) {
|
1006
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1007
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1008
|
+
&field, arena);
|
986
1009
|
if (size) {
|
987
|
-
*size = arr ? arr->size : 0;
|
1010
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
988
1011
|
}
|
989
1012
|
return arr;
|
990
1013
|
}
|
991
|
-
UPB_INLINE bool envoy_config_tap_v3_OutputConfig_has_sinks(const envoy_config_tap_v3_OutputConfig* msg) {
|
992
|
-
size_t size;
|
993
|
-
envoy_config_tap_v3_OutputConfig_sinks(msg, &size);
|
994
|
-
return size != 0;
|
995
|
-
}
|
996
1014
|
UPB_INLINE void envoy_config_tap_v3_OutputConfig_clear_max_buffered_rx_bytes(envoy_config_tap_v3_OutputConfig* msg) {
|
997
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
998
|
-
|
1015
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1016
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
999
1017
|
}
|
1000
1018
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_tap_v3_OutputConfig_max_buffered_rx_bytes(const envoy_config_tap_v3_OutputConfig* msg) {
|
1001
1019
|
const struct google_protobuf_UInt32Value* default_val = NULL;
|
1002
1020
|
const struct google_protobuf_UInt32Value* ret;
|
1003
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1004
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1021
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1022
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1023
|
+
&default_val, &ret);
|
1005
1024
|
return ret;
|
1006
1025
|
}
|
1007
1026
|
UPB_INLINE bool envoy_config_tap_v3_OutputConfig_has_max_buffered_rx_bytes(const envoy_config_tap_v3_OutputConfig* msg) {
|
1008
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1009
|
-
return
|
1027
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1028
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1010
1029
|
}
|
1011
1030
|
UPB_INLINE void envoy_config_tap_v3_OutputConfig_clear_max_buffered_tx_bytes(envoy_config_tap_v3_OutputConfig* msg) {
|
1012
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1013
|
-
|
1031
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1032
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1014
1033
|
}
|
1015
1034
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_tap_v3_OutputConfig_max_buffered_tx_bytes(const envoy_config_tap_v3_OutputConfig* msg) {
|
1016
1035
|
const struct google_protobuf_UInt32Value* default_val = NULL;
|
1017
1036
|
const struct google_protobuf_UInt32Value* ret;
|
1018
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1019
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1037
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1038
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1039
|
+
&default_val, &ret);
|
1020
1040
|
return ret;
|
1021
1041
|
}
|
1022
1042
|
UPB_INLINE bool envoy_config_tap_v3_OutputConfig_has_max_buffered_tx_bytes(const envoy_config_tap_v3_OutputConfig* msg) {
|
1023
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1024
|
-
return
|
1043
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1044
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1025
1045
|
}
|
1026
1046
|
UPB_INLINE void envoy_config_tap_v3_OutputConfig_clear_streaming(envoy_config_tap_v3_OutputConfig* msg) {
|
1027
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1028
|
-
|
1047
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1048
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1029
1049
|
}
|
1030
1050
|
UPB_INLINE bool envoy_config_tap_v3_OutputConfig_streaming(const envoy_config_tap_v3_OutputConfig* msg) {
|
1031
1051
|
bool default_val = false;
|
1032
1052
|
bool ret;
|
1033
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1034
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1053
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1054
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1055
|
+
&default_val, &ret);
|
1035
1056
|
return ret;
|
1036
1057
|
}
|
1037
1058
|
|
1038
1059
|
UPB_INLINE envoy_config_tap_v3_OutputSink** envoy_config_tap_v3_OutputConfig_mutable_sinks(envoy_config_tap_v3_OutputConfig* msg, size_t* size) {
|
1039
|
-
upb_MiniTableField field = {1, UPB_SIZE(
|
1040
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1060
|
+
upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1061
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1041
1062
|
if (arr) {
|
1042
|
-
if (size) *size = arr->size;
|
1043
|
-
return (envoy_config_tap_v3_OutputSink**)
|
1063
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1064
|
+
return (envoy_config_tap_v3_OutputSink**)upb_Array_MutableDataPtr(arr);
|
1044
1065
|
} else {
|
1045
1066
|
if (size) *size = 0;
|
1046
1067
|
return NULL;
|
1047
1068
|
}
|
1048
1069
|
}
|
1049
1070
|
UPB_INLINE envoy_config_tap_v3_OutputSink** envoy_config_tap_v3_OutputConfig_resize_sinks(envoy_config_tap_v3_OutputConfig* msg, size_t size, upb_Arena* arena) {
|
1050
|
-
upb_MiniTableField field = {1, UPB_SIZE(
|
1051
|
-
return (envoy_config_tap_v3_OutputSink**)upb_Message_ResizeArrayUninitialized(msg,
|
1071
|
+
upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1072
|
+
return (envoy_config_tap_v3_OutputSink**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1073
|
+
&field, size, arena);
|
1052
1074
|
}
|
1053
1075
|
UPB_INLINE struct envoy_config_tap_v3_OutputSink* envoy_config_tap_v3_OutputConfig_add_sinks(envoy_config_tap_v3_OutputConfig* msg, upb_Arena* arena) {
|
1054
|
-
upb_MiniTableField field = {1, UPB_SIZE(
|
1055
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1056
|
-
|
1076
|
+
upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1077
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1078
|
+
UPB_UPCAST(msg), &field, arena);
|
1079
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1080
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1057
1081
|
return NULL;
|
1058
1082
|
}
|
1059
1083
|
struct envoy_config_tap_v3_OutputSink* sub = (struct envoy_config_tap_v3_OutputSink*)_upb_Message_New(&envoy__config__tap__v3__OutputSink_msg_init, arena);
|
1060
1084
|
if (!arr || !sub) return NULL;
|
1061
|
-
_upb_Array_Set
|
1085
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1086
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1062
1087
|
return sub;
|
1063
1088
|
}
|
1064
1089
|
UPB_INLINE void envoy_config_tap_v3_OutputConfig_set_max_buffered_rx_bytes(envoy_config_tap_v3_OutputConfig *msg, struct google_protobuf_UInt32Value* value) {
|
1065
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1066
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1090
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1091
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1067
1092
|
}
|
1068
1093
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_tap_v3_OutputConfig_mutable_max_buffered_rx_bytes(envoy_config_tap_v3_OutputConfig* msg, upb_Arena* arena) {
|
1069
1094
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_tap_v3_OutputConfig_max_buffered_rx_bytes(msg);
|
@@ -1074,8 +1099,8 @@ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_tap_v3_OutputConfig_
|
|
1074
1099
|
return sub;
|
1075
1100
|
}
|
1076
1101
|
UPB_INLINE void envoy_config_tap_v3_OutputConfig_set_max_buffered_tx_bytes(envoy_config_tap_v3_OutputConfig *msg, struct google_protobuf_UInt32Value* value) {
|
1077
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1078
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1102
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1103
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1079
1104
|
}
|
1080
1105
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_tap_v3_OutputConfig_mutable_max_buffered_tx_bytes(envoy_config_tap_v3_OutputConfig* msg, upb_Arena* arena) {
|
1081
1106
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_tap_v3_OutputConfig_max_buffered_tx_bytes(msg);
|
@@ -1086,8 +1111,8 @@ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_tap_v3_OutputConfig_
|
|
1086
1111
|
return sub;
|
1087
1112
|
}
|
1088
1113
|
UPB_INLINE void envoy_config_tap_v3_OutputConfig_set_streaming(envoy_config_tap_v3_OutputConfig *msg, bool value) {
|
1089
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1090
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1114
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1115
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1091
1116
|
}
|
1092
1117
|
|
1093
1118
|
/* envoy.config.tap.v3.OutputSink */
|
@@ -1098,7 +1123,8 @@ UPB_INLINE envoy_config_tap_v3_OutputSink* envoy_config_tap_v3_OutputSink_new(up
|
|
1098
1123
|
UPB_INLINE envoy_config_tap_v3_OutputSink* envoy_config_tap_v3_OutputSink_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1099
1124
|
envoy_config_tap_v3_OutputSink* ret = envoy_config_tap_v3_OutputSink_new(arena);
|
1100
1125
|
if (!ret) return NULL;
|
1101
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__OutputSink_msg_init, NULL, 0, arena) !=
|
1126
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__OutputSink_msg_init, NULL, 0, arena) !=
|
1127
|
+
kUpb_DecodeStatus_Ok) {
|
1102
1128
|
return NULL;
|
1103
1129
|
}
|
1104
1130
|
return ret;
|
@@ -1108,21 +1134,21 @@ UPB_INLINE envoy_config_tap_v3_OutputSink* envoy_config_tap_v3_OutputSink_parse_
|
|
1108
1134
|
int options, upb_Arena* arena) {
|
1109
1135
|
envoy_config_tap_v3_OutputSink* ret = envoy_config_tap_v3_OutputSink_new(arena);
|
1110
1136
|
if (!ret) return NULL;
|
1111
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__OutputSink_msg_init, extreg, options,
|
1112
|
-
|
1137
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__OutputSink_msg_init, extreg, options,
|
1138
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1113
1139
|
return NULL;
|
1114
1140
|
}
|
1115
1141
|
return ret;
|
1116
1142
|
}
|
1117
1143
|
UPB_INLINE char* envoy_config_tap_v3_OutputSink_serialize(const envoy_config_tap_v3_OutputSink* msg, upb_Arena* arena, size_t* len) {
|
1118
1144
|
char* ptr;
|
1119
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__OutputSink_msg_init, 0, arena, &ptr, len);
|
1145
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__OutputSink_msg_init, 0, arena, &ptr, len);
|
1120
1146
|
return ptr;
|
1121
1147
|
}
|
1122
1148
|
UPB_INLINE char* envoy_config_tap_v3_OutputSink_serialize_ex(const envoy_config_tap_v3_OutputSink* msg, int options,
|
1123
1149
|
upb_Arena* arena, size_t* len) {
|
1124
1150
|
char* ptr;
|
1125
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__OutputSink_msg_init, options, arena, &ptr, len);
|
1151
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__OutputSink_msg_init, options, arena, &ptr, len);
|
1126
1152
|
return ptr;
|
1127
1153
|
}
|
1128
1154
|
typedef enum {
|
@@ -1134,103 +1160,110 @@ typedef enum {
|
|
1134
1160
|
envoy_config_tap_v3_OutputSink_output_sink_type_NOT_SET = 0
|
1135
1161
|
} envoy_config_tap_v3_OutputSink_output_sink_type_oneofcases;
|
1136
1162
|
UPB_INLINE envoy_config_tap_v3_OutputSink_output_sink_type_oneofcases envoy_config_tap_v3_OutputSink_output_sink_type_case(const envoy_config_tap_v3_OutputSink* msg) {
|
1137
|
-
const upb_MiniTableField field = {2,
|
1138
|
-
return (envoy_config_tap_v3_OutputSink_output_sink_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
1163
|
+
const upb_MiniTableField field = {2, 16, -13, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1164
|
+
return (envoy_config_tap_v3_OutputSink_output_sink_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
1165
|
+
UPB_UPCAST(msg), &field);
|
1139
1166
|
}
|
1140
1167
|
UPB_INLINE void envoy_config_tap_v3_OutputSink_clear_format(envoy_config_tap_v3_OutputSink* msg) {
|
1141
|
-
const upb_MiniTableField field = {1,
|
1142
|
-
|
1168
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1169
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1143
1170
|
}
|
1144
1171
|
UPB_INLINE int32_t envoy_config_tap_v3_OutputSink_format(const envoy_config_tap_v3_OutputSink* msg) {
|
1145
1172
|
int32_t default_val = 0;
|
1146
1173
|
int32_t ret;
|
1147
|
-
const upb_MiniTableField field = {1,
|
1148
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1174
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1175
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1176
|
+
&default_val, &ret);
|
1149
1177
|
return ret;
|
1150
1178
|
}
|
1151
1179
|
UPB_INLINE void envoy_config_tap_v3_OutputSink_clear_streaming_admin(envoy_config_tap_v3_OutputSink* msg) {
|
1152
|
-
const upb_MiniTableField field = {2,
|
1153
|
-
|
1180
|
+
const upb_MiniTableField field = {2, 16, -13, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1181
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1154
1182
|
}
|
1155
1183
|
UPB_INLINE const envoy_config_tap_v3_StreamingAdminSink* envoy_config_tap_v3_OutputSink_streaming_admin(const envoy_config_tap_v3_OutputSink* msg) {
|
1156
1184
|
const envoy_config_tap_v3_StreamingAdminSink* default_val = NULL;
|
1157
1185
|
const envoy_config_tap_v3_StreamingAdminSink* ret;
|
1158
|
-
const upb_MiniTableField field = {2,
|
1159
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1186
|
+
const upb_MiniTableField field = {2, 16, -13, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1187
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1188
|
+
&default_val, &ret);
|
1160
1189
|
return ret;
|
1161
1190
|
}
|
1162
1191
|
UPB_INLINE bool envoy_config_tap_v3_OutputSink_has_streaming_admin(const envoy_config_tap_v3_OutputSink* msg) {
|
1163
|
-
const upb_MiniTableField field = {2,
|
1164
|
-
return
|
1192
|
+
const upb_MiniTableField field = {2, 16, -13, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1193
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1165
1194
|
}
|
1166
1195
|
UPB_INLINE void envoy_config_tap_v3_OutputSink_clear_file_per_tap(envoy_config_tap_v3_OutputSink* msg) {
|
1167
|
-
const upb_MiniTableField field = {3,
|
1168
|
-
|
1196
|
+
const upb_MiniTableField field = {3, 16, -13, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1197
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1169
1198
|
}
|
1170
1199
|
UPB_INLINE const envoy_config_tap_v3_FilePerTapSink* envoy_config_tap_v3_OutputSink_file_per_tap(const envoy_config_tap_v3_OutputSink* msg) {
|
1171
1200
|
const envoy_config_tap_v3_FilePerTapSink* default_val = NULL;
|
1172
1201
|
const envoy_config_tap_v3_FilePerTapSink* ret;
|
1173
|
-
const upb_MiniTableField field = {3,
|
1174
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1202
|
+
const upb_MiniTableField field = {3, 16, -13, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1203
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1204
|
+
&default_val, &ret);
|
1175
1205
|
return ret;
|
1176
1206
|
}
|
1177
1207
|
UPB_INLINE bool envoy_config_tap_v3_OutputSink_has_file_per_tap(const envoy_config_tap_v3_OutputSink* msg) {
|
1178
|
-
const upb_MiniTableField field = {3,
|
1179
|
-
return
|
1208
|
+
const upb_MiniTableField field = {3, 16, -13, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1209
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1180
1210
|
}
|
1181
1211
|
UPB_INLINE void envoy_config_tap_v3_OutputSink_clear_streaming_grpc(envoy_config_tap_v3_OutputSink* msg) {
|
1182
|
-
const upb_MiniTableField field = {4,
|
1183
|
-
|
1212
|
+
const upb_MiniTableField field = {4, 16, -13, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1213
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1184
1214
|
}
|
1185
1215
|
UPB_INLINE const envoy_config_tap_v3_StreamingGrpcSink* envoy_config_tap_v3_OutputSink_streaming_grpc(const envoy_config_tap_v3_OutputSink* msg) {
|
1186
1216
|
const envoy_config_tap_v3_StreamingGrpcSink* default_val = NULL;
|
1187
1217
|
const envoy_config_tap_v3_StreamingGrpcSink* ret;
|
1188
|
-
const upb_MiniTableField field = {4,
|
1189
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1218
|
+
const upb_MiniTableField field = {4, 16, -13, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1219
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1220
|
+
&default_val, &ret);
|
1190
1221
|
return ret;
|
1191
1222
|
}
|
1192
1223
|
UPB_INLINE bool envoy_config_tap_v3_OutputSink_has_streaming_grpc(const envoy_config_tap_v3_OutputSink* msg) {
|
1193
|
-
const upb_MiniTableField field = {4,
|
1194
|
-
return
|
1224
|
+
const upb_MiniTableField field = {4, 16, -13, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1225
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1195
1226
|
}
|
1196
1227
|
UPB_INLINE void envoy_config_tap_v3_OutputSink_clear_buffered_admin(envoy_config_tap_v3_OutputSink* msg) {
|
1197
|
-
const upb_MiniTableField field = {5,
|
1198
|
-
|
1228
|
+
const upb_MiniTableField field = {5, 16, -13, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1229
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1199
1230
|
}
|
1200
1231
|
UPB_INLINE const envoy_config_tap_v3_BufferedAdminSink* envoy_config_tap_v3_OutputSink_buffered_admin(const envoy_config_tap_v3_OutputSink* msg) {
|
1201
1232
|
const envoy_config_tap_v3_BufferedAdminSink* default_val = NULL;
|
1202
1233
|
const envoy_config_tap_v3_BufferedAdminSink* ret;
|
1203
|
-
const upb_MiniTableField field = {5,
|
1204
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1234
|
+
const upb_MiniTableField field = {5, 16, -13, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1235
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1236
|
+
&default_val, &ret);
|
1205
1237
|
return ret;
|
1206
1238
|
}
|
1207
1239
|
UPB_INLINE bool envoy_config_tap_v3_OutputSink_has_buffered_admin(const envoy_config_tap_v3_OutputSink* msg) {
|
1208
|
-
const upb_MiniTableField field = {5,
|
1209
|
-
return
|
1240
|
+
const upb_MiniTableField field = {5, 16, -13, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1241
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1210
1242
|
}
|
1211
1243
|
UPB_INLINE void envoy_config_tap_v3_OutputSink_clear_custom_sink(envoy_config_tap_v3_OutputSink* msg) {
|
1212
|
-
const upb_MiniTableField field = {6,
|
1213
|
-
|
1244
|
+
const upb_MiniTableField field = {6, 16, -13, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1245
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1214
1246
|
}
|
1215
1247
|
UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_tap_v3_OutputSink_custom_sink(const envoy_config_tap_v3_OutputSink* msg) {
|
1216
1248
|
const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
|
1217
1249
|
const struct envoy_config_core_v3_TypedExtensionConfig* ret;
|
1218
|
-
const upb_MiniTableField field = {6,
|
1219
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1250
|
+
const upb_MiniTableField field = {6, 16, -13, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1251
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1252
|
+
&default_val, &ret);
|
1220
1253
|
return ret;
|
1221
1254
|
}
|
1222
1255
|
UPB_INLINE bool envoy_config_tap_v3_OutputSink_has_custom_sink(const envoy_config_tap_v3_OutputSink* msg) {
|
1223
|
-
const upb_MiniTableField field = {6,
|
1224
|
-
return
|
1256
|
+
const upb_MiniTableField field = {6, 16, -13, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1257
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1225
1258
|
}
|
1226
1259
|
|
1227
1260
|
UPB_INLINE void envoy_config_tap_v3_OutputSink_set_format(envoy_config_tap_v3_OutputSink *msg, int32_t value) {
|
1228
|
-
const upb_MiniTableField field = {1,
|
1229
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1261
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1262
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1230
1263
|
}
|
1231
1264
|
UPB_INLINE void envoy_config_tap_v3_OutputSink_set_streaming_admin(envoy_config_tap_v3_OutputSink *msg, envoy_config_tap_v3_StreamingAdminSink* value) {
|
1232
|
-
const upb_MiniTableField field = {2,
|
1233
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1265
|
+
const upb_MiniTableField field = {2, 16, -13, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1266
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1234
1267
|
}
|
1235
1268
|
UPB_INLINE struct envoy_config_tap_v3_StreamingAdminSink* envoy_config_tap_v3_OutputSink_mutable_streaming_admin(envoy_config_tap_v3_OutputSink* msg, upb_Arena* arena) {
|
1236
1269
|
struct envoy_config_tap_v3_StreamingAdminSink* sub = (struct envoy_config_tap_v3_StreamingAdminSink*)envoy_config_tap_v3_OutputSink_streaming_admin(msg);
|
@@ -1241,8 +1274,8 @@ UPB_INLINE struct envoy_config_tap_v3_StreamingAdminSink* envoy_config_tap_v3_Ou
|
|
1241
1274
|
return sub;
|
1242
1275
|
}
|
1243
1276
|
UPB_INLINE void envoy_config_tap_v3_OutputSink_set_file_per_tap(envoy_config_tap_v3_OutputSink *msg, envoy_config_tap_v3_FilePerTapSink* value) {
|
1244
|
-
const upb_MiniTableField field = {3,
|
1245
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1277
|
+
const upb_MiniTableField field = {3, 16, -13, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1278
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1246
1279
|
}
|
1247
1280
|
UPB_INLINE struct envoy_config_tap_v3_FilePerTapSink* envoy_config_tap_v3_OutputSink_mutable_file_per_tap(envoy_config_tap_v3_OutputSink* msg, upb_Arena* arena) {
|
1248
1281
|
struct envoy_config_tap_v3_FilePerTapSink* sub = (struct envoy_config_tap_v3_FilePerTapSink*)envoy_config_tap_v3_OutputSink_file_per_tap(msg);
|
@@ -1253,8 +1286,8 @@ UPB_INLINE struct envoy_config_tap_v3_FilePerTapSink* envoy_config_tap_v3_Output
|
|
1253
1286
|
return sub;
|
1254
1287
|
}
|
1255
1288
|
UPB_INLINE void envoy_config_tap_v3_OutputSink_set_streaming_grpc(envoy_config_tap_v3_OutputSink *msg, envoy_config_tap_v3_StreamingGrpcSink* value) {
|
1256
|
-
const upb_MiniTableField field = {4,
|
1257
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1289
|
+
const upb_MiniTableField field = {4, 16, -13, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1290
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1258
1291
|
}
|
1259
1292
|
UPB_INLINE struct envoy_config_tap_v3_StreamingGrpcSink* envoy_config_tap_v3_OutputSink_mutable_streaming_grpc(envoy_config_tap_v3_OutputSink* msg, upb_Arena* arena) {
|
1260
1293
|
struct envoy_config_tap_v3_StreamingGrpcSink* sub = (struct envoy_config_tap_v3_StreamingGrpcSink*)envoy_config_tap_v3_OutputSink_streaming_grpc(msg);
|
@@ -1265,8 +1298,8 @@ UPB_INLINE struct envoy_config_tap_v3_StreamingGrpcSink* envoy_config_tap_v3_Out
|
|
1265
1298
|
return sub;
|
1266
1299
|
}
|
1267
1300
|
UPB_INLINE void envoy_config_tap_v3_OutputSink_set_buffered_admin(envoy_config_tap_v3_OutputSink *msg, envoy_config_tap_v3_BufferedAdminSink* value) {
|
1268
|
-
const upb_MiniTableField field = {5,
|
1269
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1301
|
+
const upb_MiniTableField field = {5, 16, -13, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1302
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1270
1303
|
}
|
1271
1304
|
UPB_INLINE struct envoy_config_tap_v3_BufferedAdminSink* envoy_config_tap_v3_OutputSink_mutable_buffered_admin(envoy_config_tap_v3_OutputSink* msg, upb_Arena* arena) {
|
1272
1305
|
struct envoy_config_tap_v3_BufferedAdminSink* sub = (struct envoy_config_tap_v3_BufferedAdminSink*)envoy_config_tap_v3_OutputSink_buffered_admin(msg);
|
@@ -1277,8 +1310,8 @@ UPB_INLINE struct envoy_config_tap_v3_BufferedAdminSink* envoy_config_tap_v3_Out
|
|
1277
1310
|
return sub;
|
1278
1311
|
}
|
1279
1312
|
UPB_INLINE void envoy_config_tap_v3_OutputSink_set_custom_sink(envoy_config_tap_v3_OutputSink *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
|
1280
|
-
const upb_MiniTableField field = {6,
|
1281
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1313
|
+
const upb_MiniTableField field = {6, 16, -13, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1314
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1282
1315
|
}
|
1283
1316
|
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_tap_v3_OutputSink_mutable_custom_sink(envoy_config_tap_v3_OutputSink* msg, upb_Arena* arena) {
|
1284
1317
|
struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_tap_v3_OutputSink_custom_sink(msg);
|
@@ -1297,7 +1330,8 @@ UPB_INLINE envoy_config_tap_v3_StreamingAdminSink* envoy_config_tap_v3_Streaming
|
|
1297
1330
|
UPB_INLINE envoy_config_tap_v3_StreamingAdminSink* envoy_config_tap_v3_StreamingAdminSink_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1298
1331
|
envoy_config_tap_v3_StreamingAdminSink* ret = envoy_config_tap_v3_StreamingAdminSink_new(arena);
|
1299
1332
|
if (!ret) return NULL;
|
1300
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__StreamingAdminSink_msg_init, NULL, 0, arena) !=
|
1333
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__StreamingAdminSink_msg_init, NULL, 0, arena) !=
|
1334
|
+
kUpb_DecodeStatus_Ok) {
|
1301
1335
|
return NULL;
|
1302
1336
|
}
|
1303
1337
|
return ret;
|
@@ -1307,21 +1341,21 @@ UPB_INLINE envoy_config_tap_v3_StreamingAdminSink* envoy_config_tap_v3_Streaming
|
|
1307
1341
|
int options, upb_Arena* arena) {
|
1308
1342
|
envoy_config_tap_v3_StreamingAdminSink* ret = envoy_config_tap_v3_StreamingAdminSink_new(arena);
|
1309
1343
|
if (!ret) return NULL;
|
1310
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__StreamingAdminSink_msg_init, extreg, options,
|
1311
|
-
|
1344
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__StreamingAdminSink_msg_init, extreg, options,
|
1345
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1312
1346
|
return NULL;
|
1313
1347
|
}
|
1314
1348
|
return ret;
|
1315
1349
|
}
|
1316
1350
|
UPB_INLINE char* envoy_config_tap_v3_StreamingAdminSink_serialize(const envoy_config_tap_v3_StreamingAdminSink* msg, upb_Arena* arena, size_t* len) {
|
1317
1351
|
char* ptr;
|
1318
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__StreamingAdminSink_msg_init, 0, arena, &ptr, len);
|
1352
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__StreamingAdminSink_msg_init, 0, arena, &ptr, len);
|
1319
1353
|
return ptr;
|
1320
1354
|
}
|
1321
1355
|
UPB_INLINE char* envoy_config_tap_v3_StreamingAdminSink_serialize_ex(const envoy_config_tap_v3_StreamingAdminSink* msg, int options,
|
1322
1356
|
upb_Arena* arena, size_t* len) {
|
1323
1357
|
char* ptr;
|
1324
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__StreamingAdminSink_msg_init, options, arena, &ptr, len);
|
1358
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__StreamingAdminSink_msg_init, options, arena, &ptr, len);
|
1325
1359
|
return ptr;
|
1326
1360
|
}
|
1327
1361
|
|
@@ -1334,7 +1368,8 @@ UPB_INLINE envoy_config_tap_v3_BufferedAdminSink* envoy_config_tap_v3_BufferedAd
|
|
1334
1368
|
UPB_INLINE envoy_config_tap_v3_BufferedAdminSink* envoy_config_tap_v3_BufferedAdminSink_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1335
1369
|
envoy_config_tap_v3_BufferedAdminSink* ret = envoy_config_tap_v3_BufferedAdminSink_new(arena);
|
1336
1370
|
if (!ret) return NULL;
|
1337
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__BufferedAdminSink_msg_init, NULL, 0, arena) !=
|
1371
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__BufferedAdminSink_msg_init, NULL, 0, arena) !=
|
1372
|
+
kUpb_DecodeStatus_Ok) {
|
1338
1373
|
return NULL;
|
1339
1374
|
}
|
1340
1375
|
return ret;
|
@@ -1344,57 +1379,59 @@ UPB_INLINE envoy_config_tap_v3_BufferedAdminSink* envoy_config_tap_v3_BufferedAd
|
|
1344
1379
|
int options, upb_Arena* arena) {
|
1345
1380
|
envoy_config_tap_v3_BufferedAdminSink* ret = envoy_config_tap_v3_BufferedAdminSink_new(arena);
|
1346
1381
|
if (!ret) return NULL;
|
1347
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__BufferedAdminSink_msg_init, extreg, options,
|
1348
|
-
|
1382
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__BufferedAdminSink_msg_init, extreg, options,
|
1383
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1349
1384
|
return NULL;
|
1350
1385
|
}
|
1351
1386
|
return ret;
|
1352
1387
|
}
|
1353
1388
|
UPB_INLINE char* envoy_config_tap_v3_BufferedAdminSink_serialize(const envoy_config_tap_v3_BufferedAdminSink* msg, upb_Arena* arena, size_t* len) {
|
1354
1389
|
char* ptr;
|
1355
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__BufferedAdminSink_msg_init, 0, arena, &ptr, len);
|
1390
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__BufferedAdminSink_msg_init, 0, arena, &ptr, len);
|
1356
1391
|
return ptr;
|
1357
1392
|
}
|
1358
1393
|
UPB_INLINE char* envoy_config_tap_v3_BufferedAdminSink_serialize_ex(const envoy_config_tap_v3_BufferedAdminSink* msg, int options,
|
1359
1394
|
upb_Arena* arena, size_t* len) {
|
1360
1395
|
char* ptr;
|
1361
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__BufferedAdminSink_msg_init, options, arena, &ptr, len);
|
1396
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__BufferedAdminSink_msg_init, options, arena, &ptr, len);
|
1362
1397
|
return ptr;
|
1363
1398
|
}
|
1364
1399
|
UPB_INLINE void envoy_config_tap_v3_BufferedAdminSink_clear_max_traces(envoy_config_tap_v3_BufferedAdminSink* msg) {
|
1365
|
-
const upb_MiniTableField field = {1,
|
1366
|
-
|
1400
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1401
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1367
1402
|
}
|
1368
1403
|
UPB_INLINE uint64_t envoy_config_tap_v3_BufferedAdminSink_max_traces(const envoy_config_tap_v3_BufferedAdminSink* msg) {
|
1369
1404
|
uint64_t default_val = (uint64_t)0ull;
|
1370
1405
|
uint64_t ret;
|
1371
|
-
const upb_MiniTableField field = {1,
|
1372
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1406
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1407
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1408
|
+
&default_val, &ret);
|
1373
1409
|
return ret;
|
1374
1410
|
}
|
1375
1411
|
UPB_INLINE void envoy_config_tap_v3_BufferedAdminSink_clear_timeout(envoy_config_tap_v3_BufferedAdminSink* msg) {
|
1376
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1377
|
-
|
1412
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1413
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1378
1414
|
}
|
1379
1415
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_tap_v3_BufferedAdminSink_timeout(const envoy_config_tap_v3_BufferedAdminSink* msg) {
|
1380
1416
|
const struct google_protobuf_Duration* default_val = NULL;
|
1381
1417
|
const struct google_protobuf_Duration* ret;
|
1382
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1383
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1418
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1419
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1420
|
+
&default_val, &ret);
|
1384
1421
|
return ret;
|
1385
1422
|
}
|
1386
1423
|
UPB_INLINE bool envoy_config_tap_v3_BufferedAdminSink_has_timeout(const envoy_config_tap_v3_BufferedAdminSink* msg) {
|
1387
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1388
|
-
return
|
1424
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1425
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1389
1426
|
}
|
1390
1427
|
|
1391
1428
|
UPB_INLINE void envoy_config_tap_v3_BufferedAdminSink_set_max_traces(envoy_config_tap_v3_BufferedAdminSink *msg, uint64_t value) {
|
1392
|
-
const upb_MiniTableField field = {1,
|
1393
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1429
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1430
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1394
1431
|
}
|
1395
1432
|
UPB_INLINE void envoy_config_tap_v3_BufferedAdminSink_set_timeout(envoy_config_tap_v3_BufferedAdminSink *msg, struct google_protobuf_Duration* value) {
|
1396
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1397
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1433
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1434
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1398
1435
|
}
|
1399
1436
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_tap_v3_BufferedAdminSink_mutable_timeout(envoy_config_tap_v3_BufferedAdminSink* msg, upb_Arena* arena) {
|
1400
1437
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_tap_v3_BufferedAdminSink_timeout(msg);
|
@@ -1413,7 +1450,8 @@ UPB_INLINE envoy_config_tap_v3_FilePerTapSink* envoy_config_tap_v3_FilePerTapSin
|
|
1413
1450
|
UPB_INLINE envoy_config_tap_v3_FilePerTapSink* envoy_config_tap_v3_FilePerTapSink_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1414
1451
|
envoy_config_tap_v3_FilePerTapSink* ret = envoy_config_tap_v3_FilePerTapSink_new(arena);
|
1415
1452
|
if (!ret) return NULL;
|
1416
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__FilePerTapSink_msg_init, NULL, 0, arena) !=
|
1453
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__FilePerTapSink_msg_init, NULL, 0, arena) !=
|
1454
|
+
kUpb_DecodeStatus_Ok) {
|
1417
1455
|
return NULL;
|
1418
1456
|
}
|
1419
1457
|
return ret;
|
@@ -1423,38 +1461,39 @@ UPB_INLINE envoy_config_tap_v3_FilePerTapSink* envoy_config_tap_v3_FilePerTapSin
|
|
1423
1461
|
int options, upb_Arena* arena) {
|
1424
1462
|
envoy_config_tap_v3_FilePerTapSink* ret = envoy_config_tap_v3_FilePerTapSink_new(arena);
|
1425
1463
|
if (!ret) return NULL;
|
1426
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__FilePerTapSink_msg_init, extreg, options,
|
1427
|
-
|
1464
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__FilePerTapSink_msg_init, extreg, options,
|
1465
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1428
1466
|
return NULL;
|
1429
1467
|
}
|
1430
1468
|
return ret;
|
1431
1469
|
}
|
1432
1470
|
UPB_INLINE char* envoy_config_tap_v3_FilePerTapSink_serialize(const envoy_config_tap_v3_FilePerTapSink* msg, upb_Arena* arena, size_t* len) {
|
1433
1471
|
char* ptr;
|
1434
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__FilePerTapSink_msg_init, 0, arena, &ptr, len);
|
1472
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__FilePerTapSink_msg_init, 0, arena, &ptr, len);
|
1435
1473
|
return ptr;
|
1436
1474
|
}
|
1437
1475
|
UPB_INLINE char* envoy_config_tap_v3_FilePerTapSink_serialize_ex(const envoy_config_tap_v3_FilePerTapSink* msg, int options,
|
1438
1476
|
upb_Arena* arena, size_t* len) {
|
1439
1477
|
char* ptr;
|
1440
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__FilePerTapSink_msg_init, options, arena, &ptr, len);
|
1478
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__FilePerTapSink_msg_init, options, arena, &ptr, len);
|
1441
1479
|
return ptr;
|
1442
1480
|
}
|
1443
1481
|
UPB_INLINE void envoy_config_tap_v3_FilePerTapSink_clear_path_prefix(envoy_config_tap_v3_FilePerTapSink* msg) {
|
1444
|
-
const upb_MiniTableField field = {1,
|
1445
|
-
|
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_ClearBaseField(UPB_UPCAST(msg), &field);
|
1446
1484
|
}
|
1447
1485
|
UPB_INLINE upb_StringView envoy_config_tap_v3_FilePerTapSink_path_prefix(const envoy_config_tap_v3_FilePerTapSink* msg) {
|
1448
1486
|
upb_StringView default_val = upb_StringView_FromString("");
|
1449
1487
|
upb_StringView ret;
|
1450
|
-
const upb_MiniTableField field = {1,
|
1451
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1488
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1489
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1490
|
+
&default_val, &ret);
|
1452
1491
|
return ret;
|
1453
1492
|
}
|
1454
1493
|
|
1455
1494
|
UPB_INLINE void envoy_config_tap_v3_FilePerTapSink_set_path_prefix(envoy_config_tap_v3_FilePerTapSink *msg, upb_StringView value) {
|
1456
|
-
const upb_MiniTableField field = {1,
|
1457
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1495
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1496
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1458
1497
|
}
|
1459
1498
|
|
1460
1499
|
/* envoy.config.tap.v3.StreamingGrpcSink */
|
@@ -1465,7 +1504,8 @@ UPB_INLINE envoy_config_tap_v3_StreamingGrpcSink* envoy_config_tap_v3_StreamingG
|
|
1465
1504
|
UPB_INLINE envoy_config_tap_v3_StreamingGrpcSink* envoy_config_tap_v3_StreamingGrpcSink_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1466
1505
|
envoy_config_tap_v3_StreamingGrpcSink* ret = envoy_config_tap_v3_StreamingGrpcSink_new(arena);
|
1467
1506
|
if (!ret) return NULL;
|
1468
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__StreamingGrpcSink_msg_init, NULL, 0, arena) !=
|
1507
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__StreamingGrpcSink_msg_init, NULL, 0, arena) !=
|
1508
|
+
kUpb_DecodeStatus_Ok) {
|
1469
1509
|
return NULL;
|
1470
1510
|
}
|
1471
1511
|
return ret;
|
@@ -1475,57 +1515,59 @@ UPB_INLINE envoy_config_tap_v3_StreamingGrpcSink* envoy_config_tap_v3_StreamingG
|
|
1475
1515
|
int options, upb_Arena* arena) {
|
1476
1516
|
envoy_config_tap_v3_StreamingGrpcSink* ret = envoy_config_tap_v3_StreamingGrpcSink_new(arena);
|
1477
1517
|
if (!ret) return NULL;
|
1478
|
-
if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__StreamingGrpcSink_msg_init, extreg, options,
|
1479
|
-
|
1518
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__tap__v3__StreamingGrpcSink_msg_init, extreg, options,
|
1519
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1480
1520
|
return NULL;
|
1481
1521
|
}
|
1482
1522
|
return ret;
|
1483
1523
|
}
|
1484
1524
|
UPB_INLINE char* envoy_config_tap_v3_StreamingGrpcSink_serialize(const envoy_config_tap_v3_StreamingGrpcSink* msg, upb_Arena* arena, size_t* len) {
|
1485
1525
|
char* ptr;
|
1486
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__StreamingGrpcSink_msg_init, 0, arena, &ptr, len);
|
1526
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__StreamingGrpcSink_msg_init, 0, arena, &ptr, len);
|
1487
1527
|
return ptr;
|
1488
1528
|
}
|
1489
1529
|
UPB_INLINE char* envoy_config_tap_v3_StreamingGrpcSink_serialize_ex(const envoy_config_tap_v3_StreamingGrpcSink* msg, int options,
|
1490
1530
|
upb_Arena* arena, size_t* len) {
|
1491
1531
|
char* ptr;
|
1492
|
-
(void)upb_Encode(msg, &envoy__config__tap__v3__StreamingGrpcSink_msg_init, options, arena, &ptr, len);
|
1532
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__tap__v3__StreamingGrpcSink_msg_init, options, arena, &ptr, len);
|
1493
1533
|
return ptr;
|
1494
1534
|
}
|
1495
1535
|
UPB_INLINE void envoy_config_tap_v3_StreamingGrpcSink_clear_tap_id(envoy_config_tap_v3_StreamingGrpcSink* msg) {
|
1496
|
-
const upb_MiniTableField field = {1,
|
1497
|
-
|
1536
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1537
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1498
1538
|
}
|
1499
1539
|
UPB_INLINE upb_StringView envoy_config_tap_v3_StreamingGrpcSink_tap_id(const envoy_config_tap_v3_StreamingGrpcSink* msg) {
|
1500
1540
|
upb_StringView default_val = upb_StringView_FromString("");
|
1501
1541
|
upb_StringView ret;
|
1502
|
-
const upb_MiniTableField field = {1,
|
1503
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1542
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1543
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1544
|
+
&default_val, &ret);
|
1504
1545
|
return ret;
|
1505
1546
|
}
|
1506
1547
|
UPB_INLINE void envoy_config_tap_v3_StreamingGrpcSink_clear_grpc_service(envoy_config_tap_v3_StreamingGrpcSink* msg) {
|
1507
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1508
|
-
|
1548
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1549
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1509
1550
|
}
|
1510
1551
|
UPB_INLINE const struct envoy_config_core_v3_GrpcService* envoy_config_tap_v3_StreamingGrpcSink_grpc_service(const envoy_config_tap_v3_StreamingGrpcSink* msg) {
|
1511
1552
|
const struct envoy_config_core_v3_GrpcService* default_val = NULL;
|
1512
1553
|
const struct envoy_config_core_v3_GrpcService* ret;
|
1513
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1514
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1554
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1555
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1556
|
+
&default_val, &ret);
|
1515
1557
|
return ret;
|
1516
1558
|
}
|
1517
1559
|
UPB_INLINE bool envoy_config_tap_v3_StreamingGrpcSink_has_grpc_service(const envoy_config_tap_v3_StreamingGrpcSink* msg) {
|
1518
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1519
|
-
return
|
1560
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1561
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1520
1562
|
}
|
1521
1563
|
|
1522
1564
|
UPB_INLINE void envoy_config_tap_v3_StreamingGrpcSink_set_tap_id(envoy_config_tap_v3_StreamingGrpcSink *msg, upb_StringView value) {
|
1523
|
-
const upb_MiniTableField field = {1,
|
1524
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1565
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1566
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1525
1567
|
}
|
1526
1568
|
UPB_INLINE void envoy_config_tap_v3_StreamingGrpcSink_set_grpc_service(envoy_config_tap_v3_StreamingGrpcSink *msg, struct envoy_config_core_v3_GrpcService* value) {
|
1527
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1528
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1569
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1570
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1529
1571
|
}
|
1530
1572
|
UPB_INLINE struct envoy_config_core_v3_GrpcService* envoy_config_tap_v3_StreamingGrpcSink_mutable_grpc_service(envoy_config_tap_v3_StreamingGrpcSink* msg, upb_Arena* arena) {
|
1531
1573
|
struct envoy_config_core_v3_GrpcService* sub = (struct envoy_config_core_v3_GrpcService*)envoy_config_tap_v3_StreamingGrpcSink_grpc_service(msg);
|