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