grpc 1.54.3 → 1.59.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +665 -324
- data/include/grpc/event_engine/event_engine.h +32 -46
- data/include/grpc/event_engine/memory_allocator.h +2 -2
- data/include/grpc/grpc_audit_logging.h +96 -0
- data/include/grpc/grpc_security.h +19 -0
- data/include/grpc/impl/channel_arg_names.h +375 -0
- data/include/grpc/impl/grpc_types.h +1 -348
- data/include/grpc/module.modulemap +3 -0
- data/include/grpc/support/json.h +218 -0
- data/include/grpc/support/port_platform.h +103 -24
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +7 -2
- data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +24 -10
- data/src/core/ext/filters/client_channel/backend_metric.cc +4 -1
- data/src/core/ext/filters/client_channel/channel_connectivity.cc +4 -4
- data/src/core/ext/filters/client_channel/client_channel.cc +564 -178
- data/src/core/ext/filters/client_channel/client_channel.h +75 -23
- data/src/core/ext/filters/client_channel/client_channel_channelz.cc +20 -19
- data/src/core/ext/filters/client_channel/client_channel_internal.h +22 -59
- data/src/core/ext/filters/client_channel/client_channel_plugin.cc +15 -1
- data/src/core/ext/filters/client_channel/client_channel_service_config.cc +2 -2
- data/src/core/ext/filters/client_channel/config_selector.h +9 -36
- data/src/core/ext/filters/client_channel/dynamic_filters.h +5 -3
- data/src/core/ext/filters/client_channel/{http_proxy.cc → http_proxy_mapper.cc} +41 -3
- data/src/core/ext/filters/client_channel/{http_proxy.h → http_proxy_mapper.h} +3 -3
- data/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +27 -53
- data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +23 -9
- data/src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h +3 -0
- data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +25 -35
- data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc +188 -0
- data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.h +214 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +103 -142
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc +2 -1
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +5 -4
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +4 -2
- data/src/core/ext/filters/client_channel/lb_policy/health_check_client.cc +515 -0
- data/src/core/ext/filters/client_channel/lb_policy/health_check_client.h +52 -0
- data/src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h +204 -0
- data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc +6 -9
- data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h +2 -0
- data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +93 -106
- data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h +2 -2
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +532 -191
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h +36 -0
- data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +16 -45
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +447 -464
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h +18 -1
- data/src/core/ext/filters/client_channel/lb_policy/rls/rls.cc +73 -129
- data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +416 -30
- data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +26 -23
- data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc +76 -6
- data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc +904 -101
- data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +19 -54
- data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +73 -126
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h +8 -0
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +35 -86
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +23 -69
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +117 -173
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc +81 -68
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc +28 -96
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +21 -123
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h +30 -0
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +102 -11
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +105 -175
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +58 -44
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +4 -1
- data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc +66 -0
- data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h +27 -0
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +586 -0
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h +35 -0
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc +97 -0
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h +32 -0
- data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +3 -14
- data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.h +24 -0
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +24 -6
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +36 -2
- data/src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc +30 -28
- data/src/core/ext/filters/client_channel/resolver/polling_resolver.cc +10 -4
- data/src/core/ext/filters/client_channel/resolver/polling_resolver.h +1 -0
- data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +25 -13
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +467 -312
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h +32 -1
- data/src/core/ext/filters/client_channel/retry_filter.cc +39 -2530
- data/src/core/ext/filters/client_channel/retry_filter.h +92 -1
- data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc +2052 -0
- data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h +442 -0
- data/src/core/ext/filters/client_channel/retry_service_config.cc +10 -9
- data/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc +40 -90
- data/src/core/ext/filters/client_channel/subchannel.cc +50 -199
- data/src/core/ext/filters/client_channel/subchannel.h +23 -48
- data/src/core/ext/filters/client_channel/subchannel_interface_internal.h +3 -0
- data/src/core/ext/filters/deadline/deadline_filter.cc +1 -1
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc +1 -1
- data/src/core/ext/filters/http/client/http_client_filter.cc +1 -0
- data/src/core/ext/filters/http/client_authority_filter.cc +1 -1
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +8 -7
- data/src/core/ext/filters/http/server/http_server_filter.cc +22 -18
- data/src/core/ext/filters/message_size/message_size_filter.cc +1 -0
- data/src/core/ext/filters/rbac/rbac_filter.cc +40 -111
- data/src/core/ext/filters/rbac/rbac_filter.h +12 -30
- data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +162 -72
- data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +6 -8
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +164 -88
- data/src/core/ext/filters/stateful_session/stateful_session_filter.h +16 -7
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +1 -0
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +16 -17
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +979 -832
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +21 -0
- data/src/core/ext/transport/chttp2/transport/context_list_entry.h +70 -0
- data/src/core/ext/transport/chttp2/transport/decode_huff.cc +6569 -174
- data/src/core/ext/transport/chttp2/transport/decode_huff.h +2278 -441
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +74 -117
- data/src/core/ext/transport/chttp2/transport/flow_control.h +27 -4
- data/src/core/ext/transport/chttp2/transport/frame_data.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_goaway.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +24 -25
- data/src/core/ext/transport/chttp2/transport/frame_ping.h +1 -4
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +10 -1
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_settings.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_window_update.h +1 -1
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +1 -0
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +176 -0
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +326 -0
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +640 -547
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +160 -12
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.cc +48 -33
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +19 -5
- data/src/core/ext/transport/chttp2/transport/internal.h +194 -149
- data/src/core/ext/transport/chttp2/transport/{frame.h → legacy_frame.h} +3 -3
- data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc +44 -0
- data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h +67 -0
- data/src/core/ext/transport/chttp2/transport/parsing.cc +143 -31
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc +90 -0
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.h +59 -0
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +108 -0
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.h +115 -0
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +120 -0
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +88 -0
- data/src/core/ext/transport/chttp2/transport/stream_lists.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/write_size_policy.cc +60 -0
- data/src/core/ext/transport/chttp2/transport/write_size_policy.h +66 -0
- data/src/core/ext/transport/chttp2/transport/writing.cc +220 -145
- data/src/core/ext/transport/inproc/inproc_transport.cc +10 -0
- data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c +85 -52
- data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h +407 -182
- data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c +119 -60
- data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h +474 -225
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +88 -55
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +408 -189
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c +355 -210
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h +1564 -729
- data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c +28 -17
- data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h +140 -51
- data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c +32 -21
- data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h +153 -63
- data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c +25 -14
- data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h +71 -39
- data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c +18 -11
- data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h +41 -27
- data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c +18 -11
- data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h +41 -27
- data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c +107 -62
- data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h +559 -245
- data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c +19 -12
- data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h +38 -31
- data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +20 -19
- data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +75 -30
- data/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +21 -16
- data/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +38 -31
- data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +253 -147
- data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +869 -405
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +415 -264
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +1831 -899
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c +72 -41
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h +279 -149
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +529 -334
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +2009 -1131
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c +19 -12
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h +38 -31
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +87 -52
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +340 -233
- data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c +262 -165
- data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h +881 -477
- data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +137 -80
- data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +520 -275
- data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c +20 -13
- data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h +43 -37
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +378 -221
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +1160 -611
- data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +155 -92
- data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +620 -293
- data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c +16 -11
- data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h +30 -27
- data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +19 -12
- data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +38 -31
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c +28 -17
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h +140 -51
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +277 -167
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +811 -441
- data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +230 -137
- data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +1157 -501
- data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c +20 -13
- data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h +53 -38
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +367 -211
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +1107 -647
- data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +31 -18
- data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h +109 -51
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +32 -19
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +110 -56
- data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c +36 -21
- data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h +141 -65
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +29 -18
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +136 -66
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +20 -13
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +44 -38
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +76 -43
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h +258 -128
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c +143 -88
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h +431 -242
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c +113 -62
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h +552 -228
- data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c +16 -11
- data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h +28 -27
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +173 -118
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +850 -443
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +170 -95
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +857 -375
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +46 -27
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +152 -111
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +37 -18
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +66 -56
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c +27 -15
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h +85 -46
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +129 -74
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +481 -249
- data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +161 -84
- data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +673 -241
- data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +246 -139
- data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +926 -434
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +78 -49
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +609 -202
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +1281 -776
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +5414 -2519
- data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +47 -28
- data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +157 -85
- data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c +226 -141
- data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h +731 -400
- data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c +18 -11
- data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h +41 -27
- data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c +19 -12
- data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h +38 -31
- data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +30 -19
- data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h +62 -49
- data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c +25 -14
- data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h +103 -44
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c +44 -25
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h +252 -101
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c +19 -12
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h +38 -31
- data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c +16 -11
- data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h +28 -27
- data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c +40 -23
- data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h +101 -71
- data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c +5 -4
- data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h +14 -17
- data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c +41 -24
- data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h +103 -76
- data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c +28 -17
- data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h +88 -51
- data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c +556 -0
- data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h +2702 -0
- data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +14 -9
- data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +66 -24
- data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +58 -37
- data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +143 -109
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +91 -43
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +379 -168
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c +42 -25
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +107 -81
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +66 -22
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +348 -83
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c +30 -19
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +65 -51
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +502 -300
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +2235 -1075
- data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c +16 -11
- data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +28 -27
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c +33 -21
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +105 -79
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c +70 -45
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +186 -139
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c +45 -0
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +85 -0
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c +32 -21
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +112 -79
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c +16 -11
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +28 -27
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +5 -4
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +8 -11
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +182 -96
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +900 -361
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +54 -33
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +143 -102
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +186 -111
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +809 -420
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c +30 -19
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +101 -53
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c +8 -7
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h +11 -15
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +298 -177
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +1277 -523
- data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +40 -23
- data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h +181 -76
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +128 -83
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +503 -239
- data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c +20 -13
- data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h +48 -35
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +37 -26
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +117 -69
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c +19 -12
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h +40 -31
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c +50 -29
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h +85 -63
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c +35 -20
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h +126 -64
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +20 -13
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +84 -41
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c +19 -12
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h +43 -33
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c +16 -11
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h +30 -27
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +44 -27
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h +94 -71
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c +11 -10
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h +17 -22
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +38 -23
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +154 -76
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +29 -18
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +106 -56
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c +44 -29
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h +132 -92
- data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c +63 -42
- data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h +192 -121
- data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c +78 -45
- data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h +201 -132
- data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c +32 -21
- data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h +66 -53
- data/src/core/ext/upb-generated/envoy/type/v3/http.upb.c +5 -4
- data/src/core/ext/upb-generated/envoy/type/v3/http.upb.h +5 -8
- data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c +14 -9
- data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h +21 -19
- data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c +26 -15
- data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h +47 -34
- data/src/core/ext/upb-generated/envoy/type/v3/range.upb.c +41 -22
- data/src/core/ext/upb-generated/envoy/type/v3/range.upb.h +83 -53
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c +33 -20
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h +84 -57
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c +5 -4
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h +5 -8
- data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c +18 -11
- data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h +41 -27
- data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c +21 -14
- data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h +54 -42
- data/src/core/ext/upb-generated/google/api/annotations.upb.c +12 -11
- data/src/core/ext/upb-generated/google/api/annotations.upb.h +22 -20
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +253 -154
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +927 -451
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +297 -180
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +939 -484
- data/src/core/ext/upb-generated/google/api/http.upb.c +66 -35
- data/src/core/ext/upb-generated/google/api/http.upb.h +277 -121
- data/src/core/ext/upb-generated/google/api/httpbody.upb.c +20 -13
- data/src/core/ext/upb-generated/google/api/httpbody.upb.h +88 -38
- data/src/core/ext/upb-generated/google/protobuf/any.upb.c +17 -10
- data/src/core/ext/upb-generated/google/protobuf/any.upb.h +31 -23
- data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +1168 -419
- data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +4431 -1412
- data/src/core/ext/upb-generated/google/protobuf/duration.upb.c +17 -10
- data/src/core/ext/upb-generated/google/protobuf/duration.upb.h +31 -23
- data/src/core/ext/upb-generated/google/protobuf/empty.upb.c +8 -7
- data/src/core/ext/upb-generated/google/protobuf/empty.upb.h +11 -15
- data/src/core/ext/upb-generated/google/protobuf/struct.upb.c +60 -39
- data/src/core/ext/upb-generated/google/protobuf/struct.upb.h +200 -103
- data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +17 -10
- data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +31 -23
- data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +88 -51
- data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +149 -107
- data/src/core/ext/upb-generated/google/rpc/status.upb.c +20 -13
- data/src/core/ext/upb-generated/google/rpc/status.upb.h +88 -38
- data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c +57 -34
- data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h +147 -93
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +41 -24
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +110 -60
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +248 -145
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +912 -416
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +32 -19
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +68 -51
- data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +23 -14
- data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +37 -30
- data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +142 -81
- data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +397 -217
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c +49 -26
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h +146 -62
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c +171 -102
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h +848 -299
- data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +66 -49
- data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +148 -105
- data/src/core/ext/upb-generated/udpa/annotations/security.upb.c +24 -17
- data/src/core/ext/upb-generated/udpa/annotations/security.upb.h +48 -35
- data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +10 -9
- data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +23 -14
- data/src/core/ext/upb-generated/udpa/annotations/status.upb.c +24 -17
- data/src/core/ext/upb-generated/udpa/annotations/status.upb.h +48 -35
- data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c +21 -16
- data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h +38 -31
- data/src/core/ext/upb-generated/validate/validate.upb.c +843 -455
- data/src/core/ext/upb-generated/validate/validate.upb.h +4340 -1909
- data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c +66 -49
- data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h +148 -105
- data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c +24 -17
- data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h +48 -35
- data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c +10 -9
- data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h +23 -14
- data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c +63 -44
- data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h +130 -92
- data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c +21 -16
- data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h +38 -31
- data/src/core/ext/upb-generated/xds/core/v3/authority.upb.c +14 -9
- data/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +21 -19
- data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.c +19 -12
- data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.h +38 -31
- data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +35 -22
- data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +88 -63
- data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +24 -17
- data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +44 -29
- data/src/core/ext/upb-generated/xds/core/v3/extension.upb.c +19 -12
- data/src/core/ext/upb-generated/xds/core/v3/extension.upb.h +38 -31
- data/src/core/ext/upb-generated/xds/core/v3/resource.upb.c +21 -14
- data/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +55 -43
- data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +42 -25
- data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +162 -80
- data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +25 -14
- data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +58 -39
- data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c +76 -38
- data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h +175 -77
- data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c +19 -12
- data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h +82 -35
- data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c +16 -11
- data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h +28 -27
- data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c +30 -19
- data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h +143 -55
- data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c +8 -7
- data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h +11 -15
- data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c +32 -21
- data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h +154 -64
- data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c +160 -101
- data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h +494 -294
- data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c +83 -52
- data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h +423 -165
- data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c +22 -15
- data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h +45 -37
- data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c +38 -23
- data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h +154 -76
- data/src/core/ext/upb-generated/xds/type/v3/cel.upb.c +35 -22
- data/src/core/ext/upb-generated/xds/type/v3/cel.upb.h +84 -66
- data/src/core/ext/upb-generated/xds/type/v3/range.upb.c +41 -22
- data/src/core/ext/upb-generated/xds/type/v3/range.upb.h +83 -53
- data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c +19 -12
- data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h +38 -31
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +89 -77
- data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h +11 -5
- data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +252 -253
- data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c +163 -161
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c +130 -119
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +142 -136
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c +20 -13
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c +39 -31
- data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h +11 -5
- data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c +134 -128
- data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h +11 -5
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c +402 -0
- data/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h +111 -0
- data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +81 -75
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +64 -48
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h +11 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +495 -470
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +11 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +138 -136
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +12 -13
- data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +30 -30
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c +406 -273
- data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h +21 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h +6 -5
- data/src/core/ext/xds/certificate_provider_store.cc +8 -13
- data/src/core/ext/xds/certificate_provider_store.h +1 -1
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +30 -42
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.h +14 -9
- data/src/core/ext/xds/upb_utils.h +1 -1
- data/src/core/ext/xds/xds_api.cc +41 -18
- data/src/core/ext/xds/xds_api.h +5 -4
- data/src/core/ext/xds/xds_audit_logger_registry.cc +122 -0
- data/src/core/ext/xds/xds_audit_logger_registry.h +68 -0
- data/src/core/ext/xds/xds_bootstrap.cc +3 -3
- data/src/core/ext/xds/xds_bootstrap_grpc.cc +65 -50
- data/src/core/ext/xds/xds_bootstrap_grpc.h +10 -13
- data/src/core/ext/xds/xds_client.cc +35 -16
- data/src/core/ext/xds/xds_client.h +3 -3
- data/src/core/ext/xds/xds_client_grpc.cc +12 -6
- data/src/core/ext/xds/xds_client_grpc.h +16 -2
- data/src/core/ext/xds/xds_client_stats.h +11 -1
- data/src/core/ext/xds/xds_cluster.cc +100 -109
- data/src/core/ext/xds/xds_cluster.h +1 -6
- data/src/core/ext/xds/xds_cluster_specifier_plugin.cc +15 -11
- data/src/core/ext/xds/xds_cluster_specifier_plugin.h +2 -2
- data/src/core/ext/xds/xds_common_types.cc +8 -5
- data/src/core/ext/xds/xds_endpoint.cc +21 -28
- data/src/core/ext/xds/xds_endpoint.h +1 -2
- data/src/core/ext/xds/xds_health_status.cc +0 -17
- data/src/core/ext/xds/xds_health_status.h +5 -25
- data/src/core/ext/xds/xds_http_fault_filter.cc +16 -14
- data/src/core/ext/xds/xds_http_fault_filter.h +1 -1
- data/src/core/ext/xds/xds_http_filters.cc +1 -4
- data/src/core/ext/xds/xds_http_filters.h +3 -2
- data/src/core/ext/xds/xds_http_rbac_filter.cc +152 -72
- data/src/core/ext/xds/xds_http_rbac_filter.h +1 -1
- data/src/core/ext/xds/xds_http_stateful_session_filter.cc +16 -16
- data/src/core/ext/xds/xds_http_stateful_session_filter.h +1 -1
- data/src/core/ext/xds/xds_lb_policy_registry.cc +60 -36
- data/src/core/ext/xds/xds_listener.cc +25 -18
- data/src/core/ext/xds/xds_listener.h +14 -4
- data/src/core/ext/xds/xds_resource_type.h +3 -9
- data/src/core/ext/xds/xds_resource_type_impl.h +9 -11
- data/src/core/ext/xds/xds_route_config.cc +62 -19
- data/src/core/ext/xds/xds_route_config.h +2 -2
- data/src/core/ext/xds/xds_server_config_fetcher.cc +53 -28
- data/src/core/ext/xds/xds_transport_grpc.cc +13 -2
- data/src/core/lib/address_utils/parse_address.cc +63 -1
- data/src/core/lib/address_utils/parse_address.h +8 -0
- data/src/core/lib/address_utils/sockaddr_utils.cc +46 -1
- data/src/core/lib/address_utils/sockaddr_utils.h +2 -2
- data/src/core/lib/avl/avl.h +15 -173
- data/src/core/lib/backoff/random_early_detection.cc +4 -2
- data/src/core/lib/backoff/random_early_detection.h +7 -4
- data/src/core/lib/channel/call_tracer.cc +296 -1
- data/src/core/lib/channel/call_tracer.h +39 -1
- data/src/core/lib/channel/channel_args.cc +120 -46
- data/src/core/lib/channel/channel_args.h +52 -4
- data/src/core/lib/channel/channel_trace.cc +16 -12
- data/src/core/lib/channel/channelz.cc +163 -135
- data/src/core/lib/channel/channelz.h +42 -35
- data/src/core/lib/channel/channelz_registry.cc +24 -20
- data/src/core/lib/channel/channelz_registry.h +4 -2
- data/src/core/lib/channel/connected_channel.cc +103 -35
- data/src/core/lib/channel/promise_based_filter.cc +15 -17
- data/src/core/lib/channel/promise_based_filter.h +5 -1
- data/src/core/lib/compression/compression_internal.cc +8 -7
- data/src/core/lib/config/config_vars.cc +20 -18
- data/src/core/lib/config/config_vars.h +5 -5
- data/src/core/lib/config/core_configuration.cc +2 -1
- data/src/core/lib/config/core_configuration.h +5 -4
- data/src/core/lib/config/load_config.cc +13 -0
- data/src/core/lib/config/load_config.h +6 -0
- data/src/core/lib/debug/event_log.h +1 -1
- data/src/core/lib/debug/stats_data.cc +202 -35
- data/src/core/lib/debug/stats_data.h +103 -1
- data/src/core/lib/debug/trace.cc +31 -56
- data/src/core/lib/debug/trace.h +14 -4
- data/src/core/lib/event_engine/ares_resolver.cc +721 -0
- data/src/core/lib/event_engine/ares_resolver.h +150 -0
- data/src/core/lib/event_engine/cf_engine/cf_engine.cc +221 -0
- data/src/core/lib/event_engine/cf_engine/cf_engine.h +89 -0
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +357 -0
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.h +149 -0
- data/src/core/lib/event_engine/cf_engine/cftype_unique_ref.h +82 -0
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +241 -0
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.h +120 -0
- data/src/core/lib/event_engine/default_event_engine.cc +13 -1
- data/src/core/lib/event_engine/default_event_engine_factory.cc +14 -2
- data/src/core/lib/event_engine/event_engine.cc +0 -12
- data/src/core/lib/event_engine/forkable.cc +62 -43
- data/src/core/lib/event_engine/forkable.h +15 -0
- data/src/core/lib/event_engine/grpc_polled_fd.h +73 -0
- data/src/core/lib/event_engine/handle_containers.h +0 -4
- data/src/core/lib/event_engine/nameser.h +102 -0
- data/src/core/lib/event_engine/poller.h +2 -2
- data/src/core/lib/event_engine/posix.h +4 -0
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +5 -7
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +29 -9
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +10 -1
- data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +197 -0
- data/src/core/lib/event_engine/posix_engine/lockfree_event.cc +7 -18
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +28 -14
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +12 -1
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +90 -47
- data/src/core/lib/event_engine/posix_engine/posix_engine.h +21 -14
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +41 -31
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.h +9 -8
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +4 -2
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +50 -4
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +9 -0
- data/src/core/lib/event_engine/posix_engine/timer.h +10 -37
- data/src/core/lib/event_engine/posix_engine/timer_manager.h +1 -1
- data/src/core/lib/event_engine/posix_engine/traced_buffer_list.cc +2 -0
- data/src/core/lib/event_engine/shim.cc +9 -1
- data/src/core/lib/event_engine/tcp_socket_utils.cc +67 -7
- data/src/core/lib/event_engine/tcp_socket_utils.h +3 -0
- data/src/core/lib/event_engine/thread_pool/thread_count.cc +58 -0
- data/src/core/lib/event_engine/thread_pool/thread_count.h +176 -0
- data/src/core/lib/event_engine/thread_pool/thread_pool.h +50 -0
- data/src/core/lib/event_engine/{executor/executor.h → thread_pool/thread_pool_factory.cc} +12 -15
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +523 -0
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +223 -0
- data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.cc +157 -0
- data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.h +104 -0
- data/src/core/lib/event_engine/trace.cc +1 -0
- data/src/core/lib/event_engine/trace.h +6 -0
- data/src/core/lib/event_engine/windows/iocp.cc +4 -3
- data/src/core/lib/event_engine/windows/iocp.h +3 -3
- data/src/core/lib/event_engine/windows/win_socket.cc +6 -6
- data/src/core/lib/event_engine/windows/win_socket.h +4 -4
- data/src/core/lib/event_engine/windows/windows_endpoint.cc +60 -59
- data/src/core/lib/event_engine/windows/windows_endpoint.h +17 -13
- data/src/core/lib/event_engine/windows/windows_engine.cc +21 -18
- data/src/core/lib/event_engine/windows/windows_engine.h +14 -18
- data/src/core/lib/event_engine/windows/windows_listener.cc +3 -3
- data/src/core/lib/event_engine/windows/windows_listener.h +3 -2
- data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +63 -0
- data/src/core/lib/event_engine/work_queue/basic_work_queue.h +71 -0
- data/src/core/lib/event_engine/work_queue/work_queue.h +62 -0
- data/src/core/lib/experiments/config.cc +121 -30
- data/src/core/lib/experiments/config.h +33 -5
- data/src/core/lib/experiments/experiments.cc +675 -23
- data/src/core/lib/experiments/experiments.h +342 -27
- data/src/core/lib/gpr/log_internal.h +55 -0
- data/src/core/lib/gpr/posix/time.cc +5 -0
- data/src/core/lib/gprpp/crash.cc +10 -0
- data/src/core/lib/gprpp/crash.h +3 -0
- data/src/core/lib/gprpp/dual_ref_counted.h +9 -9
- data/src/core/lib/gprpp/fork.cc +8 -9
- data/src/core/lib/gprpp/fork.h +7 -6
- data/src/core/lib/gprpp/if_list.h +4530 -0
- data/src/core/lib/gprpp/manual_constructor.h +1 -2
- data/src/core/lib/gprpp/no_destruct.h +1 -1
- data/src/core/lib/gprpp/orphanable.h +3 -3
- data/src/core/lib/gprpp/per_cpu.cc +35 -0
- data/src/core/lib/gprpp/per_cpu.h +61 -9
- data/src/core/lib/gprpp/ref_counted.h +9 -7
- data/src/core/lib/gprpp/ref_counted_ptr.h +63 -0
- data/src/core/lib/gprpp/ref_counted_string.cc +44 -0
- data/src/core/lib/gprpp/ref_counted_string.h +146 -0
- data/src/core/lib/gprpp/sorted_pack.h +3 -12
- data/src/core/lib/gprpp/status_helper.cc +2 -2
- data/src/core/lib/gprpp/status_helper.h +16 -15
- data/src/core/lib/gprpp/time.cc +1 -0
- data/src/core/lib/gprpp/time.h +13 -1
- data/src/core/lib/gprpp/type_list.h +32 -0
- data/src/core/lib/gprpp/validation_errors.cc +8 -3
- data/src/core/lib/gprpp/validation_errors.h +16 -9
- data/src/core/lib/gprpp/work_serializer.cc +320 -12
- data/src/core/lib/gprpp/work_serializer.h +30 -9
- data/src/core/lib/http/httpcli.h +6 -9
- data/src/core/lib/http/httpcli_security_connector.cc +1 -0
- data/src/core/lib/iomgr/buffer_list.cc +2 -0
- data/src/core/lib/iomgr/buffer_list.h +0 -1
- data/src/core/lib/iomgr/cfstream_handle.cc +1 -1
- data/src/core/lib/iomgr/combiner.cc +57 -15
- data/src/core/lib/iomgr/combiner.h +8 -3
- data/src/core/lib/iomgr/endpoint_cfstream.cc +10 -8
- data/src/core/lib/iomgr/error.cc +32 -2
- data/src/core/lib/iomgr/error.h +9 -10
- data/src/core/lib/iomgr/ev_apple.cc +12 -12
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +15 -10
- data/src/core/lib/iomgr/ev_poll_posix.cc +6 -5
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +24 -27
- data/src/core/lib/iomgr/exec_ctx.cc +12 -0
- data/src/core/lib/iomgr/exec_ctx.h +66 -19
- data/src/core/lib/iomgr/iocp_windows.cc +24 -3
- data/src/core/lib/iomgr/iocp_windows.h +11 -0
- data/src/core/lib/iomgr/iomgr_posix_cfstream.cc +1 -1
- data/src/core/lib/iomgr/polling_entity.cc +10 -0
- data/src/core/lib/iomgr/polling_entity.h +2 -0
- data/src/core/lib/iomgr/pollset.h +4 -5
- data/src/core/lib/iomgr/port.h +24 -0
- data/src/core/lib/iomgr/resolve_address.cc +13 -1
- data/src/core/lib/iomgr/resolve_address.h +17 -3
- data/src/core/lib/iomgr/sockaddr_posix.h +7 -0
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +33 -2
- data/src/core/lib/iomgr/socket_utils_posix.cc +5 -0
- data/src/core/lib/iomgr/socket_utils_posix.h +9 -0
- data/src/core/lib/iomgr/socket_windows.cc +61 -7
- data/src/core/lib/iomgr/socket_windows.h +9 -2
- data/src/core/lib/iomgr/tcp_client_cfstream.cc +14 -3
- data/src/core/lib/iomgr/tcp_client_posix.cc +8 -1
- data/src/core/lib/iomgr/tcp_posix.cc +41 -21
- data/src/core/lib/iomgr/tcp_server_posix.cc +145 -106
- data/src/core/lib/iomgr/tcp_server_utils_posix.h +1 -1
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +5 -2
- data/src/core/lib/iomgr/tcp_server_windows.cc +1 -1
- data/src/core/lib/iomgr/tcp_windows.cc +1 -3
- data/src/core/lib/iomgr/timer_generic.cc +17 -16
- data/src/core/lib/iomgr/vsock.cc +59 -0
- data/src/core/lib/iomgr/vsock.h +38 -0
- data/src/core/lib/iomgr/wakeup_fd_posix.h +3 -6
- data/src/core/lib/json/json.h +2 -218
- data/src/core/lib/json/json_object_loader.cc +24 -25
- data/src/core/lib/json/json_object_loader.h +30 -18
- data/src/core/lib/json/json_reader.cc +69 -42
- data/src/core/lib/json/json_reader.h +34 -0
- data/src/core/lib/json/json_util.cc +10 -15
- data/src/core/lib/json/json_util.h +5 -4
- data/src/core/lib/json/json_writer.cc +24 -25
- data/src/core/lib/json/json_writer.h +33 -0
- data/src/core/lib/load_balancing/delegating_helper.h +115 -0
- data/src/core/lib/load_balancing/lb_policy.h +43 -9
- data/src/core/lib/load_balancing/lb_policy_registry.cc +9 -8
- data/src/core/lib/load_balancing/subchannel_interface.h +6 -0
- data/src/core/lib/matchers/matchers.cc +3 -4
- data/src/core/lib/matchers/matchers.h +2 -1
- data/src/core/lib/promise/activity.cc +5 -0
- data/src/core/lib/promise/activity.h +10 -0
- data/src/core/lib/promise/arena_promise.h +5 -1
- data/src/core/lib/promise/detail/basic_seq.h +1 -372
- data/src/core/lib/promise/detail/promise_factory.h +1 -1
- data/src/core/lib/promise/detail/seq_state.h +2494 -0
- data/src/core/lib/promise/latch.h +1 -0
- data/src/core/lib/promise/loop.h +8 -5
- data/src/core/lib/promise/party.cc +31 -13
- data/src/core/lib/promise/party.h +12 -3
- data/src/core/lib/promise/pipe.h +40 -26
- data/src/core/lib/promise/poll.h +4 -6
- data/src/core/lib/promise/prioritized_race.h +95 -0
- data/src/core/lib/promise/seq.h +19 -2
- data/src/core/lib/promise/sleep.cc +2 -1
- data/src/core/lib/promise/sleep.h +5 -10
- data/src/core/lib/promise/try_seq.h +34 -2
- data/src/core/lib/resolver/resolver_factory.h +3 -2
- data/src/core/lib/resolver/server_address.cc +9 -102
- data/src/core/lib/resolver/server_address.h +11 -70
- data/src/core/lib/resource_quota/api.cc +1 -0
- data/src/core/lib/resource_quota/arena.cc +2 -0
- data/src/core/lib/resource_quota/arena.h +42 -8
- data/src/core/lib/resource_quota/memory_quota.cc +65 -10
- data/src/core/lib/resource_quota/memory_quota.h +6 -4
- data/src/core/lib/resource_quota/resource_quota.h +1 -0
- data/src/core/lib/security/authorization/audit_logging.cc +98 -0
- data/src/core/lib/security/authorization/audit_logging.h +73 -0
- data/src/core/lib/security/authorization/authorization_policy_provider.h +1 -1
- data/src/core/lib/security/authorization/grpc_authorization_engine.cc +47 -2
- data/src/core/lib/security/authorization/grpc_authorization_engine.h +18 -1
- data/src/core/lib/security/authorization/rbac_policy.cc +36 -4
- data/src/core/lib/security/authorization/rbac_policy.h +19 -2
- data/src/core/lib/security/authorization/stdout_logger.cc +75 -0
- data/src/core/lib/security/authorization/stdout_logger.h +61 -0
- data/src/core/lib/security/certificate_provider/certificate_provider_factory.h +8 -4
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.cc +8 -18
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.h +14 -8
- data/src/core/lib/security/credentials/channel_creds_registry.h +51 -27
- data/src/core/lib/security/credentials/channel_creds_registry_init.cc +169 -9
- data/src/core/lib/security/credentials/composite/composite_credentials.cc +1 -1
- data/src/core/lib/security/credentials/composite/composite_credentials.h +3 -1
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +54 -49
- data/src/core/lib/security/credentials/external/aws_request_signer.cc +8 -0
- data/src/core/lib/security/credentials/external/external_account_credentials.cc +104 -65
- data/src/core/lib/security/credentials/external/external_account_credentials.h +6 -0
- data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +23 -21
- data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +29 -27
- data/src/core/lib/security/credentials/fake/fake_credentials.cc +30 -38
- data/src/core/lib/security/credentials/fake/fake_credentials.h +28 -0
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +6 -2
- data/src/core/lib/security/credentials/jwt/json_token.cc +36 -16
- data/src/core/lib/security/credentials/jwt/json_token.h +4 -0
- data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +10 -5
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +82 -38
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +18 -16
- data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +116 -9
- data/src/core/lib/security/credentials/ssl/ssl_credentials.h +14 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc +86 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +0 -55
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h +2 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +8 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +5 -1
- data/src/core/lib/security/credentials/tls/tls_credentials.cc +2 -1
- data/src/core/lib/security/credentials/tls/tls_credentials.h +3 -1
- data/src/core/lib/security/credentials/xds/xds_credentials.cc +1 -0
- data/src/core/lib/security/security_connector/alts/alts_security_connector.cc +2 -5
- data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +1 -0
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +7 -57
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +1 -1
- data/src/core/lib/security/security_connector/ssl_utils.cc +3 -1
- data/src/core/lib/security/security_connector/ssl_utils.h +1 -1
- data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +3 -15
- data/src/core/lib/security/transport/client_auth_filter.cc +8 -5
- data/src/core/lib/security/transport/security_handshaker.cc +1 -0
- data/src/core/lib/security/transport/server_auth_filter.cc +2 -0
- data/src/core/lib/security/util/json_util.cc +6 -5
- data/src/core/lib/service_config/service_config_call_data.h +54 -20
- data/src/core/lib/service_config/service_config_impl.cc +13 -6
- data/src/core/lib/slice/slice.h +24 -0
- data/src/core/lib/slice/slice_buffer.cc +15 -0
- data/src/core/lib/slice/slice_buffer.h +16 -4
- data/src/core/lib/slice/slice_refcount.h +1 -1
- data/src/core/lib/surface/call.cc +244 -100
- data/src/core/lib/surface/call.h +5 -5
- data/src/core/lib/surface/channel.cc +8 -4
- data/src/core/lib/surface/channel_init.h +3 -2
- data/src/core/lib/surface/completion_queue.cc +18 -3
- data/src/core/lib/surface/init.cc +1 -0
- data/src/core/lib/surface/server.cc +151 -80
- data/src/core/lib/surface/server.h +19 -21
- data/src/core/lib/surface/validate_metadata.cc +37 -22
- data/src/core/lib/surface/validate_metadata.h +13 -3
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/batch_builder.cc +16 -15
- data/src/core/lib/transport/batch_builder.h +48 -36
- data/src/core/lib/transport/metadata_batch.cc +13 -7
- data/src/core/lib/transport/metadata_batch.h +118 -108
- data/src/core/lib/transport/metadata_compression_traits.h +67 -0
- data/src/core/lib/transport/parsed_metadata.h +32 -20
- data/src/core/lib/transport/simple_slice_based_metadata.h +54 -0
- data/src/core/lib/transport/transport.h +30 -11
- data/src/core/plugin_registry/grpc_plugin_registry.cc +2 -6
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +2 -0
- data/src/core/tsi/alts/crypt/aes_gcm.cc +27 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc +4 -6
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +1 -2
- data/src/core/tsi/ssl_transport_security.cc +51 -9
- data/src/core/tsi/ssl_transport_security.h +17 -1
- data/src/ruby/bin/math_pb.rb +24 -18
- data/src/ruby/ext/grpc/extconf.rb +27 -27
- data/src/ruby/ext/grpc/rb_call.c +62 -39
- data/src/ruby/ext/grpc/rb_call_credentials.c +0 -1
- data/src/ruby/ext/grpc/rb_channel.c +109 -84
- data/src/ruby/ext/grpc/rb_channel.h +1 -0
- data/src/ruby/ext/grpc/rb_channel_args.c +18 -2
- data/src/ruby/ext/grpc/rb_channel_args.h +4 -0
- data/src/ruby/ext/grpc/rb_channel_credentials.c +0 -1
- data/src/ruby/ext/grpc/rb_compression_options.c +0 -1
- data/src/ruby/ext/grpc/rb_event_thread.c +22 -6
- data/src/ruby/ext/grpc/rb_event_thread.h +1 -0
- data/src/ruby/ext/grpc/rb_grpc.c +192 -30
- data/src/ruby/ext/grpc/rb_grpc.h +8 -2
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +2 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +3 -0
- data/src/ruby/ext/grpc/rb_server.c +62 -45
- data/src/ruby/ext/grpc/rb_server_credentials.c +0 -1
- data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +0 -1
- data/src/ruby/ext/grpc/rb_xds_server_credentials.c +0 -1
- data/src/ruby/lib/grpc/generic/active_call.rb +9 -14
- data/src/ruby/lib/grpc/generic/bidi_call.rb +2 -0
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/grpc/health/v1/health_pb.rb +24 -13
- data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +24 -3
- data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +28 -111
- data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +25 -2
- data/src/ruby/pb/test/client.rb +16 -0
- data/src/ruby/spec/generic/rpc_server_spec.rb +3 -3
- data/third_party/abseil-cpp/absl/algorithm/container.h +3 -2
- data/third_party/abseil-cpp/absl/base/attributes.h +58 -5
- data/third_party/abseil-cpp/absl/base/call_once.h +1 -1
- data/third_party/abseil-cpp/absl/base/casts.h +8 -8
- data/third_party/abseil-cpp/absl/base/config.h +89 -106
- data/third_party/abseil-cpp/absl/base/dynamic_annotations.h +26 -1
- data/third_party/abseil-cpp/absl/base/internal/direct_mmap.h +2 -2
- data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc +50 -39
- data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.h +2 -1
- data/third_party/abseil-cpp/absl/base/internal/prefetch.h +17 -18
- data/third_party/abseil-cpp/absl/base/internal/raw_logging.cc +32 -3
- data/third_party/abseil-cpp/absl/base/internal/raw_logging.h +24 -4
- data/third_party/abseil-cpp/absl/base/internal/sysinfo.cc +31 -73
- data/third_party/abseil-cpp/absl/base/internal/thread_identity.cc +9 -8
- data/third_party/abseil-cpp/absl/base/internal/thread_identity.h +11 -11
- data/third_party/abseil-cpp/absl/base/internal/throw_delegate.cc +23 -32
- data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +2 -3
- data/third_party/abseil-cpp/absl/base/options.h +1 -1
- data/third_party/abseil-cpp/absl/base/policy_checks.h +3 -3
- data/third_party/abseil-cpp/absl/base/prefetch.h +198 -0
- data/third_party/abseil-cpp/absl/container/fixed_array.h +54 -29
- data/third_party/abseil-cpp/absl/container/flat_hash_map.h +5 -1
- data/third_party/abseil-cpp/absl/container/flat_hash_set.h +6 -2
- data/third_party/abseil-cpp/absl/container/inlined_vector.h +167 -79
- data/third_party/abseil-cpp/absl/container/internal/common_policy_traits.h +1 -1
- data/third_party/abseil-cpp/absl/container/internal/compressed_tuple.h +3 -21
- data/third_party/abseil-cpp/absl/container/internal/container_memory.h +1 -1
- data/third_party/abseil-cpp/absl/container/internal/hash_function_defaults.h +46 -0
- data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc +2 -0
- data/third_party/abseil-cpp/absl/container/internal/inlined_vector.h +85 -26
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_map.h +35 -18
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc +70 -29
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h +437 -236
- data/third_party/abseil-cpp/absl/crc/crc32c.h +8 -1
- data/third_party/abseil-cpp/absl/crc/internal/cpu_detect.cc +14 -8
- data/third_party/abseil-cpp/absl/crc/internal/crc.cc +4 -35
- data/third_party/abseil-cpp/absl/crc/internal/crc.h +2 -10
- data/third_party/abseil-cpp/absl/crc/internal/crc32_x86_arm_combined_simd.h +1 -1
- data/third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc +1 -1
- data/third_party/abseil-cpp/absl/crc/internal/crc_cord_state.h +4 -4
- data/third_party/abseil-cpp/absl/crc/internal/crc_internal.h +8 -10
- data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc +17 -19
- data/third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc +8 -8
- data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h +2 -1
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_aarch64-inl.inc +59 -23
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_powerpc-inl.inc +1 -1
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_x86-inl.inc +1 -1
- data/third_party/abseil-cpp/absl/debugging/internal/symbolize.h +1 -1
- data/third_party/abseil-cpp/absl/debugging/symbolize_elf.inc +43 -19
- data/third_party/abseil-cpp/absl/debugging/symbolize_emscripten.inc +3 -0
- data/third_party/abseil-cpp/absl/flags/commandlineflag.h +1 -1
- data/third_party/abseil-cpp/absl/flags/internal/commandlineflag.cc +1 -1
- data/third_party/abseil-cpp/absl/flags/internal/flag.cc +2 -2
- data/third_party/abseil-cpp/absl/flags/internal/flag.h +16 -15
- data/third_party/abseil-cpp/absl/flags/internal/flag_msvc.inc +1 -1
- data/third_party/abseil-cpp/absl/flags/marshalling.cc +43 -2
- data/third_party/abseil-cpp/absl/flags/marshalling.h +5 -0
- data/third_party/abseil-cpp/absl/functional/any_invocable.h +9 -1
- data/third_party/abseil-cpp/absl/functional/bind_front.h +1 -1
- data/third_party/abseil-cpp/absl/functional/function_ref.h +3 -3
- data/third_party/abseil-cpp/absl/functional/internal/any_invocable.h +37 -24
- data/third_party/abseil-cpp/absl/functional/internal/function_ref.h +19 -9
- data/third_party/abseil-cpp/absl/hash/hash.h +7 -4
- data/third_party/abseil-cpp/absl/hash/internal/hash.h +38 -15
- data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc +6 -0
- data/third_party/abseil-cpp/absl/meta/type_traits.h +48 -373
- data/third_party/abseil-cpp/absl/numeric/bits.h +4 -4
- data/third_party/abseil-cpp/absl/numeric/int128.cc +20 -8
- data/third_party/abseil-cpp/absl/numeric/int128.h +36 -39
- data/third_party/abseil-cpp/absl/numeric/int128_have_intrinsic.inc +0 -3
- data/third_party/abseil-cpp/absl/numeric/int128_no_intrinsic.inc +47 -30
- data/third_party/abseil-cpp/absl/random/bit_gen_ref.h +185 -0
- data/third_party/abseil-cpp/absl/random/internal/fast_uniform_bits.h +4 -3
- data/third_party/abseil-cpp/absl/random/internal/generate_real.h +1 -1
- data/third_party/abseil-cpp/absl/random/internal/platform.h +1 -1
- data/third_party/abseil-cpp/absl/random/internal/randen_detect.cc +4 -0
- data/third_party/abseil-cpp/absl/random/internal/randen_engine.h +1 -1
- data/third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc +1 -1
- data/third_party/abseil-cpp/absl/random/internal/uniform_helper.h +1 -1
- data/third_party/abseil-cpp/absl/status/internal/status_internal.h +4 -0
- data/third_party/abseil-cpp/absl/status/internal/statusor_internal.h +12 -24
- data/third_party/abseil-cpp/absl/status/status.cc +11 -7
- data/third_party/abseil-cpp/absl/status/status.h +11 -2
- data/third_party/abseil-cpp/absl/status/statusor.h +22 -8
- data/third_party/abseil-cpp/absl/strings/ascii.cc +54 -6
- data/third_party/abseil-cpp/absl/strings/charconv.cc +21 -4
- data/third_party/abseil-cpp/absl/strings/charconv.h +2 -2
- data/third_party/abseil-cpp/absl/strings/cord.cc +1 -2
- data/third_party/abseil-cpp/absl/strings/cord.h +32 -5
- data/third_party/abseil-cpp/absl/strings/cord_analysis.cc +23 -1
- data/third_party/abseil-cpp/absl/strings/cord_analysis.h +18 -0
- data/third_party/abseil-cpp/absl/strings/cord_buffer.h +2 -5
- data/third_party/abseil-cpp/absl/strings/escaping.cc +10 -32
- data/third_party/abseil-cpp/absl/strings/escaping.h +1 -1
- data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc +2 -4
- data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.h +3 -3
- data/third_party/abseil-cpp/absl/strings/internal/cord_internal.cc +0 -1
- data/third_party/abseil-cpp/absl/strings/internal/cord_internal.h +15 -13
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc +13 -4
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.h +8 -0
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc +5 -3
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.h +4 -7
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_flat.h +8 -0
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.h +2 -2
- data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc +46 -20
- data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.h +1 -34
- data/third_party/abseil-cpp/absl/strings/internal/cordz_info.cc +2 -1
- data/third_party/abseil-cpp/absl/strings/internal/escaping.cc +23 -0
- data/third_party/abseil-cpp/absl/strings/internal/escaping.h +1 -0
- data/third_party/abseil-cpp/absl/strings/internal/memutil.cc +2 -77
- data/third_party/abseil-cpp/absl/strings/internal/memutil.h +4 -112
- data/third_party/abseil-cpp/absl/strings/internal/stl_type_traits.h +1 -1
- data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc +10 -31
- data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.h +8 -8
- data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.h +5 -20
- data/third_party/abseil-cpp/absl/strings/internal/str_format/constexpr_parser.h +1 -0
- data/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h +1 -1
- data/third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc +9 -9
- data/third_party/abseil-cpp/absl/strings/internal/str_split_internal.h +56 -6
- data/third_party/abseil-cpp/absl/strings/match.cc +87 -0
- data/third_party/abseil-cpp/absl/strings/match.h +19 -0
- data/third_party/abseil-cpp/absl/strings/numbers.cc +154 -122
- data/third_party/abseil-cpp/absl/strings/numbers.h +1 -6
- data/third_party/abseil-cpp/absl/strings/str_cat.cc +7 -50
- data/third_party/abseil-cpp/absl/strings/str_cat.h +83 -15
- data/third_party/abseil-cpp/absl/strings/str_format.h +6 -3
- data/third_party/abseil-cpp/absl/strings/str_split.cc +9 -6
- data/third_party/abseil-cpp/absl/strings/string_view.cc +26 -4
- data/third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc +5 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/futex.h +63 -43
- data/third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.cc +111 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.h +63 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc +11 -7
- data/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.cc +225 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.h +122 -114
- data/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc +12 -8
- data/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.h +10 -1
- data/third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.cc +167 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.h +60 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.cc +122 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.h +65 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.cc +91 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.h +56 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter.h +19 -113
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter_base.cc +42 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter_base.h +90 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.cc +151 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.h +70 -0
- data/third_party/abseil-cpp/absl/synchronization/mutex.cc +407 -411
- data/third_party/abseil-cpp/absl/synchronization/mutex.h +152 -118
- data/third_party/abseil-cpp/absl/time/clock.cc +6 -7
- data/third_party/abseil-cpp/absl/time/duration.cc +24 -26
- data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/time_zone.h +1 -0
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc +1 -1
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc +3 -3
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc +8 -6
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.h +6 -3
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc +4 -2
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.h +4 -0
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc +322 -295
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.h +8 -17
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc +51 -33
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.h +7 -2
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc +128 -2
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.h +1 -1
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/tzfile.h +5 -1
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc +34 -34
- data/third_party/abseil-cpp/absl/time/time.cc +9 -2
- data/third_party/abseil-cpp/absl/time/time.h +115 -15
- data/third_party/abseil-cpp/absl/types/internal/optional.h +0 -52
- data/third_party/abseil-cpp/absl/types/internal/span.h +2 -2
- data/third_party/abseil-cpp/absl/types/internal/variant.h +2 -2
- data/third_party/abseil-cpp/absl/types/optional.h +15 -13
- data/third_party/abseil-cpp/absl/types/span.h +1 -2
- data/third_party/boringssl-with-bazel/err_data.c +554 -553
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_gentm.c +7 -3
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_mbstr.c +9 -8
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strex.c +7 -7
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strnid.c +6 -6
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_time.c +34 -1
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_utctm.c +11 -4
- data/third_party/boringssl-with-bazel/src/crypto/asn1/internal.h +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_dec.c +10 -6
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_enc.c +7 -4
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +9 -7
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio_mem.c +40 -55
- data/third_party/boringssl-with-bazel/src/crypto/bio/connect.c +7 -7
- data/third_party/boringssl-with-bazel/src/crypto/bio/errno.c +92 -0
- data/third_party/boringssl-with-bazel/src/crypto/bio/fd.c +14 -54
- data/third_party/boringssl-with-bazel/src/crypto/bio/file.c +23 -22
- data/third_party/boringssl-with-bazel/src/crypto/bio/internal.h +16 -6
- data/third_party/boringssl-with-bazel/src/crypto/bio/pair.c +4 -2
- data/third_party/boringssl-with-bazel/src/crypto/bio/socket.c +4 -4
- data/third_party/boringssl-with-bazel/src/crypto/bio/socket_helper.c +11 -2
- data/third_party/boringssl-with-bazel/src/crypto/blake2/blake2.c +31 -22
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbs.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/chacha/chacha.c +19 -1
- data/third_party/boringssl-with-bazel/src/crypto/chacha/internal.h +8 -1
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_tls.c +29 -26
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/internal.h +8 -0
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/tls_cbc.c +189 -13
- data/third_party/boringssl-with-bazel/src/crypto/conf/conf.c +31 -192
- data/third_party/boringssl-with-bazel/src/crypto/conf/conf_def.h +3 -7
- data/third_party/boringssl-with-bazel/src/crypto/conf/internal.h +8 -0
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_apple.c +3 -2
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_fuchsia.c +0 -1
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_linux.c +0 -2
- data/third_party/boringssl-with-bazel/src/crypto/{cpu_aarch64_freebsd.c → cpu_aarch64_openbsd.c} +23 -24
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_sysreg.c +93 -0
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_win.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_freebsd.c +0 -1
- data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_linux.c +0 -2
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.c +55 -50
- data/third_party/boringssl-with-bazel/src/crypto/{cpu_arm.c → curve25519/curve25519_64_adx.c} +4 -24
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519_tables.h +2834 -7442
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/internal.h +26 -8
- data/third_party/boringssl-with-bazel/src/crypto/dh_extra/dh_asn1.c +4 -0
- data/third_party/boringssl-with-bazel/src/crypto/dh_extra/params.c +5 -0
- data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa.c +4 -0
- data/third_party/boringssl-with-bazel/src/crypto/dsa/internal.h +20 -0
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/ec_asn1.c +110 -72
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/ec_derive.c +4 -3
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/hash_to_curve.c +42 -34
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/internal.h +17 -11
- data/third_party/boringssl-with-bazel/src/crypto/ecdh_extra/ecdh_extra.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/err/err.c +23 -21
- data/third_party/boringssl-with-bazel/src/crypto/evp/evp.c +35 -12
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec.c +2 -4
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec_asn1.c +3 -7
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/evp/pbkdf.c +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/evp/print.c +7 -6
- data/third_party/boringssl-with-bazel/src/crypto/ex_data.c +34 -72
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bcm.c +2 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/div.c +12 -5
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd.c +5 -6
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/internal.h +12 -6
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery.c +17 -18
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery_inv.c +51 -15
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/rsaz_exp.c +7 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/delocate.h +5 -6
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/check.c +37 -8
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/dh.c +41 -19
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/internal.h +9 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/builtin_curves.h +277 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec.c +204 -428
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_key.c +4 -4
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_montgomery.c +31 -64
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/felem.c +17 -13
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/internal.h +105 -143
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/oct.c +19 -19
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p224-64.c +16 -18
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256-nistz.c +27 -30
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256.c +23 -26
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256_table.h +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/scalar.c +24 -24
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/simple.c +21 -37
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/simple_mul.c +31 -31
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/wnaf.c +16 -16
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdh/ecdh.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdsa/ecdsa.c +11 -5
- data/third_party/boringssl-with-bazel/src/crypto/{hkdf → fipsmodule/hkdf}/hkdf.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/cbc.c +2 -10
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/ctr.c +1 -4
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/gcm.c +115 -133
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/gcm_nohw.c +12 -14
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/internal.h +57 -47
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/ofb.c +1 -8
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/polyval.c +27 -28
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.c +40 -26
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/internal.h +21 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/rand.c +38 -19
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/urandom.c +2 -41
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/internal.h +76 -16
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/padding.c +5 -288
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa.c +143 -83
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.c +126 -233
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/self_check.c +113 -24
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/service_indicator/service_indicator.c +4 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/tls/internal.h +8 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/tls/kdf.c +33 -0
- data/third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c +169 -6
- data/third_party/boringssl-with-bazel/src/crypto/internal.h +216 -87
- data/third_party/boringssl-with-bazel/src/crypto/kyber/internal.h +32 -2
- data/third_party/boringssl-with-bazel/src/crypto/kyber/keccak.c +11 -12
- data/third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c +834 -0
- data/third_party/boringssl-with-bazel/src/crypto/mem.c +7 -8
- data/third_party/boringssl-with-bazel/src/crypto/obj/obj.c +25 -46
- data/third_party/boringssl-with-bazel/src/crypto/obj/obj_dat.h +6 -13
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_lib.c +18 -14
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/internal.h +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/p5_pbev2.c +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8.c +7 -7
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8_x509.c +8 -5
- data/third_party/boringssl-with-bazel/src/crypto/pool/internal.h +1 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/deterministic.c +7 -6
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/forkunsafe.c +6 -12
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/getentropy.c +52 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/{fuchsia.c → ios.c} +8 -8
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/trusty.c +38 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/windows.c +41 -19
- data/third_party/boringssl-with-bazel/src/crypto/{refcount_c11.c → refcount.c} +11 -17
- data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/internal.h +77 -0
- data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_crypt.c +568 -0
- data/third_party/boringssl-with-bazel/src/crypto/stack/stack.c +152 -72
- data/third_party/boringssl-with-bazel/src/crypto/thread_none.c +0 -8
- data/third_party/boringssl-with-bazel/src/crypto/thread_pthread.c +6 -35
- data/third_party/boringssl-with-bazel/src/crypto/thread_win.c +5 -26
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/internal.h +62 -0
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/pmbtoken.c +240 -72
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/trust_token.c +35 -0
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/voprf.c +588 -130
- data/third_party/boringssl-with-bazel/src/crypto/x509/a_sign.c +27 -18
- data/third_party/boringssl-with-bazel/src/crypto/x509/asn1_gen.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c +10 -20
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.c +0 -3
- data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +3 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509/name_print.c +17 -39
- data/third_party/boringssl-with-bazel/src/crypto/x509/policy.c +18 -14
- data/third_party/boringssl-with-bazel/src/crypto/x509/t_x509.c +39 -48
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_att.c +1 -141
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_d2.c +1 -3
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +19 -25
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_req.c +72 -23
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +8 -4
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_v3.c +8 -12
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +22 -24
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +1 -72
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509name.c +22 -29
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509spki.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c +9 -7
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_name.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_pubkey.c +7 -7
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509a.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/internal.h +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_alt.c +2 -3
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_conf.c +33 -46
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_cpols.c +1 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_info.c +3 -5
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_lib.c +20 -52
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_prn.c +14 -26
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c +11 -9
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_skey.c +17 -10
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_utl.c +5 -3
- data/third_party/boringssl-with-bazel/src/include/openssl/aead.h +5 -7
- data/third_party/boringssl-with-bazel/src/include/openssl/arm_arch.h +4 -119
- data/third_party/boringssl-with-bazel/src/include/openssl/asm_base.h +207 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/asn1.h +11 -4
- data/third_party/boringssl-with-bazel/src/include/openssl/base.h +37 -112
- data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +19 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/blake2.h +1 -4
- data/third_party/boringssl-with-bazel/src/include/openssl/bn.h +0 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/chacha.h +6 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/conf.h +5 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/dh.h +4 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/dsa.h +0 -21
- data/third_party/boringssl-with-bazel/src/include/openssl/ec.h +28 -11
- data/third_party/boringssl-with-bazel/src/include/openssl/ec_key.h +19 -6
- data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +14 -10
- data/third_party/boringssl-with-bazel/src/include/openssl/hpke.h +34 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/kyber.h +128 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/nid.h +2 -11
- data/third_party/boringssl-with-bazel/src/include/openssl/obj.h +8 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/pem.h +0 -3
- data/third_party/boringssl-with-bazel/src/include/openssl/rand.h +13 -14
- data/third_party/boringssl-with-bazel/src/include/openssl/rsa.h +91 -62
- data/third_party/boringssl-with-bazel/src/include/openssl/span.h +26 -19
- data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +275 -96
- data/third_party/boringssl-with-bazel/src/include/openssl/stack.h +242 -223
- data/third_party/boringssl-with-bazel/src/include/openssl/target.h +201 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/thread.h +1 -25
- data/third_party/boringssl-with-bazel/src/include/openssl/tls1.h +4 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/trust_token.h +8 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +760 -614
- data/third_party/boringssl-with-bazel/src/include/openssl/x509v3.h +45 -12
- data/third_party/boringssl-with-bazel/src/ssl/encrypted_client_hello.cc +11 -6
- data/third_party/boringssl-with-bazel/src/ssl/extensions.cc +10 -68
- data/third_party/boringssl-with-bazel/src/ssl/handoff.cc +20 -20
- data/third_party/boringssl-with-bazel/src/ssl/handshake_client.cc +33 -18
- data/third_party/boringssl-with-bazel/src/ssl/handshake_server.cc +1 -1
- data/third_party/boringssl-with-bazel/src/ssl/internal.h +86 -46
- data/third_party/boringssl-with-bazel/src/ssl/s3_both.cc +37 -18
- data/third_party/boringssl-with-bazel/src/ssl/ssl_asn1.cc +8 -4
- data/third_party/boringssl-with-bazel/src/ssl/ssl_cipher.cc +209 -209
- data/third_party/boringssl-with-bazel/src/ssl/ssl_file.cc +6 -6
- data/third_party/boringssl-with-bazel/src/ssl/ssl_key_share.cc +76 -118
- data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +209 -33
- data/third_party/boringssl-with-bazel/src/ssl/ssl_privkey.cc +17 -4
- data/third_party/boringssl-with-bazel/src/ssl/ssl_session.cc +19 -21
- data/third_party/boringssl-with-bazel/src/ssl/ssl_versions.cc +27 -19
- data/third_party/boringssl-with-bazel/src/ssl/tls13_both.cc +2 -1
- data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +2 -3
- data/third_party/boringssl-with-bazel/src/ssl/tls13_enc.cc +5 -21
- data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +5 -2
- data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_64_adx.h +691 -0
- data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_64_msvc.h +1281 -0
- data/third_party/boringssl-with-bazel/src/third_party/fiat/p256_64_msvc.h +2002 -0
- data/third_party/cares/cares/include/ares.h +23 -1
- data/third_party/cares/cares/{src/lib → include}/ares_nameser.h +9 -7
- data/third_party/cares/cares/include/ares_rules.h +2 -2
- data/third_party/cares/cares/include/ares_version.h +3 -3
- data/third_party/cares/cares/src/lib/ares__addrinfo2hostent.c +266 -0
- data/third_party/cares/cares/src/lib/ares__addrinfo_localhost.c +240 -0
- data/third_party/cares/cares/src/lib/ares__parse_into_addrinfo.c +49 -80
- data/third_party/cares/cares/src/lib/ares__readaddrinfo.c +37 -43
- data/third_party/cares/cares/src/lib/ares__sortaddrinfo.c +12 -4
- data/third_party/cares/cares/src/lib/ares_data.c +16 -0
- data/third_party/cares/cares/src/lib/ares_data.h +7 -0
- data/third_party/cares/cares/src/lib/ares_destroy.c +8 -0
- data/third_party/cares/cares/src/lib/ares_expand_name.c +17 -6
- data/third_party/cares/cares/src/lib/ares_freeaddrinfo.c +1 -0
- data/third_party/cares/cares/src/lib/ares_getaddrinfo.c +156 -78
- data/third_party/cares/cares/src/lib/ares_gethostbyname.c +130 -326
- data/third_party/cares/cares/src/lib/ares_init.c +97 -485
- data/third_party/cares/cares/src/lib/ares_library_init.c +2 -89
- data/third_party/cares/cares/src/lib/ares_parse_a_reply.c +23 -142
- data/third_party/cares/cares/src/lib/ares_parse_aaaa_reply.c +22 -142
- data/third_party/cares/cares/src/lib/ares_parse_uri_reply.c +184 -0
- data/third_party/cares/cares/src/lib/ares_private.h +30 -16
- data/third_party/cares/cares/src/lib/ares_process.c +55 -16
- data/third_party/cares/cares/src/lib/ares_query.c +1 -35
- data/third_party/cares/cares/src/lib/ares_rand.c +279 -0
- data/third_party/cares/cares/src/lib/ares_send.c +5 -7
- data/third_party/cares/cares/src/lib/ares_strdup.c +12 -19
- data/third_party/cares/cares/src/lib/ares_strsplit.c +44 -128
- data/third_party/cares/cares/src/lib/ares_strsplit.h +9 -10
- data/third_party/cares/cares/src/lib/inet_net_pton.c +78 -116
- data/third_party/cares/cares/src/tools/ares_getopt.h +53 -0
- data/third_party/upb/upb/{table_internal.h → alloc.h} +6 -6
- data/third_party/upb/upb/arena.h +4 -193
- data/third_party/upb/upb/array.h +4 -51
- data/third_party/upb/upb/base/descriptor_constants.h +104 -0
- data/third_party/upb/upb/base/log2.h +57 -0
- data/third_party/upb/upb/{status.c → base/status.c} +2 -7
- data/third_party/upb/upb/base/status.h +66 -0
- data/third_party/upb/upb/base/string_view.h +75 -0
- data/third_party/upb/upb/{array.c → collections/array.c} +73 -36
- data/third_party/upb/upb/collections/array.h +91 -0
- data/third_party/upb/upb/collections/array_internal.h +135 -0
- data/third_party/upb/upb/{map.c → collections/map.c} +60 -26
- data/third_party/upb/upb/collections/map.h +140 -0
- data/third_party/upb/upb/collections/map_gencode_util.h +78 -0
- data/third_party/upb/upb/collections/map_internal.h +170 -0
- data/third_party/upb/upb/collections/map_sorter.c +166 -0
- data/third_party/upb/upb/collections/map_sorter_internal.h +109 -0
- data/third_party/upb/upb/{message_value.h → collections/message_value.h} +19 -13
- data/third_party/upb/upb/decode.h +3 -62
- data/third_party/upb/upb/def.h +4 -384
- data/third_party/upb/upb/def.hpp +3 -411
- data/third_party/upb/upb/encode.h +3 -48
- data/third_party/upb/upb/extension_registry.h +3 -52
- data/third_party/upb/upb/generated_code_support.h +54 -0
- data/third_party/upb/upb/{table.c → hash/common.c} +55 -108
- data/third_party/upb/upb/hash/common.h +200 -0
- data/third_party/upb/upb/hash/int_table.h +102 -0
- data/third_party/upb/upb/hash/str_table.h +162 -0
- data/third_party/upb/upb/{json_decode.c → json/decode.c} +63 -98
- data/third_party/upb/upb/{json_decode.h → json/decode.h} +8 -3
- data/third_party/upb/upb/{json_encode.c → json/encode.c} +69 -45
- data/third_party/upb/upb/{json_encode.h → json/encode.h} +8 -3
- data/third_party/upb/upb/lex/atoi.c +68 -0
- data/third_party/upb/upb/lex/atoi.h +53 -0
- data/third_party/upb/upb/{upb.c → lex/round_trip.c} +2 -11
- data/third_party/upb/upb/{internal/upb.h → lex/round_trip.h} +17 -30
- data/third_party/upb/upb/lex/strtod.c +97 -0
- data/third_party/upb/upb/lex/strtod.h +46 -0
- data/third_party/upb/upb/lex/unicode.c +57 -0
- data/third_party/upb/upb/lex/unicode.h +77 -0
- data/third_party/upb/upb/map.h +4 -85
- data/third_party/upb/upb/mem/alloc.c +47 -0
- data/third_party/upb/upb/mem/alloc.h +98 -0
- data/third_party/upb/upb/mem/arena.c +367 -0
- data/third_party/upb/upb/mem/arena.h +160 -0
- data/third_party/upb/upb/mem/arena_internal.h +114 -0
- data/third_party/upb/upb/message/accessors.c +92 -0
- data/third_party/upb/upb/message/accessors.h +400 -0
- data/third_party/upb/upb/message/accessors_internal.h +391 -0
- data/third_party/upb/upb/message/extension_internal.h +83 -0
- data/third_party/upb/upb/message/internal/map_entry.h +64 -0
- data/third_party/upb/upb/message/internal.h +131 -0
- data/third_party/upb/upb/message/message.c +174 -0
- data/third_party/upb/upb/message/message.h +69 -0
- data/third_party/upb/upb/message/tagged_ptr.h +89 -0
- data/third_party/upb/upb/mini_descriptor/build_enum.c +150 -0
- data/third_party/upb/upb/mini_descriptor/build_enum.h +63 -0
- data/third_party/upb/upb/mini_descriptor/decode.c +875 -0
- data/third_party/upb/upb/mini_descriptor/decode.h +140 -0
- data/third_party/upb/upb/mini_descriptor/internal/base92.c +46 -0
- data/third_party/upb/upb/mini_descriptor/internal/base92.h +81 -0
- data/third_party/upb/upb/mini_descriptor/internal/decoder.h +73 -0
- data/third_party/upb/upb/mini_descriptor/internal/encode.c +326 -0
- data/third_party/upb/upb/mini_descriptor/internal/encode.h +110 -0
- data/third_party/upb/upb/{mini_table.hpp → mini_descriptor/internal/encode.hpp} +32 -8
- data/third_party/upb/upb/mini_descriptor/internal/modifiers.h +50 -0
- data/third_party/upb/upb/mini_descriptor/internal/wire_constants.h +91 -0
- data/third_party/upb/upb/mini_descriptor/link.c +142 -0
- data/third_party/upb/upb/mini_descriptor/link.h +104 -0
- data/third_party/upb/upb/mini_table/enum.h +50 -0
- data/third_party/upb/upb/mini_table/extension.h +40 -0
- data/third_party/upb/upb/{extension_registry.c → mini_table/extension_registry.c} +27 -24
- data/third_party/upb/upb/mini_table/extension_registry.h +105 -0
- data/third_party/upb/upb/mini_table/field.h +118 -0
- data/third_party/upb/upb/{collections.h → mini_table/file.h} +6 -7
- data/third_party/upb/upb/mini_table/internal/enum.h +76 -0
- data/third_party/upb/upb/mini_table/internal/extension.h +47 -0
- data/third_party/upb/upb/mini_table/internal/field.h +136 -0
- data/third_party/upb/upb/mini_table/internal/file.h +49 -0
- data/third_party/upb/upb/mini_table/internal/message.c +39 -0
- data/third_party/upb/upb/mini_table/internal/message.h +113 -0
- data/third_party/upb/upb/mini_table/internal/sub.h +39 -0
- data/third_party/upb/upb/mini_table/message.c +97 -0
- data/third_party/upb/upb/mini_table/message.h +105 -0
- data/third_party/upb/upb/mini_table/sub.h +35 -0
- data/third_party/upb/upb/msg.h +3 -38
- data/third_party/upb/upb/port/atomic.h +101 -0
- data/third_party/upb/upb/{port_def.inc → port/def.inc} +94 -27
- data/third_party/upb/upb/{port_undef.inc → port/undef.inc} +13 -3
- data/third_party/upb/upb/{internal → port}/vsnprintf_compat.h +5 -7
- data/third_party/upb/upb/reflection/common.h +67 -0
- data/third_party/upb/upb/reflection/def.h +42 -0
- data/third_party/upb/upb/reflection/def.hpp +622 -0
- data/third_party/upb/upb/reflection/def_builder.c +357 -0
- data/third_party/upb/upb/reflection/def_builder_internal.h +157 -0
- data/third_party/upb/upb/reflection/def_pool.c +462 -0
- data/third_party/upb/upb/reflection/def_pool.h +108 -0
- data/third_party/upb/upb/reflection/def_pool_internal.h +77 -0
- data/third_party/upb/upb/reflection/def_type.c +50 -0
- data/third_party/upb/upb/reflection/def_type.h +81 -0
- data/third_party/upb/upb/reflection/desc_state.c +53 -0
- data/third_party/upb/upb/reflection/desc_state_internal.h +64 -0
- data/third_party/upb/upb/reflection/enum_def.c +310 -0
- data/third_party/upb/upb/reflection/enum_def.h +80 -0
- data/third_party/upb/upb/reflection/enum_def_internal.h +56 -0
- data/third_party/upb/upb/reflection/enum_reserved_range.c +84 -0
- data/third_party/upb/upb/reflection/enum_reserved_range.h +51 -0
- data/third_party/upb/upb/reflection/enum_reserved_range_internal.h +55 -0
- data/third_party/upb/upb/reflection/enum_value_def.c +144 -0
- data/third_party/upb/upb/reflection/enum_value_def.h +57 -0
- data/third_party/upb/upb/reflection/enum_value_def_internal.h +57 -0
- data/third_party/upb/upb/reflection/extension_range.c +93 -0
- data/third_party/upb/upb/reflection/extension_range.h +55 -0
- data/third_party/upb/upb/reflection/extension_range_internal.h +54 -0
- data/third_party/upb/upb/reflection/field_def.c +931 -0
- data/third_party/upb/upb/reflection/field_def.h +91 -0
- data/third_party/upb/upb/reflection/field_def_internal.h +76 -0
- data/third_party/upb/upb/reflection/file_def.c +370 -0
- data/third_party/upb/upb/reflection/file_def.h +77 -0
- data/third_party/upb/upb/reflection/file_def_internal.h +57 -0
- data/third_party/upb/upb/reflection/message.c +233 -0
- data/third_party/upb/upb/reflection/message.h +102 -0
- data/third_party/upb/upb/reflection/message.hpp +37 -0
- data/third_party/upb/upb/reflection/message_def.c +720 -0
- data/third_party/upb/upb/reflection/message_def.h +174 -0
- data/third_party/upb/upb/reflection/message_def_internal.h +63 -0
- data/third_party/upb/upb/reflection/message_reserved_range.c +81 -0
- data/third_party/upb/upb/reflection/message_reserved_range.h +51 -0
- data/third_party/upb/upb/reflection/message_reserved_range_internal.h +55 -0
- data/third_party/upb/upb/reflection/method_def.c +124 -0
- data/third_party/upb/upb/reflection/method_def.h +59 -0
- data/third_party/upb/upb/reflection/method_def_internal.h +53 -0
- data/third_party/upb/upb/reflection/oneof_def.c +226 -0
- data/third_party/upb/upb/reflection/oneof_def.h +66 -0
- data/third_party/upb/upb/reflection/oneof_def_internal.h +57 -0
- data/third_party/upb/upb/reflection/service_def.c +128 -0
- data/third_party/upb/upb/reflection/service_def.h +60 -0
- data/third_party/upb/upb/reflection/service_def_internal.h +53 -0
- data/third_party/upb/upb/reflection.h +4 -78
- data/third_party/upb/upb/reflection.hpp +3 -7
- data/third_party/upb/upb/status.h +4 -34
- data/third_party/upb/upb/string_view.h +36 -0
- data/third_party/upb/upb/{text_encode.c → text/encode.c} +74 -70
- data/third_party/upb/upb/text/encode.h +69 -0
- data/third_party/upb/upb/text_encode.h +4 -32
- data/third_party/upb/upb/upb.h +6 -151
- data/third_party/upb/upb/upb.hpp +10 -18
- data/third_party/upb/upb/wire/common.h +44 -0
- data/third_party/upb/upb/wire/common_internal.h +50 -0
- data/third_party/upb/upb/wire/decode.c +1382 -0
- data/third_party/upb/upb/wire/decode.h +148 -0
- data/third_party/upb/upb/{decode_fast.c → wire/decode_fast.c} +184 -225
- data/third_party/upb/upb/{decode_fast.h → wire/decode_fast.h} +21 -7
- data/third_party/upb/upb/{internal/decode.h → wire/decode_internal.h} +44 -92
- data/third_party/upb/upb/{encode.c → wire/encode.c} +134 -105
- data/third_party/upb/upb/wire/encode.h +92 -0
- data/third_party/upb/upb/wire/eps_copy_input_stream.c +39 -0
- data/third_party/upb/upb/wire/eps_copy_input_stream.h +425 -0
- data/third_party/upb/upb/wire/reader.c +67 -0
- data/third_party/upb/upb/wire/reader.h +227 -0
- data/third_party/upb/upb/wire/swap_internal.h +63 -0
- data/third_party/upb/upb/wire/types.h +41 -0
- data/third_party/{upb/third_party/utf8_range → utf8_range}/range2-neon.c +1 -1
- data/third_party/{upb/third_party/utf8_range → utf8_range}/utf8_range.h +12 -0
- metadata +286 -87
- data/src/core/ext/filters/client_channel/health/health_check_client.cc +0 -175
- data/src/core/ext/filters/client_channel/health/health_check_client.h +0 -43
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_attributes.cc +0 -42
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_attributes.h +0 -64
- data/src/core/ext/transport/chttp2/transport/context_list.cc +0 -71
- data/src/core/ext/transport/chttp2/transport/context_list.h +0 -54
- data/src/core/ext/transport/chttp2/transport/stream_map.cc +0 -177
- data/src/core/ext/transport/chttp2/transport/stream_map.h +0 -68
- data/src/core/lib/event_engine/thread_pool.cc +0 -253
- data/src/core/lib/event_engine/thread_pool.h +0 -141
- data/src/core/lib/promise/detail/basic_join.h +0 -197
- data/src/core/lib/promise/detail/switch.h +0 -1455
- data/src/core/lib/promise/try_join.h +0 -82
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter.cc +0 -403
- data/third_party/boringssl-with-bazel/src/crypto/refcount_lock.c +0 -52
- data/third_party/cares/cares/src/lib/ares_library_init.h +0 -43
- data/third_party/re2/util/benchmark.h +0 -156
- data/third_party/re2/util/flags.h +0 -26
- data/third_party/re2/util/malloc_counter.h +0 -19
- data/third_party/re2/util/pcre.cc +0 -1025
- data/third_party/re2/util/pcre.h +0 -681
- data/third_party/re2/util/test.h +0 -50
- data/third_party/upb/upb/arena.c +0 -277
- data/third_party/upb/upb/decode.c +0 -1221
- data/third_party/upb/upb/def.c +0 -3269
- data/third_party/upb/upb/internal/table.h +0 -385
- data/third_party/upb/upb/mini_table.c +0 -1147
- data/third_party/upb/upb/mini_table.h +0 -189
- data/third_party/upb/upb/msg.c +0 -368
- data/third_party/upb/upb/msg_internal.h +0 -837
- data/third_party/upb/upb/reflection.c +0 -323
- data/third_party/zlib/gzclose.c +0 -25
- data/third_party/zlib/gzlib.c +0 -639
- data/third_party/zlib/gzread.c +0 -650
- data/third_party/zlib/gzwrite.c +0 -677
- /data/third_party/{upb/third_party/utf8_range → utf8_range}/naive.c +0 -0
- /data/third_party/{upb/third_party/utf8_range → utf8_range}/range2-sse.c +0 -0
@@ -9,36 +9,14 @@
|
|
9
9
|
#ifndef ENVOY_ADMIN_V3_CONFIG_DUMP_SHARED_PROTO_UPB_H_
|
10
10
|
#define ENVOY_ADMIN_V3_CONFIG_DUMP_SHARED_PROTO_UPB_H_
|
11
11
|
|
12
|
-
#include "upb/
|
13
|
-
|
14
|
-
#include "upb/
|
15
|
-
#include "upb/encode.h"
|
16
|
-
|
17
|
-
#include "upb/port_def.inc"
|
12
|
+
#include "upb/generated_code_support.h"
|
13
|
+
// Must be last.
|
14
|
+
#include "upb/port/def.inc"
|
18
15
|
|
19
16
|
#ifdef __cplusplus
|
20
17
|
extern "C" {
|
21
18
|
#endif
|
22
19
|
|
23
|
-
struct envoy_admin_v3_UpdateFailureState;
|
24
|
-
struct envoy_admin_v3_ListenersConfigDump;
|
25
|
-
struct envoy_admin_v3_ListenersConfigDump_StaticListener;
|
26
|
-
struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState;
|
27
|
-
struct envoy_admin_v3_ListenersConfigDump_DynamicListener;
|
28
|
-
struct envoy_admin_v3_ClustersConfigDump;
|
29
|
-
struct envoy_admin_v3_ClustersConfigDump_StaticCluster;
|
30
|
-
struct envoy_admin_v3_ClustersConfigDump_DynamicCluster;
|
31
|
-
struct envoy_admin_v3_RoutesConfigDump;
|
32
|
-
struct envoy_admin_v3_RoutesConfigDump_StaticRouteConfig;
|
33
|
-
struct envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig;
|
34
|
-
struct envoy_admin_v3_ScopedRoutesConfigDump;
|
35
|
-
struct envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs;
|
36
|
-
struct envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs;
|
37
|
-
struct envoy_admin_v3_EndpointsConfigDump;
|
38
|
-
struct envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig;
|
39
|
-
struct envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig;
|
40
|
-
struct envoy_admin_v3_EcdsConfigDump;
|
41
|
-
struct envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig;
|
42
20
|
typedef struct envoy_admin_v3_UpdateFailureState envoy_admin_v3_UpdateFailureState;
|
43
21
|
typedef struct envoy_admin_v3_ListenersConfigDump envoy_admin_v3_ListenersConfigDump;
|
44
22
|
typedef struct envoy_admin_v3_ListenersConfigDump_StaticListener envoy_admin_v3_ListenersConfigDump_StaticListener;
|
@@ -58,29 +36,29 @@ typedef struct envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig envoy_adm
|
|
58
36
|
typedef struct envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig;
|
59
37
|
typedef struct envoy_admin_v3_EcdsConfigDump envoy_admin_v3_EcdsConfigDump;
|
60
38
|
typedef struct envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig;
|
61
|
-
extern const upb_MiniTable
|
62
|
-
extern const upb_MiniTable
|
63
|
-
extern const upb_MiniTable
|
64
|
-
extern const upb_MiniTable
|
65
|
-
extern const upb_MiniTable
|
66
|
-
extern const upb_MiniTable
|
67
|
-
extern const upb_MiniTable
|
68
|
-
extern const upb_MiniTable
|
69
|
-
extern const upb_MiniTable
|
70
|
-
extern const upb_MiniTable
|
71
|
-
extern const upb_MiniTable
|
72
|
-
extern const upb_MiniTable
|
73
|
-
extern const upb_MiniTable
|
74
|
-
extern const upb_MiniTable
|
75
|
-
extern const upb_MiniTable
|
76
|
-
extern const upb_MiniTable
|
77
|
-
extern const upb_MiniTable
|
78
|
-
extern const upb_MiniTable
|
79
|
-
extern const upb_MiniTable
|
39
|
+
extern const upb_MiniTable envoy_admin_v3_UpdateFailureState_msg_init;
|
40
|
+
extern const upb_MiniTable envoy_admin_v3_ListenersConfigDump_msg_init;
|
41
|
+
extern const upb_MiniTable envoy_admin_v3_ListenersConfigDump_StaticListener_msg_init;
|
42
|
+
extern const upb_MiniTable envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init;
|
43
|
+
extern const upb_MiniTable envoy_admin_v3_ListenersConfigDump_DynamicListener_msg_init;
|
44
|
+
extern const upb_MiniTable envoy_admin_v3_ClustersConfigDump_msg_init;
|
45
|
+
extern const upb_MiniTable envoy_admin_v3_ClustersConfigDump_StaticCluster_msg_init;
|
46
|
+
extern const upb_MiniTable envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init;
|
47
|
+
extern const upb_MiniTable envoy_admin_v3_RoutesConfigDump_msg_init;
|
48
|
+
extern const upb_MiniTable envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_msg_init;
|
49
|
+
extern const upb_MiniTable envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_msg_init;
|
50
|
+
extern const upb_MiniTable envoy_admin_v3_ScopedRoutesConfigDump_msg_init;
|
51
|
+
extern const upb_MiniTable envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_msg_init;
|
52
|
+
extern const upb_MiniTable envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_msg_init;
|
53
|
+
extern const upb_MiniTable envoy_admin_v3_EndpointsConfigDump_msg_init;
|
54
|
+
extern const upb_MiniTable envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_msg_init;
|
55
|
+
extern const upb_MiniTable envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_msg_init;
|
56
|
+
extern const upb_MiniTable envoy_admin_v3_EcdsConfigDump_msg_init;
|
57
|
+
extern const upb_MiniTable envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_msg_init;
|
80
58
|
struct google_protobuf_Any;
|
81
59
|
struct google_protobuf_Timestamp;
|
82
|
-
extern const upb_MiniTable
|
83
|
-
extern const upb_MiniTable
|
60
|
+
extern const upb_MiniTable google_protobuf_Any_msg_init;
|
61
|
+
extern const upb_MiniTable google_protobuf_Timestamp_msg_init;
|
84
62
|
|
85
63
|
typedef enum {
|
86
64
|
envoy_admin_v3_UNKNOWN = 0,
|
@@ -95,12 +73,12 @@ typedef enum {
|
|
95
73
|
/* envoy.admin.v3.UpdateFailureState */
|
96
74
|
|
97
75
|
UPB_INLINE envoy_admin_v3_UpdateFailureState* envoy_admin_v3_UpdateFailureState_new(upb_Arena* arena) {
|
98
|
-
return (envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&
|
76
|
+
return (envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy_admin_v3_UpdateFailureState_msg_init, arena);
|
99
77
|
}
|
100
78
|
UPB_INLINE envoy_admin_v3_UpdateFailureState* envoy_admin_v3_UpdateFailureState_parse(const char* buf, size_t size, upb_Arena* arena) {
|
101
79
|
envoy_admin_v3_UpdateFailureState* ret = envoy_admin_v3_UpdateFailureState_new(arena);
|
102
80
|
if (!ret) return NULL;
|
103
|
-
if (upb_Decode(buf, size, ret, &
|
81
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_UpdateFailureState_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
104
82
|
return NULL;
|
105
83
|
}
|
106
84
|
return ret;
|
@@ -110,7 +88,7 @@ UPB_INLINE envoy_admin_v3_UpdateFailureState* envoy_admin_v3_UpdateFailureState_
|
|
110
88
|
int options, upb_Arena* arena) {
|
111
89
|
envoy_admin_v3_UpdateFailureState* ret = envoy_admin_v3_UpdateFailureState_new(arena);
|
112
90
|
if (!ret) return NULL;
|
113
|
-
if (upb_Decode(buf, size, ret, &
|
91
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_UpdateFailureState_msg_init, extreg, options, arena) !=
|
114
92
|
kUpb_DecodeStatus_Ok) {
|
115
93
|
return NULL;
|
116
94
|
}
|
@@ -118,88 +96,110 @@ UPB_INLINE envoy_admin_v3_UpdateFailureState* envoy_admin_v3_UpdateFailureState_
|
|
118
96
|
}
|
119
97
|
UPB_INLINE char* envoy_admin_v3_UpdateFailureState_serialize(const envoy_admin_v3_UpdateFailureState* msg, upb_Arena* arena, size_t* len) {
|
120
98
|
char* ptr;
|
121
|
-
(void)upb_Encode(msg, &
|
99
|
+
(void)upb_Encode(msg, &envoy_admin_v3_UpdateFailureState_msg_init, 0, arena, &ptr, len);
|
122
100
|
return ptr;
|
123
101
|
}
|
124
102
|
UPB_INLINE char* envoy_admin_v3_UpdateFailureState_serialize_ex(const envoy_admin_v3_UpdateFailureState* msg, int options,
|
125
103
|
upb_Arena* arena, size_t* len) {
|
126
104
|
char* ptr;
|
127
|
-
(void)upb_Encode(msg, &
|
105
|
+
(void)upb_Encode(msg, &envoy_admin_v3_UpdateFailureState_msg_init, options, arena, &ptr, len);
|
128
106
|
return ptr;
|
129
107
|
}
|
130
|
-
UPB_INLINE
|
131
|
-
|
132
|
-
|
133
|
-
UPB_INLINE void envoy_admin_v3_UpdateFailureState_clear_failed_configuration(const envoy_admin_v3_UpdateFailureState* msg) {
|
134
|
-
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
|
108
|
+
UPB_INLINE void envoy_admin_v3_UpdateFailureState_clear_failed_configuration(envoy_admin_v3_UpdateFailureState* msg) {
|
109
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
110
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
135
111
|
}
|
136
112
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_UpdateFailureState_failed_configuration(const envoy_admin_v3_UpdateFailureState* msg) {
|
137
|
-
|
113
|
+
const struct google_protobuf_Any* default_val = NULL;
|
114
|
+
const struct google_protobuf_Any* ret;
|
115
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
116
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
117
|
+
return ret;
|
138
118
|
}
|
139
|
-
UPB_INLINE bool
|
140
|
-
|
119
|
+
UPB_INLINE bool envoy_admin_v3_UpdateFailureState_has_failed_configuration(const envoy_admin_v3_UpdateFailureState* msg) {
|
120
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
121
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
141
122
|
}
|
142
|
-
UPB_INLINE void envoy_admin_v3_UpdateFailureState_clear_last_update_attempt(
|
143
|
-
|
123
|
+
UPB_INLINE void envoy_admin_v3_UpdateFailureState_clear_last_update_attempt(envoy_admin_v3_UpdateFailureState* msg) {
|
124
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
125
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
144
126
|
}
|
145
127
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_UpdateFailureState_last_update_attempt(const envoy_admin_v3_UpdateFailureState* msg) {
|
146
|
-
|
128
|
+
const struct google_protobuf_Timestamp* default_val = NULL;
|
129
|
+
const struct google_protobuf_Timestamp* ret;
|
130
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
131
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
132
|
+
return ret;
|
133
|
+
}
|
134
|
+
UPB_INLINE bool envoy_admin_v3_UpdateFailureState_has_last_update_attempt(const envoy_admin_v3_UpdateFailureState* msg) {
|
135
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
136
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
147
137
|
}
|
148
|
-
UPB_INLINE void envoy_admin_v3_UpdateFailureState_clear_details(
|
149
|
-
|
138
|
+
UPB_INLINE void envoy_admin_v3_UpdateFailureState_clear_details(envoy_admin_v3_UpdateFailureState* msg) {
|
139
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
140
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
150
141
|
}
|
151
142
|
UPB_INLINE upb_StringView envoy_admin_v3_UpdateFailureState_details(const envoy_admin_v3_UpdateFailureState* msg) {
|
152
|
-
|
143
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
144
|
+
upb_StringView ret;
|
145
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
146
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
147
|
+
return ret;
|
153
148
|
}
|
154
|
-
UPB_INLINE void envoy_admin_v3_UpdateFailureState_clear_version_info(
|
155
|
-
|
149
|
+
UPB_INLINE void envoy_admin_v3_UpdateFailureState_clear_version_info(envoy_admin_v3_UpdateFailureState* msg) {
|
150
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
151
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
156
152
|
}
|
157
153
|
UPB_INLINE upb_StringView envoy_admin_v3_UpdateFailureState_version_info(const envoy_admin_v3_UpdateFailureState* msg) {
|
158
|
-
|
154
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
155
|
+
upb_StringView ret;
|
156
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
157
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
158
|
+
return ret;
|
159
159
|
}
|
160
160
|
|
161
161
|
UPB_INLINE void envoy_admin_v3_UpdateFailureState_set_failed_configuration(envoy_admin_v3_UpdateFailureState *msg, struct google_protobuf_Any* value) {
|
162
|
-
|
163
|
-
|
162
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
163
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
164
164
|
}
|
165
165
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_UpdateFailureState_mutable_failed_configuration(envoy_admin_v3_UpdateFailureState* msg, upb_Arena* arena) {
|
166
166
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_UpdateFailureState_failed_configuration(msg);
|
167
167
|
if (sub == NULL) {
|
168
|
-
sub = (struct google_protobuf_Any*)_upb_Message_New(&
|
169
|
-
if (
|
170
|
-
envoy_admin_v3_UpdateFailureState_set_failed_configuration(msg, sub);
|
168
|
+
sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena);
|
169
|
+
if (sub) envoy_admin_v3_UpdateFailureState_set_failed_configuration(msg, sub);
|
171
170
|
}
|
172
171
|
return sub;
|
173
172
|
}
|
174
173
|
UPB_INLINE void envoy_admin_v3_UpdateFailureState_set_last_update_attempt(envoy_admin_v3_UpdateFailureState *msg, struct google_protobuf_Timestamp* value) {
|
175
|
-
|
176
|
-
|
174
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
175
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
177
176
|
}
|
178
177
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_UpdateFailureState_mutable_last_update_attempt(envoy_admin_v3_UpdateFailureState* msg, upb_Arena* arena) {
|
179
178
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_UpdateFailureState_last_update_attempt(msg);
|
180
179
|
if (sub == NULL) {
|
181
|
-
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&
|
182
|
-
if (
|
183
|
-
envoy_admin_v3_UpdateFailureState_set_last_update_attempt(msg, sub);
|
180
|
+
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena);
|
181
|
+
if (sub) envoy_admin_v3_UpdateFailureState_set_last_update_attempt(msg, sub);
|
184
182
|
}
|
185
183
|
return sub;
|
186
184
|
}
|
187
185
|
UPB_INLINE void envoy_admin_v3_UpdateFailureState_set_details(envoy_admin_v3_UpdateFailureState *msg, upb_StringView value) {
|
188
|
-
|
186
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
187
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
189
188
|
}
|
190
189
|
UPB_INLINE void envoy_admin_v3_UpdateFailureState_set_version_info(envoy_admin_v3_UpdateFailureState *msg, upb_StringView value) {
|
191
|
-
|
190
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
191
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
192
192
|
}
|
193
193
|
|
194
194
|
/* envoy.admin.v3.ListenersConfigDump */
|
195
195
|
|
196
196
|
UPB_INLINE envoy_admin_v3_ListenersConfigDump* envoy_admin_v3_ListenersConfigDump_new(upb_Arena* arena) {
|
197
|
-
return (envoy_admin_v3_ListenersConfigDump*)_upb_Message_New(&
|
197
|
+
return (envoy_admin_v3_ListenersConfigDump*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_msg_init, arena);
|
198
198
|
}
|
199
199
|
UPB_INLINE envoy_admin_v3_ListenersConfigDump* envoy_admin_v3_ListenersConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) {
|
200
200
|
envoy_admin_v3_ListenersConfigDump* ret = envoy_admin_v3_ListenersConfigDump_new(arena);
|
201
201
|
if (!ret) return NULL;
|
202
|
-
if (upb_Decode(buf, size, ret, &
|
202
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ListenersConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
203
203
|
return NULL;
|
204
204
|
}
|
205
205
|
return ret;
|
@@ -209,7 +209,7 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump* envoy_admin_v3_ListenersConfigDum
|
|
209
209
|
int options, upb_Arena* arena) {
|
210
210
|
envoy_admin_v3_ListenersConfigDump* ret = envoy_admin_v3_ListenersConfigDump_new(arena);
|
211
211
|
if (!ret) return NULL;
|
212
|
-
if (upb_Decode(buf, size, ret, &
|
212
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ListenersConfigDump_msg_init, extreg, options, arena) !=
|
213
213
|
kUpb_DecodeStatus_Ok) {
|
214
214
|
return NULL;
|
215
215
|
}
|
@@ -217,77 +217,167 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump* envoy_admin_v3_ListenersConfigDum
|
|
217
217
|
}
|
218
218
|
UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_serialize(const envoy_admin_v3_ListenersConfigDump* msg, upb_Arena* arena, size_t* len) {
|
219
219
|
char* ptr;
|
220
|
-
(void)upb_Encode(msg, &
|
220
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ListenersConfigDump_msg_init, 0, arena, &ptr, len);
|
221
221
|
return ptr;
|
222
222
|
}
|
223
223
|
UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_serialize_ex(const envoy_admin_v3_ListenersConfigDump* msg, int options,
|
224
224
|
upb_Arena* arena, size_t* len) {
|
225
225
|
char* ptr;
|
226
|
-
(void)upb_Encode(msg, &
|
226
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ListenersConfigDump_msg_init, options, arena, &ptr, len);
|
227
227
|
return ptr;
|
228
228
|
}
|
229
|
-
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_clear_version_info(
|
230
|
-
|
229
|
+
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_clear_version_info(envoy_admin_v3_ListenersConfigDump* msg) {
|
230
|
+
const upb_MiniTableField field = {1, UPB_SIZE(8, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
231
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
231
232
|
}
|
232
233
|
UPB_INLINE upb_StringView envoy_admin_v3_ListenersConfigDump_version_info(const envoy_admin_v3_ListenersConfigDump* msg) {
|
233
|
-
|
234
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
235
|
+
upb_StringView ret;
|
236
|
+
const upb_MiniTableField field = {1, UPB_SIZE(8, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
237
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
238
|
+
return ret;
|
234
239
|
}
|
235
|
-
UPB_INLINE
|
236
|
-
|
240
|
+
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_clear_static_listeners(envoy_admin_v3_ListenersConfigDump* msg) {
|
241
|
+
const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
242
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
243
|
+
}
|
244
|
+
UPB_INLINE const envoy_admin_v3_ListenersConfigDump_StaticListener* const* envoy_admin_v3_ListenersConfigDump_static_listeners(const envoy_admin_v3_ListenersConfigDump* msg, size_t* size) {
|
245
|
+
const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
246
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
247
|
+
if (arr) {
|
248
|
+
if (size) *size = arr->size;
|
249
|
+
return (const envoy_admin_v3_ListenersConfigDump_StaticListener* const*)_upb_array_constptr(arr);
|
250
|
+
} else {
|
251
|
+
if (size) *size = 0;
|
252
|
+
return NULL;
|
253
|
+
}
|
237
254
|
}
|
238
|
-
UPB_INLINE
|
239
|
-
|
255
|
+
UPB_INLINE const upb_Array* _envoy_admin_v3_ListenersConfigDump_static_listeners_upb_array(const envoy_admin_v3_ListenersConfigDump* msg, size_t* size) {
|
256
|
+
const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
257
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
258
|
+
if (size) {
|
259
|
+
*size = arr ? arr->size : 0;
|
260
|
+
}
|
261
|
+
return arr;
|
240
262
|
}
|
241
|
-
UPB_INLINE
|
242
|
-
|
263
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_ListenersConfigDump_static_listeners_mutable_upb_array(const envoy_admin_v3_ListenersConfigDump* msg, size_t* size, upb_Arena* arena) {
|
264
|
+
const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
265
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
266
|
+
(upb_Message*)msg, &field, arena);
|
267
|
+
if (size) {
|
268
|
+
*size = arr ? arr->size : 0;
|
269
|
+
}
|
270
|
+
return arr;
|
243
271
|
}
|
244
|
-
UPB_INLINE bool
|
245
|
-
|
272
|
+
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_has_static_listeners(const envoy_admin_v3_ListenersConfigDump* msg) {
|
273
|
+
size_t size;
|
274
|
+
envoy_admin_v3_ListenersConfigDump_static_listeners(msg, &size);
|
275
|
+
return size != 0;
|
276
|
+
}
|
277
|
+
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_clear_dynamic_listeners(envoy_admin_v3_ListenersConfigDump* msg) {
|
278
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
279
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
280
|
+
}
|
281
|
+
UPB_INLINE const envoy_admin_v3_ListenersConfigDump_DynamicListener* const* envoy_admin_v3_ListenersConfigDump_dynamic_listeners(const envoy_admin_v3_ListenersConfigDump* msg, size_t* size) {
|
282
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
283
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
284
|
+
if (arr) {
|
285
|
+
if (size) *size = arr->size;
|
286
|
+
return (const envoy_admin_v3_ListenersConfigDump_DynamicListener* const*)_upb_array_constptr(arr);
|
287
|
+
} else {
|
288
|
+
if (size) *size = 0;
|
289
|
+
return NULL;
|
290
|
+
}
|
246
291
|
}
|
247
|
-
UPB_INLINE
|
248
|
-
|
292
|
+
UPB_INLINE const upb_Array* _envoy_admin_v3_ListenersConfigDump_dynamic_listeners_upb_array(const envoy_admin_v3_ListenersConfigDump* msg, size_t* size) {
|
293
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
294
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
295
|
+
if (size) {
|
296
|
+
*size = arr ? arr->size : 0;
|
297
|
+
}
|
298
|
+
return arr;
|
249
299
|
}
|
250
|
-
UPB_INLINE
|
251
|
-
|
300
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_ListenersConfigDump_dynamic_listeners_mutable_upb_array(const envoy_admin_v3_ListenersConfigDump* msg, size_t* size, upb_Arena* arena) {
|
301
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
302
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
303
|
+
(upb_Message*)msg, &field, arena);
|
304
|
+
if (size) {
|
305
|
+
*size = arr ? arr->size : 0;
|
306
|
+
}
|
307
|
+
return arr;
|
308
|
+
}
|
309
|
+
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_has_dynamic_listeners(const envoy_admin_v3_ListenersConfigDump* msg) {
|
310
|
+
size_t size;
|
311
|
+
envoy_admin_v3_ListenersConfigDump_dynamic_listeners(msg, &size);
|
312
|
+
return size != 0;
|
252
313
|
}
|
253
314
|
|
254
315
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_set_version_info(envoy_admin_v3_ListenersConfigDump *msg, upb_StringView value) {
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
316
|
+
const upb_MiniTableField field = {1, UPB_SIZE(8, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
317
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
318
|
+
}
|
319
|
+
UPB_INLINE envoy_admin_v3_ListenersConfigDump_StaticListener** envoy_admin_v3_ListenersConfigDump_mutable_static_listeners(envoy_admin_v3_ListenersConfigDump* msg, size_t* size) {
|
320
|
+
upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
321
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
322
|
+
if (arr) {
|
323
|
+
if (size) *size = arr->size;
|
324
|
+
return (envoy_admin_v3_ListenersConfigDump_StaticListener**)_upb_array_ptr(arr);
|
325
|
+
} else {
|
326
|
+
if (size) *size = 0;
|
327
|
+
return NULL;
|
328
|
+
}
|
259
329
|
}
|
260
|
-
UPB_INLINE envoy_admin_v3_ListenersConfigDump_StaticListener** envoy_admin_v3_ListenersConfigDump_resize_static_listeners(envoy_admin_v3_ListenersConfigDump* msg, size_t
|
261
|
-
|
330
|
+
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) {
|
331
|
+
upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
332
|
+
return (envoy_admin_v3_ListenersConfigDump_StaticListener**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
262
333
|
}
|
263
334
|
UPB_INLINE struct envoy_admin_v3_ListenersConfigDump_StaticListener* envoy_admin_v3_ListenersConfigDump_add_static_listeners(envoy_admin_v3_ListenersConfigDump* msg, upb_Arena* arena) {
|
264
|
-
|
265
|
-
|
266
|
-
if (!
|
335
|
+
upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
336
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
337
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
338
|
+
return NULL;
|
339
|
+
}
|
340
|
+
struct envoy_admin_v3_ListenersConfigDump_StaticListener* sub = (struct envoy_admin_v3_ListenersConfigDump_StaticListener*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_StaticListener_msg_init, arena);
|
341
|
+
if (!arr || !sub) return NULL;
|
342
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
267
343
|
return sub;
|
268
344
|
}
|
269
|
-
UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListener** envoy_admin_v3_ListenersConfigDump_mutable_dynamic_listeners(envoy_admin_v3_ListenersConfigDump* msg, size_t*
|
270
|
-
|
345
|
+
UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListener** envoy_admin_v3_ListenersConfigDump_mutable_dynamic_listeners(envoy_admin_v3_ListenersConfigDump* msg, size_t* size) {
|
346
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
347
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
348
|
+
if (arr) {
|
349
|
+
if (size) *size = arr->size;
|
350
|
+
return (envoy_admin_v3_ListenersConfigDump_DynamicListener**)_upb_array_ptr(arr);
|
351
|
+
} else {
|
352
|
+
if (size) *size = 0;
|
353
|
+
return NULL;
|
354
|
+
}
|
271
355
|
}
|
272
|
-
UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListener** envoy_admin_v3_ListenersConfigDump_resize_dynamic_listeners(envoy_admin_v3_ListenersConfigDump* msg, size_t
|
273
|
-
|
356
|
+
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) {
|
357
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
358
|
+
return (envoy_admin_v3_ListenersConfigDump_DynamicListener**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
274
359
|
}
|
275
360
|
UPB_INLINE struct envoy_admin_v3_ListenersConfigDump_DynamicListener* envoy_admin_v3_ListenersConfigDump_add_dynamic_listeners(envoy_admin_v3_ListenersConfigDump* msg, upb_Arena* arena) {
|
276
|
-
|
277
|
-
|
278
|
-
if (!
|
361
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
362
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
363
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
364
|
+
return NULL;
|
365
|
+
}
|
366
|
+
struct envoy_admin_v3_ListenersConfigDump_DynamicListener* sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListener*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_DynamicListener_msg_init, arena);
|
367
|
+
if (!arr || !sub) return NULL;
|
368
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
279
369
|
return sub;
|
280
370
|
}
|
281
371
|
|
282
372
|
/* envoy.admin.v3.ListenersConfigDump.StaticListener */
|
283
373
|
|
284
374
|
UPB_INLINE envoy_admin_v3_ListenersConfigDump_StaticListener* envoy_admin_v3_ListenersConfigDump_StaticListener_new(upb_Arena* arena) {
|
285
|
-
return (envoy_admin_v3_ListenersConfigDump_StaticListener*)_upb_Message_New(&
|
375
|
+
return (envoy_admin_v3_ListenersConfigDump_StaticListener*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_StaticListener_msg_init, arena);
|
286
376
|
}
|
287
377
|
UPB_INLINE envoy_admin_v3_ListenersConfigDump_StaticListener* envoy_admin_v3_ListenersConfigDump_StaticListener_parse(const char* buf, size_t size, upb_Arena* arena) {
|
288
378
|
envoy_admin_v3_ListenersConfigDump_StaticListener* ret = envoy_admin_v3_ListenersConfigDump_StaticListener_new(arena);
|
289
379
|
if (!ret) return NULL;
|
290
|
-
if (upb_Decode(buf, size, ret, &
|
380
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ListenersConfigDump_StaticListener_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
291
381
|
return NULL;
|
292
382
|
}
|
293
383
|
return ret;
|
@@ -297,7 +387,7 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump_StaticListener* envoy_admin_v3_Lis
|
|
297
387
|
int options, upb_Arena* arena) {
|
298
388
|
envoy_admin_v3_ListenersConfigDump_StaticListener* ret = envoy_admin_v3_ListenersConfigDump_StaticListener_new(arena);
|
299
389
|
if (!ret) return NULL;
|
300
|
-
if (upb_Decode(buf, size, ret, &
|
390
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ListenersConfigDump_StaticListener_msg_init, extreg, options, arena) !=
|
301
391
|
kUpb_DecodeStatus_Ok) {
|
302
392
|
return NULL;
|
303
393
|
}
|
@@ -305,57 +395,67 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump_StaticListener* envoy_admin_v3_Lis
|
|
305
395
|
}
|
306
396
|
UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_StaticListener_serialize(const envoy_admin_v3_ListenersConfigDump_StaticListener* msg, upb_Arena* arena, size_t* len) {
|
307
397
|
char* ptr;
|
308
|
-
(void)upb_Encode(msg, &
|
398
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ListenersConfigDump_StaticListener_msg_init, 0, arena, &ptr, len);
|
309
399
|
return ptr;
|
310
400
|
}
|
311
401
|
UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_StaticListener_serialize_ex(const envoy_admin_v3_ListenersConfigDump_StaticListener* msg, int options,
|
312
402
|
upb_Arena* arena, size_t* len) {
|
313
403
|
char* ptr;
|
314
|
-
(void)upb_Encode(msg, &
|
404
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ListenersConfigDump_StaticListener_msg_init, options, arena, &ptr, len);
|
315
405
|
return ptr;
|
316
406
|
}
|
317
|
-
UPB_INLINE
|
318
|
-
|
319
|
-
|
320
|
-
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_StaticListener_clear_listener(const envoy_admin_v3_ListenersConfigDump_StaticListener* msg) {
|
321
|
-
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
|
407
|
+
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_StaticListener_clear_listener(envoy_admin_v3_ListenersConfigDump_StaticListener* msg) {
|
408
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
409
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
322
410
|
}
|
323
411
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_ListenersConfigDump_StaticListener_listener(const envoy_admin_v3_ListenersConfigDump_StaticListener* msg) {
|
324
|
-
|
412
|
+
const struct google_protobuf_Any* default_val = NULL;
|
413
|
+
const struct google_protobuf_Any* ret;
|
414
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
415
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
416
|
+
return ret;
|
325
417
|
}
|
326
|
-
UPB_INLINE bool
|
327
|
-
|
418
|
+
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_StaticListener_has_listener(const envoy_admin_v3_ListenersConfigDump_StaticListener* msg) {
|
419
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
420
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
328
421
|
}
|
329
|
-
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_StaticListener_clear_last_updated(
|
330
|
-
|
422
|
+
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_StaticListener_clear_last_updated(envoy_admin_v3_ListenersConfigDump_StaticListener* msg) {
|
423
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
424
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
331
425
|
}
|
332
426
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_ListenersConfigDump_StaticListener_last_updated(const envoy_admin_v3_ListenersConfigDump_StaticListener* msg) {
|
333
|
-
|
427
|
+
const struct google_protobuf_Timestamp* default_val = NULL;
|
428
|
+
const struct google_protobuf_Timestamp* ret;
|
429
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
430
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
431
|
+
return ret;
|
432
|
+
}
|
433
|
+
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_StaticListener_has_last_updated(const envoy_admin_v3_ListenersConfigDump_StaticListener* msg) {
|
434
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
435
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
334
436
|
}
|
335
437
|
|
336
438
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_StaticListener_set_listener(envoy_admin_v3_ListenersConfigDump_StaticListener *msg, struct google_protobuf_Any* value) {
|
337
|
-
|
338
|
-
|
439
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
440
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
339
441
|
}
|
340
442
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ListenersConfigDump_StaticListener_mutable_listener(envoy_admin_v3_ListenersConfigDump_StaticListener* msg, upb_Arena* arena) {
|
341
443
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_ListenersConfigDump_StaticListener_listener(msg);
|
342
444
|
if (sub == NULL) {
|
343
|
-
sub = (struct google_protobuf_Any*)_upb_Message_New(&
|
344
|
-
if (
|
345
|
-
envoy_admin_v3_ListenersConfigDump_StaticListener_set_listener(msg, sub);
|
445
|
+
sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena);
|
446
|
+
if (sub) envoy_admin_v3_ListenersConfigDump_StaticListener_set_listener(msg, sub);
|
346
447
|
}
|
347
448
|
return sub;
|
348
449
|
}
|
349
450
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_StaticListener_set_last_updated(envoy_admin_v3_ListenersConfigDump_StaticListener *msg, struct google_protobuf_Timestamp* value) {
|
350
|
-
|
351
|
-
|
451
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
452
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
352
453
|
}
|
353
454
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ListenersConfigDump_StaticListener_mutable_last_updated(envoy_admin_v3_ListenersConfigDump_StaticListener* msg, upb_Arena* arena) {
|
354
455
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_ListenersConfigDump_StaticListener_last_updated(msg);
|
355
456
|
if (sub == NULL) {
|
356
|
-
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&
|
357
|
-
if (
|
358
|
-
envoy_admin_v3_ListenersConfigDump_StaticListener_set_last_updated(msg, sub);
|
457
|
+
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena);
|
458
|
+
if (sub) envoy_admin_v3_ListenersConfigDump_StaticListener_set_last_updated(msg, sub);
|
359
459
|
}
|
360
460
|
return sub;
|
361
461
|
}
|
@@ -363,12 +463,12 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ListenersConfigDump_
|
|
363
463
|
/* envoy.admin.v3.ListenersConfigDump.DynamicListenerState */
|
364
464
|
|
365
465
|
UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_new(upb_Arena* arena) {
|
366
|
-
return (envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)_upb_Message_New(&
|
466
|
+
return (envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init, arena);
|
367
467
|
}
|
368
468
|
UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_parse(const char* buf, size_t size, upb_Arena* arena) {
|
369
469
|
envoy_admin_v3_ListenersConfigDump_DynamicListenerState* ret = envoy_admin_v3_ListenersConfigDump_DynamicListenerState_new(arena);
|
370
470
|
if (!ret) return NULL;
|
371
|
-
if (upb_Decode(buf, size, ret, &
|
471
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
372
472
|
return NULL;
|
373
473
|
}
|
374
474
|
return ret;
|
@@ -378,7 +478,7 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_
|
|
378
478
|
int options, upb_Arena* arena) {
|
379
479
|
envoy_admin_v3_ListenersConfigDump_DynamicListenerState* ret = envoy_admin_v3_ListenersConfigDump_DynamicListenerState_new(arena);
|
380
480
|
if (!ret) return NULL;
|
381
|
-
if (upb_Decode(buf, size, ret, &
|
481
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init, extreg, options, arena) !=
|
382
482
|
kUpb_DecodeStatus_Ok) {
|
383
483
|
return NULL;
|
384
484
|
}
|
@@ -386,66 +486,82 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_
|
|
386
486
|
}
|
387
487
|
UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_serialize(const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg, upb_Arena* arena, size_t* len) {
|
388
488
|
char* ptr;
|
389
|
-
(void)upb_Encode(msg, &
|
489
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init, 0, arena, &ptr, len);
|
390
490
|
return ptr;
|
391
491
|
}
|
392
492
|
UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_serialize_ex(const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg, int options,
|
393
493
|
upb_Arena* arena, size_t* len) {
|
394
494
|
char* ptr;
|
395
|
-
(void)upb_Encode(msg, &
|
495
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init, options, arena, &ptr, len);
|
396
496
|
return ptr;
|
397
497
|
}
|
398
|
-
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListenerState_clear_version_info(
|
399
|
-
|
498
|
+
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListenerState_clear_version_info(envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg) {
|
499
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
500
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
400
501
|
}
|
401
502
|
UPB_INLINE upb_StringView envoy_admin_v3_ListenersConfigDump_DynamicListenerState_version_info(const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg) {
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
503
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
504
|
+
upb_StringView ret;
|
505
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
506
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
507
|
+
return ret;
|
406
508
|
}
|
407
|
-
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListenerState_clear_listener(
|
408
|
-
|
509
|
+
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListenerState_clear_listener(envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg) {
|
510
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
511
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
409
512
|
}
|
410
513
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_listener(const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg) {
|
411
|
-
|
514
|
+
const struct google_protobuf_Any* default_val = NULL;
|
515
|
+
const struct google_protobuf_Any* ret;
|
516
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
517
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
518
|
+
return ret;
|
412
519
|
}
|
413
|
-
UPB_INLINE bool
|
414
|
-
|
520
|
+
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_DynamicListenerState_has_listener(const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg) {
|
521
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
522
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
415
523
|
}
|
416
|
-
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListenerState_clear_last_updated(
|
417
|
-
|
524
|
+
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListenerState_clear_last_updated(envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg) {
|
525
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
526
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
418
527
|
}
|
419
528
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_last_updated(const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg) {
|
420
|
-
|
529
|
+
const struct google_protobuf_Timestamp* default_val = NULL;
|
530
|
+
const struct google_protobuf_Timestamp* ret;
|
531
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
532
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
533
|
+
return ret;
|
534
|
+
}
|
535
|
+
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_DynamicListenerState_has_last_updated(const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg) {
|
536
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
537
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
421
538
|
}
|
422
539
|
|
423
540
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListenerState_set_version_info(envoy_admin_v3_ListenersConfigDump_DynamicListenerState *msg, upb_StringView value) {
|
424
|
-
|
541
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
542
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
425
543
|
}
|
426
544
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListenerState_set_listener(envoy_admin_v3_ListenersConfigDump_DynamicListenerState *msg, struct google_protobuf_Any* value) {
|
427
|
-
|
428
|
-
|
545
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
546
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
429
547
|
}
|
430
548
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_mutable_listener(envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg, upb_Arena* arena) {
|
431
549
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_ListenersConfigDump_DynamicListenerState_listener(msg);
|
432
550
|
if (sub == NULL) {
|
433
|
-
sub = (struct google_protobuf_Any*)_upb_Message_New(&
|
434
|
-
if (
|
435
|
-
envoy_admin_v3_ListenersConfigDump_DynamicListenerState_set_listener(msg, sub);
|
551
|
+
sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena);
|
552
|
+
if (sub) envoy_admin_v3_ListenersConfigDump_DynamicListenerState_set_listener(msg, sub);
|
436
553
|
}
|
437
554
|
return sub;
|
438
555
|
}
|
439
556
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListenerState_set_last_updated(envoy_admin_v3_ListenersConfigDump_DynamicListenerState *msg, struct google_protobuf_Timestamp* value) {
|
440
|
-
|
441
|
-
|
557
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
558
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
442
559
|
}
|
443
560
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_mutable_last_updated(envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg, upb_Arena* arena) {
|
444
561
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_ListenersConfigDump_DynamicListenerState_last_updated(msg);
|
445
562
|
if (sub == NULL) {
|
446
|
-
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&
|
447
|
-
if (
|
448
|
-
envoy_admin_v3_ListenersConfigDump_DynamicListenerState_set_last_updated(msg, sub);
|
563
|
+
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena);
|
564
|
+
if (sub) envoy_admin_v3_ListenersConfigDump_DynamicListenerState_set_last_updated(msg, sub);
|
449
565
|
}
|
450
566
|
return sub;
|
451
567
|
}
|
@@ -453,12 +569,12 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ListenersConfigDump_
|
|
453
569
|
/* envoy.admin.v3.ListenersConfigDump.DynamicListener */
|
454
570
|
|
455
571
|
UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListener* envoy_admin_v3_ListenersConfigDump_DynamicListener_new(upb_Arena* arena) {
|
456
|
-
return (envoy_admin_v3_ListenersConfigDump_DynamicListener*)_upb_Message_New(&
|
572
|
+
return (envoy_admin_v3_ListenersConfigDump_DynamicListener*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_DynamicListener_msg_init, arena);
|
457
573
|
}
|
458
574
|
UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListener* envoy_admin_v3_ListenersConfigDump_DynamicListener_parse(const char* buf, size_t size, upb_Arena* arena) {
|
459
575
|
envoy_admin_v3_ListenersConfigDump_DynamicListener* ret = envoy_admin_v3_ListenersConfigDump_DynamicListener_new(arena);
|
460
576
|
if (!ret) return NULL;
|
461
|
-
if (upb_Decode(buf, size, ret, &
|
577
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ListenersConfigDump_DynamicListener_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
462
578
|
return NULL;
|
463
579
|
}
|
464
580
|
return ret;
|
@@ -468,7 +584,7 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListener* envoy_admin_v3_Li
|
|
468
584
|
int options, upb_Arena* arena) {
|
469
585
|
envoy_admin_v3_ListenersConfigDump_DynamicListener* ret = envoy_admin_v3_ListenersConfigDump_DynamicListener_new(arena);
|
470
586
|
if (!ret) return NULL;
|
471
|
-
if (upb_Decode(buf, size, ret, &
|
587
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ListenersConfigDump_DynamicListener_msg_init, extreg, options, arena) !=
|
472
588
|
kUpb_DecodeStatus_Ok) {
|
473
589
|
return NULL;
|
474
590
|
}
|
@@ -476,132 +592,164 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListener* envoy_admin_v3_Li
|
|
476
592
|
}
|
477
593
|
UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_DynamicListener_serialize(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg, upb_Arena* arena, size_t* len) {
|
478
594
|
char* ptr;
|
479
|
-
(void)upb_Encode(msg, &
|
595
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ListenersConfigDump_DynamicListener_msg_init, 0, arena, &ptr, len);
|
480
596
|
return ptr;
|
481
597
|
}
|
482
598
|
UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_DynamicListener_serialize_ex(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg, int options,
|
483
599
|
upb_Arena* arena, size_t* len) {
|
484
600
|
char* ptr;
|
485
|
-
(void)upb_Encode(msg, &
|
601
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ListenersConfigDump_DynamicListener_msg_init, options, arena, &ptr, len);
|
486
602
|
return ptr;
|
487
603
|
}
|
488
|
-
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_name(
|
489
|
-
|
604
|
+
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_name(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
605
|
+
const upb_MiniTableField field = {1, UPB_SIZE(24, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
606
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
490
607
|
}
|
491
608
|
UPB_INLINE upb_StringView envoy_admin_v3_ListenersConfigDump_DynamicListener_name(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
609
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
610
|
+
upb_StringView ret;
|
611
|
+
const upb_MiniTableField field = {1, UPB_SIZE(24, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
612
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
613
|
+
return ret;
|
496
614
|
}
|
497
|
-
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_active_state(
|
498
|
-
|
615
|
+
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_active_state(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
616
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
617
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
499
618
|
}
|
500
619
|
UPB_INLINE const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_v3_ListenersConfigDump_DynamicListener_active_state(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
501
|
-
|
620
|
+
const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* default_val = NULL;
|
621
|
+
const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* ret;
|
622
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
623
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
624
|
+
return ret;
|
502
625
|
}
|
503
|
-
UPB_INLINE bool
|
504
|
-
|
626
|
+
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_DynamicListener_has_active_state(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
627
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
628
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
505
629
|
}
|
506
|
-
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_warming_state(
|
507
|
-
|
630
|
+
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_warming_state(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
631
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
632
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
508
633
|
}
|
509
634
|
UPB_INLINE const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_v3_ListenersConfigDump_DynamicListener_warming_state(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
510
|
-
|
635
|
+
const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* default_val = NULL;
|
636
|
+
const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* ret;
|
637
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
638
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
639
|
+
return ret;
|
511
640
|
}
|
512
|
-
UPB_INLINE bool
|
513
|
-
|
641
|
+
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_DynamicListener_has_warming_state(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
642
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
643
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
514
644
|
}
|
515
|
-
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_draining_state(
|
516
|
-
|
645
|
+
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_draining_state(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
646
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
647
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
517
648
|
}
|
518
649
|
UPB_INLINE const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_v3_ListenersConfigDump_DynamicListener_draining_state(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
519
|
-
|
650
|
+
const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* default_val = NULL;
|
651
|
+
const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* ret;
|
652
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
653
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
654
|
+
return ret;
|
520
655
|
}
|
521
|
-
UPB_INLINE bool
|
522
|
-
|
656
|
+
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_DynamicListener_has_draining_state(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
657
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
658
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
523
659
|
}
|
524
|
-
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_error_state(
|
525
|
-
|
660
|
+
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_error_state(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
661
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
662
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
526
663
|
}
|
527
664
|
UPB_INLINE const envoy_admin_v3_UpdateFailureState* envoy_admin_v3_ListenersConfigDump_DynamicListener_error_state(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
528
|
-
|
665
|
+
const envoy_admin_v3_UpdateFailureState* default_val = NULL;
|
666
|
+
const envoy_admin_v3_UpdateFailureState* ret;
|
667
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
668
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
669
|
+
return ret;
|
670
|
+
}
|
671
|
+
UPB_INLINE bool envoy_admin_v3_ListenersConfigDump_DynamicListener_has_error_state(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
672
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
673
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
529
674
|
}
|
530
|
-
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_client_status(
|
531
|
-
|
675
|
+
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_client_status(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
676
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
677
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
532
678
|
}
|
533
679
|
UPB_INLINE int32_t envoy_admin_v3_ListenersConfigDump_DynamicListener_client_status(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) {
|
534
|
-
|
680
|
+
int32_t default_val = 0;
|
681
|
+
int32_t ret;
|
682
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
683
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
684
|
+
return ret;
|
535
685
|
}
|
536
686
|
|
537
687
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_set_name(envoy_admin_v3_ListenersConfigDump_DynamicListener *msg, upb_StringView value) {
|
538
|
-
|
688
|
+
const upb_MiniTableField field = {1, UPB_SIZE(24, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
689
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
539
690
|
}
|
540
691
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_set_active_state(envoy_admin_v3_ListenersConfigDump_DynamicListener *msg, envoy_admin_v3_ListenersConfigDump_DynamicListenerState* value) {
|
541
|
-
|
542
|
-
|
692
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
693
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
543
694
|
}
|
544
695
|
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) {
|
545
696
|
struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState* sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)envoy_admin_v3_ListenersConfigDump_DynamicListener_active_state(msg);
|
546
697
|
if (sub == NULL) {
|
547
|
-
sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)_upb_Message_New(&
|
548
|
-
if (
|
549
|
-
envoy_admin_v3_ListenersConfigDump_DynamicListener_set_active_state(msg, sub);
|
698
|
+
sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init, arena);
|
699
|
+
if (sub) envoy_admin_v3_ListenersConfigDump_DynamicListener_set_active_state(msg, sub);
|
550
700
|
}
|
551
701
|
return sub;
|
552
702
|
}
|
553
703
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_set_warming_state(envoy_admin_v3_ListenersConfigDump_DynamicListener *msg, envoy_admin_v3_ListenersConfigDump_DynamicListenerState* value) {
|
554
|
-
|
555
|
-
|
704
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
705
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
556
706
|
}
|
557
707
|
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) {
|
558
708
|
struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState* sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)envoy_admin_v3_ListenersConfigDump_DynamicListener_warming_state(msg);
|
559
709
|
if (sub == NULL) {
|
560
|
-
sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)_upb_Message_New(&
|
561
|
-
if (
|
562
|
-
envoy_admin_v3_ListenersConfigDump_DynamicListener_set_warming_state(msg, sub);
|
710
|
+
sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init, arena);
|
711
|
+
if (sub) envoy_admin_v3_ListenersConfigDump_DynamicListener_set_warming_state(msg, sub);
|
563
712
|
}
|
564
713
|
return sub;
|
565
714
|
}
|
566
715
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_set_draining_state(envoy_admin_v3_ListenersConfigDump_DynamicListener *msg, envoy_admin_v3_ListenersConfigDump_DynamicListenerState* value) {
|
567
|
-
|
568
|
-
|
716
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
717
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
569
718
|
}
|
570
719
|
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) {
|
571
720
|
struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState* sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)envoy_admin_v3_ListenersConfigDump_DynamicListener_draining_state(msg);
|
572
721
|
if (sub == NULL) {
|
573
|
-
sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)_upb_Message_New(&
|
574
|
-
if (
|
575
|
-
envoy_admin_v3_ListenersConfigDump_DynamicListener_set_draining_state(msg, sub);
|
722
|
+
sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init, arena);
|
723
|
+
if (sub) envoy_admin_v3_ListenersConfigDump_DynamicListener_set_draining_state(msg, sub);
|
576
724
|
}
|
577
725
|
return sub;
|
578
726
|
}
|
579
727
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_set_error_state(envoy_admin_v3_ListenersConfigDump_DynamicListener *msg, envoy_admin_v3_UpdateFailureState* value) {
|
580
|
-
|
581
|
-
|
728
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
729
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
582
730
|
}
|
583
731
|
UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_ListenersConfigDump_DynamicListener_mutable_error_state(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg, upb_Arena* arena) {
|
584
732
|
struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_ListenersConfigDump_DynamicListener_error_state(msg);
|
585
733
|
if (sub == NULL) {
|
586
|
-
sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&
|
587
|
-
if (
|
588
|
-
envoy_admin_v3_ListenersConfigDump_DynamicListener_set_error_state(msg, sub);
|
734
|
+
sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy_admin_v3_UpdateFailureState_msg_init, arena);
|
735
|
+
if (sub) envoy_admin_v3_ListenersConfigDump_DynamicListener_set_error_state(msg, sub);
|
589
736
|
}
|
590
737
|
return sub;
|
591
738
|
}
|
592
739
|
UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_set_client_status(envoy_admin_v3_ListenersConfigDump_DynamicListener *msg, int32_t value) {
|
593
|
-
|
740
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
741
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
594
742
|
}
|
595
743
|
|
596
744
|
/* envoy.admin.v3.ClustersConfigDump */
|
597
745
|
|
598
746
|
UPB_INLINE envoy_admin_v3_ClustersConfigDump* envoy_admin_v3_ClustersConfigDump_new(upb_Arena* arena) {
|
599
|
-
return (envoy_admin_v3_ClustersConfigDump*)_upb_Message_New(&
|
747
|
+
return (envoy_admin_v3_ClustersConfigDump*)_upb_Message_New(&envoy_admin_v3_ClustersConfigDump_msg_init, arena);
|
600
748
|
}
|
601
749
|
UPB_INLINE envoy_admin_v3_ClustersConfigDump* envoy_admin_v3_ClustersConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) {
|
602
750
|
envoy_admin_v3_ClustersConfigDump* ret = envoy_admin_v3_ClustersConfigDump_new(arena);
|
603
751
|
if (!ret) return NULL;
|
604
|
-
if (upb_Decode(buf, size, ret, &
|
752
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ClustersConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
605
753
|
return NULL;
|
606
754
|
}
|
607
755
|
return ret;
|
@@ -611,7 +759,7 @@ UPB_INLINE envoy_admin_v3_ClustersConfigDump* envoy_admin_v3_ClustersConfigDump_
|
|
611
759
|
int options, upb_Arena* arena) {
|
612
760
|
envoy_admin_v3_ClustersConfigDump* ret = envoy_admin_v3_ClustersConfigDump_new(arena);
|
613
761
|
if (!ret) return NULL;
|
614
|
-
if (upb_Decode(buf, size, ret, &
|
762
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ClustersConfigDump_msg_init, extreg, options, arena) !=
|
615
763
|
kUpb_DecodeStatus_Ok) {
|
616
764
|
return NULL;
|
617
765
|
}
|
@@ -619,98 +767,230 @@ UPB_INLINE envoy_admin_v3_ClustersConfigDump* envoy_admin_v3_ClustersConfigDump_
|
|
619
767
|
}
|
620
768
|
UPB_INLINE char* envoy_admin_v3_ClustersConfigDump_serialize(const envoy_admin_v3_ClustersConfigDump* msg, upb_Arena* arena, size_t* len) {
|
621
769
|
char* ptr;
|
622
|
-
(void)upb_Encode(msg, &
|
770
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ClustersConfigDump_msg_init, 0, arena, &ptr, len);
|
623
771
|
return ptr;
|
624
772
|
}
|
625
773
|
UPB_INLINE char* envoy_admin_v3_ClustersConfigDump_serialize_ex(const envoy_admin_v3_ClustersConfigDump* msg, int options,
|
626
774
|
upb_Arena* arena, size_t* len) {
|
627
775
|
char* ptr;
|
628
|
-
(void)upb_Encode(msg, &
|
776
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ClustersConfigDump_msg_init, options, arena, &ptr, len);
|
629
777
|
return ptr;
|
630
778
|
}
|
631
|
-
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_clear_version_info(
|
632
|
-
|
779
|
+
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_clear_version_info(envoy_admin_v3_ClustersConfigDump* msg) {
|
780
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
781
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
633
782
|
}
|
634
783
|
UPB_INLINE upb_StringView envoy_admin_v3_ClustersConfigDump_version_info(const envoy_admin_v3_ClustersConfigDump* msg) {
|
635
|
-
|
784
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
785
|
+
upb_StringView ret;
|
786
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
787
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
788
|
+
return ret;
|
789
|
+
}
|
790
|
+
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_clear_static_clusters(envoy_admin_v3_ClustersConfigDump* msg) {
|
791
|
+
const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
792
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
793
|
+
}
|
794
|
+
UPB_INLINE const envoy_admin_v3_ClustersConfigDump_StaticCluster* const* envoy_admin_v3_ClustersConfigDump_static_clusters(const envoy_admin_v3_ClustersConfigDump* msg, size_t* size) {
|
795
|
+
const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
796
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
797
|
+
if (arr) {
|
798
|
+
if (size) *size = arr->size;
|
799
|
+
return (const envoy_admin_v3_ClustersConfigDump_StaticCluster* const*)_upb_array_constptr(arr);
|
800
|
+
} else {
|
801
|
+
if (size) *size = 0;
|
802
|
+
return NULL;
|
803
|
+
}
|
804
|
+
}
|
805
|
+
UPB_INLINE const upb_Array* _envoy_admin_v3_ClustersConfigDump_static_clusters_upb_array(const envoy_admin_v3_ClustersConfigDump* msg, size_t* size) {
|
806
|
+
const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
807
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
808
|
+
if (size) {
|
809
|
+
*size = arr ? arr->size : 0;
|
810
|
+
}
|
811
|
+
return arr;
|
812
|
+
}
|
813
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_ClustersConfigDump_static_clusters_mutable_upb_array(const envoy_admin_v3_ClustersConfigDump* msg, size_t* size, upb_Arena* arena) {
|
814
|
+
const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
815
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
816
|
+
(upb_Message*)msg, &field, arena);
|
817
|
+
if (size) {
|
818
|
+
*size = arr ? arr->size : 0;
|
819
|
+
}
|
820
|
+
return arr;
|
636
821
|
}
|
637
822
|
UPB_INLINE bool envoy_admin_v3_ClustersConfigDump_has_static_clusters(const envoy_admin_v3_ClustersConfigDump* msg) {
|
638
|
-
|
823
|
+
size_t size;
|
824
|
+
envoy_admin_v3_ClustersConfigDump_static_clusters(msg, &size);
|
825
|
+
return size != 0;
|
826
|
+
}
|
827
|
+
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_clear_dynamic_active_clusters(envoy_admin_v3_ClustersConfigDump* msg) {
|
828
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
829
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
830
|
+
}
|
831
|
+
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) {
|
832
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
833
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
834
|
+
if (arr) {
|
835
|
+
if (size) *size = arr->size;
|
836
|
+
return (const envoy_admin_v3_ClustersConfigDump_DynamicCluster* const*)_upb_array_constptr(arr);
|
837
|
+
} else {
|
838
|
+
if (size) *size = 0;
|
839
|
+
return NULL;
|
840
|
+
}
|
639
841
|
}
|
640
|
-
UPB_INLINE
|
641
|
-
|
842
|
+
UPB_INLINE const upb_Array* _envoy_admin_v3_ClustersConfigDump_dynamic_active_clusters_upb_array(const envoy_admin_v3_ClustersConfigDump* msg, size_t* size) {
|
843
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
844
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
845
|
+
if (size) {
|
846
|
+
*size = arr ? arr->size : 0;
|
847
|
+
}
|
848
|
+
return arr;
|
642
849
|
}
|
643
|
-
UPB_INLINE
|
644
|
-
|
850
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_ClustersConfigDump_dynamic_active_clusters_mutable_upb_array(const envoy_admin_v3_ClustersConfigDump* msg, size_t* size, upb_Arena* arena) {
|
851
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
852
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
853
|
+
(upb_Message*)msg, &field, arena);
|
854
|
+
if (size) {
|
855
|
+
*size = arr ? arr->size : 0;
|
856
|
+
}
|
857
|
+
return arr;
|
645
858
|
}
|
646
859
|
UPB_INLINE bool envoy_admin_v3_ClustersConfigDump_has_dynamic_active_clusters(const envoy_admin_v3_ClustersConfigDump* msg) {
|
647
|
-
|
860
|
+
size_t size;
|
861
|
+
envoy_admin_v3_ClustersConfigDump_dynamic_active_clusters(msg, &size);
|
862
|
+
return size != 0;
|
863
|
+
}
|
864
|
+
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_clear_dynamic_warming_clusters(envoy_admin_v3_ClustersConfigDump* msg) {
|
865
|
+
const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
866
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
867
|
+
}
|
868
|
+
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) {
|
869
|
+
const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
870
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
871
|
+
if (arr) {
|
872
|
+
if (size) *size = arr->size;
|
873
|
+
return (const envoy_admin_v3_ClustersConfigDump_DynamicCluster* const*)_upb_array_constptr(arr);
|
874
|
+
} else {
|
875
|
+
if (size) *size = 0;
|
876
|
+
return NULL;
|
877
|
+
}
|
648
878
|
}
|
649
|
-
UPB_INLINE
|
650
|
-
|
879
|
+
UPB_INLINE const upb_Array* _envoy_admin_v3_ClustersConfigDump_dynamic_warming_clusters_upb_array(const envoy_admin_v3_ClustersConfigDump* msg, size_t* size) {
|
880
|
+
const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
881
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
882
|
+
if (size) {
|
883
|
+
*size = arr ? arr->size : 0;
|
884
|
+
}
|
885
|
+
return arr;
|
651
886
|
}
|
652
|
-
UPB_INLINE
|
653
|
-
|
887
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_ClustersConfigDump_dynamic_warming_clusters_mutable_upb_array(const envoy_admin_v3_ClustersConfigDump* msg, size_t* size, upb_Arena* arena) {
|
888
|
+
const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
889
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
890
|
+
(upb_Message*)msg, &field, arena);
|
891
|
+
if (size) {
|
892
|
+
*size = arr ? arr->size : 0;
|
893
|
+
}
|
894
|
+
return arr;
|
654
895
|
}
|
655
896
|
UPB_INLINE bool envoy_admin_v3_ClustersConfigDump_has_dynamic_warming_clusters(const envoy_admin_v3_ClustersConfigDump* msg) {
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
_upb_array_detach(msg, UPB_SIZE(16, 32));
|
660
|
-
}
|
661
|
-
UPB_INLINE const envoy_admin_v3_ClustersConfigDump_DynamicCluster* const* envoy_admin_v3_ClustersConfigDump_dynamic_warming_clusters(const envoy_admin_v3_ClustersConfigDump* msg, size_t* len) {
|
662
|
-
return (const envoy_admin_v3_ClustersConfigDump_DynamicCluster* const*)_upb_array_accessor(msg, UPB_SIZE(16, 32), len);
|
897
|
+
size_t size;
|
898
|
+
envoy_admin_v3_ClustersConfigDump_dynamic_warming_clusters(msg, &size);
|
899
|
+
return size != 0;
|
663
900
|
}
|
664
901
|
|
665
902
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_set_version_info(envoy_admin_v3_ClustersConfigDump *msg, upb_StringView value) {
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
903
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
904
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
905
|
+
}
|
906
|
+
UPB_INLINE envoy_admin_v3_ClustersConfigDump_StaticCluster** envoy_admin_v3_ClustersConfigDump_mutable_static_clusters(envoy_admin_v3_ClustersConfigDump* msg, size_t* size) {
|
907
|
+
upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
908
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
909
|
+
if (arr) {
|
910
|
+
if (size) *size = arr->size;
|
911
|
+
return (envoy_admin_v3_ClustersConfigDump_StaticCluster**)_upb_array_ptr(arr);
|
912
|
+
} else {
|
913
|
+
if (size) *size = 0;
|
914
|
+
return NULL;
|
915
|
+
}
|
670
916
|
}
|
671
|
-
UPB_INLINE envoy_admin_v3_ClustersConfigDump_StaticCluster** envoy_admin_v3_ClustersConfigDump_resize_static_clusters(envoy_admin_v3_ClustersConfigDump* msg, size_t
|
672
|
-
|
917
|
+
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) {
|
918
|
+
upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
919
|
+
return (envoy_admin_v3_ClustersConfigDump_StaticCluster**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
673
920
|
}
|
674
921
|
UPB_INLINE struct envoy_admin_v3_ClustersConfigDump_StaticCluster* envoy_admin_v3_ClustersConfigDump_add_static_clusters(envoy_admin_v3_ClustersConfigDump* msg, upb_Arena* arena) {
|
675
|
-
|
676
|
-
|
677
|
-
if (!
|
922
|
+
upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
923
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
924
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
925
|
+
return NULL;
|
926
|
+
}
|
927
|
+
struct envoy_admin_v3_ClustersConfigDump_StaticCluster* sub = (struct envoy_admin_v3_ClustersConfigDump_StaticCluster*)_upb_Message_New(&envoy_admin_v3_ClustersConfigDump_StaticCluster_msg_init, arena);
|
928
|
+
if (!arr || !sub) return NULL;
|
929
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
678
930
|
return sub;
|
679
931
|
}
|
680
|
-
UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster** envoy_admin_v3_ClustersConfigDump_mutable_dynamic_active_clusters(envoy_admin_v3_ClustersConfigDump* msg, size_t*
|
681
|
-
|
932
|
+
UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster** envoy_admin_v3_ClustersConfigDump_mutable_dynamic_active_clusters(envoy_admin_v3_ClustersConfigDump* msg, size_t* size) {
|
933
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
934
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
935
|
+
if (arr) {
|
936
|
+
if (size) *size = arr->size;
|
937
|
+
return (envoy_admin_v3_ClustersConfigDump_DynamicCluster**)_upb_array_ptr(arr);
|
938
|
+
} else {
|
939
|
+
if (size) *size = 0;
|
940
|
+
return NULL;
|
941
|
+
}
|
682
942
|
}
|
683
|
-
UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster** envoy_admin_v3_ClustersConfigDump_resize_dynamic_active_clusters(envoy_admin_v3_ClustersConfigDump* msg, size_t
|
684
|
-
|
943
|
+
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) {
|
944
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
945
|
+
return (envoy_admin_v3_ClustersConfigDump_DynamicCluster**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
685
946
|
}
|
686
947
|
UPB_INLINE struct envoy_admin_v3_ClustersConfigDump_DynamicCluster* envoy_admin_v3_ClustersConfigDump_add_dynamic_active_clusters(envoy_admin_v3_ClustersConfigDump* msg, upb_Arena* arena) {
|
687
|
-
|
688
|
-
|
689
|
-
if (!
|
948
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
949
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
950
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
951
|
+
return NULL;
|
952
|
+
}
|
953
|
+
struct envoy_admin_v3_ClustersConfigDump_DynamicCluster* sub = (struct envoy_admin_v3_ClustersConfigDump_DynamicCluster*)_upb_Message_New(&envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init, arena);
|
954
|
+
if (!arr || !sub) return NULL;
|
955
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
690
956
|
return sub;
|
691
957
|
}
|
692
|
-
UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster** envoy_admin_v3_ClustersConfigDump_mutable_dynamic_warming_clusters(envoy_admin_v3_ClustersConfigDump* msg, size_t*
|
693
|
-
|
958
|
+
UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster** envoy_admin_v3_ClustersConfigDump_mutable_dynamic_warming_clusters(envoy_admin_v3_ClustersConfigDump* msg, size_t* size) {
|
959
|
+
upb_MiniTableField field = {4, UPB_SIZE(8, 32), 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(msg, &field);
|
961
|
+
if (arr) {
|
962
|
+
if (size) *size = arr->size;
|
963
|
+
return (envoy_admin_v3_ClustersConfigDump_DynamicCluster**)_upb_array_ptr(arr);
|
964
|
+
} else {
|
965
|
+
if (size) *size = 0;
|
966
|
+
return NULL;
|
967
|
+
}
|
694
968
|
}
|
695
|
-
UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster** envoy_admin_v3_ClustersConfigDump_resize_dynamic_warming_clusters(envoy_admin_v3_ClustersConfigDump* msg, size_t
|
696
|
-
|
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) {
|
970
|
+
upb_MiniTableField field = {4, UPB_SIZE(8, 32), 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(msg, &field, size, arena);
|
697
972
|
}
|
698
973
|
UPB_INLINE struct envoy_admin_v3_ClustersConfigDump_DynamicCluster* envoy_admin_v3_ClustersConfigDump_add_dynamic_warming_clusters(envoy_admin_v3_ClustersConfigDump* msg, upb_Arena* arena) {
|
699
|
-
|
700
|
-
|
701
|
-
if (!
|
974
|
+
upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
975
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
976
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
977
|
+
return NULL;
|
978
|
+
}
|
979
|
+
struct envoy_admin_v3_ClustersConfigDump_DynamicCluster* sub = (struct envoy_admin_v3_ClustersConfigDump_DynamicCluster*)_upb_Message_New(&envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init, arena);
|
980
|
+
if (!arr || !sub) return NULL;
|
981
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
702
982
|
return sub;
|
703
983
|
}
|
704
984
|
|
705
985
|
/* envoy.admin.v3.ClustersConfigDump.StaticCluster */
|
706
986
|
|
707
987
|
UPB_INLINE envoy_admin_v3_ClustersConfigDump_StaticCluster* envoy_admin_v3_ClustersConfigDump_StaticCluster_new(upb_Arena* arena) {
|
708
|
-
return (envoy_admin_v3_ClustersConfigDump_StaticCluster*)_upb_Message_New(&
|
988
|
+
return (envoy_admin_v3_ClustersConfigDump_StaticCluster*)_upb_Message_New(&envoy_admin_v3_ClustersConfigDump_StaticCluster_msg_init, arena);
|
709
989
|
}
|
710
990
|
UPB_INLINE envoy_admin_v3_ClustersConfigDump_StaticCluster* envoy_admin_v3_ClustersConfigDump_StaticCluster_parse(const char* buf, size_t size, upb_Arena* arena) {
|
711
991
|
envoy_admin_v3_ClustersConfigDump_StaticCluster* ret = envoy_admin_v3_ClustersConfigDump_StaticCluster_new(arena);
|
712
992
|
if (!ret) return NULL;
|
713
|
-
if (upb_Decode(buf, size, ret, &
|
993
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ClustersConfigDump_StaticCluster_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
714
994
|
return NULL;
|
715
995
|
}
|
716
996
|
return ret;
|
@@ -720,7 +1000,7 @@ UPB_INLINE envoy_admin_v3_ClustersConfigDump_StaticCluster* envoy_admin_v3_Clust
|
|
720
1000
|
int options, upb_Arena* arena) {
|
721
1001
|
envoy_admin_v3_ClustersConfigDump_StaticCluster* ret = envoy_admin_v3_ClustersConfigDump_StaticCluster_new(arena);
|
722
1002
|
if (!ret) return NULL;
|
723
|
-
if (upb_Decode(buf, size, ret, &
|
1003
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ClustersConfigDump_StaticCluster_msg_init, extreg, options, arena) !=
|
724
1004
|
kUpb_DecodeStatus_Ok) {
|
725
1005
|
return NULL;
|
726
1006
|
}
|
@@ -728,57 +1008,67 @@ UPB_INLINE envoy_admin_v3_ClustersConfigDump_StaticCluster* envoy_admin_v3_Clust
|
|
728
1008
|
}
|
729
1009
|
UPB_INLINE char* envoy_admin_v3_ClustersConfigDump_StaticCluster_serialize(const envoy_admin_v3_ClustersConfigDump_StaticCluster* msg, upb_Arena* arena, size_t* len) {
|
730
1010
|
char* ptr;
|
731
|
-
(void)upb_Encode(msg, &
|
1011
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ClustersConfigDump_StaticCluster_msg_init, 0, arena, &ptr, len);
|
732
1012
|
return ptr;
|
733
1013
|
}
|
734
1014
|
UPB_INLINE char* envoy_admin_v3_ClustersConfigDump_StaticCluster_serialize_ex(const envoy_admin_v3_ClustersConfigDump_StaticCluster* msg, int options,
|
735
1015
|
upb_Arena* arena, size_t* len) {
|
736
1016
|
char* ptr;
|
737
|
-
(void)upb_Encode(msg, &
|
1017
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ClustersConfigDump_StaticCluster_msg_init, options, arena, &ptr, len);
|
738
1018
|
return ptr;
|
739
1019
|
}
|
740
|
-
UPB_INLINE
|
741
|
-
|
742
|
-
|
743
|
-
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_StaticCluster_clear_cluster(const envoy_admin_v3_ClustersConfigDump_StaticCluster* msg) {
|
744
|
-
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
|
1020
|
+
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_StaticCluster_clear_cluster(envoy_admin_v3_ClustersConfigDump_StaticCluster* msg) {
|
1021
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1022
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
745
1023
|
}
|
746
1024
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_ClustersConfigDump_StaticCluster_cluster(const envoy_admin_v3_ClustersConfigDump_StaticCluster* msg) {
|
747
|
-
|
1025
|
+
const struct google_protobuf_Any* default_val = NULL;
|
1026
|
+
const struct google_protobuf_Any* ret;
|
1027
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1028
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1029
|
+
return ret;
|
748
1030
|
}
|
749
|
-
UPB_INLINE bool
|
750
|
-
|
1031
|
+
UPB_INLINE bool envoy_admin_v3_ClustersConfigDump_StaticCluster_has_cluster(const envoy_admin_v3_ClustersConfigDump_StaticCluster* msg) {
|
1032
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1033
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
751
1034
|
}
|
752
|
-
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_StaticCluster_clear_last_updated(
|
753
|
-
|
1035
|
+
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_StaticCluster_clear_last_updated(envoy_admin_v3_ClustersConfigDump_StaticCluster* msg) {
|
1036
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1037
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
754
1038
|
}
|
755
1039
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_ClustersConfigDump_StaticCluster_last_updated(const envoy_admin_v3_ClustersConfigDump_StaticCluster* msg) {
|
756
|
-
|
1040
|
+
const struct google_protobuf_Timestamp* default_val = NULL;
|
1041
|
+
const struct google_protobuf_Timestamp* ret;
|
1042
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1043
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1044
|
+
return ret;
|
1045
|
+
}
|
1046
|
+
UPB_INLINE bool envoy_admin_v3_ClustersConfigDump_StaticCluster_has_last_updated(const envoy_admin_v3_ClustersConfigDump_StaticCluster* msg) {
|
1047
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1048
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
757
1049
|
}
|
758
1050
|
|
759
1051
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_StaticCluster_set_cluster(envoy_admin_v3_ClustersConfigDump_StaticCluster *msg, struct google_protobuf_Any* value) {
|
760
|
-
|
761
|
-
|
1052
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1053
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
762
1054
|
}
|
763
1055
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ClustersConfigDump_StaticCluster_mutable_cluster(envoy_admin_v3_ClustersConfigDump_StaticCluster* msg, upb_Arena* arena) {
|
764
1056
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_ClustersConfigDump_StaticCluster_cluster(msg);
|
765
1057
|
if (sub == NULL) {
|
766
|
-
sub = (struct google_protobuf_Any*)_upb_Message_New(&
|
767
|
-
if (
|
768
|
-
envoy_admin_v3_ClustersConfigDump_StaticCluster_set_cluster(msg, sub);
|
1058
|
+
sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena);
|
1059
|
+
if (sub) envoy_admin_v3_ClustersConfigDump_StaticCluster_set_cluster(msg, sub);
|
769
1060
|
}
|
770
1061
|
return sub;
|
771
1062
|
}
|
772
1063
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_StaticCluster_set_last_updated(envoy_admin_v3_ClustersConfigDump_StaticCluster *msg, struct google_protobuf_Timestamp* value) {
|
773
|
-
|
774
|
-
|
1064
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1065
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
775
1066
|
}
|
776
1067
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ClustersConfigDump_StaticCluster_mutable_last_updated(envoy_admin_v3_ClustersConfigDump_StaticCluster* msg, upb_Arena* arena) {
|
777
1068
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_ClustersConfigDump_StaticCluster_last_updated(msg);
|
778
1069
|
if (sub == NULL) {
|
779
|
-
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&
|
780
|
-
if (
|
781
|
-
envoy_admin_v3_ClustersConfigDump_StaticCluster_set_last_updated(msg, sub);
|
1070
|
+
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena);
|
1071
|
+
if (sub) envoy_admin_v3_ClustersConfigDump_StaticCluster_set_last_updated(msg, sub);
|
782
1072
|
}
|
783
1073
|
return sub;
|
784
1074
|
}
|
@@ -786,12 +1076,12 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ClustersConfigDump_S
|
|
786
1076
|
/* envoy.admin.v3.ClustersConfigDump.DynamicCluster */
|
787
1077
|
|
788
1078
|
UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster* envoy_admin_v3_ClustersConfigDump_DynamicCluster_new(upb_Arena* arena) {
|
789
|
-
return (envoy_admin_v3_ClustersConfigDump_DynamicCluster*)_upb_Message_New(&
|
1079
|
+
return (envoy_admin_v3_ClustersConfigDump_DynamicCluster*)_upb_Message_New(&envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init, arena);
|
790
1080
|
}
|
791
1081
|
UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster* envoy_admin_v3_ClustersConfigDump_DynamicCluster_parse(const char* buf, size_t size, upb_Arena* arena) {
|
792
1082
|
envoy_admin_v3_ClustersConfigDump_DynamicCluster* ret = envoy_admin_v3_ClustersConfigDump_DynamicCluster_new(arena);
|
793
1083
|
if (!ret) return NULL;
|
794
|
-
if (upb_Decode(buf, size, ret, &
|
1084
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
795
1085
|
return NULL;
|
796
1086
|
}
|
797
1087
|
return ret;
|
@@ -801,7 +1091,7 @@ UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster* envoy_admin_v3_Clus
|
|
801
1091
|
int options, upb_Arena* arena) {
|
802
1092
|
envoy_admin_v3_ClustersConfigDump_DynamicCluster* ret = envoy_admin_v3_ClustersConfigDump_DynamicCluster_new(arena);
|
803
1093
|
if (!ret) return NULL;
|
804
|
-
if (upb_Decode(buf, size, ret, &
|
1094
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init, extreg, options, arena) !=
|
805
1095
|
kUpb_DecodeStatus_Ok) {
|
806
1096
|
return NULL;
|
807
1097
|
}
|
@@ -809,110 +1099,137 @@ UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster* envoy_admin_v3_Clus
|
|
809
1099
|
}
|
810
1100
|
UPB_INLINE char* envoy_admin_v3_ClustersConfigDump_DynamicCluster_serialize(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg, upb_Arena* arena, size_t* len) {
|
811
1101
|
char* ptr;
|
812
|
-
(void)upb_Encode(msg, &
|
1102
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init, 0, arena, &ptr, len);
|
813
1103
|
return ptr;
|
814
1104
|
}
|
815
1105
|
UPB_INLINE char* envoy_admin_v3_ClustersConfigDump_DynamicCluster_serialize_ex(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg, int options,
|
816
1106
|
upb_Arena* arena, size_t* len) {
|
817
1107
|
char* ptr;
|
818
|
-
(void)upb_Encode(msg, &
|
1108
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init, options, arena, &ptr, len);
|
819
1109
|
return ptr;
|
820
1110
|
}
|
821
|
-
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_clear_version_info(
|
822
|
-
|
1111
|
+
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_clear_version_info(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1112
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1113
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
823
1114
|
}
|
824
1115
|
UPB_INLINE upb_StringView envoy_admin_v3_ClustersConfigDump_DynamicCluster_version_info(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
1116
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
1117
|
+
upb_StringView ret;
|
1118
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1119
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1120
|
+
return ret;
|
829
1121
|
}
|
830
|
-
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_clear_cluster(
|
831
|
-
|
1122
|
+
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_clear_cluster(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1123
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1124
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
832
1125
|
}
|
833
1126
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_ClustersConfigDump_DynamicCluster_cluster(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
834
|
-
|
1127
|
+
const struct google_protobuf_Any* default_val = NULL;
|
1128
|
+
const struct google_protobuf_Any* ret;
|
1129
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1130
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1131
|
+
return ret;
|
835
1132
|
}
|
836
|
-
UPB_INLINE bool
|
837
|
-
|
1133
|
+
UPB_INLINE bool envoy_admin_v3_ClustersConfigDump_DynamicCluster_has_cluster(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1134
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1135
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
838
1136
|
}
|
839
|
-
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_clear_last_updated(
|
840
|
-
|
1137
|
+
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_clear_last_updated(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1138
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1139
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
841
1140
|
}
|
842
1141
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_ClustersConfigDump_DynamicCluster_last_updated(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
843
|
-
|
1142
|
+
const struct google_protobuf_Timestamp* default_val = NULL;
|
1143
|
+
const struct google_protobuf_Timestamp* ret;
|
1144
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1145
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1146
|
+
return ret;
|
844
1147
|
}
|
845
|
-
UPB_INLINE bool
|
846
|
-
|
1148
|
+
UPB_INLINE bool envoy_admin_v3_ClustersConfigDump_DynamicCluster_has_last_updated(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1149
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1150
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
847
1151
|
}
|
848
|
-
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_clear_error_state(
|
849
|
-
|
1152
|
+
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_clear_error_state(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1153
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1154
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
850
1155
|
}
|
851
1156
|
UPB_INLINE const envoy_admin_v3_UpdateFailureState* envoy_admin_v3_ClustersConfigDump_DynamicCluster_error_state(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
852
|
-
|
1157
|
+
const envoy_admin_v3_UpdateFailureState* default_val = NULL;
|
1158
|
+
const envoy_admin_v3_UpdateFailureState* ret;
|
1159
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1160
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1161
|
+
return ret;
|
1162
|
+
}
|
1163
|
+
UPB_INLINE bool envoy_admin_v3_ClustersConfigDump_DynamicCluster_has_error_state(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1164
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1165
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
853
1166
|
}
|
854
|
-
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_clear_client_status(
|
855
|
-
|
1167
|
+
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_clear_client_status(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
1168
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1169
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
856
1170
|
}
|
857
1171
|
UPB_INLINE int32_t envoy_admin_v3_ClustersConfigDump_DynamicCluster_client_status(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) {
|
858
|
-
|
1172
|
+
int32_t default_val = 0;
|
1173
|
+
int32_t ret;
|
1174
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1175
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1176
|
+
return ret;
|
859
1177
|
}
|
860
1178
|
|
861
1179
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_version_info(envoy_admin_v3_ClustersConfigDump_DynamicCluster *msg, upb_StringView value) {
|
862
|
-
|
1180
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1181
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
863
1182
|
}
|
864
1183
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_cluster(envoy_admin_v3_ClustersConfigDump_DynamicCluster *msg, struct google_protobuf_Any* value) {
|
865
|
-
|
866
|
-
|
1184
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1185
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
867
1186
|
}
|
868
1187
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ClustersConfigDump_DynamicCluster_mutable_cluster(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg, upb_Arena* arena) {
|
869
1188
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_ClustersConfigDump_DynamicCluster_cluster(msg);
|
870
1189
|
if (sub == NULL) {
|
871
|
-
sub = (struct google_protobuf_Any*)_upb_Message_New(&
|
872
|
-
if (
|
873
|
-
envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_cluster(msg, sub);
|
1190
|
+
sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena);
|
1191
|
+
if (sub) envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_cluster(msg, sub);
|
874
1192
|
}
|
875
1193
|
return sub;
|
876
1194
|
}
|
877
1195
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_last_updated(envoy_admin_v3_ClustersConfigDump_DynamicCluster *msg, struct google_protobuf_Timestamp* value) {
|
878
|
-
|
879
|
-
|
1196
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1197
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
880
1198
|
}
|
881
1199
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ClustersConfigDump_DynamicCluster_mutable_last_updated(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg, upb_Arena* arena) {
|
882
1200
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_ClustersConfigDump_DynamicCluster_last_updated(msg);
|
883
1201
|
if (sub == NULL) {
|
884
|
-
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&
|
885
|
-
if (
|
886
|
-
envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_last_updated(msg, sub);
|
1202
|
+
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena);
|
1203
|
+
if (sub) envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_last_updated(msg, sub);
|
887
1204
|
}
|
888
1205
|
return sub;
|
889
1206
|
}
|
890
1207
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_error_state(envoy_admin_v3_ClustersConfigDump_DynamicCluster *msg, envoy_admin_v3_UpdateFailureState* value) {
|
891
|
-
|
892
|
-
|
1208
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1209
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
893
1210
|
}
|
894
1211
|
UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_ClustersConfigDump_DynamicCluster_mutable_error_state(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg, upb_Arena* arena) {
|
895
1212
|
struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_ClustersConfigDump_DynamicCluster_error_state(msg);
|
896
1213
|
if (sub == NULL) {
|
897
|
-
sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&
|
898
|
-
if (
|
899
|
-
envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_error_state(msg, sub);
|
1214
|
+
sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy_admin_v3_UpdateFailureState_msg_init, arena);
|
1215
|
+
if (sub) envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_error_state(msg, sub);
|
900
1216
|
}
|
901
1217
|
return sub;
|
902
1218
|
}
|
903
1219
|
UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_client_status(envoy_admin_v3_ClustersConfigDump_DynamicCluster *msg, int32_t value) {
|
904
|
-
|
1220
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1221
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
905
1222
|
}
|
906
1223
|
|
907
1224
|
/* envoy.admin.v3.RoutesConfigDump */
|
908
1225
|
|
909
1226
|
UPB_INLINE envoy_admin_v3_RoutesConfigDump* envoy_admin_v3_RoutesConfigDump_new(upb_Arena* arena) {
|
910
|
-
return (envoy_admin_v3_RoutesConfigDump*)_upb_Message_New(&
|
1227
|
+
return (envoy_admin_v3_RoutesConfigDump*)_upb_Message_New(&envoy_admin_v3_RoutesConfigDump_msg_init, arena);
|
911
1228
|
}
|
912
1229
|
UPB_INLINE envoy_admin_v3_RoutesConfigDump* envoy_admin_v3_RoutesConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) {
|
913
1230
|
envoy_admin_v3_RoutesConfigDump* ret = envoy_admin_v3_RoutesConfigDump_new(arena);
|
914
1231
|
if (!ret) return NULL;
|
915
|
-
if (upb_Decode(buf, size, ret, &
|
1232
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_RoutesConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
916
1233
|
return NULL;
|
917
1234
|
}
|
918
1235
|
return ret;
|
@@ -922,7 +1239,7 @@ UPB_INLINE envoy_admin_v3_RoutesConfigDump* envoy_admin_v3_RoutesConfigDump_pars
|
|
922
1239
|
int options, upb_Arena* arena) {
|
923
1240
|
envoy_admin_v3_RoutesConfigDump* ret = envoy_admin_v3_RoutesConfigDump_new(arena);
|
924
1241
|
if (!ret) return NULL;
|
925
|
-
if (upb_Decode(buf, size, ret, &
|
1242
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_RoutesConfigDump_msg_init, extreg, options, arena) !=
|
926
1243
|
kUpb_DecodeStatus_Ok) {
|
927
1244
|
return NULL;
|
928
1245
|
}
|
@@ -930,68 +1247,152 @@ UPB_INLINE envoy_admin_v3_RoutesConfigDump* envoy_admin_v3_RoutesConfigDump_pars
|
|
930
1247
|
}
|
931
1248
|
UPB_INLINE char* envoy_admin_v3_RoutesConfigDump_serialize(const envoy_admin_v3_RoutesConfigDump* msg, upb_Arena* arena, size_t* len) {
|
932
1249
|
char* ptr;
|
933
|
-
(void)upb_Encode(msg, &
|
1250
|
+
(void)upb_Encode(msg, &envoy_admin_v3_RoutesConfigDump_msg_init, 0, arena, &ptr, len);
|
934
1251
|
return ptr;
|
935
1252
|
}
|
936
1253
|
UPB_INLINE char* envoy_admin_v3_RoutesConfigDump_serialize_ex(const envoy_admin_v3_RoutesConfigDump* msg, int options,
|
937
1254
|
upb_Arena* arena, size_t* len) {
|
938
1255
|
char* ptr;
|
939
|
-
(void)upb_Encode(msg, &
|
1256
|
+
(void)upb_Encode(msg, &envoy_admin_v3_RoutesConfigDump_msg_init, options, arena, &ptr, len);
|
940
1257
|
return ptr;
|
941
1258
|
}
|
942
|
-
UPB_INLINE
|
943
|
-
|
1259
|
+
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_clear_static_route_configs(envoy_admin_v3_RoutesConfigDump* msg) {
|
1260
|
+
const upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1261
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1262
|
+
}
|
1263
|
+
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) {
|
1264
|
+
const upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1265
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1266
|
+
if (arr) {
|
1267
|
+
if (size) *size = arr->size;
|
1268
|
+
return (const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* const*)_upb_array_constptr(arr);
|
1269
|
+
} else {
|
1270
|
+
if (size) *size = 0;
|
1271
|
+
return NULL;
|
1272
|
+
}
|
944
1273
|
}
|
945
|
-
UPB_INLINE
|
946
|
-
|
1274
|
+
UPB_INLINE const upb_Array* _envoy_admin_v3_RoutesConfigDump_static_route_configs_upb_array(const envoy_admin_v3_RoutesConfigDump* msg, size_t* size) {
|
1275
|
+
const upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1276
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1277
|
+
if (size) {
|
1278
|
+
*size = arr ? arr->size : 0;
|
1279
|
+
}
|
1280
|
+
return arr;
|
947
1281
|
}
|
948
|
-
UPB_INLINE
|
949
|
-
|
1282
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_RoutesConfigDump_static_route_configs_mutable_upb_array(const envoy_admin_v3_RoutesConfigDump* msg, size_t* size, upb_Arena* arena) {
|
1283
|
+
const upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1284
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1285
|
+
(upb_Message*)msg, &field, arena);
|
1286
|
+
if (size) {
|
1287
|
+
*size = arr ? arr->size : 0;
|
1288
|
+
}
|
1289
|
+
return arr;
|
950
1290
|
}
|
951
|
-
UPB_INLINE bool
|
952
|
-
|
1291
|
+
UPB_INLINE bool envoy_admin_v3_RoutesConfigDump_has_static_route_configs(const envoy_admin_v3_RoutesConfigDump* msg) {
|
1292
|
+
size_t size;
|
1293
|
+
envoy_admin_v3_RoutesConfigDump_static_route_configs(msg, &size);
|
1294
|
+
return size != 0;
|
1295
|
+
}
|
1296
|
+
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_clear_dynamic_route_configs(envoy_admin_v3_RoutesConfigDump* msg) {
|
1297
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1298
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1299
|
+
}
|
1300
|
+
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) {
|
1301
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1302
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1303
|
+
if (arr) {
|
1304
|
+
if (size) *size = arr->size;
|
1305
|
+
return (const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* const*)_upb_array_constptr(arr);
|
1306
|
+
} else {
|
1307
|
+
if (size) *size = 0;
|
1308
|
+
return NULL;
|
1309
|
+
}
|
953
1310
|
}
|
954
|
-
UPB_INLINE
|
955
|
-
|
1311
|
+
UPB_INLINE const upb_Array* _envoy_admin_v3_RoutesConfigDump_dynamic_route_configs_upb_array(const envoy_admin_v3_RoutesConfigDump* msg, size_t* size) {
|
1312
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1313
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1314
|
+
if (size) {
|
1315
|
+
*size = arr ? arr->size : 0;
|
1316
|
+
}
|
1317
|
+
return arr;
|
956
1318
|
}
|
957
|
-
UPB_INLINE
|
958
|
-
|
1319
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_RoutesConfigDump_dynamic_route_configs_mutable_upb_array(const envoy_admin_v3_RoutesConfigDump* msg, size_t* size, upb_Arena* arena) {
|
1320
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1321
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1322
|
+
(upb_Message*)msg, &field, arena);
|
1323
|
+
if (size) {
|
1324
|
+
*size = arr ? arr->size : 0;
|
1325
|
+
}
|
1326
|
+
return arr;
|
959
1327
|
}
|
960
|
-
|
961
|
-
|
962
|
-
|
1328
|
+
UPB_INLINE bool envoy_admin_v3_RoutesConfigDump_has_dynamic_route_configs(const envoy_admin_v3_RoutesConfigDump* msg) {
|
1329
|
+
size_t size;
|
1330
|
+
envoy_admin_v3_RoutesConfigDump_dynamic_route_configs(msg, &size);
|
1331
|
+
return size != 0;
|
1332
|
+
}
|
1333
|
+
|
1334
|
+
UPB_INLINE envoy_admin_v3_RoutesConfigDump_StaticRouteConfig** envoy_admin_v3_RoutesConfigDump_mutable_static_route_configs(envoy_admin_v3_RoutesConfigDump* msg, size_t* size) {
|
1335
|
+
upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1336
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1337
|
+
if (arr) {
|
1338
|
+
if (size) *size = arr->size;
|
1339
|
+
return (envoy_admin_v3_RoutesConfigDump_StaticRouteConfig**)_upb_array_ptr(arr);
|
1340
|
+
} else {
|
1341
|
+
if (size) *size = 0;
|
1342
|
+
return NULL;
|
1343
|
+
}
|
963
1344
|
}
|
964
|
-
UPB_INLINE envoy_admin_v3_RoutesConfigDump_StaticRouteConfig** envoy_admin_v3_RoutesConfigDump_resize_static_route_configs(envoy_admin_v3_RoutesConfigDump* msg, size_t
|
965
|
-
|
1345
|
+
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) {
|
1346
|
+
upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1347
|
+
return (envoy_admin_v3_RoutesConfigDump_StaticRouteConfig**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
966
1348
|
}
|
967
1349
|
UPB_INLINE struct envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* envoy_admin_v3_RoutesConfigDump_add_static_route_configs(envoy_admin_v3_RoutesConfigDump* msg, upb_Arena* arena) {
|
968
|
-
|
969
|
-
|
970
|
-
if (!
|
1350
|
+
upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1351
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
1352
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
1353
|
+
return NULL;
|
1354
|
+
}
|
1355
|
+
struct envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* sub = (struct envoy_admin_v3_RoutesConfigDump_StaticRouteConfig*)_upb_Message_New(&envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_msg_init, arena);
|
1356
|
+
if (!arr || !sub) return NULL;
|
1357
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
971
1358
|
return sub;
|
972
1359
|
}
|
973
|
-
UPB_INLINE envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig** envoy_admin_v3_RoutesConfigDump_mutable_dynamic_route_configs(envoy_admin_v3_RoutesConfigDump* msg, size_t*
|
974
|
-
|
1360
|
+
UPB_INLINE envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig** envoy_admin_v3_RoutesConfigDump_mutable_dynamic_route_configs(envoy_admin_v3_RoutesConfigDump* msg, size_t* size) {
|
1361
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1362
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1363
|
+
if (arr) {
|
1364
|
+
if (size) *size = arr->size;
|
1365
|
+
return (envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig**)_upb_array_ptr(arr);
|
1366
|
+
} else {
|
1367
|
+
if (size) *size = 0;
|
1368
|
+
return NULL;
|
1369
|
+
}
|
975
1370
|
}
|
976
|
-
UPB_INLINE envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig** envoy_admin_v3_RoutesConfigDump_resize_dynamic_route_configs(envoy_admin_v3_RoutesConfigDump* msg, size_t
|
977
|
-
|
1371
|
+
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) {
|
1372
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1373
|
+
return (envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
978
1374
|
}
|
979
1375
|
UPB_INLINE struct envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* envoy_admin_v3_RoutesConfigDump_add_dynamic_route_configs(envoy_admin_v3_RoutesConfigDump* msg, upb_Arena* arena) {
|
980
|
-
|
981
|
-
|
982
|
-
if (!
|
1376
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1377
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
1378
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
1379
|
+
return NULL;
|
1380
|
+
}
|
1381
|
+
struct envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* sub = (struct envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig*)_upb_Message_New(&envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_msg_init, arena);
|
1382
|
+
if (!arr || !sub) return NULL;
|
1383
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
983
1384
|
return sub;
|
984
1385
|
}
|
985
1386
|
|
986
1387
|
/* envoy.admin.v3.RoutesConfigDump.StaticRouteConfig */
|
987
1388
|
|
988
1389
|
UPB_INLINE envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_new(upb_Arena* arena) {
|
989
|
-
return (envoy_admin_v3_RoutesConfigDump_StaticRouteConfig*)_upb_Message_New(&
|
1390
|
+
return (envoy_admin_v3_RoutesConfigDump_StaticRouteConfig*)_upb_Message_New(&envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_msg_init, arena);
|
990
1391
|
}
|
991
1392
|
UPB_INLINE envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_parse(const char* buf, size_t size, upb_Arena* arena) {
|
992
1393
|
envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* ret = envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_new(arena);
|
993
1394
|
if (!ret) return NULL;
|
994
|
-
if (upb_Decode(buf, size, ret, &
|
1395
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
995
1396
|
return NULL;
|
996
1397
|
}
|
997
1398
|
return ret;
|
@@ -1001,7 +1402,7 @@ UPB_INLINE envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* envoy_admin_v3_Rou
|
|
1001
1402
|
int options, upb_Arena* arena) {
|
1002
1403
|
envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* ret = envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_new(arena);
|
1003
1404
|
if (!ret) return NULL;
|
1004
|
-
if (upb_Decode(buf, size, ret, &
|
1405
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_msg_init, extreg, options, arena) !=
|
1005
1406
|
kUpb_DecodeStatus_Ok) {
|
1006
1407
|
return NULL;
|
1007
1408
|
}
|
@@ -1009,57 +1410,67 @@ UPB_INLINE envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* envoy_admin_v3_Rou
|
|
1009
1410
|
}
|
1010
1411
|
UPB_INLINE char* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_serialize(const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg, upb_Arena* arena, size_t* len) {
|
1011
1412
|
char* ptr;
|
1012
|
-
(void)upb_Encode(msg, &
|
1413
|
+
(void)upb_Encode(msg, &envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_msg_init, 0, arena, &ptr, len);
|
1013
1414
|
return ptr;
|
1014
1415
|
}
|
1015
1416
|
UPB_INLINE char* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_serialize_ex(const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg, int options,
|
1016
1417
|
upb_Arena* arena, size_t* len) {
|
1017
1418
|
char* ptr;
|
1018
|
-
(void)upb_Encode(msg, &
|
1419
|
+
(void)upb_Encode(msg, &envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_msg_init, options, arena, &ptr, len);
|
1019
1420
|
return ptr;
|
1020
1421
|
}
|
1021
|
-
UPB_INLINE
|
1022
|
-
|
1023
|
-
|
1024
|
-
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_clear_route_config(const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg) {
|
1025
|
-
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
|
1422
|
+
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_clear_route_config(envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg) {
|
1423
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1424
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1026
1425
|
}
|
1027
1426
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_route_config(const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg) {
|
1028
|
-
|
1427
|
+
const struct google_protobuf_Any* default_val = NULL;
|
1428
|
+
const struct google_protobuf_Any* ret;
|
1429
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1430
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1431
|
+
return ret;
|
1029
1432
|
}
|
1030
|
-
UPB_INLINE bool
|
1031
|
-
|
1433
|
+
UPB_INLINE bool envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_has_route_config(const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg) {
|
1434
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1435
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1032
1436
|
}
|
1033
|
-
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_clear_last_updated(
|
1034
|
-
|
1437
|
+
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_clear_last_updated(envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg) {
|
1438
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1439
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1035
1440
|
}
|
1036
1441
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_last_updated(const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg) {
|
1037
|
-
|
1442
|
+
const struct google_protobuf_Timestamp* default_val = NULL;
|
1443
|
+
const struct google_protobuf_Timestamp* ret;
|
1444
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1445
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1446
|
+
return ret;
|
1447
|
+
}
|
1448
|
+
UPB_INLINE bool envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_has_last_updated(const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg) {
|
1449
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1450
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1038
1451
|
}
|
1039
1452
|
|
1040
1453
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_set_route_config(envoy_admin_v3_RoutesConfigDump_StaticRouteConfig *msg, struct google_protobuf_Any* value) {
|
1041
|
-
|
1042
|
-
|
1454
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1455
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1043
1456
|
}
|
1044
1457
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_mutable_route_config(envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg, upb_Arena* arena) {
|
1045
1458
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_route_config(msg);
|
1046
1459
|
if (sub == NULL) {
|
1047
|
-
sub = (struct google_protobuf_Any*)_upb_Message_New(&
|
1048
|
-
if (
|
1049
|
-
envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_set_route_config(msg, sub);
|
1460
|
+
sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena);
|
1461
|
+
if (sub) envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_set_route_config(msg, sub);
|
1050
1462
|
}
|
1051
1463
|
return sub;
|
1052
1464
|
}
|
1053
1465
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_set_last_updated(envoy_admin_v3_RoutesConfigDump_StaticRouteConfig *msg, struct google_protobuf_Timestamp* value) {
|
1054
|
-
|
1055
|
-
|
1466
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1467
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1056
1468
|
}
|
1057
1469
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_mutable_last_updated(envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg, upb_Arena* arena) {
|
1058
1470
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_last_updated(msg);
|
1059
1471
|
if (sub == NULL) {
|
1060
|
-
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&
|
1061
|
-
if (
|
1062
|
-
envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_set_last_updated(msg, sub);
|
1472
|
+
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena);
|
1473
|
+
if (sub) envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_set_last_updated(msg, sub);
|
1063
1474
|
}
|
1064
1475
|
return sub;
|
1065
1476
|
}
|
@@ -1067,12 +1478,12 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_RoutesConfigDump_Sta
|
|
1067
1478
|
/* envoy.admin.v3.RoutesConfigDump.DynamicRouteConfig */
|
1068
1479
|
|
1069
1480
|
UPB_INLINE envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_new(upb_Arena* arena) {
|
1070
|
-
return (envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig*)_upb_Message_New(&
|
1481
|
+
return (envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig*)_upb_Message_New(&envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_msg_init, arena);
|
1071
1482
|
}
|
1072
1483
|
UPB_INLINE envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1073
1484
|
envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* ret = envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_new(arena);
|
1074
1485
|
if (!ret) return NULL;
|
1075
|
-
if (upb_Decode(buf, size, ret, &
|
1486
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1076
1487
|
return NULL;
|
1077
1488
|
}
|
1078
1489
|
return ret;
|
@@ -1082,7 +1493,7 @@ UPB_INLINE envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* envoy_admin_v3_Ro
|
|
1082
1493
|
int options, upb_Arena* arena) {
|
1083
1494
|
envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* ret = envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_new(arena);
|
1084
1495
|
if (!ret) return NULL;
|
1085
|
-
if (upb_Decode(buf, size, ret, &
|
1496
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_msg_init, extreg, options, arena) !=
|
1086
1497
|
kUpb_DecodeStatus_Ok) {
|
1087
1498
|
return NULL;
|
1088
1499
|
}
|
@@ -1090,110 +1501,137 @@ UPB_INLINE envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* envoy_admin_v3_Ro
|
|
1090
1501
|
}
|
1091
1502
|
UPB_INLINE char* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_serialize(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg, upb_Arena* arena, size_t* len) {
|
1092
1503
|
char* ptr;
|
1093
|
-
(void)upb_Encode(msg, &
|
1504
|
+
(void)upb_Encode(msg, &envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_msg_init, 0, arena, &ptr, len);
|
1094
1505
|
return ptr;
|
1095
1506
|
}
|
1096
1507
|
UPB_INLINE char* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_serialize_ex(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg, int options,
|
1097
1508
|
upb_Arena* arena, size_t* len) {
|
1098
1509
|
char* ptr;
|
1099
|
-
(void)upb_Encode(msg, &
|
1510
|
+
(void)upb_Encode(msg, &envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_msg_init, options, arena, &ptr, len);
|
1100
1511
|
return ptr;
|
1101
1512
|
}
|
1102
|
-
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_clear_version_info(
|
1103
|
-
|
1513
|
+
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_clear_version_info(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1514
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1515
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1104
1516
|
}
|
1105
1517
|
UPB_INLINE upb_StringView envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_version_info(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1518
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
1519
|
+
upb_StringView ret;
|
1520
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1521
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1522
|
+
return ret;
|
1110
1523
|
}
|
1111
|
-
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_clear_route_config(
|
1112
|
-
|
1524
|
+
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_clear_route_config(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1525
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1526
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1113
1527
|
}
|
1114
1528
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_route_config(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1115
|
-
|
1529
|
+
const struct google_protobuf_Any* default_val = NULL;
|
1530
|
+
const struct google_protobuf_Any* ret;
|
1531
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1532
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1533
|
+
return ret;
|
1116
1534
|
}
|
1117
|
-
UPB_INLINE bool
|
1118
|
-
|
1535
|
+
UPB_INLINE bool envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_has_route_config(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1536
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1537
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1119
1538
|
}
|
1120
|
-
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_clear_last_updated(
|
1121
|
-
|
1539
|
+
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_clear_last_updated(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1540
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1541
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1122
1542
|
}
|
1123
1543
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_last_updated(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1124
|
-
|
1544
|
+
const struct google_protobuf_Timestamp* default_val = NULL;
|
1545
|
+
const struct google_protobuf_Timestamp* ret;
|
1546
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1547
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1548
|
+
return ret;
|
1125
1549
|
}
|
1126
|
-
UPB_INLINE bool
|
1127
|
-
|
1550
|
+
UPB_INLINE bool envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_has_last_updated(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1551
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1552
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1128
1553
|
}
|
1129
|
-
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_clear_error_state(
|
1130
|
-
|
1554
|
+
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_clear_error_state(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1555
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1556
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1131
1557
|
}
|
1132
1558
|
UPB_INLINE const envoy_admin_v3_UpdateFailureState* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_error_state(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1133
|
-
|
1559
|
+
const envoy_admin_v3_UpdateFailureState* default_val = NULL;
|
1560
|
+
const envoy_admin_v3_UpdateFailureState* ret;
|
1561
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1562
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1563
|
+
return ret;
|
1564
|
+
}
|
1565
|
+
UPB_INLINE bool envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_has_error_state(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1566
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1567
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1134
1568
|
}
|
1135
|
-
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_clear_client_status(
|
1136
|
-
|
1569
|
+
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_clear_client_status(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1570
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1571
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1137
1572
|
}
|
1138
1573
|
UPB_INLINE int32_t envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_client_status(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) {
|
1139
|
-
|
1574
|
+
int32_t default_val = 0;
|
1575
|
+
int32_t ret;
|
1576
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1577
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1578
|
+
return ret;
|
1140
1579
|
}
|
1141
1580
|
|
1142
1581
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_version_info(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig *msg, upb_StringView value) {
|
1143
|
-
|
1582
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1583
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1144
1584
|
}
|
1145
1585
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_route_config(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig *msg, struct google_protobuf_Any* value) {
|
1146
|
-
|
1147
|
-
|
1586
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1587
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1148
1588
|
}
|
1149
1589
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_mutable_route_config(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg, upb_Arena* arena) {
|
1150
1590
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_route_config(msg);
|
1151
1591
|
if (sub == NULL) {
|
1152
|
-
sub = (struct google_protobuf_Any*)_upb_Message_New(&
|
1153
|
-
if (
|
1154
|
-
envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_route_config(msg, sub);
|
1592
|
+
sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena);
|
1593
|
+
if (sub) envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_route_config(msg, sub);
|
1155
1594
|
}
|
1156
1595
|
return sub;
|
1157
1596
|
}
|
1158
1597
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_last_updated(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig *msg, struct google_protobuf_Timestamp* value) {
|
1159
|
-
|
1160
|
-
|
1598
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1599
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1161
1600
|
}
|
1162
1601
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_mutable_last_updated(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg, upb_Arena* arena) {
|
1163
1602
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_last_updated(msg);
|
1164
1603
|
if (sub == NULL) {
|
1165
|
-
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&
|
1166
|
-
if (
|
1167
|
-
envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_last_updated(msg, sub);
|
1604
|
+
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena);
|
1605
|
+
if (sub) envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_last_updated(msg, sub);
|
1168
1606
|
}
|
1169
1607
|
return sub;
|
1170
1608
|
}
|
1171
1609
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_error_state(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig *msg, envoy_admin_v3_UpdateFailureState* value) {
|
1172
|
-
|
1173
|
-
|
1610
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1611
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1174
1612
|
}
|
1175
1613
|
UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_mutable_error_state(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg, upb_Arena* arena) {
|
1176
1614
|
struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_error_state(msg);
|
1177
1615
|
if (sub == NULL) {
|
1178
|
-
sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&
|
1179
|
-
if (
|
1180
|
-
envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_error_state(msg, sub);
|
1616
|
+
sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy_admin_v3_UpdateFailureState_msg_init, arena);
|
1617
|
+
if (sub) envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_error_state(msg, sub);
|
1181
1618
|
}
|
1182
1619
|
return sub;
|
1183
1620
|
}
|
1184
1621
|
UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_client_status(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig *msg, int32_t value) {
|
1185
|
-
|
1622
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1623
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1186
1624
|
}
|
1187
1625
|
|
1188
1626
|
/* envoy.admin.v3.ScopedRoutesConfigDump */
|
1189
1627
|
|
1190
1628
|
UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump* envoy_admin_v3_ScopedRoutesConfigDump_new(upb_Arena* arena) {
|
1191
|
-
return (envoy_admin_v3_ScopedRoutesConfigDump*)_upb_Message_New(&
|
1629
|
+
return (envoy_admin_v3_ScopedRoutesConfigDump*)_upb_Message_New(&envoy_admin_v3_ScopedRoutesConfigDump_msg_init, arena);
|
1192
1630
|
}
|
1193
1631
|
UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump* envoy_admin_v3_ScopedRoutesConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1194
1632
|
envoy_admin_v3_ScopedRoutesConfigDump* ret = envoy_admin_v3_ScopedRoutesConfigDump_new(arena);
|
1195
1633
|
if (!ret) return NULL;
|
1196
|
-
if (upb_Decode(buf, size, ret, &
|
1634
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ScopedRoutesConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1197
1635
|
return NULL;
|
1198
1636
|
}
|
1199
1637
|
return ret;
|
@@ -1203,7 +1641,7 @@ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump* envoy_admin_v3_ScopedRoutesCon
|
|
1203
1641
|
int options, upb_Arena* arena) {
|
1204
1642
|
envoy_admin_v3_ScopedRoutesConfigDump* ret = envoy_admin_v3_ScopedRoutesConfigDump_new(arena);
|
1205
1643
|
if (!ret) return NULL;
|
1206
|
-
if (upb_Decode(buf, size, ret, &
|
1644
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ScopedRoutesConfigDump_msg_init, extreg, options, arena) !=
|
1207
1645
|
kUpb_DecodeStatus_Ok) {
|
1208
1646
|
return NULL;
|
1209
1647
|
}
|
@@ -1211,68 +1649,152 @@ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump* envoy_admin_v3_ScopedRoutesCon
|
|
1211
1649
|
}
|
1212
1650
|
UPB_INLINE char* envoy_admin_v3_ScopedRoutesConfigDump_serialize(const envoy_admin_v3_ScopedRoutesConfigDump* msg, upb_Arena* arena, size_t* len) {
|
1213
1651
|
char* ptr;
|
1214
|
-
(void)upb_Encode(msg, &
|
1652
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ScopedRoutesConfigDump_msg_init, 0, arena, &ptr, len);
|
1215
1653
|
return ptr;
|
1216
1654
|
}
|
1217
1655
|
UPB_INLINE char* envoy_admin_v3_ScopedRoutesConfigDump_serialize_ex(const envoy_admin_v3_ScopedRoutesConfigDump* msg, int options,
|
1218
1656
|
upb_Arena* arena, size_t* len) {
|
1219
1657
|
char* ptr;
|
1220
|
-
(void)upb_Encode(msg, &
|
1658
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ScopedRoutesConfigDump_msg_init, options, arena, &ptr, len);
|
1221
1659
|
return ptr;
|
1222
1660
|
}
|
1223
|
-
UPB_INLINE
|
1224
|
-
|
1661
|
+
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_clear_inline_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump* msg) {
|
1662
|
+
const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1663
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1664
|
+
}
|
1665
|
+
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) {
|
1666
|
+
const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1667
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1668
|
+
if (arr) {
|
1669
|
+
if (size) *size = arr->size;
|
1670
|
+
return (const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* const*)_upb_array_constptr(arr);
|
1671
|
+
} else {
|
1672
|
+
if (size) *size = 0;
|
1673
|
+
return NULL;
|
1674
|
+
}
|
1225
1675
|
}
|
1226
|
-
UPB_INLINE
|
1227
|
-
|
1676
|
+
UPB_INLINE const upb_Array* _envoy_admin_v3_ScopedRoutesConfigDump_inline_scoped_route_configs_upb_array(const envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t* size) {
|
1677
|
+
const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1678
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1679
|
+
if (size) {
|
1680
|
+
*size = arr ? arr->size : 0;
|
1681
|
+
}
|
1682
|
+
return arr;
|
1228
1683
|
}
|
1229
|
-
UPB_INLINE
|
1230
|
-
|
1684
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_ScopedRoutesConfigDump_inline_scoped_route_configs_mutable_upb_array(const envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t* size, upb_Arena* arena) {
|
1685
|
+
const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1686
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1687
|
+
(upb_Message*)msg, &field, arena);
|
1688
|
+
if (size) {
|
1689
|
+
*size = arr ? arr->size : 0;
|
1690
|
+
}
|
1691
|
+
return arr;
|
1231
1692
|
}
|
1232
|
-
UPB_INLINE bool
|
1233
|
-
|
1693
|
+
UPB_INLINE bool envoy_admin_v3_ScopedRoutesConfigDump_has_inline_scoped_route_configs(const envoy_admin_v3_ScopedRoutesConfigDump* msg) {
|
1694
|
+
size_t size;
|
1695
|
+
envoy_admin_v3_ScopedRoutesConfigDump_inline_scoped_route_configs(msg, &size);
|
1696
|
+
return size != 0;
|
1697
|
+
}
|
1698
|
+
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_clear_dynamic_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump* msg) {
|
1699
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1700
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1701
|
+
}
|
1702
|
+
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) {
|
1703
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1704
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1705
|
+
if (arr) {
|
1706
|
+
if (size) *size = arr->size;
|
1707
|
+
return (const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* const*)_upb_array_constptr(arr);
|
1708
|
+
} else {
|
1709
|
+
if (size) *size = 0;
|
1710
|
+
return NULL;
|
1711
|
+
}
|
1234
1712
|
}
|
1235
|
-
UPB_INLINE
|
1236
|
-
|
1713
|
+
UPB_INLINE const upb_Array* _envoy_admin_v3_ScopedRoutesConfigDump_dynamic_scoped_route_configs_upb_array(const envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t* size) {
|
1714
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1715
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1716
|
+
if (size) {
|
1717
|
+
*size = arr ? arr->size : 0;
|
1718
|
+
}
|
1719
|
+
return arr;
|
1237
1720
|
}
|
1238
|
-
UPB_INLINE
|
1239
|
-
|
1721
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_ScopedRoutesConfigDump_dynamic_scoped_route_configs_mutable_upb_array(const envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t* size, upb_Arena* arena) {
|
1722
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1723
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1724
|
+
(upb_Message*)msg, &field, arena);
|
1725
|
+
if (size) {
|
1726
|
+
*size = arr ? arr->size : 0;
|
1727
|
+
}
|
1728
|
+
return arr;
|
1240
1729
|
}
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1730
|
+
UPB_INLINE bool envoy_admin_v3_ScopedRoutesConfigDump_has_dynamic_scoped_route_configs(const envoy_admin_v3_ScopedRoutesConfigDump* msg) {
|
1731
|
+
size_t size;
|
1732
|
+
envoy_admin_v3_ScopedRoutesConfigDump_dynamic_scoped_route_configs(msg, &size);
|
1733
|
+
return size != 0;
|
1734
|
+
}
|
1735
|
+
|
1736
|
+
UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs** envoy_admin_v3_ScopedRoutesConfigDump_mutable_inline_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t* size) {
|
1737
|
+
upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1738
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1739
|
+
if (arr) {
|
1740
|
+
if (size) *size = arr->size;
|
1741
|
+
return (envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs**)_upb_array_ptr(arr);
|
1742
|
+
} else {
|
1743
|
+
if (size) *size = 0;
|
1744
|
+
return NULL;
|
1745
|
+
}
|
1244
1746
|
}
|
1245
|
-
UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs** envoy_admin_v3_ScopedRoutesConfigDump_resize_inline_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t
|
1246
|
-
|
1747
|
+
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) {
|
1748
|
+
upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1749
|
+
return (envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
1247
1750
|
}
|
1248
1751
|
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) {
|
1249
|
-
|
1250
|
-
|
1251
|
-
if (!
|
1752
|
+
upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1753
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
1754
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
1755
|
+
return NULL;
|
1756
|
+
}
|
1757
|
+
struct envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* sub = (struct envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs*)_upb_Message_New(&envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_msg_init, arena);
|
1758
|
+
if (!arr || !sub) return NULL;
|
1759
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
1252
1760
|
return sub;
|
1253
1761
|
}
|
1254
|
-
UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs** envoy_admin_v3_ScopedRoutesConfigDump_mutable_dynamic_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t*
|
1255
|
-
|
1762
|
+
UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs** envoy_admin_v3_ScopedRoutesConfigDump_mutable_dynamic_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t* size) {
|
1763
|
+
upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1764
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1765
|
+
if (arr) {
|
1766
|
+
if (size) *size = arr->size;
|
1767
|
+
return (envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs**)_upb_array_ptr(arr);
|
1768
|
+
} else {
|
1769
|
+
if (size) *size = 0;
|
1770
|
+
return NULL;
|
1771
|
+
}
|
1256
1772
|
}
|
1257
|
-
UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs** envoy_admin_v3_ScopedRoutesConfigDump_resize_dynamic_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump* msg, size_t
|
1258
|
-
|
1773
|
+
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) {
|
1774
|
+
upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1775
|
+
return (envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
1259
1776
|
}
|
1260
1777
|
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) {
|
1261
|
-
|
1262
|
-
|
1263
|
-
if (!
|
1778
|
+
upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1779
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
1780
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
1781
|
+
return NULL;
|
1782
|
+
}
|
1783
|
+
struct envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* sub = (struct envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs*)_upb_Message_New(&envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_msg_init, arena);
|
1784
|
+
if (!arr || !sub) return NULL;
|
1785
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
1264
1786
|
return sub;
|
1265
1787
|
}
|
1266
1788
|
|
1267
1789
|
/* envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs */
|
1268
1790
|
|
1269
1791
|
UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_new(upb_Arena* arena) {
|
1270
|
-
return (envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs*)_upb_Message_New(&
|
1792
|
+
return (envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs*)_upb_Message_New(&envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_msg_init, arena);
|
1271
1793
|
}
|
1272
1794
|
UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1273
1795
|
envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* ret = envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_new(arena);
|
1274
1796
|
if (!ret) return NULL;
|
1275
|
-
if (upb_Decode(buf, size, ret, &
|
1797
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1276
1798
|
return NULL;
|
1277
1799
|
}
|
1278
1800
|
return ret;
|
@@ -1282,7 +1804,7 @@ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* envoy
|
|
1282
1804
|
int options, upb_Arena* arena) {
|
1283
1805
|
envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* ret = envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_new(arena);
|
1284
1806
|
if (!ret) return NULL;
|
1285
|
-
if (upb_Decode(buf, size, ret, &
|
1807
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_msg_init, extreg, options, arena) !=
|
1286
1808
|
kUpb_DecodeStatus_Ok) {
|
1287
1809
|
return NULL;
|
1288
1810
|
}
|
@@ -1290,65 +1812,118 @@ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* envoy
|
|
1290
1812
|
}
|
1291
1813
|
UPB_INLINE char* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_serialize(const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, upb_Arena* arena, size_t* len) {
|
1292
1814
|
char* ptr;
|
1293
|
-
(void)upb_Encode(msg, &
|
1815
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_msg_init, 0, arena, &ptr, len);
|
1294
1816
|
return ptr;
|
1295
1817
|
}
|
1296
1818
|
UPB_INLINE char* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_serialize_ex(const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, int options,
|
1297
1819
|
upb_Arena* arena, size_t* len) {
|
1298
1820
|
char* ptr;
|
1299
|
-
(void)upb_Encode(msg, &
|
1821
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_msg_init, options, arena, &ptr, len);
|
1300
1822
|
return ptr;
|
1301
1823
|
}
|
1302
|
-
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_clear_name(
|
1303
|
-
|
1824
|
+
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_clear_name(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg) {
|
1825
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1826
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1304
1827
|
}
|
1305
1828
|
UPB_INLINE upb_StringView envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_name(const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg) {
|
1306
|
-
|
1829
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
1830
|
+
upb_StringView ret;
|
1831
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1832
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1833
|
+
return ret;
|
1307
1834
|
}
|
1308
|
-
UPB_INLINE
|
1309
|
-
|
1835
|
+
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_clear_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg) {
|
1836
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1837
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1838
|
+
}
|
1839
|
+
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) {
|
1840
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1841
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1842
|
+
if (arr) {
|
1843
|
+
if (size) *size = arr->size;
|
1844
|
+
return (const struct google_protobuf_Any* const*)_upb_array_constptr(arr);
|
1845
|
+
} else {
|
1846
|
+
if (size) *size = 0;
|
1847
|
+
return NULL;
|
1848
|
+
}
|
1310
1849
|
}
|
1311
|
-
UPB_INLINE
|
1312
|
-
|
1850
|
+
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) {
|
1851
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1852
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1853
|
+
if (size) {
|
1854
|
+
*size = arr ? arr->size : 0;
|
1855
|
+
}
|
1856
|
+
return arr;
|
1313
1857
|
}
|
1314
|
-
UPB_INLINE
|
1315
|
-
|
1858
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_scoped_route_configs_mutable_upb_array(const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, size_t* size, upb_Arena* arena) {
|
1859
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1860
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1861
|
+
(upb_Message*)msg, &field, arena);
|
1862
|
+
if (size) {
|
1863
|
+
*size = arr ? arr->size : 0;
|
1864
|
+
}
|
1865
|
+
return arr;
|
1316
1866
|
}
|
1317
|
-
UPB_INLINE bool
|
1318
|
-
|
1867
|
+
UPB_INLINE bool envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_has_scoped_route_configs(const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg) {
|
1868
|
+
size_t size;
|
1869
|
+
envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_scoped_route_configs(msg, &size);
|
1870
|
+
return size != 0;
|
1319
1871
|
}
|
1320
|
-
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_clear_last_updated(
|
1321
|
-
|
1872
|
+
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_clear_last_updated(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg) {
|
1873
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1874
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1322
1875
|
}
|
1323
1876
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_last_updated(const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg) {
|
1324
|
-
|
1877
|
+
const struct google_protobuf_Timestamp* default_val = NULL;
|
1878
|
+
const struct google_protobuf_Timestamp* ret;
|
1879
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1880
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1881
|
+
return ret;
|
1882
|
+
}
|
1883
|
+
UPB_INLINE bool envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_has_last_updated(const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg) {
|
1884
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1885
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1325
1886
|
}
|
1326
1887
|
|
1327
1888
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_set_name(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs *msg, upb_StringView value) {
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1889
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1890
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1891
|
+
}
|
1892
|
+
UPB_INLINE struct google_protobuf_Any** envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_mutable_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, size_t* size) {
|
1893
|
+
upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1894
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1895
|
+
if (arr) {
|
1896
|
+
if (size) *size = arr->size;
|
1897
|
+
return (struct google_protobuf_Any**)_upb_array_ptr(arr);
|
1898
|
+
} else {
|
1899
|
+
if (size) *size = 0;
|
1900
|
+
return NULL;
|
1901
|
+
}
|
1332
1902
|
}
|
1333
|
-
UPB_INLINE struct google_protobuf_Any** envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_resize_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, size_t
|
1334
|
-
|
1903
|
+
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) {
|
1904
|
+
upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1905
|
+
return (struct google_protobuf_Any**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
1335
1906
|
}
|
1336
1907
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_add_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, upb_Arena* arena) {
|
1337
|
-
|
1338
|
-
|
1339
|
-
if (!
|
1908
|
+
upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1909
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
1910
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
1911
|
+
return NULL;
|
1912
|
+
}
|
1913
|
+
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena);
|
1914
|
+
if (!arr || !sub) return NULL;
|
1915
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
1340
1916
|
return sub;
|
1341
1917
|
}
|
1342
1918
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_set_last_updated(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs *msg, struct google_protobuf_Timestamp* value) {
|
1343
|
-
|
1344
|
-
|
1919
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1920
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1345
1921
|
}
|
1346
1922
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_mutable_last_updated(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, upb_Arena* arena) {
|
1347
1923
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_last_updated(msg);
|
1348
1924
|
if (sub == NULL) {
|
1349
|
-
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&
|
1350
|
-
if (
|
1351
|
-
envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_set_last_updated(msg, sub);
|
1925
|
+
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena);
|
1926
|
+
if (sub) envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_set_last_updated(msg, sub);
|
1352
1927
|
}
|
1353
1928
|
return sub;
|
1354
1929
|
}
|
@@ -1356,12 +1931,12 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ScopedRoutesConfigDu
|
|
1356
1931
|
/* envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs */
|
1357
1932
|
|
1358
1933
|
UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_new(upb_Arena* arena) {
|
1359
|
-
return (envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs*)_upb_Message_New(&
|
1934
|
+
return (envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs*)_upb_Message_New(&envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_msg_init, arena);
|
1360
1935
|
}
|
1361
1936
|
UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1362
1937
|
envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* ret = envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_new(arena);
|
1363
1938
|
if (!ret) return NULL;
|
1364
|
-
if (upb_Decode(buf, size, ret, &
|
1939
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1365
1940
|
return NULL;
|
1366
1941
|
}
|
1367
1942
|
return ret;
|
@@ -1371,7 +1946,7 @@ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* envo
|
|
1371
1946
|
int options, upb_Arena* arena) {
|
1372
1947
|
envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* ret = envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_new(arena);
|
1373
1948
|
if (!ret) return NULL;
|
1374
|
-
if (upb_Decode(buf, size, ret, &
|
1949
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_msg_init, extreg, options, arena) !=
|
1375
1950
|
kUpb_DecodeStatus_Ok) {
|
1376
1951
|
return NULL;
|
1377
1952
|
}
|
@@ -1379,118 +1954,188 @@ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* envo
|
|
1379
1954
|
}
|
1380
1955
|
UPB_INLINE char* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_serialize(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, upb_Arena* arena, size_t* len) {
|
1381
1956
|
char* ptr;
|
1382
|
-
(void)upb_Encode(msg, &
|
1957
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_msg_init, 0, arena, &ptr, len);
|
1383
1958
|
return ptr;
|
1384
1959
|
}
|
1385
1960
|
UPB_INLINE char* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_serialize_ex(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, int options,
|
1386
1961
|
upb_Arena* arena, size_t* len) {
|
1387
1962
|
char* ptr;
|
1388
|
-
(void)upb_Encode(msg, &
|
1963
|
+
(void)upb_Encode(msg, &envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_msg_init, options, arena, &ptr, len);
|
1389
1964
|
return ptr;
|
1390
1965
|
}
|
1391
|
-
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_clear_name(
|
1392
|
-
|
1966
|
+
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_clear_name(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
1967
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1968
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1393
1969
|
}
|
1394
1970
|
UPB_INLINE upb_StringView envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_name(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
1395
|
-
|
1971
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
1972
|
+
upb_StringView ret;
|
1973
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1974
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1975
|
+
return ret;
|
1396
1976
|
}
|
1397
|
-
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_clear_version_info(
|
1398
|
-
|
1977
|
+
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_clear_version_info(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
1978
|
+
const upb_MiniTableField field = {2, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1979
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1399
1980
|
}
|
1400
1981
|
UPB_INLINE upb_StringView envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_version_info(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
1401
|
-
|
1982
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
1983
|
+
upb_StringView ret;
|
1984
|
+
const upb_MiniTableField field = {2, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1985
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1986
|
+
return ret;
|
1402
1987
|
}
|
1403
|
-
UPB_INLINE
|
1404
|
-
|
1988
|
+
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_clear_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
1989
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1990
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1991
|
+
}
|
1992
|
+
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) {
|
1993
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1994
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1995
|
+
if (arr) {
|
1996
|
+
if (size) *size = arr->size;
|
1997
|
+
return (const struct google_protobuf_Any* const*)_upb_array_constptr(arr);
|
1998
|
+
} else {
|
1999
|
+
if (size) *size = 0;
|
2000
|
+
return NULL;
|
2001
|
+
}
|
1405
2002
|
}
|
1406
|
-
UPB_INLINE
|
1407
|
-
|
2003
|
+
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) {
|
2004
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2005
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2006
|
+
if (size) {
|
2007
|
+
*size = arr ? arr->size : 0;
|
2008
|
+
}
|
2009
|
+
return arr;
|
1408
2010
|
}
|
1409
|
-
UPB_INLINE
|
1410
|
-
|
2011
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_scoped_route_configs_mutable_upb_array(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, size_t* size, upb_Arena* arena) {
|
2012
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2013
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2014
|
+
(upb_Message*)msg, &field, arena);
|
2015
|
+
if (size) {
|
2016
|
+
*size = arr ? arr->size : 0;
|
2017
|
+
}
|
2018
|
+
return arr;
|
1411
2019
|
}
|
1412
|
-
UPB_INLINE bool
|
1413
|
-
|
2020
|
+
UPB_INLINE bool envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_has_scoped_route_configs(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
2021
|
+
size_t size;
|
2022
|
+
envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_scoped_route_configs(msg, &size);
|
2023
|
+
return size != 0;
|
1414
2024
|
}
|
1415
|
-
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_clear_last_updated(
|
1416
|
-
|
2025
|
+
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_clear_last_updated(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
2026
|
+
const upb_MiniTableField field = {4, UPB_SIZE(8, 48), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2027
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1417
2028
|
}
|
1418
2029
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_last_updated(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
1419
|
-
|
2030
|
+
const struct google_protobuf_Timestamp* default_val = NULL;
|
2031
|
+
const struct google_protobuf_Timestamp* ret;
|
2032
|
+
const upb_MiniTableField field = {4, UPB_SIZE(8, 48), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2033
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2034
|
+
return ret;
|
1420
2035
|
}
|
1421
|
-
UPB_INLINE bool
|
1422
|
-
|
2036
|
+
UPB_INLINE bool envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_has_last_updated(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
2037
|
+
const upb_MiniTableField field = {4, UPB_SIZE(8, 48), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2038
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1423
2039
|
}
|
1424
|
-
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_clear_error_state(
|
1425
|
-
|
2040
|
+
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_clear_error_state(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
2041
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 56), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2042
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1426
2043
|
}
|
1427
2044
|
UPB_INLINE const envoy_admin_v3_UpdateFailureState* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_error_state(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
1428
|
-
|
2045
|
+
const envoy_admin_v3_UpdateFailureState* default_val = NULL;
|
2046
|
+
const envoy_admin_v3_UpdateFailureState* ret;
|
2047
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 56), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2048
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2049
|
+
return ret;
|
2050
|
+
}
|
2051
|
+
UPB_INLINE bool envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_has_error_state(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
2052
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 56), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2053
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1429
2054
|
}
|
1430
|
-
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_clear_client_status(
|
1431
|
-
|
2055
|
+
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_clear_client_status(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
2056
|
+
const upb_MiniTableField field = {6, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2057
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1432
2058
|
}
|
1433
2059
|
UPB_INLINE int32_t envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_client_status(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) {
|
1434
|
-
|
2060
|
+
int32_t default_val = 0;
|
2061
|
+
int32_t ret;
|
2062
|
+
const upb_MiniTableField field = {6, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2063
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2064
|
+
return ret;
|
1435
2065
|
}
|
1436
2066
|
|
1437
2067
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_set_name(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs *msg, upb_StringView value) {
|
1438
|
-
|
2068
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2069
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1439
2070
|
}
|
1440
2071
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_set_version_info(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs *msg, upb_StringView value) {
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
2072
|
+
const upb_MiniTableField field = {2, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2073
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2074
|
+
}
|
2075
|
+
UPB_INLINE struct google_protobuf_Any** envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_mutable_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, size_t* size) {
|
2076
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2077
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
2078
|
+
if (arr) {
|
2079
|
+
if (size) *size = arr->size;
|
2080
|
+
return (struct google_protobuf_Any**)_upb_array_ptr(arr);
|
2081
|
+
} else {
|
2082
|
+
if (size) *size = 0;
|
2083
|
+
return NULL;
|
2084
|
+
}
|
1445
2085
|
}
|
1446
|
-
UPB_INLINE struct google_protobuf_Any** envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_resize_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, size_t
|
1447
|
-
|
2086
|
+
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) {
|
2087
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2088
|
+
return (struct google_protobuf_Any**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
1448
2089
|
}
|
1449
2090
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_add_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, upb_Arena* arena) {
|
1450
|
-
|
1451
|
-
|
1452
|
-
if (!
|
2091
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2092
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
2093
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
2094
|
+
return NULL;
|
2095
|
+
}
|
2096
|
+
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena);
|
2097
|
+
if (!arr || !sub) return NULL;
|
2098
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
1453
2099
|
return sub;
|
1454
2100
|
}
|
1455
2101
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_set_last_updated(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs *msg, struct google_protobuf_Timestamp* value) {
|
1456
|
-
|
1457
|
-
|
2102
|
+
const upb_MiniTableField field = {4, UPB_SIZE(8, 48), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2103
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1458
2104
|
}
|
1459
2105
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_mutable_last_updated(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, upb_Arena* arena) {
|
1460
2106
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_last_updated(msg);
|
1461
2107
|
if (sub == NULL) {
|
1462
|
-
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&
|
1463
|
-
if (
|
1464
|
-
envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_set_last_updated(msg, sub);
|
2108
|
+
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena);
|
2109
|
+
if (sub) envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_set_last_updated(msg, sub);
|
1465
2110
|
}
|
1466
2111
|
return sub;
|
1467
2112
|
}
|
1468
2113
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_set_error_state(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs *msg, envoy_admin_v3_UpdateFailureState* value) {
|
1469
|
-
|
1470
|
-
|
2114
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 56), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2115
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1471
2116
|
}
|
1472
2117
|
UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_mutable_error_state(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, upb_Arena* arena) {
|
1473
2118
|
struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_error_state(msg);
|
1474
2119
|
if (sub == NULL) {
|
1475
|
-
sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&
|
1476
|
-
if (
|
1477
|
-
envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_set_error_state(msg, sub);
|
2120
|
+
sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy_admin_v3_UpdateFailureState_msg_init, arena);
|
2121
|
+
if (sub) envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_set_error_state(msg, sub);
|
1478
2122
|
}
|
1479
2123
|
return sub;
|
1480
2124
|
}
|
1481
2125
|
UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_set_client_status(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs *msg, int32_t value) {
|
1482
|
-
|
2126
|
+
const upb_MiniTableField field = {6, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2127
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1483
2128
|
}
|
1484
2129
|
|
1485
2130
|
/* envoy.admin.v3.EndpointsConfigDump */
|
1486
2131
|
|
1487
2132
|
UPB_INLINE envoy_admin_v3_EndpointsConfigDump* envoy_admin_v3_EndpointsConfigDump_new(upb_Arena* arena) {
|
1488
|
-
return (envoy_admin_v3_EndpointsConfigDump*)_upb_Message_New(&
|
2133
|
+
return (envoy_admin_v3_EndpointsConfigDump*)_upb_Message_New(&envoy_admin_v3_EndpointsConfigDump_msg_init, arena);
|
1489
2134
|
}
|
1490
2135
|
UPB_INLINE envoy_admin_v3_EndpointsConfigDump* envoy_admin_v3_EndpointsConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1491
2136
|
envoy_admin_v3_EndpointsConfigDump* ret = envoy_admin_v3_EndpointsConfigDump_new(arena);
|
1492
2137
|
if (!ret) return NULL;
|
1493
|
-
if (upb_Decode(buf, size, ret, &
|
2138
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_EndpointsConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1494
2139
|
return NULL;
|
1495
2140
|
}
|
1496
2141
|
return ret;
|
@@ -1500,7 +2145,7 @@ UPB_INLINE envoy_admin_v3_EndpointsConfigDump* envoy_admin_v3_EndpointsConfigDum
|
|
1500
2145
|
int options, upb_Arena* arena) {
|
1501
2146
|
envoy_admin_v3_EndpointsConfigDump* ret = envoy_admin_v3_EndpointsConfigDump_new(arena);
|
1502
2147
|
if (!ret) return NULL;
|
1503
|
-
if (upb_Decode(buf, size, ret, &
|
2148
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_EndpointsConfigDump_msg_init, extreg, options, arena) !=
|
1504
2149
|
kUpb_DecodeStatus_Ok) {
|
1505
2150
|
return NULL;
|
1506
2151
|
}
|
@@ -1508,68 +2153,152 @@ UPB_INLINE envoy_admin_v3_EndpointsConfigDump* envoy_admin_v3_EndpointsConfigDum
|
|
1508
2153
|
}
|
1509
2154
|
UPB_INLINE char* envoy_admin_v3_EndpointsConfigDump_serialize(const envoy_admin_v3_EndpointsConfigDump* msg, upb_Arena* arena, size_t* len) {
|
1510
2155
|
char* ptr;
|
1511
|
-
(void)upb_Encode(msg, &
|
2156
|
+
(void)upb_Encode(msg, &envoy_admin_v3_EndpointsConfigDump_msg_init, 0, arena, &ptr, len);
|
1512
2157
|
return ptr;
|
1513
2158
|
}
|
1514
2159
|
UPB_INLINE char* envoy_admin_v3_EndpointsConfigDump_serialize_ex(const envoy_admin_v3_EndpointsConfigDump* msg, int options,
|
1515
2160
|
upb_Arena* arena, size_t* len) {
|
1516
2161
|
char* ptr;
|
1517
|
-
(void)upb_Encode(msg, &
|
2162
|
+
(void)upb_Encode(msg, &envoy_admin_v3_EndpointsConfigDump_msg_init, options, arena, &ptr, len);
|
1518
2163
|
return ptr;
|
1519
2164
|
}
|
1520
|
-
UPB_INLINE
|
1521
|
-
|
2165
|
+
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_clear_static_endpoint_configs(envoy_admin_v3_EndpointsConfigDump* msg) {
|
2166
|
+
const upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2167
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
2168
|
+
}
|
2169
|
+
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) {
|
2170
|
+
const upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2171
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2172
|
+
if (arr) {
|
2173
|
+
if (size) *size = arr->size;
|
2174
|
+
return (const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* const*)_upb_array_constptr(arr);
|
2175
|
+
} else {
|
2176
|
+
if (size) *size = 0;
|
2177
|
+
return NULL;
|
2178
|
+
}
|
1522
2179
|
}
|
1523
|
-
UPB_INLINE
|
1524
|
-
|
2180
|
+
UPB_INLINE const upb_Array* _envoy_admin_v3_EndpointsConfigDump_static_endpoint_configs_upb_array(const envoy_admin_v3_EndpointsConfigDump* msg, size_t* size) {
|
2181
|
+
const upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2182
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2183
|
+
if (size) {
|
2184
|
+
*size = arr ? arr->size : 0;
|
2185
|
+
}
|
2186
|
+
return arr;
|
1525
2187
|
}
|
1526
|
-
UPB_INLINE
|
1527
|
-
|
2188
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_EndpointsConfigDump_static_endpoint_configs_mutable_upb_array(const envoy_admin_v3_EndpointsConfigDump* msg, size_t* size, upb_Arena* arena) {
|
2189
|
+
const upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2190
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2191
|
+
(upb_Message*)msg, &field, arena);
|
2192
|
+
if (size) {
|
2193
|
+
*size = arr ? arr->size : 0;
|
2194
|
+
}
|
2195
|
+
return arr;
|
1528
2196
|
}
|
1529
|
-
UPB_INLINE bool
|
1530
|
-
|
2197
|
+
UPB_INLINE bool envoy_admin_v3_EndpointsConfigDump_has_static_endpoint_configs(const envoy_admin_v3_EndpointsConfigDump* msg) {
|
2198
|
+
size_t size;
|
2199
|
+
envoy_admin_v3_EndpointsConfigDump_static_endpoint_configs(msg, &size);
|
2200
|
+
return size != 0;
|
2201
|
+
}
|
2202
|
+
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_clear_dynamic_endpoint_configs(envoy_admin_v3_EndpointsConfigDump* msg) {
|
2203
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2204
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
2205
|
+
}
|
2206
|
+
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) {
|
2207
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2208
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2209
|
+
if (arr) {
|
2210
|
+
if (size) *size = arr->size;
|
2211
|
+
return (const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* const*)_upb_array_constptr(arr);
|
2212
|
+
} else {
|
2213
|
+
if (size) *size = 0;
|
2214
|
+
return NULL;
|
2215
|
+
}
|
1531
2216
|
}
|
1532
|
-
UPB_INLINE
|
1533
|
-
|
2217
|
+
UPB_INLINE const upb_Array* _envoy_admin_v3_EndpointsConfigDump_dynamic_endpoint_configs_upb_array(const envoy_admin_v3_EndpointsConfigDump* msg, size_t* size) {
|
2218
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2219
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2220
|
+
if (size) {
|
2221
|
+
*size = arr ? arr->size : 0;
|
2222
|
+
}
|
2223
|
+
return arr;
|
1534
2224
|
}
|
1535
|
-
UPB_INLINE
|
1536
|
-
|
2225
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_EndpointsConfigDump_dynamic_endpoint_configs_mutable_upb_array(const envoy_admin_v3_EndpointsConfigDump* msg, size_t* size, upb_Arena* arena) {
|
2226
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2227
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2228
|
+
(upb_Message*)msg, &field, arena);
|
2229
|
+
if (size) {
|
2230
|
+
*size = arr ? arr->size : 0;
|
2231
|
+
}
|
2232
|
+
return arr;
|
1537
2233
|
}
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
2234
|
+
UPB_INLINE bool envoy_admin_v3_EndpointsConfigDump_has_dynamic_endpoint_configs(const envoy_admin_v3_EndpointsConfigDump* msg) {
|
2235
|
+
size_t size;
|
2236
|
+
envoy_admin_v3_EndpointsConfigDump_dynamic_endpoint_configs(msg, &size);
|
2237
|
+
return size != 0;
|
2238
|
+
}
|
2239
|
+
|
2240
|
+
UPB_INLINE envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig** envoy_admin_v3_EndpointsConfigDump_mutable_static_endpoint_configs(envoy_admin_v3_EndpointsConfigDump* msg, size_t* size) {
|
2241
|
+
upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2242
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
2243
|
+
if (arr) {
|
2244
|
+
if (size) *size = arr->size;
|
2245
|
+
return (envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig**)_upb_array_ptr(arr);
|
2246
|
+
} else {
|
2247
|
+
if (size) *size = 0;
|
2248
|
+
return NULL;
|
2249
|
+
}
|
1541
2250
|
}
|
1542
|
-
UPB_INLINE envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig** envoy_admin_v3_EndpointsConfigDump_resize_static_endpoint_configs(envoy_admin_v3_EndpointsConfigDump* msg, size_t
|
1543
|
-
|
2251
|
+
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) {
|
2252
|
+
upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2253
|
+
return (envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
1544
2254
|
}
|
1545
2255
|
UPB_INLINE struct envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* envoy_admin_v3_EndpointsConfigDump_add_static_endpoint_configs(envoy_admin_v3_EndpointsConfigDump* msg, upb_Arena* arena) {
|
1546
|
-
|
1547
|
-
|
1548
|
-
if (!
|
2256
|
+
upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2257
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
2258
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
2259
|
+
return NULL;
|
2260
|
+
}
|
2261
|
+
struct envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* sub = (struct envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig*)_upb_Message_New(&envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_msg_init, arena);
|
2262
|
+
if (!arr || !sub) return NULL;
|
2263
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
1549
2264
|
return sub;
|
1550
2265
|
}
|
1551
|
-
UPB_INLINE envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig** envoy_admin_v3_EndpointsConfigDump_mutable_dynamic_endpoint_configs(envoy_admin_v3_EndpointsConfigDump* msg, size_t*
|
1552
|
-
|
2266
|
+
UPB_INLINE envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig** envoy_admin_v3_EndpointsConfigDump_mutable_dynamic_endpoint_configs(envoy_admin_v3_EndpointsConfigDump* msg, size_t* size) {
|
2267
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2268
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
2269
|
+
if (arr) {
|
2270
|
+
if (size) *size = arr->size;
|
2271
|
+
return (envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig**)_upb_array_ptr(arr);
|
2272
|
+
} else {
|
2273
|
+
if (size) *size = 0;
|
2274
|
+
return NULL;
|
2275
|
+
}
|
1553
2276
|
}
|
1554
|
-
UPB_INLINE envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig** envoy_admin_v3_EndpointsConfigDump_resize_dynamic_endpoint_configs(envoy_admin_v3_EndpointsConfigDump* msg, size_t
|
1555
|
-
|
2277
|
+
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) {
|
2278
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2279
|
+
return (envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
1556
2280
|
}
|
1557
2281
|
UPB_INLINE struct envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* envoy_admin_v3_EndpointsConfigDump_add_dynamic_endpoint_configs(envoy_admin_v3_EndpointsConfigDump* msg, upb_Arena* arena) {
|
1558
|
-
|
1559
|
-
|
1560
|
-
if (!
|
2282
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2283
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
2284
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
2285
|
+
return NULL;
|
2286
|
+
}
|
2287
|
+
struct envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* sub = (struct envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig*)_upb_Message_New(&envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_msg_init, arena);
|
2288
|
+
if (!arr || !sub) return NULL;
|
2289
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
1561
2290
|
return sub;
|
1562
2291
|
}
|
1563
2292
|
|
1564
2293
|
/* envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig */
|
1565
2294
|
|
1566
2295
|
UPB_INLINE envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_new(upb_Arena* arena) {
|
1567
|
-
return (envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig*)_upb_Message_New(&
|
2296
|
+
return (envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig*)_upb_Message_New(&envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_msg_init, arena);
|
1568
2297
|
}
|
1569
2298
|
UPB_INLINE envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1570
2299
|
envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* ret = envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_new(arena);
|
1571
2300
|
if (!ret) return NULL;
|
1572
|
-
if (upb_Decode(buf, size, ret, &
|
2301
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1573
2302
|
return NULL;
|
1574
2303
|
}
|
1575
2304
|
return ret;
|
@@ -1579,7 +2308,7 @@ UPB_INLINE envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* envoy_admin_
|
|
1579
2308
|
int options, upb_Arena* arena) {
|
1580
2309
|
envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* ret = envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_new(arena);
|
1581
2310
|
if (!ret) return NULL;
|
1582
|
-
if (upb_Decode(buf, size, ret, &
|
2311
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_msg_init, extreg, options, arena) !=
|
1583
2312
|
kUpb_DecodeStatus_Ok) {
|
1584
2313
|
return NULL;
|
1585
2314
|
}
|
@@ -1587,57 +2316,67 @@ UPB_INLINE envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* envoy_admin_
|
|
1587
2316
|
}
|
1588
2317
|
UPB_INLINE char* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_serialize(const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg, upb_Arena* arena, size_t* len) {
|
1589
2318
|
char* ptr;
|
1590
|
-
(void)upb_Encode(msg, &
|
2319
|
+
(void)upb_Encode(msg, &envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_msg_init, 0, arena, &ptr, len);
|
1591
2320
|
return ptr;
|
1592
2321
|
}
|
1593
2322
|
UPB_INLINE char* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_serialize_ex(const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg, int options,
|
1594
2323
|
upb_Arena* arena, size_t* len) {
|
1595
2324
|
char* ptr;
|
1596
|
-
(void)upb_Encode(msg, &
|
2325
|
+
(void)upb_Encode(msg, &envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_msg_init, options, arena, &ptr, len);
|
1597
2326
|
return ptr;
|
1598
2327
|
}
|
1599
|
-
UPB_INLINE
|
1600
|
-
|
1601
|
-
|
1602
|
-
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_clear_endpoint_config(const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg) {
|
1603
|
-
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
|
2328
|
+
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_clear_endpoint_config(envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg) {
|
2329
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2330
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1604
2331
|
}
|
1605
2332
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_endpoint_config(const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg) {
|
1606
|
-
|
2333
|
+
const struct google_protobuf_Any* default_val = NULL;
|
2334
|
+
const struct google_protobuf_Any* ret;
|
2335
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2336
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2337
|
+
return ret;
|
1607
2338
|
}
|
1608
|
-
UPB_INLINE bool
|
1609
|
-
|
2339
|
+
UPB_INLINE bool envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_has_endpoint_config(const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg) {
|
2340
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2341
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1610
2342
|
}
|
1611
|
-
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_clear_last_updated(
|
1612
|
-
|
2343
|
+
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_clear_last_updated(envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg) {
|
2344
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2345
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1613
2346
|
}
|
1614
2347
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_last_updated(const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg) {
|
1615
|
-
|
2348
|
+
const struct google_protobuf_Timestamp* default_val = NULL;
|
2349
|
+
const struct google_protobuf_Timestamp* ret;
|
2350
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2351
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2352
|
+
return ret;
|
2353
|
+
}
|
2354
|
+
UPB_INLINE bool envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_has_last_updated(const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg) {
|
2355
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2356
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1616
2357
|
}
|
1617
2358
|
|
1618
2359
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_set_endpoint_config(envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig *msg, struct google_protobuf_Any* value) {
|
1619
|
-
|
1620
|
-
|
2360
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2361
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1621
2362
|
}
|
1622
2363
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_mutable_endpoint_config(envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg, upb_Arena* arena) {
|
1623
2364
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_endpoint_config(msg);
|
1624
2365
|
if (sub == NULL) {
|
1625
|
-
sub = (struct google_protobuf_Any*)_upb_Message_New(&
|
1626
|
-
if (
|
1627
|
-
envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_set_endpoint_config(msg, sub);
|
2366
|
+
sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena);
|
2367
|
+
if (sub) envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_set_endpoint_config(msg, sub);
|
1628
2368
|
}
|
1629
2369
|
return sub;
|
1630
2370
|
}
|
1631
2371
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_set_last_updated(envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig *msg, struct google_protobuf_Timestamp* value) {
|
1632
|
-
|
1633
|
-
|
2372
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2373
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1634
2374
|
}
|
1635
2375
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_mutable_last_updated(envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg, upb_Arena* arena) {
|
1636
2376
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_last_updated(msg);
|
1637
2377
|
if (sub == NULL) {
|
1638
|
-
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&
|
1639
|
-
if (
|
1640
|
-
envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_set_last_updated(msg, sub);
|
2378
|
+
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena);
|
2379
|
+
if (sub) envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_set_last_updated(msg, sub);
|
1641
2380
|
}
|
1642
2381
|
return sub;
|
1643
2382
|
}
|
@@ -1645,12 +2384,12 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_EndpointsConfigDump_
|
|
1645
2384
|
/* envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig */
|
1646
2385
|
|
1647
2386
|
UPB_INLINE envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_new(upb_Arena* arena) {
|
1648
|
-
return (envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig*)_upb_Message_New(&
|
2387
|
+
return (envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig*)_upb_Message_New(&envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_msg_init, arena);
|
1649
2388
|
}
|
1650
2389
|
UPB_INLINE envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1651
2390
|
envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* ret = envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_new(arena);
|
1652
2391
|
if (!ret) return NULL;
|
1653
|
-
if (upb_Decode(buf, size, ret, &
|
2392
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1654
2393
|
return NULL;
|
1655
2394
|
}
|
1656
2395
|
return ret;
|
@@ -1660,7 +2399,7 @@ UPB_INLINE envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* envoy_admin
|
|
1660
2399
|
int options, upb_Arena* arena) {
|
1661
2400
|
envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* ret = envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_new(arena);
|
1662
2401
|
if (!ret) return NULL;
|
1663
|
-
if (upb_Decode(buf, size, ret, &
|
2402
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_msg_init, extreg, options, arena) !=
|
1664
2403
|
kUpb_DecodeStatus_Ok) {
|
1665
2404
|
return NULL;
|
1666
2405
|
}
|
@@ -1668,110 +2407,137 @@ UPB_INLINE envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* envoy_admin
|
|
1668
2407
|
}
|
1669
2408
|
UPB_INLINE char* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_serialize(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg, upb_Arena* arena, size_t* len) {
|
1670
2409
|
char* ptr;
|
1671
|
-
(void)upb_Encode(msg, &
|
2410
|
+
(void)upb_Encode(msg, &envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_msg_init, 0, arena, &ptr, len);
|
1672
2411
|
return ptr;
|
1673
2412
|
}
|
1674
2413
|
UPB_INLINE char* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_serialize_ex(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg, int options,
|
1675
2414
|
upb_Arena* arena, size_t* len) {
|
1676
2415
|
char* ptr;
|
1677
|
-
(void)upb_Encode(msg, &
|
2416
|
+
(void)upb_Encode(msg, &envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_msg_init, options, arena, &ptr, len);
|
1678
2417
|
return ptr;
|
1679
2418
|
}
|
1680
|
-
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_clear_version_info(
|
1681
|
-
|
2419
|
+
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_clear_version_info(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2420
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2421
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1682
2422
|
}
|
1683
2423
|
UPB_INLINE upb_StringView envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_version_info(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
1684
|
-
|
1685
|
-
|
1686
|
-
|
1687
|
-
|
2424
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
2425
|
+
upb_StringView ret;
|
2426
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2427
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2428
|
+
return ret;
|
1688
2429
|
}
|
1689
|
-
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_clear_endpoint_config(
|
1690
|
-
|
2430
|
+
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_clear_endpoint_config(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2431
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2432
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1691
2433
|
}
|
1692
2434
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_endpoint_config(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
1693
|
-
|
2435
|
+
const struct google_protobuf_Any* default_val = NULL;
|
2436
|
+
const struct google_protobuf_Any* ret;
|
2437
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2438
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2439
|
+
return ret;
|
1694
2440
|
}
|
1695
|
-
UPB_INLINE bool
|
1696
|
-
|
2441
|
+
UPB_INLINE bool envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_has_endpoint_config(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2442
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2443
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1697
2444
|
}
|
1698
|
-
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_clear_last_updated(
|
1699
|
-
|
2445
|
+
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_clear_last_updated(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2446
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2447
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1700
2448
|
}
|
1701
2449
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_last_updated(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
1702
|
-
|
2450
|
+
const struct google_protobuf_Timestamp* default_val = NULL;
|
2451
|
+
const struct google_protobuf_Timestamp* ret;
|
2452
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2453
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2454
|
+
return ret;
|
1703
2455
|
}
|
1704
|
-
UPB_INLINE bool
|
1705
|
-
|
2456
|
+
UPB_INLINE bool envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_has_last_updated(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2457
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2458
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1706
2459
|
}
|
1707
|
-
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_clear_error_state(
|
1708
|
-
|
2460
|
+
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_clear_error_state(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2461
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2462
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1709
2463
|
}
|
1710
2464
|
UPB_INLINE const envoy_admin_v3_UpdateFailureState* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_error_state(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
1711
|
-
|
2465
|
+
const envoy_admin_v3_UpdateFailureState* default_val = NULL;
|
2466
|
+
const envoy_admin_v3_UpdateFailureState* ret;
|
2467
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2468
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2469
|
+
return ret;
|
2470
|
+
}
|
2471
|
+
UPB_INLINE bool envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_has_error_state(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2472
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2473
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1712
2474
|
}
|
1713
|
-
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_clear_client_status(
|
1714
|
-
|
2475
|
+
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_clear_client_status(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
2476
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2477
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1715
2478
|
}
|
1716
2479
|
UPB_INLINE int32_t envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_client_status(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) {
|
1717
|
-
|
2480
|
+
int32_t default_val = 0;
|
2481
|
+
int32_t ret;
|
2482
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2483
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2484
|
+
return ret;
|
1718
2485
|
}
|
1719
2486
|
|
1720
2487
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_version_info(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig *msg, upb_StringView value) {
|
1721
|
-
|
2488
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2489
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1722
2490
|
}
|
1723
2491
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_endpoint_config(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig *msg, struct google_protobuf_Any* value) {
|
1724
|
-
|
1725
|
-
|
2492
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2493
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1726
2494
|
}
|
1727
2495
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_mutable_endpoint_config(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg, upb_Arena* arena) {
|
1728
2496
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_endpoint_config(msg);
|
1729
2497
|
if (sub == NULL) {
|
1730
|
-
sub = (struct google_protobuf_Any*)_upb_Message_New(&
|
1731
|
-
if (
|
1732
|
-
envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_endpoint_config(msg, sub);
|
2498
|
+
sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena);
|
2499
|
+
if (sub) envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_endpoint_config(msg, sub);
|
1733
2500
|
}
|
1734
2501
|
return sub;
|
1735
2502
|
}
|
1736
2503
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_last_updated(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig *msg, struct google_protobuf_Timestamp* value) {
|
1737
|
-
|
1738
|
-
|
2504
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2505
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1739
2506
|
}
|
1740
2507
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_mutable_last_updated(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg, upb_Arena* arena) {
|
1741
2508
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_last_updated(msg);
|
1742
2509
|
if (sub == NULL) {
|
1743
|
-
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&
|
1744
|
-
if (
|
1745
|
-
envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_last_updated(msg, sub);
|
2510
|
+
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena);
|
2511
|
+
if (sub) envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_last_updated(msg, sub);
|
1746
2512
|
}
|
1747
2513
|
return sub;
|
1748
2514
|
}
|
1749
2515
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_error_state(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig *msg, envoy_admin_v3_UpdateFailureState* value) {
|
1750
|
-
|
1751
|
-
|
2516
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2517
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1752
2518
|
}
|
1753
2519
|
UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_mutable_error_state(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg, upb_Arena* arena) {
|
1754
2520
|
struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_error_state(msg);
|
1755
2521
|
if (sub == NULL) {
|
1756
|
-
sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&
|
1757
|
-
if (
|
1758
|
-
envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_error_state(msg, sub);
|
2522
|
+
sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy_admin_v3_UpdateFailureState_msg_init, arena);
|
2523
|
+
if (sub) envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_error_state(msg, sub);
|
1759
2524
|
}
|
1760
2525
|
return sub;
|
1761
2526
|
}
|
1762
2527
|
UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_client_status(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig *msg, int32_t value) {
|
1763
|
-
|
2528
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2529
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1764
2530
|
}
|
1765
2531
|
|
1766
2532
|
/* envoy.admin.v3.EcdsConfigDump */
|
1767
2533
|
|
1768
2534
|
UPB_INLINE envoy_admin_v3_EcdsConfigDump* envoy_admin_v3_EcdsConfigDump_new(upb_Arena* arena) {
|
1769
|
-
return (envoy_admin_v3_EcdsConfigDump*)_upb_Message_New(&
|
2535
|
+
return (envoy_admin_v3_EcdsConfigDump*)_upb_Message_New(&envoy_admin_v3_EcdsConfigDump_msg_init, arena);
|
1770
2536
|
}
|
1771
2537
|
UPB_INLINE envoy_admin_v3_EcdsConfigDump* envoy_admin_v3_EcdsConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1772
2538
|
envoy_admin_v3_EcdsConfigDump* ret = envoy_admin_v3_EcdsConfigDump_new(arena);
|
1773
2539
|
if (!ret) return NULL;
|
1774
|
-
if (upb_Decode(buf, size, ret, &
|
2540
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_EcdsConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1775
2541
|
return NULL;
|
1776
2542
|
}
|
1777
2543
|
return ret;
|
@@ -1781,7 +2547,7 @@ UPB_INLINE envoy_admin_v3_EcdsConfigDump* envoy_admin_v3_EcdsConfigDump_parse_ex
|
|
1781
2547
|
int options, upb_Arena* arena) {
|
1782
2548
|
envoy_admin_v3_EcdsConfigDump* ret = envoy_admin_v3_EcdsConfigDump_new(arena);
|
1783
2549
|
if (!ret) return NULL;
|
1784
|
-
if (upb_Decode(buf, size, ret, &
|
2550
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_EcdsConfigDump_msg_init, extreg, options, arena) !=
|
1785
2551
|
kUpb_DecodeStatus_Ok) {
|
1786
2552
|
return NULL;
|
1787
2553
|
}
|
@@ -1789,47 +2555,89 @@ UPB_INLINE envoy_admin_v3_EcdsConfigDump* envoy_admin_v3_EcdsConfigDump_parse_ex
|
|
1789
2555
|
}
|
1790
2556
|
UPB_INLINE char* envoy_admin_v3_EcdsConfigDump_serialize(const envoy_admin_v3_EcdsConfigDump* msg, upb_Arena* arena, size_t* len) {
|
1791
2557
|
char* ptr;
|
1792
|
-
(void)upb_Encode(msg, &
|
2558
|
+
(void)upb_Encode(msg, &envoy_admin_v3_EcdsConfigDump_msg_init, 0, arena, &ptr, len);
|
1793
2559
|
return ptr;
|
1794
2560
|
}
|
1795
2561
|
UPB_INLINE char* envoy_admin_v3_EcdsConfigDump_serialize_ex(const envoy_admin_v3_EcdsConfigDump* msg, int options,
|
1796
2562
|
upb_Arena* arena, size_t* len) {
|
1797
2563
|
char* ptr;
|
1798
|
-
(void)upb_Encode(msg, &
|
2564
|
+
(void)upb_Encode(msg, &envoy_admin_v3_EcdsConfigDump_msg_init, options, arena, &ptr, len);
|
1799
2565
|
return ptr;
|
1800
2566
|
}
|
1801
|
-
UPB_INLINE
|
1802
|
-
|
2567
|
+
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_clear_ecds_filters(envoy_admin_v3_EcdsConfigDump* msg) {
|
2568
|
+
const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2569
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
2570
|
+
}
|
2571
|
+
UPB_INLINE const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* const* envoy_admin_v3_EcdsConfigDump_ecds_filters(const envoy_admin_v3_EcdsConfigDump* msg, size_t* size) {
|
2572
|
+
const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2573
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2574
|
+
if (arr) {
|
2575
|
+
if (size) *size = arr->size;
|
2576
|
+
return (const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* const*)_upb_array_constptr(arr);
|
2577
|
+
} else {
|
2578
|
+
if (size) *size = 0;
|
2579
|
+
return NULL;
|
2580
|
+
}
|
1803
2581
|
}
|
1804
|
-
UPB_INLINE
|
1805
|
-
|
2582
|
+
UPB_INLINE const upb_Array* _envoy_admin_v3_EcdsConfigDump_ecds_filters_upb_array(const envoy_admin_v3_EcdsConfigDump* msg, size_t* size) {
|
2583
|
+
const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2584
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2585
|
+
if (size) {
|
2586
|
+
*size = arr ? arr->size : 0;
|
2587
|
+
}
|
2588
|
+
return arr;
|
1806
2589
|
}
|
1807
|
-
UPB_INLINE
|
1808
|
-
|
2590
|
+
UPB_INLINE upb_Array* _envoy_admin_v3_EcdsConfigDump_ecds_filters_mutable_upb_array(const envoy_admin_v3_EcdsConfigDump* msg, size_t* size, upb_Arena* arena) {
|
2591
|
+
const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2592
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2593
|
+
(upb_Message*)msg, &field, arena);
|
2594
|
+
if (size) {
|
2595
|
+
*size = arr ? arr->size : 0;
|
2596
|
+
}
|
2597
|
+
return arr;
|
1809
2598
|
}
|
1810
|
-
|
1811
|
-
|
1812
|
-
|
2599
|
+
UPB_INLINE bool envoy_admin_v3_EcdsConfigDump_has_ecds_filters(const envoy_admin_v3_EcdsConfigDump* msg) {
|
2600
|
+
size_t size;
|
2601
|
+
envoy_admin_v3_EcdsConfigDump_ecds_filters(msg, &size);
|
2602
|
+
return size != 0;
|
2603
|
+
}
|
2604
|
+
|
2605
|
+
UPB_INLINE envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig** envoy_admin_v3_EcdsConfigDump_mutable_ecds_filters(envoy_admin_v3_EcdsConfigDump* msg, size_t* size) {
|
2606
|
+
upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2607
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
2608
|
+
if (arr) {
|
2609
|
+
if (size) *size = arr->size;
|
2610
|
+
return (envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig**)_upb_array_ptr(arr);
|
2611
|
+
} else {
|
2612
|
+
if (size) *size = 0;
|
2613
|
+
return NULL;
|
2614
|
+
}
|
1813
2615
|
}
|
1814
|
-
UPB_INLINE envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig** envoy_admin_v3_EcdsConfigDump_resize_ecds_filters(envoy_admin_v3_EcdsConfigDump* msg, size_t
|
1815
|
-
|
2616
|
+
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) {
|
2617
|
+
upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2618
|
+
return (envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena);
|
1816
2619
|
}
|
1817
2620
|
UPB_INLINE struct envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* envoy_admin_v3_EcdsConfigDump_add_ecds_filters(envoy_admin_v3_EcdsConfigDump* msg, upb_Arena* arena) {
|
1818
|
-
|
1819
|
-
|
1820
|
-
if (!
|
2621
|
+
upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2622
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
2623
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
2624
|
+
return NULL;
|
2625
|
+
}
|
2626
|
+
struct envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* sub = (struct envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig*)_upb_Message_New(&envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_msg_init, arena);
|
2627
|
+
if (!arr || !sub) return NULL;
|
2628
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
1821
2629
|
return sub;
|
1822
2630
|
}
|
1823
2631
|
|
1824
2632
|
/* envoy.admin.v3.EcdsConfigDump.EcdsFilterConfig */
|
1825
2633
|
|
1826
2634
|
UPB_INLINE envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_new(upb_Arena* arena) {
|
1827
|
-
return (envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig*)_upb_Message_New(&
|
2635
|
+
return (envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig*)_upb_Message_New(&envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_msg_init, arena);
|
1828
2636
|
}
|
1829
2637
|
UPB_INLINE envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1830
2638
|
envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* ret = envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_new(arena);
|
1831
2639
|
if (!ret) return NULL;
|
1832
|
-
if (upb_Decode(buf, size, ret, &
|
2640
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1833
2641
|
return NULL;
|
1834
2642
|
}
|
1835
2643
|
return ret;
|
@@ -1839,7 +2647,7 @@ UPB_INLINE envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* envoy_admin_v3_EcdsCo
|
|
1839
2647
|
int options, upb_Arena* arena) {
|
1840
2648
|
envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* ret = envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_new(arena);
|
1841
2649
|
if (!ret) return NULL;
|
1842
|
-
if (upb_Decode(buf, size, ret, &
|
2650
|
+
if (upb_Decode(buf, size, ret, &envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_msg_init, extreg, options, arena) !=
|
1843
2651
|
kUpb_DecodeStatus_Ok) {
|
1844
2652
|
return NULL;
|
1845
2653
|
}
|
@@ -1847,107 +2655,134 @@ UPB_INLINE envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* envoy_admin_v3_EcdsCo
|
|
1847
2655
|
}
|
1848
2656
|
UPB_INLINE char* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_serialize(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg, upb_Arena* arena, size_t* len) {
|
1849
2657
|
char* ptr;
|
1850
|
-
(void)upb_Encode(msg, &
|
2658
|
+
(void)upb_Encode(msg, &envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_msg_init, 0, arena, &ptr, len);
|
1851
2659
|
return ptr;
|
1852
2660
|
}
|
1853
2661
|
UPB_INLINE char* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_serialize_ex(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg, int options,
|
1854
2662
|
upb_Arena* arena, size_t* len) {
|
1855
2663
|
char* ptr;
|
1856
|
-
(void)upb_Encode(msg, &
|
2664
|
+
(void)upb_Encode(msg, &envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_msg_init, options, arena, &ptr, len);
|
1857
2665
|
return ptr;
|
1858
2666
|
}
|
1859
|
-
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_clear_version_info(
|
1860
|
-
|
2667
|
+
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_clear_version_info(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2668
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2669
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1861
2670
|
}
|
1862
2671
|
UPB_INLINE upb_StringView envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_version_info(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
1863
|
-
|
1864
|
-
|
1865
|
-
|
1866
|
-
|
2672
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
2673
|
+
upb_StringView ret;
|
2674
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2675
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2676
|
+
return ret;
|
1867
2677
|
}
|
1868
|
-
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_clear_ecds_filter(
|
1869
|
-
|
2678
|
+
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_clear_ecds_filter(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2679
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2680
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1870
2681
|
}
|
1871
2682
|
UPB_INLINE const struct google_protobuf_Any* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_ecds_filter(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
1872
|
-
|
2683
|
+
const struct google_protobuf_Any* default_val = NULL;
|
2684
|
+
const struct google_protobuf_Any* ret;
|
2685
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2686
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2687
|
+
return ret;
|
1873
2688
|
}
|
1874
|
-
UPB_INLINE bool
|
1875
|
-
|
2689
|
+
UPB_INLINE bool envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_has_ecds_filter(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2690
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2691
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1876
2692
|
}
|
1877
|
-
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_clear_last_updated(
|
1878
|
-
|
2693
|
+
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_clear_last_updated(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2694
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2695
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1879
2696
|
}
|
1880
2697
|
UPB_INLINE const struct google_protobuf_Timestamp* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_last_updated(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
1881
|
-
|
2698
|
+
const struct google_protobuf_Timestamp* default_val = NULL;
|
2699
|
+
const struct google_protobuf_Timestamp* ret;
|
2700
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2701
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2702
|
+
return ret;
|
1882
2703
|
}
|
1883
|
-
UPB_INLINE bool
|
1884
|
-
|
2704
|
+
UPB_INLINE bool envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_has_last_updated(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2705
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2706
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1885
2707
|
}
|
1886
|
-
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_clear_error_state(
|
1887
|
-
|
2708
|
+
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_clear_error_state(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2709
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2710
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1888
2711
|
}
|
1889
2712
|
UPB_INLINE const envoy_admin_v3_UpdateFailureState* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_error_state(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
1890
|
-
|
2713
|
+
const envoy_admin_v3_UpdateFailureState* default_val = NULL;
|
2714
|
+
const envoy_admin_v3_UpdateFailureState* ret;
|
2715
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2716
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2717
|
+
return ret;
|
2718
|
+
}
|
2719
|
+
UPB_INLINE bool envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_has_error_state(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2720
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2721
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1891
2722
|
}
|
1892
|
-
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_clear_client_status(
|
1893
|
-
|
2723
|
+
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_clear_client_status(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
2724
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2725
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1894
2726
|
}
|
1895
2727
|
UPB_INLINE int32_t envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_client_status(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) {
|
1896
|
-
|
2728
|
+
int32_t default_val = 0;
|
2729
|
+
int32_t ret;
|
2730
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2731
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
2732
|
+
return ret;
|
1897
2733
|
}
|
1898
2734
|
|
1899
2735
|
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_version_info(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig *msg, upb_StringView value) {
|
1900
|
-
|
2736
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2737
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1901
2738
|
}
|
1902
2739
|
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_ecds_filter(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig *msg, struct google_protobuf_Any* value) {
|
1903
|
-
|
1904
|
-
|
2740
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2741
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1905
2742
|
}
|
1906
2743
|
UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_mutable_ecds_filter(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg, upb_Arena* arena) {
|
1907
2744
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_ecds_filter(msg);
|
1908
2745
|
if (sub == NULL) {
|
1909
|
-
sub = (struct google_protobuf_Any*)_upb_Message_New(&
|
1910
|
-
if (
|
1911
|
-
envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_ecds_filter(msg, sub);
|
2746
|
+
sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena);
|
2747
|
+
if (sub) envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_ecds_filter(msg, sub);
|
1912
2748
|
}
|
1913
2749
|
return sub;
|
1914
2750
|
}
|
1915
2751
|
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_last_updated(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig *msg, struct google_protobuf_Timestamp* value) {
|
1916
|
-
|
1917
|
-
|
2752
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2753
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1918
2754
|
}
|
1919
2755
|
UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_mutable_last_updated(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg, upb_Arena* arena) {
|
1920
2756
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_last_updated(msg);
|
1921
2757
|
if (sub == NULL) {
|
1922
|
-
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&
|
1923
|
-
if (
|
1924
|
-
envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_last_updated(msg, sub);
|
2758
|
+
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena);
|
2759
|
+
if (sub) envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_last_updated(msg, sub);
|
1925
2760
|
}
|
1926
2761
|
return sub;
|
1927
2762
|
}
|
1928
2763
|
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_error_state(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig *msg, envoy_admin_v3_UpdateFailureState* value) {
|
1929
|
-
|
1930
|
-
|
2764
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2765
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1931
2766
|
}
|
1932
2767
|
UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_mutable_error_state(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg, upb_Arena* arena) {
|
1933
2768
|
struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_error_state(msg);
|
1934
2769
|
if (sub == NULL) {
|
1935
|
-
sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&
|
1936
|
-
if (
|
1937
|
-
envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_error_state(msg, sub);
|
2770
|
+
sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy_admin_v3_UpdateFailureState_msg_init, arena);
|
2771
|
+
if (sub) envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_error_state(msg, sub);
|
1938
2772
|
}
|
1939
2773
|
return sub;
|
1940
2774
|
}
|
1941
2775
|
UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_client_status(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig *msg, int32_t value) {
|
1942
|
-
|
2776
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2777
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1943
2778
|
}
|
1944
2779
|
|
1945
|
-
extern const
|
2780
|
+
extern const upb_MiniTableFile envoy_admin_v3_config_dump_shared_proto_upb_file_layout;
|
1946
2781
|
|
1947
2782
|
#ifdef __cplusplus
|
1948
2783
|
} /* extern "C" */
|
1949
2784
|
#endif
|
1950
2785
|
|
1951
|
-
#include "upb/
|
2786
|
+
#include "upb/port/undef.inc"
|
1952
2787
|
|
1953
2788
|
#endif /* ENVOY_ADMIN_V3_CONFIG_DUMP_SHARED_PROTO_UPB_H_ */
|