grpc 1.62.0 → 1.64.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +463 -2007
- 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/credentials.h +1222 -0
- 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 +8 -8
- data/include/grpc/grpc_audit_logging.h +1 -2
- data/include/grpc/grpc_crl_provider.h +3 -2
- data/include/grpc/grpc_cronet.h +1 -2
- data/include/grpc/grpc_posix.h +1 -2
- data/include/grpc/grpc_security.h +1 -1173
- data/include/grpc/impl/call.h +1 -2
- data/include/grpc/impl/channel_arg_names.h +4 -3
- data/include/grpc/impl/grpc_types.h +1 -2
- data/include/grpc/impl/slice_type.h +2 -2
- data/include/grpc/module.modulemap +2 -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 +3 -3
- 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/{lib/channel → channelz}/channel_trace.cc +56 -62
- data/src/core/{lib/channel → channelz}/channel_trace.h +21 -19
- data/src/core/{lib/channel → channelz}/channelz.cc +68 -6
- data/src/core/{lib/channel → channelz}/channelz.h +54 -12
- data/src/core/{lib/channel → channelz}/channelz_registry.cc +7 -6
- data/src/core/{lib/channel → channelz}/channelz_registry.h +7 -7
- data/src/core/client_channel/client_channel_filter.cc +106 -100
- data/src/core/client_channel/client_channel_filter.h +8 -18
- data/src/core/client_channel/client_channel_internal.h +4 -3
- data/src/core/client_channel/client_channel_service_config.h +5 -4
- data/src/core/client_channel/config_selector.h +5 -4
- data/src/core/client_channel/connector.h +1 -1
- data/src/core/client_channel/dynamic_filters.cc +3 -2
- data/src/core/client_channel/dynamic_filters.h +1 -1
- data/src/core/client_channel/local_subchannel_pool.cc +5 -3
- data/src/core/client_channel/retry_filter.cc +1 -1
- data/src/core/client_channel/retry_filter.h +4 -3
- data/src/core/client_channel/retry_filter_legacy_call_data.cc +6 -5
- 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 +15 -14
- data/src/core/client_channel/subchannel.h +7 -8
- data/src/core/client_channel/subchannel_pool_interface.h +1 -1
- data/src/core/client_channel/subchannel_stream_client.cc +6 -8
- data/src/core/client_channel/subchannel_stream_client.h +2 -2
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +7 -52
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +2 -14
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +27 -25
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h +10 -11
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +8 -9
- data/src/core/ext/filters/fault_injection/fault_injection_filter.h +4 -4
- data/src/core/ext/filters/http/client/http_client_filter.cc +5 -4
- data/src/core/ext/filters/http/client/http_client_filter.h +5 -5
- data/src/core/ext/filters/http/client_authority_filter.cc +4 -3
- data/src/core/ext/filters/http/client_authority_filter.h +5 -4
- data/src/core/ext/filters/http/http_filters_plugin.cc +15 -35
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +17 -15
- data/src/core/ext/filters/http/message_compress/compression_filter.h +10 -9
- data/src/core/ext/filters/http/server/http_server_filter.cc +3 -3
- data/src/core/ext/filters/http/server/http_server_filter.h +5 -5
- data/src/core/ext/filters/message_size/message_size_filter.cc +24 -28
- data/src/core/ext/filters/message_size/message_size_filter.h +8 -6
- data/src/core/ext/filters/rbac/rbac_filter.cc +5 -7
- data/src/core/ext/filters/rbac/rbac_filter.h +5 -5
- data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +2 -2
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +12 -12
- data/src/core/ext/filters/stateful_session/stateful_session_filter.h +3 -2
- data/src/core/ext/gcp/metadata_query.cc +4 -3
- data/src/core/ext/gcp/metadata_query.h +2 -2
- data/src/core/ext/transport/chttp2/alpn/alpn.cc +4 -3
- data/src/core/ext/transport/chttp2/alpn/alpn.h +2 -2
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +17 -22
- data/src/core/ext/transport/chttp2/client/chttp2_connector.h +2 -3
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +48 -11
- data/src/core/ext/transport/chttp2/server/chttp2_server.h +3 -3
- data/src/core/ext/transport/chttp2/transport/bin_decoder.cc +6 -6
- data/src/core/ext/transport/chttp2/transport/bin_decoder.h +1 -2
- data/src/core/ext/transport/chttp2/transport/bin_encoder.cc +8 -7
- data/src/core/ext/transport/chttp2/transport/bin_encoder.h +1 -2
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +81 -136
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +25 -7
- data/src/core/ext/transport/chttp2/transport/context_list_entry.h +15 -12
- data/src/core/ext/transport/chttp2/transport/decode_huff.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/decode_huff.h +2 -2
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +4 -4
- data/src/core/ext/transport/chttp2/transport/flow_control.h +4 -4
- data/src/core/ext/transport/chttp2/transport/frame.cc +4 -4
- data/src/core/ext/transport/chttp2/transport/frame.h +2 -2
- data/src/core/ext/transport/chttp2/transport/frame_data.cc +3 -3
- data/src/core/ext/transport/chttp2/transport/frame_data.h +1 -2
- data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +5 -5
- data/src/core/ext/transport/chttp2/transport/frame_goaway.h +1 -2
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +3 -3
- data/src/core/ext/transport/chttp2/transport/frame_ping.h +1 -2
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +3 -3
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -2
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +1 -2
- data/src/core/ext/transport/chttp2/transport/frame_settings.h +1 -2
- data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +4 -4
- data/src/core/ext/transport/chttp2/transport/frame_window_update.h +1 -2
- data/src/core/ext/transport/chttp2/transport/hpack_constants.h +2 -2
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +4 -3
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +1 -2
- data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc +10 -9
- data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +2 -2
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +4 -3
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +3 -3
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +25 -73
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +1 -4
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.cc +5 -5
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +2 -2
- data/src/core/ext/transport/chttp2/transport/http2_settings.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/http2_settings.h +2 -2
- data/src/core/ext/transport/chttp2/transport/http_trace.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/huffsyms.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/internal.h +13 -11
- data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc +4 -3
- data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h +2 -2
- data/src/core/ext/transport/chttp2/transport/parsing.cc +19 -24
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc +1 -2
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.h +2 -2
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +3 -3
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.h +1 -2
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +1 -2
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +2 -2
- data/src/core/ext/transport/chttp2/transport/stream_lists.cc +7 -6
- data/src/core/ext/transport/chttp2/transport/varint.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/varint.h +4 -3
- data/src/core/ext/transport/chttp2/transport/write_size_policy.cc +4 -3
- data/src/core/ext/transport/chttp2/transport/write_size_policy.h +2 -2
- data/src/core/ext/transport/chttp2/transport/writing.cc +69 -53
- data/src/core/ext/transport/inproc/inproc_transport.cc +36 -26
- data/src/core/ext/transport/inproc/inproc_transport.h +1 -2
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +16 -16
- data/src/core/ext/transport/inproc/legacy_inproc_transport.h +1 -2
- 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/handshaker/endpoint_info/endpoint_info_handshaker.cc +80 -0
- data/src/core/handshaker/endpoint_info/endpoint_info_handshaker.h +37 -0
- data/src/core/{lib/transport → handshaker}/handshaker.cc +8 -6
- data/src/core/{lib/transport → handshaker}/handshaker.h +4 -5
- data/src/core/{lib/transport → handshaker}/handshaker_factory.h +20 -5
- data/src/core/{lib/transport → handshaker}/handshaker_registry.cc +3 -3
- data/src/core/{lib/transport → handshaker}/handshaker_registry.h +6 -6
- data/src/core/{lib/transport → handshaker/http_connect}/http_connect_handshaker.cc +5 -6
- data/src/core/{lib/transport → handshaker/http_connect}/http_connect_handshaker.h +3 -3
- data/src/core/{client_channel → handshaker/http_connect}/http_proxy_mapper.cc +9 -10
- data/src/core/{client_channel → handshaker/http_connect}/http_proxy_mapper.h +7 -7
- data/src/core/{lib/handshaker → handshaker}/proxy_mapper.h +5 -5
- data/src/core/{lib/handshaker → handshaker}/proxy_mapper_registry.cc +3 -3
- data/src/core/{lib/handshaker → handshaker}/proxy_mapper_registry.h +6 -6
- data/src/core/{lib/security/transport → handshaker/security}/secure_endpoint.cc +5 -5
- data/src/core/{lib/security/transport → handshaker/security}/secure_endpoint.h +4 -5
- data/src/core/{lib/security/transport → handshaker/security}/security_handshaker.cc +29 -20
- data/src/core/{lib/security/transport → handshaker/security}/security_handshaker.h +8 -7
- data/src/core/{lib/security/transport → handshaker/security}/tsi_error.cc +2 -2
- data/src/core/{lib/security/transport → handshaker/security}/tsi_error.h +3 -3
- data/src/core/{lib/transport → handshaker/tcp_connect}/tcp_connect_handshaker.cc +8 -8
- data/src/core/{lib/transport → handshaker/tcp_connect}/tcp_connect_handshaker.h +3 -3
- data/src/core/lib/address_utils/parse_address.cc +13 -4
- data/src/core/lib/address_utils/parse_address.h +2 -2
- data/src/core/lib/address_utils/sockaddr_utils.cc +23 -10
- data/src/core/lib/address_utils/sockaddr_utils.h +2 -2
- data/src/core/lib/avl/avl.h +2 -2
- data/src/core/lib/backoff/backoff.cc +2 -2
- data/src/core/lib/backoff/backoff.h +2 -2
- data/src/core/lib/backoff/random_early_detection.cc +2 -2
- data/src/core/lib/backoff/random_early_detection.h +2 -2
- data/src/core/lib/channel/call_finalization.h +3 -3
- data/src/core/lib/channel/call_tracer.cc +10 -11
- data/src/core/lib/channel/call_tracer.h +15 -14
- data/src/core/lib/channel/channel_args.cc +4 -4
- data/src/core/lib/channel/channel_args.h +1 -2
- data/src/core/lib/channel/channel_args_preconditioning.cc +2 -2
- data/src/core/lib/channel/channel_args_preconditioning.h +1 -2
- data/src/core/lib/channel/channel_stack.cc +17 -7
- data/src/core/lib/channel/channel_stack.h +6 -2
- data/src/core/lib/channel/channel_stack_builder.cc +2 -2
- data/src/core/lib/channel/channel_stack_builder.h +2 -2
- data/src/core/lib/channel/channel_stack_builder_impl.cc +135 -2
- data/src/core/lib/channel/channel_stack_builder_impl.h +2 -2
- data/src/core/lib/channel/channel_stack_trace.cc +2 -2
- data/src/core/lib/channel/connected_channel.cc +25 -43
- data/src/core/lib/channel/context.h +29 -1
- data/src/core/lib/channel/metrics.cc +334 -0
- data/src/core/lib/channel/metrics.h +365 -0
- data/src/core/lib/channel/promise_based_filter.cc +70 -75
- data/src/core/lib/channel/promise_based_filter.h +251 -154
- data/src/core/lib/channel/status_util.cc +2 -2
- data/src/core/lib/channel/status_util.h +1 -2
- data/src/core/lib/channel/tcp_tracer.h +6 -2
- data/src/core/lib/compression/compression.cc +1 -2
- data/src/core/lib/compression/compression_internal.cc +36 -3
- data/src/core/lib/compression/compression_internal.h +4 -2
- data/src/core/lib/compression/message_compress.cc +9 -8
- data/src/core/lib/compression/message_compress.h +1 -2
- data/src/core/lib/config/config_vars.cc +8 -6
- data/src/core/lib/config/config_vars.h +6 -2
- data/src/core/lib/config/config_vars_non_generated.cc +2 -2
- data/src/core/lib/config/core_configuration.cc +9 -8
- data/src/core/lib/config/core_configuration.h +8 -8
- data/src/core/lib/config/load_config.cc +4 -4
- data/src/core/lib/config/load_config.h +2 -2
- data/src/core/lib/debug/event_log.cc +3 -3
- data/src/core/lib/debug/event_log.h +2 -2
- data/src/core/lib/debug/histogram_view.cc +2 -2
- data/src/core/lib/debug/histogram_view.h +2 -2
- data/src/core/lib/debug/stats.cc +2 -2
- data/src/core/lib/debug/stats.h +2 -2
- data/src/core/lib/debug/stats_data.cc +271 -28
- data/src/core/lib/debug/stats_data.h +178 -2
- data/src/core/lib/debug/trace.cc +1 -2
- data/src/core/lib/debug/trace.h +2 -2
- data/src/core/lib/event_engine/ares_resolver.cc +18 -19
- data/src/core/lib/event_engine/ares_resolver.h +2 -2
- data/src/core/lib/event_engine/cf_engine/cf_engine.cc +3 -1
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +3 -3
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +2 -1
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.h +2 -1
- data/src/core/lib/event_engine/channel_args_endpoint_config.cc +1 -2
- data/src/core/lib/event_engine/channel_args_endpoint_config.h +1 -2
- data/src/core/lib/event_engine/common_closures.h +1 -2
- data/src/core/lib/event_engine/default_event_engine.cc +1 -2
- data/src/core/lib/event_engine/default_event_engine.h +1 -8
- data/src/core/lib/event_engine/default_event_engine_factory.cc +1 -2
- data/src/core/lib/event_engine/default_event_engine_factory.h +1 -2
- data/src/core/lib/event_engine/event_engine.cc +1 -2
- data/src/core/lib/event_engine/event_engine_context.h +30 -0
- data/src/core/lib/event_engine/extensions/can_track_errors.h +2 -2
- data/src/core/lib/event_engine/extensions/chaotic_good_extension.h +65 -0
- data/src/core/lib/event_engine/extensions/supports_fd.h +1 -2
- data/src/core/lib/event_engine/forkable.cc +7 -6
- data/src/core/lib/event_engine/forkable.h +1 -2
- data/src/core/lib/event_engine/grpc_polled_fd.h +1 -2
- data/src/core/lib/event_engine/handle_containers.h +1 -2
- data/src/core/lib/event_engine/memory_allocator_factory.h +1 -2
- data/src/core/lib/event_engine/poller.h +1 -2
- data/src/core/lib/event_engine/posix.h +9 -2
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +8 -8
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +1 -2
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +11 -11
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +1 -2
- data/src/core/lib/event_engine/posix_engine/event_poller.h +1 -2
- data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +2 -2
- data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +2 -2
- data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +1 -2
- data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +1 -2
- data/src/core/lib/event_engine/posix_engine/internal_errqueue.h +2 -2
- data/src/core/lib/event_engine/posix_engine/lockfree_event.cc +3 -3
- data/src/core/lib/event_engine/posix_engine/lockfree_event.h +2 -2
- data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h +2 -2
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +24 -25
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +11 -11
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +10 -10
- data/src/core/lib/event_engine/posix_engine/posix_engine.h +1 -2
- data/src/core/lib/event_engine/posix_engine/posix_engine_closure.h +1 -2
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +4 -3
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.h +1 -2
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +7 -6
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.h +1 -2
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +10 -3
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +3 -3
- data/src/core/lib/event_engine/posix_engine/timer.cc +1 -2
- data/src/core/lib/event_engine/posix_engine/timer.h +1 -2
- data/src/core/lib/event_engine/posix_engine/timer_heap.cc +2 -2
- data/src/core/lib/event_engine/posix_engine/timer_heap.h +2 -2
- data/src/core/lib/event_engine/posix_engine/timer_manager.cc +5 -5
- data/src/core/lib/event_engine/posix_engine/timer_manager.h +1 -2
- data/src/core/lib/event_engine/posix_engine/traced_buffer_list.cc +1 -2
- data/src/core/lib/event_engine/posix_engine/traced_buffer_list.h +1 -2
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +2 -2
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.h +2 -2
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +2 -2
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.h +2 -2
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h +2 -2
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.cc +2 -2
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.h +2 -2
- data/src/core/lib/event_engine/query_extensions.h +3 -2
- data/src/core/lib/event_engine/ref_counted_dns_resolver_interface.h +1 -2
- data/src/core/lib/event_engine/resolved_address.cc +5 -4
- data/src/core/lib/event_engine/resolved_address_internal.h +1 -2
- data/src/core/lib/event_engine/shim.cc +2 -2
- data/src/core/lib/event_engine/slice.cc +4 -3
- data/src/core/lib/event_engine/slice_buffer.cc +1 -2
- data/src/core/lib/event_engine/tcp_socket_utils.cc +20 -9
- data/src/core/lib/event_engine/tcp_socket_utils.h +3 -4
- data/src/core/lib/event_engine/thread_local.cc +2 -2
- data/src/core/lib/event_engine/thread_pool/thread_count.cc +1 -2
- data/src/core/lib/event_engine/thread_pool/thread_count.h +1 -2
- data/src/core/lib/event_engine/thread_pool/thread_pool.h +1 -2
- data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +2 -2
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +8 -8
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +1 -2
- data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.cc +2 -2
- data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.h +1 -2
- data/src/core/lib/event_engine/time_util.cc +1 -2
- data/src/core/lib/event_engine/time_util.h +1 -2
- data/src/core/lib/event_engine/trace.cc +2 -2
- data/src/core/lib/event_engine/trace.h +1 -2
- data/src/core/lib/event_engine/utils.cc +1 -2
- data/src/core/lib/event_engine/utils.h +1 -2
- data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +31 -30
- data/src/core/lib/event_engine/windows/iocp.cc +10 -8
- data/src/core/lib/event_engine/windows/win_socket.cc +11 -5
- data/src/core/lib/event_engine/windows/win_socket.h +3 -0
- data/src/core/lib/event_engine/windows/windows_endpoint.cc +13 -12
- data/src/core/lib/event_engine/windows/windows_engine.cc +48 -14
- data/src/core/lib/event_engine/windows/windows_listener.cc +61 -12
- data/src/core/lib/event_engine/windows/windows_listener.h +14 -0
- data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +2 -2
- data/src/core/lib/event_engine/work_queue/basic_work_queue.h +1 -2
- data/src/core/lib/event_engine/work_queue/work_queue.h +1 -2
- data/src/core/lib/experiments/config.cc +66 -48
- data/src/core/lib/experiments/config.h +2 -2
- data/src/core/lib/experiments/experiments.cc +42 -246
- data/src/core/lib/experiments/experiments.h +26 -124
- data/src/core/lib/gpr/alloc.cc +3 -1
- 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/sync.cc +25 -23
- data/src/core/lib/gpr/posix/time.cc +9 -66
- data/src/core/lib/gpr/posix/tmpfile.cc +3 -1
- data/src/core/lib/gpr/sync.cc +5 -3
- data/src/core/lib/gpr/time.cc +10 -8
- data/src/core/lib/gpr/windows/log.cc +1 -1
- data/src/core/lib/gpr/windows/sync.cc +3 -1
- data/src/core/lib/gpr/windows/time.cc +4 -1
- data/src/core/lib/gprpp/atomic_utils.h +2 -2
- data/src/core/lib/gprpp/bitset.h +2 -2
- data/src/core/lib/gprpp/chunked_vector.h +6 -5
- data/src/core/lib/gprpp/construct_destruct.h +2 -2
- data/src/core/lib/gprpp/crash.cc +1 -2
- data/src/core/lib/gprpp/crash.h +2 -2
- data/src/core/lib/gprpp/debug_location.h +2 -2
- data/src/core/lib/gprpp/directory_reader.h +2 -2
- data/src/core/lib/gprpp/down_cast.h +7 -7
- data/src/core/lib/gprpp/dual_ref_counted.h +26 -17
- data/src/core/lib/gprpp/env.h +2 -2
- data/src/core/lib/gprpp/examine_stack.cc +2 -2
- data/src/core/lib/gprpp/examine_stack.h +2 -2
- data/src/core/lib/gprpp/fork.cc +1 -2
- data/src/core/lib/gprpp/fork.h +2 -2
- data/src/core/lib/gprpp/host_port.cc +6 -4
- data/src/core/lib/gprpp/host_port.h +2 -2
- data/src/core/lib/gprpp/linux/env.cc +2 -2
- data/src/core/lib/gprpp/load_file.cc +4 -3
- data/src/core/lib/gprpp/load_file.h +2 -2
- data/src/core/lib/gprpp/manual_constructor.h +2 -2
- data/src/core/lib/gprpp/match.h +2 -2
- data/src/core/lib/gprpp/memory.h +1 -2
- data/src/core/lib/gprpp/mpscq.cc +2 -2
- data/src/core/lib/gprpp/mpscq.h +5 -4
- data/src/core/lib/gprpp/no_destruct.h +2 -2
- data/src/core/lib/gprpp/notification.h +2 -2
- data/src/core/lib/gprpp/orphanable.h +7 -4
- data/src/core/lib/gprpp/overload.h +2 -2
- data/src/core/lib/gprpp/per_cpu.cc +1 -2
- data/src/core/lib/gprpp/per_cpu.h +1 -2
- data/src/core/lib/gprpp/posix/directory_reader.cc +2 -2
- data/src/core/lib/gprpp/posix/stat.cc +6 -4
- data/src/core/lib/gprpp/posix/thd.cc +10 -10
- data/src/core/lib/gprpp/ref_counted.h +10 -6
- data/src/core/lib/gprpp/ref_counted_ptr.h +4 -3
- data/src/core/lib/gprpp/ref_counted_string.cc +1 -2
- data/src/core/lib/gprpp/ref_counted_string.h +2 -2
- data/src/core/lib/gprpp/single_set_ptr.h +4 -3
- data/src/core/lib/gprpp/sorted_pack.h +2 -2
- data/src/core/lib/gprpp/stat.h +2 -2
- data/src/core/lib/gprpp/status_helper.cc +3 -3
- data/src/core/lib/gprpp/status_helper.h +2 -2
- data/src/core/lib/gprpp/strerror.cc +2 -2
- data/src/core/lib/gprpp/strerror.h +2 -2
- data/src/core/lib/gprpp/sync.h +5 -5
- data/src/core/lib/gprpp/table.h +2 -2
- data/src/core/lib/gprpp/tchar.cc +2 -2
- data/src/core/lib/gprpp/thd.h +7 -7
- data/src/core/lib/gprpp/time.cc +6 -6
- data/src/core/lib/gprpp/time.h +7 -2
- data/src/core/lib/gprpp/time_averaged_stats.cc +2 -2
- data/src/core/lib/gprpp/time_util.cc +5 -4
- data/src/core/lib/gprpp/time_util.h +1 -2
- data/src/core/lib/gprpp/unique_type_name.h +2 -2
- data/src/core/lib/gprpp/uuid_v4.cc +37 -0
- data/src/core/lib/gprpp/uuid_v4.h +36 -0
- data/src/core/lib/gprpp/validation_errors.cc +2 -2
- data/src/core/lib/gprpp/validation_errors.h +2 -2
- data/src/core/lib/gprpp/windows/stat.cc +4 -2
- data/src/core/lib/gprpp/windows/thd.cc +4 -2
- data/src/core/lib/gprpp/work_serializer.cc +5 -5
- data/src/core/lib/gprpp/work_serializer.h +1 -2
- data/src/core/lib/http/format_request.cc +1 -2
- data/src/core/lib/http/format_request.h +1 -2
- data/src/core/lib/http/httpcli.cc +6 -6
- data/src/core/lib/http/httpcli.h +2 -3
- data/src/core/lib/http/httpcli_security_connector.cc +4 -4
- data/src/core/lib/http/httpcli_ssl_credentials.h +1 -2
- data/src/core/lib/http/parser.cc +5 -5
- data/src/core/lib/http/parser.h +1 -2
- data/src/core/lib/iomgr/buffer_list.cc +1 -2
- data/src/core/lib/iomgr/buffer_list.h +1 -2
- data/src/core/lib/iomgr/call_combiner.cc +5 -4
- data/src/core/lib/iomgr/call_combiner.h +1 -2
- data/src/core/lib/iomgr/closure.cc +2 -2
- data/src/core/lib/iomgr/closure.h +4 -3
- data/src/core/lib/iomgr/combiner.cc +7 -6
- data/src/core/lib/iomgr/combiner.h +1 -2
- data/src/core/lib/iomgr/endpoint.cc +2 -2
- data/src/core/lib/iomgr/endpoint.h +1 -2
- data/src/core/lib/iomgr/endpoint_cfstream.cc +7 -5
- data/src/core/lib/iomgr/endpoint_pair_posix.cc +5 -4
- data/src/core/lib/iomgr/endpoint_pair_windows.cc +11 -10
- data/src/core/lib/iomgr/error.cc +3 -3
- data/src/core/lib/iomgr/error.h +3 -3
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +14 -13
- data/src/core/lib/iomgr/ev_poll_posix.cc +9 -9
- data/src/core/lib/iomgr/ev_posix.cc +1 -2
- data/src/core/lib/iomgr/ev_posix.h +2 -2
- data/src/core/lib/iomgr/event_engine_shims/closure.cc +1 -2
- data/src/core/lib/iomgr/event_engine_shims/closure.h +1 -2
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +3 -3
- data/src/core/lib/iomgr/event_engine_shims/endpoint.h +1 -2
- data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +1 -2
- data/src/core/lib/iomgr/event_engine_shims/tcp_client.h +1 -2
- data/src/core/lib/iomgr/exec_ctx.cc +5 -5
- data/src/core/lib/iomgr/exec_ctx.h +6 -4
- data/src/core/lib/iomgr/executor.cc +7 -8
- data/src/core/lib/iomgr/grpc_if_nametoindex.h +2 -2
- data/src/core/lib/iomgr/internal_errqueue.cc +1 -2
- data/src/core/lib/iomgr/iocp_windows.cc +9 -6
- data/src/core/lib/iomgr/iocp_windows.h +0 -1
- data/src/core/lib/iomgr/iomgr.cc +1 -2
- data/src/core/lib/iomgr/iomgr.h +2 -2
- data/src/core/lib/iomgr/iomgr_internal.cc +2 -2
- data/src/core/lib/iomgr/iomgr_internal.h +2 -2
- data/src/core/lib/iomgr/iomgr_windows.cc +4 -2
- data/src/core/lib/iomgr/lockfree_event.cc +4 -3
- data/src/core/lib/iomgr/lockfree_event.h +1 -2
- data/src/core/lib/iomgr/polling_entity.cc +5 -5
- data/src/core/lib/iomgr/pollset.cc +2 -2
- data/src/core/lib/iomgr/pollset.h +0 -1
- data/src/core/lib/iomgr/pollset_set.cc +2 -2
- data/src/core/lib/iomgr/pollset_set_windows.cc +2 -2
- data/src/core/lib/iomgr/pollset_windows.h +0 -1
- data/src/core/lib/iomgr/port.h +3 -0
- data/src/core/lib/iomgr/python_util.h +1 -2
- data/src/core/lib/iomgr/resolve_address.cc +1 -2
- data/src/core/lib/iomgr/resolve_address.h +1 -2
- data/src/core/lib/iomgr/resolve_address_impl.h +2 -2
- data/src/core/lib/iomgr/resolve_address_posix.h +2 -2
- data/src/core/lib/iomgr/resolve_address_windows.h +2 -2
- data/src/core/lib/iomgr/resolved_address.h +2 -2
- data/src/core/lib/iomgr/sockaddr_utils_posix.cc +3 -1
- data/src/core/lib/iomgr/socket_factory_posix.h +1 -2
- data/src/core/lib/iomgr/socket_mutator.cc +1 -2
- data/src/core/lib/iomgr/socket_mutator.h +1 -2
- data/src/core/lib/iomgr/socket_utils.h +2 -2
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +3 -1
- data/src/core/lib/iomgr/socket_utils_posix.cc +2 -2
- data/src/core/lib/iomgr/socket_utils_posix.h +1 -2
- data/src/core/lib/iomgr/socket_windows.cc +4 -3
- data/src/core/lib/iomgr/tcp_client.cc +2 -2
- data/src/core/lib/iomgr/tcp_client.h +1 -2
- data/src/core/lib/iomgr/tcp_client_posix.cc +5 -4
- data/src/core/lib/iomgr/tcp_client_windows.cc +31 -10
- data/src/core/lib/iomgr/tcp_posix.cc +89 -41
- data/src/core/lib/iomgr/tcp_server.cc +2 -2
- data/src/core/lib/iomgr/tcp_server.h +1 -2
- data/src/core/lib/iomgr/tcp_server_posix.cc +123 -109
- data/src/core/lib/iomgr/tcp_server_utils_posix.h +2 -2
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +6 -6
- data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +2 -1
- data/src/core/lib/iomgr/tcp_server_windows.cc +75 -23
- data/src/core/lib/iomgr/tcp_windows.cc +8 -6
- data/src/core/lib/iomgr/timer.cc +2 -2
- data/src/core/lib/iomgr/timer.h +1 -2
- data/src/core/lib/iomgr/timer_generic.cc +3 -3
- data/src/core/lib/iomgr/timer_generic.h +0 -1
- data/src/core/lib/iomgr/timer_heap.cc +1 -2
- data/src/core/lib/iomgr/timer_manager.cc +4 -3
- data/src/core/lib/iomgr/timer_manager.h +2 -2
- data/src/core/lib/iomgr/unix_sockets_posix.cc +15 -1
- data/src/core/lib/iomgr/unix_sockets_posix.h +1 -2
- data/src/core/lib/iomgr/unix_sockets_posix_noop.cc +3 -1
- data/src/core/lib/iomgr/vsock.cc +2 -2
- data/src/core/lib/iomgr/vsock.h +1 -2
- data/src/core/lib/json/json.h +1 -2
- data/src/core/lib/json/json_args.h +2 -2
- data/src/core/lib/json/json_channel_args.h +2 -2
- data/src/core/lib/json/json_object_loader.cc +1 -2
- data/src/core/lib/json/json_object_loader.h +2 -2
- data/src/core/lib/json/json_reader.cc +4 -4
- data/src/core/lib/json/json_reader.h +2 -2
- data/src/core/lib/json/json_util.cc +2 -2
- data/src/core/lib/json/json_util.h +2 -2
- data/src/core/lib/json/json_writer.cc +2 -2
- data/src/core/lib/json/json_writer.h +2 -2
- data/src/core/lib/matchers/matchers.cc +2 -2
- data/src/core/lib/matchers/matchers.h +2 -2
- data/src/core/lib/promise/activity.cc +4 -3
- data/src/core/lib/promise/activity.h +8 -7
- data/src/core/lib/promise/all_ok.h +2 -2
- data/src/core/lib/promise/arena_promise.h +2 -2
- data/src/core/lib/promise/context.h +5 -5
- data/src/core/lib/promise/detail/join_state.h +11 -10
- data/src/core/lib/promise/detail/promise_factory.h +2 -2
- data/src/core/lib/promise/detail/promise_like.h +2 -2
- data/src/core/lib/promise/detail/seq_state.h +194 -194
- data/src/core/lib/promise/detail/status.h +4 -3
- data/src/core/lib/promise/exec_ctx_wakeup_scheduler.h +2 -2
- data/src/core/lib/promise/for_each.h +88 -27
- data/src/core/lib/promise/if.h +2 -2
- data/src/core/lib/promise/interceptor_list.h +3 -3
- data/src/core/lib/promise/latch.h +8 -8
- data/src/core/lib/promise/loop.h +2 -2
- data/src/core/lib/promise/map.h +2 -2
- data/src/core/lib/promise/party.cc +45 -15
- data/src/core/lib/promise/party.h +21 -23
- data/src/core/lib/promise/pipe.h +15 -15
- data/src/core/lib/promise/poll.h +6 -5
- data/src/core/lib/promise/prioritized_race.h +2 -2
- data/src/core/lib/promise/promise.h +2 -2
- data/src/core/lib/promise/race.h +2 -2
- data/src/core/lib/promise/seq.h +2 -2
- data/src/core/lib/promise/sleep.cc +2 -3
- data/src/core/lib/promise/sleep.h +1 -2
- data/src/core/lib/promise/status_flag.h +16 -8
- data/src/core/lib/promise/trace.cc +2 -2
- data/src/core/lib/promise/try_join.h +4 -3
- data/src/core/lib/promise/try_seq.h +4 -3
- data/src/core/lib/resource_quota/api.cc +1 -2
- data/src/core/lib/resource_quota/api.h +1 -2
- data/src/core/lib/resource_quota/arena.cc +1 -2
- data/src/core/lib/resource_quota/arena.h +4 -2
- data/src/core/lib/resource_quota/connection_quota.cc +70 -0
- data/src/core/lib/resource_quota/connection_quota.h +61 -0
- data/src/core/lib/resource_quota/memory_quota.cc +11 -11
- data/src/core/lib/resource_quota/memory_quota.h +4 -4
- data/src/core/lib/resource_quota/periodic_update.cc +2 -2
- data/src/core/lib/resource_quota/periodic_update.h +2 -2
- data/src/core/lib/resource_quota/resource_quota.cc +2 -2
- data/src/core/lib/resource_quota/resource_quota.h +1 -2
- data/src/core/lib/resource_quota/thread_quota.cc +4 -3
- data/src/core/lib/resource_quota/thread_quota.h +2 -2
- data/src/core/lib/resource_quota/trace.cc +2 -2
- data/src/core/lib/security/authorization/audit_logging.cc +6 -6
- data/src/core/lib/security/authorization/audit_logging.h +1 -2
- data/src/core/lib/security/authorization/authorization_engine.h +2 -2
- data/src/core/lib/security/authorization/authorization_policy_provider.h +1 -2
- data/src/core/lib/security/authorization/authorization_policy_provider_vtable.cc +1 -2
- data/src/core/lib/security/authorization/evaluate_args.cc +7 -7
- data/src/core/lib/security/authorization/evaluate_args.h +4 -5
- data/src/core/lib/security/authorization/grpc_authorization_engine.cc +4 -3
- data/src/core/lib/security/authorization/grpc_authorization_engine.h +1 -2
- data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +8 -12
- data/src/core/lib/security/authorization/grpc_server_authz_filter.h +7 -9
- data/src/core/lib/security/authorization/matchers.cc +1 -2
- data/src/core/lib/security/authorization/matchers.h +2 -2
- data/src/core/lib/security/authorization/rbac_policy.cc +2 -2
- data/src/core/lib/security/authorization/rbac_policy.h +1 -2
- data/src/core/lib/security/authorization/stdout_logger.cc +4 -3
- data/src/core/lib/security/authorization/stdout_logger.h +1 -2
- data/src/core/lib/security/certificate_provider/certificate_provider_factory.h +2 -2
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.cc +4 -3
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.h +2 -2
- data/src/core/lib/security/context/security_context.cc +5 -3
- data/src/core/lib/security/context/security_context.h +2 -2
- data/src/core/lib/security/credentials/alts/alts_credentials.cc +1 -2
- data/src/core/lib/security/credentials/alts/alts_credentials.h +2 -2
- data/src/core/lib/security/credentials/alts/check_gcp_environment.cc +1 -2
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc +1 -2
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc +1 -2
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.h +2 -2
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc +1 -2
- data/src/core/lib/security/credentials/call_creds_util.cc +1 -2
- data/src/core/lib/security/credentials/call_creds_util.h +2 -2
- data/src/core/lib/security/credentials/channel_creds_registry.h +2 -2
- data/src/core/lib/security/credentials/channel_creds_registry_init.cc +2 -2
- data/src/core/lib/security/credentials/composite/composite_credentials.cc +9 -8
- data/src/core/lib/security/credentials/composite/composite_credentials.h +2 -2
- data/src/core/lib/security/credentials/credentials.cc +4 -3
- data/src/core/lib/security/credentials/credentials.h +5 -4
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +5 -4
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.h +2 -2
- data/src/core/lib/security/credentials/external/aws_request_signer.cc +2 -2
- data/src/core/lib/security/credentials/external/aws_request_signer.h +2 -2
- data/src/core/lib/security/credentials/external/external_account_credentials.cc +7 -6
- data/src/core/lib/security/credentials/external/external_account_credentials.h +2 -2
- data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +1 -2
- data/src/core/lib/security/credentials/external/file_external_account_credentials.h +2 -2
- data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +4 -3
- data/src/core/lib/security/credentials/external/url_external_account_credentials.h +2 -2
- data/src/core/lib/security/credentials/fake/fake_credentials.cc +2 -2
- data/src/core/lib/security/credentials/fake/fake_credentials.h +2 -2
- data/src/core/lib/security/credentials/google_default/credentials_generic.cc +1 -2
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +8 -7
- data/src/core/lib/security/credentials/google_default/google_default_credentials.h +2 -2
- data/src/core/lib/security/credentials/iam/iam_credentials.cc +5 -5
- data/src/core/lib/security/credentials/iam/iam_credentials.h +2 -2
- data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +2 -2
- data/src/core/lib/security/credentials/insecure/insecure_credentials.h +2 -2
- data/src/core/lib/security/credentials/jwt/json_token.cc +13 -8
- data/src/core/lib/security/credentials/jwt/json_token.h +1 -2
- data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +4 -3
- data/src/core/lib/security/credentials/jwt/jwt_credentials.h +2 -2
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +26 -31
- data/src/core/lib/security/credentials/jwt/jwt_verifier.h +1 -2
- data/src/core/lib/security/credentials/local/local_credentials.cc +1 -2
- data/src/core/lib/security/credentials/local/local_credentials.h +2 -2
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +9 -8
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +2 -2
- data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +3 -3
- data/src/core/lib/security/credentials/plugin/plugin_credentials.h +2 -2
- data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +13 -13
- data/src/core/lib/security/credentials/ssl/ssl_credentials.h +5 -3
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +26 -25
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.h +2 -2
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc +2 -2
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +7 -6
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +3 -3
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc +3 -3
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h +4 -3
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +19 -18
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +1 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +19 -12
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +8 -5
- data/src/core/lib/security/credentials/tls/tls_credentials.cc +1 -2
- data/src/core/lib/security/credentials/tls/tls_credentials.h +2 -2
- data/src/core/lib/security/credentials/tls/tls_utils.cc +1 -2
- data/src/core/lib/security/credentials/tls/tls_utils.h +1 -2
- data/src/core/lib/security/credentials/xds/xds_credentials.cc +7 -7
- data/src/core/lib/security/credentials/xds/xds_credentials.h +3 -3
- data/src/core/lib/security/security_connector/alts/alts_security_connector.cc +14 -14
- data/src/core/lib/security/security_connector/alts/alts_security_connector.h +2 -2
- data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +5 -5
- data/src/core/lib/security/security_connector/fake/fake_security_connector.h +2 -2
- data/src/core/lib/security/security_connector/insecure/insecure_security_connector.cc +6 -5
- data/src/core/lib/security/security_connector/insecure/insecure_security_connector.h +3 -3
- data/src/core/lib/security/security_connector/load_system_roots.h +4 -2
- data/src/core/lib/security/security_connector/load_system_roots_fallback.cc +3 -2
- data/src/core/lib/security/security_connector/load_system_roots_supported.cc +2 -2
- data/src/core/lib/security/security_connector/load_system_roots_supported.h +1 -2
- data/src/core/lib/security/security_connector/load_system_roots_windows.cc +87 -0
- data/src/core/lib/security/security_connector/local/local_security_connector.cc +11 -11
- data/src/core/lib/security/security_connector/local/local_security_connector.h +2 -2
- data/src/core/lib/security/security_connector/security_connector.cc +7 -6
- data/src/core/lib/security/security_connector/security_connector.h +3 -3
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +6 -6
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +2 -2
- data/src/core/lib/security/security_connector/ssl_utils.cc +10 -9
- data/src/core/lib/security/security_connector/ssl_utils.h +1 -2
- data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +13 -13
- data/src/core/lib/security/security_connector/tls/tls_security_connector.h +3 -3
- data/src/core/lib/security/transport/auth_filters.h +11 -36
- data/src/core/lib/security/transport/client_auth_filter.cc +6 -5
- data/src/core/lib/security/transport/server_auth_filter.cc +7 -5
- data/src/core/lib/security/util/json_util.cc +1 -2
- data/src/core/lib/slice/percent_encoding.cc +4 -3
- data/src/core/lib/slice/slice.cc +42 -15
- data/src/core/lib/slice/slice.h +4 -4
- data/src/core/lib/slice/slice_buffer.cc +64 -25
- data/src/core/lib/slice/slice_buffer.h +15 -3
- data/src/core/lib/slice/slice_internal.h +10 -3
- data/src/core/lib/slice/slice_refcount.cc +2 -2
- data/src/core/lib/slice/slice_refcount.h +1 -2
- data/src/core/lib/slice/slice_string_helpers.cc +2 -2
- data/src/core/lib/slice/slice_string_helpers.h +1 -2
- data/src/core/lib/surface/api_trace.cc +2 -2
- data/src/core/lib/surface/api_trace.h +1 -2
- data/src/core/lib/surface/byte_buffer.cc +1 -2
- data/src/core/lib/surface/byte_buffer_reader.cc +4 -3
- data/src/core/lib/surface/call.cc +212 -339
- data/src/core/lib/surface/call.h +181 -11
- data/src/core/lib/surface/call_details.cc +1 -2
- data/src/core/lib/surface/call_log_batch.cc +1 -2
- data/src/core/lib/surface/call_test_only.h +1 -2
- data/src/core/lib/surface/call_trace.h +0 -6
- data/src/core/lib/surface/channel.cc +111 -321
- data/src/core/lib/surface/channel.h +90 -110
- data/src/core/lib/surface/channel_create.cc +110 -0
- data/src/core/lib/surface/{builtins.cc → channel_create.h} +21 -16
- data/src/core/lib/surface/channel_init.cc +13 -12
- data/src/core/lib/surface/channel_init.h +31 -10
- data/src/core/lib/surface/channel_stack_type.cc +2 -2
- data/src/core/lib/surface/completion_queue.cc +17 -18
- data/src/core/lib/surface/completion_queue.h +1 -2
- data/src/core/lib/surface/completion_queue_factory.cc +9 -8
- data/src/core/lib/surface/completion_queue_factory.h +1 -2
- data/src/core/lib/surface/event_string.cc +2 -2
- data/src/core/lib/surface/event_string.h +1 -2
- data/src/core/lib/surface/init.cc +10 -16
- data/src/core/lib/surface/init_internally.cc +2 -2
- data/src/core/lib/surface/lame_client.cc +12 -40
- data/src/core/lib/surface/lame_client.h +13 -13
- data/src/core/lib/surface/legacy_channel.cc +414 -0
- data/src/core/lib/surface/legacy_channel.h +123 -0
- data/src/core/lib/surface/metadata_array.cc +1 -2
- data/src/core/lib/surface/validate_metadata.cc +1 -2
- data/src/core/lib/surface/validate_metadata.h +3 -3
- data/src/core/lib/surface/version.cc +3 -4
- data/src/core/lib/surface/wait_for_cq_end_op.cc +2 -2
- data/src/core/lib/transport/batch_builder.cc +14 -21
- data/src/core/lib/transport/batch_builder.h +6 -10
- data/src/core/lib/transport/bdp_estimator.cc +5 -3
- data/src/core/lib/transport/bdp_estimator.h +4 -4
- data/src/core/lib/transport/{call_size_estimator.cc → call_arena_allocator.cc} +3 -3
- data/src/core/lib/transport/{call_size_estimator.h → call_arena_allocator.h} +26 -5
- data/src/core/lib/transport/call_filters.cc +143 -28
- data/src/core/lib/transport/call_filters.h +412 -63
- data/src/core/lib/transport/call_final_info.cc +2 -2
- data/src/core/lib/transport/call_final_info.h +1 -2
- data/src/core/lib/transport/call_spine.cc +18 -19
- data/src/core/lib/transport/call_spine.h +393 -190
- data/src/core/lib/transport/connectivity_state.cc +1 -2
- data/src/core/lib/transport/connectivity_state.h +1 -2
- data/src/core/lib/transport/error_utils.cc +1 -2
- data/src/core/lib/transport/error_utils.h +1 -2
- data/src/core/lib/transport/message.cc +1 -2
- data/src/core/lib/transport/metadata.cc +3 -3
- data/src/core/lib/transport/metadata_batch.cc +68 -7
- data/src/core/lib/transport/metadata_batch.h +45 -20
- data/src/core/lib/transport/metadata_compression_traits.h +2 -2
- 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/parsed_metadata.cc +2 -2
- data/src/core/lib/transport/parsed_metadata.h +1 -2
- data/src/core/lib/transport/simple_slice_based_metadata.h +2 -2
- data/src/core/lib/transport/status_conversion.cc +2 -2
- data/src/core/lib/transport/status_conversion.h +1 -2
- data/src/core/lib/transport/timeout_encoding.cc +5 -5
- data/src/core/lib/transport/timeout_encoding.h +2 -2
- data/src/core/lib/transport/transport.cc +1 -2
- data/src/core/lib/transport/transport.h +41 -38
- data/src/core/lib/transport/transport_op_string.cc +1 -10
- data/src/core/lib/uri/uri_parser.cc +3 -3
- data/src/core/lib/uri/uri_parser.h +2 -2
- data/src/core/load_balancing/address_filtering.cc +3 -3
- data/src/core/load_balancing/address_filtering.h +3 -3
- data/src/core/load_balancing/backend_metric_data.h +2 -2
- data/src/core/{client_channel/backend_metric.cc → load_balancing/backend_metric_parser.cc} +3 -3
- data/src/core/{client_channel/backend_metric.h → load_balancing/backend_metric_parser.h} +5 -5
- data/src/core/load_balancing/child_policy_handler.cc +7 -7
- data/src/core/load_balancing/child_policy_handler.h +2 -2
- data/src/core/load_balancing/delegating_helper.h +10 -3
- data/src/core/load_balancing/endpoint_list.cc +7 -9
- data/src/core/load_balancing/endpoint_list.h +15 -9
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.cc +28 -30
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +21 -8
- data/src/core/load_balancing/grpclb/grpclb.cc +65 -70
- data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc +2 -2
- data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.h +1 -2
- data/src/core/load_balancing/grpclb/grpclb_client_stats.cc +1 -2
- data/src/core/load_balancing/grpclb/grpclb_client_stats.h +2 -3
- data/src/core/load_balancing/grpclb/load_balancer_api.cc +1 -2
- data/src/core/load_balancing/grpclb/load_balancer_api.h +2 -3
- data/src/core/load_balancing/health_check_client.cc +10 -11
- data/src/core/load_balancing/health_check_client.h +2 -2
- data/src/core/load_balancing/health_check_client_internal.h +5 -7
- data/src/core/load_balancing/lb_policy.cc +2 -2
- data/src/core/load_balancing/lb_policy.h +14 -6
- data/src/core/load_balancing/lb_policy_factory.h +2 -2
- data/src/core/load_balancing/lb_policy_registry.cc +3 -3
- data/src/core/load_balancing/lb_policy_registry.h +4 -4
- data/src/core/load_balancing/oob_backend_metric.cc +10 -11
- data/src/core/load_balancing/oob_backend_metric.h +3 -3
- data/src/core/load_balancing/oob_backend_metric_internal.h +7 -8
- data/src/core/load_balancing/outlier_detection/outlier_detection.cc +32 -32
- data/src/core/load_balancing/outlier_detection/outlier_detection.h +2 -2
- data/src/core/load_balancing/pick_first/pick_first.cc +1152 -245
- data/src/core/load_balancing/priority/priority.cc +23 -17
- data/src/core/load_balancing/ring_hash/ring_hash.cc +42 -25
- data/src/core/load_balancing/ring_hash/ring_hash.h +3 -3
- data/src/core/load_balancing/rls/rls.cc +225 -95
- data/src/core/load_balancing/rls/rls.h +26 -0
- data/src/core/load_balancing/round_robin/round_robin.cc +33 -477
- data/src/core/load_balancing/subchannel_interface.h +4 -4
- data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc +4 -4
- data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h +3 -3
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +203 -988
- data/src/core/load_balancing/weighted_target/weighted_target.cc +20 -17
- data/src/core/load_balancing/weighted_target/weighted_target.h +28 -0
- data/src/core/load_balancing/xds/cds.cc +19 -20
- data/src/core/load_balancing/xds/xds_cluster_impl.cc +113 -67
- data/src/core/load_balancing/xds/xds_cluster_manager.cc +8 -9
- data/src/core/load_balancing/xds/xds_override_host.cc +21 -21
- data/src/core/load_balancing/xds/xds_override_host.h +3 -3
- data/src/core/load_balancing/xds/xds_wrr_locality.cc +11 -11
- data/src/core/plugin_registry/grpc_plugin_registry.cc +23 -9
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +1 -3
- data/src/core/resolver/binder/binder_resolver.cc +12 -5
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +13 -13
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.h +2 -2
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h +3 -3
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +6 -5
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +38 -37
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +14 -14
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.h +1 -2
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +1 -1
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +1 -1
- data/src/core/resolver/dns/dns_resolver_plugin.cc +4 -5
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +7 -7
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h +6 -4
- data/src/core/resolver/dns/event_engine/service_config_helper.cc +2 -2
- data/src/core/resolver/dns/event_engine/service_config_helper.h +2 -2
- data/src/core/resolver/dns/native/dns_resolver.cc +6 -7
- data/src/core/resolver/endpoint_addresses.cc +4 -4
- data/src/core/resolver/endpoint_addresses.h +6 -6
- data/src/core/resolver/fake/fake_resolver.cc +6 -6
- data/src/core/resolver/fake/fake_resolver.h +2 -3
- data/src/core/resolver/google_c2p/google_c2p_resolver.cc +18 -13
- data/src/core/resolver/polling_resolver.cc +5 -5
- data/src/core/resolver/polling_resolver.h +1 -2
- data/src/core/resolver/resolver.cc +2 -2
- data/src/core/resolver/resolver.h +2 -2
- data/src/core/resolver/resolver_factory.h +3 -3
- data/src/core/resolver/resolver_registry.cc +5 -5
- data/src/core/resolver/resolver_registry.h +5 -5
- data/src/core/resolver/sockaddr/sockaddr_resolver.cc +8 -9
- data/src/core/resolver/xds/xds_dependency_manager.cc +19 -13
- data/src/core/resolver/xds/xds_dependency_manager.h +12 -12
- data/src/core/resolver/xds/xds_resolver.cc +36 -40
- data/src/core/resolver/xds/xds_resolver_attributes.h +3 -3
- data/src/core/resolver/xds/xds_resolver_trace.cc +2 -2
- data/src/core/{lib/surface → server}/server.cc +81 -94
- data/src/core/{lib/surface → server}/server.h +16 -13
- data/src/core/{lib/channel → server}/server_call_tracer_filter.cc +10 -5
- data/src/core/{lib/surface/builtins.h → server/server_call_tracer_filter.h} +7 -5
- data/src/core/{ext/filters/server_config_selector → server}/server_config_selector.h +5 -5
- data/src/core/{ext/filters/server_config_selector → server}/server_config_selector_filter.cc +37 -37
- data/src/core/{ext/filters/server_config_selector → server}/server_config_selector_filter.h +3 -3
- data/src/core/server/server_interface.h +43 -0
- data/src/core/{ext/xds → server}/xds_channel_stack_modifier.cc +3 -3
- data/src/core/{ext/xds → server}/xds_channel_stack_modifier.h +6 -6
- data/src/core/{ext/xds → server}/xds_server_config_fetcher.cc +43 -41
- data/src/core/service_config/service_config.h +1 -2
- data/src/core/service_config/service_config_call_data.h +2 -2
- data/src/core/{client_channel → service_config}/service_config_channel_arg_filter.cc +7 -8
- data/src/core/service_config/service_config_impl.cc +2 -2
- data/src/core/service_config/service_config_impl.h +3 -3
- data/src/core/service_config/service_config_parser.cc +1 -2
- data/src/core/service_config/service_config_parser.h +3 -3
- data/src/core/tsi/alts/crypt/aes_gcm.cc +1 -2
- data/src/core/tsi/alts/crypt/gsec.cc +1 -2
- data/src/core/tsi/alts/crypt/gsec.h +1 -2
- data/src/core/tsi/alts/frame_protector/alts_counter.cc +1 -2
- data/src/core/tsi/alts/frame_protector/alts_counter.h +1 -2
- data/src/core/tsi/alts/frame_protector/alts_crypter.cc +1 -2
- data/src/core/tsi/alts/frame_protector/alts_crypter.h +1 -2
- data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +1 -2
- data/src/core/tsi/alts/frame_protector/alts_frame_protector.h +2 -2
- data/src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc +1 -2
- data/src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.h +1 -2
- data/src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc +1 -2
- data/src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc +1 -2
- data/src/core/tsi/alts/frame_protector/frame_handler.cc +1 -2
- data/src/core/tsi/alts/frame_protector/frame_handler.h +2 -2
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +44 -41
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.h +1 -2
- data/src/core/tsi/alts/handshaker/alts_shared_resource.cc +5 -4
- data/src/core/tsi/alts/handshaker/alts_shared_resource.h +1 -2
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +23 -20
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.h +1 -2
- data/src/core/tsi/alts/handshaker/alts_tsi_utils.cc +5 -4
- data/src/core/tsi/alts/handshaker/alts_tsi_utils.h +1 -2
- data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +2 -2
- data/src/core/tsi/alts/handshaker/transport_security_common_api.h +1 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc +5 -4
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.h +2 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc +1 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.h +2 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol.h +1 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc +9 -5
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc +1 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.h +2 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +5 -4
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +2 -2
- data/src/core/tsi/fake_transport_security.cc +6 -4
- data/src/core/tsi/local_transport_security.cc +1 -2
- data/src/core/tsi/local_transport_security.h +1 -2
- data/src/core/tsi/ssl/key_logging/ssl_key_logging.cc +7 -6
- data/src/core/tsi/ssl/key_logging/ssl_key_logging.h +1 -2
- data/src/core/tsi/ssl/session_cache/ssl_session.h +1 -2
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +11 -10
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.h +1 -2
- data/src/core/tsi/ssl/session_cache/ssl_session_openssl.cc +3 -4
- data/src/core/tsi/ssl_transport_security.cc +218 -89
- data/src/core/tsi/ssl_transport_security.h +1 -2
- data/src/core/tsi/ssl_transport_security_utils.cc +138 -10
- data/src/core/tsi/ssl_transport_security_utils.h +28 -2
- data/src/core/tsi/ssl_types.h +2 -2
- data/src/core/tsi/transport_security.cc +1 -2
- data/src/core/tsi/transport_security.h +2 -2
- data/src/core/tsi/transport_security_grpc.cc +2 -2
- data/src/core/tsi/transport_security_grpc.h +1 -2
- data/src/core/tsi/transport_security_interface.h +2 -2
- data/src/core/{ext/xds → xds/grpc}/certificate_provider_store.cc +2 -3
- data/src/core/{ext/xds → xds/grpc}/certificate_provider_store.h +7 -7
- data/src/core/{ext/xds → xds/grpc}/file_watcher_certificate_provider_factory.cc +2 -3
- data/src/core/{ext/xds → xds/grpc}/file_watcher_certificate_provider_factory.h +6 -7
- data/src/core/{ext/xds → xds/grpc}/upb_utils.h +5 -5
- data/src/core/{ext/xds → xds/grpc}/xds_audit_logger_registry.cc +6 -5
- data/src/core/{ext/xds → xds/grpc}/xds_audit_logger_registry.h +7 -7
- data/src/core/{ext/xds → xds/grpc}/xds_bootstrap_grpc.cc +40 -9
- data/src/core/{ext/xds → xds/grpc}/xds_bootstrap_grpc.h +33 -18
- data/src/core/{ext/xds → xds/grpc}/xds_certificate_provider.cc +7 -7
- data/src/core/{ext/xds → xds/grpc}/xds_certificate_provider.h +5 -6
- data/src/core/{ext/xds → xds/grpc}/xds_client_grpc.cc +208 -66
- data/src/core/{ext/xds → xds/grpc}/xds_client_grpc.h +30 -17
- data/src/core/{ext/xds → xds/grpc}/xds_cluster.cc +27 -18
- data/src/core/{ext/xds → xds/grpc}/xds_cluster.h +16 -14
- data/src/core/{ext/xds → xds/grpc}/xds_cluster_specifier_plugin.cc +4 -4
- data/src/core/{ext/xds → xds/grpc}/xds_cluster_specifier_plugin.h +8 -8
- data/src/core/{ext/xds → xds/grpc}/xds_common_types.cc +5 -6
- data/src/core/{ext/xds → xds/grpc}/xds_common_types.h +6 -6
- data/src/core/{ext/xds → xds/grpc}/xds_endpoint.cc +10 -9
- data/src/core/{ext/xds → xds/grpc}/xds_endpoint.h +11 -11
- data/src/core/{ext/xds → xds/grpc}/xds_health_status.cc +3 -3
- data/src/core/{ext/xds → xds/grpc}/xds_health_status.h +7 -7
- data/src/core/{ext/xds → xds/grpc}/xds_http_fault_filter.cc +4 -5
- data/src/core/{ext/xds → xds/grpc}/xds_http_fault_filter.h +9 -9
- data/src/core/{ext/xds → xds/grpc}/xds_http_filters.cc +8 -9
- data/src/core/{ext/xds → xds/grpc}/xds_http_filters.h +9 -9
- data/src/core/{ext/xds → xds/grpc}/xds_http_rbac_filter.cc +6 -7
- data/src/core/{ext/xds → xds/grpc}/xds_http_rbac_filter.h +9 -9
- data/src/core/{ext/xds → xds/grpc}/xds_http_stateful_session_filter.cc +5 -6
- data/src/core/{ext/xds → xds/grpc}/xds_http_stateful_session_filter.h +9 -9
- data/src/core/{ext/xds → xds/grpc}/xds_lb_policy_registry.cc +8 -9
- data/src/core/{ext/xds → xds/grpc}/xds_lb_policy_registry.h +7 -7
- data/src/core/{ext/xds → xds/grpc}/xds_listener.cc +8 -8
- data/src/core/{ext/xds → xds/grpc}/xds_listener.h +13 -13
- data/src/core/{ext/xds → xds/grpc}/xds_route_config.cc +16 -16
- data/src/core/{ext/xds → xds/grpc}/xds_route_config.h +12 -12
- data/src/core/{ext/xds → xds/grpc}/xds_routing.cc +6 -6
- data/src/core/{ext/xds → xds/grpc}/xds_routing.h +9 -9
- data/src/core/{ext/xds → xds/grpc}/xds_transport_grpc.cc +31 -46
- data/src/core/{ext/xds → xds/grpc}/xds_transport_grpc.h +12 -13
- data/src/core/{ext/xds → xds/xds_client}/xds_api.cc +4 -5
- data/src/core/{ext/xds → xds/xds_client}/xds_api.h +8 -8
- data/src/core/{ext/xds → xds/xds_client}/xds_bootstrap.cc +3 -3
- data/src/core/{ext/xds → xds/xds_client}/xds_bootstrap.h +7 -9
- data/src/core/{ext/xds → xds/xds_client}/xds_channel_args.h +3 -3
- data/src/core/{ext/xds → xds/xds_client}/xds_client.cc +304 -120
- data/src/core/{ext/xds → xds/xds_client}/xds_client.h +50 -18
- data/src/core/{ext/xds → xds/xds_client}/xds_client_stats.cc +5 -6
- data/src/core/{ext/xds → xds/xds_client}/xds_client_stats.h +20 -13
- data/src/core/xds/xds_client/xds_metrics.h +41 -0
- data/src/core/{ext/xds → xds/xds_client}/xds_resource_type.h +6 -6
- data/src/core/{ext/xds → xds/xds_client}/xds_resource_type_impl.h +7 -7
- data/src/core/{ext/xds → xds/xds_client}/xds_transport.h +6 -6
- data/src/ruby/ext/grpc/extconf.rb +0 -3
- data/src/ruby/ext/grpc/rb_call_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_call_credentials.h +1 -0
- data/src/ruby/ext/grpc/rb_channel.c +1 -0
- data/src/ruby/ext/grpc/rb_channel_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_grpc.c +1 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +130 -132
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +196 -198
- data/src/ruby/ext/grpc/rb_server.c +1 -0
- data/src/ruby/ext/grpc/rb_server_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_server_credentials.h +1 -0
- data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_xds_server_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_xds_server_credentials.h +1 -0
- 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/check.h +209 -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/check_impl.h +150 -0
- data/third_party/abseil-cpp/absl/log/internal/check_op.cc +118 -0
- data/third_party/abseil-cpp/absl/log/internal/check_op.h +420 -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 +3 -8
- data/third_party/boringssl-with-bazel/src/crypto/bio/file.c +25 -10
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbs.c +0 -13
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/unicode.c +3 -2
- data/third_party/boringssl-with-bazel/src/crypto/chacha/chacha.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/chacha/internal.h +19 -15
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_des.c +63 -94
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_null.c +7 -3
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_rc2.c +20 -28
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_rc4.c +9 -4
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/tls_cbc.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.c +7 -7
- 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/digest_extra/digest_extra.c +1 -0
- data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa.c +26 -17
- data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa_asn1.c +3 -2
- data/third_party/boringssl-with-bazel/src/crypto/err/err.c +81 -60
- data/third_party/boringssl-with-bazel/src/crypto/evp/evp.c +41 -120
- data/third_party/boringssl-with-bazel/src/crypto/evp/evp_asn1.c +13 -13
- data/third_party/boringssl-with-bazel/src/crypto/evp/internal.h +7 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_dh.c +137 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_dh_asn1.c +120 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_dsa_asn1.c +30 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec.c +3 -4
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec_asn1.c +30 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ed25519.c +1 -4
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa_asn1.c +30 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_x25519.c +1 -4
- data/third_party/boringssl-with-bazel/src/crypto/ex_data.c +6 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bytes.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/div.c +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/div_extra.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/exponentiation.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd_extra.c +8 -5
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery_inv.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/mul.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/prime.c +14 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/random.c +2 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/internal.h +0 -3
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_key.c +11 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/scalar.c +5 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.h +2 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa.c +11 -11
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.c +22 -8
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/service_indicator/service_indicator.c +3 -6
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/internal.h +73 -29
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha1.c +4 -4
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha256.c +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha512.c +4 -4
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/tls/kdf.c +7 -0
- data/third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c +2 -0
- data/third_party/boringssl-with-bazel/src/crypto/internal.h +45 -21
- data/third_party/boringssl-with-bazel/src/crypto/kyber/internal.h +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/mem.c +18 -9
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_lib.c +18 -17
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_pk8.c +44 -41
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_pkey.c +13 -12
- data/third_party/boringssl-with-bazel/src/crypto/spx/spx.c +7 -6
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c +26 -33
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +8 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/rsa_pss.c +5 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_cpols.c +9 -4
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_crld.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_info.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_lib.c +2 -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 +51 -78
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +5 -12
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +13 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_algor.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c +1 -6
- data/third_party/boringssl-with-bazel/{err_data.c → src/gen/crypto/err_data.c} +487 -485
- data/third_party/boringssl-with-bazel/src/include/openssl/asn1.h +10 -10
- data/third_party/boringssl-with-bazel/src/include/openssl/base.h +10 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +80 -39
- data/third_party/boringssl-with-bazel/src/include/openssl/bytestring.h +12 -4
- data/third_party/boringssl-with-bazel/src/include/openssl/crypto.h +1 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/dh.h +17 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/dsa.h +10 -3
- data/third_party/boringssl-with-bazel/src/include/openssl/err.h +13 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +25 -14
- data/third_party/boringssl-with-bazel/src/include/openssl/evp_errors.h +1 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/ex_data.h +15 -3
- data/third_party/boringssl-with-bazel/src/{crypto/spx/internal.h → include/openssl/experimental/spx.h} +24 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/obj.h +2 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/pem.h +63 -53
- data/third_party/boringssl-with-bazel/src/include/openssl/posix_time.h +6 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/rand.h +19 -10
- 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 +291 -73
- data/third_party/boringssl-with-bazel/src/include/openssl/stack.h +10 -3
- data/third_party/boringssl-with-bazel/src/include/openssl/target.h +13 -10
- data/third_party/boringssl-with-bazel/src/include/openssl/tls1.h +2 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +2959 -2403
- data/third_party/boringssl-with-bazel/src/ssl/dtls_record.cc +5 -5
- data/third_party/boringssl-with-bazel/src/ssl/encrypted_client_hello.cc +3 -9
- data/third_party/boringssl-with-bazel/src/ssl/extensions.cc +43 -43
- data/third_party/boringssl-with-bazel/src/ssl/handoff.cc +1 -1
- data/third_party/boringssl-with-bazel/src/ssl/handshake.cc +17 -7
- data/third_party/boringssl-with-bazel/src/ssl/handshake_client.cc +67 -15
- data/third_party/boringssl-with-bazel/src/ssl/handshake_server.cc +143 -113
- data/third_party/boringssl-with-bazel/src/ssl/internal.h +227 -167
- data/third_party/boringssl-with-bazel/src/ssl/s3_both.cc +1 -1
- data/third_party/boringssl-with-bazel/src/ssl/s3_lib.cc +0 -1
- data/third_party/boringssl-with-bazel/src/ssl/ssl_cert.cc +66 -385
- data/third_party/boringssl-with-bazel/src/ssl/ssl_cipher.cc +21 -19
- data/third_party/boringssl-with-bazel/src/ssl/ssl_credential.cc +423 -0
- data/third_party/boringssl-with-bazel/src/ssl/ssl_file.cc +2 -2
- data/third_party/boringssl-with-bazel/src/ssl/ssl_key_share.cc +1 -1
- data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +70 -54
- data/third_party/boringssl-with-bazel/src/ssl/ssl_privkey.cc +59 -75
- data/third_party/boringssl-with-bazel/src/ssl/ssl_session.cc +6 -14
- data/third_party/boringssl-with-bazel/src/ssl/ssl_x509.cc +48 -116
- data/third_party/boringssl-with-bazel/src/ssl/tls13_both.cc +19 -26
- data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +36 -3
- data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +53 -18
- 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 +182 -128
- data/src/core/client_channel/channel_connectivity.cc +0 -265
- data/src/core/client_channel/client_channel_channelz.cc +0 -93
- data/src/core/client_channel/client_channel_channelz.h +0 -85
- 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/deadline/deadline_filter.cc +0 -407
- data/src/core/ext/filters/deadline/deadline_filter.h +0 -85
- 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/log_internal.h +0 -55
- 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
- /data/third_party/boringssl-with-bazel/src/include/openssl/{kyber.h → experimental/kyber.h} +0 -0
@@ -24,25 +24,25 @@
|
|
24
24
|
extern "C" {
|
25
25
|
#endif
|
26
26
|
|
27
|
-
typedef struct envoy_admin_v3_UpdateFailureState envoy_admin_v3_UpdateFailureState;
|
28
|
-
typedef struct envoy_admin_v3_ListenersConfigDump envoy_admin_v3_ListenersConfigDump;
|
29
|
-
typedef struct envoy_admin_v3_ListenersConfigDump_StaticListener envoy_admin_v3_ListenersConfigDump_StaticListener;
|
30
|
-
typedef struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState envoy_admin_v3_ListenersConfigDump_DynamicListenerState;
|
31
|
-
typedef struct envoy_admin_v3_ListenersConfigDump_DynamicListener envoy_admin_v3_ListenersConfigDump_DynamicListener;
|
32
|
-
typedef struct envoy_admin_v3_ClustersConfigDump envoy_admin_v3_ClustersConfigDump;
|
33
|
-
typedef struct envoy_admin_v3_ClustersConfigDump_StaticCluster envoy_admin_v3_ClustersConfigDump_StaticCluster;
|
34
|
-
typedef struct envoy_admin_v3_ClustersConfigDump_DynamicCluster envoy_admin_v3_ClustersConfigDump_DynamicCluster;
|
35
|
-
typedef struct envoy_admin_v3_RoutesConfigDump envoy_admin_v3_RoutesConfigDump;
|
36
|
-
typedef struct envoy_admin_v3_RoutesConfigDump_StaticRouteConfig envoy_admin_v3_RoutesConfigDump_StaticRouteConfig;
|
37
|
-
typedef struct envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig;
|
38
|
-
typedef struct envoy_admin_v3_ScopedRoutesConfigDump envoy_admin_v3_ScopedRoutesConfigDump;
|
39
|
-
typedef struct envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs;
|
40
|
-
typedef struct envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs;
|
41
|
-
typedef struct envoy_admin_v3_EndpointsConfigDump envoy_admin_v3_EndpointsConfigDump;
|
42
|
-
typedef struct envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig;
|
43
|
-
typedef struct envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig;
|
44
|
-
typedef struct envoy_admin_v3_EcdsConfigDump envoy_admin_v3_EcdsConfigDump;
|
45
|
-
typedef struct envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig;
|
27
|
+
typedef struct envoy_admin_v3_UpdateFailureState { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_UpdateFailureState;
|
28
|
+
typedef struct envoy_admin_v3_ListenersConfigDump { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_ListenersConfigDump;
|
29
|
+
typedef struct envoy_admin_v3_ListenersConfigDump_StaticListener { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_ListenersConfigDump_StaticListener;
|
30
|
+
typedef struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_ListenersConfigDump_DynamicListenerState;
|
31
|
+
typedef struct envoy_admin_v3_ListenersConfigDump_DynamicListener { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_ListenersConfigDump_DynamicListener;
|
32
|
+
typedef struct envoy_admin_v3_ClustersConfigDump { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_ClustersConfigDump;
|
33
|
+
typedef struct envoy_admin_v3_ClustersConfigDump_StaticCluster { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_ClustersConfigDump_StaticCluster;
|
34
|
+
typedef struct envoy_admin_v3_ClustersConfigDump_DynamicCluster { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_ClustersConfigDump_DynamicCluster;
|
35
|
+
typedef struct envoy_admin_v3_RoutesConfigDump { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_RoutesConfigDump;
|
36
|
+
typedef struct envoy_admin_v3_RoutesConfigDump_StaticRouteConfig { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_RoutesConfigDump_StaticRouteConfig;
|
37
|
+
typedef struct envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig;
|
38
|
+
typedef struct envoy_admin_v3_ScopedRoutesConfigDump { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_ScopedRoutesConfigDump;
|
39
|
+
typedef struct envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs;
|
40
|
+
typedef struct envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs;
|
41
|
+
typedef struct envoy_admin_v3_EndpointsConfigDump { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_EndpointsConfigDump;
|
42
|
+
typedef struct envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig;
|
43
|
+
typedef struct envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig;
|
44
|
+
typedef struct envoy_admin_v3_EcdsConfigDump { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_EcdsConfigDump;
|
45
|
+
typedef struct envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig { upb_Message UPB_PRIVATE(base); } envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig;
|
46
46
|
struct google_protobuf_Any;
|
47
47
|
struct google_protobuf_Timestamp;
|
48
48
|
|
@@ -64,7 +64,8 @@ UPB_INLINE envoy_admin_v3_UpdateFailureState* envoy_admin_v3_UpdateFailureState_
|
|
64
64
|
UPB_INLINE envoy_admin_v3_UpdateFailureState* envoy_admin_v3_UpdateFailureState_parse(const char* buf, size_t size, upb_Arena* arena) {
|
65
65
|
envoy_admin_v3_UpdateFailureState* ret = envoy_admin_v3_UpdateFailureState_new(arena);
|
66
66
|
if (!ret) return NULL;
|
67
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__UpdateFailureState_msg_init, NULL, 0, arena) !=
|
67
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__UpdateFailureState_msg_init, NULL, 0, arena) !=
|
68
|
+
kUpb_DecodeStatus_Ok) {
|
68
69
|
return NULL;
|
69
70
|
}
|
70
71
|
return ret;
|
@@ -74,79 +75,83 @@ UPB_INLINE envoy_admin_v3_UpdateFailureState* envoy_admin_v3_UpdateFailureState_
|
|
74
75
|
int options, upb_Arena* arena) {
|
75
76
|
envoy_admin_v3_UpdateFailureState* ret = envoy_admin_v3_UpdateFailureState_new(arena);
|
76
77
|
if (!ret) return NULL;
|
77
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__UpdateFailureState_msg_init, extreg, options,
|
78
|
-
|
78
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__UpdateFailureState_msg_init, extreg, options,
|
79
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
79
80
|
return NULL;
|
80
81
|
}
|
81
82
|
return ret;
|
82
83
|
}
|
83
84
|
UPB_INLINE char* envoy_admin_v3_UpdateFailureState_serialize(const envoy_admin_v3_UpdateFailureState* msg, upb_Arena* arena, size_t* len) {
|
84
85
|
char* ptr;
|
85
|
-
(void)upb_Encode(msg, &envoy__admin__v3__UpdateFailureState_msg_init, 0, arena, &ptr, len);
|
86
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__UpdateFailureState_msg_init, 0, arena, &ptr, len);
|
86
87
|
return ptr;
|
87
88
|
}
|
88
89
|
UPB_INLINE char* envoy_admin_v3_UpdateFailureState_serialize_ex(const envoy_admin_v3_UpdateFailureState* msg, int options,
|
89
90
|
upb_Arena* arena, size_t* len) {
|
90
91
|
char* ptr;
|
91
|
-
(void)upb_Encode(msg, &envoy__admin__v3__UpdateFailureState_msg_init, options, arena, &ptr, len);
|
92
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__UpdateFailureState_msg_init, options, arena, &ptr, len);
|
92
93
|
return ptr;
|
93
94
|
}
|
94
95
|
UPB_INLINE void envoy_admin_v3_UpdateFailureState_clear_failed_configuration(envoy_admin_v3_UpdateFailureState* msg) {
|
95
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
96
|
-
|
96
|
+
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)};
|
97
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
97
98
|
}
|
98
99
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_UpdateFailureState_failed_configuration(const envoy_admin_v3_UpdateFailureState* msg) {
|
99
100
|
const struct google_protobuf_Any* default_val = NULL;
|
100
101
|
const struct google_protobuf_Any* ret;
|
101
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
102
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
102
|
+
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)};
|
103
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
104
|
+
&default_val, &ret);
|
103
105
|
return ret;
|
104
106
|
}
|
105
107
|
UPB_INLINE bool envoy_admin_v3_UpdateFailureState_has_failed_configuration(const envoy_admin_v3_UpdateFailureState* msg) {
|
106
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
107
|
-
return
|
108
|
+
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)};
|
109
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
108
110
|
}
|
109
111
|
UPB_INLINE void envoy_admin_v3_UpdateFailureState_clear_last_update_attempt(envoy_admin_v3_UpdateFailureState* msg) {
|
110
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
111
|
-
|
112
|
+
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)};
|
113
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
112
114
|
}
|
113
115
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_UpdateFailureState_last_update_attempt(const envoy_admin_v3_UpdateFailureState* msg) {
|
114
116
|
const struct google_protobuf_Timestamp* default_val = NULL;
|
115
117
|
const struct google_protobuf_Timestamp* ret;
|
116
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
117
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
118
|
+
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)};
|
119
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
120
|
+
&default_val, &ret);
|
118
121
|
return ret;
|
119
122
|
}
|
120
123
|
UPB_INLINE bool envoy_admin_v3_UpdateFailureState_has_last_update_attempt(const envoy_admin_v3_UpdateFailureState* msg) {
|
121
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
122
|
-
return
|
124
|
+
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)};
|
125
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
123
126
|
}
|
124
127
|
UPB_INLINE void envoy_admin_v3_UpdateFailureState_clear_details(envoy_admin_v3_UpdateFailureState* msg) {
|
125
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
126
|
-
|
128
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
129
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
127
130
|
}
|
128
131
|
UPB_INLINE upb_StringView envoy_admin_v3_UpdateFailureState_details(const envoy_admin_v3_UpdateFailureState* msg) {
|
129
132
|
upb_StringView default_val = upb_StringView_FromString("");
|
130
133
|
upb_StringView ret;
|
131
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
132
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
134
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
135
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
136
|
+
&default_val, &ret);
|
133
137
|
return ret;
|
134
138
|
}
|
135
139
|
UPB_INLINE void envoy_admin_v3_UpdateFailureState_clear_version_info(envoy_admin_v3_UpdateFailureState* msg) {
|
136
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
137
|
-
|
140
|
+
const upb_MiniTableField field = {4, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
141
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
138
142
|
}
|
139
143
|
UPB_INLINE upb_StringView envoy_admin_v3_UpdateFailureState_version_info(const envoy_admin_v3_UpdateFailureState* msg) {
|
140
144
|
upb_StringView default_val = upb_StringView_FromString("");
|
141
145
|
upb_StringView ret;
|
142
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
143
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
146
|
+
const upb_MiniTableField field = {4, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
147
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
148
|
+
&default_val, &ret);
|
144
149
|
return ret;
|
145
150
|
}
|
146
151
|
|
147
152
|
UPB_INLINE void envoy_admin_v3_UpdateFailureState_set_failed_configuration(envoy_admin_v3_UpdateFailureState *msg, struct google_protobuf_Any* value) {
|
148
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
149
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
153
|
+
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)};
|
154
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
150
155
|
}
|
151
156
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_UpdateFailureState_mutable_failed_configuration(envoy_admin_v3_UpdateFailureState* msg, upb_Arena* arena) {
|
152
157
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_UpdateFailureState_failed_configuration(msg);
|
@@ -157,8 +162,8 @@ UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_UpdateFailureState_mutable
|
|
157
162
|
return sub;
|
158
163
|
}
|
159
164
|
UPB_INLINE void envoy_admin_v3_UpdateFailureState_set_last_update_attempt(envoy_admin_v3_UpdateFailureState *msg, struct google_protobuf_Timestamp* value) {
|
160
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
161
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
165
|
+
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)};
|
166
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
162
167
|
}
|
163
168
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_UpdateFailureState_mutable_last_update_attempt(envoy_admin_v3_UpdateFailureState* msg, upb_Arena* arena) {
|
164
169
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_UpdateFailureState_last_update_attempt(msg);
|
@@ -169,12 +174,12 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_UpdateFailureState_m
|
|
169
174
|
return sub;
|
170
175
|
}
|
171
176
|
UPB_INLINE void envoy_admin_v3_UpdateFailureState_set_details(envoy_admin_v3_UpdateFailureState *msg, upb_StringView value) {
|
172
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
173
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
177
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
178
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
174
179
|
}
|
175
180
|
UPB_INLINE void envoy_admin_v3_UpdateFailureState_set_version_info(envoy_admin_v3_UpdateFailureState *msg, upb_StringView value) {
|
176
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
177
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
181
|
+
const upb_MiniTableField field = {4, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
182
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
178
183
|
}
|
179
184
|
|
180
185
|
/* envoy.admin.v3.ListenersConfigDump */
|
@@ -185,7 +190,8 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump* envoy_admin_v3_ListenersConfigDum
|
|
185
190
|
UPB_INLINE envoy_admin_v3_ListenersConfigDump* envoy_admin_v3_ListenersConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) {
|
186
191
|
envoy_admin_v3_ListenersConfigDump* ret = envoy_admin_v3_ListenersConfigDump_new(arena);
|
187
192
|
if (!ret) return NULL;
|
188
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ListenersConfigDump_msg_init, NULL, 0, arena) !=
|
193
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ListenersConfigDump_msg_init, NULL, 0, arena) !=
|
194
|
+
kUpb_DecodeStatus_Ok) {
|
189
195
|
return NULL;
|
190
196
|
}
|
191
197
|
return ret;
|
@@ -195,163 +201,162 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump* envoy_admin_v3_ListenersConfigDum
|
|
195
201
|
int options, upb_Arena* arena) {
|
196
202
|
envoy_admin_v3_ListenersConfigDump* ret = envoy_admin_v3_ListenersConfigDump_new(arena);
|
197
203
|
if (!ret) return NULL;
|
198
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ListenersConfigDump_msg_init, extreg, options,
|
199
|
-
|
204
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ListenersConfigDump_msg_init, extreg, options,
|
205
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
200
206
|
return NULL;
|
201
207
|
}
|
202
208
|
return ret;
|
203
209
|
}
|
204
210
|
UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_serialize(const envoy_admin_v3_ListenersConfigDump* msg, upb_Arena* arena, size_t* len) {
|
205
211
|
char* ptr;
|
206
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ListenersConfigDump_msg_init, 0, arena, &ptr, len);
|
212
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ListenersConfigDump_msg_init, 0, arena, &ptr, len);
|
207
213
|
return ptr;
|
208
214
|
}
|
209
215
|
UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_serialize_ex(const envoy_admin_v3_ListenersConfigDump* msg, int options,
|
210
216
|
upb_Arena* arena, size_t* len) {
|
211
217
|
char* ptr;
|
212
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ListenersConfigDump_msg_init, options, arena, &ptr, len);
|
218
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ListenersConfigDump_msg_init, options, arena, &ptr, len);
|
213
219
|
return ptr;
|
214
220
|
}
|
215
221
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_clear_version_info(envoy_admin_v3_ListenersConfigDump* msg) {
|
216
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
217
|
-
|
222
|
+
const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
223
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
218
224
|
}
|
219
225
|
UPB_INLINE upb_StringView envoy_admin_v3_ListenersConfigDump_version_info(const envoy_admin_v3_ListenersConfigDump* msg) {
|
220
226
|
upb_StringView default_val = upb_StringView_FromString("");
|
221
227
|
upb_StringView ret;
|
222
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
223
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
228
|
+
const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
229
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
230
|
+
&default_val, &ret);
|
224
231
|
return ret;
|
225
232
|
}
|
226
233
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_clear_static_listeners(envoy_admin_v3_ListenersConfigDump* msg) {
|
227
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
228
|
-
|
234
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
235
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
229
236
|
}
|
230
237
|
UPB_INLINE const envoy_admin_v3_ListenersConfigDump_StaticListener* const* envoy_admin_v3_ListenersConfigDump_static_listeners(const envoy_admin_v3_ListenersConfigDump* msg, size_t* size) {
|
231
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
232
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
238
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
239
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
233
240
|
if (arr) {
|
234
|
-
if (size) *size = arr->size;
|
235
|
-
return (const envoy_admin_v3_ListenersConfigDump_StaticListener* const*)
|
241
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
242
|
+
return (const envoy_admin_v3_ListenersConfigDump_StaticListener* const*)upb_Array_DataPtr(arr);
|
236
243
|
} else {
|
237
244
|
if (size) *size = 0;
|
238
245
|
return NULL;
|
239
246
|
}
|
240
247
|
}
|
241
248
|
UPB_INLINE const upb_Array* _envoy_admin_v3_ListenersConfigDump_static_listeners_upb_array(const envoy_admin_v3_ListenersConfigDump* msg, size_t* size) {
|
242
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
243
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
249
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
250
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
244
251
|
if (size) {
|
245
|
-
*size = arr ? arr->size : 0;
|
252
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
246
253
|
}
|
247
254
|
return arr;
|
248
255
|
}
|
249
|
-
UPB_INLINE upb_Array* _envoy_admin_v3_ListenersConfigDump_static_listeners_mutable_upb_array(
|
250
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
251
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
252
|
-
|
256
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_ListenersConfigDump_static_listeners_mutable_upb_array(envoy_admin_v3_ListenersConfigDump* msg, size_t* size, upb_Arena* arena) {
|
257
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
258
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
259
|
+
&field, arena);
|
253
260
|
if (size) {
|
254
|
-
*size = arr ? arr->size : 0;
|
261
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
255
262
|
}
|
256
263
|
return arr;
|
257
264
|
}
|
258
|
-
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_has_static_listeners(const envoy_admin_v3_ListenersConfigDump* msg) {
|
259
|
-
size_t size;
|
260
|
-
envoy_admin_v3_ListenersConfigDump_static_listeners(msg, &size);
|
261
|
-
return size != 0;
|
262
|
-
}
|
263
265
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_clear_dynamic_listeners(envoy_admin_v3_ListenersConfigDump* msg) {
|
264
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
265
|
-
|
266
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
267
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
266
268
|
}
|
267
269
|
UPB_INLINE const envoy_admin_v3_ListenersConfigDump_DynamicListener* const* envoy_admin_v3_ListenersConfigDump_dynamic_listeners(const envoy_admin_v3_ListenersConfigDump* msg, size_t* size) {
|
268
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
269
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
270
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
271
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
270
272
|
if (arr) {
|
271
|
-
if (size) *size = arr->size;
|
272
|
-
return (const envoy_admin_v3_ListenersConfigDump_DynamicListener* const*)
|
273
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
274
|
+
return (const envoy_admin_v3_ListenersConfigDump_DynamicListener* const*)upb_Array_DataPtr(arr);
|
273
275
|
} else {
|
274
276
|
if (size) *size = 0;
|
275
277
|
return NULL;
|
276
278
|
}
|
277
279
|
}
|
278
280
|
UPB_INLINE const upb_Array* _envoy_admin_v3_ListenersConfigDump_dynamic_listeners_upb_array(const envoy_admin_v3_ListenersConfigDump* msg, size_t* size) {
|
279
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
280
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
281
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
282
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
281
283
|
if (size) {
|
282
|
-
*size = arr ? arr->size : 0;
|
284
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
283
285
|
}
|
284
286
|
return arr;
|
285
287
|
}
|
286
|
-
UPB_INLINE upb_Array* _envoy_admin_v3_ListenersConfigDump_dynamic_listeners_mutable_upb_array(
|
287
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
288
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
289
|
-
|
288
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_ListenersConfigDump_dynamic_listeners_mutable_upb_array(envoy_admin_v3_ListenersConfigDump* msg, size_t* size, upb_Arena* arena) {
|
289
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
290
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
291
|
+
&field, arena);
|
290
292
|
if (size) {
|
291
|
-
*size = arr ? arr->size : 0;
|
293
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
292
294
|
}
|
293
295
|
return arr;
|
294
296
|
}
|
295
|
-
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_has_dynamic_listeners(const envoy_admin_v3_ListenersConfigDump* msg) {
|
296
|
-
size_t size;
|
297
|
-
envoy_admin_v3_ListenersConfigDump_dynamic_listeners(msg, &size);
|
298
|
-
return size != 0;
|
299
|
-
}
|
300
297
|
|
301
298
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_set_version_info(envoy_admin_v3_ListenersConfigDump *msg, upb_StringView value) {
|
302
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
303
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
299
|
+
const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
300
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
304
301
|
}
|
305
302
|
UPB_INLINE envoy_admin_v3_ListenersConfigDump_StaticListener** envoy_admin_v3_ListenersConfigDump_mutable_static_listeners(envoy_admin_v3_ListenersConfigDump* msg, size_t* size) {
|
306
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
307
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
303
|
+
upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
304
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
308
305
|
if (arr) {
|
309
|
-
if (size) *size = arr->size;
|
310
|
-
return (envoy_admin_v3_ListenersConfigDump_StaticListener**)
|
306
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
307
|
+
return (envoy_admin_v3_ListenersConfigDump_StaticListener**)upb_Array_MutableDataPtr(arr);
|
311
308
|
} else {
|
312
309
|
if (size) *size = 0;
|
313
310
|
return NULL;
|
314
311
|
}
|
315
312
|
}
|
316
313
|
UPB_INLINE envoy_admin_v3_ListenersConfigDump_StaticListener** envoy_admin_v3_ListenersConfigDump_resize_static_listeners(envoy_admin_v3_ListenersConfigDump* msg, size_t size, upb_Arena* arena) {
|
317
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
318
|
-
return (envoy_admin_v3_ListenersConfigDump_StaticListener**)upb_Message_ResizeArrayUninitialized(msg,
|
314
|
+
upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
315
|
+
return (envoy_admin_v3_ListenersConfigDump_StaticListener**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
316
|
+
&field, size, arena);
|
319
317
|
}
|
320
318
|
UPB_INLINE struct envoy_admin_v3_ListenersConfigDump_StaticListener* envoy_admin_v3_ListenersConfigDump_add_static_listeners(envoy_admin_v3_ListenersConfigDump* msg, upb_Arena* arena) {
|
321
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
322
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
323
|
-
|
319
|
+
upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
320
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
321
|
+
UPB_UPCAST(msg), &field, arena);
|
322
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
323
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
324
324
|
return NULL;
|
325
325
|
}
|
326
326
|
struct envoy_admin_v3_ListenersConfigDump_StaticListener* sub = (struct envoy_admin_v3_ListenersConfigDump_StaticListener*)_upb_Message_New(&envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init, arena);
|
327
327
|
if (!arr || !sub) return NULL;
|
328
|
-
_upb_Array_Set
|
328
|
+
UPB_PRIVATE(_upb_Array_Set)
|
329
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
329
330
|
return sub;
|
330
331
|
}
|
331
332
|
UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListener** envoy_admin_v3_ListenersConfigDump_mutable_dynamic_listeners(envoy_admin_v3_ListenersConfigDump* msg, size_t* size) {
|
332
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
333
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
333
|
+
upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
334
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
334
335
|
if (arr) {
|
335
|
-
if (size) *size = arr->size;
|
336
|
-
return (envoy_admin_v3_ListenersConfigDump_DynamicListener**)
|
336
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
337
|
+
return (envoy_admin_v3_ListenersConfigDump_DynamicListener**)upb_Array_MutableDataPtr(arr);
|
337
338
|
} else {
|
338
339
|
if (size) *size = 0;
|
339
340
|
return NULL;
|
340
341
|
}
|
341
342
|
}
|
342
343
|
UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListener** envoy_admin_v3_ListenersConfigDump_resize_dynamic_listeners(envoy_admin_v3_ListenersConfigDump* msg, size_t size, upb_Arena* arena) {
|
343
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
344
|
-
return (envoy_admin_v3_ListenersConfigDump_DynamicListener**)upb_Message_ResizeArrayUninitialized(msg,
|
344
|
+
upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
345
|
+
return (envoy_admin_v3_ListenersConfigDump_DynamicListener**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
346
|
+
&field, size, arena);
|
345
347
|
}
|
346
348
|
UPB_INLINE struct envoy_admin_v3_ListenersConfigDump_DynamicListener* envoy_admin_v3_ListenersConfigDump_add_dynamic_listeners(envoy_admin_v3_ListenersConfigDump* msg, upb_Arena* arena) {
|
347
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
348
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
349
|
-
|
349
|
+
upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
350
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
351
|
+
UPB_UPCAST(msg), &field, arena);
|
352
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
353
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
350
354
|
return NULL;
|
351
355
|
}
|
352
356
|
struct envoy_admin_v3_ListenersConfigDump_DynamicListener* sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListener*)_upb_Message_New(&envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init, arena);
|
353
357
|
if (!arr || !sub) return NULL;
|
354
|
-
_upb_Array_Set
|
358
|
+
UPB_PRIVATE(_upb_Array_Set)
|
359
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
355
360
|
return sub;
|
356
361
|
}
|
357
362
|
|
@@ -363,7 +368,8 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump_StaticListener* envoy_admin_v3_Lis
|
|
363
368
|
UPB_INLINE envoy_admin_v3_ListenersConfigDump_StaticListener* envoy_admin_v3_ListenersConfigDump_StaticListener_parse(const char* buf, size_t size, upb_Arena* arena) {
|
364
369
|
envoy_admin_v3_ListenersConfigDump_StaticListener* ret = envoy_admin_v3_ListenersConfigDump_StaticListener_new(arena);
|
365
370
|
if (!ret) return NULL;
|
366
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init, NULL, 0, arena) !=
|
371
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init, NULL, 0, arena) !=
|
372
|
+
kUpb_DecodeStatus_Ok) {
|
367
373
|
return NULL;
|
368
374
|
}
|
369
375
|
return ret;
|
@@ -373,57 +379,59 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump_StaticListener* envoy_admin_v3_Lis
|
|
373
379
|
int options, upb_Arena* arena) {
|
374
380
|
envoy_admin_v3_ListenersConfigDump_StaticListener* ret = envoy_admin_v3_ListenersConfigDump_StaticListener_new(arena);
|
375
381
|
if (!ret) return NULL;
|
376
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init, extreg, options,
|
377
|
-
|
382
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init, extreg, options,
|
383
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
378
384
|
return NULL;
|
379
385
|
}
|
380
386
|
return ret;
|
381
387
|
}
|
382
388
|
UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_StaticListener_serialize(const envoy_admin_v3_ListenersConfigDump_StaticListener* msg, upb_Arena* arena, size_t* len) {
|
383
389
|
char* ptr;
|
384
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init, 0, arena, &ptr, len);
|
390
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init, 0, arena, &ptr, len);
|
385
391
|
return ptr;
|
386
392
|
}
|
387
393
|
UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_StaticListener_serialize_ex(const envoy_admin_v3_ListenersConfigDump_StaticListener* msg, int options,
|
388
394
|
upb_Arena* arena, size_t* len) {
|
389
395
|
char* ptr;
|
390
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init, options, arena, &ptr, len);
|
396
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init, options, arena, &ptr, len);
|
391
397
|
return ptr;
|
392
398
|
}
|
393
399
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_StaticListener_clear_listener(envoy_admin_v3_ListenersConfigDump_StaticListener* msg) {
|
394
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
395
|
-
|
400
|
+
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)};
|
401
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
396
402
|
}
|
397
403
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_ListenersConfigDump_StaticListener_listener(const envoy_admin_v3_ListenersConfigDump_StaticListener* msg) {
|
398
404
|
const struct google_protobuf_Any* default_val = NULL;
|
399
405
|
const struct google_protobuf_Any* ret;
|
400
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
401
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
406
|
+
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)};
|
407
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
408
|
+
&default_val, &ret);
|
402
409
|
return ret;
|
403
410
|
}
|
404
411
|
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_StaticListener_has_listener(const envoy_admin_v3_ListenersConfigDump_StaticListener* msg) {
|
405
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
406
|
-
return
|
412
|
+
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)};
|
413
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
407
414
|
}
|
408
415
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_StaticListener_clear_last_updated(envoy_admin_v3_ListenersConfigDump_StaticListener* msg) {
|
409
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
410
|
-
|
416
|
+
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)};
|
417
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
411
418
|
}
|
412
419
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_ListenersConfigDump_StaticListener_last_updated(const envoy_admin_v3_ListenersConfigDump_StaticListener* msg) {
|
413
420
|
const struct google_protobuf_Timestamp* default_val = NULL;
|
414
421
|
const struct google_protobuf_Timestamp* ret;
|
415
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
416
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
422
|
+
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)};
|
423
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
424
|
+
&default_val, &ret);
|
417
425
|
return ret;
|
418
426
|
}
|
419
427
|
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_StaticListener_has_last_updated(const envoy_admin_v3_ListenersConfigDump_StaticListener* msg) {
|
420
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
421
|
-
return
|
428
|
+
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)};
|
429
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
422
430
|
}
|
423
431
|
|
424
432
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_StaticListener_set_listener(envoy_admin_v3_ListenersConfigDump_StaticListener *msg, struct google_protobuf_Any* value) {
|
425
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
426
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
433
|
+
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)};
|
434
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
427
435
|
}
|
428
436
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ListenersConfigDump_StaticListener_mutable_listener(envoy_admin_v3_ListenersConfigDump_StaticListener* msg, upb_Arena* arena) {
|
429
437
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_ListenersConfigDump_StaticListener_listener(msg);
|
@@ -434,8 +442,8 @@ UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ListenersConfigDump_Static
|
|
434
442
|
return sub;
|
435
443
|
}
|
436
444
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_StaticListener_set_last_updated(envoy_admin_v3_ListenersConfigDump_StaticListener *msg, struct google_protobuf_Timestamp* value) {
|
437
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
438
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
445
|
+
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)};
|
446
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
439
447
|
}
|
440
448
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ListenersConfigDump_StaticListener_mutable_last_updated(envoy_admin_v3_ListenersConfigDump_StaticListener* msg, upb_Arena* arena) {
|
441
449
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_ListenersConfigDump_StaticListener_last_updated(msg);
|
@@ -454,7 +462,8 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_
|
|
454
462
|
UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_parse(const char* buf, size_t size, upb_Arena* arena) {
|
455
463
|
envoy_admin_v3_ListenersConfigDump_DynamicListenerState* ret = envoy_admin_v3_ListenersConfigDump_DynamicListenerState_new(arena);
|
456
464
|
if (!ret) return NULL;
|
457
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init, NULL, 0, arena) !=
|
465
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init, NULL, 0, arena) !=
|
466
|
+
kUpb_DecodeStatus_Ok) {
|
458
467
|
return NULL;
|
459
468
|
}
|
460
469
|
return ret;
|
@@ -464,72 +473,75 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_
|
|
464
473
|
int options, upb_Arena* arena) {
|
465
474
|
envoy_admin_v3_ListenersConfigDump_DynamicListenerState* ret = envoy_admin_v3_ListenersConfigDump_DynamicListenerState_new(arena);
|
466
475
|
if (!ret) return NULL;
|
467
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init, extreg, options,
|
468
|
-
|
476
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init, extreg, options,
|
477
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
469
478
|
return NULL;
|
470
479
|
}
|
471
480
|
return ret;
|
472
481
|
}
|
473
482
|
UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_serialize(const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg, upb_Arena* arena, size_t* len) {
|
474
483
|
char* ptr;
|
475
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init, 0, arena, &ptr, len);
|
484
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init, 0, arena, &ptr, len);
|
476
485
|
return ptr;
|
477
486
|
}
|
478
487
|
UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_serialize_ex(const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg, int options,
|
479
488
|
upb_Arena* arena, size_t* len) {
|
480
489
|
char* ptr;
|
481
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init, options, arena, &ptr, len);
|
490
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init, options, arena, &ptr, len);
|
482
491
|
return ptr;
|
483
492
|
}
|
484
493
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListenerState_clear_version_info(envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg) {
|
485
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
486
|
-
|
494
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
495
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
487
496
|
}
|
488
497
|
UPB_INLINE upb_StringView envoy_admin_v3_ListenersConfigDump_DynamicListenerState_version_info(const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg) {
|
489
498
|
upb_StringView default_val = upb_StringView_FromString("");
|
490
499
|
upb_StringView ret;
|
491
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
492
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
500
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
501
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
502
|
+
&default_val, &ret);
|
493
503
|
return ret;
|
494
504
|
}
|
495
505
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListenerState_clear_listener(envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg) {
|
496
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
497
|
-
|
506
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
507
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
498
508
|
}
|
499
509
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_listener(const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg) {
|
500
510
|
const struct google_protobuf_Any* default_val = NULL;
|
501
511
|
const struct google_protobuf_Any* ret;
|
502
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
503
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
512
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
513
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
514
|
+
&default_val, &ret);
|
504
515
|
return ret;
|
505
516
|
}
|
506
517
|
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_DynamicListenerState_has_listener(const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg) {
|
507
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
508
|
-
return
|
518
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
519
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
509
520
|
}
|
510
521
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListenerState_clear_last_updated(envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg) {
|
511
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
512
|
-
|
522
|
+
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)};
|
523
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
513
524
|
}
|
514
525
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_last_updated(const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg) {
|
515
526
|
const struct google_protobuf_Timestamp* default_val = NULL;
|
516
527
|
const struct google_protobuf_Timestamp* ret;
|
517
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
518
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
528
|
+
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)};
|
529
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
530
|
+
&default_val, &ret);
|
519
531
|
return ret;
|
520
532
|
}
|
521
533
|
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_DynamicListenerState_has_last_updated(const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg) {
|
522
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
523
|
-
return
|
534
|
+
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)};
|
535
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
524
536
|
}
|
525
537
|
|
526
538
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListenerState_set_version_info(envoy_admin_v3_ListenersConfigDump_DynamicListenerState *msg, upb_StringView value) {
|
527
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
528
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
539
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
540
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
529
541
|
}
|
530
542
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListenerState_set_listener(envoy_admin_v3_ListenersConfigDump_DynamicListenerState *msg, struct google_protobuf_Any* value) {
|
531
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
532
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
543
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
544
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
533
545
|
}
|
534
546
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_mutable_listener(envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg, upb_Arena* arena) {
|
535
547
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_ListenersConfigDump_DynamicListenerState_listener(msg);
|
@@ -540,8 +552,8 @@ UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ListenersConfigDump_Dynami
|
|
540
552
|
return sub;
|
541
553
|
}
|
542
554
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListenerState_set_last_updated(envoy_admin_v3_ListenersConfigDump_DynamicListenerState *msg, struct google_protobuf_Timestamp* value) {
|
543
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
544
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
555
|
+
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)};
|
556
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
545
557
|
}
|
546
558
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_mutable_last_updated(envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg, upb_Arena* arena) {
|
547
559
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_ListenersConfigDump_DynamicListenerState_last_updated(msg);
|
@@ -560,7 +572,8 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListener* envoy_admin_v3_Li
|
|
560
572
|
UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListener* envoy_admin_v3_ListenersConfigDump_DynamicListener_parse(const char* buf, size_t size, upb_Arena* arena) {
|
561
573
|
envoy_admin_v3_ListenersConfigDump_DynamicListener* ret = envoy_admin_v3_ListenersConfigDump_DynamicListener_new(arena);
|
562
574
|
if (!ret) return NULL;
|
563
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init, NULL, 0, arena) !=
|
575
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init, NULL, 0, arena) !=
|
576
|
+
kUpb_DecodeStatus_Ok) {
|
564
577
|
return NULL;
|
565
578
|
}
|
566
579
|
return ret;
|
@@ -570,113 +583,119 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListener* envoy_admin_v3_Li
|
|
570
583
|
int options, upb_Arena* arena) {
|
571
584
|
envoy_admin_v3_ListenersConfigDump_DynamicListener* ret = envoy_admin_v3_ListenersConfigDump_DynamicListener_new(arena);
|
572
585
|
if (!ret) return NULL;
|
573
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init, extreg, options,
|
574
|
-
|
586
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init, extreg, options,
|
587
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
575
588
|
return NULL;
|
576
589
|
}
|
577
590
|
return ret;
|
578
591
|
}
|
579
592
|
UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_DynamicListener_serialize(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg, upb_Arena* arena, size_t* len) {
|
580
593
|
char* ptr;
|
581
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init, 0, arena, &ptr, len);
|
594
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init, 0, arena, &ptr, len);
|
582
595
|
return ptr;
|
583
596
|
}
|
584
597
|
UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_DynamicListener_serialize_ex(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg, int options,
|
585
598
|
upb_Arena* arena, size_t* len) {
|
586
599
|
char* ptr;
|
587
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init, options, arena, &ptr, len);
|
600
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init, options, arena, &ptr, len);
|
588
601
|
return ptr;
|
589
602
|
}
|
590
603
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_name(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
591
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
592
|
-
|
604
|
+
const upb_MiniTableField field = {1, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
605
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
593
606
|
}
|
594
607
|
UPB_INLINE upb_StringView envoy_admin_v3_ListenersConfigDump_DynamicListener_name(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
595
608
|
upb_StringView default_val = upb_StringView_FromString("");
|
596
609
|
upb_StringView ret;
|
597
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
598
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
610
|
+
const upb_MiniTableField field = {1, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
611
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
612
|
+
&default_val, &ret);
|
599
613
|
return ret;
|
600
614
|
}
|
601
615
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_active_state(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
602
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
603
|
-
|
616
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
617
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
604
618
|
}
|
605
619
|
UPB_INLINE const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_v3_ListenersConfigDump_DynamicListener_active_state(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
606
620
|
const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* default_val = NULL;
|
607
621
|
const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* ret;
|
608
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
609
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
622
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
623
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
624
|
+
&default_val, &ret);
|
610
625
|
return ret;
|
611
626
|
}
|
612
627
|
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_DynamicListener_has_active_state(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
613
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
614
|
-
return
|
628
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
629
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
615
630
|
}
|
616
631
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_warming_state(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
617
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
618
|
-
|
632
|
+
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)};
|
633
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
619
634
|
}
|
620
635
|
UPB_INLINE const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_v3_ListenersConfigDump_DynamicListener_warming_state(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
621
636
|
const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* default_val = NULL;
|
622
637
|
const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* ret;
|
623
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
624
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
638
|
+
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)};
|
639
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
640
|
+
&default_val, &ret);
|
625
641
|
return ret;
|
626
642
|
}
|
627
643
|
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_DynamicListener_has_warming_state(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
628
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
629
|
-
return
|
644
|
+
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)};
|
645
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
630
646
|
}
|
631
647
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_draining_state(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
632
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
633
|
-
|
648
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
649
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
634
650
|
}
|
635
651
|
UPB_INLINE const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_v3_ListenersConfigDump_DynamicListener_draining_state(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
636
652
|
const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* default_val = NULL;
|
637
653
|
const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* ret;
|
638
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
639
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
654
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
655
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
656
|
+
&default_val, &ret);
|
640
657
|
return ret;
|
641
658
|
}
|
642
659
|
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_DynamicListener_has_draining_state(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
643
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
644
|
-
return
|
660
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
661
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
645
662
|
}
|
646
663
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_error_state(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
647
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
648
|
-
|
664
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
665
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
649
666
|
}
|
650
667
|
UPB_INLINE const envoy_admin_v3_UpdateFailureState* envoy_admin_v3_ListenersConfigDump_DynamicListener_error_state(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
651
668
|
const envoy_admin_v3_UpdateFailureState* default_val = NULL;
|
652
669
|
const envoy_admin_v3_UpdateFailureState* ret;
|
653
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
654
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
670
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
671
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
672
|
+
&default_val, &ret);
|
655
673
|
return ret;
|
656
674
|
}
|
657
675
|
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_DynamicListener_has_error_state(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
658
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
659
|
-
return
|
676
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
677
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
660
678
|
}
|
661
679
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_client_status(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
662
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
663
|
-
|
680
|
+
const upb_MiniTableField field = {6, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
681
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
664
682
|
}
|
665
683
|
UPB_INLINE int32_t envoy_admin_v3_ListenersConfigDump_DynamicListener_client_status(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
666
684
|
int32_t default_val = 0;
|
667
685
|
int32_t ret;
|
668
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
669
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
686
|
+
const upb_MiniTableField field = {6, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
687
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
688
|
+
&default_val, &ret);
|
670
689
|
return ret;
|
671
690
|
}
|
672
691
|
|
673
692
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_set_name(envoy_admin_v3_ListenersConfigDump_DynamicListener *msg, upb_StringView value) {
|
674
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
675
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
693
|
+
const upb_MiniTableField field = {1, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
694
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
676
695
|
}
|
677
696
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_set_active_state(envoy_admin_v3_ListenersConfigDump_DynamicListener *msg, envoy_admin_v3_ListenersConfigDump_DynamicListenerState* value) {
|
678
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
679
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
697
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
698
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
680
699
|
}
|
681
700
|
UPB_INLINE struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_v3_ListenersConfigDump_DynamicListener_mutable_active_state(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg, upb_Arena* arena) {
|
682
701
|
struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState* sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)envoy_admin_v3_ListenersConfigDump_DynamicListener_active_state(msg);
|
@@ -687,8 +706,8 @@ UPB_INLINE struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy
|
|
687
706
|
return sub;
|
688
707
|
}
|
689
708
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_set_warming_state(envoy_admin_v3_ListenersConfigDump_DynamicListener *msg, envoy_admin_v3_ListenersConfigDump_DynamicListenerState* value) {
|
690
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
691
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
709
|
+
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)};
|
710
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
692
711
|
}
|
693
712
|
UPB_INLINE struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_v3_ListenersConfigDump_DynamicListener_mutable_warming_state(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg, upb_Arena* arena) {
|
694
713
|
struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState* sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)envoy_admin_v3_ListenersConfigDump_DynamicListener_warming_state(msg);
|
@@ -699,8 +718,8 @@ UPB_INLINE struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy
|
|
699
718
|
return sub;
|
700
719
|
}
|
701
720
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_set_draining_state(envoy_admin_v3_ListenersConfigDump_DynamicListener *msg, envoy_admin_v3_ListenersConfigDump_DynamicListenerState* value) {
|
702
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
703
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
721
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
722
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
704
723
|
}
|
705
724
|
UPB_INLINE struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_v3_ListenersConfigDump_DynamicListener_mutable_draining_state(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg, upb_Arena* arena) {
|
706
725
|
struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState* sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)envoy_admin_v3_ListenersConfigDump_DynamicListener_draining_state(msg);
|
@@ -711,8 +730,8 @@ UPB_INLINE struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy
|
|
711
730
|
return sub;
|
712
731
|
}
|
713
732
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_set_error_state(envoy_admin_v3_ListenersConfigDump_DynamicListener *msg, envoy_admin_v3_UpdateFailureState* value) {
|
714
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
715
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
733
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
734
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
716
735
|
}
|
717
736
|
UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_ListenersConfigDump_DynamicListener_mutable_error_state(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg, upb_Arena* arena) {
|
718
737
|
struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_ListenersConfigDump_DynamicListener_error_state(msg);
|
@@ -723,8 +742,8 @@ UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_ListenersCon
|
|
723
742
|
return sub;
|
724
743
|
}
|
725
744
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_set_client_status(envoy_admin_v3_ListenersConfigDump_DynamicListener *msg, int32_t value) {
|
726
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
727
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
745
|
+
const upb_MiniTableField field = {6, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
746
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
728
747
|
}
|
729
748
|
|
730
749
|
/* envoy.admin.v3.ClustersConfigDump */
|
@@ -735,7 +754,8 @@ UPB_INLINE envoy_admin_v3_ClustersConfigDump* envoy_admin_v3_ClustersConfigDump_
|
|
735
754
|
UPB_INLINE envoy_admin_v3_ClustersConfigDump* envoy_admin_v3_ClustersConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) {
|
736
755
|
envoy_admin_v3_ClustersConfigDump* ret = envoy_admin_v3_ClustersConfigDump_new(arena);
|
737
756
|
if (!ret) return NULL;
|
738
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ClustersConfigDump_msg_init, NULL, 0, arena) !=
|
757
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ClustersConfigDump_msg_init, NULL, 0, arena) !=
|
758
|
+
kUpb_DecodeStatus_Ok) {
|
739
759
|
return NULL;
|
740
760
|
}
|
741
761
|
return ret;
|
@@ -745,226 +765,224 @@ UPB_INLINE envoy_admin_v3_ClustersConfigDump* envoy_admin_v3_ClustersConfigDump_
|
|
745
765
|
int options, upb_Arena* arena) {
|
746
766
|
envoy_admin_v3_ClustersConfigDump* ret = envoy_admin_v3_ClustersConfigDump_new(arena);
|
747
767
|
if (!ret) return NULL;
|
748
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ClustersConfigDump_msg_init, extreg, options,
|
749
|
-
|
768
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ClustersConfigDump_msg_init, extreg, options,
|
769
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
750
770
|
return NULL;
|
751
771
|
}
|
752
772
|
return ret;
|
753
773
|
}
|
754
774
|
UPB_INLINE char* envoy_admin_v3_ClustersConfigDump_serialize(const envoy_admin_v3_ClustersConfigDump* msg, upb_Arena* arena, size_t* len) {
|
755
775
|
char* ptr;
|
756
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ClustersConfigDump_msg_init, 0, arena, &ptr, len);
|
776
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ClustersConfigDump_msg_init, 0, arena, &ptr, len);
|
757
777
|
return ptr;
|
758
778
|
}
|
759
779
|
UPB_INLINE char* envoy_admin_v3_ClustersConfigDump_serialize_ex(const envoy_admin_v3_ClustersConfigDump* msg, int options,
|
760
780
|
upb_Arena* arena, size_t* len) {
|
761
781
|
char* ptr;
|
762
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ClustersConfigDump_msg_init, options, arena, &ptr, len);
|
782
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ClustersConfigDump_msg_init, options, arena, &ptr, len);
|
763
783
|
return ptr;
|
764
784
|
}
|
765
785
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_clear_version_info(envoy_admin_v3_ClustersConfigDump* msg) {
|
766
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
767
|
-
|
786
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
787
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
768
788
|
}
|
769
789
|
UPB_INLINE upb_StringView envoy_admin_v3_ClustersConfigDump_version_info(const envoy_admin_v3_ClustersConfigDump* msg) {
|
770
790
|
upb_StringView default_val = upb_StringView_FromString("");
|
771
791
|
upb_StringView ret;
|
772
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
773
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
792
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
793
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
794
|
+
&default_val, &ret);
|
774
795
|
return ret;
|
775
796
|
}
|
776
797
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_clear_static_clusters(envoy_admin_v3_ClustersConfigDump* msg) {
|
777
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
778
|
-
|
798
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
799
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
779
800
|
}
|
780
801
|
UPB_INLINE const envoy_admin_v3_ClustersConfigDump_StaticCluster* const* envoy_admin_v3_ClustersConfigDump_static_clusters(const envoy_admin_v3_ClustersConfigDump* msg, size_t* size) {
|
781
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
782
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
802
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
803
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
783
804
|
if (arr) {
|
784
|
-
if (size) *size = arr->size;
|
785
|
-
return (const envoy_admin_v3_ClustersConfigDump_StaticCluster* const*)
|
805
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
806
|
+
return (const envoy_admin_v3_ClustersConfigDump_StaticCluster* const*)upb_Array_DataPtr(arr);
|
786
807
|
} else {
|
787
808
|
if (size) *size = 0;
|
788
809
|
return NULL;
|
789
810
|
}
|
790
811
|
}
|
791
812
|
UPB_INLINE const upb_Array* _envoy_admin_v3_ClustersConfigDump_static_clusters_upb_array(const envoy_admin_v3_ClustersConfigDump* msg, size_t* size) {
|
792
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
793
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
813
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
814
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
794
815
|
if (size) {
|
795
|
-
*size = arr ? arr->size : 0;
|
816
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
796
817
|
}
|
797
818
|
return arr;
|
798
819
|
}
|
799
|
-
UPB_INLINE upb_Array* _envoy_admin_v3_ClustersConfigDump_static_clusters_mutable_upb_array(
|
800
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
801
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
802
|
-
|
820
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_ClustersConfigDump_static_clusters_mutable_upb_array(envoy_admin_v3_ClustersConfigDump* msg, size_t* size, upb_Arena* arena) {
|
821
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
822
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
823
|
+
&field, arena);
|
803
824
|
if (size) {
|
804
|
-
*size = arr ? arr->size : 0;
|
825
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
805
826
|
}
|
806
827
|
return arr;
|
807
828
|
}
|
808
|
-
UPB_INLINE bool envoy_admin_v3_ClustersConfigDump_has_static_clusters(const envoy_admin_v3_ClustersConfigDump* msg) {
|
809
|
-
size_t size;
|
810
|
-
envoy_admin_v3_ClustersConfigDump_static_clusters(msg, &size);
|
811
|
-
return size != 0;
|
812
|
-
}
|
813
829
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_clear_dynamic_active_clusters(envoy_admin_v3_ClustersConfigDump* msg) {
|
814
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
815
|
-
|
830
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
831
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
816
832
|
}
|
817
833
|
UPB_INLINE const envoy_admin_v3_ClustersConfigDump_DynamicCluster* const* envoy_admin_v3_ClustersConfigDump_dynamic_active_clusters(const envoy_admin_v3_ClustersConfigDump* msg, size_t* size) {
|
818
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
819
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
834
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
835
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
820
836
|
if (arr) {
|
821
|
-
if (size) *size = arr->size;
|
822
|
-
return (const envoy_admin_v3_ClustersConfigDump_DynamicCluster* const*)
|
837
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
838
|
+
return (const envoy_admin_v3_ClustersConfigDump_DynamicCluster* const*)upb_Array_DataPtr(arr);
|
823
839
|
} else {
|
824
840
|
if (size) *size = 0;
|
825
841
|
return NULL;
|
826
842
|
}
|
827
843
|
}
|
828
844
|
UPB_INLINE const upb_Array* _envoy_admin_v3_ClustersConfigDump_dynamic_active_clusters_upb_array(const envoy_admin_v3_ClustersConfigDump* msg, size_t* size) {
|
829
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
830
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
845
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
846
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
831
847
|
if (size) {
|
832
|
-
*size = arr ? arr->size : 0;
|
848
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
833
849
|
}
|
834
850
|
return arr;
|
835
851
|
}
|
836
|
-
UPB_INLINE upb_Array* _envoy_admin_v3_ClustersConfigDump_dynamic_active_clusters_mutable_upb_array(
|
837
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
838
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
839
|
-
|
852
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_ClustersConfigDump_dynamic_active_clusters_mutable_upb_array(envoy_admin_v3_ClustersConfigDump* msg, size_t* size, upb_Arena* arena) {
|
853
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
854
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
855
|
+
&field, arena);
|
840
856
|
if (size) {
|
841
|
-
*size = arr ? arr->size : 0;
|
857
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
842
858
|
}
|
843
859
|
return arr;
|
844
860
|
}
|
845
|
-
UPB_INLINE bool envoy_admin_v3_ClustersConfigDump_has_dynamic_active_clusters(const envoy_admin_v3_ClustersConfigDump* msg) {
|
846
|
-
size_t size;
|
847
|
-
envoy_admin_v3_ClustersConfigDump_dynamic_active_clusters(msg, &size);
|
848
|
-
return size != 0;
|
849
|
-
}
|
850
861
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_clear_dynamic_warming_clusters(envoy_admin_v3_ClustersConfigDump* msg) {
|
851
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
852
|
-
|
862
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
863
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
853
864
|
}
|
854
865
|
UPB_INLINE const envoy_admin_v3_ClustersConfigDump_DynamicCluster* const* envoy_admin_v3_ClustersConfigDump_dynamic_warming_clusters(const envoy_admin_v3_ClustersConfigDump* msg, size_t* size) {
|
855
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
856
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
866
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
867
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
857
868
|
if (arr) {
|
858
|
-
if (size) *size = arr->size;
|
859
|
-
return (const envoy_admin_v3_ClustersConfigDump_DynamicCluster* const*)
|
869
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
870
|
+
return (const envoy_admin_v3_ClustersConfigDump_DynamicCluster* const*)upb_Array_DataPtr(arr);
|
860
871
|
} else {
|
861
872
|
if (size) *size = 0;
|
862
873
|
return NULL;
|
863
874
|
}
|
864
875
|
}
|
865
876
|
UPB_INLINE const upb_Array* _envoy_admin_v3_ClustersConfigDump_dynamic_warming_clusters_upb_array(const envoy_admin_v3_ClustersConfigDump* msg, size_t* size) {
|
866
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
867
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
877
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
878
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
868
879
|
if (size) {
|
869
|
-
*size = arr ? arr->size : 0;
|
880
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
870
881
|
}
|
871
882
|
return arr;
|
872
883
|
}
|
873
|
-
UPB_INLINE upb_Array* _envoy_admin_v3_ClustersConfigDump_dynamic_warming_clusters_mutable_upb_array(
|
874
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
875
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
876
|
-
|
884
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_ClustersConfigDump_dynamic_warming_clusters_mutable_upb_array(envoy_admin_v3_ClustersConfigDump* msg, size_t* size, upb_Arena* arena) {
|
885
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
886
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
887
|
+
&field, arena);
|
877
888
|
if (size) {
|
878
|
-
*size = arr ? arr->size : 0;
|
889
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
879
890
|
}
|
880
891
|
return arr;
|
881
892
|
}
|
882
|
-
UPB_INLINE bool envoy_admin_v3_ClustersConfigDump_has_dynamic_warming_clusters(const envoy_admin_v3_ClustersConfigDump* msg) {
|
883
|
-
size_t size;
|
884
|
-
envoy_admin_v3_ClustersConfigDump_dynamic_warming_clusters(msg, &size);
|
885
|
-
return size != 0;
|
886
|
-
}
|
887
893
|
|
888
894
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_set_version_info(envoy_admin_v3_ClustersConfigDump *msg, upb_StringView value) {
|
889
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
890
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
895
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
896
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
891
897
|
}
|
892
898
|
UPB_INLINE envoy_admin_v3_ClustersConfigDump_StaticCluster** envoy_admin_v3_ClustersConfigDump_mutable_static_clusters(envoy_admin_v3_ClustersConfigDump* msg, size_t* size) {
|
893
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
894
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
899
|
+
upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
900
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
895
901
|
if (arr) {
|
896
|
-
if (size) *size = arr->size;
|
897
|
-
return (envoy_admin_v3_ClustersConfigDump_StaticCluster**)
|
902
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
903
|
+
return (envoy_admin_v3_ClustersConfigDump_StaticCluster**)upb_Array_MutableDataPtr(arr);
|
898
904
|
} else {
|
899
905
|
if (size) *size = 0;
|
900
906
|
return NULL;
|
901
907
|
}
|
902
908
|
}
|
903
909
|
UPB_INLINE envoy_admin_v3_ClustersConfigDump_StaticCluster** envoy_admin_v3_ClustersConfigDump_resize_static_clusters(envoy_admin_v3_ClustersConfigDump* msg, size_t size, upb_Arena* arena) {
|
904
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
905
|
-
return (envoy_admin_v3_ClustersConfigDump_StaticCluster**)upb_Message_ResizeArrayUninitialized(msg,
|
910
|
+
upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
911
|
+
return (envoy_admin_v3_ClustersConfigDump_StaticCluster**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
912
|
+
&field, size, arena);
|
906
913
|
}
|
907
914
|
UPB_INLINE struct envoy_admin_v3_ClustersConfigDump_StaticCluster* envoy_admin_v3_ClustersConfigDump_add_static_clusters(envoy_admin_v3_ClustersConfigDump* msg, upb_Arena* arena) {
|
908
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
909
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
910
|
-
|
915
|
+
upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
916
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
917
|
+
UPB_UPCAST(msg), &field, arena);
|
918
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
919
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
911
920
|
return NULL;
|
912
921
|
}
|
913
922
|
struct envoy_admin_v3_ClustersConfigDump_StaticCluster* sub = (struct envoy_admin_v3_ClustersConfigDump_StaticCluster*)_upb_Message_New(&envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init, arena);
|
914
923
|
if (!arr || !sub) return NULL;
|
915
|
-
_upb_Array_Set
|
924
|
+
UPB_PRIVATE(_upb_Array_Set)
|
925
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
916
926
|
return sub;
|
917
927
|
}
|
918
928
|
UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster** envoy_admin_v3_ClustersConfigDump_mutable_dynamic_active_clusters(envoy_admin_v3_ClustersConfigDump* msg, size_t* size) {
|
919
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
920
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
929
|
+
upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
930
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
921
931
|
if (arr) {
|
922
|
-
if (size) *size = arr->size;
|
923
|
-
return (envoy_admin_v3_ClustersConfigDump_DynamicCluster**)
|
932
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
933
|
+
return (envoy_admin_v3_ClustersConfigDump_DynamicCluster**)upb_Array_MutableDataPtr(arr);
|
924
934
|
} else {
|
925
935
|
if (size) *size = 0;
|
926
936
|
return NULL;
|
927
937
|
}
|
928
938
|
}
|
929
939
|
UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster** envoy_admin_v3_ClustersConfigDump_resize_dynamic_active_clusters(envoy_admin_v3_ClustersConfigDump* msg, size_t size, upb_Arena* arena) {
|
930
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
931
|
-
return (envoy_admin_v3_ClustersConfigDump_DynamicCluster**)upb_Message_ResizeArrayUninitialized(msg,
|
940
|
+
upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
941
|
+
return (envoy_admin_v3_ClustersConfigDump_DynamicCluster**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
942
|
+
&field, size, arena);
|
932
943
|
}
|
933
944
|
UPB_INLINE struct envoy_admin_v3_ClustersConfigDump_DynamicCluster* envoy_admin_v3_ClustersConfigDump_add_dynamic_active_clusters(envoy_admin_v3_ClustersConfigDump* msg, upb_Arena* arena) {
|
934
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
935
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
936
|
-
|
945
|
+
upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
946
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
947
|
+
UPB_UPCAST(msg), &field, arena);
|
948
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
949
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
937
950
|
return NULL;
|
938
951
|
}
|
939
952
|
struct envoy_admin_v3_ClustersConfigDump_DynamicCluster* sub = (struct envoy_admin_v3_ClustersConfigDump_DynamicCluster*)_upb_Message_New(&envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init, arena);
|
940
953
|
if (!arr || !sub) return NULL;
|
941
|
-
_upb_Array_Set
|
954
|
+
UPB_PRIVATE(_upb_Array_Set)
|
955
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
942
956
|
return sub;
|
943
957
|
}
|
944
958
|
UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster** envoy_admin_v3_ClustersConfigDump_mutable_dynamic_warming_clusters(envoy_admin_v3_ClustersConfigDump* msg, size_t* size) {
|
945
|
-
upb_MiniTableField field = {4, UPB_SIZE(
|
946
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
959
|
+
upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
960
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
947
961
|
if (arr) {
|
948
|
-
if (size) *size = arr->size;
|
949
|
-
return (envoy_admin_v3_ClustersConfigDump_DynamicCluster**)
|
962
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
963
|
+
return (envoy_admin_v3_ClustersConfigDump_DynamicCluster**)upb_Array_MutableDataPtr(arr);
|
950
964
|
} else {
|
951
965
|
if (size) *size = 0;
|
952
966
|
return NULL;
|
953
967
|
}
|
954
968
|
}
|
955
969
|
UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster** envoy_admin_v3_ClustersConfigDump_resize_dynamic_warming_clusters(envoy_admin_v3_ClustersConfigDump* msg, size_t size, upb_Arena* arena) {
|
956
|
-
upb_MiniTableField field = {4, UPB_SIZE(
|
957
|
-
return (envoy_admin_v3_ClustersConfigDump_DynamicCluster**)upb_Message_ResizeArrayUninitialized(msg,
|
970
|
+
upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
971
|
+
return (envoy_admin_v3_ClustersConfigDump_DynamicCluster**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
972
|
+
&field, size, arena);
|
958
973
|
}
|
959
974
|
UPB_INLINE struct envoy_admin_v3_ClustersConfigDump_DynamicCluster* envoy_admin_v3_ClustersConfigDump_add_dynamic_warming_clusters(envoy_admin_v3_ClustersConfigDump* msg, upb_Arena* arena) {
|
960
|
-
upb_MiniTableField field = {4, UPB_SIZE(
|
961
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
962
|
-
|
975
|
+
upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
976
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
977
|
+
UPB_UPCAST(msg), &field, arena);
|
978
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
979
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
963
980
|
return NULL;
|
964
981
|
}
|
965
982
|
struct envoy_admin_v3_ClustersConfigDump_DynamicCluster* sub = (struct envoy_admin_v3_ClustersConfigDump_DynamicCluster*)_upb_Message_New(&envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init, arena);
|
966
983
|
if (!arr || !sub) return NULL;
|
967
|
-
_upb_Array_Set
|
984
|
+
UPB_PRIVATE(_upb_Array_Set)
|
985
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
968
986
|
return sub;
|
969
987
|
}
|
970
988
|
|
@@ -976,7 +994,8 @@ UPB_INLINE envoy_admin_v3_ClustersConfigDump_StaticCluster* envoy_admin_v3_Clust
|
|
976
994
|
UPB_INLINE envoy_admin_v3_ClustersConfigDump_StaticCluster* envoy_admin_v3_ClustersConfigDump_StaticCluster_parse(const char* buf, size_t size, upb_Arena* arena) {
|
977
995
|
envoy_admin_v3_ClustersConfigDump_StaticCluster* ret = envoy_admin_v3_ClustersConfigDump_StaticCluster_new(arena);
|
978
996
|
if (!ret) return NULL;
|
979
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init, NULL, 0, arena) !=
|
997
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init, NULL, 0, arena) !=
|
998
|
+
kUpb_DecodeStatus_Ok) {
|
980
999
|
return NULL;
|
981
1000
|
}
|
982
1001
|
return ret;
|
@@ -986,57 +1005,59 @@ UPB_INLINE envoy_admin_v3_ClustersConfigDump_StaticCluster* envoy_admin_v3_Clust
|
|
986
1005
|
int options, upb_Arena* arena) {
|
987
1006
|
envoy_admin_v3_ClustersConfigDump_StaticCluster* ret = envoy_admin_v3_ClustersConfigDump_StaticCluster_new(arena);
|
988
1007
|
if (!ret) return NULL;
|
989
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init, extreg, options,
|
990
|
-
|
1008
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init, extreg, options,
|
1009
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
991
1010
|
return NULL;
|
992
1011
|
}
|
993
1012
|
return ret;
|
994
1013
|
}
|
995
1014
|
UPB_INLINE char* envoy_admin_v3_ClustersConfigDump_StaticCluster_serialize(const envoy_admin_v3_ClustersConfigDump_StaticCluster* msg, upb_Arena* arena, size_t* len) {
|
996
1015
|
char* ptr;
|
997
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init, 0, arena, &ptr, len);
|
1016
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init, 0, arena, &ptr, len);
|
998
1017
|
return ptr;
|
999
1018
|
}
|
1000
1019
|
UPB_INLINE char* envoy_admin_v3_ClustersConfigDump_StaticCluster_serialize_ex(const envoy_admin_v3_ClustersConfigDump_StaticCluster* msg, int options,
|
1001
1020
|
upb_Arena* arena, size_t* len) {
|
1002
1021
|
char* ptr;
|
1003
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init, options, arena, &ptr, len);
|
1022
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init, options, arena, &ptr, len);
|
1004
1023
|
return ptr;
|
1005
1024
|
}
|
1006
1025
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_StaticCluster_clear_cluster(envoy_admin_v3_ClustersConfigDump_StaticCluster* msg) {
|
1007
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1008
|
-
|
1026
|
+
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)};
|
1027
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1009
1028
|
}
|
1010
1029
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_ClustersConfigDump_StaticCluster_cluster(const envoy_admin_v3_ClustersConfigDump_StaticCluster* msg) {
|
1011
1030
|
const struct google_protobuf_Any* default_val = NULL;
|
1012
1031
|
const struct google_protobuf_Any* ret;
|
1013
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1014
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1032
|
+
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)};
|
1033
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1034
|
+
&default_val, &ret);
|
1015
1035
|
return ret;
|
1016
1036
|
}
|
1017
1037
|
UPB_INLINE bool envoy_admin_v3_ClustersConfigDump_StaticCluster_has_cluster(const envoy_admin_v3_ClustersConfigDump_StaticCluster* msg) {
|
1018
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1019
|
-
return
|
1038
|
+
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)};
|
1039
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1020
1040
|
}
|
1021
1041
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_StaticCluster_clear_last_updated(envoy_admin_v3_ClustersConfigDump_StaticCluster* msg) {
|
1022
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1023
|
-
|
1042
|
+
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)};
|
1043
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1024
1044
|
}
|
1025
1045
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_ClustersConfigDump_StaticCluster_last_updated(const envoy_admin_v3_ClustersConfigDump_StaticCluster* msg) {
|
1026
1046
|
const struct google_protobuf_Timestamp* default_val = NULL;
|
1027
1047
|
const struct google_protobuf_Timestamp* ret;
|
1028
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1029
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1048
|
+
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)};
|
1049
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1050
|
+
&default_val, &ret);
|
1030
1051
|
return ret;
|
1031
1052
|
}
|
1032
1053
|
UPB_INLINE bool envoy_admin_v3_ClustersConfigDump_StaticCluster_has_last_updated(const envoy_admin_v3_ClustersConfigDump_StaticCluster* msg) {
|
1033
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1034
|
-
return
|
1054
|
+
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)};
|
1055
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1035
1056
|
}
|
1036
1057
|
|
1037
1058
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_StaticCluster_set_cluster(envoy_admin_v3_ClustersConfigDump_StaticCluster *msg, struct google_protobuf_Any* value) {
|
1038
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1039
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1059
|
+
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)};
|
1060
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1040
1061
|
}
|
1041
1062
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ClustersConfigDump_StaticCluster_mutable_cluster(envoy_admin_v3_ClustersConfigDump_StaticCluster* msg, upb_Arena* arena) {
|
1042
1063
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_ClustersConfigDump_StaticCluster_cluster(msg);
|
@@ -1047,8 +1068,8 @@ UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ClustersConfigDump_StaticC
|
|
1047
1068
|
return sub;
|
1048
1069
|
}
|
1049
1070
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_StaticCluster_set_last_updated(envoy_admin_v3_ClustersConfigDump_StaticCluster *msg, struct google_protobuf_Timestamp* value) {
|
1050
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1051
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1071
|
+
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)};
|
1072
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1052
1073
|
}
|
1053
1074
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ClustersConfigDump_StaticCluster_mutable_last_updated(envoy_admin_v3_ClustersConfigDump_StaticCluster* msg, upb_Arena* arena) {
|
1054
1075
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_ClustersConfigDump_StaticCluster_last_updated(msg);
|
@@ -1067,7 +1088,8 @@ UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster* envoy_admin_v3_Clus
|
|
1067
1088
|
UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster* envoy_admin_v3_ClustersConfigDump_DynamicCluster_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1068
1089
|
envoy_admin_v3_ClustersConfigDump_DynamicCluster* ret = envoy_admin_v3_ClustersConfigDump_DynamicCluster_new(arena);
|
1069
1090
|
if (!ret) return NULL;
|
1070
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init, NULL, 0, arena) !=
|
1091
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init, NULL, 0, arena) !=
|
1092
|
+
kUpb_DecodeStatus_Ok) {
|
1071
1093
|
return NULL;
|
1072
1094
|
}
|
1073
1095
|
return ret;
|
@@ -1077,98 +1099,103 @@ UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster* envoy_admin_v3_Clus
|
|
1077
1099
|
int options, upb_Arena* arena) {
|
1078
1100
|
envoy_admin_v3_ClustersConfigDump_DynamicCluster* ret = envoy_admin_v3_ClustersConfigDump_DynamicCluster_new(arena);
|
1079
1101
|
if (!ret) return NULL;
|
1080
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init, extreg, options,
|
1081
|
-
|
1102
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init, extreg, options,
|
1103
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1082
1104
|
return NULL;
|
1083
1105
|
}
|
1084
1106
|
return ret;
|
1085
1107
|
}
|
1086
1108
|
UPB_INLINE char* envoy_admin_v3_ClustersConfigDump_DynamicCluster_serialize(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg, upb_Arena* arena, size_t* len) {
|
1087
1109
|
char* ptr;
|
1088
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init, 0, arena, &ptr, len);
|
1110
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init, 0, arena, &ptr, len);
|
1089
1111
|
return ptr;
|
1090
1112
|
}
|
1091
1113
|
UPB_INLINE char* envoy_admin_v3_ClustersConfigDump_DynamicCluster_serialize_ex(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg, int options,
|
1092
1114
|
upb_Arena* arena, size_t* len) {
|
1093
1115
|
char* ptr;
|
1094
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init, options, arena, &ptr, len);
|
1116
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init, options, arena, &ptr, len);
|
1095
1117
|
return ptr;
|
1096
1118
|
}
|
1097
1119
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_clear_version_info(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1098
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1099
|
-
|
1120
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1121
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1100
1122
|
}
|
1101
1123
|
UPB_INLINE upb_StringView envoy_admin_v3_ClustersConfigDump_DynamicCluster_version_info(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1102
1124
|
upb_StringView default_val = upb_StringView_FromString("");
|
1103
1125
|
upb_StringView ret;
|
1104
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1105
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1126
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1127
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1128
|
+
&default_val, &ret);
|
1106
1129
|
return ret;
|
1107
1130
|
}
|
1108
1131
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_clear_cluster(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1109
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1110
|
-
|
1132
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1133
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1111
1134
|
}
|
1112
1135
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_ClustersConfigDump_DynamicCluster_cluster(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1113
1136
|
const struct google_protobuf_Any* default_val = NULL;
|
1114
1137
|
const struct google_protobuf_Any* ret;
|
1115
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1116
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1138
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1139
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1140
|
+
&default_val, &ret);
|
1117
1141
|
return ret;
|
1118
1142
|
}
|
1119
1143
|
UPB_INLINE bool envoy_admin_v3_ClustersConfigDump_DynamicCluster_has_cluster(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1120
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1121
|
-
return
|
1144
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1145
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1122
1146
|
}
|
1123
1147
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_clear_last_updated(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1124
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1125
|
-
|
1148
|
+
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)};
|
1149
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1126
1150
|
}
|
1127
1151
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_ClustersConfigDump_DynamicCluster_last_updated(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1128
1152
|
const struct google_protobuf_Timestamp* default_val = NULL;
|
1129
1153
|
const struct google_protobuf_Timestamp* ret;
|
1130
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1131
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1154
|
+
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)};
|
1155
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1156
|
+
&default_val, &ret);
|
1132
1157
|
return ret;
|
1133
1158
|
}
|
1134
1159
|
UPB_INLINE bool envoy_admin_v3_ClustersConfigDump_DynamicCluster_has_last_updated(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1135
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1136
|
-
return
|
1160
|
+
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)};
|
1161
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1137
1162
|
}
|
1138
1163
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_clear_error_state(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1139
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1140
|
-
|
1164
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1165
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1141
1166
|
}
|
1142
1167
|
UPB_INLINE const envoy_admin_v3_UpdateFailureState* envoy_admin_v3_ClustersConfigDump_DynamicCluster_error_state(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1143
1168
|
const envoy_admin_v3_UpdateFailureState* default_val = NULL;
|
1144
1169
|
const envoy_admin_v3_UpdateFailureState* ret;
|
1145
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1146
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1170
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1171
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1172
|
+
&default_val, &ret);
|
1147
1173
|
return ret;
|
1148
1174
|
}
|
1149
1175
|
UPB_INLINE bool envoy_admin_v3_ClustersConfigDump_DynamicCluster_has_error_state(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1150
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1151
|
-
return
|
1176
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1177
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1152
1178
|
}
|
1153
1179
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_clear_client_status(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1154
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1155
|
-
|
1180
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1181
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1156
1182
|
}
|
1157
1183
|
UPB_INLINE int32_t envoy_admin_v3_ClustersConfigDump_DynamicCluster_client_status(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1158
1184
|
int32_t default_val = 0;
|
1159
1185
|
int32_t ret;
|
1160
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1161
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1186
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1187
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1188
|
+
&default_val, &ret);
|
1162
1189
|
return ret;
|
1163
1190
|
}
|
1164
1191
|
|
1165
1192
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_version_info(envoy_admin_v3_ClustersConfigDump_DynamicCluster *msg, upb_StringView value) {
|
1166
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1167
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1193
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1194
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1168
1195
|
}
|
1169
1196
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_cluster(envoy_admin_v3_ClustersConfigDump_DynamicCluster *msg, struct google_protobuf_Any* value) {
|
1170
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1171
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1197
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1198
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1172
1199
|
}
|
1173
1200
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ClustersConfigDump_DynamicCluster_mutable_cluster(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg, upb_Arena* arena) {
|
1174
1201
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_ClustersConfigDump_DynamicCluster_cluster(msg);
|
@@ -1179,8 +1206,8 @@ UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ClustersConfigDump_Dynamic
|
|
1179
1206
|
return sub;
|
1180
1207
|
}
|
1181
1208
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_last_updated(envoy_admin_v3_ClustersConfigDump_DynamicCluster *msg, struct google_protobuf_Timestamp* value) {
|
1182
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1183
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1209
|
+
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)};
|
1210
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1184
1211
|
}
|
1185
1212
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ClustersConfigDump_DynamicCluster_mutable_last_updated(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg, upb_Arena* arena) {
|
1186
1213
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_ClustersConfigDump_DynamicCluster_last_updated(msg);
|
@@ -1191,8 +1218,8 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ClustersConfigDump_D
|
|
1191
1218
|
return sub;
|
1192
1219
|
}
|
1193
1220
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_error_state(envoy_admin_v3_ClustersConfigDump_DynamicCluster *msg, envoy_admin_v3_UpdateFailureState* value) {
|
1194
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1195
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1221
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1222
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1196
1223
|
}
|
1197
1224
|
UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_ClustersConfigDump_DynamicCluster_mutable_error_state(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg, upb_Arena* arena) {
|
1198
1225
|
struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_ClustersConfigDump_DynamicCluster_error_state(msg);
|
@@ -1203,8 +1230,8 @@ UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_ClustersConf
|
|
1203
1230
|
return sub;
|
1204
1231
|
}
|
1205
1232
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_client_status(envoy_admin_v3_ClustersConfigDump_DynamicCluster *msg, int32_t value) {
|
1206
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1207
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1233
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1234
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1208
1235
|
}
|
1209
1236
|
|
1210
1237
|
/* envoy.admin.v3.RoutesConfigDump */
|
@@ -1215,7 +1242,8 @@ UPB_INLINE envoy_admin_v3_RoutesConfigDump* envoy_admin_v3_RoutesConfigDump_new(
|
|
1215
1242
|
UPB_INLINE envoy_admin_v3_RoutesConfigDump* envoy_admin_v3_RoutesConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1216
1243
|
envoy_admin_v3_RoutesConfigDump* ret = envoy_admin_v3_RoutesConfigDump_new(arena);
|
1217
1244
|
if (!ret) return NULL;
|
1218
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__RoutesConfigDump_msg_init, NULL, 0, arena) !=
|
1245
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__RoutesConfigDump_msg_init, NULL, 0, arena) !=
|
1246
|
+
kUpb_DecodeStatus_Ok) {
|
1219
1247
|
return NULL;
|
1220
1248
|
}
|
1221
1249
|
return ret;
|
@@ -1225,148 +1253,146 @@ UPB_INLINE envoy_admin_v3_RoutesConfigDump* envoy_admin_v3_RoutesConfigDump_pars
|
|
1225
1253
|
int options, upb_Arena* arena) {
|
1226
1254
|
envoy_admin_v3_RoutesConfigDump* ret = envoy_admin_v3_RoutesConfigDump_new(arena);
|
1227
1255
|
if (!ret) return NULL;
|
1228
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__RoutesConfigDump_msg_init, extreg, options,
|
1229
|
-
|
1256
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__RoutesConfigDump_msg_init, extreg, options,
|
1257
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1230
1258
|
return NULL;
|
1231
1259
|
}
|
1232
1260
|
return ret;
|
1233
1261
|
}
|
1234
1262
|
UPB_INLINE char* envoy_admin_v3_RoutesConfigDump_serialize(const envoy_admin_v3_RoutesConfigDump* msg, upb_Arena* arena, size_t* len) {
|
1235
1263
|
char* ptr;
|
1236
|
-
(void)upb_Encode(msg, &envoy__admin__v3__RoutesConfigDump_msg_init, 0, arena, &ptr, len);
|
1264
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__RoutesConfigDump_msg_init, 0, arena, &ptr, len);
|
1237
1265
|
return ptr;
|
1238
1266
|
}
|
1239
1267
|
UPB_INLINE char* envoy_admin_v3_RoutesConfigDump_serialize_ex(const envoy_admin_v3_RoutesConfigDump* msg, int options,
|
1240
1268
|
upb_Arena* arena, size_t* len) {
|
1241
1269
|
char* ptr;
|
1242
|
-
(void)upb_Encode(msg, &envoy__admin__v3__RoutesConfigDump_msg_init, options, arena, &ptr, len);
|
1270
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__RoutesConfigDump_msg_init, options, arena, &ptr, len);
|
1243
1271
|
return ptr;
|
1244
1272
|
}
|
1245
1273
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_clear_static_route_configs(envoy_admin_v3_RoutesConfigDump* msg) {
|
1246
|
-
const upb_MiniTableField field = {2,
|
1247
|
-
|
1274
|
+
const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1275
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1248
1276
|
}
|
1249
1277
|
UPB_INLINE const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* const* envoy_admin_v3_RoutesConfigDump_static_route_configs(const envoy_admin_v3_RoutesConfigDump* msg, size_t* size) {
|
1250
|
-
const upb_MiniTableField field = {2,
|
1251
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1278
|
+
const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1279
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1252
1280
|
if (arr) {
|
1253
|
-
if (size) *size = arr->size;
|
1254
|
-
return (const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* const*)
|
1281
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1282
|
+
return (const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* const*)upb_Array_DataPtr(arr);
|
1255
1283
|
} else {
|
1256
1284
|
if (size) *size = 0;
|
1257
1285
|
return NULL;
|
1258
1286
|
}
|
1259
1287
|
}
|
1260
1288
|
UPB_INLINE const upb_Array* _envoy_admin_v3_RoutesConfigDump_static_route_configs_upb_array(const envoy_admin_v3_RoutesConfigDump* msg, size_t* size) {
|
1261
|
-
const upb_MiniTableField field = {2,
|
1262
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1289
|
+
const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1290
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1263
1291
|
if (size) {
|
1264
|
-
*size = arr ? arr->size : 0;
|
1292
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1265
1293
|
}
|
1266
1294
|
return arr;
|
1267
1295
|
}
|
1268
|
-
UPB_INLINE upb_Array* _envoy_admin_v3_RoutesConfigDump_static_route_configs_mutable_upb_array(
|
1269
|
-
const upb_MiniTableField field = {2,
|
1270
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1271
|
-
|
1296
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_RoutesConfigDump_static_route_configs_mutable_upb_array(envoy_admin_v3_RoutesConfigDump* msg, size_t* size, upb_Arena* arena) {
|
1297
|
+
const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1298
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1299
|
+
&field, arena);
|
1272
1300
|
if (size) {
|
1273
|
-
*size = arr ? arr->size : 0;
|
1301
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1274
1302
|
}
|
1275
1303
|
return arr;
|
1276
1304
|
}
|
1277
|
-
UPB_INLINE bool envoy_admin_v3_RoutesConfigDump_has_static_route_configs(const envoy_admin_v3_RoutesConfigDump* msg) {
|
1278
|
-
size_t size;
|
1279
|
-
envoy_admin_v3_RoutesConfigDump_static_route_configs(msg, &size);
|
1280
|
-
return size != 0;
|
1281
|
-
}
|
1282
1305
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_clear_dynamic_route_configs(envoy_admin_v3_RoutesConfigDump* msg) {
|
1283
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1284
|
-
|
1306
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1307
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1285
1308
|
}
|
1286
1309
|
UPB_INLINE const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* const* envoy_admin_v3_RoutesConfigDump_dynamic_route_configs(const envoy_admin_v3_RoutesConfigDump* msg, size_t* size) {
|
1287
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1288
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1310
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1311
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1289
1312
|
if (arr) {
|
1290
|
-
if (size) *size = arr->size;
|
1291
|
-
return (const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* const*)
|
1313
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1314
|
+
return (const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* const*)upb_Array_DataPtr(arr);
|
1292
1315
|
} else {
|
1293
1316
|
if (size) *size = 0;
|
1294
1317
|
return NULL;
|
1295
1318
|
}
|
1296
1319
|
}
|
1297
1320
|
UPB_INLINE const upb_Array* _envoy_admin_v3_RoutesConfigDump_dynamic_route_configs_upb_array(const envoy_admin_v3_RoutesConfigDump* msg, size_t* size) {
|
1298
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1299
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1321
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1322
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1300
1323
|
if (size) {
|
1301
|
-
*size = arr ? arr->size : 0;
|
1324
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1302
1325
|
}
|
1303
1326
|
return arr;
|
1304
1327
|
}
|
1305
|
-
UPB_INLINE upb_Array* _envoy_admin_v3_RoutesConfigDump_dynamic_route_configs_mutable_upb_array(
|
1306
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1307
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1308
|
-
|
1328
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_RoutesConfigDump_dynamic_route_configs_mutable_upb_array(envoy_admin_v3_RoutesConfigDump* msg, size_t* size, upb_Arena* arena) {
|
1329
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1330
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1331
|
+
&field, arena);
|
1309
1332
|
if (size) {
|
1310
|
-
*size = arr ? arr->size : 0;
|
1333
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1311
1334
|
}
|
1312
1335
|
return arr;
|
1313
1336
|
}
|
1314
|
-
UPB_INLINE bool envoy_admin_v3_RoutesConfigDump_has_dynamic_route_configs(const envoy_admin_v3_RoutesConfigDump* msg) {
|
1315
|
-
size_t size;
|
1316
|
-
envoy_admin_v3_RoutesConfigDump_dynamic_route_configs(msg, &size);
|
1317
|
-
return size != 0;
|
1318
|
-
}
|
1319
1337
|
|
1320
1338
|
UPB_INLINE envoy_admin_v3_RoutesConfigDump_StaticRouteConfig** envoy_admin_v3_RoutesConfigDump_mutable_static_route_configs(envoy_admin_v3_RoutesConfigDump* msg, size_t* size) {
|
1321
|
-
upb_MiniTableField field = {2,
|
1322
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1339
|
+
upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1340
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1323
1341
|
if (arr) {
|
1324
|
-
if (size) *size = arr->size;
|
1325
|
-
return (envoy_admin_v3_RoutesConfigDump_StaticRouteConfig**)
|
1342
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1343
|
+
return (envoy_admin_v3_RoutesConfigDump_StaticRouteConfig**)upb_Array_MutableDataPtr(arr);
|
1326
1344
|
} else {
|
1327
1345
|
if (size) *size = 0;
|
1328
1346
|
return NULL;
|
1329
1347
|
}
|
1330
1348
|
}
|
1331
1349
|
UPB_INLINE envoy_admin_v3_RoutesConfigDump_StaticRouteConfig** envoy_admin_v3_RoutesConfigDump_resize_static_route_configs(envoy_admin_v3_RoutesConfigDump* msg, size_t size, upb_Arena* arena) {
|
1332
|
-
upb_MiniTableField field = {2,
|
1333
|
-
return (envoy_admin_v3_RoutesConfigDump_StaticRouteConfig**)upb_Message_ResizeArrayUninitialized(msg,
|
1350
|
+
upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1351
|
+
return (envoy_admin_v3_RoutesConfigDump_StaticRouteConfig**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1352
|
+
&field, size, arena);
|
1334
1353
|
}
|
1335
1354
|
UPB_INLINE struct envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* envoy_admin_v3_RoutesConfigDump_add_static_route_configs(envoy_admin_v3_RoutesConfigDump* msg, upb_Arena* arena) {
|
1336
|
-
upb_MiniTableField field = {2,
|
1337
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1338
|
-
|
1355
|
+
upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1356
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1357
|
+
UPB_UPCAST(msg), &field, arena);
|
1358
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1359
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1339
1360
|
return NULL;
|
1340
1361
|
}
|
1341
1362
|
struct envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* sub = (struct envoy_admin_v3_RoutesConfigDump_StaticRouteConfig*)_upb_Message_New(&envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init, arena);
|
1342
1363
|
if (!arr || !sub) return NULL;
|
1343
|
-
_upb_Array_Set
|
1364
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1365
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1344
1366
|
return sub;
|
1345
1367
|
}
|
1346
1368
|
UPB_INLINE envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig** envoy_admin_v3_RoutesConfigDump_mutable_dynamic_route_configs(envoy_admin_v3_RoutesConfigDump* msg, size_t* size) {
|
1347
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
1348
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1369
|
+
upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1370
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1349
1371
|
if (arr) {
|
1350
|
-
if (size) *size = arr->size;
|
1351
|
-
return (envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig**)
|
1372
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1373
|
+
return (envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig**)upb_Array_MutableDataPtr(arr);
|
1352
1374
|
} else {
|
1353
1375
|
if (size) *size = 0;
|
1354
1376
|
return NULL;
|
1355
1377
|
}
|
1356
1378
|
}
|
1357
1379
|
UPB_INLINE envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig** envoy_admin_v3_RoutesConfigDump_resize_dynamic_route_configs(envoy_admin_v3_RoutesConfigDump* msg, size_t size, upb_Arena* arena) {
|
1358
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
1359
|
-
return (envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig**)upb_Message_ResizeArrayUninitialized(msg,
|
1380
|
+
upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1381
|
+
return (envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1382
|
+
&field, size, arena);
|
1360
1383
|
}
|
1361
1384
|
UPB_INLINE struct envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* envoy_admin_v3_RoutesConfigDump_add_dynamic_route_configs(envoy_admin_v3_RoutesConfigDump* msg, upb_Arena* arena) {
|
1362
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
1363
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1364
|
-
|
1385
|
+
upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1386
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1387
|
+
UPB_UPCAST(msg), &field, arena);
|
1388
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1389
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1365
1390
|
return NULL;
|
1366
1391
|
}
|
1367
1392
|
struct envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* sub = (struct envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig*)_upb_Message_New(&envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init, arena);
|
1368
1393
|
if (!arr || !sub) return NULL;
|
1369
|
-
_upb_Array_Set
|
1394
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1395
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1370
1396
|
return sub;
|
1371
1397
|
}
|
1372
1398
|
|
@@ -1378,7 +1404,8 @@ UPB_INLINE envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* envoy_admin_v3_Rou
|
|
1378
1404
|
UPB_INLINE envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1379
1405
|
envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* ret = envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_new(arena);
|
1380
1406
|
if (!ret) return NULL;
|
1381
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init, NULL, 0, arena) !=
|
1407
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init, NULL, 0, arena) !=
|
1408
|
+
kUpb_DecodeStatus_Ok) {
|
1382
1409
|
return NULL;
|
1383
1410
|
}
|
1384
1411
|
return ret;
|
@@ -1388,57 +1415,59 @@ UPB_INLINE envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* envoy_admin_v3_Rou
|
|
1388
1415
|
int options, upb_Arena* arena) {
|
1389
1416
|
envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* ret = envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_new(arena);
|
1390
1417
|
if (!ret) return NULL;
|
1391
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init, extreg, options,
|
1392
|
-
|
1418
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init, extreg, options,
|
1419
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1393
1420
|
return NULL;
|
1394
1421
|
}
|
1395
1422
|
return ret;
|
1396
1423
|
}
|
1397
1424
|
UPB_INLINE char* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_serialize(const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg, upb_Arena* arena, size_t* len) {
|
1398
1425
|
char* ptr;
|
1399
|
-
(void)upb_Encode(msg, &envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init, 0, arena, &ptr, len);
|
1426
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init, 0, arena, &ptr, len);
|
1400
1427
|
return ptr;
|
1401
1428
|
}
|
1402
1429
|
UPB_INLINE char* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_serialize_ex(const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg, int options,
|
1403
1430
|
upb_Arena* arena, size_t* len) {
|
1404
1431
|
char* ptr;
|
1405
|
-
(void)upb_Encode(msg, &envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init, options, arena, &ptr, len);
|
1432
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init, options, arena, &ptr, len);
|
1406
1433
|
return ptr;
|
1407
1434
|
}
|
1408
1435
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_clear_route_config(envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg) {
|
1409
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1410
|
-
|
1436
|
+
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)};
|
1437
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1411
1438
|
}
|
1412
1439
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_route_config(const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg) {
|
1413
1440
|
const struct google_protobuf_Any* default_val = NULL;
|
1414
1441
|
const struct google_protobuf_Any* ret;
|
1415
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1416
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1442
|
+
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)};
|
1443
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1444
|
+
&default_val, &ret);
|
1417
1445
|
return ret;
|
1418
1446
|
}
|
1419
1447
|
UPB_INLINE bool envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_has_route_config(const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg) {
|
1420
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1421
|
-
return
|
1448
|
+
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)};
|
1449
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1422
1450
|
}
|
1423
1451
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_clear_last_updated(envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg) {
|
1424
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1425
|
-
|
1452
|
+
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)};
|
1453
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1426
1454
|
}
|
1427
1455
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_last_updated(const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg) {
|
1428
1456
|
const struct google_protobuf_Timestamp* default_val = NULL;
|
1429
1457
|
const struct google_protobuf_Timestamp* ret;
|
1430
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1431
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1458
|
+
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)};
|
1459
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1460
|
+
&default_val, &ret);
|
1432
1461
|
return ret;
|
1433
1462
|
}
|
1434
1463
|
UPB_INLINE bool envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_has_last_updated(const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg) {
|
1435
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1436
|
-
return
|
1464
|
+
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)};
|
1465
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1437
1466
|
}
|
1438
1467
|
|
1439
1468
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_set_route_config(envoy_admin_v3_RoutesConfigDump_StaticRouteConfig *msg, struct google_protobuf_Any* value) {
|
1440
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1441
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1469
|
+
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)};
|
1470
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1442
1471
|
}
|
1443
1472
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_mutable_route_config(envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg, upb_Arena* arena) {
|
1444
1473
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_route_config(msg);
|
@@ -1449,8 +1478,8 @@ UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_RoutesConfigDump_StaticRou
|
|
1449
1478
|
return sub;
|
1450
1479
|
}
|
1451
1480
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_set_last_updated(envoy_admin_v3_RoutesConfigDump_StaticRouteConfig *msg, struct google_protobuf_Timestamp* value) {
|
1452
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1453
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1481
|
+
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)};
|
1482
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1454
1483
|
}
|
1455
1484
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_mutable_last_updated(envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg, upb_Arena* arena) {
|
1456
1485
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_last_updated(msg);
|
@@ -1469,7 +1498,8 @@ UPB_INLINE envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* envoy_admin_v3_Ro
|
|
1469
1498
|
UPB_INLINE envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1470
1499
|
envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* ret = envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_new(arena);
|
1471
1500
|
if (!ret) return NULL;
|
1472
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init, NULL, 0, arena) !=
|
1501
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init, NULL, 0, arena) !=
|
1502
|
+
kUpb_DecodeStatus_Ok) {
|
1473
1503
|
return NULL;
|
1474
1504
|
}
|
1475
1505
|
return ret;
|
@@ -1479,98 +1509,103 @@ UPB_INLINE envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* envoy_admin_v3_Ro
|
|
1479
1509
|
int options, upb_Arena* arena) {
|
1480
1510
|
envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* ret = envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_new(arena);
|
1481
1511
|
if (!ret) return NULL;
|
1482
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init, extreg, options,
|
1483
|
-
|
1512
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init, extreg, options,
|
1513
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1484
1514
|
return NULL;
|
1485
1515
|
}
|
1486
1516
|
return ret;
|
1487
1517
|
}
|
1488
1518
|
UPB_INLINE char* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_serialize(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg, upb_Arena* arena, size_t* len) {
|
1489
1519
|
char* ptr;
|
1490
|
-
(void)upb_Encode(msg, &envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init, 0, arena, &ptr, len);
|
1520
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init, 0, arena, &ptr, len);
|
1491
1521
|
return ptr;
|
1492
1522
|
}
|
1493
1523
|
UPB_INLINE char* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_serialize_ex(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg, int options,
|
1494
1524
|
upb_Arena* arena, size_t* len) {
|
1495
1525
|
char* ptr;
|
1496
|
-
(void)upb_Encode(msg, &envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init, options, arena, &ptr, len);
|
1526
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init, options, arena, &ptr, len);
|
1497
1527
|
return ptr;
|
1498
1528
|
}
|
1499
1529
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_clear_version_info(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1500
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1501
|
-
|
1530
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1531
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1502
1532
|
}
|
1503
1533
|
UPB_INLINE upb_StringView envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_version_info(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1504
1534
|
upb_StringView default_val = upb_StringView_FromString("");
|
1505
1535
|
upb_StringView ret;
|
1506
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1507
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1536
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1537
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1538
|
+
&default_val, &ret);
|
1508
1539
|
return ret;
|
1509
1540
|
}
|
1510
1541
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_clear_route_config(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1511
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1512
|
-
|
1542
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1543
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1513
1544
|
}
|
1514
1545
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_route_config(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1515
1546
|
const struct google_protobuf_Any* default_val = NULL;
|
1516
1547
|
const struct google_protobuf_Any* ret;
|
1517
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1518
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1548
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1549
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1550
|
+
&default_val, &ret);
|
1519
1551
|
return ret;
|
1520
1552
|
}
|
1521
1553
|
UPB_INLINE bool envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_has_route_config(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1522
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1523
|
-
return
|
1554
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1555
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1524
1556
|
}
|
1525
1557
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_clear_last_updated(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1526
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1527
|
-
|
1558
|
+
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)};
|
1559
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1528
1560
|
}
|
1529
1561
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_last_updated(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1530
1562
|
const struct google_protobuf_Timestamp* default_val = NULL;
|
1531
1563
|
const struct google_protobuf_Timestamp* ret;
|
1532
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1533
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1564
|
+
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)};
|
1565
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1566
|
+
&default_val, &ret);
|
1534
1567
|
return ret;
|
1535
1568
|
}
|
1536
1569
|
UPB_INLINE bool envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_has_last_updated(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1537
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1538
|
-
return
|
1570
|
+
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)};
|
1571
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1539
1572
|
}
|
1540
1573
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_clear_error_state(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1541
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1542
|
-
|
1574
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1575
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1543
1576
|
}
|
1544
1577
|
UPB_INLINE const envoy_admin_v3_UpdateFailureState* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_error_state(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1545
1578
|
const envoy_admin_v3_UpdateFailureState* default_val = NULL;
|
1546
1579
|
const envoy_admin_v3_UpdateFailureState* ret;
|
1547
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1548
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1580
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1581
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1582
|
+
&default_val, &ret);
|
1549
1583
|
return ret;
|
1550
1584
|
}
|
1551
1585
|
UPB_INLINE bool envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_has_error_state(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1552
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1553
|
-
return
|
1586
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1587
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1554
1588
|
}
|
1555
1589
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_clear_client_status(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1556
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1557
|
-
|
1590
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1591
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1558
1592
|
}
|
1559
1593
|
UPB_INLINE int32_t envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_client_status(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1560
1594
|
int32_t default_val = 0;
|
1561
1595
|
int32_t ret;
|
1562
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1563
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1596
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1597
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1598
|
+
&default_val, &ret);
|
1564
1599
|
return ret;
|
1565
1600
|
}
|
1566
1601
|
|
1567
1602
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_version_info(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig *msg, upb_StringView value) {
|
1568
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1569
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1603
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1604
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1570
1605
|
}
|
1571
1606
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_route_config(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig *msg, struct google_protobuf_Any* value) {
|
1572
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1573
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1607
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1608
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1574
1609
|
}
|
1575
1610
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_mutable_route_config(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg, upb_Arena* arena) {
|
1576
1611
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_route_config(msg);
|
@@ -1581,8 +1616,8 @@ UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_RoutesConfigDump_DynamicRo
|
|
1581
1616
|
return sub;
|
1582
1617
|
}
|
1583
1618
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_last_updated(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig *msg, struct google_protobuf_Timestamp* value) {
|
1584
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1585
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1619
|
+
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)};
|
1620
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1586
1621
|
}
|
1587
1622
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_mutable_last_updated(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg, upb_Arena* arena) {
|
1588
1623
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_last_updated(msg);
|
@@ -1593,8 +1628,8 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_RoutesConfigDump_Dyn
|
|
1593
1628
|
return sub;
|
1594
1629
|
}
|
1595
1630
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_error_state(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig *msg, envoy_admin_v3_UpdateFailureState* value) {
|
1596
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1597
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1631
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1632
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1598
1633
|
}
|
1599
1634
|
UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_mutable_error_state(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg, upb_Arena* arena) {
|
1600
1635
|
struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_error_state(msg);
|
@@ -1605,8 +1640,8 @@ UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_RoutesConfig
|
|
1605
1640
|
return sub;
|
1606
1641
|
}
|
1607
1642
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_client_status(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig *msg, int32_t value) {
|
1608
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1609
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1643
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1644
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1610
1645
|
}
|
1611
1646
|
|
1612
1647
|
/* envoy.admin.v3.ScopedRoutesConfigDump */
|
@@ -1617,7 +1652,8 @@ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump* envoy_admin_v3_ScopedRoutesCon
|
|
1617
1652
|
UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump* envoy_admin_v3_ScopedRoutesConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1618
1653
|
envoy_admin_v3_ScopedRoutesConfigDump* ret = envoy_admin_v3_ScopedRoutesConfigDump_new(arena);
|
1619
1654
|
if (!ret) return NULL;
|
1620
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ScopedRoutesConfigDump_msg_init, NULL, 0, arena) !=
|
1655
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ScopedRoutesConfigDump_msg_init, NULL, 0, arena) !=
|
1656
|
+
kUpb_DecodeStatus_Ok) {
|
1621
1657
|
return NULL;
|
1622
1658
|
}
|
1623
1659
|
return ret;
|
@@ -1627,148 +1663,146 @@ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump* envoy_admin_v3_ScopedRoutesCon
|
|
1627
1663
|
int options, upb_Arena* arena) {
|
1628
1664
|
envoy_admin_v3_ScopedRoutesConfigDump* ret = envoy_admin_v3_ScopedRoutesConfigDump_new(arena);
|
1629
1665
|
if (!ret) return NULL;
|
1630
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ScopedRoutesConfigDump_msg_init, extreg, options,
|
1631
|
-
|
1666
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ScopedRoutesConfigDump_msg_init, extreg, options,
|
1667
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1632
1668
|
return NULL;
|
1633
1669
|
}
|
1634
1670
|
return ret;
|
1635
1671
|
}
|
1636
1672
|
UPB_INLINE char* envoy_admin_v3_ScopedRoutesConfigDump_serialize(const envoy_admin_v3_ScopedRoutesConfigDump* msg, upb_Arena* arena, size_t* len) {
|
1637
1673
|
char* ptr;
|
1638
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ScopedRoutesConfigDump_msg_init, 0, arena, &ptr, len);
|
1674
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ScopedRoutesConfigDump_msg_init, 0, arena, &ptr, len);
|
1639
1675
|
return ptr;
|
1640
1676
|
}
|
1641
1677
|
UPB_INLINE char* envoy_admin_v3_ScopedRoutesConfigDump_serialize_ex(const envoy_admin_v3_ScopedRoutesConfigDump* msg, int options,
|
1642
1678
|
upb_Arena* arena, size_t* len) {
|
1643
1679
|
char* ptr;
|
1644
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ScopedRoutesConfigDump_msg_init, options, arena, &ptr, len);
|
1680
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ScopedRoutesConfigDump_msg_init, options, arena, &ptr, len);
|
1645
1681
|
return ptr;
|
1646
1682
|
}
|
1647
1683
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_clear_inline_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump* msg) {
|
1648
|
-
const upb_MiniTableField field = {1,
|
1649
|
-
|
1684
|
+
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)};
|
1685
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1650
1686
|
}
|
1651
1687
|
UPB_INLINE const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* const* envoy_admin_v3_ScopedRoutesConfigDump_inline_scoped_route_configs(const envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t* size) {
|
1652
|
-
const upb_MiniTableField field = {1,
|
1653
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1688
|
+
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)};
|
1689
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1654
1690
|
if (arr) {
|
1655
|
-
if (size) *size = arr->size;
|
1656
|
-
return (const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* const*)
|
1691
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1692
|
+
return (const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* const*)upb_Array_DataPtr(arr);
|
1657
1693
|
} else {
|
1658
1694
|
if (size) *size = 0;
|
1659
1695
|
return NULL;
|
1660
1696
|
}
|
1661
1697
|
}
|
1662
1698
|
UPB_INLINE const upb_Array* _envoy_admin_v3_ScopedRoutesConfigDump_inline_scoped_route_configs_upb_array(const envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t* size) {
|
1663
|
-
const upb_MiniTableField field = {1,
|
1664
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1699
|
+
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)};
|
1700
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1665
1701
|
if (size) {
|
1666
|
-
*size = arr ? arr->size : 0;
|
1702
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1667
1703
|
}
|
1668
1704
|
return arr;
|
1669
1705
|
}
|
1670
|
-
UPB_INLINE upb_Array* _envoy_admin_v3_ScopedRoutesConfigDump_inline_scoped_route_configs_mutable_upb_array(
|
1671
|
-
const upb_MiniTableField field = {1,
|
1672
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1673
|
-
|
1706
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_ScopedRoutesConfigDump_inline_scoped_route_configs_mutable_upb_array(envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t* size, upb_Arena* arena) {
|
1707
|
+
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)};
|
1708
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1709
|
+
&field, arena);
|
1674
1710
|
if (size) {
|
1675
|
-
*size = arr ? arr->size : 0;
|
1711
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1676
1712
|
}
|
1677
1713
|
return arr;
|
1678
1714
|
}
|
1679
|
-
UPB_INLINE bool envoy_admin_v3_ScopedRoutesConfigDump_has_inline_scoped_route_configs(const envoy_admin_v3_ScopedRoutesConfigDump* msg) {
|
1680
|
-
size_t size;
|
1681
|
-
envoy_admin_v3_ScopedRoutesConfigDump_inline_scoped_route_configs(msg, &size);
|
1682
|
-
return size != 0;
|
1683
|
-
}
|
1684
1715
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_clear_dynamic_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump* msg) {
|
1685
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1686
|
-
|
1716
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1717
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1687
1718
|
}
|
1688
1719
|
UPB_INLINE const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* const* envoy_admin_v3_ScopedRoutesConfigDump_dynamic_scoped_route_configs(const envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t* size) {
|
1689
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1690
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1720
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1721
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1691
1722
|
if (arr) {
|
1692
|
-
if (size) *size = arr->size;
|
1693
|
-
return (const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* const*)
|
1723
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1724
|
+
return (const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* const*)upb_Array_DataPtr(arr);
|
1694
1725
|
} else {
|
1695
1726
|
if (size) *size = 0;
|
1696
1727
|
return NULL;
|
1697
1728
|
}
|
1698
1729
|
}
|
1699
1730
|
UPB_INLINE const upb_Array* _envoy_admin_v3_ScopedRoutesConfigDump_dynamic_scoped_route_configs_upb_array(const envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t* size) {
|
1700
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1701
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1731
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1732
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1702
1733
|
if (size) {
|
1703
|
-
*size = arr ? arr->size : 0;
|
1734
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1704
1735
|
}
|
1705
1736
|
return arr;
|
1706
1737
|
}
|
1707
|
-
UPB_INLINE upb_Array* _envoy_admin_v3_ScopedRoutesConfigDump_dynamic_scoped_route_configs_mutable_upb_array(
|
1708
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1709
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1710
|
-
|
1738
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_ScopedRoutesConfigDump_dynamic_scoped_route_configs_mutable_upb_array(envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t* size, upb_Arena* arena) {
|
1739
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1740
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1741
|
+
&field, arena);
|
1711
1742
|
if (size) {
|
1712
|
-
*size = arr ? arr->size : 0;
|
1743
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1713
1744
|
}
|
1714
1745
|
return arr;
|
1715
1746
|
}
|
1716
|
-
UPB_INLINE bool envoy_admin_v3_ScopedRoutesConfigDump_has_dynamic_scoped_route_configs(const envoy_admin_v3_ScopedRoutesConfigDump* msg) {
|
1717
|
-
size_t size;
|
1718
|
-
envoy_admin_v3_ScopedRoutesConfigDump_dynamic_scoped_route_configs(msg, &size);
|
1719
|
-
return size != 0;
|
1720
|
-
}
|
1721
1747
|
|
1722
1748
|
UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs** envoy_admin_v3_ScopedRoutesConfigDump_mutable_inline_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t* size) {
|
1723
|
-
upb_MiniTableField field = {1,
|
1724
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1749
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1750
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1725
1751
|
if (arr) {
|
1726
|
-
if (size) *size = arr->size;
|
1727
|
-
return (envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs**)
|
1752
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1753
|
+
return (envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs**)upb_Array_MutableDataPtr(arr);
|
1728
1754
|
} else {
|
1729
1755
|
if (size) *size = 0;
|
1730
1756
|
return NULL;
|
1731
1757
|
}
|
1732
1758
|
}
|
1733
1759
|
UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs** envoy_admin_v3_ScopedRoutesConfigDump_resize_inline_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t size, upb_Arena* arena) {
|
1734
|
-
upb_MiniTableField field = {1,
|
1735
|
-
return (envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs**)upb_Message_ResizeArrayUninitialized(msg,
|
1760
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1761
|
+
return (envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1762
|
+
&field, size, arena);
|
1736
1763
|
}
|
1737
1764
|
UPB_INLINE struct envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* envoy_admin_v3_ScopedRoutesConfigDump_add_inline_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump* msg, upb_Arena* arena) {
|
1738
|
-
upb_MiniTableField field = {1,
|
1739
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1740
|
-
|
1765
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1766
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1767
|
+
UPB_UPCAST(msg), &field, arena);
|
1768
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1769
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1741
1770
|
return NULL;
|
1742
1771
|
}
|
1743
1772
|
struct envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* sub = (struct envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs*)_upb_Message_New(&envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init, arena);
|
1744
1773
|
if (!arr || !sub) return NULL;
|
1745
|
-
_upb_Array_Set
|
1774
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1775
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1746
1776
|
return sub;
|
1747
1777
|
}
|
1748
1778
|
UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs** envoy_admin_v3_ScopedRoutesConfigDump_mutable_dynamic_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t* size) {
|
1749
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
1750
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1779
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 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);
|
1751
1781
|
if (arr) {
|
1752
|
-
if (size) *size = arr->size;
|
1753
|
-
return (envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs**)
|
1782
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1783
|
+
return (envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs**)upb_Array_MutableDataPtr(arr);
|
1754
1784
|
} else {
|
1755
1785
|
if (size) *size = 0;
|
1756
1786
|
return NULL;
|
1757
1787
|
}
|
1758
1788
|
}
|
1759
1789
|
UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs** envoy_admin_v3_ScopedRoutesConfigDump_resize_dynamic_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t size, upb_Arena* arena) {
|
1760
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
1761
|
-
return (envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs**)upb_Message_ResizeArrayUninitialized(msg,
|
1790
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1791
|
+
return (envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1792
|
+
&field, size, arena);
|
1762
1793
|
}
|
1763
1794
|
UPB_INLINE struct envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* envoy_admin_v3_ScopedRoutesConfigDump_add_dynamic_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump* msg, upb_Arena* arena) {
|
1764
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
1765
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1766
|
-
|
1795
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 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)) {
|
1767
1800
|
return NULL;
|
1768
1801
|
}
|
1769
1802
|
struct envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* sub = (struct envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs*)_upb_Message_New(&envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init, arena);
|
1770
1803
|
if (!arr || !sub) return NULL;
|
1771
|
-
_upb_Array_Set
|
1804
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1805
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1772
1806
|
return sub;
|
1773
1807
|
}
|
1774
1808
|
|
@@ -1780,7 +1814,8 @@ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* envoy
|
|
1780
1814
|
UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1781
1815
|
envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* ret = envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_new(arena);
|
1782
1816
|
if (!ret) return NULL;
|
1783
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init, NULL, 0, arena) !=
|
1817
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init, NULL, 0, arena) !=
|
1818
|
+
kUpb_DecodeStatus_Ok) {
|
1784
1819
|
return NULL;
|
1785
1820
|
}
|
1786
1821
|
return ret;
|
@@ -1790,120 +1825,121 @@ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* envoy
|
|
1790
1825
|
int options, upb_Arena* arena) {
|
1791
1826
|
envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* ret = envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_new(arena);
|
1792
1827
|
if (!ret) return NULL;
|
1793
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init, extreg, options,
|
1794
|
-
|
1828
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init, extreg, options,
|
1829
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1795
1830
|
return NULL;
|
1796
1831
|
}
|
1797
1832
|
return ret;
|
1798
1833
|
}
|
1799
1834
|
UPB_INLINE char* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_serialize(const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, upb_Arena* arena, size_t* len) {
|
1800
1835
|
char* ptr;
|
1801
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init, 0, arena, &ptr, len);
|
1836
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init, 0, arena, &ptr, len);
|
1802
1837
|
return ptr;
|
1803
1838
|
}
|
1804
1839
|
UPB_INLINE char* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_serialize_ex(const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, int options,
|
1805
1840
|
upb_Arena* arena, size_t* len) {
|
1806
1841
|
char* ptr;
|
1807
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init, options, arena, &ptr, len);
|
1842
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init, options, arena, &ptr, len);
|
1808
1843
|
return ptr;
|
1809
1844
|
}
|
1810
1845
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_clear_name(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg) {
|
1811
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1812
|
-
|
1846
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1847
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1813
1848
|
}
|
1814
1849
|
UPB_INLINE upb_StringView envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_name(const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg) {
|
1815
1850
|
upb_StringView default_val = upb_StringView_FromString("");
|
1816
1851
|
upb_StringView ret;
|
1817
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1818
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1852
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 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);
|
1819
1855
|
return ret;
|
1820
1856
|
}
|
1821
1857
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_clear_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg) {
|
1822
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1823
|
-
|
1858
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1859
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1824
1860
|
}
|
1825
1861
|
UPB_INLINE const struct google_protobuf_Any* const* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_scoped_route_configs(const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, size_t* size) {
|
1826
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1827
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1862
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1863
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1828
1864
|
if (arr) {
|
1829
|
-
if (size) *size = arr->size;
|
1830
|
-
return (const struct google_protobuf_Any* const*)
|
1865
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1866
|
+
return (const struct google_protobuf_Any* const*)upb_Array_DataPtr(arr);
|
1831
1867
|
} else {
|
1832
1868
|
if (size) *size = 0;
|
1833
1869
|
return NULL;
|
1834
1870
|
}
|
1835
1871
|
}
|
1836
1872
|
UPB_INLINE const upb_Array* _envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_scoped_route_configs_upb_array(const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, size_t* size) {
|
1837
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1838
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1873
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1874
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1839
1875
|
if (size) {
|
1840
|
-
*size = arr ? arr->size : 0;
|
1876
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1841
1877
|
}
|
1842
1878
|
return arr;
|
1843
1879
|
}
|
1844
|
-
UPB_INLINE upb_Array* _envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_scoped_route_configs_mutable_upb_array(
|
1845
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1846
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1847
|
-
|
1880
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_scoped_route_configs_mutable_upb_array(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, size_t* size, upb_Arena* arena) {
|
1881
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1882
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1883
|
+
&field, arena);
|
1848
1884
|
if (size) {
|
1849
|
-
*size = arr ? arr->size : 0;
|
1885
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1850
1886
|
}
|
1851
1887
|
return arr;
|
1852
1888
|
}
|
1853
|
-
UPB_INLINE bool envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_has_scoped_route_configs(const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg) {
|
1854
|
-
size_t size;
|
1855
|
-
envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_scoped_route_configs(msg, &size);
|
1856
|
-
return size != 0;
|
1857
|
-
}
|
1858
1889
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_clear_last_updated(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg) {
|
1859
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1860
|
-
|
1890
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1891
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1861
1892
|
}
|
1862
1893
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_last_updated(const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg) {
|
1863
1894
|
const struct google_protobuf_Timestamp* default_val = NULL;
|
1864
1895
|
const struct google_protobuf_Timestamp* ret;
|
1865
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1866
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1896
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1897
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1898
|
+
&default_val, &ret);
|
1867
1899
|
return ret;
|
1868
1900
|
}
|
1869
1901
|
UPB_INLINE bool envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_has_last_updated(const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg) {
|
1870
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1871
|
-
return
|
1902
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1903
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1872
1904
|
}
|
1873
1905
|
|
1874
1906
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_set_name(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs *msg, upb_StringView value) {
|
1875
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1876
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1907
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1908
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1877
1909
|
}
|
1878
1910
|
UPB_INLINE struct google_protobuf_Any** envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_mutable_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, size_t* size) {
|
1879
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
1880
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1911
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1912
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1881
1913
|
if (arr) {
|
1882
|
-
if (size) *size = arr->size;
|
1883
|
-
return (struct google_protobuf_Any**)
|
1914
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1915
|
+
return (struct google_protobuf_Any**)upb_Array_MutableDataPtr(arr);
|
1884
1916
|
} else {
|
1885
1917
|
if (size) *size = 0;
|
1886
1918
|
return NULL;
|
1887
1919
|
}
|
1888
1920
|
}
|
1889
1921
|
UPB_INLINE struct google_protobuf_Any** envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_resize_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, size_t size, upb_Arena* arena) {
|
1890
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
1891
|
-
return (struct google_protobuf_Any**)upb_Message_ResizeArrayUninitialized(msg,
|
1922
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1923
|
+
return (struct google_protobuf_Any**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1924
|
+
&field, size, arena);
|
1892
1925
|
}
|
1893
1926
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_add_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, upb_Arena* arena) {
|
1894
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
1895
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1896
|
-
|
1927
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1928
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1929
|
+
UPB_UPCAST(msg), &field, arena);
|
1930
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1931
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1897
1932
|
return NULL;
|
1898
1933
|
}
|
1899
1934
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena);
|
1900
1935
|
if (!arr || !sub) return NULL;
|
1901
|
-
_upb_Array_Set
|
1936
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1937
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1902
1938
|
return sub;
|
1903
1939
|
}
|
1904
1940
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_set_last_updated(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs *msg, struct google_protobuf_Timestamp* value) {
|
1905
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1906
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1941
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1942
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1907
1943
|
}
|
1908
1944
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_mutable_last_updated(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, upb_Arena* arena) {
|
1909
1945
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_last_updated(msg);
|
@@ -1922,7 +1958,8 @@ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* envo
|
|
1922
1958
|
UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1923
1959
|
envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* ret = envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_new(arena);
|
1924
1960
|
if (!ret) return NULL;
|
1925
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init, NULL, 0, arena) !=
|
1961
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init, NULL, 0, arena) !=
|
1962
|
+
kUpb_DecodeStatus_Ok) {
|
1926
1963
|
return NULL;
|
1927
1964
|
}
|
1928
1965
|
return ret;
|
@@ -1932,161 +1969,165 @@ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* envo
|
|
1932
1969
|
int options, upb_Arena* arena) {
|
1933
1970
|
envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* ret = envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_new(arena);
|
1934
1971
|
if (!ret) return NULL;
|
1935
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init, extreg, options,
|
1936
|
-
|
1972
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init, extreg, options,
|
1973
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1937
1974
|
return NULL;
|
1938
1975
|
}
|
1939
1976
|
return ret;
|
1940
1977
|
}
|
1941
1978
|
UPB_INLINE char* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_serialize(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, upb_Arena* arena, size_t* len) {
|
1942
1979
|
char* ptr;
|
1943
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init, 0, arena, &ptr, len);
|
1980
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init, 0, arena, &ptr, len);
|
1944
1981
|
return ptr;
|
1945
1982
|
}
|
1946
1983
|
UPB_INLINE char* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_serialize_ex(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, int options,
|
1947
1984
|
upb_Arena* arena, size_t* len) {
|
1948
1985
|
char* ptr;
|
1949
|
-
(void)upb_Encode(msg, &envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init, options, arena, &ptr, len);
|
1986
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init, options, arena, &ptr, len);
|
1950
1987
|
return ptr;
|
1951
1988
|
}
|
1952
1989
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_clear_name(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
1953
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1954
|
-
|
1990
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1991
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1955
1992
|
}
|
1956
1993
|
UPB_INLINE upb_StringView envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_name(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
1957
1994
|
upb_StringView default_val = upb_StringView_FromString("");
|
1958
1995
|
upb_StringView ret;
|
1959
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1960
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1996
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1997
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1998
|
+
&default_val, &ret);
|
1961
1999
|
return ret;
|
1962
2000
|
}
|
1963
2001
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_clear_version_info(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
1964
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1965
|
-
|
2002
|
+
const upb_MiniTableField field = {2, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2003
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1966
2004
|
}
|
1967
2005
|
UPB_INLINE upb_StringView envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_version_info(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
1968
2006
|
upb_StringView default_val = upb_StringView_FromString("");
|
1969
2007
|
upb_StringView ret;
|
1970
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1971
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2008
|
+
const upb_MiniTableField field = {2, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2009
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2010
|
+
&default_val, &ret);
|
1972
2011
|
return ret;
|
1973
2012
|
}
|
1974
2013
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_clear_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
1975
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1976
|
-
|
2014
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2015
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1977
2016
|
}
|
1978
2017
|
UPB_INLINE const struct google_protobuf_Any* const* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_scoped_route_configs(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, size_t* size) {
|
1979
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1980
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2018
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2019
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1981
2020
|
if (arr) {
|
1982
|
-
if (size) *size = arr->size;
|
1983
|
-
return (const struct google_protobuf_Any* const*)
|
2021
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
2022
|
+
return (const struct google_protobuf_Any* const*)upb_Array_DataPtr(arr);
|
1984
2023
|
} else {
|
1985
2024
|
if (size) *size = 0;
|
1986
2025
|
return NULL;
|
1987
2026
|
}
|
1988
2027
|
}
|
1989
2028
|
UPB_INLINE const upb_Array* _envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_scoped_route_configs_upb_array(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, size_t* size) {
|
1990
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1991
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2029
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2030
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1992
2031
|
if (size) {
|
1993
|
-
*size = arr ? arr->size : 0;
|
2032
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1994
2033
|
}
|
1995
2034
|
return arr;
|
1996
2035
|
}
|
1997
|
-
UPB_INLINE upb_Array* _envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_scoped_route_configs_mutable_upb_array(
|
1998
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1999
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2000
|
-
|
2036
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_scoped_route_configs_mutable_upb_array(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, size_t* size, upb_Arena* arena) {
|
2037
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2038
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
2039
|
+
&field, arena);
|
2001
2040
|
if (size) {
|
2002
|
-
*size = arr ? arr->size : 0;
|
2041
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
2003
2042
|
}
|
2004
2043
|
return arr;
|
2005
2044
|
}
|
2006
|
-
UPB_INLINE bool envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_has_scoped_route_configs(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
2007
|
-
size_t size;
|
2008
|
-
envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_scoped_route_configs(msg, &size);
|
2009
|
-
return size != 0;
|
2010
|
-
}
|
2011
2045
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_clear_last_updated(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
2012
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2013
|
-
|
2046
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 64, 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);
|
2014
2048
|
}
|
2015
2049
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_last_updated(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
2016
2050
|
const struct google_protobuf_Timestamp* default_val = NULL;
|
2017
2051
|
const struct google_protobuf_Timestamp* ret;
|
2018
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2019
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2052
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 64, 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);
|
2020
2055
|
return ret;
|
2021
2056
|
}
|
2022
2057
|
UPB_INLINE bool envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_has_last_updated(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
2023
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2024
|
-
return
|
2058
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 64, 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);
|
2025
2060
|
}
|
2026
2061
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_clear_error_state(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
2027
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2028
|
-
|
2062
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 64), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2063
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2029
2064
|
}
|
2030
2065
|
UPB_INLINE const envoy_admin_v3_UpdateFailureState* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_error_state(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
2031
2066
|
const envoy_admin_v3_UpdateFailureState* default_val = NULL;
|
2032
2067
|
const envoy_admin_v3_UpdateFailureState* ret;
|
2033
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2034
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2068
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 64), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2069
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2070
|
+
&default_val, &ret);
|
2035
2071
|
return ret;
|
2036
2072
|
}
|
2037
2073
|
UPB_INLINE bool envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_has_error_state(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
2038
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2039
|
-
return
|
2074
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 64), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2075
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2040
2076
|
}
|
2041
2077
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_clear_client_status(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
2042
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
2043
|
-
|
2078
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2079
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2044
2080
|
}
|
2045
2081
|
UPB_INLINE int32_t envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_client_status(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
2046
2082
|
int32_t default_val = 0;
|
2047
2083
|
int32_t ret;
|
2048
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
2049
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2084
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2085
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2086
|
+
&default_val, &ret);
|
2050
2087
|
return ret;
|
2051
2088
|
}
|
2052
2089
|
|
2053
2090
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_set_name(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs *msg, upb_StringView value) {
|
2054
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2055
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2091
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2092
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2056
2093
|
}
|
2057
2094
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_set_version_info(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs *msg, upb_StringView value) {
|
2058
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2059
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2095
|
+
const upb_MiniTableField field = {2, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2096
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2060
2097
|
}
|
2061
2098
|
UPB_INLINE struct google_protobuf_Any** envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_mutable_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, size_t* size) {
|
2062
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
2063
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
2099
|
+
upb_MiniTableField field = {3, UPB_SIZE(12, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2100
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
2064
2101
|
if (arr) {
|
2065
|
-
if (size) *size = arr->size;
|
2066
|
-
return (struct google_protobuf_Any**)
|
2102
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
2103
|
+
return (struct google_protobuf_Any**)upb_Array_MutableDataPtr(arr);
|
2067
2104
|
} else {
|
2068
2105
|
if (size) *size = 0;
|
2069
2106
|
return NULL;
|
2070
2107
|
}
|
2071
2108
|
}
|
2072
2109
|
UPB_INLINE struct google_protobuf_Any** envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_resize_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, size_t size, upb_Arena* arena) {
|
2073
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
2074
|
-
return (struct google_protobuf_Any**)upb_Message_ResizeArrayUninitialized(msg,
|
2110
|
+
upb_MiniTableField field = {3, UPB_SIZE(12, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2111
|
+
return (struct google_protobuf_Any**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
2112
|
+
&field, size, arena);
|
2075
2113
|
}
|
2076
2114
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_add_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, upb_Arena* arena) {
|
2077
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
2078
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2079
|
-
|
2115
|
+
upb_MiniTableField field = {3, UPB_SIZE(12, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2116
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2117
|
+
UPB_UPCAST(msg), &field, arena);
|
2118
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
2119
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
2080
2120
|
return NULL;
|
2081
2121
|
}
|
2082
2122
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena);
|
2083
2123
|
if (!arr || !sub) return NULL;
|
2084
|
-
_upb_Array_Set
|
2124
|
+
UPB_PRIVATE(_upb_Array_Set)
|
2125
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
2085
2126
|
return sub;
|
2086
2127
|
}
|
2087
2128
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_set_last_updated(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs *msg, struct google_protobuf_Timestamp* value) {
|
2088
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2089
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2129
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2130
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2090
2131
|
}
|
2091
2132
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_mutable_last_updated(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, upb_Arena* arena) {
|
2092
2133
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_last_updated(msg);
|
@@ -2097,8 +2138,8 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ScopedRoutesConfigDu
|
|
2097
2138
|
return sub;
|
2098
2139
|
}
|
2099
2140
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_set_error_state(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs *msg, envoy_admin_v3_UpdateFailureState* value) {
|
2100
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2101
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2141
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 64), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2142
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2102
2143
|
}
|
2103
2144
|
UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_mutable_error_state(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, upb_Arena* arena) {
|
2104
2145
|
struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_error_state(msg);
|
@@ -2109,8 +2150,8 @@ UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_ScopedRoutes
|
|
2109
2150
|
return sub;
|
2110
2151
|
}
|
2111
2152
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_set_client_status(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs *msg, int32_t value) {
|
2112
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
2113
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2153
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2154
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2114
2155
|
}
|
2115
2156
|
|
2116
2157
|
/* envoy.admin.v3.EndpointsConfigDump */
|
@@ -2121,7 +2162,8 @@ UPB_INLINE envoy_admin_v3_EndpointsConfigDump* envoy_admin_v3_EndpointsConfigDum
|
|
2121
2162
|
UPB_INLINE envoy_admin_v3_EndpointsConfigDump* envoy_admin_v3_EndpointsConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2122
2163
|
envoy_admin_v3_EndpointsConfigDump* ret = envoy_admin_v3_EndpointsConfigDump_new(arena);
|
2123
2164
|
if (!ret) return NULL;
|
2124
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__EndpointsConfigDump_msg_init, NULL, 0, arena) !=
|
2165
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__EndpointsConfigDump_msg_init, NULL, 0, arena) !=
|
2166
|
+
kUpb_DecodeStatus_Ok) {
|
2125
2167
|
return NULL;
|
2126
2168
|
}
|
2127
2169
|
return ret;
|
@@ -2131,148 +2173,146 @@ UPB_INLINE envoy_admin_v3_EndpointsConfigDump* envoy_admin_v3_EndpointsConfigDum
|
|
2131
2173
|
int options, upb_Arena* arena) {
|
2132
2174
|
envoy_admin_v3_EndpointsConfigDump* ret = envoy_admin_v3_EndpointsConfigDump_new(arena);
|
2133
2175
|
if (!ret) return NULL;
|
2134
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__EndpointsConfigDump_msg_init, extreg, options,
|
2135
|
-
|
2176
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__EndpointsConfigDump_msg_init, extreg, options,
|
2177
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2136
2178
|
return NULL;
|
2137
2179
|
}
|
2138
2180
|
return ret;
|
2139
2181
|
}
|
2140
2182
|
UPB_INLINE char* envoy_admin_v3_EndpointsConfigDump_serialize(const envoy_admin_v3_EndpointsConfigDump* msg, upb_Arena* arena, size_t* len) {
|
2141
2183
|
char* ptr;
|
2142
|
-
(void)upb_Encode(msg, &envoy__admin__v3__EndpointsConfigDump_msg_init, 0, arena, &ptr, len);
|
2184
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__EndpointsConfigDump_msg_init, 0, arena, &ptr, len);
|
2143
2185
|
return ptr;
|
2144
2186
|
}
|
2145
2187
|
UPB_INLINE char* envoy_admin_v3_EndpointsConfigDump_serialize_ex(const envoy_admin_v3_EndpointsConfigDump* msg, int options,
|
2146
2188
|
upb_Arena* arena, size_t* len) {
|
2147
2189
|
char* ptr;
|
2148
|
-
(void)upb_Encode(msg, &envoy__admin__v3__EndpointsConfigDump_msg_init, options, arena, &ptr, len);
|
2190
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__EndpointsConfigDump_msg_init, options, arena, &ptr, len);
|
2149
2191
|
return ptr;
|
2150
2192
|
}
|
2151
2193
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_clear_static_endpoint_configs(envoy_admin_v3_EndpointsConfigDump* msg) {
|
2152
|
-
const upb_MiniTableField field = {2,
|
2153
|
-
|
2194
|
+
const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2195
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2154
2196
|
}
|
2155
2197
|
UPB_INLINE const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* const* envoy_admin_v3_EndpointsConfigDump_static_endpoint_configs(const envoy_admin_v3_EndpointsConfigDump* msg, size_t* size) {
|
2156
|
-
const upb_MiniTableField field = {2,
|
2157
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2198
|
+
const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2199
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
2158
2200
|
if (arr) {
|
2159
|
-
if (size) *size = arr->size;
|
2160
|
-
return (const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* const*)
|
2201
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
2202
|
+
return (const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* const*)upb_Array_DataPtr(arr);
|
2161
2203
|
} else {
|
2162
2204
|
if (size) *size = 0;
|
2163
2205
|
return NULL;
|
2164
2206
|
}
|
2165
2207
|
}
|
2166
2208
|
UPB_INLINE const upb_Array* _envoy_admin_v3_EndpointsConfigDump_static_endpoint_configs_upb_array(const envoy_admin_v3_EndpointsConfigDump* msg, size_t* size) {
|
2167
|
-
const upb_MiniTableField field = {2,
|
2168
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2209
|
+
const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2210
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
2169
2211
|
if (size) {
|
2170
|
-
*size = arr ? arr->size : 0;
|
2212
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
2171
2213
|
}
|
2172
2214
|
return arr;
|
2173
2215
|
}
|
2174
|
-
UPB_INLINE upb_Array* _envoy_admin_v3_EndpointsConfigDump_static_endpoint_configs_mutable_upb_array(
|
2175
|
-
const upb_MiniTableField field = {2,
|
2176
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2177
|
-
|
2216
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_EndpointsConfigDump_static_endpoint_configs_mutable_upb_array(envoy_admin_v3_EndpointsConfigDump* msg, size_t* size, upb_Arena* arena) {
|
2217
|
+
const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2218
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
2219
|
+
&field, arena);
|
2178
2220
|
if (size) {
|
2179
|
-
*size = arr ? arr->size : 0;
|
2221
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
2180
2222
|
}
|
2181
2223
|
return arr;
|
2182
2224
|
}
|
2183
|
-
UPB_INLINE bool envoy_admin_v3_EndpointsConfigDump_has_static_endpoint_configs(const envoy_admin_v3_EndpointsConfigDump* msg) {
|
2184
|
-
size_t size;
|
2185
|
-
envoy_admin_v3_EndpointsConfigDump_static_endpoint_configs(msg, &size);
|
2186
|
-
return size != 0;
|
2187
|
-
}
|
2188
2225
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_clear_dynamic_endpoint_configs(envoy_admin_v3_EndpointsConfigDump* msg) {
|
2189
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2190
|
-
|
2226
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2227
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2191
2228
|
}
|
2192
2229
|
UPB_INLINE const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* const* envoy_admin_v3_EndpointsConfigDump_dynamic_endpoint_configs(const envoy_admin_v3_EndpointsConfigDump* msg, size_t* size) {
|
2193
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2194
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2230
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2231
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
2195
2232
|
if (arr) {
|
2196
|
-
if (size) *size = arr->size;
|
2197
|
-
return (const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* const*)
|
2233
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
2234
|
+
return (const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* const*)upb_Array_DataPtr(arr);
|
2198
2235
|
} else {
|
2199
2236
|
if (size) *size = 0;
|
2200
2237
|
return NULL;
|
2201
2238
|
}
|
2202
2239
|
}
|
2203
2240
|
UPB_INLINE const upb_Array* _envoy_admin_v3_EndpointsConfigDump_dynamic_endpoint_configs_upb_array(const envoy_admin_v3_EndpointsConfigDump* msg, size_t* size) {
|
2204
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2205
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2241
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2242
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
2206
2243
|
if (size) {
|
2207
|
-
*size = arr ? arr->size : 0;
|
2244
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
2208
2245
|
}
|
2209
2246
|
return arr;
|
2210
2247
|
}
|
2211
|
-
UPB_INLINE upb_Array* _envoy_admin_v3_EndpointsConfigDump_dynamic_endpoint_configs_mutable_upb_array(
|
2212
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2213
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2214
|
-
|
2248
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_EndpointsConfigDump_dynamic_endpoint_configs_mutable_upb_array(envoy_admin_v3_EndpointsConfigDump* msg, size_t* size, upb_Arena* arena) {
|
2249
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2250
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
2251
|
+
&field, arena);
|
2215
2252
|
if (size) {
|
2216
|
-
*size = arr ? arr->size : 0;
|
2253
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
2217
2254
|
}
|
2218
2255
|
return arr;
|
2219
2256
|
}
|
2220
|
-
UPB_INLINE bool envoy_admin_v3_EndpointsConfigDump_has_dynamic_endpoint_configs(const envoy_admin_v3_EndpointsConfigDump* msg) {
|
2221
|
-
size_t size;
|
2222
|
-
envoy_admin_v3_EndpointsConfigDump_dynamic_endpoint_configs(msg, &size);
|
2223
|
-
return size != 0;
|
2224
|
-
}
|
2225
2257
|
|
2226
2258
|
UPB_INLINE envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig** envoy_admin_v3_EndpointsConfigDump_mutable_static_endpoint_configs(envoy_admin_v3_EndpointsConfigDump* msg, size_t* size) {
|
2227
|
-
upb_MiniTableField field = {2,
|
2228
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
2259
|
+
upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2260
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
2229
2261
|
if (arr) {
|
2230
|
-
if (size) *size = arr->size;
|
2231
|
-
return (envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig**)
|
2262
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
2263
|
+
return (envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig**)upb_Array_MutableDataPtr(arr);
|
2232
2264
|
} else {
|
2233
2265
|
if (size) *size = 0;
|
2234
2266
|
return NULL;
|
2235
2267
|
}
|
2236
2268
|
}
|
2237
2269
|
UPB_INLINE envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig** envoy_admin_v3_EndpointsConfigDump_resize_static_endpoint_configs(envoy_admin_v3_EndpointsConfigDump* msg, size_t size, upb_Arena* arena) {
|
2238
|
-
upb_MiniTableField field = {2,
|
2239
|
-
return (envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig**)upb_Message_ResizeArrayUninitialized(msg,
|
2270
|
+
upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2271
|
+
return (envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
2272
|
+
&field, size, arena);
|
2240
2273
|
}
|
2241
2274
|
UPB_INLINE struct envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* envoy_admin_v3_EndpointsConfigDump_add_static_endpoint_configs(envoy_admin_v3_EndpointsConfigDump* msg, upb_Arena* arena) {
|
2242
|
-
upb_MiniTableField field = {2,
|
2243
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2244
|
-
|
2275
|
+
upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2276
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2277
|
+
UPB_UPCAST(msg), &field, arena);
|
2278
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
2279
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
2245
2280
|
return NULL;
|
2246
2281
|
}
|
2247
2282
|
struct envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* sub = (struct envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig*)_upb_Message_New(&envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init, arena);
|
2248
2283
|
if (!arr || !sub) return NULL;
|
2249
|
-
_upb_Array_Set
|
2284
|
+
UPB_PRIVATE(_upb_Array_Set)
|
2285
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
2250
2286
|
return sub;
|
2251
2287
|
}
|
2252
2288
|
UPB_INLINE envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig** envoy_admin_v3_EndpointsConfigDump_mutable_dynamic_endpoint_configs(envoy_admin_v3_EndpointsConfigDump* msg, size_t* size) {
|
2253
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
2254
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
2289
|
+
upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2290
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
2255
2291
|
if (arr) {
|
2256
|
-
if (size) *size = arr->size;
|
2257
|
-
return (envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig**)
|
2292
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
2293
|
+
return (envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig**)upb_Array_MutableDataPtr(arr);
|
2258
2294
|
} else {
|
2259
2295
|
if (size) *size = 0;
|
2260
2296
|
return NULL;
|
2261
2297
|
}
|
2262
2298
|
}
|
2263
2299
|
UPB_INLINE envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig** envoy_admin_v3_EndpointsConfigDump_resize_dynamic_endpoint_configs(envoy_admin_v3_EndpointsConfigDump* msg, size_t size, upb_Arena* arena) {
|
2264
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
2265
|
-
return (envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig**)upb_Message_ResizeArrayUninitialized(msg,
|
2300
|
+
upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2301
|
+
return (envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
2302
|
+
&field, size, arena);
|
2266
2303
|
}
|
2267
2304
|
UPB_INLINE struct envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* envoy_admin_v3_EndpointsConfigDump_add_dynamic_endpoint_configs(envoy_admin_v3_EndpointsConfigDump* msg, upb_Arena* arena) {
|
2268
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
2269
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2270
|
-
|
2305
|
+
upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2306
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2307
|
+
UPB_UPCAST(msg), &field, arena);
|
2308
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
2309
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
2271
2310
|
return NULL;
|
2272
2311
|
}
|
2273
2312
|
struct envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* sub = (struct envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig*)_upb_Message_New(&envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init, arena);
|
2274
2313
|
if (!arr || !sub) return NULL;
|
2275
|
-
_upb_Array_Set
|
2314
|
+
UPB_PRIVATE(_upb_Array_Set)
|
2315
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
2276
2316
|
return sub;
|
2277
2317
|
}
|
2278
2318
|
|
@@ -2284,7 +2324,8 @@ UPB_INLINE envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* envoy_admin_
|
|
2284
2324
|
UPB_INLINE envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2285
2325
|
envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* ret = envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_new(arena);
|
2286
2326
|
if (!ret) return NULL;
|
2287
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init, NULL, 0, arena) !=
|
2327
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init, NULL, 0, arena) !=
|
2328
|
+
kUpb_DecodeStatus_Ok) {
|
2288
2329
|
return NULL;
|
2289
2330
|
}
|
2290
2331
|
return ret;
|
@@ -2294,57 +2335,59 @@ UPB_INLINE envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* envoy_admin_
|
|
2294
2335
|
int options, upb_Arena* arena) {
|
2295
2336
|
envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* ret = envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_new(arena);
|
2296
2337
|
if (!ret) return NULL;
|
2297
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init, extreg, options,
|
2298
|
-
|
2338
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init, extreg, options,
|
2339
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2299
2340
|
return NULL;
|
2300
2341
|
}
|
2301
2342
|
return ret;
|
2302
2343
|
}
|
2303
2344
|
UPB_INLINE char* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_serialize(const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg, upb_Arena* arena, size_t* len) {
|
2304
2345
|
char* ptr;
|
2305
|
-
(void)upb_Encode(msg, &envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init, 0, arena, &ptr, len);
|
2346
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init, 0, arena, &ptr, len);
|
2306
2347
|
return ptr;
|
2307
2348
|
}
|
2308
2349
|
UPB_INLINE char* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_serialize_ex(const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg, int options,
|
2309
2350
|
upb_Arena* arena, size_t* len) {
|
2310
2351
|
char* ptr;
|
2311
|
-
(void)upb_Encode(msg, &envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init, options, arena, &ptr, len);
|
2352
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init, options, arena, &ptr, len);
|
2312
2353
|
return ptr;
|
2313
2354
|
}
|
2314
2355
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_clear_endpoint_config(envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg) {
|
2315
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2316
|
-
|
2356
|
+
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)};
|
2357
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2317
2358
|
}
|
2318
2359
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_endpoint_config(const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg) {
|
2319
2360
|
const struct google_protobuf_Any* default_val = NULL;
|
2320
2361
|
const struct google_protobuf_Any* ret;
|
2321
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2322
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2362
|
+
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)};
|
2363
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2364
|
+
&default_val, &ret);
|
2323
2365
|
return ret;
|
2324
2366
|
}
|
2325
2367
|
UPB_INLINE bool envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_has_endpoint_config(const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg) {
|
2326
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2327
|
-
return
|
2368
|
+
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)};
|
2369
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2328
2370
|
}
|
2329
2371
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_clear_last_updated(envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg) {
|
2330
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2331
|
-
|
2372
|
+
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)};
|
2373
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2332
2374
|
}
|
2333
2375
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_last_updated(const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg) {
|
2334
2376
|
const struct google_protobuf_Timestamp* default_val = NULL;
|
2335
2377
|
const struct google_protobuf_Timestamp* ret;
|
2336
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2337
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2378
|
+
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)};
|
2379
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2380
|
+
&default_val, &ret);
|
2338
2381
|
return ret;
|
2339
2382
|
}
|
2340
2383
|
UPB_INLINE bool envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_has_last_updated(const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg) {
|
2341
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2342
|
-
return
|
2384
|
+
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)};
|
2385
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2343
2386
|
}
|
2344
2387
|
|
2345
2388
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_set_endpoint_config(envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig *msg, struct google_protobuf_Any* value) {
|
2346
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2347
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2389
|
+
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)};
|
2390
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2348
2391
|
}
|
2349
2392
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_mutable_endpoint_config(envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg, upb_Arena* arena) {
|
2350
2393
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_endpoint_config(msg);
|
@@ -2355,8 +2398,8 @@ UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_EndpointsConfigDump_Static
|
|
2355
2398
|
return sub;
|
2356
2399
|
}
|
2357
2400
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_set_last_updated(envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig *msg, struct google_protobuf_Timestamp* value) {
|
2358
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2359
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2401
|
+
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)};
|
2402
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2360
2403
|
}
|
2361
2404
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_mutable_last_updated(envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg, upb_Arena* arena) {
|
2362
2405
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_last_updated(msg);
|
@@ -2375,7 +2418,8 @@ UPB_INLINE envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* envoy_admin
|
|
2375
2418
|
UPB_INLINE envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2376
2419
|
envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* ret = envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_new(arena);
|
2377
2420
|
if (!ret) return NULL;
|
2378
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init, NULL, 0, arena) !=
|
2421
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init, NULL, 0, arena) !=
|
2422
|
+
kUpb_DecodeStatus_Ok) {
|
2379
2423
|
return NULL;
|
2380
2424
|
}
|
2381
2425
|
return ret;
|
@@ -2385,98 +2429,103 @@ UPB_INLINE envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* envoy_admin
|
|
2385
2429
|
int options, upb_Arena* arena) {
|
2386
2430
|
envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* ret = envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_new(arena);
|
2387
2431
|
if (!ret) return NULL;
|
2388
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init, extreg, options,
|
2389
|
-
|
2432
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init, extreg, options,
|
2433
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2390
2434
|
return NULL;
|
2391
2435
|
}
|
2392
2436
|
return ret;
|
2393
2437
|
}
|
2394
2438
|
UPB_INLINE char* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_serialize(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg, upb_Arena* arena, size_t* len) {
|
2395
2439
|
char* ptr;
|
2396
|
-
(void)upb_Encode(msg, &envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init, 0, arena, &ptr, len);
|
2440
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init, 0, arena, &ptr, len);
|
2397
2441
|
return ptr;
|
2398
2442
|
}
|
2399
2443
|
UPB_INLINE char* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_serialize_ex(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg, int options,
|
2400
2444
|
upb_Arena* arena, size_t* len) {
|
2401
2445
|
char* ptr;
|
2402
|
-
(void)upb_Encode(msg, &envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init, options, arena, &ptr, len);
|
2446
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init, options, arena, &ptr, len);
|
2403
2447
|
return ptr;
|
2404
2448
|
}
|
2405
2449
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_clear_version_info(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2406
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2407
|
-
|
2450
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2451
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2408
2452
|
}
|
2409
2453
|
UPB_INLINE upb_StringView envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_version_info(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2410
2454
|
upb_StringView default_val = upb_StringView_FromString("");
|
2411
2455
|
upb_StringView ret;
|
2412
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2413
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2456
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2457
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2458
|
+
&default_val, &ret);
|
2414
2459
|
return ret;
|
2415
2460
|
}
|
2416
2461
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_clear_endpoint_config(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2417
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2418
|
-
|
2462
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2463
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2419
2464
|
}
|
2420
2465
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_endpoint_config(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2421
2466
|
const struct google_protobuf_Any* default_val = NULL;
|
2422
2467
|
const struct google_protobuf_Any* ret;
|
2423
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2424
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2468
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2469
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2470
|
+
&default_val, &ret);
|
2425
2471
|
return ret;
|
2426
2472
|
}
|
2427
2473
|
UPB_INLINE bool envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_has_endpoint_config(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2428
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2429
|
-
return
|
2474
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2475
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2430
2476
|
}
|
2431
2477
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_clear_last_updated(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2432
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2433
|
-
|
2478
|
+
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)};
|
2479
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2434
2480
|
}
|
2435
2481
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_last_updated(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2436
2482
|
const struct google_protobuf_Timestamp* default_val = NULL;
|
2437
2483
|
const struct google_protobuf_Timestamp* ret;
|
2438
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2439
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2484
|
+
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)};
|
2485
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2486
|
+
&default_val, &ret);
|
2440
2487
|
return ret;
|
2441
2488
|
}
|
2442
2489
|
UPB_INLINE bool envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_has_last_updated(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2443
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2444
|
-
return
|
2490
|
+
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)};
|
2491
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2445
2492
|
}
|
2446
2493
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_clear_error_state(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2447
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2448
|
-
|
2494
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2495
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2449
2496
|
}
|
2450
2497
|
UPB_INLINE const envoy_admin_v3_UpdateFailureState* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_error_state(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2451
2498
|
const envoy_admin_v3_UpdateFailureState* default_val = NULL;
|
2452
2499
|
const envoy_admin_v3_UpdateFailureState* ret;
|
2453
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2454
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2500
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2501
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2502
|
+
&default_val, &ret);
|
2455
2503
|
return ret;
|
2456
2504
|
}
|
2457
2505
|
UPB_INLINE bool envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_has_error_state(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2458
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2459
|
-
return
|
2506
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2507
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2460
2508
|
}
|
2461
2509
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_clear_client_status(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2462
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2463
|
-
|
2510
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2511
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2464
2512
|
}
|
2465
2513
|
UPB_INLINE int32_t envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_client_status(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2466
2514
|
int32_t default_val = 0;
|
2467
2515
|
int32_t ret;
|
2468
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2469
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2516
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2517
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2518
|
+
&default_val, &ret);
|
2470
2519
|
return ret;
|
2471
2520
|
}
|
2472
2521
|
|
2473
2522
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_version_info(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig *msg, upb_StringView value) {
|
2474
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2475
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2523
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2524
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2476
2525
|
}
|
2477
2526
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_endpoint_config(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig *msg, struct google_protobuf_Any* value) {
|
2478
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2479
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2527
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2528
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2480
2529
|
}
|
2481
2530
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_mutable_endpoint_config(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg, upb_Arena* arena) {
|
2482
2531
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_endpoint_config(msg);
|
@@ -2487,8 +2536,8 @@ UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_EndpointsConfigDump_Dynami
|
|
2487
2536
|
return sub;
|
2488
2537
|
}
|
2489
2538
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_last_updated(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig *msg, struct google_protobuf_Timestamp* value) {
|
2490
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2491
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2539
|
+
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)};
|
2540
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2492
2541
|
}
|
2493
2542
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_mutable_last_updated(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg, upb_Arena* arena) {
|
2494
2543
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_last_updated(msg);
|
@@ -2499,8 +2548,8 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_EndpointsConfigDump_
|
|
2499
2548
|
return sub;
|
2500
2549
|
}
|
2501
2550
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_error_state(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig *msg, envoy_admin_v3_UpdateFailureState* value) {
|
2502
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2503
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2551
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2552
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2504
2553
|
}
|
2505
2554
|
UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_mutable_error_state(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg, upb_Arena* arena) {
|
2506
2555
|
struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_error_state(msg);
|
@@ -2511,8 +2560,8 @@ UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_EndpointsCon
|
|
2511
2560
|
return sub;
|
2512
2561
|
}
|
2513
2562
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_client_status(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig *msg, int32_t value) {
|
2514
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2515
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2563
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2564
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2516
2565
|
}
|
2517
2566
|
|
2518
2567
|
/* envoy.admin.v3.EcdsConfigDump */
|
@@ -2523,7 +2572,8 @@ UPB_INLINE envoy_admin_v3_EcdsConfigDump* envoy_admin_v3_EcdsConfigDump_new(upb_
|
|
2523
2572
|
UPB_INLINE envoy_admin_v3_EcdsConfigDump* envoy_admin_v3_EcdsConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2524
2573
|
envoy_admin_v3_EcdsConfigDump* ret = envoy_admin_v3_EcdsConfigDump_new(arena);
|
2525
2574
|
if (!ret) return NULL;
|
2526
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__EcdsConfigDump_msg_init, NULL, 0, arena) !=
|
2575
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__EcdsConfigDump_msg_init, NULL, 0, arena) !=
|
2576
|
+
kUpb_DecodeStatus_Ok) {
|
2527
2577
|
return NULL;
|
2528
2578
|
}
|
2529
2579
|
return ret;
|
@@ -2533,85 +2583,84 @@ UPB_INLINE envoy_admin_v3_EcdsConfigDump* envoy_admin_v3_EcdsConfigDump_parse_ex
|
|
2533
2583
|
int options, upb_Arena* arena) {
|
2534
2584
|
envoy_admin_v3_EcdsConfigDump* ret = envoy_admin_v3_EcdsConfigDump_new(arena);
|
2535
2585
|
if (!ret) return NULL;
|
2536
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__EcdsConfigDump_msg_init, extreg, options,
|
2537
|
-
|
2586
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__EcdsConfigDump_msg_init, extreg, options,
|
2587
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2538
2588
|
return NULL;
|
2539
2589
|
}
|
2540
2590
|
return ret;
|
2541
2591
|
}
|
2542
2592
|
UPB_INLINE char* envoy_admin_v3_EcdsConfigDump_serialize(const envoy_admin_v3_EcdsConfigDump* msg, upb_Arena* arena, size_t* len) {
|
2543
2593
|
char* ptr;
|
2544
|
-
(void)upb_Encode(msg, &envoy__admin__v3__EcdsConfigDump_msg_init, 0, arena, &ptr, len);
|
2594
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__EcdsConfigDump_msg_init, 0, arena, &ptr, len);
|
2545
2595
|
return ptr;
|
2546
2596
|
}
|
2547
2597
|
UPB_INLINE char* envoy_admin_v3_EcdsConfigDump_serialize_ex(const envoy_admin_v3_EcdsConfigDump* msg, int options,
|
2548
2598
|
upb_Arena* arena, size_t* len) {
|
2549
2599
|
char* ptr;
|
2550
|
-
(void)upb_Encode(msg, &envoy__admin__v3__EcdsConfigDump_msg_init, options, arena, &ptr, len);
|
2600
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__EcdsConfigDump_msg_init, options, arena, &ptr, len);
|
2551
2601
|
return ptr;
|
2552
2602
|
}
|
2553
2603
|
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_clear_ecds_filters(envoy_admin_v3_EcdsConfigDump* msg) {
|
2554
|
-
const upb_MiniTableField field = {1,
|
2555
|
-
|
2604
|
+
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)};
|
2605
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2556
2606
|
}
|
2557
2607
|
UPB_INLINE const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* const* envoy_admin_v3_EcdsConfigDump_ecds_filters(const envoy_admin_v3_EcdsConfigDump* msg, size_t* size) {
|
2558
|
-
const upb_MiniTableField field = {1,
|
2559
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2608
|
+
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)};
|
2609
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
2560
2610
|
if (arr) {
|
2561
|
-
if (size) *size = arr->size;
|
2562
|
-
return (const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* const*)
|
2611
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
2612
|
+
return (const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* const*)upb_Array_DataPtr(arr);
|
2563
2613
|
} else {
|
2564
2614
|
if (size) *size = 0;
|
2565
2615
|
return NULL;
|
2566
2616
|
}
|
2567
2617
|
}
|
2568
2618
|
UPB_INLINE const upb_Array* _envoy_admin_v3_EcdsConfigDump_ecds_filters_upb_array(const envoy_admin_v3_EcdsConfigDump* msg, size_t* size) {
|
2569
|
-
const upb_MiniTableField field = {1,
|
2570
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2619
|
+
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)};
|
2620
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
2571
2621
|
if (size) {
|
2572
|
-
*size = arr ? arr->size : 0;
|
2622
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
2573
2623
|
}
|
2574
2624
|
return arr;
|
2575
2625
|
}
|
2576
|
-
UPB_INLINE upb_Array* _envoy_admin_v3_EcdsConfigDump_ecds_filters_mutable_upb_array(
|
2577
|
-
const upb_MiniTableField field = {1,
|
2578
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2579
|
-
|
2626
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_EcdsConfigDump_ecds_filters_mutable_upb_array(envoy_admin_v3_EcdsConfigDump* msg, size_t* size, upb_Arena* arena) {
|
2627
|
+
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)};
|
2628
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
2629
|
+
&field, arena);
|
2580
2630
|
if (size) {
|
2581
|
-
*size = arr ? arr->size : 0;
|
2631
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
2582
2632
|
}
|
2583
2633
|
return arr;
|
2584
2634
|
}
|
2585
|
-
UPB_INLINE bool envoy_admin_v3_EcdsConfigDump_has_ecds_filters(const envoy_admin_v3_EcdsConfigDump* msg) {
|
2586
|
-
size_t size;
|
2587
|
-
envoy_admin_v3_EcdsConfigDump_ecds_filters(msg, &size);
|
2588
|
-
return size != 0;
|
2589
|
-
}
|
2590
2635
|
|
2591
2636
|
UPB_INLINE envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig** envoy_admin_v3_EcdsConfigDump_mutable_ecds_filters(envoy_admin_v3_EcdsConfigDump* msg, size_t* size) {
|
2592
|
-
upb_MiniTableField field = {1,
|
2593
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
2637
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2638
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
2594
2639
|
if (arr) {
|
2595
|
-
if (size) *size = arr->size;
|
2596
|
-
return (envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig**)
|
2640
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
2641
|
+
return (envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig**)upb_Array_MutableDataPtr(arr);
|
2597
2642
|
} else {
|
2598
2643
|
if (size) *size = 0;
|
2599
2644
|
return NULL;
|
2600
2645
|
}
|
2601
2646
|
}
|
2602
2647
|
UPB_INLINE envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig** envoy_admin_v3_EcdsConfigDump_resize_ecds_filters(envoy_admin_v3_EcdsConfigDump* msg, size_t size, upb_Arena* arena) {
|
2603
|
-
upb_MiniTableField field = {1,
|
2604
|
-
return (envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig**)upb_Message_ResizeArrayUninitialized(msg,
|
2648
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2649
|
+
return (envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
2650
|
+
&field, size, arena);
|
2605
2651
|
}
|
2606
2652
|
UPB_INLINE struct envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* envoy_admin_v3_EcdsConfigDump_add_ecds_filters(envoy_admin_v3_EcdsConfigDump* msg, upb_Arena* arena) {
|
2607
|
-
upb_MiniTableField field = {1,
|
2608
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2609
|
-
|
2653
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2654
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2655
|
+
UPB_UPCAST(msg), &field, arena);
|
2656
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
2657
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
2610
2658
|
return NULL;
|
2611
2659
|
}
|
2612
2660
|
struct envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* sub = (struct envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig*)_upb_Message_New(&envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init, arena);
|
2613
2661
|
if (!arr || !sub) return NULL;
|
2614
|
-
_upb_Array_Set
|
2662
|
+
UPB_PRIVATE(_upb_Array_Set)
|
2663
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
2615
2664
|
return sub;
|
2616
2665
|
}
|
2617
2666
|
|
@@ -2623,7 +2672,8 @@ UPB_INLINE envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* envoy_admin_v3_EcdsCo
|
|
2623
2672
|
UPB_INLINE envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2624
2673
|
envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* ret = envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_new(arena);
|
2625
2674
|
if (!ret) return NULL;
|
2626
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init, NULL, 0, arena) !=
|
2675
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init, NULL, 0, arena) !=
|
2676
|
+
kUpb_DecodeStatus_Ok) {
|
2627
2677
|
return NULL;
|
2628
2678
|
}
|
2629
2679
|
return ret;
|
@@ -2633,98 +2683,103 @@ UPB_INLINE envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* envoy_admin_v3_EcdsCo
|
|
2633
2683
|
int options, upb_Arena* arena) {
|
2634
2684
|
envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* ret = envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_new(arena);
|
2635
2685
|
if (!ret) return NULL;
|
2636
|
-
if (upb_Decode(buf, size, ret, &envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init, extreg, options,
|
2637
|
-
|
2686
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init, extreg, options,
|
2687
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2638
2688
|
return NULL;
|
2639
2689
|
}
|
2640
2690
|
return ret;
|
2641
2691
|
}
|
2642
2692
|
UPB_INLINE char* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_serialize(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg, upb_Arena* arena, size_t* len) {
|
2643
2693
|
char* ptr;
|
2644
|
-
(void)upb_Encode(msg, &envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init, 0, arena, &ptr, len);
|
2694
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init, 0, arena, &ptr, len);
|
2645
2695
|
return ptr;
|
2646
2696
|
}
|
2647
2697
|
UPB_INLINE char* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_serialize_ex(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg, int options,
|
2648
2698
|
upb_Arena* arena, size_t* len) {
|
2649
2699
|
char* ptr;
|
2650
|
-
(void)upb_Encode(msg, &envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init, options, arena, &ptr, len);
|
2700
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init, options, arena, &ptr, len);
|
2651
2701
|
return ptr;
|
2652
2702
|
}
|
2653
2703
|
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_clear_version_info(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2654
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2655
|
-
|
2704
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2705
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2656
2706
|
}
|
2657
2707
|
UPB_INLINE upb_StringView envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_version_info(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2658
2708
|
upb_StringView default_val = upb_StringView_FromString("");
|
2659
2709
|
upb_StringView ret;
|
2660
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2661
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2710
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2711
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2712
|
+
&default_val, &ret);
|
2662
2713
|
return ret;
|
2663
2714
|
}
|
2664
2715
|
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_clear_ecds_filter(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2665
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2666
|
-
|
2716
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2717
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2667
2718
|
}
|
2668
2719
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_ecds_filter(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2669
2720
|
const struct google_protobuf_Any* default_val = NULL;
|
2670
2721
|
const struct google_protobuf_Any* ret;
|
2671
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2672
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2722
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2723
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2724
|
+
&default_val, &ret);
|
2673
2725
|
return ret;
|
2674
2726
|
}
|
2675
2727
|
UPB_INLINE bool envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_has_ecds_filter(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2676
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2677
|
-
return
|
2728
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2729
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2678
2730
|
}
|
2679
2731
|
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_clear_last_updated(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2680
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2681
|
-
|
2732
|
+
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)};
|
2733
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2682
2734
|
}
|
2683
2735
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_last_updated(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2684
2736
|
const struct google_protobuf_Timestamp* default_val = NULL;
|
2685
2737
|
const struct google_protobuf_Timestamp* ret;
|
2686
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2687
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2738
|
+
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)};
|
2739
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2740
|
+
&default_val, &ret);
|
2688
2741
|
return ret;
|
2689
2742
|
}
|
2690
2743
|
UPB_INLINE bool envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_has_last_updated(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2691
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2692
|
-
return
|
2744
|
+
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)};
|
2745
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2693
2746
|
}
|
2694
2747
|
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_clear_error_state(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2695
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2696
|
-
|
2748
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2749
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2697
2750
|
}
|
2698
2751
|
UPB_INLINE const envoy_admin_v3_UpdateFailureState* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_error_state(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2699
2752
|
const envoy_admin_v3_UpdateFailureState* default_val = NULL;
|
2700
2753
|
const envoy_admin_v3_UpdateFailureState* ret;
|
2701
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2702
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2754
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2755
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2756
|
+
&default_val, &ret);
|
2703
2757
|
return ret;
|
2704
2758
|
}
|
2705
2759
|
UPB_INLINE bool envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_has_error_state(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2706
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2707
|
-
return
|
2760
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2761
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2708
2762
|
}
|
2709
2763
|
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_clear_client_status(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2710
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2711
|
-
|
2764
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2765
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2712
2766
|
}
|
2713
2767
|
UPB_INLINE int32_t envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_client_status(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2714
2768
|
int32_t default_val = 0;
|
2715
2769
|
int32_t ret;
|
2716
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2717
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2770
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2771
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2772
|
+
&default_val, &ret);
|
2718
2773
|
return ret;
|
2719
2774
|
}
|
2720
2775
|
|
2721
2776
|
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_version_info(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig *msg, upb_StringView value) {
|
2722
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2723
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2777
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2778
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2724
2779
|
}
|
2725
2780
|
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_ecds_filter(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig *msg, struct google_protobuf_Any* value) {
|
2726
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2727
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2781
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2782
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2728
2783
|
}
|
2729
2784
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_mutable_ecds_filter(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg, upb_Arena* arena) {
|
2730
2785
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_ecds_filter(msg);
|
@@ -2735,8 +2790,8 @@ UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_EcdsConfigDump_EcdsFilterC
|
|
2735
2790
|
return sub;
|
2736
2791
|
}
|
2737
2792
|
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_last_updated(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig *msg, struct google_protobuf_Timestamp* value) {
|
2738
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2739
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2793
|
+
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)};
|
2794
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2740
2795
|
}
|
2741
2796
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_mutable_last_updated(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg, upb_Arena* arena) {
|
2742
2797
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_last_updated(msg);
|
@@ -2747,8 +2802,8 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_EcdsConfigDump_EcdsF
|
|
2747
2802
|
return sub;
|
2748
2803
|
}
|
2749
2804
|
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_error_state(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig *msg, envoy_admin_v3_UpdateFailureState* value) {
|
2750
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2751
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2805
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2806
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2752
2807
|
}
|
2753
2808
|
UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_mutable_error_state(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg, upb_Arena* arena) {
|
2754
2809
|
struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_error_state(msg);
|
@@ -2759,8 +2814,8 @@ UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_EcdsConfigDu
|
|
2759
2814
|
return sub;
|
2760
2815
|
}
|
2761
2816
|
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_client_status(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig *msg, int32_t value) {
|
2762
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2763
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2817
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2818
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2764
2819
|
}
|
2765
2820
|
|
2766
2821
|
#ifdef __cplusplus
|