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
@@ -34,30 +34,30 @@
|
|
34
34
|
extern "C" {
|
35
35
|
#endif
|
36
36
|
|
37
|
-
typedef struct envoy_config_core_v3_Locality envoy_config_core_v3_Locality;
|
38
|
-
typedef struct envoy_config_core_v3_BuildVersion envoy_config_core_v3_BuildVersion;
|
39
|
-
typedef struct envoy_config_core_v3_Extension envoy_config_core_v3_Extension;
|
40
|
-
typedef struct envoy_config_core_v3_Node envoy_config_core_v3_Node;
|
41
|
-
typedef struct envoy_config_core_v3_Node_DynamicParametersEntry envoy_config_core_v3_Node_DynamicParametersEntry;
|
42
|
-
typedef struct envoy_config_core_v3_Metadata envoy_config_core_v3_Metadata;
|
43
|
-
typedef struct envoy_config_core_v3_Metadata_FilterMetadataEntry envoy_config_core_v3_Metadata_FilterMetadataEntry;
|
44
|
-
typedef struct envoy_config_core_v3_Metadata_TypedFilterMetadataEntry envoy_config_core_v3_Metadata_TypedFilterMetadataEntry;
|
45
|
-
typedef struct envoy_config_core_v3_RuntimeUInt32 envoy_config_core_v3_RuntimeUInt32;
|
46
|
-
typedef struct envoy_config_core_v3_RuntimePercent envoy_config_core_v3_RuntimePercent;
|
47
|
-
typedef struct envoy_config_core_v3_RuntimeDouble envoy_config_core_v3_RuntimeDouble;
|
48
|
-
typedef struct envoy_config_core_v3_RuntimeFeatureFlag envoy_config_core_v3_RuntimeFeatureFlag;
|
49
|
-
typedef struct envoy_config_core_v3_QueryParameter envoy_config_core_v3_QueryParameter;
|
50
|
-
typedef struct envoy_config_core_v3_HeaderValue envoy_config_core_v3_HeaderValue;
|
51
|
-
typedef struct envoy_config_core_v3_HeaderValueOption envoy_config_core_v3_HeaderValueOption;
|
52
|
-
typedef struct envoy_config_core_v3_HeaderMap envoy_config_core_v3_HeaderMap;
|
53
|
-
typedef struct envoy_config_core_v3_WatchedDirectory envoy_config_core_v3_WatchedDirectory;
|
54
|
-
typedef struct envoy_config_core_v3_DataSource envoy_config_core_v3_DataSource;
|
55
|
-
typedef struct envoy_config_core_v3_RetryPolicy envoy_config_core_v3_RetryPolicy;
|
56
|
-
typedef struct envoy_config_core_v3_RemoteDataSource envoy_config_core_v3_RemoteDataSource;
|
57
|
-
typedef struct envoy_config_core_v3_AsyncDataSource envoy_config_core_v3_AsyncDataSource;
|
58
|
-
typedef struct envoy_config_core_v3_TransportSocket envoy_config_core_v3_TransportSocket;
|
59
|
-
typedef struct envoy_config_core_v3_RuntimeFractionalPercent envoy_config_core_v3_RuntimeFractionalPercent;
|
60
|
-
typedef struct envoy_config_core_v3_ControlPlane envoy_config_core_v3_ControlPlane;
|
37
|
+
typedef struct envoy_config_core_v3_Locality { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_Locality;
|
38
|
+
typedef struct envoy_config_core_v3_BuildVersion { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_BuildVersion;
|
39
|
+
typedef struct envoy_config_core_v3_Extension { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_Extension;
|
40
|
+
typedef struct envoy_config_core_v3_Node { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_Node;
|
41
|
+
typedef struct envoy_config_core_v3_Node_DynamicParametersEntry { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_Node_DynamicParametersEntry;
|
42
|
+
typedef struct envoy_config_core_v3_Metadata { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_Metadata;
|
43
|
+
typedef struct envoy_config_core_v3_Metadata_FilterMetadataEntry { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_Metadata_FilterMetadataEntry;
|
44
|
+
typedef struct envoy_config_core_v3_Metadata_TypedFilterMetadataEntry { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_Metadata_TypedFilterMetadataEntry;
|
45
|
+
typedef struct envoy_config_core_v3_RuntimeUInt32 { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RuntimeUInt32;
|
46
|
+
typedef struct envoy_config_core_v3_RuntimePercent { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RuntimePercent;
|
47
|
+
typedef struct envoy_config_core_v3_RuntimeDouble { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RuntimeDouble;
|
48
|
+
typedef struct envoy_config_core_v3_RuntimeFeatureFlag { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RuntimeFeatureFlag;
|
49
|
+
typedef struct envoy_config_core_v3_QueryParameter { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_QueryParameter;
|
50
|
+
typedef struct envoy_config_core_v3_HeaderValue { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_HeaderValue;
|
51
|
+
typedef struct envoy_config_core_v3_HeaderValueOption { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_HeaderValueOption;
|
52
|
+
typedef struct envoy_config_core_v3_HeaderMap { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_HeaderMap;
|
53
|
+
typedef struct envoy_config_core_v3_WatchedDirectory { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_WatchedDirectory;
|
54
|
+
typedef struct envoy_config_core_v3_DataSource { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_DataSource;
|
55
|
+
typedef struct envoy_config_core_v3_RetryPolicy { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RetryPolicy;
|
56
|
+
typedef struct envoy_config_core_v3_RemoteDataSource { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RemoteDataSource;
|
57
|
+
typedef struct envoy_config_core_v3_AsyncDataSource { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_AsyncDataSource;
|
58
|
+
typedef struct envoy_config_core_v3_TransportSocket { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_TransportSocket;
|
59
|
+
typedef struct envoy_config_core_v3_RuntimeFractionalPercent { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RuntimeFractionalPercent;
|
60
|
+
typedef struct envoy_config_core_v3_ControlPlane { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_ControlPlane;
|
61
61
|
struct envoy_config_core_v3_Address;
|
62
62
|
struct envoy_config_core_v3_BackoffStrategy;
|
63
63
|
struct envoy_config_core_v3_HttpUri;
|
@@ -111,7 +111,8 @@ UPB_INLINE envoy_config_core_v3_Locality* envoy_config_core_v3_Locality_new(upb_
|
|
111
111
|
UPB_INLINE envoy_config_core_v3_Locality* envoy_config_core_v3_Locality_parse(const char* buf, size_t size, upb_Arena* arena) {
|
112
112
|
envoy_config_core_v3_Locality* ret = envoy_config_core_v3_Locality_new(arena);
|
113
113
|
if (!ret) return NULL;
|
114
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Locality_msg_init, NULL, 0, arena) !=
|
114
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Locality_msg_init, NULL, 0, arena) !=
|
115
|
+
kUpb_DecodeStatus_Ok) {
|
115
116
|
return NULL;
|
116
117
|
}
|
117
118
|
return ret;
|
@@ -121,68 +122,71 @@ UPB_INLINE envoy_config_core_v3_Locality* envoy_config_core_v3_Locality_parse_ex
|
|
121
122
|
int options, upb_Arena* arena) {
|
122
123
|
envoy_config_core_v3_Locality* ret = envoy_config_core_v3_Locality_new(arena);
|
123
124
|
if (!ret) return NULL;
|
124
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Locality_msg_init, extreg, options,
|
125
|
-
|
125
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Locality_msg_init, extreg, options,
|
126
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
126
127
|
return NULL;
|
127
128
|
}
|
128
129
|
return ret;
|
129
130
|
}
|
130
131
|
UPB_INLINE char* envoy_config_core_v3_Locality_serialize(const envoy_config_core_v3_Locality* msg, upb_Arena* arena, size_t* len) {
|
131
132
|
char* ptr;
|
132
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__Locality_msg_init, 0, arena, &ptr, len);
|
133
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__Locality_msg_init, 0, arena, &ptr, len);
|
133
134
|
return ptr;
|
134
135
|
}
|
135
136
|
UPB_INLINE char* envoy_config_core_v3_Locality_serialize_ex(const envoy_config_core_v3_Locality* msg, int options,
|
136
137
|
upb_Arena* arena, size_t* len) {
|
137
138
|
char* ptr;
|
138
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__Locality_msg_init, options, arena, &ptr, len);
|
139
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__Locality_msg_init, options, arena, &ptr, len);
|
139
140
|
return ptr;
|
140
141
|
}
|
141
142
|
UPB_INLINE void envoy_config_core_v3_Locality_clear_region(envoy_config_core_v3_Locality* msg) {
|
142
|
-
const upb_MiniTableField field = {1,
|
143
|
-
|
143
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
144
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
144
145
|
}
|
145
146
|
UPB_INLINE upb_StringView envoy_config_core_v3_Locality_region(const envoy_config_core_v3_Locality* msg) {
|
146
147
|
upb_StringView default_val = upb_StringView_FromString("");
|
147
148
|
upb_StringView ret;
|
148
|
-
const upb_MiniTableField field = {1,
|
149
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
149
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
150
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
151
|
+
&default_val, &ret);
|
150
152
|
return ret;
|
151
153
|
}
|
152
154
|
UPB_INLINE void envoy_config_core_v3_Locality_clear_zone(envoy_config_core_v3_Locality* msg) {
|
153
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
154
|
-
|
155
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
156
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
155
157
|
}
|
156
158
|
UPB_INLINE upb_StringView envoy_config_core_v3_Locality_zone(const envoy_config_core_v3_Locality* msg) {
|
157
159
|
upb_StringView default_val = upb_StringView_FromString("");
|
158
160
|
upb_StringView ret;
|
159
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
160
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
161
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
162
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
163
|
+
&default_val, &ret);
|
161
164
|
return ret;
|
162
165
|
}
|
163
166
|
UPB_INLINE void envoy_config_core_v3_Locality_clear_sub_zone(envoy_config_core_v3_Locality* msg) {
|
164
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
165
|
-
|
167
|
+
const upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
168
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
166
169
|
}
|
167
170
|
UPB_INLINE upb_StringView envoy_config_core_v3_Locality_sub_zone(const envoy_config_core_v3_Locality* msg) {
|
168
171
|
upb_StringView default_val = upb_StringView_FromString("");
|
169
172
|
upb_StringView ret;
|
170
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
171
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
173
|
+
const upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
174
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
175
|
+
&default_val, &ret);
|
172
176
|
return ret;
|
173
177
|
}
|
174
178
|
|
175
179
|
UPB_INLINE void envoy_config_core_v3_Locality_set_region(envoy_config_core_v3_Locality *msg, upb_StringView value) {
|
176
|
-
const upb_MiniTableField field = {1,
|
177
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
180
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
181
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
178
182
|
}
|
179
183
|
UPB_INLINE void envoy_config_core_v3_Locality_set_zone(envoy_config_core_v3_Locality *msg, upb_StringView value) {
|
180
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
181
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
184
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
185
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
182
186
|
}
|
183
187
|
UPB_INLINE void envoy_config_core_v3_Locality_set_sub_zone(envoy_config_core_v3_Locality *msg, upb_StringView value) {
|
184
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
185
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
188
|
+
const upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
189
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
186
190
|
}
|
187
191
|
|
188
192
|
/* envoy.config.core.v3.BuildVersion */
|
@@ -193,7 +197,8 @@ UPB_INLINE envoy_config_core_v3_BuildVersion* envoy_config_core_v3_BuildVersion_
|
|
193
197
|
UPB_INLINE envoy_config_core_v3_BuildVersion* envoy_config_core_v3_BuildVersion_parse(const char* buf, size_t size, upb_Arena* arena) {
|
194
198
|
envoy_config_core_v3_BuildVersion* ret = envoy_config_core_v3_BuildVersion_new(arena);
|
195
199
|
if (!ret) return NULL;
|
196
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__BuildVersion_msg_init, NULL, 0, arena) !=
|
200
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__BuildVersion_msg_init, NULL, 0, arena) !=
|
201
|
+
kUpb_DecodeStatus_Ok) {
|
197
202
|
return NULL;
|
198
203
|
}
|
199
204
|
return ret;
|
@@ -203,57 +208,59 @@ UPB_INLINE envoy_config_core_v3_BuildVersion* envoy_config_core_v3_BuildVersion_
|
|
203
208
|
int options, upb_Arena* arena) {
|
204
209
|
envoy_config_core_v3_BuildVersion* ret = envoy_config_core_v3_BuildVersion_new(arena);
|
205
210
|
if (!ret) return NULL;
|
206
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__BuildVersion_msg_init, extreg, options,
|
207
|
-
|
211
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__BuildVersion_msg_init, extreg, options,
|
212
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
208
213
|
return NULL;
|
209
214
|
}
|
210
215
|
return ret;
|
211
216
|
}
|
212
217
|
UPB_INLINE char* envoy_config_core_v3_BuildVersion_serialize(const envoy_config_core_v3_BuildVersion* msg, upb_Arena* arena, size_t* len) {
|
213
218
|
char* ptr;
|
214
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__BuildVersion_msg_init, 0, arena, &ptr, len);
|
219
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__BuildVersion_msg_init, 0, arena, &ptr, len);
|
215
220
|
return ptr;
|
216
221
|
}
|
217
222
|
UPB_INLINE char* envoy_config_core_v3_BuildVersion_serialize_ex(const envoy_config_core_v3_BuildVersion* msg, int options,
|
218
223
|
upb_Arena* arena, size_t* len) {
|
219
224
|
char* ptr;
|
220
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__BuildVersion_msg_init, options, arena, &ptr, len);
|
225
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__BuildVersion_msg_init, options, arena, &ptr, len);
|
221
226
|
return ptr;
|
222
227
|
}
|
223
228
|
UPB_INLINE void envoy_config_core_v3_BuildVersion_clear_version(envoy_config_core_v3_BuildVersion* msg) {
|
224
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
225
|
-
|
229
|
+
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)};
|
230
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
226
231
|
}
|
227
232
|
UPB_INLINE const struct envoy_type_v3_SemanticVersion* envoy_config_core_v3_BuildVersion_version(const envoy_config_core_v3_BuildVersion* msg) {
|
228
233
|
const struct envoy_type_v3_SemanticVersion* default_val = NULL;
|
229
234
|
const struct envoy_type_v3_SemanticVersion* ret;
|
230
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
231
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
235
|
+
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)};
|
236
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
237
|
+
&default_val, &ret);
|
232
238
|
return ret;
|
233
239
|
}
|
234
240
|
UPB_INLINE bool envoy_config_core_v3_BuildVersion_has_version(const envoy_config_core_v3_BuildVersion* msg) {
|
235
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
236
|
-
return
|
241
|
+
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)};
|
242
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
237
243
|
}
|
238
244
|
UPB_INLINE void envoy_config_core_v3_BuildVersion_clear_metadata(envoy_config_core_v3_BuildVersion* msg) {
|
239
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
240
|
-
|
245
|
+
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)};
|
246
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
241
247
|
}
|
242
248
|
UPB_INLINE const struct google_protobuf_Struct* envoy_config_core_v3_BuildVersion_metadata(const envoy_config_core_v3_BuildVersion* msg) {
|
243
249
|
const struct google_protobuf_Struct* default_val = NULL;
|
244
250
|
const struct google_protobuf_Struct* ret;
|
245
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
246
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
251
|
+
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)};
|
252
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
253
|
+
&default_val, &ret);
|
247
254
|
return ret;
|
248
255
|
}
|
249
256
|
UPB_INLINE bool envoy_config_core_v3_BuildVersion_has_metadata(const envoy_config_core_v3_BuildVersion* msg) {
|
250
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
251
|
-
return
|
257
|
+
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)};
|
258
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
252
259
|
}
|
253
260
|
|
254
261
|
UPB_INLINE void envoy_config_core_v3_BuildVersion_set_version(envoy_config_core_v3_BuildVersion *msg, struct envoy_type_v3_SemanticVersion* value) {
|
255
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
256
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
262
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
263
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
257
264
|
}
|
258
265
|
UPB_INLINE struct envoy_type_v3_SemanticVersion* envoy_config_core_v3_BuildVersion_mutable_version(envoy_config_core_v3_BuildVersion* msg, upb_Arena* arena) {
|
259
266
|
struct envoy_type_v3_SemanticVersion* sub = (struct envoy_type_v3_SemanticVersion*)envoy_config_core_v3_BuildVersion_version(msg);
|
@@ -264,8 +271,8 @@ UPB_INLINE struct envoy_type_v3_SemanticVersion* envoy_config_core_v3_BuildVersi
|
|
264
271
|
return sub;
|
265
272
|
}
|
266
273
|
UPB_INLINE void envoy_config_core_v3_BuildVersion_set_metadata(envoy_config_core_v3_BuildVersion *msg, struct google_protobuf_Struct* value) {
|
267
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
268
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
274
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
275
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
269
276
|
}
|
270
277
|
UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_BuildVersion_mutable_metadata(envoy_config_core_v3_BuildVersion* msg, upb_Arena* arena) {
|
271
278
|
struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_core_v3_BuildVersion_metadata(msg);
|
@@ -284,7 +291,8 @@ UPB_INLINE envoy_config_core_v3_Extension* envoy_config_core_v3_Extension_new(up
|
|
284
291
|
UPB_INLINE envoy_config_core_v3_Extension* envoy_config_core_v3_Extension_parse(const char* buf, size_t size, upb_Arena* arena) {
|
285
292
|
envoy_config_core_v3_Extension* ret = envoy_config_core_v3_Extension_new(arena);
|
286
293
|
if (!ret) return NULL;
|
287
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Extension_msg_init, NULL, 0, arena) !=
|
294
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Extension_msg_init, NULL, 0, arena) !=
|
295
|
+
kUpb_DecodeStatus_Ok) {
|
288
296
|
return NULL;
|
289
297
|
}
|
290
298
|
return ret;
|
@@ -294,135 +302,135 @@ UPB_INLINE envoy_config_core_v3_Extension* envoy_config_core_v3_Extension_parse_
|
|
294
302
|
int options, upb_Arena* arena) {
|
295
303
|
envoy_config_core_v3_Extension* ret = envoy_config_core_v3_Extension_new(arena);
|
296
304
|
if (!ret) return NULL;
|
297
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Extension_msg_init, extreg, options,
|
298
|
-
|
305
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Extension_msg_init, extreg, options,
|
306
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
299
307
|
return NULL;
|
300
308
|
}
|
301
309
|
return ret;
|
302
310
|
}
|
303
311
|
UPB_INLINE char* envoy_config_core_v3_Extension_serialize(const envoy_config_core_v3_Extension* msg, upb_Arena* arena, size_t* len) {
|
304
312
|
char* ptr;
|
305
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__Extension_msg_init, 0, arena, &ptr, len);
|
313
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__Extension_msg_init, 0, arena, &ptr, len);
|
306
314
|
return ptr;
|
307
315
|
}
|
308
316
|
UPB_INLINE char* envoy_config_core_v3_Extension_serialize_ex(const envoy_config_core_v3_Extension* msg, int options,
|
309
317
|
upb_Arena* arena, size_t* len) {
|
310
318
|
char* ptr;
|
311
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__Extension_msg_init, options, arena, &ptr, len);
|
319
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__Extension_msg_init, options, arena, &ptr, len);
|
312
320
|
return ptr;
|
313
321
|
}
|
314
322
|
UPB_INLINE void envoy_config_core_v3_Extension_clear_name(envoy_config_core_v3_Extension* msg) {
|
315
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
316
|
-
|
323
|
+
const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
324
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
317
325
|
}
|
318
326
|
UPB_INLINE upb_StringView envoy_config_core_v3_Extension_name(const envoy_config_core_v3_Extension* msg) {
|
319
327
|
upb_StringView default_val = upb_StringView_FromString("");
|
320
328
|
upb_StringView ret;
|
321
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
322
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
329
|
+
const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
330
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
331
|
+
&default_val, &ret);
|
323
332
|
return ret;
|
324
333
|
}
|
325
334
|
UPB_INLINE void envoy_config_core_v3_Extension_clear_category(envoy_config_core_v3_Extension* msg) {
|
326
|
-
const upb_MiniTableField field = {2,
|
327
|
-
|
335
|
+
const upb_MiniTableField field = {2, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
336
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
328
337
|
}
|
329
338
|
UPB_INLINE upb_StringView envoy_config_core_v3_Extension_category(const envoy_config_core_v3_Extension* msg) {
|
330
339
|
upb_StringView default_val = upb_StringView_FromString("");
|
331
340
|
upb_StringView ret;
|
332
|
-
const upb_MiniTableField field = {2,
|
333
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
341
|
+
const upb_MiniTableField field = {2, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
342
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
343
|
+
&default_val, &ret);
|
334
344
|
return ret;
|
335
345
|
}
|
336
346
|
UPB_INLINE void envoy_config_core_v3_Extension_clear_type_descriptor(envoy_config_core_v3_Extension* msg) {
|
337
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
338
|
-
|
347
|
+
const upb_MiniTableField field = {3, UPB_SIZE(40, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
348
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
339
349
|
}
|
340
350
|
UPB_INLINE upb_StringView envoy_config_core_v3_Extension_type_descriptor(const envoy_config_core_v3_Extension* msg) {
|
341
351
|
upb_StringView default_val = upb_StringView_FromString("");
|
342
352
|
upb_StringView ret;
|
343
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
344
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
353
|
+
const upb_MiniTableField field = {3, UPB_SIZE(40, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
354
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
355
|
+
&default_val, &ret);
|
345
356
|
return ret;
|
346
357
|
}
|
347
358
|
UPB_INLINE void envoy_config_core_v3_Extension_clear_version(envoy_config_core_v3_Extension* msg) {
|
348
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
349
|
-
|
359
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
360
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
350
361
|
}
|
351
362
|
UPB_INLINE const envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Extension_version(const envoy_config_core_v3_Extension* msg) {
|
352
363
|
const envoy_config_core_v3_BuildVersion* default_val = NULL;
|
353
364
|
const envoy_config_core_v3_BuildVersion* ret;
|
354
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
355
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
365
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
366
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
367
|
+
&default_val, &ret);
|
356
368
|
return ret;
|
357
369
|
}
|
358
370
|
UPB_INLINE bool envoy_config_core_v3_Extension_has_version(const envoy_config_core_v3_Extension* msg) {
|
359
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
360
|
-
return
|
371
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
372
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
361
373
|
}
|
362
374
|
UPB_INLINE void envoy_config_core_v3_Extension_clear_disabled(envoy_config_core_v3_Extension* msg) {
|
363
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
364
|
-
|
375
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
376
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
365
377
|
}
|
366
378
|
UPB_INLINE bool envoy_config_core_v3_Extension_disabled(const envoy_config_core_v3_Extension* msg) {
|
367
379
|
bool default_val = false;
|
368
380
|
bool ret;
|
369
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
370
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
381
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
382
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
383
|
+
&default_val, &ret);
|
371
384
|
return ret;
|
372
385
|
}
|
373
386
|
UPB_INLINE void envoy_config_core_v3_Extension_clear_type_urls(envoy_config_core_v3_Extension* msg) {
|
374
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
375
|
-
|
387
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
388
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
376
389
|
}
|
377
390
|
UPB_INLINE upb_StringView const* envoy_config_core_v3_Extension_type_urls(const envoy_config_core_v3_Extension* msg, size_t* size) {
|
378
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
379
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
391
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
392
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
380
393
|
if (arr) {
|
381
|
-
if (size) *size = arr->size;
|
382
|
-
return (upb_StringView const*)
|
394
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
395
|
+
return (upb_StringView const*)upb_Array_DataPtr(arr);
|
383
396
|
} else {
|
384
397
|
if (size) *size = 0;
|
385
398
|
return NULL;
|
386
399
|
}
|
387
400
|
}
|
388
401
|
UPB_INLINE const upb_Array* _envoy_config_core_v3_Extension_type_urls_upb_array(const envoy_config_core_v3_Extension* msg, size_t* size) {
|
389
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
390
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
402
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
403
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
391
404
|
if (size) {
|
392
|
-
*size = arr ? arr->size : 0;
|
405
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
393
406
|
}
|
394
407
|
return arr;
|
395
408
|
}
|
396
|
-
UPB_INLINE upb_Array* _envoy_config_core_v3_Extension_type_urls_mutable_upb_array(
|
397
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
398
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
399
|
-
|
409
|
+
UPB_INLINE upb_Array* _envoy_config_core_v3_Extension_type_urls_mutable_upb_array(envoy_config_core_v3_Extension* msg, size_t* size, upb_Arena* arena) {
|
410
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
411
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
412
|
+
&field, arena);
|
400
413
|
if (size) {
|
401
|
-
*size = arr ? arr->size : 0;
|
414
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
402
415
|
}
|
403
416
|
return arr;
|
404
417
|
}
|
405
|
-
UPB_INLINE bool envoy_config_core_v3_Extension_has_type_urls(const envoy_config_core_v3_Extension* msg) {
|
406
|
-
size_t size;
|
407
|
-
envoy_config_core_v3_Extension_type_urls(msg, &size);
|
408
|
-
return size != 0;
|
409
|
-
}
|
410
418
|
|
411
419
|
UPB_INLINE void envoy_config_core_v3_Extension_set_name(envoy_config_core_v3_Extension *msg, upb_StringView value) {
|
412
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
413
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
420
|
+
const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
421
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
414
422
|
}
|
415
423
|
UPB_INLINE void envoy_config_core_v3_Extension_set_category(envoy_config_core_v3_Extension *msg, upb_StringView value) {
|
416
|
-
const upb_MiniTableField field = {2,
|
417
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
424
|
+
const upb_MiniTableField field = {2, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
425
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
418
426
|
}
|
419
427
|
UPB_INLINE void envoy_config_core_v3_Extension_set_type_descriptor(envoy_config_core_v3_Extension *msg, upb_StringView value) {
|
420
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
421
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
428
|
+
const upb_MiniTableField field = {3, UPB_SIZE(40, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
429
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
422
430
|
}
|
423
431
|
UPB_INLINE void envoy_config_core_v3_Extension_set_version(envoy_config_core_v3_Extension *msg, envoy_config_core_v3_BuildVersion* value) {
|
424
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
425
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
432
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
433
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
426
434
|
}
|
427
435
|
UPB_INLINE struct envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Extension_mutable_version(envoy_config_core_v3_Extension* msg, upb_Arena* arena) {
|
428
436
|
struct envoy_config_core_v3_BuildVersion* sub = (struct envoy_config_core_v3_BuildVersion*)envoy_config_core_v3_Extension_version(msg);
|
@@ -433,31 +441,35 @@ UPB_INLINE struct envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Extens
|
|
433
441
|
return sub;
|
434
442
|
}
|
435
443
|
UPB_INLINE void envoy_config_core_v3_Extension_set_disabled(envoy_config_core_v3_Extension *msg, bool value) {
|
436
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
437
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
444
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
445
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
438
446
|
}
|
439
447
|
UPB_INLINE upb_StringView* envoy_config_core_v3_Extension_mutable_type_urls(envoy_config_core_v3_Extension* msg, size_t* size) {
|
440
|
-
upb_MiniTableField field = {6, UPB_SIZE(
|
441
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
448
|
+
upb_MiniTableField field = {6, UPB_SIZE(20, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
449
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
442
450
|
if (arr) {
|
443
|
-
if (size) *size = arr->size;
|
444
|
-
return (upb_StringView*)
|
451
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
452
|
+
return (upb_StringView*)upb_Array_MutableDataPtr(arr);
|
445
453
|
} else {
|
446
454
|
if (size) *size = 0;
|
447
455
|
return NULL;
|
448
456
|
}
|
449
457
|
}
|
450
458
|
UPB_INLINE upb_StringView* envoy_config_core_v3_Extension_resize_type_urls(envoy_config_core_v3_Extension* msg, size_t size, upb_Arena* arena) {
|
451
|
-
upb_MiniTableField field = {6, UPB_SIZE(
|
452
|
-
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg,
|
459
|
+
upb_MiniTableField field = {6, UPB_SIZE(20, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
460
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
461
|
+
&field, size, arena);
|
453
462
|
}
|
454
463
|
UPB_INLINE bool envoy_config_core_v3_Extension_add_type_urls(envoy_config_core_v3_Extension* msg, upb_StringView val, upb_Arena* arena) {
|
455
|
-
upb_MiniTableField field = {6, UPB_SIZE(
|
456
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
457
|
-
|
464
|
+
upb_MiniTableField field = {6, UPB_SIZE(20, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
465
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
466
|
+
UPB_UPCAST(msg), &field, arena);
|
467
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
468
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
458
469
|
return false;
|
459
470
|
}
|
460
|
-
_upb_Array_Set
|
471
|
+
UPB_PRIVATE(_upb_Array_Set)
|
472
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
461
473
|
return true;
|
462
474
|
}
|
463
475
|
|
@@ -469,7 +481,8 @@ UPB_INLINE envoy_config_core_v3_Node* envoy_config_core_v3_Node_new(upb_Arena* a
|
|
469
481
|
UPB_INLINE envoy_config_core_v3_Node* envoy_config_core_v3_Node_parse(const char* buf, size_t size, upb_Arena* arena) {
|
470
482
|
envoy_config_core_v3_Node* ret = envoy_config_core_v3_Node_new(arena);
|
471
483
|
if (!ret) return NULL;
|
472
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Node_msg_init, NULL, 0, arena) !=
|
484
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Node_msg_init, NULL, 0, arena) !=
|
485
|
+
kUpb_DecodeStatus_Ok) {
|
473
486
|
return NULL;
|
474
487
|
}
|
475
488
|
return ret;
|
@@ -479,21 +492,21 @@ UPB_INLINE envoy_config_core_v3_Node* envoy_config_core_v3_Node_parse_ex(const c
|
|
479
492
|
int options, upb_Arena* arena) {
|
480
493
|
envoy_config_core_v3_Node* ret = envoy_config_core_v3_Node_new(arena);
|
481
494
|
if (!ret) return NULL;
|
482
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Node_msg_init, extreg, options,
|
483
|
-
|
495
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Node_msg_init, extreg, options,
|
496
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
484
497
|
return NULL;
|
485
498
|
}
|
486
499
|
return ret;
|
487
500
|
}
|
488
501
|
UPB_INLINE char* envoy_config_core_v3_Node_serialize(const envoy_config_core_v3_Node* msg, upb_Arena* arena, size_t* len) {
|
489
502
|
char* ptr;
|
490
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__Node_msg_init, 0, arena, &ptr, len);
|
503
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__Node_msg_init, 0, arena, &ptr, len);
|
491
504
|
return ptr;
|
492
505
|
}
|
493
506
|
UPB_INLINE char* envoy_config_core_v3_Node_serialize_ex(const envoy_config_core_v3_Node* msg, int options,
|
494
507
|
upb_Arena* arena, size_t* len) {
|
495
508
|
char* ptr;
|
496
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__Node_msg_init, options, arena, &ptr, len);
|
509
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__Node_msg_init, options, arena, &ptr, len);
|
497
510
|
return ptr;
|
498
511
|
}
|
499
512
|
typedef enum {
|
@@ -502,246 +515,247 @@ typedef enum {
|
|
502
515
|
envoy_config_core_v3_Node_user_agent_version_type_NOT_SET = 0
|
503
516
|
} envoy_config_core_v3_Node_user_agent_version_type_oneofcases;
|
504
517
|
UPB_INLINE envoy_config_core_v3_Node_user_agent_version_type_oneofcases envoy_config_core_v3_Node_user_agent_version_type_case(const envoy_config_core_v3_Node* msg) {
|
505
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
506
|
-
return (envoy_config_core_v3_Node_user_agent_version_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
518
|
+
const upb_MiniTableField field = {7, UPB_SIZE(40, 16), UPB_SIZE(-21, -13), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
519
|
+
return (envoy_config_core_v3_Node_user_agent_version_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
520
|
+
UPB_UPCAST(msg), &field);
|
507
521
|
}
|
508
522
|
UPB_INLINE void envoy_config_core_v3_Node_clear_id(envoy_config_core_v3_Node* msg) {
|
509
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
510
|
-
|
523
|
+
const upb_MiniTableField field = {1, UPB_SIZE(48, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
524
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
511
525
|
}
|
512
526
|
UPB_INLINE upb_StringView envoy_config_core_v3_Node_id(const envoy_config_core_v3_Node* msg) {
|
513
527
|
upb_StringView default_val = upb_StringView_FromString("");
|
514
528
|
upb_StringView ret;
|
515
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
516
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
529
|
+
const upb_MiniTableField field = {1, UPB_SIZE(48, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
530
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
531
|
+
&default_val, &ret);
|
517
532
|
return ret;
|
518
533
|
}
|
519
534
|
UPB_INLINE void envoy_config_core_v3_Node_clear_cluster(envoy_config_core_v3_Node* msg) {
|
520
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
521
|
-
|
535
|
+
const upb_MiniTableField field = {2, UPB_SIZE(56, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
536
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
522
537
|
}
|
523
538
|
UPB_INLINE upb_StringView envoy_config_core_v3_Node_cluster(const envoy_config_core_v3_Node* msg) {
|
524
539
|
upb_StringView default_val = upb_StringView_FromString("");
|
525
540
|
upb_StringView ret;
|
526
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
527
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
541
|
+
const upb_MiniTableField field = {2, UPB_SIZE(56, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
542
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
543
|
+
&default_val, &ret);
|
528
544
|
return ret;
|
529
545
|
}
|
530
546
|
UPB_INLINE void envoy_config_core_v3_Node_clear_metadata(envoy_config_core_v3_Node* msg) {
|
531
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
532
|
-
|
547
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 64), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
548
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
533
549
|
}
|
534
550
|
UPB_INLINE const struct google_protobuf_Struct* envoy_config_core_v3_Node_metadata(const envoy_config_core_v3_Node* msg) {
|
535
551
|
const struct google_protobuf_Struct* default_val = NULL;
|
536
552
|
const struct google_protobuf_Struct* ret;
|
537
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
538
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
553
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 64), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
554
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
555
|
+
&default_val, &ret);
|
539
556
|
return ret;
|
540
557
|
}
|
541
558
|
UPB_INLINE bool envoy_config_core_v3_Node_has_metadata(const envoy_config_core_v3_Node* msg) {
|
542
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
543
|
-
return
|
559
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 64), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
560
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
544
561
|
}
|
545
562
|
UPB_INLINE void envoy_config_core_v3_Node_clear_locality(envoy_config_core_v3_Node* msg) {
|
546
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
547
|
-
|
563
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
564
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
548
565
|
}
|
549
566
|
UPB_INLINE const envoy_config_core_v3_Locality* envoy_config_core_v3_Node_locality(const envoy_config_core_v3_Node* msg) {
|
550
567
|
const envoy_config_core_v3_Locality* default_val = NULL;
|
551
568
|
const envoy_config_core_v3_Locality* ret;
|
552
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
553
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
569
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
570
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
571
|
+
&default_val, &ret);
|
554
572
|
return ret;
|
555
573
|
}
|
556
574
|
UPB_INLINE bool envoy_config_core_v3_Node_has_locality(const envoy_config_core_v3_Node* msg) {
|
557
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
558
|
-
return
|
575
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
576
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
559
577
|
}
|
560
578
|
UPB_INLINE void envoy_config_core_v3_Node_clear_user_agent_name(envoy_config_core_v3_Node* msg) {
|
561
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
562
|
-
|
579
|
+
const upb_MiniTableField field = {6, UPB_SIZE(64, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
580
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
563
581
|
}
|
564
582
|
UPB_INLINE upb_StringView envoy_config_core_v3_Node_user_agent_name(const envoy_config_core_v3_Node* msg) {
|
565
583
|
upb_StringView default_val = upb_StringView_FromString("");
|
566
584
|
upb_StringView ret;
|
567
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
568
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
585
|
+
const upb_MiniTableField field = {6, UPB_SIZE(64, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
586
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
587
|
+
&default_val, &ret);
|
569
588
|
return ret;
|
570
589
|
}
|
571
590
|
UPB_INLINE void envoy_config_core_v3_Node_clear_user_agent_version(envoy_config_core_v3_Node* msg) {
|
572
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
573
|
-
|
591
|
+
const upb_MiniTableField field = {7, UPB_SIZE(40, 16), UPB_SIZE(-21, -13), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
592
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
574
593
|
}
|
575
594
|
UPB_INLINE upb_StringView envoy_config_core_v3_Node_user_agent_version(const envoy_config_core_v3_Node* msg) {
|
576
595
|
upb_StringView default_val = upb_StringView_FromString("");
|
577
596
|
upb_StringView ret;
|
578
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
579
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
597
|
+
const upb_MiniTableField field = {7, UPB_SIZE(40, 16), UPB_SIZE(-21, -13), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
598
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
599
|
+
&default_val, &ret);
|
580
600
|
return ret;
|
581
601
|
}
|
582
602
|
UPB_INLINE bool envoy_config_core_v3_Node_has_user_agent_version(const envoy_config_core_v3_Node* msg) {
|
583
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
584
|
-
return
|
603
|
+
const upb_MiniTableField field = {7, UPB_SIZE(40, 16), UPB_SIZE(-21, -13), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
604
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
585
605
|
}
|
586
606
|
UPB_INLINE void envoy_config_core_v3_Node_clear_user_agent_build_version(envoy_config_core_v3_Node* msg) {
|
587
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
588
|
-
|
607
|
+
const upb_MiniTableField field = {8, UPB_SIZE(40, 16), UPB_SIZE(-21, -13), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
608
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
589
609
|
}
|
590
610
|
UPB_INLINE const envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Node_user_agent_build_version(const envoy_config_core_v3_Node* msg) {
|
591
611
|
const envoy_config_core_v3_BuildVersion* default_val = NULL;
|
592
612
|
const envoy_config_core_v3_BuildVersion* ret;
|
593
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
594
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
613
|
+
const upb_MiniTableField field = {8, UPB_SIZE(40, 16), UPB_SIZE(-21, -13), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
614
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
615
|
+
&default_val, &ret);
|
595
616
|
return ret;
|
596
617
|
}
|
597
618
|
UPB_INLINE bool envoy_config_core_v3_Node_has_user_agent_build_version(const envoy_config_core_v3_Node* msg) {
|
598
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
599
|
-
return
|
619
|
+
const upb_MiniTableField field = {8, UPB_SIZE(40, 16), UPB_SIZE(-21, -13), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
620
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
600
621
|
}
|
601
622
|
UPB_INLINE void envoy_config_core_v3_Node_clear_extensions(envoy_config_core_v3_Node* msg) {
|
602
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
603
|
-
|
623
|
+
const upb_MiniTableField field = {9, UPB_SIZE(24, 96), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
624
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
604
625
|
}
|
605
626
|
UPB_INLINE const envoy_config_core_v3_Extension* const* envoy_config_core_v3_Node_extensions(const envoy_config_core_v3_Node* msg, size_t* size) {
|
606
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
607
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
627
|
+
const upb_MiniTableField field = {9, UPB_SIZE(24, 96), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
628
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
608
629
|
if (arr) {
|
609
|
-
if (size) *size = arr->size;
|
610
|
-
return (const envoy_config_core_v3_Extension* const*)
|
630
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
631
|
+
return (const envoy_config_core_v3_Extension* const*)upb_Array_DataPtr(arr);
|
611
632
|
} else {
|
612
633
|
if (size) *size = 0;
|
613
634
|
return NULL;
|
614
635
|
}
|
615
636
|
}
|
616
637
|
UPB_INLINE const upb_Array* _envoy_config_core_v3_Node_extensions_upb_array(const envoy_config_core_v3_Node* msg, size_t* size) {
|
617
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
618
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
638
|
+
const upb_MiniTableField field = {9, UPB_SIZE(24, 96), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
639
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
619
640
|
if (size) {
|
620
|
-
*size = arr ? arr->size : 0;
|
641
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
621
642
|
}
|
622
643
|
return arr;
|
623
644
|
}
|
624
|
-
UPB_INLINE upb_Array* _envoy_config_core_v3_Node_extensions_mutable_upb_array(
|
625
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
626
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
627
|
-
|
645
|
+
UPB_INLINE upb_Array* _envoy_config_core_v3_Node_extensions_mutable_upb_array(envoy_config_core_v3_Node* msg, size_t* size, upb_Arena* arena) {
|
646
|
+
const upb_MiniTableField field = {9, UPB_SIZE(24, 96), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
647
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
648
|
+
&field, arena);
|
628
649
|
if (size) {
|
629
|
-
*size = arr ? arr->size : 0;
|
650
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
630
651
|
}
|
631
652
|
return arr;
|
632
653
|
}
|
633
|
-
UPB_INLINE bool envoy_config_core_v3_Node_has_extensions(const envoy_config_core_v3_Node* msg) {
|
634
|
-
size_t size;
|
635
|
-
envoy_config_core_v3_Node_extensions(msg, &size);
|
636
|
-
return size != 0;
|
637
|
-
}
|
638
654
|
UPB_INLINE void envoy_config_core_v3_Node_clear_client_features(envoy_config_core_v3_Node* msg) {
|
639
|
-
const upb_MiniTableField field = {10, UPB_SIZE(
|
640
|
-
|
655
|
+
const upb_MiniTableField field = {10, UPB_SIZE(28, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
656
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
641
657
|
}
|
642
658
|
UPB_INLINE upb_StringView const* envoy_config_core_v3_Node_client_features(const envoy_config_core_v3_Node* msg, size_t* size) {
|
643
|
-
const upb_MiniTableField field = {10, UPB_SIZE(
|
644
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
659
|
+
const upb_MiniTableField field = {10, UPB_SIZE(28, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
660
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
645
661
|
if (arr) {
|
646
|
-
if (size) *size = arr->size;
|
647
|
-
return (upb_StringView const*)
|
662
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
663
|
+
return (upb_StringView const*)upb_Array_DataPtr(arr);
|
648
664
|
} else {
|
649
665
|
if (size) *size = 0;
|
650
666
|
return NULL;
|
651
667
|
}
|
652
668
|
}
|
653
669
|
UPB_INLINE const upb_Array* _envoy_config_core_v3_Node_client_features_upb_array(const envoy_config_core_v3_Node* msg, size_t* size) {
|
654
|
-
const upb_MiniTableField field = {10, UPB_SIZE(
|
655
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
670
|
+
const upb_MiniTableField field = {10, UPB_SIZE(28, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
671
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
656
672
|
if (size) {
|
657
|
-
*size = arr ? arr->size : 0;
|
673
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
658
674
|
}
|
659
675
|
return arr;
|
660
676
|
}
|
661
|
-
UPB_INLINE upb_Array* _envoy_config_core_v3_Node_client_features_mutable_upb_array(
|
662
|
-
const upb_MiniTableField field = {10, UPB_SIZE(
|
663
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
664
|
-
|
677
|
+
UPB_INLINE upb_Array* _envoy_config_core_v3_Node_client_features_mutable_upb_array(envoy_config_core_v3_Node* msg, size_t* size, upb_Arena* arena) {
|
678
|
+
const upb_MiniTableField field = {10, UPB_SIZE(28, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
679
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
680
|
+
&field, arena);
|
665
681
|
if (size) {
|
666
|
-
*size = arr ? arr->size : 0;
|
682
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
667
683
|
}
|
668
684
|
return arr;
|
669
685
|
}
|
670
|
-
UPB_INLINE bool envoy_config_core_v3_Node_has_client_features(const envoy_config_core_v3_Node* msg) {
|
671
|
-
size_t size;
|
672
|
-
envoy_config_core_v3_Node_client_features(msg, &size);
|
673
|
-
return size != 0;
|
674
|
-
}
|
675
686
|
UPB_INLINE void envoy_config_core_v3_Node_clear_listening_addresses(envoy_config_core_v3_Node* msg) {
|
676
|
-
const upb_MiniTableField field = {11, UPB_SIZE(
|
677
|
-
|
687
|
+
const upb_MiniTableField field = {11, UPB_SIZE(32, 112), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
688
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
678
689
|
}
|
679
690
|
UPB_INLINE const struct envoy_config_core_v3_Address* const* envoy_config_core_v3_Node_listening_addresses(const envoy_config_core_v3_Node* msg, size_t* size) {
|
680
|
-
const upb_MiniTableField field = {11, UPB_SIZE(
|
681
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
691
|
+
const upb_MiniTableField field = {11, UPB_SIZE(32, 112), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
692
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
682
693
|
if (arr) {
|
683
|
-
if (size) *size = arr->size;
|
684
|
-
return (const struct envoy_config_core_v3_Address* const*)
|
694
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
695
|
+
return (const struct envoy_config_core_v3_Address* const*)upb_Array_DataPtr(arr);
|
685
696
|
} else {
|
686
697
|
if (size) *size = 0;
|
687
698
|
return NULL;
|
688
699
|
}
|
689
700
|
}
|
690
701
|
UPB_INLINE const upb_Array* _envoy_config_core_v3_Node_listening_addresses_upb_array(const envoy_config_core_v3_Node* msg, size_t* size) {
|
691
|
-
const upb_MiniTableField field = {11, UPB_SIZE(
|
692
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
702
|
+
const upb_MiniTableField field = {11, UPB_SIZE(32, 112), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
703
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
693
704
|
if (size) {
|
694
|
-
*size = arr ? arr->size : 0;
|
705
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
695
706
|
}
|
696
707
|
return arr;
|
697
708
|
}
|
698
|
-
UPB_INLINE upb_Array* _envoy_config_core_v3_Node_listening_addresses_mutable_upb_array(
|
699
|
-
const upb_MiniTableField field = {11, UPB_SIZE(
|
700
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
701
|
-
|
709
|
+
UPB_INLINE upb_Array* _envoy_config_core_v3_Node_listening_addresses_mutable_upb_array(envoy_config_core_v3_Node* msg, size_t* size, upb_Arena* arena) {
|
710
|
+
const upb_MiniTableField field = {11, UPB_SIZE(32, 112), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
711
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
712
|
+
&field, arena);
|
702
713
|
if (size) {
|
703
|
-
*size = arr ? arr->size : 0;
|
714
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
704
715
|
}
|
705
716
|
return arr;
|
706
717
|
}
|
707
|
-
UPB_INLINE bool envoy_config_core_v3_Node_has_listening_addresses(const envoy_config_core_v3_Node* msg) {
|
708
|
-
size_t size;
|
709
|
-
envoy_config_core_v3_Node_listening_addresses(msg, &size);
|
710
|
-
return size != 0;
|
711
|
-
}
|
712
718
|
UPB_INLINE void envoy_config_core_v3_Node_clear_dynamic_parameters(envoy_config_core_v3_Node* msg) {
|
713
|
-
const upb_MiniTableField field = {12, UPB_SIZE(
|
714
|
-
|
719
|
+
const upb_MiniTableField field = {12, UPB_SIZE(36, 120), 0, 5, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
720
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
715
721
|
}
|
716
722
|
UPB_INLINE size_t envoy_config_core_v3_Node_dynamic_parameters_size(const envoy_config_core_v3_Node* msg) {
|
717
|
-
const upb_MiniTableField field = {12, UPB_SIZE(
|
718
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
723
|
+
const upb_MiniTableField field = {12, UPB_SIZE(36, 120), 0, 5, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
724
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
719
725
|
return map ? _upb_Map_Size(map) : 0;
|
720
726
|
}
|
721
727
|
UPB_INLINE bool envoy_config_core_v3_Node_dynamic_parameters_get(const envoy_config_core_v3_Node* msg, upb_StringView key, struct xds_core_v3_ContextParams** val) {
|
722
|
-
const upb_MiniTableField field = {12, UPB_SIZE(
|
723
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
728
|
+
const upb_MiniTableField field = {12, UPB_SIZE(36, 120), 0, 5, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
729
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
724
730
|
if (!map) return false;
|
725
731
|
return _upb_Map_Get(map, &key, 0, val, sizeof(*val));
|
726
732
|
}
|
727
733
|
UPB_INLINE const envoy_config_core_v3_Node_DynamicParametersEntry* envoy_config_core_v3_Node_dynamic_parameters_next(const envoy_config_core_v3_Node* msg, size_t* iter) {
|
728
|
-
const upb_MiniTableField field = {12, UPB_SIZE(
|
729
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
734
|
+
const upb_MiniTableField field = {12, UPB_SIZE(36, 120), 0, 5, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
735
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
730
736
|
if (!map) return NULL;
|
731
737
|
return (const envoy_config_core_v3_Node_DynamicParametersEntry*)_upb_map_next(map, iter);
|
732
738
|
}
|
739
|
+
UPB_INLINE const upb_Map* _envoy_config_core_v3_Node_dynamic_parameters_upb_map(envoy_config_core_v3_Node* msg) {
|
740
|
+
const upb_MiniTableField field = {12, UPB_SIZE(36, 120), 0, 5, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
741
|
+
return upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
742
|
+
}
|
743
|
+
UPB_INLINE upb_Map* _envoy_config_core_v3_Node_dynamic_parameters_mutable_upb_map(envoy_config_core_v3_Node* msg, upb_Arena* a) {
|
744
|
+
const upb_MiniTableField field = {12, UPB_SIZE(36, 120), 0, 5, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
745
|
+
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field, 0, sizeof(struct xds_core_v3_ContextParams*), a);
|
746
|
+
}
|
733
747
|
|
734
748
|
UPB_INLINE void envoy_config_core_v3_Node_set_id(envoy_config_core_v3_Node *msg, upb_StringView value) {
|
735
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
736
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
749
|
+
const upb_MiniTableField field = {1, UPB_SIZE(48, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
750
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
737
751
|
}
|
738
752
|
UPB_INLINE void envoy_config_core_v3_Node_set_cluster(envoy_config_core_v3_Node *msg, upb_StringView value) {
|
739
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
740
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
753
|
+
const upb_MiniTableField field = {2, UPB_SIZE(56, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
754
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
741
755
|
}
|
742
756
|
UPB_INLINE void envoy_config_core_v3_Node_set_metadata(envoy_config_core_v3_Node *msg, struct google_protobuf_Struct* value) {
|
743
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
744
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
757
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 64), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
758
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
745
759
|
}
|
746
760
|
UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_Node_mutable_metadata(envoy_config_core_v3_Node* msg, upb_Arena* arena) {
|
747
761
|
struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_core_v3_Node_metadata(msg);
|
@@ -752,8 +766,8 @@ UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_Node_mutable_meta
|
|
752
766
|
return sub;
|
753
767
|
}
|
754
768
|
UPB_INLINE void envoy_config_core_v3_Node_set_locality(envoy_config_core_v3_Node *msg, envoy_config_core_v3_Locality* value) {
|
755
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
756
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
769
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
770
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
757
771
|
}
|
758
772
|
UPB_INLINE struct envoy_config_core_v3_Locality* envoy_config_core_v3_Node_mutable_locality(envoy_config_core_v3_Node* msg, upb_Arena* arena) {
|
759
773
|
struct envoy_config_core_v3_Locality* sub = (struct envoy_config_core_v3_Locality*)envoy_config_core_v3_Node_locality(msg);
|
@@ -764,16 +778,16 @@ UPB_INLINE struct envoy_config_core_v3_Locality* envoy_config_core_v3_Node_mutab
|
|
764
778
|
return sub;
|
765
779
|
}
|
766
780
|
UPB_INLINE void envoy_config_core_v3_Node_set_user_agent_name(envoy_config_core_v3_Node *msg, upb_StringView value) {
|
767
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
768
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
781
|
+
const upb_MiniTableField field = {6, UPB_SIZE(64, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
782
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
769
783
|
}
|
770
784
|
UPB_INLINE void envoy_config_core_v3_Node_set_user_agent_version(envoy_config_core_v3_Node *msg, upb_StringView value) {
|
771
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
772
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
785
|
+
const upb_MiniTableField field = {7, UPB_SIZE(40, 16), UPB_SIZE(-21, -13), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
786
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
773
787
|
}
|
774
788
|
UPB_INLINE void envoy_config_core_v3_Node_set_user_agent_build_version(envoy_config_core_v3_Node *msg, envoy_config_core_v3_BuildVersion* value) {
|
775
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
776
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
789
|
+
const upb_MiniTableField field = {8, UPB_SIZE(40, 16), UPB_SIZE(-21, -13), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
790
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
777
791
|
}
|
778
792
|
UPB_INLINE struct envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Node_mutable_user_agent_build_version(envoy_config_core_v3_Node* msg, upb_Arena* arena) {
|
779
793
|
struct envoy_config_core_v3_BuildVersion* sub = (struct envoy_config_core_v3_BuildVersion*)envoy_config_core_v3_Node_user_agent_build_version(msg);
|
@@ -784,102 +798,115 @@ UPB_INLINE struct envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Node_m
|
|
784
798
|
return sub;
|
785
799
|
}
|
786
800
|
UPB_INLINE envoy_config_core_v3_Extension** envoy_config_core_v3_Node_mutable_extensions(envoy_config_core_v3_Node* msg, size_t* size) {
|
787
|
-
upb_MiniTableField field = {9, UPB_SIZE(
|
788
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
801
|
+
upb_MiniTableField field = {9, UPB_SIZE(24, 96), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
802
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
789
803
|
if (arr) {
|
790
|
-
if (size) *size = arr->size;
|
791
|
-
return (envoy_config_core_v3_Extension**)
|
804
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
805
|
+
return (envoy_config_core_v3_Extension**)upb_Array_MutableDataPtr(arr);
|
792
806
|
} else {
|
793
807
|
if (size) *size = 0;
|
794
808
|
return NULL;
|
795
809
|
}
|
796
810
|
}
|
797
811
|
UPB_INLINE envoy_config_core_v3_Extension** envoy_config_core_v3_Node_resize_extensions(envoy_config_core_v3_Node* msg, size_t size, upb_Arena* arena) {
|
798
|
-
upb_MiniTableField field = {9, UPB_SIZE(
|
799
|
-
return (envoy_config_core_v3_Extension**)upb_Message_ResizeArrayUninitialized(msg,
|
812
|
+
upb_MiniTableField field = {9, UPB_SIZE(24, 96), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
813
|
+
return (envoy_config_core_v3_Extension**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
814
|
+
&field, size, arena);
|
800
815
|
}
|
801
816
|
UPB_INLINE struct envoy_config_core_v3_Extension* envoy_config_core_v3_Node_add_extensions(envoy_config_core_v3_Node* msg, upb_Arena* arena) {
|
802
|
-
upb_MiniTableField field = {9, UPB_SIZE(
|
803
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
804
|
-
|
817
|
+
upb_MiniTableField field = {9, UPB_SIZE(24, 96), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
818
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
819
|
+
UPB_UPCAST(msg), &field, arena);
|
820
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
821
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
805
822
|
return NULL;
|
806
823
|
}
|
807
824
|
struct envoy_config_core_v3_Extension* sub = (struct envoy_config_core_v3_Extension*)_upb_Message_New(&envoy__config__core__v3__Extension_msg_init, arena);
|
808
825
|
if (!arr || !sub) return NULL;
|
809
|
-
_upb_Array_Set
|
826
|
+
UPB_PRIVATE(_upb_Array_Set)
|
827
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
810
828
|
return sub;
|
811
829
|
}
|
812
830
|
UPB_INLINE upb_StringView* envoy_config_core_v3_Node_mutable_client_features(envoy_config_core_v3_Node* msg, size_t* size) {
|
813
|
-
upb_MiniTableField field = {10, UPB_SIZE(
|
814
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
831
|
+
upb_MiniTableField field = {10, UPB_SIZE(28, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
832
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
815
833
|
if (arr) {
|
816
|
-
if (size) *size = arr->size;
|
817
|
-
return (upb_StringView*)
|
834
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
835
|
+
return (upb_StringView*)upb_Array_MutableDataPtr(arr);
|
818
836
|
} else {
|
819
837
|
if (size) *size = 0;
|
820
838
|
return NULL;
|
821
839
|
}
|
822
840
|
}
|
823
841
|
UPB_INLINE upb_StringView* envoy_config_core_v3_Node_resize_client_features(envoy_config_core_v3_Node* msg, size_t size, upb_Arena* arena) {
|
824
|
-
upb_MiniTableField field = {10, UPB_SIZE(
|
825
|
-
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg,
|
842
|
+
upb_MiniTableField field = {10, UPB_SIZE(28, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
843
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
844
|
+
&field, size, arena);
|
826
845
|
}
|
827
846
|
UPB_INLINE bool envoy_config_core_v3_Node_add_client_features(envoy_config_core_v3_Node* msg, upb_StringView val, upb_Arena* arena) {
|
828
|
-
upb_MiniTableField field = {10, UPB_SIZE(
|
829
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
830
|
-
|
847
|
+
upb_MiniTableField field = {10, UPB_SIZE(28, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
848
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
849
|
+
UPB_UPCAST(msg), &field, arena);
|
850
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
851
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
831
852
|
return false;
|
832
853
|
}
|
833
|
-
_upb_Array_Set
|
854
|
+
UPB_PRIVATE(_upb_Array_Set)
|
855
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
834
856
|
return true;
|
835
857
|
}
|
836
858
|
UPB_INLINE struct envoy_config_core_v3_Address** envoy_config_core_v3_Node_mutable_listening_addresses(envoy_config_core_v3_Node* msg, size_t* size) {
|
837
|
-
upb_MiniTableField field = {11, UPB_SIZE(
|
838
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
859
|
+
upb_MiniTableField field = {11, UPB_SIZE(32, 112), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
860
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
839
861
|
if (arr) {
|
840
|
-
if (size) *size = arr->size;
|
841
|
-
return (struct envoy_config_core_v3_Address**)
|
862
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
863
|
+
return (struct envoy_config_core_v3_Address**)upb_Array_MutableDataPtr(arr);
|
842
864
|
} else {
|
843
865
|
if (size) *size = 0;
|
844
866
|
return NULL;
|
845
867
|
}
|
846
868
|
}
|
847
869
|
UPB_INLINE struct envoy_config_core_v3_Address** envoy_config_core_v3_Node_resize_listening_addresses(envoy_config_core_v3_Node* msg, size_t size, upb_Arena* arena) {
|
848
|
-
upb_MiniTableField field = {11, UPB_SIZE(
|
849
|
-
return (struct envoy_config_core_v3_Address**)upb_Message_ResizeArrayUninitialized(msg,
|
870
|
+
upb_MiniTableField field = {11, UPB_SIZE(32, 112), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
871
|
+
return (struct envoy_config_core_v3_Address**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
872
|
+
&field, size, arena);
|
850
873
|
}
|
851
874
|
UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_core_v3_Node_add_listening_addresses(envoy_config_core_v3_Node* msg, upb_Arena* arena) {
|
852
|
-
upb_MiniTableField field = {11, UPB_SIZE(
|
853
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
854
|
-
|
875
|
+
upb_MiniTableField field = {11, UPB_SIZE(32, 112), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
876
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
877
|
+
UPB_UPCAST(msg), &field, arena);
|
878
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
879
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
855
880
|
return NULL;
|
856
881
|
}
|
857
882
|
struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena);
|
858
883
|
if (!arr || !sub) return NULL;
|
859
|
-
_upb_Array_Set
|
884
|
+
UPB_PRIVATE(_upb_Array_Set)
|
885
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
860
886
|
return sub;
|
861
887
|
}
|
862
888
|
UPB_INLINE void envoy_config_core_v3_Node_dynamic_parameters_clear(envoy_config_core_v3_Node* msg) {
|
863
|
-
const upb_MiniTableField field = {12, UPB_SIZE(
|
864
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
889
|
+
const upb_MiniTableField field = {12, UPB_SIZE(36, 120), 0, 5, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
890
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
865
891
|
if (!map) return;
|
866
892
|
_upb_Map_Clear(map);
|
867
893
|
}
|
868
894
|
UPB_INLINE bool envoy_config_core_v3_Node_dynamic_parameters_set(envoy_config_core_v3_Node* msg, upb_StringView key, struct xds_core_v3_ContextParams* val, upb_Arena* a) {
|
869
|
-
const upb_MiniTableField field = {12, UPB_SIZE(
|
870
|
-
upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg
|
895
|
+
const upb_MiniTableField field = {12, UPB_SIZE(36, 120), 0, 5, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
896
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg),
|
897
|
+
&field, 0, sizeof(val), a);
|
871
898
|
return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) !=
|
872
899
|
kUpb_MapInsertStatus_OutOfMemory;
|
873
900
|
}
|
874
901
|
UPB_INLINE bool envoy_config_core_v3_Node_dynamic_parameters_delete(envoy_config_core_v3_Node* msg, upb_StringView key) {
|
875
|
-
const upb_MiniTableField field = {12, UPB_SIZE(
|
876
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
902
|
+
const upb_MiniTableField field = {12, UPB_SIZE(36, 120), 0, 5, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
903
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
877
904
|
if (!map) return false;
|
878
905
|
return _upb_Map_Delete(map, &key, 0, NULL);
|
879
906
|
}
|
880
907
|
UPB_INLINE envoy_config_core_v3_Node_DynamicParametersEntry* envoy_config_core_v3_Node_dynamic_parameters_nextmutable(envoy_config_core_v3_Node* msg, size_t* iter) {
|
881
|
-
const upb_MiniTableField field = {12, UPB_SIZE(
|
882
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
908
|
+
const upb_MiniTableField field = {12, UPB_SIZE(36, 120), 0, 5, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
909
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
883
910
|
if (!map) return NULL;
|
884
911
|
return (envoy_config_core_v3_Node_DynamicParametersEntry*)_upb_map_next(map, iter);
|
885
912
|
}
|
@@ -897,8 +924,8 @@ UPB_INLINE const struct xds_core_v3_ContextParams* envoy_config_core_v3_Node_Dyn
|
|
897
924
|
return ret;
|
898
925
|
}
|
899
926
|
UPB_INLINE bool envoy_config_core_v3_Node_DynamicParametersEntry_has_value(const envoy_config_core_v3_Node_DynamicParametersEntry* msg) {
|
900
|
-
const upb_MiniTableField field = {2,
|
901
|
-
return
|
927
|
+
const upb_MiniTableField field = {2, 32, 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
928
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
902
929
|
}
|
903
930
|
|
904
931
|
UPB_INLINE void envoy_config_core_v3_Node_DynamicParametersEntry_set_value(envoy_config_core_v3_Node_DynamicParametersEntry *msg, struct xds_core_v3_ContextParams* value) {
|
@@ -913,7 +940,8 @@ UPB_INLINE envoy_config_core_v3_Metadata* envoy_config_core_v3_Metadata_new(upb_
|
|
913
940
|
UPB_INLINE envoy_config_core_v3_Metadata* envoy_config_core_v3_Metadata_parse(const char* buf, size_t size, upb_Arena* arena) {
|
914
941
|
envoy_config_core_v3_Metadata* ret = envoy_config_core_v3_Metadata_new(arena);
|
915
942
|
if (!ret) return NULL;
|
916
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Metadata_msg_init, NULL, 0, arena) !=
|
943
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Metadata_msg_init, NULL, 0, arena) !=
|
944
|
+
kUpb_DecodeStatus_Ok) {
|
917
945
|
return NULL;
|
918
946
|
}
|
919
947
|
return ret;
|
@@ -923,111 +951,129 @@ UPB_INLINE envoy_config_core_v3_Metadata* envoy_config_core_v3_Metadata_parse_ex
|
|
923
951
|
int options, upb_Arena* arena) {
|
924
952
|
envoy_config_core_v3_Metadata* ret = envoy_config_core_v3_Metadata_new(arena);
|
925
953
|
if (!ret) return NULL;
|
926
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Metadata_msg_init, extreg, options,
|
927
|
-
|
954
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Metadata_msg_init, extreg, options,
|
955
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
928
956
|
return NULL;
|
929
957
|
}
|
930
958
|
return ret;
|
931
959
|
}
|
932
960
|
UPB_INLINE char* envoy_config_core_v3_Metadata_serialize(const envoy_config_core_v3_Metadata* msg, upb_Arena* arena, size_t* len) {
|
933
961
|
char* ptr;
|
934
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__Metadata_msg_init, 0, arena, &ptr, len);
|
962
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__Metadata_msg_init, 0, arena, &ptr, len);
|
935
963
|
return ptr;
|
936
964
|
}
|
937
965
|
UPB_INLINE char* envoy_config_core_v3_Metadata_serialize_ex(const envoy_config_core_v3_Metadata* msg, int options,
|
938
966
|
upb_Arena* arena, size_t* len) {
|
939
967
|
char* ptr;
|
940
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__Metadata_msg_init, options, arena, &ptr, len);
|
968
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__Metadata_msg_init, options, arena, &ptr, len);
|
941
969
|
return ptr;
|
942
970
|
}
|
943
971
|
UPB_INLINE void envoy_config_core_v3_Metadata_clear_filter_metadata(envoy_config_core_v3_Metadata* msg) {
|
944
|
-
const upb_MiniTableField field = {1,
|
945
|
-
|
972
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
973
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
946
974
|
}
|
947
975
|
UPB_INLINE size_t envoy_config_core_v3_Metadata_filter_metadata_size(const envoy_config_core_v3_Metadata* msg) {
|
948
|
-
const upb_MiniTableField field = {1,
|
949
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
976
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
977
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
950
978
|
return map ? _upb_Map_Size(map) : 0;
|
951
979
|
}
|
952
980
|
UPB_INLINE bool envoy_config_core_v3_Metadata_filter_metadata_get(const envoy_config_core_v3_Metadata* msg, upb_StringView key, struct google_protobuf_Struct** val) {
|
953
|
-
const upb_MiniTableField field = {1,
|
954
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
981
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
982
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
955
983
|
if (!map) return false;
|
956
984
|
return _upb_Map_Get(map, &key, 0, val, sizeof(*val));
|
957
985
|
}
|
958
986
|
UPB_INLINE const envoy_config_core_v3_Metadata_FilterMetadataEntry* envoy_config_core_v3_Metadata_filter_metadata_next(const envoy_config_core_v3_Metadata* msg, size_t* iter) {
|
959
|
-
const upb_MiniTableField field = {1,
|
960
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
987
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
988
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
961
989
|
if (!map) return NULL;
|
962
990
|
return (const envoy_config_core_v3_Metadata_FilterMetadataEntry*)_upb_map_next(map, iter);
|
963
991
|
}
|
992
|
+
UPB_INLINE const upb_Map* _envoy_config_core_v3_Metadata_filter_metadata_upb_map(envoy_config_core_v3_Metadata* msg) {
|
993
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
994
|
+
return upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
995
|
+
}
|
996
|
+
UPB_INLINE upb_Map* _envoy_config_core_v3_Metadata_filter_metadata_mutable_upb_map(envoy_config_core_v3_Metadata* msg, upb_Arena* a) {
|
997
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
998
|
+
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field, 0, sizeof(struct google_protobuf_Struct*), a);
|
999
|
+
}
|
964
1000
|
UPB_INLINE void envoy_config_core_v3_Metadata_clear_typed_filter_metadata(envoy_config_core_v3_Metadata* msg) {
|
965
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
966
|
-
|
1001
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1002
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
967
1003
|
}
|
968
1004
|
UPB_INLINE size_t envoy_config_core_v3_Metadata_typed_filter_metadata_size(const envoy_config_core_v3_Metadata* msg) {
|
969
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
970
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
1005
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1006
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
971
1007
|
return map ? _upb_Map_Size(map) : 0;
|
972
1008
|
}
|
973
1009
|
UPB_INLINE bool envoy_config_core_v3_Metadata_typed_filter_metadata_get(const envoy_config_core_v3_Metadata* msg, upb_StringView key, struct google_protobuf_Any** val) {
|
974
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
975
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
1010
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1011
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
976
1012
|
if (!map) return false;
|
977
1013
|
return _upb_Map_Get(map, &key, 0, val, sizeof(*val));
|
978
1014
|
}
|
979
1015
|
UPB_INLINE const envoy_config_core_v3_Metadata_TypedFilterMetadataEntry* envoy_config_core_v3_Metadata_typed_filter_metadata_next(const envoy_config_core_v3_Metadata* msg, size_t* iter) {
|
980
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
981
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
1016
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1017
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
982
1018
|
if (!map) return NULL;
|
983
1019
|
return (const envoy_config_core_v3_Metadata_TypedFilterMetadataEntry*)_upb_map_next(map, iter);
|
984
1020
|
}
|
1021
|
+
UPB_INLINE const upb_Map* _envoy_config_core_v3_Metadata_typed_filter_metadata_upb_map(envoy_config_core_v3_Metadata* msg) {
|
1022
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1023
|
+
return upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1024
|
+
}
|
1025
|
+
UPB_INLINE upb_Map* _envoy_config_core_v3_Metadata_typed_filter_metadata_mutable_upb_map(envoy_config_core_v3_Metadata* msg, upb_Arena* a) {
|
1026
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1027
|
+
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field, 0, sizeof(struct google_protobuf_Any*), a);
|
1028
|
+
}
|
985
1029
|
|
986
1030
|
UPB_INLINE void envoy_config_core_v3_Metadata_filter_metadata_clear(envoy_config_core_v3_Metadata* msg) {
|
987
|
-
const upb_MiniTableField field = {1,
|
988
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
1031
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1032
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
989
1033
|
if (!map) return;
|
990
1034
|
_upb_Map_Clear(map);
|
991
1035
|
}
|
992
1036
|
UPB_INLINE bool envoy_config_core_v3_Metadata_filter_metadata_set(envoy_config_core_v3_Metadata* msg, upb_StringView key, struct google_protobuf_Struct* val, upb_Arena* a) {
|
993
|
-
const upb_MiniTableField field = {1,
|
994
|
-
upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg
|
1037
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1038
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg),
|
1039
|
+
&field, 0, sizeof(val), a);
|
995
1040
|
return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) !=
|
996
1041
|
kUpb_MapInsertStatus_OutOfMemory;
|
997
1042
|
}
|
998
1043
|
UPB_INLINE bool envoy_config_core_v3_Metadata_filter_metadata_delete(envoy_config_core_v3_Metadata* msg, upb_StringView key) {
|
999
|
-
const upb_MiniTableField field = {1,
|
1000
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
1044
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1045
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1001
1046
|
if (!map) return false;
|
1002
1047
|
return _upb_Map_Delete(map, &key, 0, NULL);
|
1003
1048
|
}
|
1004
1049
|
UPB_INLINE envoy_config_core_v3_Metadata_FilterMetadataEntry* envoy_config_core_v3_Metadata_filter_metadata_nextmutable(envoy_config_core_v3_Metadata* msg, size_t* iter) {
|
1005
|
-
const upb_MiniTableField field = {1,
|
1006
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
1050
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1051
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1007
1052
|
if (!map) return NULL;
|
1008
1053
|
return (envoy_config_core_v3_Metadata_FilterMetadataEntry*)_upb_map_next(map, iter);
|
1009
1054
|
}
|
1010
1055
|
UPB_INLINE void envoy_config_core_v3_Metadata_typed_filter_metadata_clear(envoy_config_core_v3_Metadata* msg) {
|
1011
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1012
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
1056
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1057
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1013
1058
|
if (!map) return;
|
1014
1059
|
_upb_Map_Clear(map);
|
1015
1060
|
}
|
1016
1061
|
UPB_INLINE bool envoy_config_core_v3_Metadata_typed_filter_metadata_set(envoy_config_core_v3_Metadata* msg, upb_StringView key, struct google_protobuf_Any* val, upb_Arena* a) {
|
1017
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1018
|
-
upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg
|
1062
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1063
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg),
|
1064
|
+
&field, 0, sizeof(val), a);
|
1019
1065
|
return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) !=
|
1020
1066
|
kUpb_MapInsertStatus_OutOfMemory;
|
1021
1067
|
}
|
1022
1068
|
UPB_INLINE bool envoy_config_core_v3_Metadata_typed_filter_metadata_delete(envoy_config_core_v3_Metadata* msg, upb_StringView key) {
|
1023
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1024
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
1069
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1070
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1025
1071
|
if (!map) return false;
|
1026
1072
|
return _upb_Map_Delete(map, &key, 0, NULL);
|
1027
1073
|
}
|
1028
1074
|
UPB_INLINE envoy_config_core_v3_Metadata_TypedFilterMetadataEntry* envoy_config_core_v3_Metadata_typed_filter_metadata_nextmutable(envoy_config_core_v3_Metadata* msg, size_t* iter) {
|
1029
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1030
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
1075
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1076
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1031
1077
|
if (!map) return NULL;
|
1032
1078
|
return (envoy_config_core_v3_Metadata_TypedFilterMetadataEntry*)_upb_map_next(map, iter);
|
1033
1079
|
}
|
@@ -1045,8 +1091,8 @@ UPB_INLINE const struct google_protobuf_Struct* envoy_config_core_v3_Metadata_Fi
|
|
1045
1091
|
return ret;
|
1046
1092
|
}
|
1047
1093
|
UPB_INLINE bool envoy_config_core_v3_Metadata_FilterMetadataEntry_has_value(const envoy_config_core_v3_Metadata_FilterMetadataEntry* msg) {
|
1048
|
-
const upb_MiniTableField field = {2,
|
1049
|
-
return
|
1094
|
+
const upb_MiniTableField field = {2, 32, 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1095
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1050
1096
|
}
|
1051
1097
|
|
1052
1098
|
UPB_INLINE void envoy_config_core_v3_Metadata_FilterMetadataEntry_set_value(envoy_config_core_v3_Metadata_FilterMetadataEntry *msg, struct google_protobuf_Struct* value) {
|
@@ -1066,8 +1112,8 @@ UPB_INLINE const struct google_protobuf_Any* envoy_config_core_v3_Metadata_Typed
|
|
1066
1112
|
return ret;
|
1067
1113
|
}
|
1068
1114
|
UPB_INLINE bool envoy_config_core_v3_Metadata_TypedFilterMetadataEntry_has_value(const envoy_config_core_v3_Metadata_TypedFilterMetadataEntry* msg) {
|
1069
|
-
const upb_MiniTableField field = {2,
|
1070
|
-
return
|
1115
|
+
const upb_MiniTableField field = {2, 32, 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1116
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1071
1117
|
}
|
1072
1118
|
|
1073
1119
|
UPB_INLINE void envoy_config_core_v3_Metadata_TypedFilterMetadataEntry_set_value(envoy_config_core_v3_Metadata_TypedFilterMetadataEntry *msg, struct google_protobuf_Any* value) {
|
@@ -1082,7 +1128,8 @@ UPB_INLINE envoy_config_core_v3_RuntimeUInt32* envoy_config_core_v3_RuntimeUInt3
|
|
1082
1128
|
UPB_INLINE envoy_config_core_v3_RuntimeUInt32* envoy_config_core_v3_RuntimeUInt32_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1083
1129
|
envoy_config_core_v3_RuntimeUInt32* ret = envoy_config_core_v3_RuntimeUInt32_new(arena);
|
1084
1130
|
if (!ret) return NULL;
|
1085
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimeUInt32_msg_init, NULL, 0, arena) !=
|
1131
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeUInt32_msg_init, NULL, 0, arena) !=
|
1132
|
+
kUpb_DecodeStatus_Ok) {
|
1086
1133
|
return NULL;
|
1087
1134
|
}
|
1088
1135
|
return ret;
|
@@ -1092,53 +1139,55 @@ UPB_INLINE envoy_config_core_v3_RuntimeUInt32* envoy_config_core_v3_RuntimeUInt3
|
|
1092
1139
|
int options, upb_Arena* arena) {
|
1093
1140
|
envoy_config_core_v3_RuntimeUInt32* ret = envoy_config_core_v3_RuntimeUInt32_new(arena);
|
1094
1141
|
if (!ret) return NULL;
|
1095
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimeUInt32_msg_init, extreg, options,
|
1096
|
-
|
1142
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeUInt32_msg_init, extreg, options,
|
1143
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1097
1144
|
return NULL;
|
1098
1145
|
}
|
1099
1146
|
return ret;
|
1100
1147
|
}
|
1101
1148
|
UPB_INLINE char* envoy_config_core_v3_RuntimeUInt32_serialize(const envoy_config_core_v3_RuntimeUInt32* msg, upb_Arena* arena, size_t* len) {
|
1102
1149
|
char* ptr;
|
1103
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__RuntimeUInt32_msg_init, 0, arena, &ptr, len);
|
1150
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimeUInt32_msg_init, 0, arena, &ptr, len);
|
1104
1151
|
return ptr;
|
1105
1152
|
}
|
1106
1153
|
UPB_INLINE char* envoy_config_core_v3_RuntimeUInt32_serialize_ex(const envoy_config_core_v3_RuntimeUInt32* msg, int options,
|
1107
1154
|
upb_Arena* arena, size_t* len) {
|
1108
1155
|
char* ptr;
|
1109
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__RuntimeUInt32_msg_init, options, arena, &ptr, len);
|
1156
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimeUInt32_msg_init, options, arena, &ptr, len);
|
1110
1157
|
return ptr;
|
1111
1158
|
}
|
1112
1159
|
UPB_INLINE void envoy_config_core_v3_RuntimeUInt32_clear_default_value(envoy_config_core_v3_RuntimeUInt32* msg) {
|
1113
|
-
const upb_MiniTableField field = {2,
|
1114
|
-
|
1160
|
+
const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1161
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1115
1162
|
}
|
1116
1163
|
UPB_INLINE uint32_t envoy_config_core_v3_RuntimeUInt32_default_value(const envoy_config_core_v3_RuntimeUInt32* msg) {
|
1117
1164
|
uint32_t default_val = (uint32_t)0u;
|
1118
1165
|
uint32_t ret;
|
1119
|
-
const upb_MiniTableField field = {2,
|
1120
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1166
|
+
const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1167
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1168
|
+
&default_val, &ret);
|
1121
1169
|
return ret;
|
1122
1170
|
}
|
1123
1171
|
UPB_INLINE void envoy_config_core_v3_RuntimeUInt32_clear_runtime_key(envoy_config_core_v3_RuntimeUInt32* msg) {
|
1124
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1125
|
-
|
1172
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1173
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1126
1174
|
}
|
1127
1175
|
UPB_INLINE upb_StringView envoy_config_core_v3_RuntimeUInt32_runtime_key(const envoy_config_core_v3_RuntimeUInt32* msg) {
|
1128
1176
|
upb_StringView default_val = upb_StringView_FromString("");
|
1129
1177
|
upb_StringView ret;
|
1130
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1131
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1178
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1179
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1180
|
+
&default_val, &ret);
|
1132
1181
|
return ret;
|
1133
1182
|
}
|
1134
1183
|
|
1135
1184
|
UPB_INLINE void envoy_config_core_v3_RuntimeUInt32_set_default_value(envoy_config_core_v3_RuntimeUInt32 *msg, uint32_t value) {
|
1136
|
-
const upb_MiniTableField field = {2,
|
1137
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1185
|
+
const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1186
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1138
1187
|
}
|
1139
1188
|
UPB_INLINE void envoy_config_core_v3_RuntimeUInt32_set_runtime_key(envoy_config_core_v3_RuntimeUInt32 *msg, upb_StringView value) {
|
1140
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1141
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1189
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1190
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1142
1191
|
}
|
1143
1192
|
|
1144
1193
|
/* envoy.config.core.v3.RuntimePercent */
|
@@ -1149,7 +1198,8 @@ UPB_INLINE envoy_config_core_v3_RuntimePercent* envoy_config_core_v3_RuntimePerc
|
|
1149
1198
|
UPB_INLINE envoy_config_core_v3_RuntimePercent* envoy_config_core_v3_RuntimePercent_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1150
1199
|
envoy_config_core_v3_RuntimePercent* ret = envoy_config_core_v3_RuntimePercent_new(arena);
|
1151
1200
|
if (!ret) return NULL;
|
1152
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimePercent_msg_init, NULL, 0, arena) !=
|
1201
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimePercent_msg_init, NULL, 0, arena) !=
|
1202
|
+
kUpb_DecodeStatus_Ok) {
|
1153
1203
|
return NULL;
|
1154
1204
|
}
|
1155
1205
|
return ret;
|
@@ -1159,53 +1209,55 @@ UPB_INLINE envoy_config_core_v3_RuntimePercent* envoy_config_core_v3_RuntimePerc
|
|
1159
1209
|
int options, upb_Arena* arena) {
|
1160
1210
|
envoy_config_core_v3_RuntimePercent* ret = envoy_config_core_v3_RuntimePercent_new(arena);
|
1161
1211
|
if (!ret) return NULL;
|
1162
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimePercent_msg_init, extreg, options,
|
1163
|
-
|
1212
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimePercent_msg_init, extreg, options,
|
1213
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1164
1214
|
return NULL;
|
1165
1215
|
}
|
1166
1216
|
return ret;
|
1167
1217
|
}
|
1168
1218
|
UPB_INLINE char* envoy_config_core_v3_RuntimePercent_serialize(const envoy_config_core_v3_RuntimePercent* msg, upb_Arena* arena, size_t* len) {
|
1169
1219
|
char* ptr;
|
1170
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__RuntimePercent_msg_init, 0, arena, &ptr, len);
|
1220
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimePercent_msg_init, 0, arena, &ptr, len);
|
1171
1221
|
return ptr;
|
1172
1222
|
}
|
1173
1223
|
UPB_INLINE char* envoy_config_core_v3_RuntimePercent_serialize_ex(const envoy_config_core_v3_RuntimePercent* msg, int options,
|
1174
1224
|
upb_Arena* arena, size_t* len) {
|
1175
1225
|
char* ptr;
|
1176
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__RuntimePercent_msg_init, options, arena, &ptr, len);
|
1226
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimePercent_msg_init, options, arena, &ptr, len);
|
1177
1227
|
return ptr;
|
1178
1228
|
}
|
1179
1229
|
UPB_INLINE void envoy_config_core_v3_RuntimePercent_clear_default_value(envoy_config_core_v3_RuntimePercent* msg) {
|
1180
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1181
|
-
|
1230
|
+
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)};
|
1231
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1182
1232
|
}
|
1183
1233
|
UPB_INLINE const struct envoy_type_v3_Percent* envoy_config_core_v3_RuntimePercent_default_value(const envoy_config_core_v3_RuntimePercent* msg) {
|
1184
1234
|
const struct envoy_type_v3_Percent* default_val = NULL;
|
1185
1235
|
const struct envoy_type_v3_Percent* ret;
|
1186
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1187
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1236
|
+
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)};
|
1237
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1238
|
+
&default_val, &ret);
|
1188
1239
|
return ret;
|
1189
1240
|
}
|
1190
1241
|
UPB_INLINE bool envoy_config_core_v3_RuntimePercent_has_default_value(const envoy_config_core_v3_RuntimePercent* msg) {
|
1191
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1192
|
-
return
|
1242
|
+
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)};
|
1243
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1193
1244
|
}
|
1194
1245
|
UPB_INLINE void envoy_config_core_v3_RuntimePercent_clear_runtime_key(envoy_config_core_v3_RuntimePercent* msg) {
|
1195
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1196
|
-
|
1246
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1247
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1197
1248
|
}
|
1198
1249
|
UPB_INLINE upb_StringView envoy_config_core_v3_RuntimePercent_runtime_key(const envoy_config_core_v3_RuntimePercent* msg) {
|
1199
1250
|
upb_StringView default_val = upb_StringView_FromString("");
|
1200
1251
|
upb_StringView ret;
|
1201
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1202
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1252
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1253
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1254
|
+
&default_val, &ret);
|
1203
1255
|
return ret;
|
1204
1256
|
}
|
1205
1257
|
|
1206
1258
|
UPB_INLINE void envoy_config_core_v3_RuntimePercent_set_default_value(envoy_config_core_v3_RuntimePercent *msg, struct envoy_type_v3_Percent* value) {
|
1207
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1208
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1259
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1260
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1209
1261
|
}
|
1210
1262
|
UPB_INLINE struct envoy_type_v3_Percent* envoy_config_core_v3_RuntimePercent_mutable_default_value(envoy_config_core_v3_RuntimePercent* msg, upb_Arena* arena) {
|
1211
1263
|
struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_config_core_v3_RuntimePercent_default_value(msg);
|
@@ -1216,8 +1268,8 @@ UPB_INLINE struct envoy_type_v3_Percent* envoy_config_core_v3_RuntimePercent_mut
|
|
1216
1268
|
return sub;
|
1217
1269
|
}
|
1218
1270
|
UPB_INLINE void envoy_config_core_v3_RuntimePercent_set_runtime_key(envoy_config_core_v3_RuntimePercent *msg, upb_StringView value) {
|
1219
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1220
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1271
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1272
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1221
1273
|
}
|
1222
1274
|
|
1223
1275
|
/* envoy.config.core.v3.RuntimeDouble */
|
@@ -1228,7 +1280,8 @@ UPB_INLINE envoy_config_core_v3_RuntimeDouble* envoy_config_core_v3_RuntimeDoubl
|
|
1228
1280
|
UPB_INLINE envoy_config_core_v3_RuntimeDouble* envoy_config_core_v3_RuntimeDouble_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1229
1281
|
envoy_config_core_v3_RuntimeDouble* ret = envoy_config_core_v3_RuntimeDouble_new(arena);
|
1230
1282
|
if (!ret) return NULL;
|
1231
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimeDouble_msg_init, NULL, 0, arena) !=
|
1283
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeDouble_msg_init, NULL, 0, arena) !=
|
1284
|
+
kUpb_DecodeStatus_Ok) {
|
1232
1285
|
return NULL;
|
1233
1286
|
}
|
1234
1287
|
return ret;
|
@@ -1238,53 +1291,55 @@ UPB_INLINE envoy_config_core_v3_RuntimeDouble* envoy_config_core_v3_RuntimeDoubl
|
|
1238
1291
|
int options, upb_Arena* arena) {
|
1239
1292
|
envoy_config_core_v3_RuntimeDouble* ret = envoy_config_core_v3_RuntimeDouble_new(arena);
|
1240
1293
|
if (!ret) return NULL;
|
1241
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimeDouble_msg_init, extreg, options,
|
1242
|
-
|
1294
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeDouble_msg_init, extreg, options,
|
1295
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1243
1296
|
return NULL;
|
1244
1297
|
}
|
1245
1298
|
return ret;
|
1246
1299
|
}
|
1247
1300
|
UPB_INLINE char* envoy_config_core_v3_RuntimeDouble_serialize(const envoy_config_core_v3_RuntimeDouble* msg, upb_Arena* arena, size_t* len) {
|
1248
1301
|
char* ptr;
|
1249
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__RuntimeDouble_msg_init, 0, arena, &ptr, len);
|
1302
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimeDouble_msg_init, 0, arena, &ptr, len);
|
1250
1303
|
return ptr;
|
1251
1304
|
}
|
1252
1305
|
UPB_INLINE char* envoy_config_core_v3_RuntimeDouble_serialize_ex(const envoy_config_core_v3_RuntimeDouble* msg, int options,
|
1253
1306
|
upb_Arena* arena, size_t* len) {
|
1254
1307
|
char* ptr;
|
1255
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__RuntimeDouble_msg_init, options, arena, &ptr, len);
|
1308
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimeDouble_msg_init, options, arena, &ptr, len);
|
1256
1309
|
return ptr;
|
1257
1310
|
}
|
1258
1311
|
UPB_INLINE void envoy_config_core_v3_RuntimeDouble_clear_default_value(envoy_config_core_v3_RuntimeDouble* msg) {
|
1259
|
-
const upb_MiniTableField field = {1,
|
1260
|
-
|
1312
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1313
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1261
1314
|
}
|
1262
1315
|
UPB_INLINE double envoy_config_core_v3_RuntimeDouble_default_value(const envoy_config_core_v3_RuntimeDouble* msg) {
|
1263
1316
|
double default_val = 0;
|
1264
1317
|
double ret;
|
1265
|
-
const upb_MiniTableField field = {1,
|
1266
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1318
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1319
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1320
|
+
&default_val, &ret);
|
1267
1321
|
return ret;
|
1268
1322
|
}
|
1269
1323
|
UPB_INLINE void envoy_config_core_v3_RuntimeDouble_clear_runtime_key(envoy_config_core_v3_RuntimeDouble* msg) {
|
1270
|
-
const upb_MiniTableField field = {2,
|
1271
|
-
|
1324
|
+
const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1325
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1272
1326
|
}
|
1273
1327
|
UPB_INLINE upb_StringView envoy_config_core_v3_RuntimeDouble_runtime_key(const envoy_config_core_v3_RuntimeDouble* msg) {
|
1274
1328
|
upb_StringView default_val = upb_StringView_FromString("");
|
1275
1329
|
upb_StringView ret;
|
1276
|
-
const upb_MiniTableField field = {2,
|
1277
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1330
|
+
const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1331
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1332
|
+
&default_val, &ret);
|
1278
1333
|
return ret;
|
1279
1334
|
}
|
1280
1335
|
|
1281
1336
|
UPB_INLINE void envoy_config_core_v3_RuntimeDouble_set_default_value(envoy_config_core_v3_RuntimeDouble *msg, double value) {
|
1282
|
-
const upb_MiniTableField field = {1,
|
1283
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1337
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1338
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1284
1339
|
}
|
1285
1340
|
UPB_INLINE void envoy_config_core_v3_RuntimeDouble_set_runtime_key(envoy_config_core_v3_RuntimeDouble *msg, upb_StringView value) {
|
1286
|
-
const upb_MiniTableField field = {2,
|
1287
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1341
|
+
const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1342
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1288
1343
|
}
|
1289
1344
|
|
1290
1345
|
/* envoy.config.core.v3.RuntimeFeatureFlag */
|
@@ -1295,7 +1350,8 @@ UPB_INLINE envoy_config_core_v3_RuntimeFeatureFlag* envoy_config_core_v3_Runtime
|
|
1295
1350
|
UPB_INLINE envoy_config_core_v3_RuntimeFeatureFlag* envoy_config_core_v3_RuntimeFeatureFlag_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1296
1351
|
envoy_config_core_v3_RuntimeFeatureFlag* ret = envoy_config_core_v3_RuntimeFeatureFlag_new(arena);
|
1297
1352
|
if (!ret) return NULL;
|
1298
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, NULL, 0, arena) !=
|
1353
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, NULL, 0, arena) !=
|
1354
|
+
kUpb_DecodeStatus_Ok) {
|
1299
1355
|
return NULL;
|
1300
1356
|
}
|
1301
1357
|
return ret;
|
@@ -1305,53 +1361,55 @@ UPB_INLINE envoy_config_core_v3_RuntimeFeatureFlag* envoy_config_core_v3_Runtime
|
|
1305
1361
|
int options, upb_Arena* arena) {
|
1306
1362
|
envoy_config_core_v3_RuntimeFeatureFlag* ret = envoy_config_core_v3_RuntimeFeatureFlag_new(arena);
|
1307
1363
|
if (!ret) return NULL;
|
1308
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, extreg, options,
|
1309
|
-
|
1364
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, extreg, options,
|
1365
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1310
1366
|
return NULL;
|
1311
1367
|
}
|
1312
1368
|
return ret;
|
1313
1369
|
}
|
1314
1370
|
UPB_INLINE char* envoy_config_core_v3_RuntimeFeatureFlag_serialize(const envoy_config_core_v3_RuntimeFeatureFlag* msg, upb_Arena* arena, size_t* len) {
|
1315
1371
|
char* ptr;
|
1316
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, 0, arena, &ptr, len);
|
1372
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, 0, arena, &ptr, len);
|
1317
1373
|
return ptr;
|
1318
1374
|
}
|
1319
1375
|
UPB_INLINE char* envoy_config_core_v3_RuntimeFeatureFlag_serialize_ex(const envoy_config_core_v3_RuntimeFeatureFlag* msg, int options,
|
1320
1376
|
upb_Arena* arena, size_t* len) {
|
1321
1377
|
char* ptr;
|
1322
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, options, arena, &ptr, len);
|
1378
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, options, arena, &ptr, len);
|
1323
1379
|
return ptr;
|
1324
1380
|
}
|
1325
1381
|
UPB_INLINE void envoy_config_core_v3_RuntimeFeatureFlag_clear_default_value(envoy_config_core_v3_RuntimeFeatureFlag* msg) {
|
1326
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1327
|
-
|
1382
|
+
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)};
|
1383
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1328
1384
|
}
|
1329
1385
|
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_core_v3_RuntimeFeatureFlag_default_value(const envoy_config_core_v3_RuntimeFeatureFlag* msg) {
|
1330
1386
|
const struct google_protobuf_BoolValue* default_val = NULL;
|
1331
1387
|
const struct google_protobuf_BoolValue* ret;
|
1332
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1333
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1388
|
+
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)};
|
1389
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1390
|
+
&default_val, &ret);
|
1334
1391
|
return ret;
|
1335
1392
|
}
|
1336
1393
|
UPB_INLINE bool envoy_config_core_v3_RuntimeFeatureFlag_has_default_value(const envoy_config_core_v3_RuntimeFeatureFlag* msg) {
|
1337
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1338
|
-
return
|
1394
|
+
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)};
|
1395
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1339
1396
|
}
|
1340
1397
|
UPB_INLINE void envoy_config_core_v3_RuntimeFeatureFlag_clear_runtime_key(envoy_config_core_v3_RuntimeFeatureFlag* msg) {
|
1341
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1342
|
-
|
1398
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1399
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1343
1400
|
}
|
1344
1401
|
UPB_INLINE upb_StringView envoy_config_core_v3_RuntimeFeatureFlag_runtime_key(const envoy_config_core_v3_RuntimeFeatureFlag* msg) {
|
1345
1402
|
upb_StringView default_val = upb_StringView_FromString("");
|
1346
1403
|
upb_StringView ret;
|
1347
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1348
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1404
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1405
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1406
|
+
&default_val, &ret);
|
1349
1407
|
return ret;
|
1350
1408
|
}
|
1351
1409
|
|
1352
1410
|
UPB_INLINE void envoy_config_core_v3_RuntimeFeatureFlag_set_default_value(envoy_config_core_v3_RuntimeFeatureFlag *msg, struct google_protobuf_BoolValue* value) {
|
1353
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1354
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1411
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1412
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1355
1413
|
}
|
1356
1414
|
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_RuntimeFeatureFlag_mutable_default_value(envoy_config_core_v3_RuntimeFeatureFlag* msg, upb_Arena* arena) {
|
1357
1415
|
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_RuntimeFeatureFlag_default_value(msg);
|
@@ -1362,8 +1420,8 @@ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_RuntimeFeature
|
|
1362
1420
|
return sub;
|
1363
1421
|
}
|
1364
1422
|
UPB_INLINE void envoy_config_core_v3_RuntimeFeatureFlag_set_runtime_key(envoy_config_core_v3_RuntimeFeatureFlag *msg, upb_StringView value) {
|
1365
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1366
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1423
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1424
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1367
1425
|
}
|
1368
1426
|
|
1369
1427
|
/* envoy.config.core.v3.QueryParameter */
|
@@ -1374,7 +1432,8 @@ UPB_INLINE envoy_config_core_v3_QueryParameter* envoy_config_core_v3_QueryParame
|
|
1374
1432
|
UPB_INLINE envoy_config_core_v3_QueryParameter* envoy_config_core_v3_QueryParameter_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1375
1433
|
envoy_config_core_v3_QueryParameter* ret = envoy_config_core_v3_QueryParameter_new(arena);
|
1376
1434
|
if (!ret) return NULL;
|
1377
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__QueryParameter_msg_init, NULL, 0, arena) !=
|
1435
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__QueryParameter_msg_init, NULL, 0, arena) !=
|
1436
|
+
kUpb_DecodeStatus_Ok) {
|
1378
1437
|
return NULL;
|
1379
1438
|
}
|
1380
1439
|
return ret;
|
@@ -1384,53 +1443,55 @@ UPB_INLINE envoy_config_core_v3_QueryParameter* envoy_config_core_v3_QueryParame
|
|
1384
1443
|
int options, upb_Arena* arena) {
|
1385
1444
|
envoy_config_core_v3_QueryParameter* ret = envoy_config_core_v3_QueryParameter_new(arena);
|
1386
1445
|
if (!ret) return NULL;
|
1387
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__QueryParameter_msg_init, extreg, options,
|
1388
|
-
|
1446
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__QueryParameter_msg_init, extreg, options,
|
1447
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1389
1448
|
return NULL;
|
1390
1449
|
}
|
1391
1450
|
return ret;
|
1392
1451
|
}
|
1393
1452
|
UPB_INLINE char* envoy_config_core_v3_QueryParameter_serialize(const envoy_config_core_v3_QueryParameter* msg, upb_Arena* arena, size_t* len) {
|
1394
1453
|
char* ptr;
|
1395
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__QueryParameter_msg_init, 0, arena, &ptr, len);
|
1454
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__QueryParameter_msg_init, 0, arena, &ptr, len);
|
1396
1455
|
return ptr;
|
1397
1456
|
}
|
1398
1457
|
UPB_INLINE char* envoy_config_core_v3_QueryParameter_serialize_ex(const envoy_config_core_v3_QueryParameter* msg, int options,
|
1399
1458
|
upb_Arena* arena, size_t* len) {
|
1400
1459
|
char* ptr;
|
1401
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__QueryParameter_msg_init, options, arena, &ptr, len);
|
1460
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__QueryParameter_msg_init, options, arena, &ptr, len);
|
1402
1461
|
return ptr;
|
1403
1462
|
}
|
1404
1463
|
UPB_INLINE void envoy_config_core_v3_QueryParameter_clear_key(envoy_config_core_v3_QueryParameter* msg) {
|
1405
|
-
const upb_MiniTableField field = {1,
|
1406
|
-
|
1464
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1465
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1407
1466
|
}
|
1408
1467
|
UPB_INLINE upb_StringView envoy_config_core_v3_QueryParameter_key(const envoy_config_core_v3_QueryParameter* msg) {
|
1409
1468
|
upb_StringView default_val = upb_StringView_FromString("");
|
1410
1469
|
upb_StringView ret;
|
1411
|
-
const upb_MiniTableField field = {1,
|
1412
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1470
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1471
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1472
|
+
&default_val, &ret);
|
1413
1473
|
return ret;
|
1414
1474
|
}
|
1415
1475
|
UPB_INLINE void envoy_config_core_v3_QueryParameter_clear_value(envoy_config_core_v3_QueryParameter* msg) {
|
1416
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1417
|
-
|
1476
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1477
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1418
1478
|
}
|
1419
1479
|
UPB_INLINE upb_StringView envoy_config_core_v3_QueryParameter_value(const envoy_config_core_v3_QueryParameter* msg) {
|
1420
1480
|
upb_StringView default_val = upb_StringView_FromString("");
|
1421
1481
|
upb_StringView ret;
|
1422
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1423
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1482
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1483
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1484
|
+
&default_val, &ret);
|
1424
1485
|
return ret;
|
1425
1486
|
}
|
1426
1487
|
|
1427
1488
|
UPB_INLINE void envoy_config_core_v3_QueryParameter_set_key(envoy_config_core_v3_QueryParameter *msg, upb_StringView value) {
|
1428
|
-
const upb_MiniTableField field = {1,
|
1429
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1489
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1490
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1430
1491
|
}
|
1431
1492
|
UPB_INLINE void envoy_config_core_v3_QueryParameter_set_value(envoy_config_core_v3_QueryParameter *msg, upb_StringView value) {
|
1432
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1433
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1493
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1494
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1434
1495
|
}
|
1435
1496
|
|
1436
1497
|
/* envoy.config.core.v3.HeaderValue */
|
@@ -1441,7 +1502,8 @@ UPB_INLINE envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValue_ne
|
|
1441
1502
|
UPB_INLINE envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValue_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1442
1503
|
envoy_config_core_v3_HeaderValue* ret = envoy_config_core_v3_HeaderValue_new(arena);
|
1443
1504
|
if (!ret) return NULL;
|
1444
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HeaderValue_msg_init, NULL, 0, arena) !=
|
1505
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__HeaderValue_msg_init, NULL, 0, arena) !=
|
1506
|
+
kUpb_DecodeStatus_Ok) {
|
1445
1507
|
return NULL;
|
1446
1508
|
}
|
1447
1509
|
return ret;
|
@@ -1451,68 +1513,71 @@ UPB_INLINE envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValue_pa
|
|
1451
1513
|
int options, upb_Arena* arena) {
|
1452
1514
|
envoy_config_core_v3_HeaderValue* ret = envoy_config_core_v3_HeaderValue_new(arena);
|
1453
1515
|
if (!ret) return NULL;
|
1454
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HeaderValue_msg_init, extreg, options,
|
1455
|
-
|
1516
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__HeaderValue_msg_init, extreg, options,
|
1517
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1456
1518
|
return NULL;
|
1457
1519
|
}
|
1458
1520
|
return ret;
|
1459
1521
|
}
|
1460
1522
|
UPB_INLINE char* envoy_config_core_v3_HeaderValue_serialize(const envoy_config_core_v3_HeaderValue* msg, upb_Arena* arena, size_t* len) {
|
1461
1523
|
char* ptr;
|
1462
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__HeaderValue_msg_init, 0, arena, &ptr, len);
|
1524
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__HeaderValue_msg_init, 0, arena, &ptr, len);
|
1463
1525
|
return ptr;
|
1464
1526
|
}
|
1465
1527
|
UPB_INLINE char* envoy_config_core_v3_HeaderValue_serialize_ex(const envoy_config_core_v3_HeaderValue* msg, int options,
|
1466
1528
|
upb_Arena* arena, size_t* len) {
|
1467
1529
|
char* ptr;
|
1468
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__HeaderValue_msg_init, options, arena, &ptr, len);
|
1530
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__HeaderValue_msg_init, options, arena, &ptr, len);
|
1469
1531
|
return ptr;
|
1470
1532
|
}
|
1471
1533
|
UPB_INLINE void envoy_config_core_v3_HeaderValue_clear_key(envoy_config_core_v3_HeaderValue* msg) {
|
1472
|
-
const upb_MiniTableField field = {1,
|
1473
|
-
|
1534
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1535
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1474
1536
|
}
|
1475
1537
|
UPB_INLINE upb_StringView envoy_config_core_v3_HeaderValue_key(const envoy_config_core_v3_HeaderValue* msg) {
|
1476
1538
|
upb_StringView default_val = upb_StringView_FromString("");
|
1477
1539
|
upb_StringView ret;
|
1478
|
-
const upb_MiniTableField field = {1,
|
1479
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1540
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1541
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1542
|
+
&default_val, &ret);
|
1480
1543
|
return ret;
|
1481
1544
|
}
|
1482
1545
|
UPB_INLINE void envoy_config_core_v3_HeaderValue_clear_value(envoy_config_core_v3_HeaderValue* msg) {
|
1483
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1484
|
-
|
1546
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1547
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1485
1548
|
}
|
1486
1549
|
UPB_INLINE upb_StringView envoy_config_core_v3_HeaderValue_value(const envoy_config_core_v3_HeaderValue* msg) {
|
1487
1550
|
upb_StringView default_val = upb_StringView_FromString("");
|
1488
1551
|
upb_StringView ret;
|
1489
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1490
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1552
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1553
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1554
|
+
&default_val, &ret);
|
1491
1555
|
return ret;
|
1492
1556
|
}
|
1493
1557
|
UPB_INLINE void envoy_config_core_v3_HeaderValue_clear_raw_value(envoy_config_core_v3_HeaderValue* msg) {
|
1494
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1495
|
-
|
1558
|
+
const upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1559
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1496
1560
|
}
|
1497
1561
|
UPB_INLINE upb_StringView envoy_config_core_v3_HeaderValue_raw_value(const envoy_config_core_v3_HeaderValue* msg) {
|
1498
1562
|
upb_StringView default_val = upb_StringView_FromString("");
|
1499
1563
|
upb_StringView ret;
|
1500
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1501
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1564
|
+
const upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1565
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1566
|
+
&default_val, &ret);
|
1502
1567
|
return ret;
|
1503
1568
|
}
|
1504
1569
|
|
1505
1570
|
UPB_INLINE void envoy_config_core_v3_HeaderValue_set_key(envoy_config_core_v3_HeaderValue *msg, upb_StringView value) {
|
1506
|
-
const upb_MiniTableField field = {1,
|
1507
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1571
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1572
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1508
1573
|
}
|
1509
1574
|
UPB_INLINE void envoy_config_core_v3_HeaderValue_set_value(envoy_config_core_v3_HeaderValue *msg, upb_StringView value) {
|
1510
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1511
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1575
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1576
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1512
1577
|
}
|
1513
1578
|
UPB_INLINE void envoy_config_core_v3_HeaderValue_set_raw_value(envoy_config_core_v3_HeaderValue *msg, upb_StringView value) {
|
1514
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1515
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1579
|
+
const upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1580
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1516
1581
|
}
|
1517
1582
|
|
1518
1583
|
/* envoy.config.core.v3.HeaderValueOption */
|
@@ -1523,7 +1588,8 @@ UPB_INLINE envoy_config_core_v3_HeaderValueOption* envoy_config_core_v3_HeaderVa
|
|
1523
1588
|
UPB_INLINE envoy_config_core_v3_HeaderValueOption* envoy_config_core_v3_HeaderValueOption_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1524
1589
|
envoy_config_core_v3_HeaderValueOption* ret = envoy_config_core_v3_HeaderValueOption_new(arena);
|
1525
1590
|
if (!ret) return NULL;
|
1526
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HeaderValueOption_msg_init, NULL, 0, arena) !=
|
1591
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__HeaderValueOption_msg_init, NULL, 0, arena) !=
|
1592
|
+
kUpb_DecodeStatus_Ok) {
|
1527
1593
|
return NULL;
|
1528
1594
|
}
|
1529
1595
|
return ret;
|
@@ -1533,79 +1599,83 @@ UPB_INLINE envoy_config_core_v3_HeaderValueOption* envoy_config_core_v3_HeaderVa
|
|
1533
1599
|
int options, upb_Arena* arena) {
|
1534
1600
|
envoy_config_core_v3_HeaderValueOption* ret = envoy_config_core_v3_HeaderValueOption_new(arena);
|
1535
1601
|
if (!ret) return NULL;
|
1536
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HeaderValueOption_msg_init, extreg, options,
|
1537
|
-
|
1602
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__HeaderValueOption_msg_init, extreg, options,
|
1603
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1538
1604
|
return NULL;
|
1539
1605
|
}
|
1540
1606
|
return ret;
|
1541
1607
|
}
|
1542
1608
|
UPB_INLINE char* envoy_config_core_v3_HeaderValueOption_serialize(const envoy_config_core_v3_HeaderValueOption* msg, upb_Arena* arena, size_t* len) {
|
1543
1609
|
char* ptr;
|
1544
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__HeaderValueOption_msg_init, 0, arena, &ptr, len);
|
1610
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__HeaderValueOption_msg_init, 0, arena, &ptr, len);
|
1545
1611
|
return ptr;
|
1546
1612
|
}
|
1547
1613
|
UPB_INLINE char* envoy_config_core_v3_HeaderValueOption_serialize_ex(const envoy_config_core_v3_HeaderValueOption* msg, int options,
|
1548
1614
|
upb_Arena* arena, size_t* len) {
|
1549
1615
|
char* ptr;
|
1550
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__HeaderValueOption_msg_init, options, arena, &ptr, len);
|
1616
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__HeaderValueOption_msg_init, options, arena, &ptr, len);
|
1551
1617
|
return ptr;
|
1552
1618
|
}
|
1553
1619
|
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_clear_header(envoy_config_core_v3_HeaderValueOption* msg) {
|
1554
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1555
|
-
|
1620
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1621
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1556
1622
|
}
|
1557
1623
|
UPB_INLINE const envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValueOption_header(const envoy_config_core_v3_HeaderValueOption* msg) {
|
1558
1624
|
const envoy_config_core_v3_HeaderValue* default_val = NULL;
|
1559
1625
|
const envoy_config_core_v3_HeaderValue* ret;
|
1560
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1561
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1626
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1627
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1628
|
+
&default_val, &ret);
|
1562
1629
|
return ret;
|
1563
1630
|
}
|
1564
1631
|
UPB_INLINE bool envoy_config_core_v3_HeaderValueOption_has_header(const envoy_config_core_v3_HeaderValueOption* msg) {
|
1565
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1566
|
-
return
|
1632
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1633
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1567
1634
|
}
|
1568
1635
|
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_clear_append(envoy_config_core_v3_HeaderValueOption* msg) {
|
1569
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1570
|
-
|
1636
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1637
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1571
1638
|
}
|
1572
1639
|
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_core_v3_HeaderValueOption_append(const envoy_config_core_v3_HeaderValueOption* msg) {
|
1573
1640
|
const struct google_protobuf_BoolValue* default_val = NULL;
|
1574
1641
|
const struct google_protobuf_BoolValue* ret;
|
1575
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1576
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1642
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1643
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1644
|
+
&default_val, &ret);
|
1577
1645
|
return ret;
|
1578
1646
|
}
|
1579
1647
|
UPB_INLINE bool envoy_config_core_v3_HeaderValueOption_has_append(const envoy_config_core_v3_HeaderValueOption* msg) {
|
1580
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1581
|
-
return
|
1648
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1649
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1582
1650
|
}
|
1583
1651
|
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_clear_append_action(envoy_config_core_v3_HeaderValueOption* msg) {
|
1584
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1585
|
-
|
1652
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1653
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1586
1654
|
}
|
1587
1655
|
UPB_INLINE int32_t envoy_config_core_v3_HeaderValueOption_append_action(const envoy_config_core_v3_HeaderValueOption* msg) {
|
1588
1656
|
int32_t default_val = 0;
|
1589
1657
|
int32_t ret;
|
1590
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1591
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1658
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1659
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1660
|
+
&default_val, &ret);
|
1592
1661
|
return ret;
|
1593
1662
|
}
|
1594
1663
|
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_clear_keep_empty_value(envoy_config_core_v3_HeaderValueOption* msg) {
|
1595
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1596
|
-
|
1664
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1665
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1597
1666
|
}
|
1598
1667
|
UPB_INLINE bool envoy_config_core_v3_HeaderValueOption_keep_empty_value(const envoy_config_core_v3_HeaderValueOption* msg) {
|
1599
1668
|
bool default_val = false;
|
1600
1669
|
bool ret;
|
1601
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1602
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1670
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1671
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1672
|
+
&default_val, &ret);
|
1603
1673
|
return ret;
|
1604
1674
|
}
|
1605
1675
|
|
1606
1676
|
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_header(envoy_config_core_v3_HeaderValueOption *msg, envoy_config_core_v3_HeaderValue* value) {
|
1607
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1608
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1677
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1678
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1609
1679
|
}
|
1610
1680
|
UPB_INLINE struct envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValueOption_mutable_header(envoy_config_core_v3_HeaderValueOption* msg, upb_Arena* arena) {
|
1611
1681
|
struct envoy_config_core_v3_HeaderValue* sub = (struct envoy_config_core_v3_HeaderValue*)envoy_config_core_v3_HeaderValueOption_header(msg);
|
@@ -1616,8 +1686,8 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderV
|
|
1616
1686
|
return sub;
|
1617
1687
|
}
|
1618
1688
|
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_append(envoy_config_core_v3_HeaderValueOption *msg, struct google_protobuf_BoolValue* value) {
|
1619
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1620
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1689
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1690
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1621
1691
|
}
|
1622
1692
|
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_HeaderValueOption_mutable_append(envoy_config_core_v3_HeaderValueOption* msg, upb_Arena* arena) {
|
1623
1693
|
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_HeaderValueOption_append(msg);
|
@@ -1628,12 +1698,12 @@ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_HeaderValueOpt
|
|
1628
1698
|
return sub;
|
1629
1699
|
}
|
1630
1700
|
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_append_action(envoy_config_core_v3_HeaderValueOption *msg, int32_t value) {
|
1631
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1632
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1701
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1702
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1633
1703
|
}
|
1634
1704
|
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_keep_empty_value(envoy_config_core_v3_HeaderValueOption *msg, bool value) {
|
1635
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1636
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1705
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1706
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1637
1707
|
}
|
1638
1708
|
|
1639
1709
|
/* envoy.config.core.v3.HeaderMap */
|
@@ -1644,7 +1714,8 @@ UPB_INLINE envoy_config_core_v3_HeaderMap* envoy_config_core_v3_HeaderMap_new(up
|
|
1644
1714
|
UPB_INLINE envoy_config_core_v3_HeaderMap* envoy_config_core_v3_HeaderMap_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1645
1715
|
envoy_config_core_v3_HeaderMap* ret = envoy_config_core_v3_HeaderMap_new(arena);
|
1646
1716
|
if (!ret) return NULL;
|
1647
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HeaderMap_msg_init, NULL, 0, arena) !=
|
1717
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__HeaderMap_msg_init, NULL, 0, arena) !=
|
1718
|
+
kUpb_DecodeStatus_Ok) {
|
1648
1719
|
return NULL;
|
1649
1720
|
}
|
1650
1721
|
return ret;
|
@@ -1654,85 +1725,84 @@ UPB_INLINE envoy_config_core_v3_HeaderMap* envoy_config_core_v3_HeaderMap_parse_
|
|
1654
1725
|
int options, upb_Arena* arena) {
|
1655
1726
|
envoy_config_core_v3_HeaderMap* ret = envoy_config_core_v3_HeaderMap_new(arena);
|
1656
1727
|
if (!ret) return NULL;
|
1657
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HeaderMap_msg_init, extreg, options,
|
1658
|
-
|
1728
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__HeaderMap_msg_init, extreg, options,
|
1729
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1659
1730
|
return NULL;
|
1660
1731
|
}
|
1661
1732
|
return ret;
|
1662
1733
|
}
|
1663
1734
|
UPB_INLINE char* envoy_config_core_v3_HeaderMap_serialize(const envoy_config_core_v3_HeaderMap* msg, upb_Arena* arena, size_t* len) {
|
1664
1735
|
char* ptr;
|
1665
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__HeaderMap_msg_init, 0, arena, &ptr, len);
|
1736
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__HeaderMap_msg_init, 0, arena, &ptr, len);
|
1666
1737
|
return ptr;
|
1667
1738
|
}
|
1668
1739
|
UPB_INLINE char* envoy_config_core_v3_HeaderMap_serialize_ex(const envoy_config_core_v3_HeaderMap* msg, int options,
|
1669
1740
|
upb_Arena* arena, size_t* len) {
|
1670
1741
|
char* ptr;
|
1671
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__HeaderMap_msg_init, options, arena, &ptr, len);
|
1742
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__HeaderMap_msg_init, options, arena, &ptr, len);
|
1672
1743
|
return ptr;
|
1673
1744
|
}
|
1674
1745
|
UPB_INLINE void envoy_config_core_v3_HeaderMap_clear_headers(envoy_config_core_v3_HeaderMap* msg) {
|
1675
|
-
const upb_MiniTableField field = {1,
|
1676
|
-
|
1746
|
+
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)};
|
1747
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1677
1748
|
}
|
1678
1749
|
UPB_INLINE const envoy_config_core_v3_HeaderValue* const* envoy_config_core_v3_HeaderMap_headers(const envoy_config_core_v3_HeaderMap* msg, size_t* size) {
|
1679
|
-
const upb_MiniTableField field = {1,
|
1680
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1750
|
+
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)};
|
1751
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1681
1752
|
if (arr) {
|
1682
|
-
if (size) *size = arr->size;
|
1683
|
-
return (const envoy_config_core_v3_HeaderValue* const*)
|
1753
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1754
|
+
return (const envoy_config_core_v3_HeaderValue* const*)upb_Array_DataPtr(arr);
|
1684
1755
|
} else {
|
1685
1756
|
if (size) *size = 0;
|
1686
1757
|
return NULL;
|
1687
1758
|
}
|
1688
1759
|
}
|
1689
1760
|
UPB_INLINE const upb_Array* _envoy_config_core_v3_HeaderMap_headers_upb_array(const envoy_config_core_v3_HeaderMap* msg, size_t* size) {
|
1690
|
-
const upb_MiniTableField field = {1,
|
1691
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1761
|
+
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)};
|
1762
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1692
1763
|
if (size) {
|
1693
|
-
*size = arr ? arr->size : 0;
|
1764
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1694
1765
|
}
|
1695
1766
|
return arr;
|
1696
1767
|
}
|
1697
|
-
UPB_INLINE upb_Array* _envoy_config_core_v3_HeaderMap_headers_mutable_upb_array(
|
1698
|
-
const upb_MiniTableField field = {1,
|
1699
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1700
|
-
|
1768
|
+
UPB_INLINE upb_Array* _envoy_config_core_v3_HeaderMap_headers_mutable_upb_array(envoy_config_core_v3_HeaderMap* msg, size_t* size, upb_Arena* arena) {
|
1769
|
+
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)};
|
1770
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1771
|
+
&field, arena);
|
1701
1772
|
if (size) {
|
1702
|
-
*size = arr ? arr->size : 0;
|
1773
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1703
1774
|
}
|
1704
1775
|
return arr;
|
1705
1776
|
}
|
1706
|
-
UPB_INLINE bool envoy_config_core_v3_HeaderMap_has_headers(const envoy_config_core_v3_HeaderMap* msg) {
|
1707
|
-
size_t size;
|
1708
|
-
envoy_config_core_v3_HeaderMap_headers(msg, &size);
|
1709
|
-
return size != 0;
|
1710
|
-
}
|
1711
1777
|
|
1712
1778
|
UPB_INLINE envoy_config_core_v3_HeaderValue** envoy_config_core_v3_HeaderMap_mutable_headers(envoy_config_core_v3_HeaderMap* msg, size_t* size) {
|
1713
|
-
upb_MiniTableField field = {1,
|
1714
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1779
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1780
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1715
1781
|
if (arr) {
|
1716
|
-
if (size) *size = arr->size;
|
1717
|
-
return (envoy_config_core_v3_HeaderValue**)
|
1782
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1783
|
+
return (envoy_config_core_v3_HeaderValue**)upb_Array_MutableDataPtr(arr);
|
1718
1784
|
} else {
|
1719
1785
|
if (size) *size = 0;
|
1720
1786
|
return NULL;
|
1721
1787
|
}
|
1722
1788
|
}
|
1723
1789
|
UPB_INLINE envoy_config_core_v3_HeaderValue** envoy_config_core_v3_HeaderMap_resize_headers(envoy_config_core_v3_HeaderMap* msg, size_t size, upb_Arena* arena) {
|
1724
|
-
upb_MiniTableField field = {1,
|
1725
|
-
return (envoy_config_core_v3_HeaderValue**)upb_Message_ResizeArrayUninitialized(msg,
|
1790
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1791
|
+
return (envoy_config_core_v3_HeaderValue**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1792
|
+
&field, size, arena);
|
1726
1793
|
}
|
1727
1794
|
UPB_INLINE struct envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderMap_add_headers(envoy_config_core_v3_HeaderMap* msg, upb_Arena* arena) {
|
1728
|
-
upb_MiniTableField field = {1,
|
1729
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1730
|
-
|
1795
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1796
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1797
|
+
UPB_UPCAST(msg), &field, arena);
|
1798
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1799
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1731
1800
|
return NULL;
|
1732
1801
|
}
|
1733
1802
|
struct envoy_config_core_v3_HeaderValue* sub = (struct envoy_config_core_v3_HeaderValue*)_upb_Message_New(&envoy__config__core__v3__HeaderValue_msg_init, arena);
|
1734
1803
|
if (!arr || !sub) return NULL;
|
1735
|
-
_upb_Array_Set
|
1804
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1805
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1736
1806
|
return sub;
|
1737
1807
|
}
|
1738
1808
|
|
@@ -1744,7 +1814,8 @@ UPB_INLINE envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_WatchedDi
|
|
1744
1814
|
UPB_INLINE envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_WatchedDirectory_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1745
1815
|
envoy_config_core_v3_WatchedDirectory* ret = envoy_config_core_v3_WatchedDirectory_new(arena);
|
1746
1816
|
if (!ret) return NULL;
|
1747
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__WatchedDirectory_msg_init, NULL, 0, arena) !=
|
1817
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__WatchedDirectory_msg_init, NULL, 0, arena) !=
|
1818
|
+
kUpb_DecodeStatus_Ok) {
|
1748
1819
|
return NULL;
|
1749
1820
|
}
|
1750
1821
|
return ret;
|
@@ -1754,38 +1825,39 @@ UPB_INLINE envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_WatchedDi
|
|
1754
1825
|
int options, upb_Arena* arena) {
|
1755
1826
|
envoy_config_core_v3_WatchedDirectory* ret = envoy_config_core_v3_WatchedDirectory_new(arena);
|
1756
1827
|
if (!ret) return NULL;
|
1757
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__WatchedDirectory_msg_init, extreg, options,
|
1758
|
-
|
1828
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__WatchedDirectory_msg_init, extreg, options,
|
1829
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1759
1830
|
return NULL;
|
1760
1831
|
}
|
1761
1832
|
return ret;
|
1762
1833
|
}
|
1763
1834
|
UPB_INLINE char* envoy_config_core_v3_WatchedDirectory_serialize(const envoy_config_core_v3_WatchedDirectory* msg, upb_Arena* arena, size_t* len) {
|
1764
1835
|
char* ptr;
|
1765
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__WatchedDirectory_msg_init, 0, arena, &ptr, len);
|
1836
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__WatchedDirectory_msg_init, 0, arena, &ptr, len);
|
1766
1837
|
return ptr;
|
1767
1838
|
}
|
1768
1839
|
UPB_INLINE char* envoy_config_core_v3_WatchedDirectory_serialize_ex(const envoy_config_core_v3_WatchedDirectory* msg, int options,
|
1769
1840
|
upb_Arena* arena, size_t* len) {
|
1770
1841
|
char* ptr;
|
1771
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__WatchedDirectory_msg_init, options, arena, &ptr, len);
|
1842
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__WatchedDirectory_msg_init, options, arena, &ptr, len);
|
1772
1843
|
return ptr;
|
1773
1844
|
}
|
1774
1845
|
UPB_INLINE void envoy_config_core_v3_WatchedDirectory_clear_path(envoy_config_core_v3_WatchedDirectory* msg) {
|
1775
|
-
const upb_MiniTableField field = {1,
|
1776
|
-
|
1846
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1847
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1777
1848
|
}
|
1778
1849
|
UPB_INLINE upb_StringView envoy_config_core_v3_WatchedDirectory_path(const envoy_config_core_v3_WatchedDirectory* msg) {
|
1779
1850
|
upb_StringView default_val = upb_StringView_FromString("");
|
1780
1851
|
upb_StringView ret;
|
1781
|
-
const upb_MiniTableField field = {1,
|
1782
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1852
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1853
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1854
|
+
&default_val, &ret);
|
1783
1855
|
return ret;
|
1784
1856
|
}
|
1785
1857
|
|
1786
1858
|
UPB_INLINE void envoy_config_core_v3_WatchedDirectory_set_path(envoy_config_core_v3_WatchedDirectory *msg, upb_StringView value) {
|
1787
|
-
const upb_MiniTableField field = {1,
|
1788
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1859
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1860
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1789
1861
|
}
|
1790
1862
|
|
1791
1863
|
/* envoy.config.core.v3.DataSource */
|
@@ -1796,7 +1868,8 @@ UPB_INLINE envoy_config_core_v3_DataSource* envoy_config_core_v3_DataSource_new(
|
|
1796
1868
|
UPB_INLINE envoy_config_core_v3_DataSource* envoy_config_core_v3_DataSource_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1797
1869
|
envoy_config_core_v3_DataSource* ret = envoy_config_core_v3_DataSource_new(arena);
|
1798
1870
|
if (!ret) return NULL;
|
1799
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__DataSource_msg_init, NULL, 0, arena) !=
|
1871
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__DataSource_msg_init, NULL, 0, arena) !=
|
1872
|
+
kUpb_DecodeStatus_Ok) {
|
1800
1873
|
return NULL;
|
1801
1874
|
}
|
1802
1875
|
return ret;
|
@@ -1806,21 +1879,21 @@ UPB_INLINE envoy_config_core_v3_DataSource* envoy_config_core_v3_DataSource_pars
|
|
1806
1879
|
int options, upb_Arena* arena) {
|
1807
1880
|
envoy_config_core_v3_DataSource* ret = envoy_config_core_v3_DataSource_new(arena);
|
1808
1881
|
if (!ret) return NULL;
|
1809
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__DataSource_msg_init, extreg, options,
|
1810
|
-
|
1882
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__DataSource_msg_init, extreg, options,
|
1883
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1811
1884
|
return NULL;
|
1812
1885
|
}
|
1813
1886
|
return ret;
|
1814
1887
|
}
|
1815
1888
|
UPB_INLINE char* envoy_config_core_v3_DataSource_serialize(const envoy_config_core_v3_DataSource* msg, upb_Arena* arena, size_t* len) {
|
1816
1889
|
char* ptr;
|
1817
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__DataSource_msg_init, 0, arena, &ptr, len);
|
1890
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__DataSource_msg_init, 0, arena, &ptr, len);
|
1818
1891
|
return ptr;
|
1819
1892
|
}
|
1820
1893
|
UPB_INLINE char* envoy_config_core_v3_DataSource_serialize_ex(const envoy_config_core_v3_DataSource* msg, int options,
|
1821
1894
|
upb_Arena* arena, size_t* len) {
|
1822
1895
|
char* ptr;
|
1823
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__DataSource_msg_init, options, arena, &ptr, len);
|
1896
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__DataSource_msg_init, options, arena, &ptr, len);
|
1824
1897
|
return ptr;
|
1825
1898
|
}
|
1826
1899
|
typedef enum {
|
@@ -1831,85 +1904,90 @@ typedef enum {
|
|
1831
1904
|
envoy_config_core_v3_DataSource_specifier_NOT_SET = 0
|
1832
1905
|
} envoy_config_core_v3_DataSource_specifier_oneofcases;
|
1833
1906
|
UPB_INLINE envoy_config_core_v3_DataSource_specifier_oneofcases envoy_config_core_v3_DataSource_specifier_case(const envoy_config_core_v3_DataSource* msg) {
|
1834
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1835
|
-
return (envoy_config_core_v3_DataSource_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(
|
1907
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1908
|
+
return (envoy_config_core_v3_DataSource_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(
|
1909
|
+
UPB_UPCAST(msg), &field);
|
1836
1910
|
}
|
1837
1911
|
UPB_INLINE void envoy_config_core_v3_DataSource_clear_filename(envoy_config_core_v3_DataSource* msg) {
|
1838
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1839
|
-
|
1912
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1913
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1840
1914
|
}
|
1841
1915
|
UPB_INLINE upb_StringView envoy_config_core_v3_DataSource_filename(const envoy_config_core_v3_DataSource* msg) {
|
1842
1916
|
upb_StringView default_val = upb_StringView_FromString("");
|
1843
1917
|
upb_StringView ret;
|
1844
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1845
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1918
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1919
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1920
|
+
&default_val, &ret);
|
1846
1921
|
return ret;
|
1847
1922
|
}
|
1848
1923
|
UPB_INLINE bool envoy_config_core_v3_DataSource_has_filename(const envoy_config_core_v3_DataSource* msg) {
|
1849
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1850
|
-
return
|
1924
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1925
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1851
1926
|
}
|
1852
1927
|
UPB_INLINE void envoy_config_core_v3_DataSource_clear_inline_bytes(envoy_config_core_v3_DataSource* msg) {
|
1853
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1854
|
-
|
1928
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1929
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1855
1930
|
}
|
1856
1931
|
UPB_INLINE upb_StringView envoy_config_core_v3_DataSource_inline_bytes(const envoy_config_core_v3_DataSource* msg) {
|
1857
1932
|
upb_StringView default_val = upb_StringView_FromString("");
|
1858
1933
|
upb_StringView ret;
|
1859
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1860
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1934
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1935
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1936
|
+
&default_val, &ret);
|
1861
1937
|
return ret;
|
1862
1938
|
}
|
1863
1939
|
UPB_INLINE bool envoy_config_core_v3_DataSource_has_inline_bytes(const envoy_config_core_v3_DataSource* msg) {
|
1864
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1865
|
-
return
|
1940
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1941
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1866
1942
|
}
|
1867
1943
|
UPB_INLINE void envoy_config_core_v3_DataSource_clear_inline_string(envoy_config_core_v3_DataSource* msg) {
|
1868
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1869
|
-
|
1944
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1945
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1870
1946
|
}
|
1871
1947
|
UPB_INLINE upb_StringView envoy_config_core_v3_DataSource_inline_string(const envoy_config_core_v3_DataSource* msg) {
|
1872
1948
|
upb_StringView default_val = upb_StringView_FromString("");
|
1873
1949
|
upb_StringView ret;
|
1874
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1875
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1950
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1951
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1952
|
+
&default_val, &ret);
|
1876
1953
|
return ret;
|
1877
1954
|
}
|
1878
1955
|
UPB_INLINE bool envoy_config_core_v3_DataSource_has_inline_string(const envoy_config_core_v3_DataSource* msg) {
|
1879
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1880
|
-
return
|
1956
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1957
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1881
1958
|
}
|
1882
1959
|
UPB_INLINE void envoy_config_core_v3_DataSource_clear_environment_variable(envoy_config_core_v3_DataSource* msg) {
|
1883
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1884
|
-
|
1960
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1961
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1885
1962
|
}
|
1886
1963
|
UPB_INLINE upb_StringView envoy_config_core_v3_DataSource_environment_variable(const envoy_config_core_v3_DataSource* msg) {
|
1887
1964
|
upb_StringView default_val = upb_StringView_FromString("");
|
1888
1965
|
upb_StringView ret;
|
1889
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1890
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1966
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1967
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1968
|
+
&default_val, &ret);
|
1891
1969
|
return ret;
|
1892
1970
|
}
|
1893
1971
|
UPB_INLINE bool envoy_config_core_v3_DataSource_has_environment_variable(const envoy_config_core_v3_DataSource* msg) {
|
1894
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1895
|
-
return
|
1972
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1973
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1896
1974
|
}
|
1897
1975
|
|
1898
1976
|
UPB_INLINE void envoy_config_core_v3_DataSource_set_filename(envoy_config_core_v3_DataSource *msg, upb_StringView value) {
|
1899
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1900
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1977
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1978
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1901
1979
|
}
|
1902
1980
|
UPB_INLINE void envoy_config_core_v3_DataSource_set_inline_bytes(envoy_config_core_v3_DataSource *msg, upb_StringView value) {
|
1903
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1904
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1981
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1982
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1905
1983
|
}
|
1906
1984
|
UPB_INLINE void envoy_config_core_v3_DataSource_set_inline_string(envoy_config_core_v3_DataSource *msg, upb_StringView value) {
|
1907
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1908
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1985
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1986
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1909
1987
|
}
|
1910
1988
|
UPB_INLINE void envoy_config_core_v3_DataSource_set_environment_variable(envoy_config_core_v3_DataSource *msg, upb_StringView value) {
|
1911
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1912
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1989
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1990
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1913
1991
|
}
|
1914
1992
|
|
1915
1993
|
/* envoy.config.core.v3.RetryPolicy */
|
@@ -1920,7 +1998,8 @@ UPB_INLINE envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RetryPolicy_ne
|
|
1920
1998
|
UPB_INLINE envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RetryPolicy_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1921
1999
|
envoy_config_core_v3_RetryPolicy* ret = envoy_config_core_v3_RetryPolicy_new(arena);
|
1922
2000
|
if (!ret) return NULL;
|
1923
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RetryPolicy_msg_init, NULL, 0, arena) !=
|
2001
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RetryPolicy_msg_init, NULL, 0, arena) !=
|
2002
|
+
kUpb_DecodeStatus_Ok) {
|
1924
2003
|
return NULL;
|
1925
2004
|
}
|
1926
2005
|
return ret;
|
@@ -1930,57 +2009,59 @@ UPB_INLINE envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RetryPolicy_pa
|
|
1930
2009
|
int options, upb_Arena* arena) {
|
1931
2010
|
envoy_config_core_v3_RetryPolicy* ret = envoy_config_core_v3_RetryPolicy_new(arena);
|
1932
2011
|
if (!ret) return NULL;
|
1933
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RetryPolicy_msg_init, extreg, options,
|
1934
|
-
|
2012
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RetryPolicy_msg_init, extreg, options,
|
2013
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1935
2014
|
return NULL;
|
1936
2015
|
}
|
1937
2016
|
return ret;
|
1938
2017
|
}
|
1939
2018
|
UPB_INLINE char* envoy_config_core_v3_RetryPolicy_serialize(const envoy_config_core_v3_RetryPolicy* msg, upb_Arena* arena, size_t* len) {
|
1940
2019
|
char* ptr;
|
1941
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__RetryPolicy_msg_init, 0, arena, &ptr, len);
|
2020
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RetryPolicy_msg_init, 0, arena, &ptr, len);
|
1942
2021
|
return ptr;
|
1943
2022
|
}
|
1944
2023
|
UPB_INLINE char* envoy_config_core_v3_RetryPolicy_serialize_ex(const envoy_config_core_v3_RetryPolicy* msg, int options,
|
1945
2024
|
upb_Arena* arena, size_t* len) {
|
1946
2025
|
char* ptr;
|
1947
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__RetryPolicy_msg_init, options, arena, &ptr, len);
|
2026
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RetryPolicy_msg_init, options, arena, &ptr, len);
|
1948
2027
|
return ptr;
|
1949
2028
|
}
|
1950
2029
|
UPB_INLINE void envoy_config_core_v3_RetryPolicy_clear_retry_back_off(envoy_config_core_v3_RetryPolicy* msg) {
|
1951
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1952
|
-
|
2030
|
+
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)};
|
2031
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1953
2032
|
}
|
1954
2033
|
UPB_INLINE const struct envoy_config_core_v3_BackoffStrategy* envoy_config_core_v3_RetryPolicy_retry_back_off(const envoy_config_core_v3_RetryPolicy* msg) {
|
1955
2034
|
const struct envoy_config_core_v3_BackoffStrategy* default_val = NULL;
|
1956
2035
|
const struct envoy_config_core_v3_BackoffStrategy* ret;
|
1957
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1958
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2036
|
+
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)};
|
2037
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2038
|
+
&default_val, &ret);
|
1959
2039
|
return ret;
|
1960
2040
|
}
|
1961
2041
|
UPB_INLINE bool envoy_config_core_v3_RetryPolicy_has_retry_back_off(const envoy_config_core_v3_RetryPolicy* msg) {
|
1962
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1963
|
-
return
|
2042
|
+
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)};
|
2043
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1964
2044
|
}
|
1965
2045
|
UPB_INLINE void envoy_config_core_v3_RetryPolicy_clear_num_retries(envoy_config_core_v3_RetryPolicy* msg) {
|
1966
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1967
|
-
|
2046
|
+
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)};
|
2047
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1968
2048
|
}
|
1969
2049
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_RetryPolicy_num_retries(const envoy_config_core_v3_RetryPolicy* msg) {
|
1970
2050
|
const struct google_protobuf_UInt32Value* default_val = NULL;
|
1971
2051
|
const struct google_protobuf_UInt32Value* ret;
|
1972
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1973
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2052
|
+
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)};
|
2053
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2054
|
+
&default_val, &ret);
|
1974
2055
|
return ret;
|
1975
2056
|
}
|
1976
2057
|
UPB_INLINE bool envoy_config_core_v3_RetryPolicy_has_num_retries(const envoy_config_core_v3_RetryPolicy* msg) {
|
1977
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1978
|
-
return
|
2058
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2059
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1979
2060
|
}
|
1980
2061
|
|
1981
2062
|
UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_retry_back_off(envoy_config_core_v3_RetryPolicy *msg, struct envoy_config_core_v3_BackoffStrategy* value) {
|
1982
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1983
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2063
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2064
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1984
2065
|
}
|
1985
2066
|
UPB_INLINE struct envoy_config_core_v3_BackoffStrategy* envoy_config_core_v3_RetryPolicy_mutable_retry_back_off(envoy_config_core_v3_RetryPolicy* msg, upb_Arena* arena) {
|
1986
2067
|
struct envoy_config_core_v3_BackoffStrategy* sub = (struct envoy_config_core_v3_BackoffStrategy*)envoy_config_core_v3_RetryPolicy_retry_back_off(msg);
|
@@ -1991,8 +2072,8 @@ UPB_INLINE struct envoy_config_core_v3_BackoffStrategy* envoy_config_core_v3_Ret
|
|
1991
2072
|
return sub;
|
1992
2073
|
}
|
1993
2074
|
UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_num_retries(envoy_config_core_v3_RetryPolicy *msg, struct google_protobuf_UInt32Value* value) {
|
1994
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1995
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2075
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2076
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1996
2077
|
}
|
1997
2078
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_RetryPolicy_mutable_num_retries(envoy_config_core_v3_RetryPolicy* msg, upb_Arena* arena) {
|
1998
2079
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_RetryPolicy_num_retries(msg);
|
@@ -2011,7 +2092,8 @@ UPB_INLINE envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_RemoteDat
|
|
2011
2092
|
UPB_INLINE envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_RemoteDataSource_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2012
2093
|
envoy_config_core_v3_RemoteDataSource* ret = envoy_config_core_v3_RemoteDataSource_new(arena);
|
2013
2094
|
if (!ret) return NULL;
|
2014
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RemoteDataSource_msg_init, NULL, 0, arena) !=
|
2095
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RemoteDataSource_msg_init, NULL, 0, arena) !=
|
2096
|
+
kUpb_DecodeStatus_Ok) {
|
2015
2097
|
return NULL;
|
2016
2098
|
}
|
2017
2099
|
return ret;
|
@@ -2021,68 +2103,71 @@ UPB_INLINE envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_RemoteDat
|
|
2021
2103
|
int options, upb_Arena* arena) {
|
2022
2104
|
envoy_config_core_v3_RemoteDataSource* ret = envoy_config_core_v3_RemoteDataSource_new(arena);
|
2023
2105
|
if (!ret) return NULL;
|
2024
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RemoteDataSource_msg_init, extreg, options,
|
2025
|
-
|
2106
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RemoteDataSource_msg_init, extreg, options,
|
2107
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2026
2108
|
return NULL;
|
2027
2109
|
}
|
2028
2110
|
return ret;
|
2029
2111
|
}
|
2030
2112
|
UPB_INLINE char* envoy_config_core_v3_RemoteDataSource_serialize(const envoy_config_core_v3_RemoteDataSource* msg, upb_Arena* arena, size_t* len) {
|
2031
2113
|
char* ptr;
|
2032
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__RemoteDataSource_msg_init, 0, arena, &ptr, len);
|
2114
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RemoteDataSource_msg_init, 0, arena, &ptr, len);
|
2033
2115
|
return ptr;
|
2034
2116
|
}
|
2035
2117
|
UPB_INLINE char* envoy_config_core_v3_RemoteDataSource_serialize_ex(const envoy_config_core_v3_RemoteDataSource* msg, int options,
|
2036
2118
|
upb_Arena* arena, size_t* len) {
|
2037
2119
|
char* ptr;
|
2038
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__RemoteDataSource_msg_init, options, arena, &ptr, len);
|
2120
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RemoteDataSource_msg_init, options, arena, &ptr, len);
|
2039
2121
|
return ptr;
|
2040
2122
|
}
|
2041
2123
|
UPB_INLINE void envoy_config_core_v3_RemoteDataSource_clear_http_uri(envoy_config_core_v3_RemoteDataSource* msg) {
|
2042
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2043
|
-
|
2124
|
+
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)};
|
2125
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2044
2126
|
}
|
2045
2127
|
UPB_INLINE const struct envoy_config_core_v3_HttpUri* envoy_config_core_v3_RemoteDataSource_http_uri(const envoy_config_core_v3_RemoteDataSource* msg) {
|
2046
2128
|
const struct envoy_config_core_v3_HttpUri* default_val = NULL;
|
2047
2129
|
const struct envoy_config_core_v3_HttpUri* ret;
|
2048
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2049
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2130
|
+
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)};
|
2131
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2132
|
+
&default_val, &ret);
|
2050
2133
|
return ret;
|
2051
2134
|
}
|
2052
2135
|
UPB_INLINE bool envoy_config_core_v3_RemoteDataSource_has_http_uri(const envoy_config_core_v3_RemoteDataSource* msg) {
|
2053
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2054
|
-
return
|
2136
|
+
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)};
|
2137
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2055
2138
|
}
|
2056
2139
|
UPB_INLINE void envoy_config_core_v3_RemoteDataSource_clear_sha256(envoy_config_core_v3_RemoteDataSource* msg) {
|
2057
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2058
|
-
|
2140
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2141
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2059
2142
|
}
|
2060
2143
|
UPB_INLINE upb_StringView envoy_config_core_v3_RemoteDataSource_sha256(const envoy_config_core_v3_RemoteDataSource* msg) {
|
2061
2144
|
upb_StringView default_val = upb_StringView_FromString("");
|
2062
2145
|
upb_StringView ret;
|
2063
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2064
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2146
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2147
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2148
|
+
&default_val, &ret);
|
2065
2149
|
return ret;
|
2066
2150
|
}
|
2067
2151
|
UPB_INLINE void envoy_config_core_v3_RemoteDataSource_clear_retry_policy(envoy_config_core_v3_RemoteDataSource* msg) {
|
2068
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2069
|
-
|
2152
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2153
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2070
2154
|
}
|
2071
2155
|
UPB_INLINE const envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RemoteDataSource_retry_policy(const envoy_config_core_v3_RemoteDataSource* msg) {
|
2072
2156
|
const envoy_config_core_v3_RetryPolicy* default_val = NULL;
|
2073
2157
|
const envoy_config_core_v3_RetryPolicy* ret;
|
2074
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2075
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2158
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2159
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2160
|
+
&default_val, &ret);
|
2076
2161
|
return ret;
|
2077
2162
|
}
|
2078
2163
|
UPB_INLINE bool envoy_config_core_v3_RemoteDataSource_has_retry_policy(const envoy_config_core_v3_RemoteDataSource* msg) {
|
2079
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2080
|
-
return
|
2164
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2165
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2081
2166
|
}
|
2082
2167
|
|
2083
2168
|
UPB_INLINE void envoy_config_core_v3_RemoteDataSource_set_http_uri(envoy_config_core_v3_RemoteDataSource *msg, struct envoy_config_core_v3_HttpUri* value) {
|
2084
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2085
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2169
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2170
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2086
2171
|
}
|
2087
2172
|
UPB_INLINE struct envoy_config_core_v3_HttpUri* envoy_config_core_v3_RemoteDataSource_mutable_http_uri(envoy_config_core_v3_RemoteDataSource* msg, upb_Arena* arena) {
|
2088
2173
|
struct envoy_config_core_v3_HttpUri* sub = (struct envoy_config_core_v3_HttpUri*)envoy_config_core_v3_RemoteDataSource_http_uri(msg);
|
@@ -2093,12 +2178,12 @@ UPB_INLINE struct envoy_config_core_v3_HttpUri* envoy_config_core_v3_RemoteDataS
|
|
2093
2178
|
return sub;
|
2094
2179
|
}
|
2095
2180
|
UPB_INLINE void envoy_config_core_v3_RemoteDataSource_set_sha256(envoy_config_core_v3_RemoteDataSource *msg, upb_StringView value) {
|
2096
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2097
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2181
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2182
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2098
2183
|
}
|
2099
2184
|
UPB_INLINE void envoy_config_core_v3_RemoteDataSource_set_retry_policy(envoy_config_core_v3_RemoteDataSource *msg, envoy_config_core_v3_RetryPolicy* value) {
|
2100
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2101
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2185
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2186
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2102
2187
|
}
|
2103
2188
|
UPB_INLINE struct envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RemoteDataSource_mutable_retry_policy(envoy_config_core_v3_RemoteDataSource* msg, upb_Arena* arena) {
|
2104
2189
|
struct envoy_config_core_v3_RetryPolicy* sub = (struct envoy_config_core_v3_RetryPolicy*)envoy_config_core_v3_RemoteDataSource_retry_policy(msg);
|
@@ -2117,7 +2202,8 @@ UPB_INLINE envoy_config_core_v3_AsyncDataSource* envoy_config_core_v3_AsyncDataS
|
|
2117
2202
|
UPB_INLINE envoy_config_core_v3_AsyncDataSource* envoy_config_core_v3_AsyncDataSource_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2118
2203
|
envoy_config_core_v3_AsyncDataSource* ret = envoy_config_core_v3_AsyncDataSource_new(arena);
|
2119
2204
|
if (!ret) return NULL;
|
2120
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__AsyncDataSource_msg_init, NULL, 0, arena) !=
|
2205
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__AsyncDataSource_msg_init, NULL, 0, arena) !=
|
2206
|
+
kUpb_DecodeStatus_Ok) {
|
2121
2207
|
return NULL;
|
2122
2208
|
}
|
2123
2209
|
return ret;
|
@@ -2127,21 +2213,21 @@ UPB_INLINE envoy_config_core_v3_AsyncDataSource* envoy_config_core_v3_AsyncDataS
|
|
2127
2213
|
int options, upb_Arena* arena) {
|
2128
2214
|
envoy_config_core_v3_AsyncDataSource* ret = envoy_config_core_v3_AsyncDataSource_new(arena);
|
2129
2215
|
if (!ret) return NULL;
|
2130
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__AsyncDataSource_msg_init, extreg, options,
|
2131
|
-
|
2216
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__AsyncDataSource_msg_init, extreg, options,
|
2217
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2132
2218
|
return NULL;
|
2133
2219
|
}
|
2134
2220
|
return ret;
|
2135
2221
|
}
|
2136
2222
|
UPB_INLINE char* envoy_config_core_v3_AsyncDataSource_serialize(const envoy_config_core_v3_AsyncDataSource* msg, upb_Arena* arena, size_t* len) {
|
2137
2223
|
char* ptr;
|
2138
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__AsyncDataSource_msg_init, 0, arena, &ptr, len);
|
2224
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__AsyncDataSource_msg_init, 0, arena, &ptr, len);
|
2139
2225
|
return ptr;
|
2140
2226
|
}
|
2141
2227
|
UPB_INLINE char* envoy_config_core_v3_AsyncDataSource_serialize_ex(const envoy_config_core_v3_AsyncDataSource* msg, int options,
|
2142
2228
|
upb_Arena* arena, size_t* len) {
|
2143
2229
|
char* ptr;
|
2144
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__AsyncDataSource_msg_init, options, arena, &ptr, len);
|
2230
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__AsyncDataSource_msg_init, options, arena, &ptr, len);
|
2145
2231
|
return ptr;
|
2146
2232
|
}
|
2147
2233
|
typedef enum {
|
@@ -2150,43 +2236,46 @@ typedef enum {
|
|
2150
2236
|
envoy_config_core_v3_AsyncDataSource_specifier_NOT_SET = 0
|
2151
2237
|
} envoy_config_core_v3_AsyncDataSource_specifier_oneofcases;
|
2152
2238
|
UPB_INLINE envoy_config_core_v3_AsyncDataSource_specifier_oneofcases envoy_config_core_v3_AsyncDataSource_specifier_case(const envoy_config_core_v3_AsyncDataSource* msg) {
|
2153
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2154
|
-
return (envoy_config_core_v3_AsyncDataSource_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(
|
2239
|
+
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)};
|
2240
|
+
return (envoy_config_core_v3_AsyncDataSource_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(
|
2241
|
+
UPB_UPCAST(msg), &field);
|
2155
2242
|
}
|
2156
2243
|
UPB_INLINE void envoy_config_core_v3_AsyncDataSource_clear_local(envoy_config_core_v3_AsyncDataSource* msg) {
|
2157
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2158
|
-
|
2244
|
+
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)};
|
2245
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2159
2246
|
}
|
2160
2247
|
UPB_INLINE const envoy_config_core_v3_DataSource* envoy_config_core_v3_AsyncDataSource_local(const envoy_config_core_v3_AsyncDataSource* msg) {
|
2161
2248
|
const envoy_config_core_v3_DataSource* default_val = NULL;
|
2162
2249
|
const envoy_config_core_v3_DataSource* ret;
|
2163
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2164
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2250
|
+
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)};
|
2251
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2252
|
+
&default_val, &ret);
|
2165
2253
|
return ret;
|
2166
2254
|
}
|
2167
2255
|
UPB_INLINE bool envoy_config_core_v3_AsyncDataSource_has_local(const envoy_config_core_v3_AsyncDataSource* msg) {
|
2168
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2169
|
-
return
|
2256
|
+
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)};
|
2257
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2170
2258
|
}
|
2171
2259
|
UPB_INLINE void envoy_config_core_v3_AsyncDataSource_clear_remote(envoy_config_core_v3_AsyncDataSource* msg) {
|
2172
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2173
|
-
|
2260
|
+
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)};
|
2261
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2174
2262
|
}
|
2175
2263
|
UPB_INLINE const envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_AsyncDataSource_remote(const envoy_config_core_v3_AsyncDataSource* msg) {
|
2176
2264
|
const envoy_config_core_v3_RemoteDataSource* default_val = NULL;
|
2177
2265
|
const envoy_config_core_v3_RemoteDataSource* ret;
|
2178
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2179
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2266
|
+
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)};
|
2267
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2268
|
+
&default_val, &ret);
|
2180
2269
|
return ret;
|
2181
2270
|
}
|
2182
2271
|
UPB_INLINE bool envoy_config_core_v3_AsyncDataSource_has_remote(const envoy_config_core_v3_AsyncDataSource* msg) {
|
2183
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2184
|
-
return
|
2272
|
+
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)};
|
2273
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2185
2274
|
}
|
2186
2275
|
|
2187
2276
|
UPB_INLINE void envoy_config_core_v3_AsyncDataSource_set_local(envoy_config_core_v3_AsyncDataSource *msg, envoy_config_core_v3_DataSource* value) {
|
2188
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2189
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2277
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2278
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2190
2279
|
}
|
2191
2280
|
UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_config_core_v3_AsyncDataSource_mutable_local(envoy_config_core_v3_AsyncDataSource* msg, upb_Arena* arena) {
|
2192
2281
|
struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_config_core_v3_AsyncDataSource_local(msg);
|
@@ -2197,8 +2286,8 @@ UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_config_core_v3_AsyncDat
|
|
2197
2286
|
return sub;
|
2198
2287
|
}
|
2199
2288
|
UPB_INLINE void envoy_config_core_v3_AsyncDataSource_set_remote(envoy_config_core_v3_AsyncDataSource *msg, envoy_config_core_v3_RemoteDataSource* value) {
|
2200
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2201
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2289
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2290
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2202
2291
|
}
|
2203
2292
|
UPB_INLINE struct envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_AsyncDataSource_mutable_remote(envoy_config_core_v3_AsyncDataSource* msg, upb_Arena* arena) {
|
2204
2293
|
struct envoy_config_core_v3_RemoteDataSource* sub = (struct envoy_config_core_v3_RemoteDataSource*)envoy_config_core_v3_AsyncDataSource_remote(msg);
|
@@ -2217,7 +2306,8 @@ UPB_INLINE envoy_config_core_v3_TransportSocket* envoy_config_core_v3_TransportS
|
|
2217
2306
|
UPB_INLINE envoy_config_core_v3_TransportSocket* envoy_config_core_v3_TransportSocket_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2218
2307
|
envoy_config_core_v3_TransportSocket* ret = envoy_config_core_v3_TransportSocket_new(arena);
|
2219
2308
|
if (!ret) return NULL;
|
2220
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__TransportSocket_msg_init, NULL, 0, arena) !=
|
2309
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__TransportSocket_msg_init, NULL, 0, arena) !=
|
2310
|
+
kUpb_DecodeStatus_Ok) {
|
2221
2311
|
return NULL;
|
2222
2312
|
}
|
2223
2313
|
return ret;
|
@@ -2227,21 +2317,21 @@ UPB_INLINE envoy_config_core_v3_TransportSocket* envoy_config_core_v3_TransportS
|
|
2227
2317
|
int options, upb_Arena* arena) {
|
2228
2318
|
envoy_config_core_v3_TransportSocket* ret = envoy_config_core_v3_TransportSocket_new(arena);
|
2229
2319
|
if (!ret) return NULL;
|
2230
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__TransportSocket_msg_init, extreg, options,
|
2231
|
-
|
2320
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__TransportSocket_msg_init, extreg, options,
|
2321
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2232
2322
|
return NULL;
|
2233
2323
|
}
|
2234
2324
|
return ret;
|
2235
2325
|
}
|
2236
2326
|
UPB_INLINE char* envoy_config_core_v3_TransportSocket_serialize(const envoy_config_core_v3_TransportSocket* msg, upb_Arena* arena, size_t* len) {
|
2237
2327
|
char* ptr;
|
2238
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__TransportSocket_msg_init, 0, arena, &ptr, len);
|
2328
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__TransportSocket_msg_init, 0, arena, &ptr, len);
|
2239
2329
|
return ptr;
|
2240
2330
|
}
|
2241
2331
|
UPB_INLINE char* envoy_config_core_v3_TransportSocket_serialize_ex(const envoy_config_core_v3_TransportSocket* msg, int options,
|
2242
2332
|
upb_Arena* arena, size_t* len) {
|
2243
2333
|
char* ptr;
|
2244
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__TransportSocket_msg_init, options, arena, &ptr, len);
|
2334
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__TransportSocket_msg_init, options, arena, &ptr, len);
|
2245
2335
|
return ptr;
|
2246
2336
|
}
|
2247
2337
|
typedef enum {
|
@@ -2249,43 +2339,46 @@ typedef enum {
|
|
2249
2339
|
envoy_config_core_v3_TransportSocket_config_type_NOT_SET = 0
|
2250
2340
|
} envoy_config_core_v3_TransportSocket_config_type_oneofcases;
|
2251
2341
|
UPB_INLINE envoy_config_core_v3_TransportSocket_config_type_oneofcases envoy_config_core_v3_TransportSocket_config_type_case(const envoy_config_core_v3_TransportSocket* msg) {
|
2252
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2253
|
-
return (envoy_config_core_v3_TransportSocket_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
2342
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2343
|
+
return (envoy_config_core_v3_TransportSocket_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
2344
|
+
UPB_UPCAST(msg), &field);
|
2254
2345
|
}
|
2255
2346
|
UPB_INLINE void envoy_config_core_v3_TransportSocket_clear_name(envoy_config_core_v3_TransportSocket* msg) {
|
2256
|
-
const upb_MiniTableField field = {1,
|
2257
|
-
|
2347
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2348
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2258
2349
|
}
|
2259
2350
|
UPB_INLINE upb_StringView envoy_config_core_v3_TransportSocket_name(const envoy_config_core_v3_TransportSocket* msg) {
|
2260
2351
|
upb_StringView default_val = upb_StringView_FromString("");
|
2261
2352
|
upb_StringView ret;
|
2262
|
-
const upb_MiniTableField field = {1,
|
2263
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2353
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2354
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2355
|
+
&default_val, &ret);
|
2264
2356
|
return ret;
|
2265
2357
|
}
|
2266
2358
|
UPB_INLINE void envoy_config_core_v3_TransportSocket_clear_typed_config(envoy_config_core_v3_TransportSocket* msg) {
|
2267
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2268
|
-
|
2359
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2360
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2269
2361
|
}
|
2270
2362
|
UPB_INLINE const struct google_protobuf_Any* envoy_config_core_v3_TransportSocket_typed_config(const envoy_config_core_v3_TransportSocket* msg) {
|
2271
2363
|
const struct google_protobuf_Any* default_val = NULL;
|
2272
2364
|
const struct google_protobuf_Any* ret;
|
2273
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2274
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2365
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2366
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2367
|
+
&default_val, &ret);
|
2275
2368
|
return ret;
|
2276
2369
|
}
|
2277
2370
|
UPB_INLINE bool envoy_config_core_v3_TransportSocket_has_typed_config(const envoy_config_core_v3_TransportSocket* msg) {
|
2278
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2279
|
-
return
|
2371
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2372
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2280
2373
|
}
|
2281
2374
|
|
2282
2375
|
UPB_INLINE void envoy_config_core_v3_TransportSocket_set_name(envoy_config_core_v3_TransportSocket *msg, upb_StringView value) {
|
2283
|
-
const upb_MiniTableField field = {1,
|
2284
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2376
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2377
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2285
2378
|
}
|
2286
2379
|
UPB_INLINE void envoy_config_core_v3_TransportSocket_set_typed_config(envoy_config_core_v3_TransportSocket *msg, struct google_protobuf_Any* value) {
|
2287
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2288
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2380
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2381
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2289
2382
|
}
|
2290
2383
|
UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_TransportSocket_mutable_typed_config(envoy_config_core_v3_TransportSocket* msg, upb_Arena* arena) {
|
2291
2384
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_core_v3_TransportSocket_typed_config(msg);
|
@@ -2304,7 +2397,8 @@ UPB_INLINE envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_core_v3_R
|
|
2304
2397
|
UPB_INLINE envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_core_v3_RuntimeFractionalPercent_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2305
2398
|
envoy_config_core_v3_RuntimeFractionalPercent* ret = envoy_config_core_v3_RuntimeFractionalPercent_new(arena);
|
2306
2399
|
if (!ret) return NULL;
|
2307
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, NULL, 0, arena) !=
|
2400
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, NULL, 0, arena) !=
|
2401
|
+
kUpb_DecodeStatus_Ok) {
|
2308
2402
|
return NULL;
|
2309
2403
|
}
|
2310
2404
|
return ret;
|
@@ -2314,53 +2408,55 @@ UPB_INLINE envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_core_v3_R
|
|
2314
2408
|
int options, upb_Arena* arena) {
|
2315
2409
|
envoy_config_core_v3_RuntimeFractionalPercent* ret = envoy_config_core_v3_RuntimeFractionalPercent_new(arena);
|
2316
2410
|
if (!ret) return NULL;
|
2317
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, extreg, options,
|
2318
|
-
|
2411
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, extreg, options,
|
2412
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2319
2413
|
return NULL;
|
2320
2414
|
}
|
2321
2415
|
return ret;
|
2322
2416
|
}
|
2323
2417
|
UPB_INLINE char* envoy_config_core_v3_RuntimeFractionalPercent_serialize(const envoy_config_core_v3_RuntimeFractionalPercent* msg, upb_Arena* arena, size_t* len) {
|
2324
2418
|
char* ptr;
|
2325
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, 0, arena, &ptr, len);
|
2419
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, 0, arena, &ptr, len);
|
2326
2420
|
return ptr;
|
2327
2421
|
}
|
2328
2422
|
UPB_INLINE char* envoy_config_core_v3_RuntimeFractionalPercent_serialize_ex(const envoy_config_core_v3_RuntimeFractionalPercent* msg, int options,
|
2329
2423
|
upb_Arena* arena, size_t* len) {
|
2330
2424
|
char* ptr;
|
2331
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, options, arena, &ptr, len);
|
2425
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, options, arena, &ptr, len);
|
2332
2426
|
return ptr;
|
2333
2427
|
}
|
2334
2428
|
UPB_INLINE void envoy_config_core_v3_RuntimeFractionalPercent_clear_default_value(envoy_config_core_v3_RuntimeFractionalPercent* msg) {
|
2335
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2336
|
-
|
2429
|
+
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)};
|
2430
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2337
2431
|
}
|
2338
2432
|
UPB_INLINE const struct envoy_type_v3_FractionalPercent* envoy_config_core_v3_RuntimeFractionalPercent_default_value(const envoy_config_core_v3_RuntimeFractionalPercent* msg) {
|
2339
2433
|
const struct envoy_type_v3_FractionalPercent* default_val = NULL;
|
2340
2434
|
const struct envoy_type_v3_FractionalPercent* ret;
|
2341
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2342
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2435
|
+
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)};
|
2436
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2437
|
+
&default_val, &ret);
|
2343
2438
|
return ret;
|
2344
2439
|
}
|
2345
2440
|
UPB_INLINE bool envoy_config_core_v3_RuntimeFractionalPercent_has_default_value(const envoy_config_core_v3_RuntimeFractionalPercent* msg) {
|
2346
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2347
|
-
return
|
2441
|
+
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)};
|
2442
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2348
2443
|
}
|
2349
2444
|
UPB_INLINE void envoy_config_core_v3_RuntimeFractionalPercent_clear_runtime_key(envoy_config_core_v3_RuntimeFractionalPercent* msg) {
|
2350
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2351
|
-
|
2445
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2446
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2352
2447
|
}
|
2353
2448
|
UPB_INLINE upb_StringView envoy_config_core_v3_RuntimeFractionalPercent_runtime_key(const envoy_config_core_v3_RuntimeFractionalPercent* msg) {
|
2354
2449
|
upb_StringView default_val = upb_StringView_FromString("");
|
2355
2450
|
upb_StringView ret;
|
2356
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2357
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2451
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2452
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2453
|
+
&default_val, &ret);
|
2358
2454
|
return ret;
|
2359
2455
|
}
|
2360
2456
|
|
2361
2457
|
UPB_INLINE void envoy_config_core_v3_RuntimeFractionalPercent_set_default_value(envoy_config_core_v3_RuntimeFractionalPercent *msg, struct envoy_type_v3_FractionalPercent* value) {
|
2362
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2363
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2458
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2459
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2364
2460
|
}
|
2365
2461
|
UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_config_core_v3_RuntimeFractionalPercent_mutable_default_value(envoy_config_core_v3_RuntimeFractionalPercent* msg, upb_Arena* arena) {
|
2366
2462
|
struct envoy_type_v3_FractionalPercent* sub = (struct envoy_type_v3_FractionalPercent*)envoy_config_core_v3_RuntimeFractionalPercent_default_value(msg);
|
@@ -2371,8 +2467,8 @@ UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_config_core_v3_RuntimeF
|
|
2371
2467
|
return sub;
|
2372
2468
|
}
|
2373
2469
|
UPB_INLINE void envoy_config_core_v3_RuntimeFractionalPercent_set_runtime_key(envoy_config_core_v3_RuntimeFractionalPercent *msg, upb_StringView value) {
|
2374
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2375
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2470
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2471
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2376
2472
|
}
|
2377
2473
|
|
2378
2474
|
/* envoy.config.core.v3.ControlPlane */
|
@@ -2383,7 +2479,8 @@ UPB_INLINE envoy_config_core_v3_ControlPlane* envoy_config_core_v3_ControlPlane_
|
|
2383
2479
|
UPB_INLINE envoy_config_core_v3_ControlPlane* envoy_config_core_v3_ControlPlane_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2384
2480
|
envoy_config_core_v3_ControlPlane* ret = envoy_config_core_v3_ControlPlane_new(arena);
|
2385
2481
|
if (!ret) return NULL;
|
2386
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__ControlPlane_msg_init, NULL, 0, arena) !=
|
2482
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__ControlPlane_msg_init, NULL, 0, arena) !=
|
2483
|
+
kUpb_DecodeStatus_Ok) {
|
2387
2484
|
return NULL;
|
2388
2485
|
}
|
2389
2486
|
return ret;
|
@@ -2393,38 +2490,39 @@ UPB_INLINE envoy_config_core_v3_ControlPlane* envoy_config_core_v3_ControlPlane_
|
|
2393
2490
|
int options, upb_Arena* arena) {
|
2394
2491
|
envoy_config_core_v3_ControlPlane* ret = envoy_config_core_v3_ControlPlane_new(arena);
|
2395
2492
|
if (!ret) return NULL;
|
2396
|
-
if (upb_Decode(buf, size, ret, &envoy__config__core__v3__ControlPlane_msg_init, extreg, options,
|
2397
|
-
|
2493
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__ControlPlane_msg_init, extreg, options,
|
2494
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2398
2495
|
return NULL;
|
2399
2496
|
}
|
2400
2497
|
return ret;
|
2401
2498
|
}
|
2402
2499
|
UPB_INLINE char* envoy_config_core_v3_ControlPlane_serialize(const envoy_config_core_v3_ControlPlane* msg, upb_Arena* arena, size_t* len) {
|
2403
2500
|
char* ptr;
|
2404
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__ControlPlane_msg_init, 0, arena, &ptr, len);
|
2501
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__ControlPlane_msg_init, 0, arena, &ptr, len);
|
2405
2502
|
return ptr;
|
2406
2503
|
}
|
2407
2504
|
UPB_INLINE char* envoy_config_core_v3_ControlPlane_serialize_ex(const envoy_config_core_v3_ControlPlane* msg, int options,
|
2408
2505
|
upb_Arena* arena, size_t* len) {
|
2409
2506
|
char* ptr;
|
2410
|
-
(void)upb_Encode(msg, &envoy__config__core__v3__ControlPlane_msg_init, options, arena, &ptr, len);
|
2507
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__ControlPlane_msg_init, options, arena, &ptr, len);
|
2411
2508
|
return ptr;
|
2412
2509
|
}
|
2413
2510
|
UPB_INLINE void envoy_config_core_v3_ControlPlane_clear_identifier(envoy_config_core_v3_ControlPlane* msg) {
|
2414
|
-
const upb_MiniTableField field = {1,
|
2415
|
-
|
2511
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2512
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2416
2513
|
}
|
2417
2514
|
UPB_INLINE upb_StringView envoy_config_core_v3_ControlPlane_identifier(const envoy_config_core_v3_ControlPlane* msg) {
|
2418
2515
|
upb_StringView default_val = upb_StringView_FromString("");
|
2419
2516
|
upb_StringView ret;
|
2420
|
-
const upb_MiniTableField field = {1,
|
2421
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2517
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2518
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2519
|
+
&default_val, &ret);
|
2422
2520
|
return ret;
|
2423
2521
|
}
|
2424
2522
|
|
2425
2523
|
UPB_INLINE void envoy_config_core_v3_ControlPlane_set_identifier(envoy_config_core_v3_ControlPlane *msg, upb_StringView value) {
|
2426
|
-
const upb_MiniTableField field = {1,
|
2427
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2524
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2525
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2428
2526
|
}
|
2429
2527
|
|
2430
2528
|
#ifdef __cplusplus
|