grpc 1.62.0 → 1.63.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +415 -1962
- data/include/grpc/byte_buffer.h +1 -2
- data/include/grpc/census.h +1 -2
- data/include/grpc/compression.h +1 -2
- data/include/grpc/event_engine/endpoint_config.h +2 -2
- data/include/grpc/event_engine/event_engine.h +4 -2
- data/include/grpc/event_engine/extensible.h +2 -2
- data/include/grpc/event_engine/internal/memory_allocator_impl.h +1 -2
- data/include/grpc/event_engine/memory_allocator.h +1 -2
- data/include/grpc/event_engine/memory_request.h +2 -2
- data/include/grpc/event_engine/slice.h +1 -2
- data/include/grpc/event_engine/slice_buffer.h +1 -2
- data/include/grpc/grpc.h +1 -8
- data/include/grpc/grpc_audit_logging.h +1 -2
- data/include/grpc/grpc_crl_provider.h +2 -2
- data/include/grpc/grpc_cronet.h +1 -2
- data/include/grpc/grpc_posix.h +1 -2
- data/include/grpc/grpc_security.h +1 -2
- data/include/grpc/impl/call.h +1 -2
- data/include/grpc/impl/channel_arg_names.h +4 -0
- data/include/grpc/impl/grpc_types.h +1 -2
- data/include/grpc/impl/slice_type.h +2 -2
- data/include/grpc/module.modulemap +1 -0
- data/include/grpc/slice.h +1 -2
- data/include/grpc/slice_buffer.h +1 -2
- data/include/grpc/support/alloc.h +2 -2
- data/include/grpc/support/json.h +2 -2
- data/include/grpc/support/log.h +2 -2
- data/include/grpc/support/metrics.h +51 -0
- data/include/grpc/support/string_util.h +0 -1
- data/include/grpc/support/sync.h +0 -1
- data/include/grpc/support/sync_abseil.h +0 -1
- data/include/grpc/support/sync_custom.h +0 -1
- data/include/grpc/support/sync_generic.h +1 -2
- data/include/grpc/support/sync_posix.h +1 -2
- data/include/grpc/support/time.h +2 -2
- data/src/core/client_channel/client_channel_channelz.h +1 -1
- data/src/core/client_channel/client_channel_filter.cc +48 -38
- data/src/core/client_channel/client_channel_filter.h +6 -14
- data/src/core/client_channel/client_channel_internal.h +1 -1
- data/src/core/client_channel/client_channel_service_config.h +4 -3
- data/src/core/client_channel/config_selector.h +1 -1
- data/src/core/client_channel/dynamic_filters.h +1 -1
- data/src/core/client_channel/http_proxy_mapper.cc +3 -4
- data/src/core/client_channel/http_proxy_mapper.h +1 -1
- data/src/core/client_channel/retry_filter.h +1 -1
- data/src/core/client_channel/retry_filter_legacy_call_data.cc +1 -1
- data/src/core/client_channel/retry_filter_legacy_call_data.h +9 -9
- data/src/core/client_channel/retry_service_config.h +3 -3
- data/src/core/client_channel/retry_throttle.h +3 -2
- data/src/core/client_channel/subchannel.cc +2 -2
- data/src/core/client_channel/subchannel.h +7 -7
- data/src/core/client_channel/subchannel_pool_interface.h +1 -1
- data/src/core/client_channel/subchannel_stream_client.cc +1 -5
- data/src/core/client_channel/subchannel_stream_client.h +2 -2
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +3 -49
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +0 -12
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +4 -10
- data/src/core/ext/filters/http/http_filters_plugin.cc +15 -35
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +8 -7
- data/src/core/ext/filters/http/message_compress/compression_filter.h +2 -1
- data/src/core/ext/filters/http/server/http_server_filter.cc +1 -1
- data/src/core/ext/filters/message_size/message_size_filter.cc +15 -10
- data/src/core/ext/filters/rbac/rbac_filter.cc +4 -11
- data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +2 -2
- data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +1 -0
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +4 -9
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +38 -1
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +27 -76
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +23 -4
- data/src/core/ext/transport/chttp2/transport/context_list_entry.h +13 -10
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +37 -76
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +2 -2
- data/src/core/ext/transport/chttp2/transport/internal.h +4 -2
- data/src/core/ext/transport/chttp2/transport/parsing.cc +5 -10
- data/src/core/ext/transport/chttp2/transport/writing.cc +34 -31
- data/src/core/ext/transport/inproc/inproc_transport.cc +6 -4
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +9 -8
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +243 -230
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +42 -48
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +289 -265
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +62 -70
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +238 -226
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +42 -50
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +937 -882
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +182 -208
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +77 -76
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +86 -84
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +49 -42
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +357 -318
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +86 -86
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +23 -20
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +40 -32
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +24 -20
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +517 -473
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +105 -125
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +1207 -1108
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +261 -289
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +163 -152
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +29 -43
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +1265 -1137
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +276 -346
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +32 -28
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +7 -9
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +212 -188
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +53 -69
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +564 -508
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +123 -131
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +340 -309
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +69 -83
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +25 -22
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +5 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +786 -688
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +171 -189
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +367 -343
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +72 -80
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +19 -16
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +23 -20
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +77 -76
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +539 -471
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +125 -141
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +672 -632
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +137 -137
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +44 -43
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +35 -30
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +713 -637
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +166 -208
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +65 -61
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +10 -12
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +65 -61
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +11 -13
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +91 -83
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +17 -17
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +102 -93
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +22 -22
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +25 -22
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +5 -11
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +162 -145
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +32 -40
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +314 -287
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +70 -74
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +330 -309
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +66 -66
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +516 -478
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +110 -120
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +495 -468
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +89 -101
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +88 -78
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +19 -37
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +41 -36
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +8 -26
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +46 -40
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +307 -279
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +60 -64
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +382 -358
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +70 -70
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +540 -490
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +122 -136
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +339 -327
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +48 -70
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +3407 -3145
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +700 -752
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +100 -91
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +20 -20
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +472 -430
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +102 -116
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +23 -20
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +42 -36
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +9 -13
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +58 -55
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +9 -13
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +146 -136
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +30 -30
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +69 -65
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +67 -58
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +14 -24
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +64 -56
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +14 -20
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +58 -50
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +986 -832
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +269 -281
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +35 -35
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +102 -88
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +25 -25
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +224 -204
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +46 -62
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +66 -58
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +14 -24
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +160 -153
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +28 -30
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +51 -44
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +12 -12
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +1349 -1230
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +293 -309
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +61 -54
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +13 -23
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +124 -108
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +29 -37
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +14 -12
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +66 -58
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +20 -20
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +518 -493
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +82 -108
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +92 -80
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +23 -29
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +497 -457
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +110 -124
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +58 -55
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +9 -11
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +206 -185
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +48 -64
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +7 -6
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +766 -710
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +140 -150
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +102 -98
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +17 -17
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +310 -288
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +67 -67
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +30 -26
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +77 -71
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +26 -22
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +70 -60
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +77 -71
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +14 -14
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +44 -43
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +19 -16
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +65 -56
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +15 -19
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +14 -12
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +2 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +97 -89
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +18 -18
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +63 -59
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +10 -10
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +134 -121
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +29 -29
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +135 -121
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +26 -26
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +141 -122
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +37 -37
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +49 -42
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +11 -11
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +14 -12
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +35 -30
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +63 -54
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +58 -50
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +14 -14
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +32 -28
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +7 -9
- data/src/core/ext/upb-gen/google/api/annotations.upb.h +10 -8
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +581 -524
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +118 -146
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +616 -544
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +136 -152
- data/src/core/ext/upb-gen/google/api/http.upb.h +176 -162
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +34 -34
- data/src/core/ext/upb-gen/google/api/httpbody.upb.h +49 -47
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/google/protobuf/any.upb.h +21 -18
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +5 -5
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +2456 -2358
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +367 -486
- data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +21 -18
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +5 -5
- data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +7 -6
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +134 -116
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +27 -29
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +21 -18
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +5 -5
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +126 -108
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +27 -27
- data/src/core/ext/upb-gen/google/rpc/status.upb.h +49 -47
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +107 -92
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +27 -27
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +77 -61
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +21 -21
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +577 -518
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +121 -127
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +46 -40
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +10 -16
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +28 -24
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +265 -238
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +57 -63
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +96 -82
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +19 -19
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +496 -466
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +81 -85
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +99 -82
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +31 -26
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +10 -8
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +31 -26
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +24 -20
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/validate/validate.upb.h +2620 -2458
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +363 -507
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +99 -82
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +31 -26
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +10 -8
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +93 -78
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +17 -17
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +24 -20
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +14 -12
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +58 -50
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +33 -23
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +32 -28
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +103 -93
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +21 -21
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +37 -32
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +9 -13
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +127 -93
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +34 -34
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +44 -43
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +79 -78
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +9 -11
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +7 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +86 -84
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +324 -285
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +74 -82
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +237 -234
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +30 -36
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +33 -28
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +97 -89
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +18 -18
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +53 -46
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +12 -18
- data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +63 -54
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +5 -7
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +385 -384
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +2 -5
- data/src/core/ext/xds/certificate_provider_store.h +3 -2
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.h +2 -2
- data/src/core/ext/xds/xds_api.h +1 -1
- data/src/core/ext/xds/xds_audit_logger_registry.cc +2 -1
- data/src/core/ext/xds/xds_audit_logger_registry.h +1 -1
- data/src/core/ext/xds/xds_bootstrap.h +2 -4
- data/src/core/ext/xds/xds_bootstrap_grpc.cc +38 -6
- data/src/core/ext/xds/xds_bootstrap_grpc.h +22 -7
- data/src/core/ext/xds/xds_certificate_provider.cc +2 -2
- data/src/core/ext/xds/xds_certificate_provider.h +1 -1
- data/src/core/ext/xds/xds_channel_stack_modifier.h +2 -1
- data/src/core/ext/xds/xds_client.cc +283 -103
- data/src/core/ext/xds/xds_client.h +41 -8
- data/src/core/ext/xds/xds_client_grpc.cc +184 -55
- data/src/core/ext/xds/xds_client_grpc.h +22 -8
- data/src/core/ext/xds/xds_client_stats.cc +14 -12
- data/src/core/ext/xds/xds_client_stats.h +14 -7
- data/src/core/ext/xds/xds_cluster.cc +9 -9
- data/src/core/ext/xds/xds_cluster.h +5 -2
- data/src/core/ext/xds/xds_cluster_specifier_plugin.h +2 -2
- data/src/core/ext/xds/xds_endpoint.cc +3 -2
- data/src/core/ext/xds/xds_endpoint.h +2 -2
- data/src/core/ext/xds/xds_health_status.h +2 -2
- data/src/core/ext/xds/xds_http_fault_filter.h +1 -1
- data/src/core/ext/xds/xds_http_filters.h +2 -2
- data/src/core/ext/xds/xds_http_rbac_filter.h +1 -1
- data/src/core/ext/xds/xds_http_stateful_session_filter.h +1 -1
- data/src/core/ext/xds/xds_lb_policy_registry.cc +5 -5
- data/src/core/ext/xds/xds_lb_policy_registry.h +1 -1
- data/src/core/ext/xds/xds_listener.h +1 -1
- data/src/core/ext/xds/xds_metrics.h +39 -0
- data/src/core/ext/xds/xds_route_config.h +1 -1
- data/src/core/ext/xds/xds_routing.h +1 -1
- data/src/core/ext/xds/xds_server_config_fetcher.cc +20 -19
- data/src/core/ext/xds/xds_transport_grpc.cc +17 -32
- data/src/core/ext/xds/xds_transport_grpc.h +6 -6
- data/src/core/lib/address_utils/parse_address.cc +8 -1
- data/src/core/lib/address_utils/sockaddr_utils.cc +8 -1
- data/src/core/lib/channel/call_finalization.h +1 -1
- data/src/core/lib/channel/call_tracer.cc +3 -4
- data/src/core/lib/channel/call_tracer.h +14 -12
- data/src/core/lib/channel/channel_stack.cc +9 -0
- data/src/core/lib/channel/channel_stack.h +5 -0
- data/src/core/lib/channel/channel_stack_builder_impl.cc +140 -0
- data/src/core/lib/channel/channelz.h +9 -6
- data/src/core/lib/channel/channelz_registry.h +1 -1
- data/src/core/lib/channel/connected_channel.cc +5 -8
- data/src/core/lib/channel/metrics.cc +396 -0
- data/src/core/lib/channel/metrics.h +406 -0
- data/src/core/lib/channel/promise_based_filter.h +63 -7
- data/src/core/lib/channel/server_call_tracer_filter.cc +2 -0
- data/src/core/lib/{surface/builtins.h → channel/server_call_tracer_filter.h} +7 -5
- data/src/core/lib/channel/tcp_tracer.h +4 -0
- data/src/core/lib/compression/compression_internal.cc +33 -0
- data/src/core/lib/compression/compression_internal.h +3 -0
- data/src/core/lib/config/config_vars.cc +6 -4
- data/src/core/lib/config/config_vars.h +4 -0
- data/src/core/lib/debug/stats_data.cc +269 -26
- data/src/core/lib/debug/stats_data.h +176 -0
- data/src/core/lib/event_engine/default_event_engine.h +0 -6
- data/src/core/lib/event_engine/event_engine_context.h +31 -0
- data/src/core/lib/event_engine/extensions/chaotic_good_extension.h +65 -0
- data/src/core/lib/event_engine/posix.h +8 -0
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +1 -1
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +1 -0
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +7 -0
- data/src/core/lib/event_engine/tcp_socket_utils.cc +8 -1
- data/src/core/lib/event_engine/tcp_socket_utils.h +2 -2
- data/src/core/lib/event_engine/windows/win_socket.cc +4 -0
- data/src/core/lib/event_engine/windows/win_socket.h +3 -0
- data/src/core/lib/event_engine/windows/windows_engine.cc +41 -8
- data/src/core/lib/event_engine/windows/windows_listener.cc +54 -6
- data/src/core/lib/event_engine/windows/windows_listener.h +14 -0
- data/src/core/lib/experiments/config.cc +63 -45
- data/src/core/lib/experiments/experiments.cc +19 -238
- data/src/core/lib/experiments/experiments.h +4 -119
- data/src/core/lib/gpr/android/log.cc +1 -1
- data/src/core/lib/gpr/linux/log.cc +1 -1
- data/src/core/lib/gpr/log.cc +26 -0
- data/src/core/lib/gpr/posix/log.cc +1 -1
- data/src/core/lib/gpr/posix/time.cc +0 -60
- data/src/core/lib/gpr/windows/log.cc +1 -1
- data/src/core/lib/gprpp/down_cast.h +4 -4
- data/src/core/lib/gprpp/dual_ref_counted.h +17 -9
- data/src/core/lib/gprpp/load_file.cc +3 -1
- data/src/core/lib/gprpp/orphanable.h +5 -2
- data/src/core/lib/gprpp/ref_counted.h +5 -2
- data/src/core/lib/gprpp/ref_counted_ptr.h +2 -1
- data/src/core/lib/gprpp/time.h +6 -0
- data/src/core/lib/gprpp/uuid_v4.cc +37 -0
- data/src/core/lib/gprpp/uuid_v4.h +36 -0
- data/src/core/lib/iomgr/port.h +3 -0
- data/src/core/lib/iomgr/tcp_client_windows.cc +24 -5
- data/src/core/lib/iomgr/tcp_posix.cc +47 -0
- data/src/core/lib/iomgr/tcp_server_posix.cc +101 -87
- data/src/core/lib/iomgr/tcp_server_windows.cc +60 -9
- data/src/core/lib/iomgr/unix_sockets_posix.cc +13 -0
- data/src/core/lib/promise/activity.h +1 -0
- data/src/core/lib/promise/context.h +2 -2
- data/src/core/lib/promise/detail/promise_like.h +7 -1
- data/src/core/lib/promise/party.cc +33 -3
- data/src/core/lib/promise/party.h +12 -14
- data/src/core/lib/promise/sleep.cc +1 -1
- data/src/core/lib/promise/status_flag.h +8 -0
- data/src/core/lib/resource_quota/arena.h +3 -0
- data/src/core/lib/resource_quota/connection_quota.cc +71 -0
- data/src/core/lib/resource_quota/connection_quota.h +61 -0
- data/src/core/lib/security/authorization/evaluate_args.cc +6 -5
- data/src/core/lib/security/authorization/evaluate_args.h +3 -3
- data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +4 -7
- data/src/core/lib/security/authorization/grpc_server_authz_filter.h +1 -2
- data/src/core/lib/security/credentials/jwt/json_token.cc +8 -4
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +11 -16
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +17 -10
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +7 -3
- data/src/core/lib/security/security_connector/load_system_roots.h +3 -0
- data/src/core/lib/security/security_connector/load_system_roots_fallback.cc +3 -2
- data/src/core/lib/security/security_connector/load_system_roots_windows.cc +87 -0
- data/src/core/lib/security/transport/auth_filters.h +0 -25
- data/src/core/lib/security/transport/security_handshaker.cc +18 -9
- data/src/core/lib/security/transport/security_handshaker.h +4 -2
- data/src/core/lib/slice/slice.cc +31 -5
- data/src/core/lib/slice/slice_buffer.cc +49 -11
- data/src/core/lib/slice/slice_buffer.h +14 -1
- data/src/core/lib/slice/slice_internal.h +7 -0
- data/src/core/lib/surface/call.cc +50 -55
- data/src/core/lib/surface/call.h +3 -3
- data/src/core/lib/surface/call_trace.h +0 -6
- data/src/core/lib/surface/channel.cc +104 -315
- data/src/core/lib/surface/channel.h +88 -107
- data/src/core/lib/surface/channel_create.cc +109 -0
- data/src/core/lib/surface/{builtins.cc → channel_create.h} +20 -15
- data/src/core/lib/surface/channel_init.cc +7 -6
- data/src/core/lib/surface/channel_init.h +18 -2
- data/src/core/lib/surface/init.cc +9 -14
- data/src/core/lib/surface/lame_client.cc +3 -28
- data/src/core/lib/surface/lame_client.h +7 -2
- data/src/core/lib/surface/legacy_channel.cc +414 -0
- data/src/core/lib/surface/legacy_channel.h +124 -0
- data/src/core/lib/surface/server.cc +20 -35
- data/src/core/lib/surface/server.h +10 -6
- data/src/core/lib/surface/server_interface.h +43 -0
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/batch_builder.cc +7 -16
- data/src/core/lib/transport/batch_builder.h +4 -6
- data/src/core/lib/transport/call_filters.cc +119 -19
- data/src/core/lib/transport/call_filters.h +339 -40
- data/src/core/lib/transport/call_spine.h +8 -3
- data/src/core/lib/transport/endpoint_info_handshaker.cc +80 -0
- data/src/core/lib/transport/endpoint_info_handshaker.h +37 -0
- data/src/core/lib/transport/handshaker_factory.h +1 -2
- data/src/core/lib/transport/metadata.cc +1 -1
- data/src/core/lib/transport/metadata_batch.cc +66 -5
- data/src/core/lib/transport/metadata_batch.h +12 -16
- data/src/core/lib/transport/metadata_info.cc +55 -0
- data/src/core/lib/transport/metadata_info.h +85 -0
- data/src/core/lib/transport/transport_op_string.cc +0 -8
- data/src/core/load_balancing/address_filtering.cc +1 -1
- data/src/core/load_balancing/address_filtering.h +1 -1
- data/src/core/{client_channel/backend_metric.cc → load_balancing/backend_metric_parser.cc} +1 -1
- data/src/core/{client_channel/backend_metric.h → load_balancing/backend_metric_parser.h} +3 -3
- data/src/core/load_balancing/child_policy_handler.cc +1 -1
- data/src/core/load_balancing/delegating_helper.h +8 -0
- data/src/core/load_balancing/endpoint_list.cc +1 -1
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +3 -1
- data/src/core/load_balancing/grpclb/grpclb.cc +39 -44
- data/src/core/load_balancing/grpclb/grpclb_client_stats.h +1 -1
- data/src/core/load_balancing/health_check_client.cc +6 -6
- data/src/core/load_balancing/health_check_client_internal.h +4 -5
- data/src/core/load_balancing/lb_policy.h +13 -4
- data/src/core/load_balancing/lb_policy_registry.h +2 -2
- data/src/core/load_balancing/oob_backend_metric.cc +6 -6
- data/src/core/load_balancing/oob_backend_metric.h +1 -1
- data/src/core/load_balancing/oob_backend_metric_internal.h +6 -6
- data/src/core/load_balancing/outlier_detection/outlier_detection.cc +29 -29
- data/src/core/load_balancing/pick_first/pick_first.cc +70 -148
- data/src/core/load_balancing/priority/priority.cc +8 -7
- data/src/core/load_balancing/ring_hash/ring_hash.cc +8 -8
- data/src/core/load_balancing/ring_hash/ring_hash.h +1 -1
- data/src/core/load_balancing/rls/rls.cc +202 -79
- data/src/core/load_balancing/rls/rls.h +26 -0
- data/src/core/load_balancing/round_robin/round_robin.cc +7 -462
- data/src/core/load_balancing/subchannel_interface.h +3 -2
- data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h +1 -1
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +169 -964
- data/src/core/load_balancing/weighted_target/weighted_target.cc +13 -10
- data/src/core/load_balancing/weighted_target/weighted_target.h +28 -0
- data/src/core/load_balancing/xds/cds.cc +8 -8
- data/src/core/load_balancing/xds/xds_cluster_impl.cc +101 -57
- data/src/core/load_balancing/xds/xds_cluster_manager.cc +6 -6
- data/src/core/load_balancing/xds/xds_override_host.cc +15 -15
- data/src/core/load_balancing/xds/xds_override_host.h +1 -1
- data/src/core/load_balancing/xds/xds_wrr_locality.cc +9 -8
- data/src/core/plugin_registry/grpc_plugin_registry.cc +20 -3
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -1
- data/src/core/resolver/binder/binder_resolver.cc +9 -2
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +8 -7
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +2 -2
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +3 -3
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +1 -1
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +2 -2
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h +3 -1
- data/src/core/resolver/dns/native/dns_resolver.cc +3 -3
- data/src/core/resolver/endpoint_addresses.h +4 -4
- data/src/core/resolver/fake/fake_resolver.cc +2 -2
- data/src/core/resolver/fake/fake_resolver.h +1 -1
- data/src/core/resolver/google_c2p/google_c2p_resolver.cc +9 -4
- data/src/core/resolver/resolver_registry.h +2 -2
- data/src/core/resolver/sockaddr/sockaddr_resolver.cc +6 -6
- data/src/core/resolver/xds/xds_dependency_manager.cc +14 -9
- data/src/core/resolver/xds/xds_dependency_manager.h +5 -5
- data/src/core/resolver/xds/xds_resolver.cc +17 -16
- data/src/core/resolver/xds/xds_resolver_attributes.h +1 -1
- data/src/core/{client_channel → service_config}/service_config_channel_arg_filter.cc +1 -1
- data/src/core/service_config/service_config_parser.h +1 -1
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +6 -4
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +1 -0
- data/src/core/tsi/ssl/key_logging/ssl_key_logging.cc +1 -1
- data/src/core/tsi/ssl_transport_security.cc +198 -70
- data/src/core/tsi/ssl_transport_security_utils.cc +127 -0
- data/src/core/tsi/ssl_transport_security_utils.h +27 -0
- data/src/ruby/ext/grpc/extconf.rb +0 -3
- data/src/ruby/ext/grpc/rb_grpc.c +1 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +0 -2
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +0 -3
- data/src/ruby/lib/grpc/generic/active_call.rb +8 -2
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/spec/generic/rpc_server_spec.rb +25 -0
- data/third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc +320 -0
- data/third_party/abseil-cpp/absl/debugging/internal/examine_stack.h +64 -0
- data/third_party/abseil-cpp/absl/log/absl_vlog_is_on.h +93 -0
- data/third_party/abseil-cpp/absl/log/globals.cc +178 -0
- data/third_party/abseil-cpp/absl/log/globals.h +218 -0
- data/third_party/abseil-cpp/absl/log/internal/append_truncated.h +47 -0
- data/third_party/abseil-cpp/absl/log/internal/conditions.cc +83 -0
- data/third_party/abseil-cpp/absl/log/internal/conditions.h +239 -0
- data/third_party/abseil-cpp/absl/log/internal/config.h +45 -0
- data/third_party/abseil-cpp/absl/log/internal/fnmatch.cc +73 -0
- data/third_party/abseil-cpp/absl/log/internal/fnmatch.h +35 -0
- data/third_party/abseil-cpp/absl/log/internal/globals.cc +145 -0
- data/third_party/abseil-cpp/absl/log/internal/globals.h +101 -0
- data/third_party/abseil-cpp/absl/log/internal/log_format.cc +205 -0
- data/third_party/abseil-cpp/absl/log/internal/log_format.h +78 -0
- data/third_party/abseil-cpp/absl/log/internal/log_impl.h +282 -0
- data/third_party/abseil-cpp/absl/log/internal/log_message.cc +633 -0
- data/third_party/abseil-cpp/absl/log/internal/log_message.h +375 -0
- data/third_party/abseil-cpp/absl/log/internal/log_sink_set.cc +296 -0
- data/third_party/abseil-cpp/absl/log/internal/log_sink_set.h +54 -0
- data/third_party/abseil-cpp/absl/log/internal/nullguard.cc +35 -0
- data/third_party/abseil-cpp/absl/log/internal/nullguard.h +88 -0
- data/third_party/abseil-cpp/absl/log/internal/nullstream.h +136 -0
- data/third_party/abseil-cpp/absl/log/internal/proto.cc +220 -0
- data/third_party/abseil-cpp/absl/log/internal/proto.h +288 -0
- data/third_party/abseil-cpp/absl/log/internal/strip.h +72 -0
- data/third_party/abseil-cpp/absl/log/internal/vlog_config.cc +340 -0
- data/third_party/abseil-cpp/absl/log/internal/vlog_config.h +163 -0
- data/third_party/abseil-cpp/absl/log/internal/voidify.h +44 -0
- data/third_party/abseil-cpp/absl/log/log.h +361 -0
- data/third_party/abseil-cpp/absl/log/log_entry.cc +41 -0
- data/third_party/abseil-cpp/absl/log/log_entry.h +221 -0
- data/third_party/abseil-cpp/absl/log/log_sink.cc +23 -0
- data/third_party/abseil-cpp/absl/log/log_sink.h +64 -0
- data/third_party/abseil-cpp/absl/log/log_sink_registry.h +61 -0
- data/third_party/abseil-cpp/absl/log/vlog_is_on.h +72 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/internal.h +1 -7
- data/third_party/boringssl-with-bazel/src/crypto/asn1/posix_time.c +50 -39
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_des.c +15 -28
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/internal.h +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/des/des.c +45 -32
- data/third_party/boringssl-with-bazel/src/crypto/des/internal.h +24 -0
- data/third_party/boringssl-with-bazel/src/crypto/internal.h +12 -4
- data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +4 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_purp.c +40 -61
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +24 -7
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +36 -59
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +4 -4
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +13 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/asn1.h +10 -10
- data/third_party/boringssl-with-bazel/src/include/openssl/base.h +2 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +3 -3
- data/third_party/boringssl-with-bazel/src/include/openssl/pki/certificate.h +83 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/pki/signature_verify_cache.h +41 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/posix_time.h +6 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/rsa.h +19 -10
- data/third_party/boringssl-with-bazel/src/include/openssl/span.h +14 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +16 -4
- data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +196 -141
- data/third_party/boringssl-with-bazel/src/ssl/ssl_cert.cc +8 -1
- data/third_party/upb/upb/base/descriptor_constants.h +29 -2
- data/third_party/upb/upb/{wire/internal/swap.h → base/internal/endian.h} +12 -11
- data/third_party/upb/upb/base/status.h +1 -1
- data/third_party/upb/upb/base/status.hpp +5 -1
- data/third_party/upb/upb/base/string_view.h +7 -5
- data/third_party/upb/upb/base/upcast.h +29 -0
- data/third_party/upb/upb/generated_code_support.h +2 -1
- data/third_party/upb/upb/json/decode.c +103 -53
- data/third_party/upb/upb/json/decode.h +3 -26
- data/third_party/upb/upb/json/encode.c +3 -26
- data/third_party/upb/upb/json/encode.h +3 -26
- data/third_party/upb/upb/mem/arena.c +233 -106
- data/third_party/upb/upb/mem/arena.h +14 -66
- data/third_party/upb/upb/mem/arena.hpp +8 -4
- data/third_party/upb/upb/mem/internal/arena.h +76 -58
- data/third_party/upb/upb/message/accessors.c +19 -46
- data/third_party/upb/upb/message/accessors.h +208 -123
- data/third_party/upb/upb/message/array.c +55 -83
- data/third_party/upb/upb/message/array.h +18 -30
- data/third_party/upb/upb/message/compat.c +39 -0
- data/third_party/upb/upb/message/compat.h +41 -0
- data/third_party/upb/upb/message/copy.c +322 -0
- data/third_party/upb/upb/message/copy.h +56 -0
- data/third_party/upb/upb/message/internal/accessors.h +178 -178
- data/third_party/upb/upb/message/internal/array.h +80 -81
- data/third_party/upb/upb/message/internal/extension.c +63 -0
- data/third_party/upb/upb/message/internal/extension.h +12 -12
- data/third_party/upb/upb/message/internal/map.h +28 -41
- data/third_party/upb/upb/message/internal/map_entry.h +14 -39
- data/third_party/upb/upb/message/internal/map_sorter.h +18 -37
- data/third_party/upb/upb/message/internal/message.c +59 -0
- data/third_party/upb/upb/message/internal/message.h +26 -42
- data/third_party/upb/upb/message/internal/tagged_ptr.h +56 -0
- data/third_party/upb/upb/message/internal/types.h +7 -12
- data/third_party/upb/upb/message/map.c +3 -26
- data/third_party/upb/upb/message/map.h +5 -33
- data/third_party/upb/upb/message/map_gencode_util.h +3 -26
- data/third_party/upb/upb/message/map_sorter.c +22 -34
- data/third_party/upb/upb/message/message.c +28 -104
- data/third_party/upb/upb/message/message.h +4 -8
- data/third_party/upb/upb/message/tagged_ptr.h +14 -31
- data/third_party/upb/upb/message/value.h +3 -5
- data/third_party/upb/upb/mini_descriptor/build_enum.c +20 -11
- data/third_party/upb/upb/mini_descriptor/decode.c +127 -107
- data/third_party/upb/upb/mini_descriptor/decode.h +3 -8
- data/third_party/upb/upb/mini_descriptor/link.c +34 -22
- data/third_party/upb/upb/mini_descriptor/link.h +1 -1
- data/third_party/upb/upb/mini_table/enum.h +4 -6
- data/third_party/upb/upb/mini_table/extension.h +37 -0
- data/third_party/upb/upb/mini_table/extension_registry.c +9 -2
- data/third_party/upb/upb/mini_table/field.h +46 -60
- data/third_party/upb/upb/mini_table/file.h +44 -0
- data/third_party/upb/upb/mini_table/internal/enum.h +19 -20
- data/third_party/upb/upb/mini_table/internal/extension.h +34 -3
- data/third_party/upb/upb/mini_table/internal/field.h +136 -27
- data/third_party/upb/upb/mini_table/internal/file.h +47 -10
- data/third_party/upb/upb/mini_table/internal/message.c +17 -9
- data/third_party/upb/upb/mini_table/internal/message.h +94 -23
- data/third_party/upb/upb/mini_table/internal/size_log2.h +77 -0
- data/third_party/upb/upb/mini_table/internal/sub.h +39 -4
- data/third_party/upb/upb/mini_table/message.c +18 -19
- data/third_party/upb/upb/mini_table/message.h +29 -20
- data/third_party/upb/upb/mini_table/sub.h +40 -1
- data/third_party/upb/upb/port/def.inc +18 -0
- data/third_party/upb/upb/port/undef.inc +3 -0
- data/third_party/upb/upb/reflection/def.hpp +8 -4
- data/third_party/upb/upb/reflection/def_pool.c +81 -2
- data/third_party/upb/upb/reflection/def_pool.h +8 -0
- data/third_party/upb/upb/reflection/enum_def.c +42 -19
- data/third_party/upb/upb/reflection/enum_def.h +1 -0
- data/third_party/upb/upb/reflection/enum_value_def.c +43 -14
- data/third_party/upb/upb/reflection/enum_value_def.h +2 -0
- data/third_party/upb/upb/reflection/extension_range.c +13 -5
- data/third_party/upb/upb/reflection/extension_range.h +2 -0
- data/third_party/upb/upb/reflection/field_def.c +177 -130
- data/third_party/upb/upb/reflection/field_def.h +10 -1
- data/third_party/upb/upb/reflection/file_def.c +98 -9
- data/third_party/upb/upb/reflection/file_def.h +3 -0
- data/third_party/upb/upb/reflection/internal/def_builder.c +85 -7
- data/third_party/upb/upb/reflection/internal/def_builder.h +23 -0
- data/third_party/upb/upb/reflection/internal/enum_def.h +5 -4
- data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +1 -1
- data/third_party/upb/upb/reflection/internal/enum_value_def.h +2 -1
- data/third_party/upb/upb/reflection/internal/extension_range.h +2 -2
- data/third_party/upb/upb/reflection/internal/field_def.h +11 -10
- data/third_party/upb/upb/reflection/internal/message_def.h +6 -3
- data/third_party/upb/upb/reflection/internal/method_def.h +5 -3
- data/third_party/upb/upb/reflection/internal/oneof_def.h +5 -3
- data/third_party/upb/upb/reflection/internal/service_def.h +5 -3
- data/third_party/upb/upb/reflection/internal/upb_edition_defaults.h +20 -0
- data/third_party/upb/upb/reflection/message.c +27 -12
- data/third_party/upb/upb/reflection/message.h +5 -5
- data/third_party/upb/upb/reflection/message_def.c +56 -27
- data/third_party/upb/upb/reflection/message_def.h +2 -0
- data/third_party/upb/upb/reflection/method_def.c +20 -9
- data/third_party/upb/upb/reflection/method_def.h +2 -0
- data/third_party/upb/upb/reflection/oneof_def.c +20 -11
- data/third_party/upb/upb/reflection/oneof_def.h +3 -1
- data/third_party/upb/upb/reflection/service_def.c +25 -13
- data/third_party/upb/upb/reflection/service_def.h +2 -0
- data/third_party/upb/upb/text/encode.c +126 -36
- data/third_party/upb/upb/wire/decode.c +214 -196
- data/third_party/upb/upb/wire/decode.h +10 -0
- data/third_party/upb/upb/wire/encode.c +105 -91
- data/third_party/upb/upb/wire/encode.h +4 -3
- data/third_party/upb/upb/wire/{decode_fast.c → internal/decode_fast.c} +53 -48
- data/third_party/upb/upb/wire/{decode_fast.h → internal/decode_fast.h} +6 -5
- data/third_party/upb/upb/wire/internal/{decode.h → decoder.h} +15 -31
- data/third_party/upb/upb/wire/internal/reader.h +61 -0
- data/third_party/upb/upb/wire/reader.c +9 -6
- data/third_party/upb/upb/wire/reader.h +18 -47
- data/third_party/utf8_range/utf8_range.c +467 -0
- data/third_party/utf8_range/utf8_range.h +9 -8
- metadata +83 -30
- data/src/core/client_channel/channel_connectivity.cc +0 -265
- data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +0 -318
- data/src/core/ext/filters/channel_idle/channel_idle_filter.h +0 -150
- data/src/core/ext/filters/http/message_compress/legacy_compression_filter.cc +0 -325
- data/src/core/ext/filters/http/message_compress/legacy_compression_filter.h +0 -139
- data/src/core/lib/gpr/wrap_memcpy.cc +0 -43
- data/src/core/lib/security/transport/legacy_server_auth_filter.cc +0 -244
- data/src/core/lib/slice/b64.cc +0 -239
- data/src/core/lib/slice/b64.h +0 -52
- data/src/core/lib/surface/call_trace.cc +0 -163
- data/src/core/lib/surface/channel_ping.cc +0 -69
- data/src/core/lib/transport/call_factory.cc +0 -41
- data/src/core/lib/transport/call_factory.h +0 -56
- data/src/core/load_balancing/subchannel_list.h +0 -455
- data/third_party/upb/upb/message/types.h +0 -15
- data/third_party/utf8_range/naive.c +0 -92
- data/third_party/utf8_range/range2-neon.c +0 -157
- data/third_party/utf8_range/range2-sse.c +0 -170
@@ -27,20 +27,20 @@
|
|
27
27
|
extern "C" {
|
28
28
|
#endif
|
29
29
|
|
30
|
-
typedef struct envoy_service_discovery_v3_ResourceLocator envoy_service_discovery_v3_ResourceLocator;
|
31
|
-
typedef struct envoy_service_discovery_v3_ResourceLocator_DynamicParametersEntry envoy_service_discovery_v3_ResourceLocator_DynamicParametersEntry;
|
32
|
-
typedef struct envoy_service_discovery_v3_ResourceName envoy_service_discovery_v3_ResourceName;
|
33
|
-
typedef struct envoy_service_discovery_v3_DiscoveryRequest envoy_service_discovery_v3_DiscoveryRequest;
|
34
|
-
typedef struct envoy_service_discovery_v3_DiscoveryResponse envoy_service_discovery_v3_DiscoveryResponse;
|
35
|
-
typedef struct envoy_service_discovery_v3_DeltaDiscoveryRequest envoy_service_discovery_v3_DeltaDiscoveryRequest;
|
36
|
-
typedef struct envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry;
|
37
|
-
typedef struct envoy_service_discovery_v3_DeltaDiscoveryResponse envoy_service_discovery_v3_DeltaDiscoveryResponse;
|
38
|
-
typedef struct envoy_service_discovery_v3_DynamicParameterConstraints envoy_service_discovery_v3_DynamicParameterConstraints;
|
39
|
-
typedef struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint;
|
40
|
-
typedef struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists;
|
41
|
-
typedef struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList;
|
42
|
-
typedef struct envoy_service_discovery_v3_Resource envoy_service_discovery_v3_Resource;
|
43
|
-
typedef struct envoy_service_discovery_v3_Resource_CacheControl envoy_service_discovery_v3_Resource_CacheControl;
|
30
|
+
typedef struct envoy_service_discovery_v3_ResourceLocator { upb_Message UPB_PRIVATE(base); } envoy_service_discovery_v3_ResourceLocator;
|
31
|
+
typedef struct envoy_service_discovery_v3_ResourceLocator_DynamicParametersEntry { upb_Message UPB_PRIVATE(base); } envoy_service_discovery_v3_ResourceLocator_DynamicParametersEntry;
|
32
|
+
typedef struct envoy_service_discovery_v3_ResourceName { upb_Message UPB_PRIVATE(base); } envoy_service_discovery_v3_ResourceName;
|
33
|
+
typedef struct envoy_service_discovery_v3_DiscoveryRequest { upb_Message UPB_PRIVATE(base); } envoy_service_discovery_v3_DiscoveryRequest;
|
34
|
+
typedef struct envoy_service_discovery_v3_DiscoveryResponse { upb_Message UPB_PRIVATE(base); } envoy_service_discovery_v3_DiscoveryResponse;
|
35
|
+
typedef struct envoy_service_discovery_v3_DeltaDiscoveryRequest { upb_Message UPB_PRIVATE(base); } envoy_service_discovery_v3_DeltaDiscoveryRequest;
|
36
|
+
typedef struct envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry { upb_Message UPB_PRIVATE(base); } envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry;
|
37
|
+
typedef struct envoy_service_discovery_v3_DeltaDiscoveryResponse { upb_Message UPB_PRIVATE(base); } envoy_service_discovery_v3_DeltaDiscoveryResponse;
|
38
|
+
typedef struct envoy_service_discovery_v3_DynamicParameterConstraints { upb_Message UPB_PRIVATE(base); } envoy_service_discovery_v3_DynamicParameterConstraints;
|
39
|
+
typedef struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint { upb_Message UPB_PRIVATE(base); } envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint;
|
40
|
+
typedef struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists { upb_Message UPB_PRIVATE(base); } envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists;
|
41
|
+
typedef struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList { upb_Message UPB_PRIVATE(base); } envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList;
|
42
|
+
typedef struct envoy_service_discovery_v3_Resource { upb_Message UPB_PRIVATE(base); } envoy_service_discovery_v3_Resource;
|
43
|
+
typedef struct envoy_service_discovery_v3_Resource_CacheControl { upb_Message UPB_PRIVATE(base); } envoy_service_discovery_v3_Resource_CacheControl;
|
44
44
|
struct envoy_config_core_v3_ControlPlane;
|
45
45
|
struct envoy_config_core_v3_Metadata;
|
46
46
|
struct envoy_config_core_v3_Node;
|
@@ -58,7 +58,8 @@ UPB_INLINE envoy_service_discovery_v3_ResourceLocator* envoy_service_discovery_v
|
|
58
58
|
UPB_INLINE envoy_service_discovery_v3_ResourceLocator* envoy_service_discovery_v3_ResourceLocator_parse(const char* buf, size_t size, upb_Arena* arena) {
|
59
59
|
envoy_service_discovery_v3_ResourceLocator* ret = envoy_service_discovery_v3_ResourceLocator_new(arena);
|
60
60
|
if (!ret) return NULL;
|
61
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__ResourceLocator_msg_init, NULL, 0, arena) !=
|
61
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__ResourceLocator_msg_init, NULL, 0, arena) !=
|
62
|
+
kUpb_DecodeStatus_Ok) {
|
62
63
|
return NULL;
|
63
64
|
}
|
64
65
|
return ret;
|
@@ -68,81 +69,91 @@ UPB_INLINE envoy_service_discovery_v3_ResourceLocator* envoy_service_discovery_v
|
|
68
69
|
int options, upb_Arena* arena) {
|
69
70
|
envoy_service_discovery_v3_ResourceLocator* ret = envoy_service_discovery_v3_ResourceLocator_new(arena);
|
70
71
|
if (!ret) return NULL;
|
71
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__ResourceLocator_msg_init, extreg, options,
|
72
|
-
|
72
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__ResourceLocator_msg_init, extreg, options,
|
73
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
73
74
|
return NULL;
|
74
75
|
}
|
75
76
|
return ret;
|
76
77
|
}
|
77
78
|
UPB_INLINE char* envoy_service_discovery_v3_ResourceLocator_serialize(const envoy_service_discovery_v3_ResourceLocator* msg, upb_Arena* arena, size_t* len) {
|
78
79
|
char* ptr;
|
79
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__ResourceLocator_msg_init, 0, arena, &ptr, len);
|
80
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__ResourceLocator_msg_init, 0, arena, &ptr, len);
|
80
81
|
return ptr;
|
81
82
|
}
|
82
83
|
UPB_INLINE char* envoy_service_discovery_v3_ResourceLocator_serialize_ex(const envoy_service_discovery_v3_ResourceLocator* msg, int options,
|
83
84
|
upb_Arena* arena, size_t* len) {
|
84
85
|
char* ptr;
|
85
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__ResourceLocator_msg_init, options, arena, &ptr, len);
|
86
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__ResourceLocator_msg_init, options, arena, &ptr, len);
|
86
87
|
return ptr;
|
87
88
|
}
|
88
89
|
UPB_INLINE void envoy_service_discovery_v3_ResourceLocator_clear_name(envoy_service_discovery_v3_ResourceLocator* msg) {
|
89
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
90
|
-
|
90
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
91
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
91
92
|
}
|
92
93
|
UPB_INLINE upb_StringView envoy_service_discovery_v3_ResourceLocator_name(const envoy_service_discovery_v3_ResourceLocator* msg) {
|
93
94
|
upb_StringView default_val = upb_StringView_FromString("");
|
94
95
|
upb_StringView ret;
|
95
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
96
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
96
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
97
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
98
|
+
&default_val, &ret);
|
97
99
|
return ret;
|
98
100
|
}
|
99
101
|
UPB_INLINE void envoy_service_discovery_v3_ResourceLocator_clear_dynamic_parameters(envoy_service_discovery_v3_ResourceLocator* msg) {
|
100
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
101
|
-
|
102
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
103
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
102
104
|
}
|
103
105
|
UPB_INLINE size_t envoy_service_discovery_v3_ResourceLocator_dynamic_parameters_size(const envoy_service_discovery_v3_ResourceLocator* msg) {
|
104
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
105
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
106
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
107
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
106
108
|
return map ? _upb_Map_Size(map) : 0;
|
107
109
|
}
|
108
110
|
UPB_INLINE bool envoy_service_discovery_v3_ResourceLocator_dynamic_parameters_get(const envoy_service_discovery_v3_ResourceLocator* msg, upb_StringView key, upb_StringView* val) {
|
109
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
110
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
111
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
112
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
111
113
|
if (!map) return false;
|
112
114
|
return _upb_Map_Get(map, &key, 0, val, 0);
|
113
115
|
}
|
114
116
|
UPB_INLINE const envoy_service_discovery_v3_ResourceLocator_DynamicParametersEntry* envoy_service_discovery_v3_ResourceLocator_dynamic_parameters_next(const envoy_service_discovery_v3_ResourceLocator* msg, size_t* iter) {
|
115
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
116
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
117
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
118
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
117
119
|
if (!map) return NULL;
|
118
120
|
return (const envoy_service_discovery_v3_ResourceLocator_DynamicParametersEntry*)_upb_map_next(map, iter);
|
119
121
|
}
|
122
|
+
UPB_INLINE const upb_Map* _envoy_service_discovery_v3_ResourceLocator_dynamic_parameters_upb_map(envoy_service_discovery_v3_ResourceLocator* msg) {
|
123
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
124
|
+
return upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
125
|
+
}
|
126
|
+
UPB_INLINE upb_Map* _envoy_service_discovery_v3_ResourceLocator_dynamic_parameters_mutable_upb_map(envoy_service_discovery_v3_ResourceLocator* msg, upb_Arena* a) {
|
127
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
128
|
+
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field, 0, 0, a);
|
129
|
+
}
|
120
130
|
|
121
131
|
UPB_INLINE void envoy_service_discovery_v3_ResourceLocator_set_name(envoy_service_discovery_v3_ResourceLocator *msg, upb_StringView value) {
|
122
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
123
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
132
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
133
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
124
134
|
}
|
125
135
|
UPB_INLINE void envoy_service_discovery_v3_ResourceLocator_dynamic_parameters_clear(envoy_service_discovery_v3_ResourceLocator* msg) {
|
126
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
127
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
136
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
137
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
128
138
|
if (!map) return;
|
129
139
|
_upb_Map_Clear(map);
|
130
140
|
}
|
131
141
|
UPB_INLINE bool envoy_service_discovery_v3_ResourceLocator_dynamic_parameters_set(envoy_service_discovery_v3_ResourceLocator* msg, upb_StringView key, upb_StringView val, upb_Arena* a) {
|
132
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
133
|
-
upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg,
|
142
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
143
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg),
|
144
|
+
&field, 0, 0, a);
|
134
145
|
return _upb_Map_Insert(map, &key, 0, &val, 0, a) !=
|
135
146
|
kUpb_MapInsertStatus_OutOfMemory;
|
136
147
|
}
|
137
148
|
UPB_INLINE bool envoy_service_discovery_v3_ResourceLocator_dynamic_parameters_delete(envoy_service_discovery_v3_ResourceLocator* msg, upb_StringView key) {
|
138
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
139
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
149
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
150
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
140
151
|
if (!map) return false;
|
141
152
|
return _upb_Map_Delete(map, &key, 0, NULL);
|
142
153
|
}
|
143
154
|
UPB_INLINE envoy_service_discovery_v3_ResourceLocator_DynamicParametersEntry* envoy_service_discovery_v3_ResourceLocator_dynamic_parameters_nextmutable(envoy_service_discovery_v3_ResourceLocator* msg, size_t* iter) {
|
144
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
145
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
155
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
156
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
146
157
|
if (!map) return NULL;
|
147
158
|
return (envoy_service_discovery_v3_ResourceLocator_DynamicParametersEntry*)_upb_map_next(map, iter);
|
148
159
|
}
|
@@ -172,7 +183,8 @@ UPB_INLINE envoy_service_discovery_v3_ResourceName* envoy_service_discovery_v3_R
|
|
172
183
|
UPB_INLINE envoy_service_discovery_v3_ResourceName* envoy_service_discovery_v3_ResourceName_parse(const char* buf, size_t size, upb_Arena* arena) {
|
173
184
|
envoy_service_discovery_v3_ResourceName* ret = envoy_service_discovery_v3_ResourceName_new(arena);
|
174
185
|
if (!ret) return NULL;
|
175
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__ResourceName_msg_init, NULL, 0, arena) !=
|
186
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__ResourceName_msg_init, NULL, 0, arena) !=
|
187
|
+
kUpb_DecodeStatus_Ok) {
|
176
188
|
return NULL;
|
177
189
|
}
|
178
190
|
return ret;
|
@@ -182,57 +194,59 @@ UPB_INLINE envoy_service_discovery_v3_ResourceName* envoy_service_discovery_v3_R
|
|
182
194
|
int options, upb_Arena* arena) {
|
183
195
|
envoy_service_discovery_v3_ResourceName* ret = envoy_service_discovery_v3_ResourceName_new(arena);
|
184
196
|
if (!ret) return NULL;
|
185
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__ResourceName_msg_init, extreg, options,
|
186
|
-
|
197
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__ResourceName_msg_init, extreg, options,
|
198
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
187
199
|
return NULL;
|
188
200
|
}
|
189
201
|
return ret;
|
190
202
|
}
|
191
203
|
UPB_INLINE char* envoy_service_discovery_v3_ResourceName_serialize(const envoy_service_discovery_v3_ResourceName* msg, upb_Arena* arena, size_t* len) {
|
192
204
|
char* ptr;
|
193
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__ResourceName_msg_init, 0, arena, &ptr, len);
|
205
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__ResourceName_msg_init, 0, arena, &ptr, len);
|
194
206
|
return ptr;
|
195
207
|
}
|
196
208
|
UPB_INLINE char* envoy_service_discovery_v3_ResourceName_serialize_ex(const envoy_service_discovery_v3_ResourceName* msg, int options,
|
197
209
|
upb_Arena* arena, size_t* len) {
|
198
210
|
char* ptr;
|
199
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__ResourceName_msg_init, options, arena, &ptr, len);
|
211
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__ResourceName_msg_init, options, arena, &ptr, len);
|
200
212
|
return ptr;
|
201
213
|
}
|
202
214
|
UPB_INLINE void envoy_service_discovery_v3_ResourceName_clear_name(envoy_service_discovery_v3_ResourceName* msg) {
|
203
|
-
const upb_MiniTableField field = {1,
|
204
|
-
|
215
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
216
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
205
217
|
}
|
206
218
|
UPB_INLINE upb_StringView envoy_service_discovery_v3_ResourceName_name(const envoy_service_discovery_v3_ResourceName* msg) {
|
207
219
|
upb_StringView default_val = upb_StringView_FromString("");
|
208
220
|
upb_StringView ret;
|
209
|
-
const upb_MiniTableField field = {1,
|
210
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
221
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
222
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
223
|
+
&default_val, &ret);
|
211
224
|
return ret;
|
212
225
|
}
|
213
226
|
UPB_INLINE void envoy_service_discovery_v3_ResourceName_clear_dynamic_parameter_constraints(envoy_service_discovery_v3_ResourceName* msg) {
|
214
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
215
|
-
|
227
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
228
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
216
229
|
}
|
217
230
|
UPB_INLINE const envoy_service_discovery_v3_DynamicParameterConstraints* envoy_service_discovery_v3_ResourceName_dynamic_parameter_constraints(const envoy_service_discovery_v3_ResourceName* msg) {
|
218
231
|
const envoy_service_discovery_v3_DynamicParameterConstraints* default_val = NULL;
|
219
232
|
const envoy_service_discovery_v3_DynamicParameterConstraints* ret;
|
220
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
221
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
233
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
234
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
235
|
+
&default_val, &ret);
|
222
236
|
return ret;
|
223
237
|
}
|
224
238
|
UPB_INLINE bool envoy_service_discovery_v3_ResourceName_has_dynamic_parameter_constraints(const envoy_service_discovery_v3_ResourceName* msg) {
|
225
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
226
|
-
return
|
239
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
240
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
227
241
|
}
|
228
242
|
|
229
243
|
UPB_INLINE void envoy_service_discovery_v3_ResourceName_set_name(envoy_service_discovery_v3_ResourceName *msg, upb_StringView value) {
|
230
|
-
const upb_MiniTableField field = {1,
|
231
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
244
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
245
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
232
246
|
}
|
233
247
|
UPB_INLINE void envoy_service_discovery_v3_ResourceName_set_dynamic_parameter_constraints(envoy_service_discovery_v3_ResourceName *msg, envoy_service_discovery_v3_DynamicParameterConstraints* value) {
|
234
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
235
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
248
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
249
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
236
250
|
}
|
237
251
|
UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints* envoy_service_discovery_v3_ResourceName_mutable_dynamic_parameter_constraints(envoy_service_discovery_v3_ResourceName* msg, upb_Arena* arena) {
|
238
252
|
struct envoy_service_discovery_v3_DynamicParameterConstraints* sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints*)envoy_service_discovery_v3_ResourceName_dynamic_parameter_constraints(msg);
|
@@ -251,7 +265,8 @@ UPB_INLINE envoy_service_discovery_v3_DiscoveryRequest* envoy_service_discovery_
|
|
251
265
|
UPB_INLINE envoy_service_discovery_v3_DiscoveryRequest* envoy_service_discovery_v3_DiscoveryRequest_parse(const char* buf, size_t size, upb_Arena* arena) {
|
252
266
|
envoy_service_discovery_v3_DiscoveryRequest* ret = envoy_service_discovery_v3_DiscoveryRequest_new(arena);
|
253
267
|
if (!ret) return NULL;
|
254
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DiscoveryRequest_msg_init, NULL, 0, arena) !=
|
268
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__DiscoveryRequest_msg_init, NULL, 0, arena) !=
|
269
|
+
kUpb_DecodeStatus_Ok) {
|
255
270
|
return NULL;
|
256
271
|
}
|
257
272
|
return ret;
|
@@ -261,168 +276,163 @@ UPB_INLINE envoy_service_discovery_v3_DiscoveryRequest* envoy_service_discovery_
|
|
261
276
|
int options, upb_Arena* arena) {
|
262
277
|
envoy_service_discovery_v3_DiscoveryRequest* ret = envoy_service_discovery_v3_DiscoveryRequest_new(arena);
|
263
278
|
if (!ret) return NULL;
|
264
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DiscoveryRequest_msg_init, extreg, options,
|
265
|
-
|
279
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__DiscoveryRequest_msg_init, extreg, options,
|
280
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
266
281
|
return NULL;
|
267
282
|
}
|
268
283
|
return ret;
|
269
284
|
}
|
270
285
|
UPB_INLINE char* envoy_service_discovery_v3_DiscoveryRequest_serialize(const envoy_service_discovery_v3_DiscoveryRequest* msg, upb_Arena* arena, size_t* len) {
|
271
286
|
char* ptr;
|
272
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__DiscoveryRequest_msg_init, 0, arena, &ptr, len);
|
287
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__DiscoveryRequest_msg_init, 0, arena, &ptr, len);
|
273
288
|
return ptr;
|
274
289
|
}
|
275
290
|
UPB_INLINE char* envoy_service_discovery_v3_DiscoveryRequest_serialize_ex(const envoy_service_discovery_v3_DiscoveryRequest* msg, int options,
|
276
291
|
upb_Arena* arena, size_t* len) {
|
277
292
|
char* ptr;
|
278
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__DiscoveryRequest_msg_init, options, arena, &ptr, len);
|
293
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__DiscoveryRequest_msg_init, options, arena, &ptr, len);
|
279
294
|
return ptr;
|
280
295
|
}
|
281
296
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryRequest_clear_version_info(envoy_service_discovery_v3_DiscoveryRequest* msg) {
|
282
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
283
|
-
|
297
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
298
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
284
299
|
}
|
285
300
|
UPB_INLINE upb_StringView envoy_service_discovery_v3_DiscoveryRequest_version_info(const envoy_service_discovery_v3_DiscoveryRequest* msg) {
|
286
301
|
upb_StringView default_val = upb_StringView_FromString("");
|
287
302
|
upb_StringView ret;
|
288
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
289
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
303
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
304
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
305
|
+
&default_val, &ret);
|
290
306
|
return ret;
|
291
307
|
}
|
292
308
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryRequest_clear_node(envoy_service_discovery_v3_DiscoveryRequest* msg) {
|
293
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
294
|
-
|
309
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
310
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
295
311
|
}
|
296
312
|
UPB_INLINE const struct envoy_config_core_v3_Node* envoy_service_discovery_v3_DiscoveryRequest_node(const envoy_service_discovery_v3_DiscoveryRequest* msg) {
|
297
313
|
const struct envoy_config_core_v3_Node* default_val = NULL;
|
298
314
|
const struct envoy_config_core_v3_Node* ret;
|
299
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
300
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
315
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
316
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
317
|
+
&default_val, &ret);
|
301
318
|
return ret;
|
302
319
|
}
|
303
320
|
UPB_INLINE bool envoy_service_discovery_v3_DiscoveryRequest_has_node(const envoy_service_discovery_v3_DiscoveryRequest* msg) {
|
304
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
305
|
-
return
|
321
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
322
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
306
323
|
}
|
307
324
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryRequest_clear_resource_names(envoy_service_discovery_v3_DiscoveryRequest* msg) {
|
308
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
309
|
-
|
325
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
326
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
310
327
|
}
|
311
328
|
UPB_INLINE upb_StringView const* envoy_service_discovery_v3_DiscoveryRequest_resource_names(const envoy_service_discovery_v3_DiscoveryRequest* msg, size_t* size) {
|
312
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
313
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
329
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
330
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
314
331
|
if (arr) {
|
315
|
-
if (size) *size = arr->size;
|
316
|
-
return (upb_StringView const*)
|
332
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
333
|
+
return (upb_StringView const*)upb_Array_DataPtr(arr);
|
317
334
|
} else {
|
318
335
|
if (size) *size = 0;
|
319
336
|
return NULL;
|
320
337
|
}
|
321
338
|
}
|
322
339
|
UPB_INLINE const upb_Array* _envoy_service_discovery_v3_DiscoveryRequest_resource_names_upb_array(const envoy_service_discovery_v3_DiscoveryRequest* msg, size_t* size) {
|
323
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
324
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
340
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
341
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
325
342
|
if (size) {
|
326
|
-
*size = arr ? arr->size : 0;
|
343
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
327
344
|
}
|
328
345
|
return arr;
|
329
346
|
}
|
330
|
-
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DiscoveryRequest_resource_names_mutable_upb_array(
|
331
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
332
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
333
|
-
|
347
|
+
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DiscoveryRequest_resource_names_mutable_upb_array(envoy_service_discovery_v3_DiscoveryRequest* msg, size_t* size, upb_Arena* arena) {
|
348
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
349
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
350
|
+
&field, arena);
|
334
351
|
if (size) {
|
335
|
-
*size = arr ? arr->size : 0;
|
352
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
336
353
|
}
|
337
354
|
return arr;
|
338
355
|
}
|
339
|
-
UPB_INLINE bool envoy_service_discovery_v3_DiscoveryRequest_has_resource_names(const envoy_service_discovery_v3_DiscoveryRequest* msg) {
|
340
|
-
size_t size;
|
341
|
-
envoy_service_discovery_v3_DiscoveryRequest_resource_names(msg, &size);
|
342
|
-
return size != 0;
|
343
|
-
}
|
344
356
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryRequest_clear_type_url(envoy_service_discovery_v3_DiscoveryRequest* msg) {
|
345
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
346
|
-
|
357
|
+
const upb_MiniTableField field = {4, UPB_SIZE(36, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
358
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
347
359
|
}
|
348
360
|
UPB_INLINE upb_StringView envoy_service_discovery_v3_DiscoveryRequest_type_url(const envoy_service_discovery_v3_DiscoveryRequest* msg) {
|
349
361
|
upb_StringView default_val = upb_StringView_FromString("");
|
350
362
|
upb_StringView ret;
|
351
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
352
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
363
|
+
const upb_MiniTableField field = {4, UPB_SIZE(36, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
364
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
365
|
+
&default_val, &ret);
|
353
366
|
return ret;
|
354
367
|
}
|
355
368
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryRequest_clear_response_nonce(envoy_service_discovery_v3_DiscoveryRequest* msg) {
|
356
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
357
|
-
|
369
|
+
const upb_MiniTableField field = {5, UPB_SIZE(44, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
370
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
358
371
|
}
|
359
372
|
UPB_INLINE upb_StringView envoy_service_discovery_v3_DiscoveryRequest_response_nonce(const envoy_service_discovery_v3_DiscoveryRequest* msg) {
|
360
373
|
upb_StringView default_val = upb_StringView_FromString("");
|
361
374
|
upb_StringView ret;
|
362
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
363
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
375
|
+
const upb_MiniTableField field = {5, UPB_SIZE(44, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
376
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
377
|
+
&default_val, &ret);
|
364
378
|
return ret;
|
365
379
|
}
|
366
380
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryRequest_clear_error_detail(envoy_service_discovery_v3_DiscoveryRequest* msg) {
|
367
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
368
|
-
|
381
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 80), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
382
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
369
383
|
}
|
370
384
|
UPB_INLINE const struct google_rpc_Status* envoy_service_discovery_v3_DiscoveryRequest_error_detail(const envoy_service_discovery_v3_DiscoveryRequest* msg) {
|
371
385
|
const struct google_rpc_Status* default_val = NULL;
|
372
386
|
const struct google_rpc_Status* ret;
|
373
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
374
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
387
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 80), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
388
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
389
|
+
&default_val, &ret);
|
375
390
|
return ret;
|
376
391
|
}
|
377
392
|
UPB_INLINE bool envoy_service_discovery_v3_DiscoveryRequest_has_error_detail(const envoy_service_discovery_v3_DiscoveryRequest* msg) {
|
378
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
379
|
-
return
|
393
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 80), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
394
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
380
395
|
}
|
381
396
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryRequest_clear_resource_locators(envoy_service_discovery_v3_DiscoveryRequest* msg) {
|
382
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
383
|
-
|
397
|
+
const upb_MiniTableField field = {7, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
398
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
384
399
|
}
|
385
400
|
UPB_INLINE const envoy_service_discovery_v3_ResourceLocator* const* envoy_service_discovery_v3_DiscoveryRequest_resource_locators(const envoy_service_discovery_v3_DiscoveryRequest* msg, size_t* size) {
|
386
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
387
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
401
|
+
const upb_MiniTableField field = {7, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
402
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
388
403
|
if (arr) {
|
389
|
-
if (size) *size = arr->size;
|
390
|
-
return (const envoy_service_discovery_v3_ResourceLocator* const*)
|
404
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
405
|
+
return (const envoy_service_discovery_v3_ResourceLocator* const*)upb_Array_DataPtr(arr);
|
391
406
|
} else {
|
392
407
|
if (size) *size = 0;
|
393
408
|
return NULL;
|
394
409
|
}
|
395
410
|
}
|
396
411
|
UPB_INLINE const upb_Array* _envoy_service_discovery_v3_DiscoveryRequest_resource_locators_upb_array(const envoy_service_discovery_v3_DiscoveryRequest* msg, size_t* size) {
|
397
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
398
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
412
|
+
const upb_MiniTableField field = {7, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
413
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
399
414
|
if (size) {
|
400
|
-
*size = arr ? arr->size : 0;
|
415
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
401
416
|
}
|
402
417
|
return arr;
|
403
418
|
}
|
404
|
-
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DiscoveryRequest_resource_locators_mutable_upb_array(
|
405
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
406
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
407
|
-
|
419
|
+
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DiscoveryRequest_resource_locators_mutable_upb_array(envoy_service_discovery_v3_DiscoveryRequest* msg, size_t* size, upb_Arena* arena) {
|
420
|
+
const upb_MiniTableField field = {7, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
421
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
422
|
+
&field, arena);
|
408
423
|
if (size) {
|
409
|
-
*size = arr ? arr->size : 0;
|
424
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
410
425
|
}
|
411
426
|
return arr;
|
412
427
|
}
|
413
|
-
UPB_INLINE bool envoy_service_discovery_v3_DiscoveryRequest_has_resource_locators(const envoy_service_discovery_v3_DiscoveryRequest* msg) {
|
414
|
-
size_t size;
|
415
|
-
envoy_service_discovery_v3_DiscoveryRequest_resource_locators(msg, &size);
|
416
|
-
return size != 0;
|
417
|
-
}
|
418
428
|
|
419
429
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryRequest_set_version_info(envoy_service_discovery_v3_DiscoveryRequest *msg, upb_StringView value) {
|
420
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
421
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
430
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
431
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
422
432
|
}
|
423
433
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryRequest_set_node(envoy_service_discovery_v3_DiscoveryRequest *msg, struct envoy_config_core_v3_Node* value) {
|
424
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
425
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
434
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
435
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
426
436
|
}
|
427
437
|
UPB_INLINE struct envoy_config_core_v3_Node* envoy_service_discovery_v3_DiscoveryRequest_mutable_node(envoy_service_discovery_v3_DiscoveryRequest* msg, upb_Arena* arena) {
|
428
438
|
struct envoy_config_core_v3_Node* sub = (struct envoy_config_core_v3_Node*)envoy_service_discovery_v3_DiscoveryRequest_node(msg);
|
@@ -433,40 +443,44 @@ UPB_INLINE struct envoy_config_core_v3_Node* envoy_service_discovery_v3_Discover
|
|
433
443
|
return sub;
|
434
444
|
}
|
435
445
|
UPB_INLINE upb_StringView* envoy_service_discovery_v3_DiscoveryRequest_mutable_resource_names(envoy_service_discovery_v3_DiscoveryRequest* msg, size_t* size) {
|
436
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
437
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
446
|
+
upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
447
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
438
448
|
if (arr) {
|
439
|
-
if (size) *size = arr->size;
|
440
|
-
return (upb_StringView*)
|
449
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
450
|
+
return (upb_StringView*)upb_Array_MutableDataPtr(arr);
|
441
451
|
} else {
|
442
452
|
if (size) *size = 0;
|
443
453
|
return NULL;
|
444
454
|
}
|
445
455
|
}
|
446
456
|
UPB_INLINE upb_StringView* envoy_service_discovery_v3_DiscoveryRequest_resize_resource_names(envoy_service_discovery_v3_DiscoveryRequest* msg, size_t size, upb_Arena* arena) {
|
447
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
448
|
-
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg,
|
457
|
+
upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
458
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
459
|
+
&field, size, arena);
|
449
460
|
}
|
450
461
|
UPB_INLINE bool envoy_service_discovery_v3_DiscoveryRequest_add_resource_names(envoy_service_discovery_v3_DiscoveryRequest* msg, upb_StringView val, upb_Arena* arena) {
|
451
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
452
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
453
|
-
|
462
|
+
upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
463
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
464
|
+
UPB_UPCAST(msg), &field, arena);
|
465
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
466
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
454
467
|
return false;
|
455
468
|
}
|
456
|
-
_upb_Array_Set
|
469
|
+
UPB_PRIVATE(_upb_Array_Set)
|
470
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
457
471
|
return true;
|
458
472
|
}
|
459
473
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryRequest_set_type_url(envoy_service_discovery_v3_DiscoveryRequest *msg, upb_StringView value) {
|
460
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
461
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
474
|
+
const upb_MiniTableField field = {4, UPB_SIZE(36, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
475
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
462
476
|
}
|
463
477
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryRequest_set_response_nonce(envoy_service_discovery_v3_DiscoveryRequest *msg, upb_StringView value) {
|
464
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
465
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
478
|
+
const upb_MiniTableField field = {5, UPB_SIZE(44, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
479
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
466
480
|
}
|
467
481
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryRequest_set_error_detail(envoy_service_discovery_v3_DiscoveryRequest *msg, struct google_rpc_Status* value) {
|
468
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
469
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
482
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 80), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
483
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
470
484
|
}
|
471
485
|
UPB_INLINE struct google_rpc_Status* envoy_service_discovery_v3_DiscoveryRequest_mutable_error_detail(envoy_service_discovery_v3_DiscoveryRequest* msg, upb_Arena* arena) {
|
472
486
|
struct google_rpc_Status* sub = (struct google_rpc_Status*)envoy_service_discovery_v3_DiscoveryRequest_error_detail(msg);
|
@@ -477,29 +491,33 @@ UPB_INLINE struct google_rpc_Status* envoy_service_discovery_v3_DiscoveryRequest
|
|
477
491
|
return sub;
|
478
492
|
}
|
479
493
|
UPB_INLINE envoy_service_discovery_v3_ResourceLocator** envoy_service_discovery_v3_DiscoveryRequest_mutable_resource_locators(envoy_service_discovery_v3_DiscoveryRequest* msg, size_t* size) {
|
480
|
-
upb_MiniTableField field = {7, UPB_SIZE(
|
481
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
494
|
+
upb_MiniTableField field = {7, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
495
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
482
496
|
if (arr) {
|
483
|
-
if (size) *size = arr->size;
|
484
|
-
return (envoy_service_discovery_v3_ResourceLocator**)
|
497
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
498
|
+
return (envoy_service_discovery_v3_ResourceLocator**)upb_Array_MutableDataPtr(arr);
|
485
499
|
} else {
|
486
500
|
if (size) *size = 0;
|
487
501
|
return NULL;
|
488
502
|
}
|
489
503
|
}
|
490
504
|
UPB_INLINE envoy_service_discovery_v3_ResourceLocator** envoy_service_discovery_v3_DiscoveryRequest_resize_resource_locators(envoy_service_discovery_v3_DiscoveryRequest* msg, size_t size, upb_Arena* arena) {
|
491
|
-
upb_MiniTableField field = {7, UPB_SIZE(
|
492
|
-
return (envoy_service_discovery_v3_ResourceLocator**)upb_Message_ResizeArrayUninitialized(msg,
|
505
|
+
upb_MiniTableField field = {7, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
506
|
+
return (envoy_service_discovery_v3_ResourceLocator**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
507
|
+
&field, size, arena);
|
493
508
|
}
|
494
509
|
UPB_INLINE struct envoy_service_discovery_v3_ResourceLocator* envoy_service_discovery_v3_DiscoveryRequest_add_resource_locators(envoy_service_discovery_v3_DiscoveryRequest* msg, upb_Arena* arena) {
|
495
|
-
upb_MiniTableField field = {7, UPB_SIZE(
|
496
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
497
|
-
|
510
|
+
upb_MiniTableField field = {7, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
511
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
512
|
+
UPB_UPCAST(msg), &field, arena);
|
513
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
514
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
498
515
|
return NULL;
|
499
516
|
}
|
500
517
|
struct envoy_service_discovery_v3_ResourceLocator* sub = (struct envoy_service_discovery_v3_ResourceLocator*)_upb_Message_New(&envoy__service__discovery__v3__ResourceLocator_msg_init, arena);
|
501
518
|
if (!arr || !sub) return NULL;
|
502
|
-
_upb_Array_Set
|
519
|
+
UPB_PRIVATE(_upb_Array_Set)
|
520
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
503
521
|
return sub;
|
504
522
|
}
|
505
523
|
|
@@ -511,7 +529,8 @@ UPB_INLINE envoy_service_discovery_v3_DiscoveryResponse* envoy_service_discovery
|
|
511
529
|
UPB_INLINE envoy_service_discovery_v3_DiscoveryResponse* envoy_service_discovery_v3_DiscoveryResponse_parse(const char* buf, size_t size, upb_Arena* arena) {
|
512
530
|
envoy_service_discovery_v3_DiscoveryResponse* ret = envoy_service_discovery_v3_DiscoveryResponse_new(arena);
|
513
531
|
if (!ret) return NULL;
|
514
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DiscoveryResponse_msg_init, NULL, 0, arena) !=
|
532
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__DiscoveryResponse_msg_init, NULL, 0, arena) !=
|
533
|
+
kUpb_DecodeStatus_Ok) {
|
515
534
|
return NULL;
|
516
535
|
}
|
517
536
|
return ret;
|
@@ -521,165 +540,169 @@ UPB_INLINE envoy_service_discovery_v3_DiscoveryResponse* envoy_service_discovery
|
|
521
540
|
int options, upb_Arena* arena) {
|
522
541
|
envoy_service_discovery_v3_DiscoveryResponse* ret = envoy_service_discovery_v3_DiscoveryResponse_new(arena);
|
523
542
|
if (!ret) return NULL;
|
524
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DiscoveryResponse_msg_init, extreg, options,
|
525
|
-
|
543
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__DiscoveryResponse_msg_init, extreg, options,
|
544
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
526
545
|
return NULL;
|
527
546
|
}
|
528
547
|
return ret;
|
529
548
|
}
|
530
549
|
UPB_INLINE char* envoy_service_discovery_v3_DiscoveryResponse_serialize(const envoy_service_discovery_v3_DiscoveryResponse* msg, upb_Arena* arena, size_t* len) {
|
531
550
|
char* ptr;
|
532
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__DiscoveryResponse_msg_init, 0, arena, &ptr, len);
|
551
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__DiscoveryResponse_msg_init, 0, arena, &ptr, len);
|
533
552
|
return ptr;
|
534
553
|
}
|
535
554
|
UPB_INLINE char* envoy_service_discovery_v3_DiscoveryResponse_serialize_ex(const envoy_service_discovery_v3_DiscoveryResponse* msg, int options,
|
536
555
|
upb_Arena* arena, size_t* len) {
|
537
556
|
char* ptr;
|
538
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__DiscoveryResponse_msg_init, options, arena, &ptr, len);
|
557
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__DiscoveryResponse_msg_init, options, arena, &ptr, len);
|
539
558
|
return ptr;
|
540
559
|
}
|
541
560
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryResponse_clear_version_info(envoy_service_discovery_v3_DiscoveryResponse* msg) {
|
542
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
543
|
-
|
561
|
+
const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
562
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
544
563
|
}
|
545
564
|
UPB_INLINE upb_StringView envoy_service_discovery_v3_DiscoveryResponse_version_info(const envoy_service_discovery_v3_DiscoveryResponse* msg) {
|
546
565
|
upb_StringView default_val = upb_StringView_FromString("");
|
547
566
|
upb_StringView ret;
|
548
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
549
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
567
|
+
const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
568
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
569
|
+
&default_val, &ret);
|
550
570
|
return ret;
|
551
571
|
}
|
552
572
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryResponse_clear_resources(envoy_service_discovery_v3_DiscoveryResponse* msg) {
|
553
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
554
|
-
|
573
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
574
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
555
575
|
}
|
556
576
|
UPB_INLINE const struct google_protobuf_Any* const* envoy_service_discovery_v3_DiscoveryResponse_resources(const envoy_service_discovery_v3_DiscoveryResponse* msg, size_t* size) {
|
557
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
558
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
577
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
578
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
559
579
|
if (arr) {
|
560
|
-
if (size) *size = arr->size;
|
561
|
-
return (const struct google_protobuf_Any* const*)
|
580
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
581
|
+
return (const struct google_protobuf_Any* const*)upb_Array_DataPtr(arr);
|
562
582
|
} else {
|
563
583
|
if (size) *size = 0;
|
564
584
|
return NULL;
|
565
585
|
}
|
566
586
|
}
|
567
587
|
UPB_INLINE const upb_Array* _envoy_service_discovery_v3_DiscoveryResponse_resources_upb_array(const envoy_service_discovery_v3_DiscoveryResponse* msg, size_t* size) {
|
568
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
569
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
588
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
589
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
570
590
|
if (size) {
|
571
|
-
*size = arr ? arr->size : 0;
|
591
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
572
592
|
}
|
573
593
|
return arr;
|
574
594
|
}
|
575
|
-
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DiscoveryResponse_resources_mutable_upb_array(
|
576
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
577
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
578
|
-
|
595
|
+
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DiscoveryResponse_resources_mutable_upb_array(envoy_service_discovery_v3_DiscoveryResponse* msg, size_t* size, upb_Arena* arena) {
|
596
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
597
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
598
|
+
&field, arena);
|
579
599
|
if (size) {
|
580
|
-
*size = arr ? arr->size : 0;
|
600
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
581
601
|
}
|
582
602
|
return arr;
|
583
603
|
}
|
584
|
-
UPB_INLINE bool envoy_service_discovery_v3_DiscoveryResponse_has_resources(const envoy_service_discovery_v3_DiscoveryResponse* msg) {
|
585
|
-
size_t size;
|
586
|
-
envoy_service_discovery_v3_DiscoveryResponse_resources(msg, &size);
|
587
|
-
return size != 0;
|
588
|
-
}
|
589
604
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryResponse_clear_canary(envoy_service_discovery_v3_DiscoveryResponse* msg) {
|
590
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
591
|
-
|
605
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
606
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
592
607
|
}
|
593
608
|
UPB_INLINE bool envoy_service_discovery_v3_DiscoveryResponse_canary(const envoy_service_discovery_v3_DiscoveryResponse* msg) {
|
594
609
|
bool default_val = false;
|
595
610
|
bool ret;
|
596
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
597
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
611
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
612
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
613
|
+
&default_val, &ret);
|
598
614
|
return ret;
|
599
615
|
}
|
600
616
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryResponse_clear_type_url(envoy_service_discovery_v3_DiscoveryResponse* msg) {
|
601
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
602
|
-
|
617
|
+
const upb_MiniTableField field = {4, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
618
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
603
619
|
}
|
604
620
|
UPB_INLINE upb_StringView envoy_service_discovery_v3_DiscoveryResponse_type_url(const envoy_service_discovery_v3_DiscoveryResponse* msg) {
|
605
621
|
upb_StringView default_val = upb_StringView_FromString("");
|
606
622
|
upb_StringView ret;
|
607
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
608
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
623
|
+
const upb_MiniTableField field = {4, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
624
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
625
|
+
&default_val, &ret);
|
609
626
|
return ret;
|
610
627
|
}
|
611
628
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryResponse_clear_nonce(envoy_service_discovery_v3_DiscoveryResponse* msg) {
|
612
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
613
|
-
|
629
|
+
const upb_MiniTableField field = {5, UPB_SIZE(40, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
630
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
614
631
|
}
|
615
632
|
UPB_INLINE upb_StringView envoy_service_discovery_v3_DiscoveryResponse_nonce(const envoy_service_discovery_v3_DiscoveryResponse* msg) {
|
616
633
|
upb_StringView default_val = upb_StringView_FromString("");
|
617
634
|
upb_StringView ret;
|
618
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
619
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
635
|
+
const upb_MiniTableField field = {5, UPB_SIZE(40, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
636
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
637
|
+
&default_val, &ret);
|
620
638
|
return ret;
|
621
639
|
}
|
622
640
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryResponse_clear_control_plane(envoy_service_discovery_v3_DiscoveryResponse* msg) {
|
623
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
624
|
-
|
641
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 72), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
642
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
625
643
|
}
|
626
644
|
UPB_INLINE const struct envoy_config_core_v3_ControlPlane* envoy_service_discovery_v3_DiscoveryResponse_control_plane(const envoy_service_discovery_v3_DiscoveryResponse* msg) {
|
627
645
|
const struct envoy_config_core_v3_ControlPlane* default_val = NULL;
|
628
646
|
const struct envoy_config_core_v3_ControlPlane* ret;
|
629
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
630
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
647
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 72), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
648
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
649
|
+
&default_val, &ret);
|
631
650
|
return ret;
|
632
651
|
}
|
633
652
|
UPB_INLINE bool envoy_service_discovery_v3_DiscoveryResponse_has_control_plane(const envoy_service_discovery_v3_DiscoveryResponse* msg) {
|
634
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
635
|
-
return
|
653
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 72), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
654
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
636
655
|
}
|
637
656
|
|
638
657
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryResponse_set_version_info(envoy_service_discovery_v3_DiscoveryResponse *msg, upb_StringView value) {
|
639
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
640
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
658
|
+
const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
659
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
641
660
|
}
|
642
661
|
UPB_INLINE struct google_protobuf_Any** envoy_service_discovery_v3_DiscoveryResponse_mutable_resources(envoy_service_discovery_v3_DiscoveryResponse* msg, size_t* size) {
|
643
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
644
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
662
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
663
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
645
664
|
if (arr) {
|
646
|
-
if (size) *size = arr->size;
|
647
|
-
return (struct google_protobuf_Any**)
|
665
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
666
|
+
return (struct google_protobuf_Any**)upb_Array_MutableDataPtr(arr);
|
648
667
|
} else {
|
649
668
|
if (size) *size = 0;
|
650
669
|
return NULL;
|
651
670
|
}
|
652
671
|
}
|
653
672
|
UPB_INLINE struct google_protobuf_Any** envoy_service_discovery_v3_DiscoveryResponse_resize_resources(envoy_service_discovery_v3_DiscoveryResponse* msg, size_t size, upb_Arena* arena) {
|
654
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
655
|
-
return (struct google_protobuf_Any**)upb_Message_ResizeArrayUninitialized(msg,
|
673
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
674
|
+
return (struct google_protobuf_Any**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
675
|
+
&field, size, arena);
|
656
676
|
}
|
657
677
|
UPB_INLINE struct google_protobuf_Any* envoy_service_discovery_v3_DiscoveryResponse_add_resources(envoy_service_discovery_v3_DiscoveryResponse* msg, upb_Arena* arena) {
|
658
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
659
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
660
|
-
|
678
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
679
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
680
|
+
UPB_UPCAST(msg), &field, arena);
|
681
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
682
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
661
683
|
return NULL;
|
662
684
|
}
|
663
685
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena);
|
664
686
|
if (!arr || !sub) return NULL;
|
665
|
-
_upb_Array_Set
|
687
|
+
UPB_PRIVATE(_upb_Array_Set)
|
688
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
666
689
|
return sub;
|
667
690
|
}
|
668
691
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryResponse_set_canary(envoy_service_discovery_v3_DiscoveryResponse *msg, bool value) {
|
669
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
670
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
692
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
693
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
671
694
|
}
|
672
695
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryResponse_set_type_url(envoy_service_discovery_v3_DiscoveryResponse *msg, upb_StringView value) {
|
673
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
674
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
696
|
+
const upb_MiniTableField field = {4, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
697
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
675
698
|
}
|
676
699
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryResponse_set_nonce(envoy_service_discovery_v3_DiscoveryResponse *msg, upb_StringView value) {
|
677
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
678
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
700
|
+
const upb_MiniTableField field = {5, UPB_SIZE(40, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
701
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
679
702
|
}
|
680
703
|
UPB_INLINE void envoy_service_discovery_v3_DiscoveryResponse_set_control_plane(envoy_service_discovery_v3_DiscoveryResponse *msg, struct envoy_config_core_v3_ControlPlane* value) {
|
681
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
682
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
704
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 72), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
705
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
683
706
|
}
|
684
707
|
UPB_INLINE struct envoy_config_core_v3_ControlPlane* envoy_service_discovery_v3_DiscoveryResponse_mutable_control_plane(envoy_service_discovery_v3_DiscoveryResponse* msg, upb_Arena* arena) {
|
685
708
|
struct envoy_config_core_v3_ControlPlane* sub = (struct envoy_config_core_v3_ControlPlane*)envoy_service_discovery_v3_DiscoveryResponse_control_plane(msg);
|
@@ -698,7 +721,8 @@ UPB_INLINE envoy_service_discovery_v3_DeltaDiscoveryRequest* envoy_service_disco
|
|
698
721
|
UPB_INLINE envoy_service_discovery_v3_DeltaDiscoveryRequest* envoy_service_discovery_v3_DeltaDiscoveryRequest_parse(const char* buf, size_t size, upb_Arena* arena) {
|
699
722
|
envoy_service_discovery_v3_DeltaDiscoveryRequest* ret = envoy_service_discovery_v3_DeltaDiscoveryRequest_new(arena);
|
700
723
|
if (!ret) return NULL;
|
701
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DeltaDiscoveryRequest_msg_init, NULL, 0, arena) !=
|
724
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__DeltaDiscoveryRequest_msg_init, NULL, 0, arena) !=
|
725
|
+
kUpb_DecodeStatus_Ok) {
|
702
726
|
return NULL;
|
703
727
|
}
|
704
728
|
return ret;
|
@@ -708,248 +732,240 @@ UPB_INLINE envoy_service_discovery_v3_DeltaDiscoveryRequest* envoy_service_disco
|
|
708
732
|
int options, upb_Arena* arena) {
|
709
733
|
envoy_service_discovery_v3_DeltaDiscoveryRequest* ret = envoy_service_discovery_v3_DeltaDiscoveryRequest_new(arena);
|
710
734
|
if (!ret) return NULL;
|
711
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DeltaDiscoveryRequest_msg_init, extreg, options,
|
712
|
-
|
735
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__DeltaDiscoveryRequest_msg_init, extreg, options,
|
736
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
713
737
|
return NULL;
|
714
738
|
}
|
715
739
|
return ret;
|
716
740
|
}
|
717
741
|
UPB_INLINE char* envoy_service_discovery_v3_DeltaDiscoveryRequest_serialize(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, upb_Arena* arena, size_t* len) {
|
718
742
|
char* ptr;
|
719
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__DeltaDiscoveryRequest_msg_init, 0, arena, &ptr, len);
|
743
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__DeltaDiscoveryRequest_msg_init, 0, arena, &ptr, len);
|
720
744
|
return ptr;
|
721
745
|
}
|
722
746
|
UPB_INLINE char* envoy_service_discovery_v3_DeltaDiscoveryRequest_serialize_ex(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, int options,
|
723
747
|
upb_Arena* arena, size_t* len) {
|
724
748
|
char* ptr;
|
725
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__DeltaDiscoveryRequest_msg_init, options, arena, &ptr, len);
|
749
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__DeltaDiscoveryRequest_msg_init, options, arena, &ptr, len);
|
726
750
|
return ptr;
|
727
751
|
}
|
728
752
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_clear_node(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
729
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
730
|
-
|
753
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
754
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
731
755
|
}
|
732
756
|
UPB_INLINE const struct envoy_config_core_v3_Node* envoy_service_discovery_v3_DeltaDiscoveryRequest_node(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
733
757
|
const struct envoy_config_core_v3_Node* default_val = NULL;
|
734
758
|
const struct envoy_config_core_v3_Node* ret;
|
735
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
736
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
759
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
760
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
761
|
+
&default_val, &ret);
|
737
762
|
return ret;
|
738
763
|
}
|
739
764
|
UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryRequest_has_node(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
740
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
741
|
-
return
|
765
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
766
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
742
767
|
}
|
743
768
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_clear_type_url(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
744
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
745
|
-
|
769
|
+
const upb_MiniTableField field = {2, UPB_SIZE(40, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
770
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
746
771
|
}
|
747
772
|
UPB_INLINE upb_StringView envoy_service_discovery_v3_DeltaDiscoveryRequest_type_url(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
748
773
|
upb_StringView default_val = upb_StringView_FromString("");
|
749
774
|
upb_StringView ret;
|
750
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
751
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
775
|
+
const upb_MiniTableField field = {2, UPB_SIZE(40, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
776
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
777
|
+
&default_val, &ret);
|
752
778
|
return ret;
|
753
779
|
}
|
754
780
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_clear_resource_names_subscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
755
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
756
|
-
|
781
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
782
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
757
783
|
}
|
758
784
|
UPB_INLINE upb_StringView const* envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_names_subscribe(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t* size) {
|
759
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
760
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
785
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
786
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
761
787
|
if (arr) {
|
762
|
-
if (size) *size = arr->size;
|
763
|
-
return (upb_StringView const*)
|
788
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
789
|
+
return (upb_StringView const*)upb_Array_DataPtr(arr);
|
764
790
|
} else {
|
765
791
|
if (size) *size = 0;
|
766
792
|
return NULL;
|
767
793
|
}
|
768
794
|
}
|
769
795
|
UPB_INLINE const upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_names_subscribe_upb_array(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t* size) {
|
770
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
771
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
796
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
797
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
772
798
|
if (size) {
|
773
|
-
*size = arr ? arr->size : 0;
|
799
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
774
800
|
}
|
775
801
|
return arr;
|
776
802
|
}
|
777
|
-
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_names_subscribe_mutable_upb_array(
|
778
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
779
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
780
|
-
|
803
|
+
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_names_subscribe_mutable_upb_array(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t* size, upb_Arena* arena) {
|
804
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
805
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
806
|
+
&field, arena);
|
781
807
|
if (size) {
|
782
|
-
*size = arr ? arr->size : 0;
|
808
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
783
809
|
}
|
784
810
|
return arr;
|
785
811
|
}
|
786
|
-
UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryRequest_has_resource_names_subscribe(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
787
|
-
size_t size;
|
788
|
-
envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_names_subscribe(msg, &size);
|
789
|
-
return size != 0;
|
790
|
-
}
|
791
812
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_clear_resource_names_unsubscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
792
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
793
|
-
|
813
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
814
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
794
815
|
}
|
795
816
|
UPB_INLINE upb_StringView const* envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_names_unsubscribe(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t* size) {
|
796
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
797
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
817
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
818
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
798
819
|
if (arr) {
|
799
|
-
if (size) *size = arr->size;
|
800
|
-
return (upb_StringView const*)
|
820
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
821
|
+
return (upb_StringView const*)upb_Array_DataPtr(arr);
|
801
822
|
} else {
|
802
823
|
if (size) *size = 0;
|
803
824
|
return NULL;
|
804
825
|
}
|
805
826
|
}
|
806
827
|
UPB_INLINE const upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_names_unsubscribe_upb_array(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t* size) {
|
807
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
808
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
828
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
829
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
809
830
|
if (size) {
|
810
|
-
*size = arr ? arr->size : 0;
|
831
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
811
832
|
}
|
812
833
|
return arr;
|
813
834
|
}
|
814
|
-
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_names_unsubscribe_mutable_upb_array(
|
815
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
816
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
817
|
-
|
835
|
+
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_names_unsubscribe_mutable_upb_array(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t* size, upb_Arena* arena) {
|
836
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
837
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
838
|
+
&field, arena);
|
818
839
|
if (size) {
|
819
|
-
*size = arr ? arr->size : 0;
|
840
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
820
841
|
}
|
821
842
|
return arr;
|
822
843
|
}
|
823
|
-
UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryRequest_has_resource_names_unsubscribe(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
824
|
-
size_t size;
|
825
|
-
envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_names_unsubscribe(msg, &size);
|
826
|
-
return size != 0;
|
827
|
-
}
|
828
844
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_clear_initial_resource_versions(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
829
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
830
|
-
|
845
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
846
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
831
847
|
}
|
832
848
|
UPB_INLINE size_t envoy_service_discovery_v3_DeltaDiscoveryRequest_initial_resource_versions_size(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
833
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
834
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
849
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
850
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
835
851
|
return map ? _upb_Map_Size(map) : 0;
|
836
852
|
}
|
837
853
|
UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryRequest_initial_resource_versions_get(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, upb_StringView key, upb_StringView* val) {
|
838
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
839
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
854
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
855
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
840
856
|
if (!map) return false;
|
841
857
|
return _upb_Map_Get(map, &key, 0, val, 0);
|
842
858
|
}
|
843
859
|
UPB_INLINE const envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry* envoy_service_discovery_v3_DeltaDiscoveryRequest_initial_resource_versions_next(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t* iter) {
|
844
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
845
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
860
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
861
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
846
862
|
if (!map) return NULL;
|
847
863
|
return (const envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry*)_upb_map_next(map, iter);
|
848
864
|
}
|
865
|
+
UPB_INLINE const upb_Map* _envoy_service_discovery_v3_DeltaDiscoveryRequest_initial_resource_versions_upb_map(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
866
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
867
|
+
return upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
868
|
+
}
|
869
|
+
UPB_INLINE upb_Map* _envoy_service_discovery_v3_DeltaDiscoveryRequest_initial_resource_versions_mutable_upb_map(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, upb_Arena* a) {
|
870
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
871
|
+
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field, 0, 0, a);
|
872
|
+
}
|
849
873
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_clear_response_nonce(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
850
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
851
|
-
|
874
|
+
const upb_MiniTableField field = {6, UPB_SIZE(48, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
875
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
852
876
|
}
|
853
877
|
UPB_INLINE upb_StringView envoy_service_discovery_v3_DeltaDiscoveryRequest_response_nonce(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
854
878
|
upb_StringView default_val = upb_StringView_FromString("");
|
855
879
|
upb_StringView ret;
|
856
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
857
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
880
|
+
const upb_MiniTableField field = {6, UPB_SIZE(48, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
881
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
882
|
+
&default_val, &ret);
|
858
883
|
return ret;
|
859
884
|
}
|
860
885
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_clear_error_detail(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
861
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
862
|
-
|
886
|
+
const upb_MiniTableField field = {7, UPB_SIZE(28, 80), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
887
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
863
888
|
}
|
864
889
|
UPB_INLINE const struct google_rpc_Status* envoy_service_discovery_v3_DeltaDiscoveryRequest_error_detail(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
865
890
|
const struct google_rpc_Status* default_val = NULL;
|
866
891
|
const struct google_rpc_Status* ret;
|
867
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
868
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
892
|
+
const upb_MiniTableField field = {7, UPB_SIZE(28, 80), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
893
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
894
|
+
&default_val, &ret);
|
869
895
|
return ret;
|
870
896
|
}
|
871
897
|
UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryRequest_has_error_detail(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
872
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
873
|
-
return
|
898
|
+
const upb_MiniTableField field = {7, UPB_SIZE(28, 80), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
899
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
874
900
|
}
|
875
901
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_clear_resource_locators_subscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
876
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
877
|
-
|
902
|
+
const upb_MiniTableField field = {8, UPB_SIZE(32, 88), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
903
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
878
904
|
}
|
879
905
|
UPB_INLINE const envoy_service_discovery_v3_ResourceLocator* const* envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_locators_subscribe(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t* size) {
|
880
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
881
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
906
|
+
const upb_MiniTableField field = {8, UPB_SIZE(32, 88), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
907
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
882
908
|
if (arr) {
|
883
|
-
if (size) *size = arr->size;
|
884
|
-
return (const envoy_service_discovery_v3_ResourceLocator* const*)
|
909
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
910
|
+
return (const envoy_service_discovery_v3_ResourceLocator* const*)upb_Array_DataPtr(arr);
|
885
911
|
} else {
|
886
912
|
if (size) *size = 0;
|
887
913
|
return NULL;
|
888
914
|
}
|
889
915
|
}
|
890
916
|
UPB_INLINE const upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_locators_subscribe_upb_array(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t* size) {
|
891
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
892
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
917
|
+
const upb_MiniTableField field = {8, UPB_SIZE(32, 88), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
918
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
893
919
|
if (size) {
|
894
|
-
*size = arr ? arr->size : 0;
|
920
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
895
921
|
}
|
896
922
|
return arr;
|
897
923
|
}
|
898
|
-
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_locators_subscribe_mutable_upb_array(
|
899
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
900
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
901
|
-
|
924
|
+
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_locators_subscribe_mutable_upb_array(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t* size, upb_Arena* arena) {
|
925
|
+
const upb_MiniTableField field = {8, UPB_SIZE(32, 88), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
926
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
927
|
+
&field, arena);
|
902
928
|
if (size) {
|
903
|
-
*size = arr ? arr->size : 0;
|
929
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
904
930
|
}
|
905
931
|
return arr;
|
906
932
|
}
|
907
|
-
UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryRequest_has_resource_locators_subscribe(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
908
|
-
size_t size;
|
909
|
-
envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_locators_subscribe(msg, &size);
|
910
|
-
return size != 0;
|
911
|
-
}
|
912
933
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_clear_resource_locators_unsubscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
913
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
914
|
-
|
934
|
+
const upb_MiniTableField field = {9, UPB_SIZE(36, 96), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
935
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
915
936
|
}
|
916
937
|
UPB_INLINE const envoy_service_discovery_v3_ResourceLocator* const* envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_locators_unsubscribe(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t* size) {
|
917
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
918
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
938
|
+
const upb_MiniTableField field = {9, UPB_SIZE(36, 96), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
939
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
919
940
|
if (arr) {
|
920
|
-
if (size) *size = arr->size;
|
921
|
-
return (const envoy_service_discovery_v3_ResourceLocator* const*)
|
941
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
942
|
+
return (const envoy_service_discovery_v3_ResourceLocator* const*)upb_Array_DataPtr(arr);
|
922
943
|
} else {
|
923
944
|
if (size) *size = 0;
|
924
945
|
return NULL;
|
925
946
|
}
|
926
947
|
}
|
927
948
|
UPB_INLINE const upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_locators_unsubscribe_upb_array(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t* size) {
|
928
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
929
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
949
|
+
const upb_MiniTableField field = {9, UPB_SIZE(36, 96), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
950
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
930
951
|
if (size) {
|
931
|
-
*size = arr ? arr->size : 0;
|
952
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
932
953
|
}
|
933
954
|
return arr;
|
934
955
|
}
|
935
|
-
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_locators_unsubscribe_mutable_upb_array(
|
936
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
937
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
938
|
-
|
956
|
+
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_locators_unsubscribe_mutable_upb_array(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t* size, upb_Arena* arena) {
|
957
|
+
const upb_MiniTableField field = {9, UPB_SIZE(36, 96), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
958
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
959
|
+
&field, arena);
|
939
960
|
if (size) {
|
940
|
-
*size = arr ? arr->size : 0;
|
961
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
941
962
|
}
|
942
963
|
return arr;
|
943
964
|
}
|
944
|
-
UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryRequest_has_resource_locators_unsubscribe(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
945
|
-
size_t size;
|
946
|
-
envoy_service_discovery_v3_DeltaDiscoveryRequest_resource_locators_unsubscribe(msg, &size);
|
947
|
-
return size != 0;
|
948
|
-
}
|
949
965
|
|
950
966
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_set_node(envoy_service_discovery_v3_DeltaDiscoveryRequest *msg, struct envoy_config_core_v3_Node* value) {
|
951
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
952
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
967
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
968
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
953
969
|
}
|
954
970
|
UPB_INLINE struct envoy_config_core_v3_Node* envoy_service_discovery_v3_DeltaDiscoveryRequest_mutable_node(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, upb_Arena* arena) {
|
955
971
|
struct envoy_config_core_v3_Node* sub = (struct envoy_config_core_v3_Node*)envoy_service_discovery_v3_DeltaDiscoveryRequest_node(msg);
|
@@ -960,88 +976,97 @@ UPB_INLINE struct envoy_config_core_v3_Node* envoy_service_discovery_v3_DeltaDis
|
|
960
976
|
return sub;
|
961
977
|
}
|
962
978
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_set_type_url(envoy_service_discovery_v3_DeltaDiscoveryRequest *msg, upb_StringView value) {
|
963
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
964
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
979
|
+
const upb_MiniTableField field = {2, UPB_SIZE(40, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
980
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
965
981
|
}
|
966
982
|
UPB_INLINE upb_StringView* envoy_service_discovery_v3_DeltaDiscoveryRequest_mutable_resource_names_subscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t* size) {
|
967
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
968
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
983
|
+
upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
984
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
969
985
|
if (arr) {
|
970
|
-
if (size) *size = arr->size;
|
971
|
-
return (upb_StringView*)
|
986
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
987
|
+
return (upb_StringView*)upb_Array_MutableDataPtr(arr);
|
972
988
|
} else {
|
973
989
|
if (size) *size = 0;
|
974
990
|
return NULL;
|
975
991
|
}
|
976
992
|
}
|
977
993
|
UPB_INLINE upb_StringView* envoy_service_discovery_v3_DeltaDiscoveryRequest_resize_resource_names_subscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t size, upb_Arena* arena) {
|
978
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
979
|
-
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg,
|
994
|
+
upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
995
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
996
|
+
&field, size, arena);
|
980
997
|
}
|
981
998
|
UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryRequest_add_resource_names_subscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, upb_StringView val, upb_Arena* arena) {
|
982
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
983
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
984
|
-
|
999
|
+
upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1000
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1001
|
+
UPB_UPCAST(msg), &field, arena);
|
1002
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1003
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
985
1004
|
return false;
|
986
1005
|
}
|
987
|
-
_upb_Array_Set
|
1006
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1007
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
988
1008
|
return true;
|
989
1009
|
}
|
990
1010
|
UPB_INLINE upb_StringView* envoy_service_discovery_v3_DeltaDiscoveryRequest_mutable_resource_names_unsubscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t* size) {
|
991
|
-
upb_MiniTableField field = {4, UPB_SIZE(
|
992
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1011
|
+
upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1012
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
993
1013
|
if (arr) {
|
994
|
-
if (size) *size = arr->size;
|
995
|
-
return (upb_StringView*)
|
1014
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1015
|
+
return (upb_StringView*)upb_Array_MutableDataPtr(arr);
|
996
1016
|
} else {
|
997
1017
|
if (size) *size = 0;
|
998
1018
|
return NULL;
|
999
1019
|
}
|
1000
1020
|
}
|
1001
1021
|
UPB_INLINE upb_StringView* envoy_service_discovery_v3_DeltaDiscoveryRequest_resize_resource_names_unsubscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t size, upb_Arena* arena) {
|
1002
|
-
upb_MiniTableField field = {4, UPB_SIZE(
|
1003
|
-
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg,
|
1022
|
+
upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1023
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1024
|
+
&field, size, arena);
|
1004
1025
|
}
|
1005
1026
|
UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryRequest_add_resource_names_unsubscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, upb_StringView val, upb_Arena* arena) {
|
1006
|
-
upb_MiniTableField field = {4, UPB_SIZE(
|
1007
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1008
|
-
|
1027
|
+
upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1028
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1029
|
+
UPB_UPCAST(msg), &field, arena);
|
1030
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1031
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1009
1032
|
return false;
|
1010
1033
|
}
|
1011
|
-
_upb_Array_Set
|
1034
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1035
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
1012
1036
|
return true;
|
1013
1037
|
}
|
1014
1038
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_initial_resource_versions_clear(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) {
|
1015
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1016
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
1039
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1040
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1017
1041
|
if (!map) return;
|
1018
1042
|
_upb_Map_Clear(map);
|
1019
1043
|
}
|
1020
1044
|
UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryRequest_initial_resource_versions_set(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, upb_StringView key, upb_StringView val, upb_Arena* a) {
|
1021
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1022
|
-
upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg,
|
1045
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1046
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg),
|
1047
|
+
&field, 0, 0, a);
|
1023
1048
|
return _upb_Map_Insert(map, &key, 0, &val, 0, a) !=
|
1024
1049
|
kUpb_MapInsertStatus_OutOfMemory;
|
1025
1050
|
}
|
1026
1051
|
UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryRequest_initial_resource_versions_delete(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, upb_StringView key) {
|
1027
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1028
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
1052
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1053
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1029
1054
|
if (!map) return false;
|
1030
1055
|
return _upb_Map_Delete(map, &key, 0, NULL);
|
1031
1056
|
}
|
1032
1057
|
UPB_INLINE envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry* envoy_service_discovery_v3_DeltaDiscoveryRequest_initial_resource_versions_nextmutable(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t* iter) {
|
1033
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1034
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
1058
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1059
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1035
1060
|
if (!map) return NULL;
|
1036
1061
|
return (envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry*)_upb_map_next(map, iter);
|
1037
1062
|
}
|
1038
1063
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_set_response_nonce(envoy_service_discovery_v3_DeltaDiscoveryRequest *msg, upb_StringView value) {
|
1039
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
1040
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1064
|
+
const upb_MiniTableField field = {6, UPB_SIZE(48, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1065
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1041
1066
|
}
|
1042
1067
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_set_error_detail(envoy_service_discovery_v3_DeltaDiscoveryRequest *msg, struct google_rpc_Status* value) {
|
1043
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
1044
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1068
|
+
const upb_MiniTableField field = {7, UPB_SIZE(28, 80), 65, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1069
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1045
1070
|
}
|
1046
1071
|
UPB_INLINE struct google_rpc_Status* envoy_service_discovery_v3_DeltaDiscoveryRequest_mutable_error_detail(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, upb_Arena* arena) {
|
1047
1072
|
struct google_rpc_Status* sub = (struct google_rpc_Status*)envoy_service_discovery_v3_DeltaDiscoveryRequest_error_detail(msg);
|
@@ -1052,55 +1077,63 @@ UPB_INLINE struct google_rpc_Status* envoy_service_discovery_v3_DeltaDiscoveryRe
|
|
1052
1077
|
return sub;
|
1053
1078
|
}
|
1054
1079
|
UPB_INLINE envoy_service_discovery_v3_ResourceLocator** envoy_service_discovery_v3_DeltaDiscoveryRequest_mutable_resource_locators_subscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t* size) {
|
1055
|
-
upb_MiniTableField field = {8, UPB_SIZE(
|
1056
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1080
|
+
upb_MiniTableField field = {8, UPB_SIZE(32, 88), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1081
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1057
1082
|
if (arr) {
|
1058
|
-
if (size) *size = arr->size;
|
1059
|
-
return (envoy_service_discovery_v3_ResourceLocator**)
|
1083
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1084
|
+
return (envoy_service_discovery_v3_ResourceLocator**)upb_Array_MutableDataPtr(arr);
|
1060
1085
|
} else {
|
1061
1086
|
if (size) *size = 0;
|
1062
1087
|
return NULL;
|
1063
1088
|
}
|
1064
1089
|
}
|
1065
1090
|
UPB_INLINE envoy_service_discovery_v3_ResourceLocator** envoy_service_discovery_v3_DeltaDiscoveryRequest_resize_resource_locators_subscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t size, upb_Arena* arena) {
|
1066
|
-
upb_MiniTableField field = {8, UPB_SIZE(
|
1067
|
-
return (envoy_service_discovery_v3_ResourceLocator**)upb_Message_ResizeArrayUninitialized(msg,
|
1091
|
+
upb_MiniTableField field = {8, UPB_SIZE(32, 88), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1092
|
+
return (envoy_service_discovery_v3_ResourceLocator**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1093
|
+
&field, size, arena);
|
1068
1094
|
}
|
1069
1095
|
UPB_INLINE struct envoy_service_discovery_v3_ResourceLocator* envoy_service_discovery_v3_DeltaDiscoveryRequest_add_resource_locators_subscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, upb_Arena* arena) {
|
1070
|
-
upb_MiniTableField field = {8, UPB_SIZE(
|
1071
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1072
|
-
|
1096
|
+
upb_MiniTableField field = {8, UPB_SIZE(32, 88), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1097
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1098
|
+
UPB_UPCAST(msg), &field, arena);
|
1099
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1100
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1073
1101
|
return NULL;
|
1074
1102
|
}
|
1075
1103
|
struct envoy_service_discovery_v3_ResourceLocator* sub = (struct envoy_service_discovery_v3_ResourceLocator*)_upb_Message_New(&envoy__service__discovery__v3__ResourceLocator_msg_init, arena);
|
1076
1104
|
if (!arr || !sub) return NULL;
|
1077
|
-
_upb_Array_Set
|
1105
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1106
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1078
1107
|
return sub;
|
1079
1108
|
}
|
1080
1109
|
UPB_INLINE envoy_service_discovery_v3_ResourceLocator** envoy_service_discovery_v3_DeltaDiscoveryRequest_mutable_resource_locators_unsubscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t* size) {
|
1081
|
-
upb_MiniTableField field = {9, UPB_SIZE(
|
1082
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1110
|
+
upb_MiniTableField field = {9, UPB_SIZE(36, 96), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1111
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1083
1112
|
if (arr) {
|
1084
|
-
if (size) *size = arr->size;
|
1085
|
-
return (envoy_service_discovery_v3_ResourceLocator**)
|
1113
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1114
|
+
return (envoy_service_discovery_v3_ResourceLocator**)upb_Array_MutableDataPtr(arr);
|
1086
1115
|
} else {
|
1087
1116
|
if (size) *size = 0;
|
1088
1117
|
return NULL;
|
1089
1118
|
}
|
1090
1119
|
}
|
1091
1120
|
UPB_INLINE envoy_service_discovery_v3_ResourceLocator** envoy_service_discovery_v3_DeltaDiscoveryRequest_resize_resource_locators_unsubscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, size_t size, upb_Arena* arena) {
|
1092
|
-
upb_MiniTableField field = {9, UPB_SIZE(
|
1093
|
-
return (envoy_service_discovery_v3_ResourceLocator**)upb_Message_ResizeArrayUninitialized(msg,
|
1121
|
+
upb_MiniTableField field = {9, UPB_SIZE(36, 96), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1122
|
+
return (envoy_service_discovery_v3_ResourceLocator**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1123
|
+
&field, size, arena);
|
1094
1124
|
}
|
1095
1125
|
UPB_INLINE struct envoy_service_discovery_v3_ResourceLocator* envoy_service_discovery_v3_DeltaDiscoveryRequest_add_resource_locators_unsubscribe(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, upb_Arena* arena) {
|
1096
|
-
upb_MiniTableField field = {9, UPB_SIZE(
|
1097
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1098
|
-
|
1126
|
+
upb_MiniTableField field = {9, UPB_SIZE(36, 96), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1127
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1128
|
+
UPB_UPCAST(msg), &field, arena);
|
1129
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1130
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1099
1131
|
return NULL;
|
1100
1132
|
}
|
1101
1133
|
struct envoy_service_discovery_v3_ResourceLocator* sub = (struct envoy_service_discovery_v3_ResourceLocator*)_upb_Message_New(&envoy__service__discovery__v3__ResourceLocator_msg_init, arena);
|
1102
1134
|
if (!arr || !sub) return NULL;
|
1103
|
-
_upb_Array_Set
|
1135
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1136
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1104
1137
|
return sub;
|
1105
1138
|
}
|
1106
1139
|
|
@@ -1129,7 +1162,8 @@ UPB_INLINE envoy_service_discovery_v3_DeltaDiscoveryResponse* envoy_service_disc
|
|
1129
1162
|
UPB_INLINE envoy_service_discovery_v3_DeltaDiscoveryResponse* envoy_service_discovery_v3_DeltaDiscoveryResponse_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1130
1163
|
envoy_service_discovery_v3_DeltaDiscoveryResponse* ret = envoy_service_discovery_v3_DeltaDiscoveryResponse_new(arena);
|
1131
1164
|
if (!ret) return NULL;
|
1132
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DeltaDiscoveryResponse_msg_init, NULL, 0, arena) !=
|
1165
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__DeltaDiscoveryResponse_msg_init, NULL, 0, arena) !=
|
1166
|
+
kUpb_DecodeStatus_Ok) {
|
1133
1167
|
return NULL;
|
1134
1168
|
}
|
1135
1169
|
return ret;
|
@@ -1139,248 +1173,245 @@ UPB_INLINE envoy_service_discovery_v3_DeltaDiscoveryResponse* envoy_service_disc
|
|
1139
1173
|
int options, upb_Arena* arena) {
|
1140
1174
|
envoy_service_discovery_v3_DeltaDiscoveryResponse* ret = envoy_service_discovery_v3_DeltaDiscoveryResponse_new(arena);
|
1141
1175
|
if (!ret) return NULL;
|
1142
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DeltaDiscoveryResponse_msg_init, extreg, options,
|
1143
|
-
|
1176
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__DeltaDiscoveryResponse_msg_init, extreg, options,
|
1177
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1144
1178
|
return NULL;
|
1145
1179
|
}
|
1146
1180
|
return ret;
|
1147
1181
|
}
|
1148
1182
|
UPB_INLINE char* envoy_service_discovery_v3_DeltaDiscoveryResponse_serialize(const envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, upb_Arena* arena, size_t* len) {
|
1149
1183
|
char* ptr;
|
1150
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__DeltaDiscoveryResponse_msg_init, 0, arena, &ptr, len);
|
1184
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__DeltaDiscoveryResponse_msg_init, 0, arena, &ptr, len);
|
1151
1185
|
return ptr;
|
1152
1186
|
}
|
1153
1187
|
UPB_INLINE char* envoy_service_discovery_v3_DeltaDiscoveryResponse_serialize_ex(const envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, int options,
|
1154
1188
|
upb_Arena* arena, size_t* len) {
|
1155
1189
|
char* ptr;
|
1156
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__DeltaDiscoveryResponse_msg_init, options, arena, &ptr, len);
|
1190
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__DeltaDiscoveryResponse_msg_init, options, arena, &ptr, len);
|
1157
1191
|
return ptr;
|
1158
1192
|
}
|
1159
1193
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryResponse_clear_system_version_info(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg) {
|
1160
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1161
|
-
|
1194
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1195
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1162
1196
|
}
|
1163
1197
|
UPB_INLINE upb_StringView envoy_service_discovery_v3_DeltaDiscoveryResponse_system_version_info(const envoy_service_discovery_v3_DeltaDiscoveryResponse* msg) {
|
1164
1198
|
upb_StringView default_val = upb_StringView_FromString("");
|
1165
1199
|
upb_StringView ret;
|
1166
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1167
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1200
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1201
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1202
|
+
&default_val, &ret);
|
1168
1203
|
return ret;
|
1169
1204
|
}
|
1170
1205
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryResponse_clear_resources(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg) {
|
1171
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1172
|
-
|
1206
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1207
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1173
1208
|
}
|
1174
1209
|
UPB_INLINE const envoy_service_discovery_v3_Resource* const* envoy_service_discovery_v3_DeltaDiscoveryResponse_resources(const envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, size_t* size) {
|
1175
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1176
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1210
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1211
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1177
1212
|
if (arr) {
|
1178
|
-
if (size) *size = arr->size;
|
1179
|
-
return (const envoy_service_discovery_v3_Resource* const*)
|
1213
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1214
|
+
return (const envoy_service_discovery_v3_Resource* const*)upb_Array_DataPtr(arr);
|
1180
1215
|
} else {
|
1181
1216
|
if (size) *size = 0;
|
1182
1217
|
return NULL;
|
1183
1218
|
}
|
1184
1219
|
}
|
1185
1220
|
UPB_INLINE const upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryResponse_resources_upb_array(const envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, size_t* size) {
|
1186
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1187
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1221
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1222
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1188
1223
|
if (size) {
|
1189
|
-
*size = arr ? arr->size : 0;
|
1224
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1190
1225
|
}
|
1191
1226
|
return arr;
|
1192
1227
|
}
|
1193
|
-
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryResponse_resources_mutable_upb_array(
|
1194
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1195
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1196
|
-
|
1228
|
+
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryResponse_resources_mutable_upb_array(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, size_t* size, upb_Arena* arena) {
|
1229
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1230
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1231
|
+
&field, arena);
|
1197
1232
|
if (size) {
|
1198
|
-
*size = arr ? arr->size : 0;
|
1233
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1199
1234
|
}
|
1200
1235
|
return arr;
|
1201
1236
|
}
|
1202
|
-
UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryResponse_has_resources(const envoy_service_discovery_v3_DeltaDiscoveryResponse* msg) {
|
1203
|
-
size_t size;
|
1204
|
-
envoy_service_discovery_v3_DeltaDiscoveryResponse_resources(msg, &size);
|
1205
|
-
return size != 0;
|
1206
|
-
}
|
1207
1237
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryResponse_clear_type_url(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg) {
|
1208
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1209
|
-
|
1238
|
+
const upb_MiniTableField field = {4, UPB_SIZE(36, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1239
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1210
1240
|
}
|
1211
1241
|
UPB_INLINE upb_StringView envoy_service_discovery_v3_DeltaDiscoveryResponse_type_url(const envoy_service_discovery_v3_DeltaDiscoveryResponse* msg) {
|
1212
1242
|
upb_StringView default_val = upb_StringView_FromString("");
|
1213
1243
|
upb_StringView ret;
|
1214
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1215
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1244
|
+
const upb_MiniTableField field = {4, UPB_SIZE(36, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1245
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1246
|
+
&default_val, &ret);
|
1216
1247
|
return ret;
|
1217
1248
|
}
|
1218
1249
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryResponse_clear_nonce(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg) {
|
1219
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1220
|
-
|
1250
|
+
const upb_MiniTableField field = {5, UPB_SIZE(44, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1251
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1221
1252
|
}
|
1222
1253
|
UPB_INLINE upb_StringView envoy_service_discovery_v3_DeltaDiscoveryResponse_nonce(const envoy_service_discovery_v3_DeltaDiscoveryResponse* msg) {
|
1223
1254
|
upb_StringView default_val = upb_StringView_FromString("");
|
1224
1255
|
upb_StringView ret;
|
1225
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1226
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1256
|
+
const upb_MiniTableField field = {5, UPB_SIZE(44, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1257
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1258
|
+
&default_val, &ret);
|
1227
1259
|
return ret;
|
1228
1260
|
}
|
1229
1261
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryResponse_clear_removed_resources(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg) {
|
1230
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
1231
|
-
|
1262
|
+
const upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1263
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1232
1264
|
}
|
1233
1265
|
UPB_INLINE upb_StringView const* envoy_service_discovery_v3_DeltaDiscoveryResponse_removed_resources(const envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, size_t* size) {
|
1234
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
1235
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1266
|
+
const upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1267
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1236
1268
|
if (arr) {
|
1237
|
-
if (size) *size = arr->size;
|
1238
|
-
return (upb_StringView const*)
|
1269
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1270
|
+
return (upb_StringView const*)upb_Array_DataPtr(arr);
|
1239
1271
|
} else {
|
1240
1272
|
if (size) *size = 0;
|
1241
1273
|
return NULL;
|
1242
1274
|
}
|
1243
1275
|
}
|
1244
1276
|
UPB_INLINE const upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryResponse_removed_resources_upb_array(const envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, size_t* size) {
|
1245
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
1246
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1277
|
+
const upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1278
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1247
1279
|
if (size) {
|
1248
|
-
*size = arr ? arr->size : 0;
|
1280
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1249
1281
|
}
|
1250
1282
|
return arr;
|
1251
1283
|
}
|
1252
|
-
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryResponse_removed_resources_mutable_upb_array(
|
1253
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
1254
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1255
|
-
|
1284
|
+
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryResponse_removed_resources_mutable_upb_array(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, size_t* size, upb_Arena* arena) {
|
1285
|
+
const upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1286
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1287
|
+
&field, arena);
|
1256
1288
|
if (size) {
|
1257
|
-
*size = arr ? arr->size : 0;
|
1289
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1258
1290
|
}
|
1259
1291
|
return arr;
|
1260
1292
|
}
|
1261
|
-
UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryResponse_has_removed_resources(const envoy_service_discovery_v3_DeltaDiscoveryResponse* msg) {
|
1262
|
-
size_t size;
|
1263
|
-
envoy_service_discovery_v3_DeltaDiscoveryResponse_removed_resources(msg, &size);
|
1264
|
-
return size != 0;
|
1265
|
-
}
|
1266
1293
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryResponse_clear_control_plane(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg) {
|
1267
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
1268
|
-
|
1294
|
+
const upb_MiniTableField field = {7, UPB_SIZE(20, 80), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1295
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1269
1296
|
}
|
1270
1297
|
UPB_INLINE const struct envoy_config_core_v3_ControlPlane* envoy_service_discovery_v3_DeltaDiscoveryResponse_control_plane(const envoy_service_discovery_v3_DeltaDiscoveryResponse* msg) {
|
1271
1298
|
const struct envoy_config_core_v3_ControlPlane* default_val = NULL;
|
1272
1299
|
const struct envoy_config_core_v3_ControlPlane* ret;
|
1273
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
1274
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1300
|
+
const upb_MiniTableField field = {7, UPB_SIZE(20, 80), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1301
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1302
|
+
&default_val, &ret);
|
1275
1303
|
return ret;
|
1276
1304
|
}
|
1277
1305
|
UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryResponse_has_control_plane(const envoy_service_discovery_v3_DeltaDiscoveryResponse* msg) {
|
1278
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
1279
|
-
return
|
1306
|
+
const upb_MiniTableField field = {7, UPB_SIZE(20, 80), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1307
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1280
1308
|
}
|
1281
1309
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryResponse_clear_removed_resource_names(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg) {
|
1282
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
1283
|
-
|
1310
|
+
const upb_MiniTableField field = {8, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1311
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1284
1312
|
}
|
1285
1313
|
UPB_INLINE const envoy_service_discovery_v3_ResourceName* const* envoy_service_discovery_v3_DeltaDiscoveryResponse_removed_resource_names(const envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, size_t* size) {
|
1286
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
1287
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1314
|
+
const upb_MiniTableField field = {8, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1315
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1288
1316
|
if (arr) {
|
1289
|
-
if (size) *size = arr->size;
|
1290
|
-
return (const envoy_service_discovery_v3_ResourceName* const*)
|
1317
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1318
|
+
return (const envoy_service_discovery_v3_ResourceName* const*)upb_Array_DataPtr(arr);
|
1291
1319
|
} else {
|
1292
1320
|
if (size) *size = 0;
|
1293
1321
|
return NULL;
|
1294
1322
|
}
|
1295
1323
|
}
|
1296
1324
|
UPB_INLINE const upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryResponse_removed_resource_names_upb_array(const envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, size_t* size) {
|
1297
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
1298
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1325
|
+
const upb_MiniTableField field = {8, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1326
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1299
1327
|
if (size) {
|
1300
|
-
*size = arr ? arr->size : 0;
|
1328
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1301
1329
|
}
|
1302
1330
|
return arr;
|
1303
1331
|
}
|
1304
|
-
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryResponse_removed_resource_names_mutable_upb_array(
|
1305
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
1306
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1307
|
-
|
1332
|
+
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DeltaDiscoveryResponse_removed_resource_names_mutable_upb_array(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, size_t* size, upb_Arena* arena) {
|
1333
|
+
const upb_MiniTableField field = {8, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1334
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1335
|
+
&field, arena);
|
1308
1336
|
if (size) {
|
1309
|
-
*size = arr ? arr->size : 0;
|
1337
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1310
1338
|
}
|
1311
1339
|
return arr;
|
1312
1340
|
}
|
1313
|
-
UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryResponse_has_removed_resource_names(const envoy_service_discovery_v3_DeltaDiscoveryResponse* msg) {
|
1314
|
-
size_t size;
|
1315
|
-
envoy_service_discovery_v3_DeltaDiscoveryResponse_removed_resource_names(msg, &size);
|
1316
|
-
return size != 0;
|
1317
|
-
}
|
1318
1341
|
|
1319
1342
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryResponse_set_system_version_info(envoy_service_discovery_v3_DeltaDiscoveryResponse *msg, upb_StringView value) {
|
1320
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1321
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1343
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1344
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1322
1345
|
}
|
1323
1346
|
UPB_INLINE envoy_service_discovery_v3_Resource** envoy_service_discovery_v3_DeltaDiscoveryResponse_mutable_resources(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, size_t* size) {
|
1324
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
1325
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1347
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1348
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1326
1349
|
if (arr) {
|
1327
|
-
if (size) *size = arr->size;
|
1328
|
-
return (envoy_service_discovery_v3_Resource**)
|
1350
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1351
|
+
return (envoy_service_discovery_v3_Resource**)upb_Array_MutableDataPtr(arr);
|
1329
1352
|
} else {
|
1330
1353
|
if (size) *size = 0;
|
1331
1354
|
return NULL;
|
1332
1355
|
}
|
1333
1356
|
}
|
1334
1357
|
UPB_INLINE envoy_service_discovery_v3_Resource** envoy_service_discovery_v3_DeltaDiscoveryResponse_resize_resources(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, size_t size, upb_Arena* arena) {
|
1335
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
1336
|
-
return (envoy_service_discovery_v3_Resource**)upb_Message_ResizeArrayUninitialized(msg,
|
1358
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1359
|
+
return (envoy_service_discovery_v3_Resource**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1360
|
+
&field, size, arena);
|
1337
1361
|
}
|
1338
1362
|
UPB_INLINE struct envoy_service_discovery_v3_Resource* envoy_service_discovery_v3_DeltaDiscoveryResponse_add_resources(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, upb_Arena* arena) {
|
1339
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
1340
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1341
|
-
|
1363
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1364
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1365
|
+
UPB_UPCAST(msg), &field, arena);
|
1366
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1367
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1342
1368
|
return NULL;
|
1343
1369
|
}
|
1344
1370
|
struct envoy_service_discovery_v3_Resource* sub = (struct envoy_service_discovery_v3_Resource*)_upb_Message_New(&envoy__service__discovery__v3__Resource_msg_init, arena);
|
1345
1371
|
if (!arr || !sub) return NULL;
|
1346
|
-
_upb_Array_Set
|
1372
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1373
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1347
1374
|
return sub;
|
1348
1375
|
}
|
1349
1376
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryResponse_set_type_url(envoy_service_discovery_v3_DeltaDiscoveryResponse *msg, upb_StringView value) {
|
1350
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1351
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1377
|
+
const upb_MiniTableField field = {4, UPB_SIZE(36, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1378
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1352
1379
|
}
|
1353
1380
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryResponse_set_nonce(envoy_service_discovery_v3_DeltaDiscoveryResponse *msg, upb_StringView value) {
|
1354
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1355
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1381
|
+
const upb_MiniTableField field = {5, UPB_SIZE(44, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1382
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1356
1383
|
}
|
1357
1384
|
UPB_INLINE upb_StringView* envoy_service_discovery_v3_DeltaDiscoveryResponse_mutable_removed_resources(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, size_t* size) {
|
1358
|
-
upb_MiniTableField field = {6, UPB_SIZE(
|
1359
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1385
|
+
upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1386
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1360
1387
|
if (arr) {
|
1361
|
-
if (size) *size = arr->size;
|
1362
|
-
return (upb_StringView*)
|
1388
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1389
|
+
return (upb_StringView*)upb_Array_MutableDataPtr(arr);
|
1363
1390
|
} else {
|
1364
1391
|
if (size) *size = 0;
|
1365
1392
|
return NULL;
|
1366
1393
|
}
|
1367
1394
|
}
|
1368
1395
|
UPB_INLINE upb_StringView* envoy_service_discovery_v3_DeltaDiscoveryResponse_resize_removed_resources(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, size_t size, upb_Arena* arena) {
|
1369
|
-
upb_MiniTableField field = {6, UPB_SIZE(
|
1370
|
-
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg,
|
1396
|
+
upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1397
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1398
|
+
&field, size, arena);
|
1371
1399
|
}
|
1372
1400
|
UPB_INLINE bool envoy_service_discovery_v3_DeltaDiscoveryResponse_add_removed_resources(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, upb_StringView val, upb_Arena* arena) {
|
1373
|
-
upb_MiniTableField field = {6, UPB_SIZE(
|
1374
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1375
|
-
|
1401
|
+
upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1402
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1403
|
+
UPB_UPCAST(msg), &field, arena);
|
1404
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1405
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1376
1406
|
return false;
|
1377
1407
|
}
|
1378
|
-
_upb_Array_Set
|
1408
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1409
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
1379
1410
|
return true;
|
1380
1411
|
}
|
1381
1412
|
UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryResponse_set_control_plane(envoy_service_discovery_v3_DeltaDiscoveryResponse *msg, struct envoy_config_core_v3_ControlPlane* value) {
|
1382
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
1383
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1413
|
+
const upb_MiniTableField field = {7, UPB_SIZE(20, 80), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1414
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1384
1415
|
}
|
1385
1416
|
UPB_INLINE struct envoy_config_core_v3_ControlPlane* envoy_service_discovery_v3_DeltaDiscoveryResponse_mutable_control_plane(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, upb_Arena* arena) {
|
1386
1417
|
struct envoy_config_core_v3_ControlPlane* sub = (struct envoy_config_core_v3_ControlPlane*)envoy_service_discovery_v3_DeltaDiscoveryResponse_control_plane(msg);
|
@@ -1391,29 +1422,33 @@ UPB_INLINE struct envoy_config_core_v3_ControlPlane* envoy_service_discovery_v3_
|
|
1391
1422
|
return sub;
|
1392
1423
|
}
|
1393
1424
|
UPB_INLINE envoy_service_discovery_v3_ResourceName** envoy_service_discovery_v3_DeltaDiscoveryResponse_mutable_removed_resource_names(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, size_t* size) {
|
1394
|
-
upb_MiniTableField field = {8, UPB_SIZE(
|
1395
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1425
|
+
upb_MiniTableField field = {8, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1426
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1396
1427
|
if (arr) {
|
1397
|
-
if (size) *size = arr->size;
|
1398
|
-
return (envoy_service_discovery_v3_ResourceName**)
|
1428
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1429
|
+
return (envoy_service_discovery_v3_ResourceName**)upb_Array_MutableDataPtr(arr);
|
1399
1430
|
} else {
|
1400
1431
|
if (size) *size = 0;
|
1401
1432
|
return NULL;
|
1402
1433
|
}
|
1403
1434
|
}
|
1404
1435
|
UPB_INLINE envoy_service_discovery_v3_ResourceName** envoy_service_discovery_v3_DeltaDiscoveryResponse_resize_removed_resource_names(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, size_t size, upb_Arena* arena) {
|
1405
|
-
upb_MiniTableField field = {8, UPB_SIZE(
|
1406
|
-
return (envoy_service_discovery_v3_ResourceName**)upb_Message_ResizeArrayUninitialized(msg,
|
1436
|
+
upb_MiniTableField field = {8, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1437
|
+
return (envoy_service_discovery_v3_ResourceName**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1438
|
+
&field, size, arena);
|
1407
1439
|
}
|
1408
1440
|
UPB_INLINE struct envoy_service_discovery_v3_ResourceName* envoy_service_discovery_v3_DeltaDiscoveryResponse_add_removed_resource_names(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, upb_Arena* arena) {
|
1409
|
-
upb_MiniTableField field = {8, UPB_SIZE(
|
1410
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1411
|
-
|
1441
|
+
upb_MiniTableField field = {8, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1442
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1443
|
+
UPB_UPCAST(msg), &field, arena);
|
1444
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1445
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1412
1446
|
return NULL;
|
1413
1447
|
}
|
1414
1448
|
struct envoy_service_discovery_v3_ResourceName* sub = (struct envoy_service_discovery_v3_ResourceName*)_upb_Message_New(&envoy__service__discovery__v3__ResourceName_msg_init, arena);
|
1415
1449
|
if (!arr || !sub) return NULL;
|
1416
|
-
_upb_Array_Set
|
1450
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1451
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1417
1452
|
return sub;
|
1418
1453
|
}
|
1419
1454
|
|
@@ -1425,7 +1460,8 @@ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints* envoy_service
|
|
1425
1460
|
UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints* envoy_service_discovery_v3_DynamicParameterConstraints_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1426
1461
|
envoy_service_discovery_v3_DynamicParameterConstraints* ret = envoy_service_discovery_v3_DynamicParameterConstraints_new(arena);
|
1427
1462
|
if (!ret) return NULL;
|
1428
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DynamicParameterConstraints_msg_init, NULL, 0, arena) !=
|
1463
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__DynamicParameterConstraints_msg_init, NULL, 0, arena) !=
|
1464
|
+
kUpb_DecodeStatus_Ok) {
|
1429
1465
|
return NULL;
|
1430
1466
|
}
|
1431
1467
|
return ret;
|
@@ -1435,21 +1471,21 @@ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints* envoy_service
|
|
1435
1471
|
int options, upb_Arena* arena) {
|
1436
1472
|
envoy_service_discovery_v3_DynamicParameterConstraints* ret = envoy_service_discovery_v3_DynamicParameterConstraints_new(arena);
|
1437
1473
|
if (!ret) return NULL;
|
1438
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DynamicParameterConstraints_msg_init, extreg, options,
|
1439
|
-
|
1474
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__DynamicParameterConstraints_msg_init, extreg, options,
|
1475
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1440
1476
|
return NULL;
|
1441
1477
|
}
|
1442
1478
|
return ret;
|
1443
1479
|
}
|
1444
1480
|
UPB_INLINE char* envoy_service_discovery_v3_DynamicParameterConstraints_serialize(const envoy_service_discovery_v3_DynamicParameterConstraints* msg, upb_Arena* arena, size_t* len) {
|
1445
1481
|
char* ptr;
|
1446
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__DynamicParameterConstraints_msg_init, 0, arena, &ptr, len);
|
1482
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__DynamicParameterConstraints_msg_init, 0, arena, &ptr, len);
|
1447
1483
|
return ptr;
|
1448
1484
|
}
|
1449
1485
|
UPB_INLINE char* envoy_service_discovery_v3_DynamicParameterConstraints_serialize_ex(const envoy_service_discovery_v3_DynamicParameterConstraints* msg, int options,
|
1450
1486
|
upb_Arena* arena, size_t* len) {
|
1451
1487
|
char* ptr;
|
1452
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__DynamicParameterConstraints_msg_init, options, arena, &ptr, len);
|
1488
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__DynamicParameterConstraints_msg_init, options, arena, &ptr, len);
|
1453
1489
|
return ptr;
|
1454
1490
|
}
|
1455
1491
|
typedef enum {
|
@@ -1460,73 +1496,78 @@ typedef enum {
|
|
1460
1496
|
envoy_service_discovery_v3_DynamicParameterConstraints_type_NOT_SET = 0
|
1461
1497
|
} envoy_service_discovery_v3_DynamicParameterConstraints_type_oneofcases;
|
1462
1498
|
UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_type_oneofcases envoy_service_discovery_v3_DynamicParameterConstraints_type_case(const envoy_service_discovery_v3_DynamicParameterConstraints* msg) {
|
1463
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1464
|
-
return (envoy_service_discovery_v3_DynamicParameterConstraints_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
1499
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1500
|
+
return (envoy_service_discovery_v3_DynamicParameterConstraints_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
1501
|
+
UPB_UPCAST(msg), &field);
|
1465
1502
|
}
|
1466
1503
|
UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_clear_constraint(envoy_service_discovery_v3_DynamicParameterConstraints* msg) {
|
1467
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1468
|
-
|
1504
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1505
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1469
1506
|
}
|
1470
1507
|
UPB_INLINE const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* envoy_service_discovery_v3_DynamicParameterConstraints_constraint(const envoy_service_discovery_v3_DynamicParameterConstraints* msg) {
|
1471
1508
|
const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* default_val = NULL;
|
1472
1509
|
const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* ret;
|
1473
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1474
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1510
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1511
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1512
|
+
&default_val, &ret);
|
1475
1513
|
return ret;
|
1476
1514
|
}
|
1477
1515
|
UPB_INLINE bool envoy_service_discovery_v3_DynamicParameterConstraints_has_constraint(const envoy_service_discovery_v3_DynamicParameterConstraints* msg) {
|
1478
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1479
|
-
return
|
1516
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1517
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1480
1518
|
}
|
1481
1519
|
UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_clear_or_constraints(envoy_service_discovery_v3_DynamicParameterConstraints* msg) {
|
1482
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1483
|
-
|
1520
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1521
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1484
1522
|
}
|
1485
1523
|
UPB_INLINE const envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* envoy_service_discovery_v3_DynamicParameterConstraints_or_constraints(const envoy_service_discovery_v3_DynamicParameterConstraints* msg) {
|
1486
1524
|
const envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* default_val = NULL;
|
1487
1525
|
const envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* ret;
|
1488
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1489
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1526
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1527
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1528
|
+
&default_val, &ret);
|
1490
1529
|
return ret;
|
1491
1530
|
}
|
1492
1531
|
UPB_INLINE bool envoy_service_discovery_v3_DynamicParameterConstraints_has_or_constraints(const envoy_service_discovery_v3_DynamicParameterConstraints* msg) {
|
1493
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1494
|
-
return
|
1532
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1533
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1495
1534
|
}
|
1496
1535
|
UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_clear_and_constraints(envoy_service_discovery_v3_DynamicParameterConstraints* msg) {
|
1497
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1498
|
-
|
1536
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1537
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1499
1538
|
}
|
1500
1539
|
UPB_INLINE const envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* envoy_service_discovery_v3_DynamicParameterConstraints_and_constraints(const envoy_service_discovery_v3_DynamicParameterConstraints* msg) {
|
1501
1540
|
const envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* default_val = NULL;
|
1502
1541
|
const envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* ret;
|
1503
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1504
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1542
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1543
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1544
|
+
&default_val, &ret);
|
1505
1545
|
return ret;
|
1506
1546
|
}
|
1507
1547
|
UPB_INLINE bool envoy_service_discovery_v3_DynamicParameterConstraints_has_and_constraints(const envoy_service_discovery_v3_DynamicParameterConstraints* msg) {
|
1508
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1509
|
-
return
|
1548
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1549
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1510
1550
|
}
|
1511
1551
|
UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_clear_not_constraints(envoy_service_discovery_v3_DynamicParameterConstraints* msg) {
|
1512
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1513
|
-
|
1552
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1553
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1514
1554
|
}
|
1515
1555
|
UPB_INLINE const envoy_service_discovery_v3_DynamicParameterConstraints* envoy_service_discovery_v3_DynamicParameterConstraints_not_constraints(const envoy_service_discovery_v3_DynamicParameterConstraints* msg) {
|
1516
1556
|
const envoy_service_discovery_v3_DynamicParameterConstraints* default_val = NULL;
|
1517
1557
|
const envoy_service_discovery_v3_DynamicParameterConstraints* ret;
|
1518
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1519
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1558
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1559
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1560
|
+
&default_val, &ret);
|
1520
1561
|
return ret;
|
1521
1562
|
}
|
1522
1563
|
UPB_INLINE bool envoy_service_discovery_v3_DynamicParameterConstraints_has_not_constraints(const envoy_service_discovery_v3_DynamicParameterConstraints* msg) {
|
1523
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1524
|
-
return
|
1564
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1565
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1525
1566
|
}
|
1526
1567
|
|
1527
1568
|
UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_set_constraint(envoy_service_discovery_v3_DynamicParameterConstraints *msg, envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* value) {
|
1528
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1529
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1569
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1570
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1530
1571
|
}
|
1531
1572
|
UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* envoy_service_discovery_v3_DynamicParameterConstraints_mutable_constraint(envoy_service_discovery_v3_DynamicParameterConstraints* msg, upb_Arena* arena) {
|
1532
1573
|
struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint*)envoy_service_discovery_v3_DynamicParameterConstraints_constraint(msg);
|
@@ -1537,8 +1578,8 @@ UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleC
|
|
1537
1578
|
return sub;
|
1538
1579
|
}
|
1539
1580
|
UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_set_or_constraints(envoy_service_discovery_v3_DynamicParameterConstraints *msg, envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* value) {
|
1540
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1541
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1581
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1582
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1542
1583
|
}
|
1543
1584
|
UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* envoy_service_discovery_v3_DynamicParameterConstraints_mutable_or_constraints(envoy_service_discovery_v3_DynamicParameterConstraints* msg, upb_Arena* arena) {
|
1544
1585
|
struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList*)envoy_service_discovery_v3_DynamicParameterConstraints_or_constraints(msg);
|
@@ -1549,8 +1590,8 @@ UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints_Constra
|
|
1549
1590
|
return sub;
|
1550
1591
|
}
|
1551
1592
|
UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_set_and_constraints(envoy_service_discovery_v3_DynamicParameterConstraints *msg, envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* value) {
|
1552
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1553
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1593
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1594
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1554
1595
|
}
|
1555
1596
|
UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* envoy_service_discovery_v3_DynamicParameterConstraints_mutable_and_constraints(envoy_service_discovery_v3_DynamicParameterConstraints* msg, upb_Arena* arena) {
|
1556
1597
|
struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList*)envoy_service_discovery_v3_DynamicParameterConstraints_and_constraints(msg);
|
@@ -1561,8 +1602,8 @@ UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints_Constra
|
|
1561
1602
|
return sub;
|
1562
1603
|
}
|
1563
1604
|
UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_set_not_constraints(envoy_service_discovery_v3_DynamicParameterConstraints *msg, envoy_service_discovery_v3_DynamicParameterConstraints* value) {
|
1564
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1565
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1605
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1606
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1566
1607
|
}
|
1567
1608
|
UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints* envoy_service_discovery_v3_DynamicParameterConstraints_mutable_not_constraints(envoy_service_discovery_v3_DynamicParameterConstraints* msg, upb_Arena* arena) {
|
1568
1609
|
struct envoy_service_discovery_v3_DynamicParameterConstraints* sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints*)envoy_service_discovery_v3_DynamicParameterConstraints_not_constraints(msg);
|
@@ -1581,7 +1622,8 @@ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstrai
|
|
1581
1622
|
UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1582
1623
|
envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* ret = envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_new(arena);
|
1583
1624
|
if (!ret) return NULL;
|
1584
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint_msg_init, NULL, 0, arena) !=
|
1625
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint_msg_init, NULL, 0, arena) !=
|
1626
|
+
kUpb_DecodeStatus_Ok) {
|
1585
1627
|
return NULL;
|
1586
1628
|
}
|
1587
1629
|
return ret;
|
@@ -1591,21 +1633,21 @@ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstrai
|
|
1591
1633
|
int options, upb_Arena* arena) {
|
1592
1634
|
envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* ret = envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_new(arena);
|
1593
1635
|
if (!ret) return NULL;
|
1594
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint_msg_init, extreg, options,
|
1595
|
-
|
1636
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint_msg_init, extreg, options,
|
1637
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1596
1638
|
return NULL;
|
1597
1639
|
}
|
1598
1640
|
return ret;
|
1599
1641
|
}
|
1600
1642
|
UPB_INLINE char* envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_serialize(const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* msg, upb_Arena* arena, size_t* len) {
|
1601
1643
|
char* ptr;
|
1602
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint_msg_init, 0, arena, &ptr, len);
|
1644
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint_msg_init, 0, arena, &ptr, len);
|
1603
1645
|
return ptr;
|
1604
1646
|
}
|
1605
1647
|
UPB_INLINE char* envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_serialize_ex(const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* msg, int options,
|
1606
1648
|
upb_Arena* arena, size_t* len) {
|
1607
1649
|
char* ptr;
|
1608
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint_msg_init, options, arena, &ptr, len);
|
1650
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint_msg_init, options, arena, &ptr, len);
|
1609
1651
|
return ptr;
|
1610
1652
|
}
|
1611
1653
|
typedef enum {
|
@@ -1614,62 +1656,66 @@ typedef enum {
|
|
1614
1656
|
envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_constraint_type_NOT_SET = 0
|
1615
1657
|
} envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_constraint_type_oneofcases;
|
1616
1658
|
UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_constraint_type_oneofcases envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_constraint_type_case(const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* msg) {
|
1617
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1618
|
-
return (envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_constraint_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
1659
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1660
|
+
return (envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_constraint_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
1661
|
+
UPB_UPCAST(msg), &field);
|
1619
1662
|
}
|
1620
1663
|
UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_clear_key(envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* msg) {
|
1621
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1622
|
-
|
1664
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1665
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1623
1666
|
}
|
1624
1667
|
UPB_INLINE upb_StringView envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_key(const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* msg) {
|
1625
1668
|
upb_StringView default_val = upb_StringView_FromString("");
|
1626
1669
|
upb_StringView ret;
|
1627
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1628
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1670
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1671
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1672
|
+
&default_val, &ret);
|
1629
1673
|
return ret;
|
1630
1674
|
}
|
1631
1675
|
UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_clear_value(envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* msg) {
|
1632
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1633
|
-
|
1676
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1677
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1634
1678
|
}
|
1635
1679
|
UPB_INLINE upb_StringView envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_value(const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* msg) {
|
1636
1680
|
upb_StringView default_val = upb_StringView_FromString("");
|
1637
1681
|
upb_StringView ret;
|
1638
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1639
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1682
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1683
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1684
|
+
&default_val, &ret);
|
1640
1685
|
return ret;
|
1641
1686
|
}
|
1642
1687
|
UPB_INLINE bool envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_has_value(const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* msg) {
|
1643
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1644
|
-
return
|
1688
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1689
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1645
1690
|
}
|
1646
1691
|
UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_clear_exists(envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* msg) {
|
1647
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1648
|
-
|
1692
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1693
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1649
1694
|
}
|
1650
1695
|
UPB_INLINE const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_exists(const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* msg) {
|
1651
1696
|
const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* default_val = NULL;
|
1652
1697
|
const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* ret;
|
1653
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1654
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1698
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1699
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1700
|
+
&default_val, &ret);
|
1655
1701
|
return ret;
|
1656
1702
|
}
|
1657
1703
|
UPB_INLINE bool envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_has_exists(const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* msg) {
|
1658
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1659
|
-
return
|
1704
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1705
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1660
1706
|
}
|
1661
1707
|
|
1662
1708
|
UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_set_key(envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint *msg, upb_StringView value) {
|
1663
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1664
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1709
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1710
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1665
1711
|
}
|
1666
1712
|
UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_set_value(envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint *msg, upb_StringView value) {
|
1667
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1668
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1713
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1714
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1669
1715
|
}
|
1670
1716
|
UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_set_exists(envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint *msg, envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* value) {
|
1671
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1672
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1717
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1718
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1673
1719
|
}
|
1674
1720
|
UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_mutable_exists(envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* msg, upb_Arena* arena) {
|
1675
1721
|
struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists*)envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_exists(msg);
|
@@ -1688,7 +1734,8 @@ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstrai
|
|
1688
1734
|
UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1689
1735
|
envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* ret = envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_new(arena);
|
1690
1736
|
if (!ret) return NULL;
|
1691
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint__Exists_msg_init, NULL, 0, arena) !=
|
1737
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint__Exists_msg_init, NULL, 0, arena) !=
|
1738
|
+
kUpb_DecodeStatus_Ok) {
|
1692
1739
|
return NULL;
|
1693
1740
|
}
|
1694
1741
|
return ret;
|
@@ -1698,21 +1745,21 @@ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstrai
|
|
1698
1745
|
int options, upb_Arena* arena) {
|
1699
1746
|
envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* ret = envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_new(arena);
|
1700
1747
|
if (!ret) return NULL;
|
1701
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint__Exists_msg_init, extreg, options,
|
1702
|
-
|
1748
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint__Exists_msg_init, extreg, options,
|
1749
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1703
1750
|
return NULL;
|
1704
1751
|
}
|
1705
1752
|
return ret;
|
1706
1753
|
}
|
1707
1754
|
UPB_INLINE char* envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_serialize(const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* msg, upb_Arena* arena, size_t* len) {
|
1708
1755
|
char* ptr;
|
1709
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint__Exists_msg_init, 0, arena, &ptr, len);
|
1756
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint__Exists_msg_init, 0, arena, &ptr, len);
|
1710
1757
|
return ptr;
|
1711
1758
|
}
|
1712
1759
|
UPB_INLINE char* envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_serialize_ex(const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* msg, int options,
|
1713
1760
|
upb_Arena* arena, size_t* len) {
|
1714
1761
|
char* ptr;
|
1715
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint__Exists_msg_init, options, arena, &ptr, len);
|
1762
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint__Exists_msg_init, options, arena, &ptr, len);
|
1716
1763
|
return ptr;
|
1717
1764
|
}
|
1718
1765
|
|
@@ -1725,7 +1772,8 @@ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList
|
|
1725
1772
|
UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1726
1773
|
envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* ret = envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_new(arena);
|
1727
1774
|
if (!ret) return NULL;
|
1728
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init, NULL, 0, arena) !=
|
1775
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init, NULL, 0, arena) !=
|
1776
|
+
kUpb_DecodeStatus_Ok) {
|
1729
1777
|
return NULL;
|
1730
1778
|
}
|
1731
1779
|
return ret;
|
@@ -1735,85 +1783,84 @@ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList
|
|
1735
1783
|
int options, upb_Arena* arena) {
|
1736
1784
|
envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* ret = envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_new(arena);
|
1737
1785
|
if (!ret) return NULL;
|
1738
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init, extreg, options,
|
1739
|
-
|
1786
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init, extreg, options,
|
1787
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1740
1788
|
return NULL;
|
1741
1789
|
}
|
1742
1790
|
return ret;
|
1743
1791
|
}
|
1744
1792
|
UPB_INLINE char* envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_serialize(const envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* msg, upb_Arena* arena, size_t* len) {
|
1745
1793
|
char* ptr;
|
1746
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init, 0, arena, &ptr, len);
|
1794
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init, 0, arena, &ptr, len);
|
1747
1795
|
return ptr;
|
1748
1796
|
}
|
1749
1797
|
UPB_INLINE char* envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_serialize_ex(const envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* msg, int options,
|
1750
1798
|
upb_Arena* arena, size_t* len) {
|
1751
1799
|
char* ptr;
|
1752
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init, options, arena, &ptr, len);
|
1800
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init, options, arena, &ptr, len);
|
1753
1801
|
return ptr;
|
1754
1802
|
}
|
1755
1803
|
UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_clear_constraints(envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* msg) {
|
1756
|
-
const upb_MiniTableField field = {1,
|
1757
|
-
|
1804
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1805
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1758
1806
|
}
|
1759
1807
|
UPB_INLINE const envoy_service_discovery_v3_DynamicParameterConstraints* const* envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_constraints(const envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* msg, size_t* size) {
|
1760
|
-
const upb_MiniTableField field = {1,
|
1761
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1808
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1809
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1762
1810
|
if (arr) {
|
1763
|
-
if (size) *size = arr->size;
|
1764
|
-
return (const envoy_service_discovery_v3_DynamicParameterConstraints* const*)
|
1811
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1812
|
+
return (const envoy_service_discovery_v3_DynamicParameterConstraints* const*)upb_Array_DataPtr(arr);
|
1765
1813
|
} else {
|
1766
1814
|
if (size) *size = 0;
|
1767
1815
|
return NULL;
|
1768
1816
|
}
|
1769
1817
|
}
|
1770
1818
|
UPB_INLINE const upb_Array* _envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_constraints_upb_array(const envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* msg, size_t* size) {
|
1771
|
-
const upb_MiniTableField field = {1,
|
1772
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1819
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1820
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1773
1821
|
if (size) {
|
1774
|
-
*size = arr ? arr->size : 0;
|
1822
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1775
1823
|
}
|
1776
1824
|
return arr;
|
1777
1825
|
}
|
1778
|
-
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_constraints_mutable_upb_array(
|
1779
|
-
const upb_MiniTableField field = {1,
|
1780
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1781
|
-
|
1826
|
+
UPB_INLINE upb_Array* _envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_constraints_mutable_upb_array(envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* msg, size_t* size, upb_Arena* arena) {
|
1827
|
+
const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1828
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1829
|
+
&field, arena);
|
1782
1830
|
if (size) {
|
1783
|
-
*size = arr ? arr->size : 0;
|
1831
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1784
1832
|
}
|
1785
1833
|
return arr;
|
1786
1834
|
}
|
1787
|
-
UPB_INLINE bool envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_has_constraints(const envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* msg) {
|
1788
|
-
size_t size;
|
1789
|
-
envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_constraints(msg, &size);
|
1790
|
-
return size != 0;
|
1791
|
-
}
|
1792
1835
|
|
1793
1836
|
UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints** envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_mutable_constraints(envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* msg, size_t* size) {
|
1794
|
-
upb_MiniTableField field = {1,
|
1795
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1837
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1838
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1796
1839
|
if (arr) {
|
1797
|
-
if (size) *size = arr->size;
|
1798
|
-
return (envoy_service_discovery_v3_DynamicParameterConstraints**)
|
1840
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1841
|
+
return (envoy_service_discovery_v3_DynamicParameterConstraints**)upb_Array_MutableDataPtr(arr);
|
1799
1842
|
} else {
|
1800
1843
|
if (size) *size = 0;
|
1801
1844
|
return NULL;
|
1802
1845
|
}
|
1803
1846
|
}
|
1804
1847
|
UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints** envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_resize_constraints(envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* msg, size_t size, upb_Arena* arena) {
|
1805
|
-
upb_MiniTableField field = {1,
|
1806
|
-
return (envoy_service_discovery_v3_DynamicParameterConstraints**)upb_Message_ResizeArrayUninitialized(msg,
|
1848
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1849
|
+
return (envoy_service_discovery_v3_DynamicParameterConstraints**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1850
|
+
&field, size, arena);
|
1807
1851
|
}
|
1808
1852
|
UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints* envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_add_constraints(envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* msg, upb_Arena* arena) {
|
1809
|
-
upb_MiniTableField field = {1,
|
1810
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1811
|
-
|
1853
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1854
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1855
|
+
UPB_UPCAST(msg), &field, arena);
|
1856
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1857
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1812
1858
|
return NULL;
|
1813
1859
|
}
|
1814
1860
|
struct envoy_service_discovery_v3_DynamicParameterConstraints* sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints*)_upb_Message_New(&envoy__service__discovery__v3__DynamicParameterConstraints_msg_init, arena);
|
1815
1861
|
if (!arr || !sub) return NULL;
|
1816
|
-
_upb_Array_Set
|
1862
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1863
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1817
1864
|
return sub;
|
1818
1865
|
}
|
1819
1866
|
|
@@ -1825,7 +1872,8 @@ UPB_INLINE envoy_service_discovery_v3_Resource* envoy_service_discovery_v3_Resou
|
|
1825
1872
|
UPB_INLINE envoy_service_discovery_v3_Resource* envoy_service_discovery_v3_Resource_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1826
1873
|
envoy_service_discovery_v3_Resource* ret = envoy_service_discovery_v3_Resource_new(arena);
|
1827
1874
|
if (!ret) return NULL;
|
1828
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__Resource_msg_init, NULL, 0, arena) !=
|
1875
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__Resource_msg_init, NULL, 0, arena) !=
|
1876
|
+
kUpb_DecodeStatus_Ok) {
|
1829
1877
|
return NULL;
|
1830
1878
|
}
|
1831
1879
|
return ret;
|
@@ -1835,165 +1883,167 @@ UPB_INLINE envoy_service_discovery_v3_Resource* envoy_service_discovery_v3_Resou
|
|
1835
1883
|
int options, upb_Arena* arena) {
|
1836
1884
|
envoy_service_discovery_v3_Resource* ret = envoy_service_discovery_v3_Resource_new(arena);
|
1837
1885
|
if (!ret) return NULL;
|
1838
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__Resource_msg_init, extreg, options,
|
1839
|
-
|
1886
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__Resource_msg_init, extreg, options,
|
1887
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1840
1888
|
return NULL;
|
1841
1889
|
}
|
1842
1890
|
return ret;
|
1843
1891
|
}
|
1844
1892
|
UPB_INLINE char* envoy_service_discovery_v3_Resource_serialize(const envoy_service_discovery_v3_Resource* msg, upb_Arena* arena, size_t* len) {
|
1845
1893
|
char* ptr;
|
1846
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__Resource_msg_init, 0, arena, &ptr, len);
|
1894
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__Resource_msg_init, 0, arena, &ptr, len);
|
1847
1895
|
return ptr;
|
1848
1896
|
}
|
1849
1897
|
UPB_INLINE char* envoy_service_discovery_v3_Resource_serialize_ex(const envoy_service_discovery_v3_Resource* msg, int options,
|
1850
1898
|
upb_Arena* arena, size_t* len) {
|
1851
1899
|
char* ptr;
|
1852
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__Resource_msg_init, options, arena, &ptr, len);
|
1900
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__Resource_msg_init, options, arena, &ptr, len);
|
1853
1901
|
return ptr;
|
1854
1902
|
}
|
1855
1903
|
UPB_INLINE void envoy_service_discovery_v3_Resource_clear_version(envoy_service_discovery_v3_Resource* msg) {
|
1856
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1857
|
-
|
1904
|
+
const upb_MiniTableField field = {1, UPB_SIZE(36, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1905
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1858
1906
|
}
|
1859
1907
|
UPB_INLINE upb_StringView envoy_service_discovery_v3_Resource_version(const envoy_service_discovery_v3_Resource* msg) {
|
1860
1908
|
upb_StringView default_val = upb_StringView_FromString("");
|
1861
1909
|
upb_StringView ret;
|
1862
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1863
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1910
|
+
const upb_MiniTableField field = {1, UPB_SIZE(36, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1911
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1912
|
+
&default_val, &ret);
|
1864
1913
|
return ret;
|
1865
1914
|
}
|
1866
1915
|
UPB_INLINE void envoy_service_discovery_v3_Resource_clear_resource(envoy_service_discovery_v3_Resource* msg) {
|
1867
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1868
|
-
|
1916
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1917
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1869
1918
|
}
|
1870
1919
|
UPB_INLINE const struct google_protobuf_Any* envoy_service_discovery_v3_Resource_resource(const envoy_service_discovery_v3_Resource* msg) {
|
1871
1920
|
const struct google_protobuf_Any* default_val = NULL;
|
1872
1921
|
const struct google_protobuf_Any* ret;
|
1873
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1874
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1922
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1923
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1924
|
+
&default_val, &ret);
|
1875
1925
|
return ret;
|
1876
1926
|
}
|
1877
1927
|
UPB_INLINE bool envoy_service_discovery_v3_Resource_has_resource(const envoy_service_discovery_v3_Resource* msg) {
|
1878
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1879
|
-
return
|
1928
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1929
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1880
1930
|
}
|
1881
1931
|
UPB_INLINE void envoy_service_discovery_v3_Resource_clear_name(envoy_service_discovery_v3_Resource* msg) {
|
1882
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1883
|
-
|
1932
|
+
const upb_MiniTableField field = {3, UPB_SIZE(44, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1933
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1884
1934
|
}
|
1885
1935
|
UPB_INLINE upb_StringView envoy_service_discovery_v3_Resource_name(const envoy_service_discovery_v3_Resource* msg) {
|
1886
1936
|
upb_StringView default_val = upb_StringView_FromString("");
|
1887
1937
|
upb_StringView ret;
|
1888
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1889
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1938
|
+
const upb_MiniTableField field = {3, UPB_SIZE(44, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1939
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1940
|
+
&default_val, &ret);
|
1890
1941
|
return ret;
|
1891
1942
|
}
|
1892
1943
|
UPB_INLINE void envoy_service_discovery_v3_Resource_clear_aliases(envoy_service_discovery_v3_Resource* msg) {
|
1893
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1894
|
-
|
1944
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1945
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1895
1946
|
}
|
1896
1947
|
UPB_INLINE upb_StringView const* envoy_service_discovery_v3_Resource_aliases(const envoy_service_discovery_v3_Resource* msg, size_t* size) {
|
1897
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1898
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1948
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1949
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1899
1950
|
if (arr) {
|
1900
|
-
if (size) *size = arr->size;
|
1901
|
-
return (upb_StringView const*)
|
1951
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1952
|
+
return (upb_StringView const*)upb_Array_DataPtr(arr);
|
1902
1953
|
} else {
|
1903
1954
|
if (size) *size = 0;
|
1904
1955
|
return NULL;
|
1905
1956
|
}
|
1906
1957
|
}
|
1907
1958
|
UPB_INLINE const upb_Array* _envoy_service_discovery_v3_Resource_aliases_upb_array(const envoy_service_discovery_v3_Resource* msg, size_t* size) {
|
1908
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1909
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1959
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1960
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1910
1961
|
if (size) {
|
1911
|
-
*size = arr ? arr->size : 0;
|
1962
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1912
1963
|
}
|
1913
1964
|
return arr;
|
1914
1965
|
}
|
1915
|
-
UPB_INLINE upb_Array* _envoy_service_discovery_v3_Resource_aliases_mutable_upb_array(
|
1916
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1917
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1918
|
-
|
1966
|
+
UPB_INLINE upb_Array* _envoy_service_discovery_v3_Resource_aliases_mutable_upb_array(envoy_service_discovery_v3_Resource* msg, size_t* size, upb_Arena* arena) {
|
1967
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1968
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1969
|
+
&field, arena);
|
1919
1970
|
if (size) {
|
1920
|
-
*size = arr ? arr->size : 0;
|
1971
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1921
1972
|
}
|
1922
1973
|
return arr;
|
1923
1974
|
}
|
1924
|
-
UPB_INLINE bool envoy_service_discovery_v3_Resource_has_aliases(const envoy_service_discovery_v3_Resource* msg) {
|
1925
|
-
size_t size;
|
1926
|
-
envoy_service_discovery_v3_Resource_aliases(msg, &size);
|
1927
|
-
return size != 0;
|
1928
|
-
}
|
1929
1975
|
UPB_INLINE void envoy_service_discovery_v3_Resource_clear_ttl(envoy_service_discovery_v3_Resource* msg) {
|
1930
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
1931
|
-
|
1976
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 64), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1977
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1932
1978
|
}
|
1933
1979
|
UPB_INLINE const struct google_protobuf_Duration* envoy_service_discovery_v3_Resource_ttl(const envoy_service_discovery_v3_Resource* msg) {
|
1934
1980
|
const struct google_protobuf_Duration* default_val = NULL;
|
1935
1981
|
const struct google_protobuf_Duration* ret;
|
1936
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
1937
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1982
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 64), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1983
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1984
|
+
&default_val, &ret);
|
1938
1985
|
return ret;
|
1939
1986
|
}
|
1940
1987
|
UPB_INLINE bool envoy_service_discovery_v3_Resource_has_ttl(const envoy_service_discovery_v3_Resource* msg) {
|
1941
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
1942
|
-
return
|
1988
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 64), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1989
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1943
1990
|
}
|
1944
1991
|
UPB_INLINE void envoy_service_discovery_v3_Resource_clear_cache_control(envoy_service_discovery_v3_Resource* msg) {
|
1945
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
1946
|
-
|
1992
|
+
const upb_MiniTableField field = {7, UPB_SIZE(24, 72), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1993
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1947
1994
|
}
|
1948
1995
|
UPB_INLINE const envoy_service_discovery_v3_Resource_CacheControl* envoy_service_discovery_v3_Resource_cache_control(const envoy_service_discovery_v3_Resource* msg) {
|
1949
1996
|
const envoy_service_discovery_v3_Resource_CacheControl* default_val = NULL;
|
1950
1997
|
const envoy_service_discovery_v3_Resource_CacheControl* ret;
|
1951
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
1952
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1998
|
+
const upb_MiniTableField field = {7, UPB_SIZE(24, 72), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1999
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2000
|
+
&default_val, &ret);
|
1953
2001
|
return ret;
|
1954
2002
|
}
|
1955
2003
|
UPB_INLINE bool envoy_service_discovery_v3_Resource_has_cache_control(const envoy_service_discovery_v3_Resource* msg) {
|
1956
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
1957
|
-
return
|
2004
|
+
const upb_MiniTableField field = {7, UPB_SIZE(24, 72), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2005
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1958
2006
|
}
|
1959
2007
|
UPB_INLINE void envoy_service_discovery_v3_Resource_clear_resource_name(envoy_service_discovery_v3_Resource* msg) {
|
1960
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
1961
|
-
|
2008
|
+
const upb_MiniTableField field = {8, UPB_SIZE(28, 80), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2009
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1962
2010
|
}
|
1963
2011
|
UPB_INLINE const envoy_service_discovery_v3_ResourceName* envoy_service_discovery_v3_Resource_resource_name(const envoy_service_discovery_v3_Resource* msg) {
|
1964
2012
|
const envoy_service_discovery_v3_ResourceName* default_val = NULL;
|
1965
2013
|
const envoy_service_discovery_v3_ResourceName* ret;
|
1966
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
1967
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2014
|
+
const upb_MiniTableField field = {8, UPB_SIZE(28, 80), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2015
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2016
|
+
&default_val, &ret);
|
1968
2017
|
return ret;
|
1969
2018
|
}
|
1970
2019
|
UPB_INLINE bool envoy_service_discovery_v3_Resource_has_resource_name(const envoy_service_discovery_v3_Resource* msg) {
|
1971
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
1972
|
-
return
|
2020
|
+
const upb_MiniTableField field = {8, UPB_SIZE(28, 80), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2021
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1973
2022
|
}
|
1974
2023
|
UPB_INLINE void envoy_service_discovery_v3_Resource_clear_metadata(envoy_service_discovery_v3_Resource* msg) {
|
1975
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
1976
|
-
|
2024
|
+
const upb_MiniTableField field = {9, UPB_SIZE(32, 88), 68, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2025
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1977
2026
|
}
|
1978
2027
|
UPB_INLINE const struct envoy_config_core_v3_Metadata* envoy_service_discovery_v3_Resource_metadata(const envoy_service_discovery_v3_Resource* msg) {
|
1979
2028
|
const struct envoy_config_core_v3_Metadata* default_val = NULL;
|
1980
2029
|
const struct envoy_config_core_v3_Metadata* ret;
|
1981
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
1982
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2030
|
+
const upb_MiniTableField field = {9, UPB_SIZE(32, 88), 68, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2031
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2032
|
+
&default_val, &ret);
|
1983
2033
|
return ret;
|
1984
2034
|
}
|
1985
2035
|
UPB_INLINE bool envoy_service_discovery_v3_Resource_has_metadata(const envoy_service_discovery_v3_Resource* msg) {
|
1986
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
1987
|
-
return
|
2036
|
+
const upb_MiniTableField field = {9, UPB_SIZE(32, 88), 68, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2037
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1988
2038
|
}
|
1989
2039
|
|
1990
2040
|
UPB_INLINE void envoy_service_discovery_v3_Resource_set_version(envoy_service_discovery_v3_Resource *msg, upb_StringView value) {
|
1991
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1992
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2041
|
+
const upb_MiniTableField field = {1, UPB_SIZE(36, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2042
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1993
2043
|
}
|
1994
2044
|
UPB_INLINE void envoy_service_discovery_v3_Resource_set_resource(envoy_service_discovery_v3_Resource *msg, struct google_protobuf_Any* value) {
|
1995
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1996
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2045
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2046
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1997
2047
|
}
|
1998
2048
|
UPB_INLINE struct google_protobuf_Any* envoy_service_discovery_v3_Resource_mutable_resource(envoy_service_discovery_v3_Resource* msg, upb_Arena* arena) {
|
1999
2049
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_service_discovery_v3_Resource_resource(msg);
|
@@ -2004,36 +2054,40 @@ UPB_INLINE struct google_protobuf_Any* envoy_service_discovery_v3_Resource_mutab
|
|
2004
2054
|
return sub;
|
2005
2055
|
}
|
2006
2056
|
UPB_INLINE void envoy_service_discovery_v3_Resource_set_name(envoy_service_discovery_v3_Resource *msg, upb_StringView value) {
|
2007
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2008
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2057
|
+
const upb_MiniTableField field = {3, UPB_SIZE(44, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2058
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2009
2059
|
}
|
2010
2060
|
UPB_INLINE upb_StringView* envoy_service_discovery_v3_Resource_mutable_aliases(envoy_service_discovery_v3_Resource* msg, size_t* size) {
|
2011
|
-
upb_MiniTableField field = {4, UPB_SIZE(
|
2012
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
2061
|
+
upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2062
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
2013
2063
|
if (arr) {
|
2014
|
-
if (size) *size = arr->size;
|
2015
|
-
return (upb_StringView*)
|
2064
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
2065
|
+
return (upb_StringView*)upb_Array_MutableDataPtr(arr);
|
2016
2066
|
} else {
|
2017
2067
|
if (size) *size = 0;
|
2018
2068
|
return NULL;
|
2019
2069
|
}
|
2020
2070
|
}
|
2021
2071
|
UPB_INLINE upb_StringView* envoy_service_discovery_v3_Resource_resize_aliases(envoy_service_discovery_v3_Resource* msg, size_t size, upb_Arena* arena) {
|
2022
|
-
upb_MiniTableField field = {4, UPB_SIZE(
|
2023
|
-
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg,
|
2072
|
+
upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2073
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
2074
|
+
&field, size, arena);
|
2024
2075
|
}
|
2025
2076
|
UPB_INLINE bool envoy_service_discovery_v3_Resource_add_aliases(envoy_service_discovery_v3_Resource* msg, upb_StringView val, upb_Arena* arena) {
|
2026
|
-
upb_MiniTableField field = {4, UPB_SIZE(
|
2027
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2028
|
-
|
2077
|
+
upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2078
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2079
|
+
UPB_UPCAST(msg), &field, arena);
|
2080
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
2081
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
2029
2082
|
return false;
|
2030
2083
|
}
|
2031
|
-
_upb_Array_Set
|
2084
|
+
UPB_PRIVATE(_upb_Array_Set)
|
2085
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
2032
2086
|
return true;
|
2033
2087
|
}
|
2034
2088
|
UPB_INLINE void envoy_service_discovery_v3_Resource_set_ttl(envoy_service_discovery_v3_Resource *msg, struct google_protobuf_Duration* value) {
|
2035
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
2036
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2089
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 64), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2090
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2037
2091
|
}
|
2038
2092
|
UPB_INLINE struct google_protobuf_Duration* envoy_service_discovery_v3_Resource_mutable_ttl(envoy_service_discovery_v3_Resource* msg, upb_Arena* arena) {
|
2039
2093
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_service_discovery_v3_Resource_ttl(msg);
|
@@ -2044,8 +2098,8 @@ UPB_INLINE struct google_protobuf_Duration* envoy_service_discovery_v3_Resource_
|
|
2044
2098
|
return sub;
|
2045
2099
|
}
|
2046
2100
|
UPB_INLINE void envoy_service_discovery_v3_Resource_set_cache_control(envoy_service_discovery_v3_Resource *msg, envoy_service_discovery_v3_Resource_CacheControl* value) {
|
2047
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
2048
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2101
|
+
const upb_MiniTableField field = {7, UPB_SIZE(24, 72), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2102
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2049
2103
|
}
|
2050
2104
|
UPB_INLINE struct envoy_service_discovery_v3_Resource_CacheControl* envoy_service_discovery_v3_Resource_mutable_cache_control(envoy_service_discovery_v3_Resource* msg, upb_Arena* arena) {
|
2051
2105
|
struct envoy_service_discovery_v3_Resource_CacheControl* sub = (struct envoy_service_discovery_v3_Resource_CacheControl*)envoy_service_discovery_v3_Resource_cache_control(msg);
|
@@ -2056,8 +2110,8 @@ UPB_INLINE struct envoy_service_discovery_v3_Resource_CacheControl* envoy_servic
|
|
2056
2110
|
return sub;
|
2057
2111
|
}
|
2058
2112
|
UPB_INLINE void envoy_service_discovery_v3_Resource_set_resource_name(envoy_service_discovery_v3_Resource *msg, envoy_service_discovery_v3_ResourceName* value) {
|
2059
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
2060
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2113
|
+
const upb_MiniTableField field = {8, UPB_SIZE(28, 80), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2114
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2061
2115
|
}
|
2062
2116
|
UPB_INLINE struct envoy_service_discovery_v3_ResourceName* envoy_service_discovery_v3_Resource_mutable_resource_name(envoy_service_discovery_v3_Resource* msg, upb_Arena* arena) {
|
2063
2117
|
struct envoy_service_discovery_v3_ResourceName* sub = (struct envoy_service_discovery_v3_ResourceName*)envoy_service_discovery_v3_Resource_resource_name(msg);
|
@@ -2068,8 +2122,8 @@ UPB_INLINE struct envoy_service_discovery_v3_ResourceName* envoy_service_discove
|
|
2068
2122
|
return sub;
|
2069
2123
|
}
|
2070
2124
|
UPB_INLINE void envoy_service_discovery_v3_Resource_set_metadata(envoy_service_discovery_v3_Resource *msg, struct envoy_config_core_v3_Metadata* value) {
|
2071
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
2072
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2125
|
+
const upb_MiniTableField field = {9, UPB_SIZE(32, 88), 68, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2126
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2073
2127
|
}
|
2074
2128
|
UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_service_discovery_v3_Resource_mutable_metadata(envoy_service_discovery_v3_Resource* msg, upb_Arena* arena) {
|
2075
2129
|
struct envoy_config_core_v3_Metadata* sub = (struct envoy_config_core_v3_Metadata*)envoy_service_discovery_v3_Resource_metadata(msg);
|
@@ -2088,7 +2142,8 @@ UPB_INLINE envoy_service_discovery_v3_Resource_CacheControl* envoy_service_disco
|
|
2088
2142
|
UPB_INLINE envoy_service_discovery_v3_Resource_CacheControl* envoy_service_discovery_v3_Resource_CacheControl_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2089
2143
|
envoy_service_discovery_v3_Resource_CacheControl* ret = envoy_service_discovery_v3_Resource_CacheControl_new(arena);
|
2090
2144
|
if (!ret) return NULL;
|
2091
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__Resource__CacheControl_msg_init, NULL, 0, arena) !=
|
2145
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__Resource__CacheControl_msg_init, NULL, 0, arena) !=
|
2146
|
+
kUpb_DecodeStatus_Ok) {
|
2092
2147
|
return NULL;
|
2093
2148
|
}
|
2094
2149
|
return ret;
|
@@ -2098,38 +2153,39 @@ UPB_INLINE envoy_service_discovery_v3_Resource_CacheControl* envoy_service_disco
|
|
2098
2153
|
int options, upb_Arena* arena) {
|
2099
2154
|
envoy_service_discovery_v3_Resource_CacheControl* ret = envoy_service_discovery_v3_Resource_CacheControl_new(arena);
|
2100
2155
|
if (!ret) return NULL;
|
2101
|
-
if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__Resource__CacheControl_msg_init, extreg, options,
|
2102
|
-
|
2156
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__service__discovery__v3__Resource__CacheControl_msg_init, extreg, options,
|
2157
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2103
2158
|
return NULL;
|
2104
2159
|
}
|
2105
2160
|
return ret;
|
2106
2161
|
}
|
2107
2162
|
UPB_INLINE char* envoy_service_discovery_v3_Resource_CacheControl_serialize(const envoy_service_discovery_v3_Resource_CacheControl* msg, upb_Arena* arena, size_t* len) {
|
2108
2163
|
char* ptr;
|
2109
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__Resource__CacheControl_msg_init, 0, arena, &ptr, len);
|
2164
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__Resource__CacheControl_msg_init, 0, arena, &ptr, len);
|
2110
2165
|
return ptr;
|
2111
2166
|
}
|
2112
2167
|
UPB_INLINE char* envoy_service_discovery_v3_Resource_CacheControl_serialize_ex(const envoy_service_discovery_v3_Resource_CacheControl* msg, int options,
|
2113
2168
|
upb_Arena* arena, size_t* len) {
|
2114
2169
|
char* ptr;
|
2115
|
-
(void)upb_Encode(msg, &envoy__service__discovery__v3__Resource__CacheControl_msg_init, options, arena, &ptr, len);
|
2170
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__service__discovery__v3__Resource__CacheControl_msg_init, options, arena, &ptr, len);
|
2116
2171
|
return ptr;
|
2117
2172
|
}
|
2118
2173
|
UPB_INLINE void envoy_service_discovery_v3_Resource_CacheControl_clear_do_not_cache(envoy_service_discovery_v3_Resource_CacheControl* msg) {
|
2119
|
-
const upb_MiniTableField field = {1,
|
2120
|
-
|
2174
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2175
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2121
2176
|
}
|
2122
2177
|
UPB_INLINE bool envoy_service_discovery_v3_Resource_CacheControl_do_not_cache(const envoy_service_discovery_v3_Resource_CacheControl* msg) {
|
2123
2178
|
bool default_val = false;
|
2124
2179
|
bool ret;
|
2125
|
-
const upb_MiniTableField field = {1,
|
2126
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2180
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2181
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2182
|
+
&default_val, &ret);
|
2127
2183
|
return ret;
|
2128
2184
|
}
|
2129
2185
|
|
2130
2186
|
UPB_INLINE void envoy_service_discovery_v3_Resource_CacheControl_set_do_not_cache(envoy_service_discovery_v3_Resource_CacheControl *msg, bool value) {
|
2131
|
-
const upb_MiniTableField field = {1,
|
2132
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2187
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2188
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2133
2189
|
}
|
2134
2190
|
|
2135
2191
|
#ifdef __cplusplus
|