grpc 1.62.3 → 1.63.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +415 -1962
- data/include/grpc/byte_buffer.h +1 -2
- data/include/grpc/census.h +1 -2
- data/include/grpc/compression.h +1 -2
- data/include/grpc/event_engine/endpoint_config.h +2 -2
- data/include/grpc/event_engine/event_engine.h +4 -2
- data/include/grpc/event_engine/extensible.h +2 -2
- data/include/grpc/event_engine/internal/memory_allocator_impl.h +1 -2
- data/include/grpc/event_engine/memory_allocator.h +1 -2
- data/include/grpc/event_engine/memory_request.h +2 -2
- data/include/grpc/event_engine/slice.h +1 -2
- data/include/grpc/event_engine/slice_buffer.h +1 -2
- data/include/grpc/grpc.h +1 -8
- data/include/grpc/grpc_audit_logging.h +1 -2
- data/include/grpc/grpc_crl_provider.h +2 -2
- data/include/grpc/grpc_cronet.h +1 -2
- data/include/grpc/grpc_posix.h +1 -2
- data/include/grpc/grpc_security.h +1 -2
- data/include/grpc/impl/call.h +1 -2
- data/include/grpc/impl/channel_arg_names.h +4 -0
- data/include/grpc/impl/grpc_types.h +1 -2
- data/include/grpc/impl/slice_type.h +2 -2
- data/include/grpc/module.modulemap +1 -0
- data/include/grpc/slice.h +1 -2
- data/include/grpc/slice_buffer.h +1 -2
- data/include/grpc/support/alloc.h +2 -2
- data/include/grpc/support/json.h +2 -2
- data/include/grpc/support/log.h +2 -2
- data/include/grpc/support/metrics.h +51 -0
- data/include/grpc/support/string_util.h +0 -1
- data/include/grpc/support/sync.h +0 -1
- data/include/grpc/support/sync_abseil.h +0 -1
- data/include/grpc/support/sync_custom.h +0 -1
- data/include/grpc/support/sync_generic.h +1 -2
- data/include/grpc/support/sync_posix.h +1 -2
- data/include/grpc/support/time.h +2 -2
- data/src/core/client_channel/client_channel_channelz.h +1 -1
- data/src/core/client_channel/client_channel_filter.cc +48 -38
- data/src/core/client_channel/client_channel_filter.h +6 -14
- data/src/core/client_channel/client_channel_internal.h +1 -1
- data/src/core/client_channel/client_channel_service_config.h +4 -3
- data/src/core/client_channel/config_selector.h +1 -1
- data/src/core/client_channel/dynamic_filters.h +1 -1
- data/src/core/client_channel/http_proxy_mapper.cc +3 -4
- data/src/core/client_channel/http_proxy_mapper.h +1 -1
- data/src/core/client_channel/retry_filter.h +1 -1
- data/src/core/client_channel/retry_filter_legacy_call_data.cc +1 -1
- data/src/core/client_channel/retry_filter_legacy_call_data.h +9 -9
- data/src/core/client_channel/retry_service_config.h +3 -3
- data/src/core/client_channel/retry_throttle.h +3 -2
- data/src/core/client_channel/subchannel.cc +2 -2
- data/src/core/client_channel/subchannel.h +7 -7
- data/src/core/client_channel/subchannel_pool_interface.h +1 -1
- data/src/core/client_channel/subchannel_stream_client.cc +1 -5
- data/src/core/client_channel/subchannel_stream_client.h +2 -2
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +3 -49
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +0 -12
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +4 -10
- data/src/core/ext/filters/http/http_filters_plugin.cc +15 -35
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +8 -7
- data/src/core/ext/filters/http/message_compress/compression_filter.h +2 -1
- data/src/core/ext/filters/http/server/http_server_filter.cc +1 -1
- data/src/core/ext/filters/message_size/message_size_filter.cc +15 -10
- data/src/core/ext/filters/rbac/rbac_filter.cc +4 -11
- data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +2 -2
- data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +1 -0
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +4 -9
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +38 -1
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +27 -75
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +23 -4
- data/src/core/ext/transport/chttp2/transport/context_list_entry.h +13 -10
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +28 -85
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +0 -4
- data/src/core/ext/transport/chttp2/transport/internal.h +4 -2
- data/src/core/ext/transport/chttp2/transport/parsing.cc +5 -10
- data/src/core/ext/transport/chttp2/transport/writing.cc +34 -31
- data/src/core/ext/transport/inproc/inproc_transport.cc +6 -4
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +9 -8
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +243 -230
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +42 -48
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +289 -265
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +62 -70
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +238 -226
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +42 -50
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +937 -882
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +182 -208
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +77 -76
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +86 -84
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +49 -42
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +357 -318
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +86 -86
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +23 -20
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +40 -32
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +24 -20
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +517 -473
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +105 -125
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +1207 -1108
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +261 -289
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +163 -152
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +29 -43
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +1265 -1137
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +276 -346
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +32 -28
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +7 -9
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +212 -188
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +53 -69
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +564 -508
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +123 -131
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +340 -309
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +69 -83
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +25 -22
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +5 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +786 -688
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +171 -189
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +367 -343
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +72 -80
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +19 -16
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +23 -20
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +77 -76
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +539 -471
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +125 -141
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +672 -632
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +137 -137
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +44 -43
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +35 -30
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +713 -637
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +166 -208
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +65 -61
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +10 -12
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +65 -61
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +11 -13
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +91 -83
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +17 -17
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +102 -93
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +22 -22
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +25 -22
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +5 -11
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +162 -145
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +32 -40
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +314 -287
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +70 -74
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +330 -309
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +66 -66
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +516 -478
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +110 -120
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +495 -468
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +89 -101
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +88 -78
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +19 -37
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +41 -36
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +8 -26
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +46 -40
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +307 -279
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +60 -64
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +382 -358
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +70 -70
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +540 -490
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +122 -136
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +339 -327
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +48 -70
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +3407 -3145
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +700 -752
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +100 -91
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +20 -20
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +472 -430
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +102 -116
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +23 -20
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +42 -36
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +9 -13
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +58 -55
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +9 -13
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +146 -136
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +30 -30
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +69 -65
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +67 -58
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +14 -24
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +64 -56
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +14 -20
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +58 -50
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +986 -832
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +269 -281
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +35 -35
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +102 -88
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +25 -25
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +224 -204
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +46 -62
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +66 -58
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +14 -24
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +160 -153
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +28 -30
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +51 -44
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +12 -12
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +1349 -1230
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +293 -309
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +61 -54
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +13 -23
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +124 -108
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +29 -37
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +14 -12
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +66 -58
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +20 -20
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +16 -14
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +3 -7
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +518 -493
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +82 -108
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +92 -80
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +23 -29
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +497 -457
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +110 -124
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +58 -55
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +9 -11
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +206 -185
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +48 -64
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +7 -6
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +766 -710
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +140 -150
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +102 -98
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +17 -17
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +310 -288
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +67 -67
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +30 -26
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +77 -71
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +26 -22
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +70 -60
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +77 -71
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +14 -14
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +44 -43
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +19 -16
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +65 -56
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +15 -19
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +14 -12
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +2 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +97 -89
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +18 -18
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +63 -59
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +10 -10
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +134 -121
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +29 -29
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +135 -121
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +26 -26
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +141 -122
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +37 -37
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +49 -42
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +11 -11
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +14 -12
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +35 -30
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +63 -54
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +58 -50
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +14 -14
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +28 -24
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +32 -28
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +7 -9
- data/src/core/ext/upb-gen/google/api/annotations.upb.h +10 -8
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +581 -524
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +118 -146
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +616 -544
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +136 -152
- data/src/core/ext/upb-gen/google/api/http.upb.h +176 -162
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +34 -34
- data/src/core/ext/upb-gen/google/api/httpbody.upb.h +49 -47
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/google/protobuf/any.upb.h +21 -18
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +5 -5
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +2456 -2358
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +367 -486
- data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +21 -18
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +5 -5
- data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +7 -6
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +134 -116
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +27 -29
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +21 -18
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +5 -5
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +126 -108
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +27 -27
- data/src/core/ext/upb-gen/google/rpc/status.upb.h +49 -47
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +107 -92
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +27 -27
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +77 -61
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +21 -21
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +577 -518
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +121 -127
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +46 -40
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +10 -16
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +28 -24
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +265 -238
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +57 -63
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +96 -82
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +19 -19
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +496 -466
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +81 -85
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +99 -82
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +31 -26
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +10 -8
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +31 -26
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +24 -20
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/validate/validate.upb.h +2620 -2458
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +363 -507
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +99 -82
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +31 -26
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +10 -8
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +93 -78
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +17 -17
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +24 -20
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +14 -12
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +58 -50
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +33 -23
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +5 -7
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +32 -28
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +103 -93
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +21 -21
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +37 -32
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +9 -13
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +127 -93
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +34 -34
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +44 -43
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +79 -78
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +9 -11
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +7 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +86 -84
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +13 -13
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +324 -285
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +74 -82
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +237 -234
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +30 -36
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +33 -28
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +97 -89
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +18 -18
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +53 -46
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +12 -18
- data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +63 -54
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +23 -20
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +5 -7
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +385 -384
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +2 -5
- data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +2 -5
- data/src/core/ext/xds/certificate_provider_store.h +3 -2
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.h +2 -2
- data/src/core/ext/xds/xds_api.h +1 -1
- data/src/core/ext/xds/xds_audit_logger_registry.cc +2 -1
- data/src/core/ext/xds/xds_audit_logger_registry.h +1 -1
- data/src/core/ext/xds/xds_bootstrap.h +2 -4
- data/src/core/ext/xds/xds_bootstrap_grpc.cc +38 -6
- data/src/core/ext/xds/xds_bootstrap_grpc.h +22 -7
- data/src/core/ext/xds/xds_certificate_provider.cc +2 -2
- data/src/core/ext/xds/xds_certificate_provider.h +1 -1
- data/src/core/ext/xds/xds_channel_stack_modifier.h +2 -1
- data/src/core/ext/xds/xds_client.cc +283 -103
- data/src/core/ext/xds/xds_client.h +41 -8
- data/src/core/ext/xds/xds_client_grpc.cc +184 -55
- data/src/core/ext/xds/xds_client_grpc.h +22 -8
- data/src/core/ext/xds/xds_client_stats.cc +2 -2
- data/src/core/ext/xds/xds_client_stats.h +14 -7
- data/src/core/ext/xds/xds_cluster.cc +9 -9
- data/src/core/ext/xds/xds_cluster.h +5 -2
- data/src/core/ext/xds/xds_cluster_specifier_plugin.h +2 -2
- data/src/core/ext/xds/xds_endpoint.cc +3 -2
- data/src/core/ext/xds/xds_endpoint.h +2 -2
- data/src/core/ext/xds/xds_health_status.h +2 -2
- data/src/core/ext/xds/xds_http_fault_filter.h +1 -1
- data/src/core/ext/xds/xds_http_filters.h +2 -2
- data/src/core/ext/xds/xds_http_rbac_filter.h +1 -1
- data/src/core/ext/xds/xds_http_stateful_session_filter.h +1 -1
- data/src/core/ext/xds/xds_lb_policy_registry.cc +5 -5
- data/src/core/ext/xds/xds_lb_policy_registry.h +1 -1
- data/src/core/ext/xds/xds_listener.h +1 -1
- data/src/core/ext/xds/xds_metrics.h +39 -0
- data/src/core/ext/xds/xds_route_config.h +1 -1
- data/src/core/ext/xds/xds_routing.h +1 -1
- data/src/core/ext/xds/xds_server_config_fetcher.cc +20 -19
- data/src/core/ext/xds/xds_transport_grpc.cc +17 -32
- data/src/core/ext/xds/xds_transport_grpc.h +6 -6
- data/src/core/lib/address_utils/parse_address.cc +8 -1
- data/src/core/lib/address_utils/sockaddr_utils.cc +8 -1
- data/src/core/lib/channel/call_finalization.h +1 -1
- data/src/core/lib/channel/call_tracer.cc +3 -4
- data/src/core/lib/channel/call_tracer.h +14 -12
- data/src/core/lib/channel/channel_stack.cc +9 -0
- data/src/core/lib/channel/channel_stack.h +5 -0
- data/src/core/lib/channel/channel_stack_builder_impl.cc +140 -0
- data/src/core/lib/channel/channelz.h +9 -6
- data/src/core/lib/channel/channelz_registry.h +1 -1
- data/src/core/lib/channel/connected_channel.cc +5 -8
- data/src/core/lib/channel/metrics.cc +396 -0
- data/src/core/lib/channel/metrics.h +406 -0
- data/src/core/lib/channel/promise_based_filter.h +63 -7
- data/src/core/lib/channel/server_call_tracer_filter.cc +2 -0
- data/src/core/lib/{surface/builtins.h → channel/server_call_tracer_filter.h} +7 -5
- data/src/core/lib/channel/tcp_tracer.h +4 -0
- data/src/core/lib/compression/compression_internal.cc +33 -0
- data/src/core/lib/compression/compression_internal.h +3 -0
- data/src/core/lib/config/config_vars.cc +6 -4
- data/src/core/lib/config/config_vars.h +4 -0
- data/src/core/lib/debug/stats_data.cc +269 -26
- data/src/core/lib/debug/stats_data.h +176 -0
- data/src/core/lib/event_engine/default_event_engine.h +0 -6
- data/src/core/lib/event_engine/event_engine_context.h +31 -0
- data/src/core/lib/event_engine/extensions/chaotic_good_extension.h +65 -0
- data/src/core/lib/event_engine/posix.h +8 -0
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +1 -1
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +1 -0
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +7 -0
- data/src/core/lib/event_engine/tcp_socket_utils.cc +8 -1
- data/src/core/lib/event_engine/tcp_socket_utils.h +2 -2
- data/src/core/lib/event_engine/windows/win_socket.cc +4 -0
- data/src/core/lib/event_engine/windows/win_socket.h +3 -0
- data/src/core/lib/event_engine/windows/windows_engine.cc +41 -8
- data/src/core/lib/event_engine/windows/windows_listener.cc +54 -6
- data/src/core/lib/event_engine/windows/windows_listener.h +14 -0
- data/src/core/lib/experiments/config.cc +63 -45
- data/src/core/lib/experiments/experiments.cc +19 -238
- data/src/core/lib/experiments/experiments.h +4 -119
- data/src/core/lib/gpr/android/log.cc +1 -1
- data/src/core/lib/gpr/linux/log.cc +1 -1
- data/src/core/lib/gpr/log.cc +26 -0
- data/src/core/lib/gpr/posix/log.cc +1 -1
- data/src/core/lib/gpr/posix/time.cc +0 -60
- data/src/core/lib/gpr/windows/log.cc +1 -1
- data/src/core/lib/gprpp/down_cast.h +4 -4
- data/src/core/lib/gprpp/dual_ref_counted.h +17 -9
- data/src/core/lib/gprpp/load_file.cc +3 -1
- data/src/core/lib/gprpp/orphanable.h +5 -2
- data/src/core/lib/gprpp/ref_counted.h +5 -2
- data/src/core/lib/gprpp/ref_counted_ptr.h +2 -1
- data/src/core/lib/gprpp/time.h +6 -0
- data/src/core/lib/gprpp/uuid_v4.cc +37 -0
- data/src/core/lib/gprpp/uuid_v4.h +36 -0
- data/src/core/lib/iomgr/port.h +3 -0
- data/src/core/lib/iomgr/tcp_client_windows.cc +24 -5
- data/src/core/lib/iomgr/tcp_posix.cc +47 -0
- data/src/core/lib/iomgr/tcp_server_posix.cc +101 -87
- data/src/core/lib/iomgr/tcp_server_windows.cc +60 -9
- data/src/core/lib/iomgr/unix_sockets_posix.cc +13 -0
- data/src/core/lib/promise/activity.h +1 -0
- data/src/core/lib/promise/context.h +2 -2
- data/src/core/lib/promise/party.cc +33 -3
- data/src/core/lib/promise/party.h +12 -14
- data/src/core/lib/promise/sleep.cc +1 -1
- data/src/core/lib/promise/status_flag.h +8 -0
- data/src/core/lib/resource_quota/arena.h +3 -0
- data/src/core/lib/resource_quota/connection_quota.cc +71 -0
- data/src/core/lib/resource_quota/connection_quota.h +61 -0
- data/src/core/lib/security/authorization/evaluate_args.cc +6 -5
- data/src/core/lib/security/authorization/evaluate_args.h +3 -3
- data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +4 -7
- data/src/core/lib/security/authorization/grpc_server_authz_filter.h +1 -2
- data/src/core/lib/security/credentials/jwt/json_token.cc +8 -4
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +11 -16
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +17 -10
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +7 -3
- data/src/core/lib/security/security_connector/load_system_roots.h +3 -0
- data/src/core/lib/security/security_connector/load_system_roots_fallback.cc +3 -2
- data/src/core/lib/security/security_connector/load_system_roots_windows.cc +87 -0
- data/src/core/lib/security/transport/auth_filters.h +0 -25
- data/src/core/lib/security/transport/security_handshaker.cc +18 -9
- data/src/core/lib/security/transport/security_handshaker.h +4 -2
- data/src/core/lib/slice/slice.cc +31 -5
- data/src/core/lib/slice/slice_buffer.cc +49 -11
- data/src/core/lib/slice/slice_buffer.h +14 -1
- data/src/core/lib/slice/slice_internal.h +7 -0
- data/src/core/lib/surface/call.cc +50 -55
- data/src/core/lib/surface/call.h +3 -3
- data/src/core/lib/surface/call_trace.h +0 -6
- data/src/core/lib/surface/channel.cc +104 -315
- data/src/core/lib/surface/channel.h +88 -107
- data/src/core/lib/surface/channel_create.cc +109 -0
- data/src/core/lib/surface/{builtins.cc → channel_create.h} +20 -15
- data/src/core/lib/surface/channel_init.cc +7 -6
- data/src/core/lib/surface/channel_init.h +18 -2
- data/src/core/lib/surface/init.cc +9 -14
- data/src/core/lib/surface/lame_client.cc +3 -28
- data/src/core/lib/surface/lame_client.h +7 -2
- data/src/core/lib/surface/legacy_channel.cc +414 -0
- data/src/core/lib/surface/legacy_channel.h +124 -0
- data/src/core/lib/surface/server.cc +20 -35
- data/src/core/lib/surface/server.h +10 -6
- data/src/core/lib/surface/server_interface.h +43 -0
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/batch_builder.cc +7 -16
- data/src/core/lib/transport/batch_builder.h +4 -6
- data/src/core/lib/transport/call_filters.cc +119 -19
- data/src/core/lib/transport/call_filters.h +339 -40
- data/src/core/lib/transport/call_spine.h +8 -3
- data/src/core/lib/transport/endpoint_info_handshaker.cc +80 -0
- data/src/core/lib/transport/endpoint_info_handshaker.h +37 -0
- data/src/core/lib/transport/handshaker_factory.h +1 -2
- data/src/core/lib/transport/metadata.cc +1 -1
- data/src/core/lib/transport/metadata_batch.cc +66 -5
- data/src/core/lib/transport/metadata_batch.h +12 -16
- data/src/core/lib/transport/metadata_info.cc +55 -0
- data/src/core/lib/transport/metadata_info.h +85 -0
- data/src/core/lib/transport/transport_op_string.cc +0 -8
- data/src/core/load_balancing/address_filtering.cc +1 -1
- data/src/core/load_balancing/address_filtering.h +1 -1
- data/src/core/{client_channel/backend_metric.cc → load_balancing/backend_metric_parser.cc} +1 -1
- data/src/core/{client_channel/backend_metric.h → load_balancing/backend_metric_parser.h} +3 -3
- data/src/core/load_balancing/child_policy_handler.cc +1 -1
- data/src/core/load_balancing/delegating_helper.h +8 -0
- data/src/core/load_balancing/endpoint_list.cc +1 -1
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +3 -1
- data/src/core/load_balancing/grpclb/grpclb.cc +39 -44
- data/src/core/load_balancing/grpclb/grpclb_client_stats.h +1 -1
- data/src/core/load_balancing/health_check_client.cc +6 -6
- data/src/core/load_balancing/health_check_client_internal.h +4 -5
- data/src/core/load_balancing/lb_policy.h +13 -4
- data/src/core/load_balancing/lb_policy_registry.h +2 -2
- data/src/core/load_balancing/oob_backend_metric.cc +6 -6
- data/src/core/load_balancing/oob_backend_metric.h +1 -1
- data/src/core/load_balancing/oob_backend_metric_internal.h +6 -6
- data/src/core/load_balancing/outlier_detection/outlier_detection.cc +29 -29
- data/src/core/load_balancing/pick_first/pick_first.cc +70 -148
- data/src/core/load_balancing/priority/priority.cc +8 -7
- data/src/core/load_balancing/ring_hash/ring_hash.cc +8 -8
- data/src/core/load_balancing/ring_hash/ring_hash.h +1 -1
- data/src/core/load_balancing/rls/rls.cc +202 -79
- data/src/core/load_balancing/rls/rls.h +26 -0
- data/src/core/load_balancing/round_robin/round_robin.cc +7 -462
- data/src/core/load_balancing/subchannel_interface.h +3 -2
- data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h +1 -1
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +169 -964
- data/src/core/load_balancing/weighted_target/weighted_target.cc +13 -10
- data/src/core/load_balancing/weighted_target/weighted_target.h +28 -0
- data/src/core/load_balancing/xds/cds.cc +8 -8
- data/src/core/load_balancing/xds/xds_cluster_impl.cc +101 -57
- data/src/core/load_balancing/xds/xds_cluster_manager.cc +6 -6
- data/src/core/load_balancing/xds/xds_override_host.cc +15 -15
- data/src/core/load_balancing/xds/xds_override_host.h +1 -1
- data/src/core/load_balancing/xds/xds_wrr_locality.cc +9 -8
- data/src/core/plugin_registry/grpc_plugin_registry.cc +20 -3
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -1
- data/src/core/resolver/binder/binder_resolver.cc +9 -2
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +8 -7
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +2 -2
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +3 -3
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +1 -1
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +2 -2
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h +3 -1
- data/src/core/resolver/dns/native/dns_resolver.cc +3 -3
- data/src/core/resolver/endpoint_addresses.h +4 -4
- data/src/core/resolver/fake/fake_resolver.cc +2 -2
- data/src/core/resolver/fake/fake_resolver.h +1 -1
- data/src/core/resolver/google_c2p/google_c2p_resolver.cc +9 -4
- data/src/core/resolver/resolver_registry.h +2 -2
- data/src/core/resolver/sockaddr/sockaddr_resolver.cc +6 -6
- data/src/core/resolver/xds/xds_dependency_manager.cc +14 -9
- data/src/core/resolver/xds/xds_dependency_manager.h +5 -5
- data/src/core/resolver/xds/xds_resolver.cc +17 -16
- data/src/core/resolver/xds/xds_resolver_attributes.h +1 -1
- data/src/core/{client_channel → service_config}/service_config_channel_arg_filter.cc +1 -1
- data/src/core/service_config/service_config_parser.h +1 -1
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +6 -4
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +1 -0
- data/src/core/tsi/ssl/key_logging/ssl_key_logging.cc +1 -1
- data/src/core/tsi/ssl_transport_security.cc +198 -70
- data/src/core/tsi/ssl_transport_security_utils.cc +127 -0
- data/src/core/tsi/ssl_transport_security_utils.h +27 -0
- data/src/ruby/ext/grpc/extconf.rb +0 -3
- data/src/ruby/ext/grpc/rb_grpc.c +1 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +0 -2
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +0 -3
- data/src/ruby/lib/grpc/generic/active_call.rb +8 -2
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/spec/generic/rpc_server_spec.rb +25 -0
- data/third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc +320 -0
- data/third_party/abseil-cpp/absl/debugging/internal/examine_stack.h +64 -0
- data/third_party/abseil-cpp/absl/log/absl_vlog_is_on.h +93 -0
- data/third_party/abseil-cpp/absl/log/globals.cc +178 -0
- data/third_party/abseil-cpp/absl/log/globals.h +218 -0
- data/third_party/abseil-cpp/absl/log/internal/append_truncated.h +47 -0
- data/third_party/abseil-cpp/absl/log/internal/conditions.cc +83 -0
- data/third_party/abseil-cpp/absl/log/internal/conditions.h +239 -0
- data/third_party/abseil-cpp/absl/log/internal/config.h +45 -0
- data/third_party/abseil-cpp/absl/log/internal/fnmatch.cc +73 -0
- data/third_party/abseil-cpp/absl/log/internal/fnmatch.h +35 -0
- data/third_party/abseil-cpp/absl/log/internal/globals.cc +145 -0
- data/third_party/abseil-cpp/absl/log/internal/globals.h +101 -0
- data/third_party/abseil-cpp/absl/log/internal/log_format.cc +205 -0
- data/third_party/abseil-cpp/absl/log/internal/log_format.h +78 -0
- data/third_party/abseil-cpp/absl/log/internal/log_impl.h +282 -0
- data/third_party/abseil-cpp/absl/log/internal/log_message.cc +633 -0
- data/third_party/abseil-cpp/absl/log/internal/log_message.h +375 -0
- data/third_party/abseil-cpp/absl/log/internal/log_sink_set.cc +296 -0
- data/third_party/abseil-cpp/absl/log/internal/log_sink_set.h +54 -0
- data/third_party/abseil-cpp/absl/log/internal/nullguard.cc +35 -0
- data/third_party/abseil-cpp/absl/log/internal/nullguard.h +88 -0
- data/third_party/abseil-cpp/absl/log/internal/nullstream.h +136 -0
- data/third_party/abseil-cpp/absl/log/internal/proto.cc +220 -0
- data/third_party/abseil-cpp/absl/log/internal/proto.h +288 -0
- data/third_party/abseil-cpp/absl/log/internal/strip.h +72 -0
- data/third_party/abseil-cpp/absl/log/internal/vlog_config.cc +340 -0
- data/third_party/abseil-cpp/absl/log/internal/vlog_config.h +163 -0
- data/third_party/abseil-cpp/absl/log/internal/voidify.h +44 -0
- data/third_party/abseil-cpp/absl/log/log.h +361 -0
- data/third_party/abseil-cpp/absl/log/log_entry.cc +41 -0
- data/third_party/abseil-cpp/absl/log/log_entry.h +221 -0
- data/third_party/abseil-cpp/absl/log/log_sink.cc +23 -0
- data/third_party/abseil-cpp/absl/log/log_sink.h +64 -0
- data/third_party/abseil-cpp/absl/log/log_sink_registry.h +61 -0
- data/third_party/abseil-cpp/absl/log/vlog_is_on.h +72 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/internal.h +1 -7
- data/third_party/boringssl-with-bazel/src/crypto/asn1/posix_time.c +50 -39
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_des.c +15 -28
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/internal.h +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/des/des.c +45 -32
- data/third_party/boringssl-with-bazel/src/crypto/des/internal.h +24 -0
- data/third_party/boringssl-with-bazel/src/crypto/internal.h +12 -4
- data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +4 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_purp.c +40 -61
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +24 -7
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +36 -59
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +4 -4
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +13 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/asn1.h +10 -10
- data/third_party/boringssl-with-bazel/src/include/openssl/base.h +2 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +3 -3
- data/third_party/boringssl-with-bazel/src/include/openssl/pki/certificate.h +83 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/pki/signature_verify_cache.h +41 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/posix_time.h +6 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/rsa.h +19 -10
- data/third_party/boringssl-with-bazel/src/include/openssl/span.h +14 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +16 -4
- data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +196 -141
- data/third_party/boringssl-with-bazel/src/ssl/ssl_cert.cc +8 -1
- data/third_party/upb/upb/base/descriptor_constants.h +29 -2
- data/third_party/upb/upb/{wire/internal/swap.h → base/internal/endian.h} +12 -11
- data/third_party/upb/upb/base/status.h +1 -1
- data/third_party/upb/upb/base/status.hpp +5 -1
- data/third_party/upb/upb/base/string_view.h +7 -5
- data/third_party/upb/upb/base/upcast.h +29 -0
- data/third_party/upb/upb/generated_code_support.h +2 -1
- data/third_party/upb/upb/json/decode.c +103 -53
- data/third_party/upb/upb/json/decode.h +3 -26
- data/third_party/upb/upb/json/encode.c +3 -26
- data/third_party/upb/upb/json/encode.h +3 -26
- data/third_party/upb/upb/mem/arena.c +233 -106
- data/third_party/upb/upb/mem/arena.h +14 -66
- data/third_party/upb/upb/mem/arena.hpp +8 -4
- data/third_party/upb/upb/mem/internal/arena.h +76 -58
- data/third_party/upb/upb/message/accessors.c +19 -46
- data/third_party/upb/upb/message/accessors.h +208 -123
- data/third_party/upb/upb/message/array.c +55 -83
- data/third_party/upb/upb/message/array.h +18 -30
- data/third_party/upb/upb/message/compat.c +39 -0
- data/third_party/upb/upb/message/compat.h +41 -0
- data/third_party/upb/upb/message/copy.c +322 -0
- data/third_party/upb/upb/message/copy.h +56 -0
- data/third_party/upb/upb/message/internal/accessors.h +178 -178
- data/third_party/upb/upb/message/internal/array.h +80 -81
- data/third_party/upb/upb/message/internal/extension.c +63 -0
- data/third_party/upb/upb/message/internal/extension.h +12 -12
- data/third_party/upb/upb/message/internal/map.h +28 -41
- data/third_party/upb/upb/message/internal/map_entry.h +14 -39
- data/third_party/upb/upb/message/internal/map_sorter.h +18 -37
- data/third_party/upb/upb/message/internal/message.c +59 -0
- data/third_party/upb/upb/message/internal/message.h +26 -42
- data/third_party/upb/upb/message/internal/tagged_ptr.h +56 -0
- data/third_party/upb/upb/message/internal/types.h +7 -12
- data/third_party/upb/upb/message/map.c +3 -26
- data/third_party/upb/upb/message/map.h +5 -33
- data/third_party/upb/upb/message/map_gencode_util.h +3 -26
- data/third_party/upb/upb/message/map_sorter.c +22 -34
- data/third_party/upb/upb/message/message.c +28 -104
- data/third_party/upb/upb/message/message.h +4 -8
- data/third_party/upb/upb/message/tagged_ptr.h +14 -31
- data/third_party/upb/upb/message/value.h +3 -5
- data/third_party/upb/upb/mini_descriptor/build_enum.c +20 -11
- data/third_party/upb/upb/mini_descriptor/decode.c +127 -107
- data/third_party/upb/upb/mini_descriptor/decode.h +3 -8
- data/third_party/upb/upb/mini_descriptor/link.c +34 -22
- data/third_party/upb/upb/mini_descriptor/link.h +1 -1
- data/third_party/upb/upb/mini_table/enum.h +4 -6
- data/third_party/upb/upb/mini_table/extension.h +37 -0
- data/third_party/upb/upb/mini_table/extension_registry.c +9 -2
- data/third_party/upb/upb/mini_table/field.h +46 -60
- data/third_party/upb/upb/mini_table/file.h +44 -0
- data/third_party/upb/upb/mini_table/internal/enum.h +19 -20
- data/third_party/upb/upb/mini_table/internal/extension.h +34 -3
- data/third_party/upb/upb/mini_table/internal/field.h +136 -27
- data/third_party/upb/upb/mini_table/internal/file.h +47 -10
- data/third_party/upb/upb/mini_table/internal/message.c +17 -9
- data/third_party/upb/upb/mini_table/internal/message.h +94 -23
- data/third_party/upb/upb/mini_table/internal/size_log2.h +77 -0
- data/third_party/upb/upb/mini_table/internal/sub.h +39 -4
- data/third_party/upb/upb/mini_table/message.c +18 -19
- data/third_party/upb/upb/mini_table/message.h +29 -20
- data/third_party/upb/upb/mini_table/sub.h +40 -1
- data/third_party/upb/upb/port/def.inc +18 -0
- data/third_party/upb/upb/port/undef.inc +3 -0
- data/third_party/upb/upb/reflection/def.hpp +8 -4
- data/third_party/upb/upb/reflection/def_pool.c +81 -2
- data/third_party/upb/upb/reflection/def_pool.h +8 -0
- data/third_party/upb/upb/reflection/enum_def.c +42 -19
- data/third_party/upb/upb/reflection/enum_def.h +1 -0
- data/third_party/upb/upb/reflection/enum_value_def.c +43 -14
- data/third_party/upb/upb/reflection/enum_value_def.h +2 -0
- data/third_party/upb/upb/reflection/extension_range.c +13 -5
- data/third_party/upb/upb/reflection/extension_range.h +2 -0
- data/third_party/upb/upb/reflection/field_def.c +177 -130
- data/third_party/upb/upb/reflection/field_def.h +10 -1
- data/third_party/upb/upb/reflection/file_def.c +98 -9
- data/third_party/upb/upb/reflection/file_def.h +3 -0
- data/third_party/upb/upb/reflection/internal/def_builder.c +85 -7
- data/third_party/upb/upb/reflection/internal/def_builder.h +23 -0
- data/third_party/upb/upb/reflection/internal/enum_def.h +5 -4
- data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +1 -1
- data/third_party/upb/upb/reflection/internal/enum_value_def.h +2 -1
- data/third_party/upb/upb/reflection/internal/extension_range.h +2 -2
- data/third_party/upb/upb/reflection/internal/field_def.h +11 -10
- data/third_party/upb/upb/reflection/internal/message_def.h +6 -3
- data/third_party/upb/upb/reflection/internal/method_def.h +5 -3
- data/third_party/upb/upb/reflection/internal/oneof_def.h +5 -3
- data/third_party/upb/upb/reflection/internal/service_def.h +5 -3
- data/third_party/upb/upb/reflection/internal/upb_edition_defaults.h +20 -0
- data/third_party/upb/upb/reflection/message.c +27 -12
- data/third_party/upb/upb/reflection/message.h +5 -5
- data/third_party/upb/upb/reflection/message_def.c +56 -27
- data/third_party/upb/upb/reflection/message_def.h +2 -0
- data/third_party/upb/upb/reflection/method_def.c +20 -9
- data/third_party/upb/upb/reflection/method_def.h +2 -0
- data/third_party/upb/upb/reflection/oneof_def.c +20 -11
- data/third_party/upb/upb/reflection/oneof_def.h +3 -1
- data/third_party/upb/upb/reflection/service_def.c +25 -13
- data/third_party/upb/upb/reflection/service_def.h +2 -0
- data/third_party/upb/upb/text/encode.c +126 -36
- data/third_party/upb/upb/wire/decode.c +214 -196
- data/third_party/upb/upb/wire/decode.h +10 -0
- data/third_party/upb/upb/wire/encode.c +105 -91
- data/third_party/upb/upb/wire/encode.h +4 -3
- data/third_party/upb/upb/wire/{decode_fast.c → internal/decode_fast.c} +53 -48
- data/third_party/upb/upb/wire/{decode_fast.h → internal/decode_fast.h} +6 -5
- data/third_party/upb/upb/wire/internal/{decode.h → decoder.h} +15 -31
- data/third_party/upb/upb/wire/internal/reader.h +61 -0
- data/third_party/upb/upb/wire/reader.c +9 -6
- data/third_party/upb/upb/wire/reader.h +18 -47
- data/third_party/utf8_range/utf8_range.c +467 -0
- data/third_party/utf8_range/utf8_range.h +9 -8
- metadata +83 -30
- data/src/core/client_channel/channel_connectivity.cc +0 -265
- data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +0 -318
- data/src/core/ext/filters/channel_idle/channel_idle_filter.h +0 -150
- data/src/core/ext/filters/http/message_compress/legacy_compression_filter.cc +0 -325
- data/src/core/ext/filters/http/message_compress/legacy_compression_filter.h +0 -139
- data/src/core/lib/gpr/wrap_memcpy.cc +0 -43
- data/src/core/lib/security/transport/legacy_server_auth_filter.cc +0 -244
- data/src/core/lib/slice/b64.cc +0 -239
- data/src/core/lib/slice/b64.h +0 -52
- data/src/core/lib/surface/call_trace.cc +0 -163
- data/src/core/lib/surface/channel_ping.cc +0 -69
- data/src/core/lib/transport/call_factory.cc +0 -41
- data/src/core/lib/transport/call_factory.h +0 -56
- data/src/core/load_balancing/subchannel_list.h +0 -455
- data/third_party/upb/upb/message/types.h +0 -15
- data/third_party/utf8_range/naive.c +0 -92
- data/third_party/utf8_range/range2-neon.c +0 -157
- data/third_party/utf8_range/range2-sse.c +0 -170
@@ -44,28 +44,28 @@
|
|
44
44
|
extern "C" {
|
45
45
|
#endif
|
46
46
|
|
47
|
-
typedef struct envoy_config_bootstrap_v3_Bootstrap envoy_config_bootstrap_v3_Bootstrap;
|
48
|
-
typedef struct envoy_config_bootstrap_v3_Bootstrap_StaticResources envoy_config_bootstrap_v3_Bootstrap_StaticResources;
|
49
|
-
typedef struct envoy_config_bootstrap_v3_Bootstrap_DynamicResources envoy_config_bootstrap_v3_Bootstrap_DynamicResources;
|
50
|
-
typedef struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig;
|
51
|
-
typedef struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat;
|
52
|
-
typedef struct envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions;
|
53
|
-
typedef struct envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig;
|
54
|
-
typedef struct envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry;
|
55
|
-
typedef struct envoy_config_bootstrap_v3_Admin envoy_config_bootstrap_v3_Admin;
|
56
|
-
typedef struct envoy_config_bootstrap_v3_ClusterManager envoy_config_bootstrap_v3_ClusterManager;
|
57
|
-
typedef struct envoy_config_bootstrap_v3_ClusterManager_OutlierDetection envoy_config_bootstrap_v3_ClusterManager_OutlierDetection;
|
58
|
-
typedef struct envoy_config_bootstrap_v3_Watchdogs envoy_config_bootstrap_v3_Watchdogs;
|
59
|
-
typedef struct envoy_config_bootstrap_v3_Watchdog envoy_config_bootstrap_v3_Watchdog;
|
60
|
-
typedef struct envoy_config_bootstrap_v3_Watchdog_WatchdogAction envoy_config_bootstrap_v3_Watchdog_WatchdogAction;
|
61
|
-
typedef struct envoy_config_bootstrap_v3_FatalAction envoy_config_bootstrap_v3_FatalAction;
|
62
|
-
typedef struct envoy_config_bootstrap_v3_Runtime envoy_config_bootstrap_v3_Runtime;
|
63
|
-
typedef struct envoy_config_bootstrap_v3_RuntimeLayer envoy_config_bootstrap_v3_RuntimeLayer;
|
64
|
-
typedef struct envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer;
|
65
|
-
typedef struct envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer;
|
66
|
-
typedef struct envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer;
|
67
|
-
typedef struct envoy_config_bootstrap_v3_LayeredRuntime envoy_config_bootstrap_v3_LayeredRuntime;
|
68
|
-
typedef struct envoy_config_bootstrap_v3_CustomInlineHeader envoy_config_bootstrap_v3_CustomInlineHeader;
|
47
|
+
typedef struct envoy_config_bootstrap_v3_Bootstrap { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Bootstrap;
|
48
|
+
typedef struct envoy_config_bootstrap_v3_Bootstrap_StaticResources { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Bootstrap_StaticResources;
|
49
|
+
typedef struct envoy_config_bootstrap_v3_Bootstrap_DynamicResources { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Bootstrap_DynamicResources;
|
50
|
+
typedef struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig;
|
51
|
+
typedef struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat;
|
52
|
+
typedef struct envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions;
|
53
|
+
typedef struct envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig;
|
54
|
+
typedef struct envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry;
|
55
|
+
typedef struct envoy_config_bootstrap_v3_Admin { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Admin;
|
56
|
+
typedef struct envoy_config_bootstrap_v3_ClusterManager { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_ClusterManager;
|
57
|
+
typedef struct envoy_config_bootstrap_v3_ClusterManager_OutlierDetection { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_ClusterManager_OutlierDetection;
|
58
|
+
typedef struct envoy_config_bootstrap_v3_Watchdogs { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Watchdogs;
|
59
|
+
typedef struct envoy_config_bootstrap_v3_Watchdog { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Watchdog;
|
60
|
+
typedef struct envoy_config_bootstrap_v3_Watchdog_WatchdogAction { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Watchdog_WatchdogAction;
|
61
|
+
typedef struct envoy_config_bootstrap_v3_FatalAction { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_FatalAction;
|
62
|
+
typedef struct envoy_config_bootstrap_v3_Runtime { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Runtime;
|
63
|
+
typedef struct envoy_config_bootstrap_v3_RuntimeLayer { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_RuntimeLayer;
|
64
|
+
typedef struct envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer;
|
65
|
+
typedef struct envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer;
|
66
|
+
typedef struct envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer;
|
67
|
+
typedef struct envoy_config_bootstrap_v3_LayeredRuntime { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_LayeredRuntime;
|
68
|
+
typedef struct envoy_config_bootstrap_v3_CustomInlineHeader { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_CustomInlineHeader;
|
69
69
|
struct envoy_config_accesslog_v3_AccessLog;
|
70
70
|
struct envoy_config_cluster_v3_Cluster;
|
71
71
|
struct envoy_config_core_v3_Address;
|
@@ -113,7 +113,8 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap* envoy_config_bootstrap_v3_Bootst
|
|
113
113
|
UPB_INLINE envoy_config_bootstrap_v3_Bootstrap* envoy_config_bootstrap_v3_Bootstrap_parse(const char* buf, size_t size, upb_Arena* arena) {
|
114
114
|
envoy_config_bootstrap_v3_Bootstrap* ret = envoy_config_bootstrap_v3_Bootstrap_new(arena);
|
115
115
|
if (!ret) return NULL;
|
116
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap_msg_init, NULL, 0, arena) !=
|
116
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap_msg_init, NULL, 0, arena) !=
|
117
|
+
kUpb_DecodeStatus_Ok) {
|
117
118
|
return NULL;
|
118
119
|
}
|
119
120
|
return ret;
|
@@ -123,21 +124,21 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap* envoy_config_bootstrap_v3_Bootst
|
|
123
124
|
int options, upb_Arena* arena) {
|
124
125
|
envoy_config_bootstrap_v3_Bootstrap* ret = envoy_config_bootstrap_v3_Bootstrap_new(arena);
|
125
126
|
if (!ret) return NULL;
|
126
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap_msg_init, extreg, options,
|
127
|
-
|
127
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap_msg_init, extreg, options,
|
128
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
128
129
|
return NULL;
|
129
130
|
}
|
130
131
|
return ret;
|
131
132
|
}
|
132
133
|
UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_serialize(const envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena, size_t* len) {
|
133
134
|
char* ptr;
|
134
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap_msg_init, 0, arena, &ptr, len);
|
135
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap_msg_init, 0, arena, &ptr, len);
|
135
136
|
return ptr;
|
136
137
|
}
|
137
138
|
UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap* msg, int options,
|
138
139
|
upb_Arena* arena, size_t* len) {
|
139
140
|
char* ptr;
|
140
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap_msg_init, options, arena, &ptr, len);
|
141
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap_msg_init, options, arena, &ptr, len);
|
141
142
|
return ptr;
|
142
143
|
}
|
143
144
|
typedef enum {
|
@@ -145,697 +146,707 @@ typedef enum {
|
|
145
146
|
envoy_config_bootstrap_v3_Bootstrap_stats_flush_NOT_SET = 0
|
146
147
|
} envoy_config_bootstrap_v3_Bootstrap_stats_flush_oneofcases;
|
147
148
|
UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_stats_flush_oneofcases envoy_config_bootstrap_v3_Bootstrap_stats_flush_case(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
148
|
-
const upb_MiniTableField field = {29,
|
149
|
-
return (envoy_config_bootstrap_v3_Bootstrap_stats_flush_oneofcases)upb_Message_WhichOneofFieldNumber(
|
149
|
+
const upb_MiniTableField field = {29, 11, UPB_SIZE(-105, -17), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
150
|
+
return (envoy_config_bootstrap_v3_Bootstrap_stats_flush_oneofcases)upb_Message_WhichOneofFieldNumber(
|
151
|
+
UPB_UPCAST(msg), &field);
|
150
152
|
}
|
151
153
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_node(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
152
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
153
|
-
|
154
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
155
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
154
156
|
}
|
155
157
|
UPB_INLINE const struct envoy_config_core_v3_Node* envoy_config_bootstrap_v3_Bootstrap_node(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
156
158
|
const struct envoy_config_core_v3_Node* default_val = NULL;
|
157
159
|
const struct envoy_config_core_v3_Node* ret;
|
158
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
159
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
160
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
161
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
162
|
+
&default_val, &ret);
|
160
163
|
return ret;
|
161
164
|
}
|
162
165
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_node(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
163
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
164
|
-
return
|
166
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
167
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
165
168
|
}
|
166
169
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_static_resources(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
167
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
168
|
-
|
170
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
171
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
169
172
|
}
|
170
173
|
UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_StaticResources* envoy_config_bootstrap_v3_Bootstrap_static_resources(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
171
174
|
const envoy_config_bootstrap_v3_Bootstrap_StaticResources* default_val = NULL;
|
172
175
|
const envoy_config_bootstrap_v3_Bootstrap_StaticResources* ret;
|
173
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
174
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
176
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
177
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
178
|
+
&default_val, &ret);
|
175
179
|
return ret;
|
176
180
|
}
|
177
181
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_static_resources(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
178
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
179
|
-
return
|
182
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
183
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
180
184
|
}
|
181
185
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_dynamic_resources(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
182
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
183
|
-
|
186
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
187
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
184
188
|
}
|
185
189
|
UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* envoy_config_bootstrap_v3_Bootstrap_dynamic_resources(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
186
190
|
const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* default_val = NULL;
|
187
191
|
const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* ret;
|
188
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
189
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
192
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
193
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
194
|
+
&default_val, &ret);
|
190
195
|
return ret;
|
191
196
|
}
|
192
197
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_dynamic_resources(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
193
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
194
|
-
return
|
198
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
199
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
195
200
|
}
|
196
201
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_cluster_manager(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
197
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
198
|
-
|
202
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 48), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
203
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
199
204
|
}
|
200
205
|
UPB_INLINE const envoy_config_bootstrap_v3_ClusterManager* envoy_config_bootstrap_v3_Bootstrap_cluster_manager(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
201
206
|
const envoy_config_bootstrap_v3_ClusterManager* default_val = NULL;
|
202
207
|
const envoy_config_bootstrap_v3_ClusterManager* ret;
|
203
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
204
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
208
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 48), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
209
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
210
|
+
&default_val, &ret);
|
205
211
|
return ret;
|
206
212
|
}
|
207
213
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_cluster_manager(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
208
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
209
|
-
return
|
214
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 48), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
215
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
210
216
|
}
|
211
217
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_flags_path(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
212
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
213
|
-
|
218
|
+
const upb_MiniTableField field = {5, UPB_SIZE(148, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
219
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
214
220
|
}
|
215
221
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_flags_path(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
216
222
|
upb_StringView default_val = upb_StringView_FromString("");
|
217
223
|
upb_StringView ret;
|
218
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
219
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
224
|
+
const upb_MiniTableField field = {5, UPB_SIZE(148, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
225
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
226
|
+
&default_val, &ret);
|
220
227
|
return ret;
|
221
228
|
}
|
222
229
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_stats_sinks(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
223
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
224
|
-
|
230
|
+
const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
231
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
225
232
|
}
|
226
233
|
UPB_INLINE const struct envoy_config_metrics_v3_StatsSink* const* envoy_config_bootstrap_v3_Bootstrap_stats_sinks(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
|
227
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
228
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
234
|
+
const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
235
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
229
236
|
if (arr) {
|
230
|
-
if (size) *size = arr->size;
|
231
|
-
return (const struct envoy_config_metrics_v3_StatsSink* const*)
|
237
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
238
|
+
return (const struct envoy_config_metrics_v3_StatsSink* const*)upb_Array_DataPtr(arr);
|
232
239
|
} else {
|
233
240
|
if (size) *size = 0;
|
234
241
|
return NULL;
|
235
242
|
}
|
236
243
|
}
|
237
244
|
UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_stats_sinks_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
|
238
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
239
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
245
|
+
const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
246
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
240
247
|
if (size) {
|
241
|
-
*size = arr ? arr->size : 0;
|
248
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
242
249
|
}
|
243
250
|
return arr;
|
244
251
|
}
|
245
|
-
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_stats_sinks_mutable_upb_array(
|
246
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
247
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
248
|
-
|
252
|
+
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_stats_sinks_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size, upb_Arena* arena) {
|
253
|
+
const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
254
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
255
|
+
&field, arena);
|
249
256
|
if (size) {
|
250
|
-
*size = arr ? arr->size : 0;
|
257
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
251
258
|
}
|
252
259
|
return arr;
|
253
260
|
}
|
254
|
-
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_stats_sinks(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
255
|
-
size_t size;
|
256
|
-
envoy_config_bootstrap_v3_Bootstrap_stats_sinks(msg, &size);
|
257
|
-
return size != 0;
|
258
|
-
}
|
259
261
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_stats_flush_interval(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
260
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
261
|
-
|
262
|
+
const upb_MiniTableField field = {7, UPB_SIZE(32, 80), 68, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
263
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
262
264
|
}
|
263
265
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_bootstrap_v3_Bootstrap_stats_flush_interval(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
264
266
|
const struct google_protobuf_Duration* default_val = NULL;
|
265
267
|
const struct google_protobuf_Duration* ret;
|
266
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
267
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
268
|
+
const upb_MiniTableField field = {7, UPB_SIZE(32, 80), 68, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
269
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
270
|
+
&default_val, &ret);
|
268
271
|
return ret;
|
269
272
|
}
|
270
273
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_stats_flush_interval(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
271
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
272
|
-
return
|
274
|
+
const upb_MiniTableField field = {7, UPB_SIZE(32, 80), 68, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
275
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
273
276
|
}
|
274
277
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_watchdog(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
275
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
276
|
-
|
278
|
+
const upb_MiniTableField field = {8, UPB_SIZE(36, 88), 69, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
279
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
277
280
|
}
|
278
281
|
UPB_INLINE const envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Bootstrap_watchdog(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
279
282
|
const envoy_config_bootstrap_v3_Watchdog* default_val = NULL;
|
280
283
|
const envoy_config_bootstrap_v3_Watchdog* ret;
|
281
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
282
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
284
|
+
const upb_MiniTableField field = {8, UPB_SIZE(36, 88), 69, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
285
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
286
|
+
&default_val, &ret);
|
283
287
|
return ret;
|
284
288
|
}
|
285
289
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_watchdog(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
286
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
287
|
-
return
|
290
|
+
const upb_MiniTableField field = {8, UPB_SIZE(36, 88), 69, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
291
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
288
292
|
}
|
289
293
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_tracing(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
290
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
291
|
-
|
294
|
+
const upb_MiniTableField field = {9, UPB_SIZE(40, 96), 70, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
295
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
292
296
|
}
|
293
297
|
UPB_INLINE const struct envoy_config_trace_v3_Tracing* envoy_config_bootstrap_v3_Bootstrap_tracing(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
294
298
|
const struct envoy_config_trace_v3_Tracing* default_val = NULL;
|
295
299
|
const struct envoy_config_trace_v3_Tracing* ret;
|
296
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
297
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
300
|
+
const upb_MiniTableField field = {9, UPB_SIZE(40, 96), 70, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
301
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
302
|
+
&default_val, &ret);
|
298
303
|
return ret;
|
299
304
|
}
|
300
305
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_tracing(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
301
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
302
|
-
return
|
306
|
+
const upb_MiniTableField field = {9, UPB_SIZE(40, 96), 70, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
307
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
303
308
|
}
|
304
309
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_admin(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
305
|
-
const upb_MiniTableField field = {12, UPB_SIZE(
|
306
|
-
|
310
|
+
const upb_MiniTableField field = {12, UPB_SIZE(44, 104), 71, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
311
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
307
312
|
}
|
308
313
|
UPB_INLINE const envoy_config_bootstrap_v3_Admin* envoy_config_bootstrap_v3_Bootstrap_admin(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
309
314
|
const envoy_config_bootstrap_v3_Admin* default_val = NULL;
|
310
315
|
const envoy_config_bootstrap_v3_Admin* ret;
|
311
|
-
const upb_MiniTableField field = {12, UPB_SIZE(
|
312
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
316
|
+
const upb_MiniTableField field = {12, UPB_SIZE(44, 104), 71, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
317
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
318
|
+
&default_val, &ret);
|
313
319
|
return ret;
|
314
320
|
}
|
315
321
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_admin(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
316
|
-
const upb_MiniTableField field = {12, UPB_SIZE(
|
317
|
-
return
|
322
|
+
const upb_MiniTableField field = {12, UPB_SIZE(44, 104), 71, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
323
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
318
324
|
}
|
319
325
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_stats_config(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
320
|
-
const upb_MiniTableField field = {13, UPB_SIZE(
|
321
|
-
|
326
|
+
const upb_MiniTableField field = {13, UPB_SIZE(48, 112), 72, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
327
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
322
328
|
}
|
323
329
|
UPB_INLINE const struct envoy_config_metrics_v3_StatsConfig* envoy_config_bootstrap_v3_Bootstrap_stats_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
324
330
|
const struct envoy_config_metrics_v3_StatsConfig* default_val = NULL;
|
325
331
|
const struct envoy_config_metrics_v3_StatsConfig* ret;
|
326
|
-
const upb_MiniTableField field = {13, UPB_SIZE(
|
327
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
332
|
+
const upb_MiniTableField field = {13, UPB_SIZE(48, 112), 72, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
333
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
334
|
+
&default_val, &ret);
|
328
335
|
return ret;
|
329
336
|
}
|
330
337
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_stats_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
331
|
-
const upb_MiniTableField field = {13, UPB_SIZE(
|
332
|
-
return
|
338
|
+
const upb_MiniTableField field = {13, UPB_SIZE(48, 112), 72, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
339
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
333
340
|
}
|
334
341
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_hds_config(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
335
|
-
const upb_MiniTableField field = {14, UPB_SIZE(
|
336
|
-
|
342
|
+
const upb_MiniTableField field = {14, UPB_SIZE(52, 120), 73, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
343
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
337
344
|
}
|
338
345
|
UPB_INLINE const struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v3_Bootstrap_hds_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
339
346
|
const struct envoy_config_core_v3_ApiConfigSource* default_val = NULL;
|
340
347
|
const struct envoy_config_core_v3_ApiConfigSource* ret;
|
341
|
-
const upb_MiniTableField field = {14, UPB_SIZE(
|
342
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
348
|
+
const upb_MiniTableField field = {14, UPB_SIZE(52, 120), 73, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
349
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
350
|
+
&default_val, &ret);
|
343
351
|
return ret;
|
344
352
|
}
|
345
353
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_hds_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
346
|
-
const upb_MiniTableField field = {14, UPB_SIZE(
|
347
|
-
return
|
354
|
+
const upb_MiniTableField field = {14, UPB_SIZE(52, 120), 73, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
355
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
348
356
|
}
|
349
357
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_overload_manager(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
350
|
-
const upb_MiniTableField field = {15, UPB_SIZE(
|
351
|
-
|
358
|
+
const upb_MiniTableField field = {15, UPB_SIZE(56, 128), 74, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
359
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
352
360
|
}
|
353
361
|
UPB_INLINE const struct envoy_config_overload_v3_OverloadManager* envoy_config_bootstrap_v3_Bootstrap_overload_manager(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
354
362
|
const struct envoy_config_overload_v3_OverloadManager* default_val = NULL;
|
355
363
|
const struct envoy_config_overload_v3_OverloadManager* ret;
|
356
|
-
const upb_MiniTableField field = {15, UPB_SIZE(
|
357
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
364
|
+
const upb_MiniTableField field = {15, UPB_SIZE(56, 128), 74, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
365
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
366
|
+
&default_val, &ret);
|
358
367
|
return ret;
|
359
368
|
}
|
360
369
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_overload_manager(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
361
|
-
const upb_MiniTableField field = {15, UPB_SIZE(
|
362
|
-
return
|
370
|
+
const upb_MiniTableField field = {15, UPB_SIZE(56, 128), 74, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
371
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
363
372
|
}
|
364
373
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_enable_dispatcher_stats(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
365
|
-
const upb_MiniTableField field = {16, UPB_SIZE(
|
366
|
-
|
374
|
+
const upb_MiniTableField field = {16, UPB_SIZE(60, 12), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
375
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
367
376
|
}
|
368
377
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_enable_dispatcher_stats(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
369
378
|
bool default_val = false;
|
370
379
|
bool ret;
|
371
|
-
const upb_MiniTableField field = {16, UPB_SIZE(
|
372
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
380
|
+
const upb_MiniTableField field = {16, UPB_SIZE(60, 12), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
381
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
382
|
+
&default_val, &ret);
|
373
383
|
return ret;
|
374
384
|
}
|
375
385
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_layered_runtime(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
376
|
-
const upb_MiniTableField field = {17, UPB_SIZE(
|
377
|
-
|
386
|
+
const upb_MiniTableField field = {17, UPB_SIZE(64, 136), 75, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
387
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
378
388
|
}
|
379
389
|
UPB_INLINE const envoy_config_bootstrap_v3_LayeredRuntime* envoy_config_bootstrap_v3_Bootstrap_layered_runtime(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
380
390
|
const envoy_config_bootstrap_v3_LayeredRuntime* default_val = NULL;
|
381
391
|
const envoy_config_bootstrap_v3_LayeredRuntime* ret;
|
382
|
-
const upb_MiniTableField field = {17, UPB_SIZE(
|
383
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
392
|
+
const upb_MiniTableField field = {17, UPB_SIZE(64, 136), 75, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
393
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
394
|
+
&default_val, &ret);
|
384
395
|
return ret;
|
385
396
|
}
|
386
397
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_layered_runtime(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
387
|
-
const upb_MiniTableField field = {17, UPB_SIZE(
|
388
|
-
return
|
398
|
+
const upb_MiniTableField field = {17, UPB_SIZE(64, 136), 75, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
399
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
389
400
|
}
|
390
401
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_header_prefix(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
391
|
-
const upb_MiniTableField field = {18, UPB_SIZE(
|
392
|
-
|
402
|
+
const upb_MiniTableField field = {18, UPB_SIZE(156, 144), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
403
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
393
404
|
}
|
394
405
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_header_prefix(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
395
406
|
upb_StringView default_val = upb_StringView_FromString("");
|
396
407
|
upb_StringView ret;
|
397
|
-
const upb_MiniTableField field = {18, UPB_SIZE(
|
398
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
408
|
+
const upb_MiniTableField field = {18, UPB_SIZE(156, 144), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
409
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
410
|
+
&default_val, &ret);
|
399
411
|
return ret;
|
400
412
|
}
|
401
413
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_stats_server_version_override(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
402
|
-
const upb_MiniTableField field = {19, UPB_SIZE(
|
403
|
-
|
414
|
+
const upb_MiniTableField field = {19, UPB_SIZE(68, 160), 76, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
415
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
404
416
|
}
|
405
417
|
UPB_INLINE const struct google_protobuf_UInt64Value* envoy_config_bootstrap_v3_Bootstrap_stats_server_version_override(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
406
418
|
const struct google_protobuf_UInt64Value* default_val = NULL;
|
407
419
|
const struct google_protobuf_UInt64Value* ret;
|
408
|
-
const upb_MiniTableField field = {19, UPB_SIZE(
|
409
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
420
|
+
const upb_MiniTableField field = {19, UPB_SIZE(68, 160), 76, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
421
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
422
|
+
&default_val, &ret);
|
410
423
|
return ret;
|
411
424
|
}
|
412
425
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_stats_server_version_override(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
413
|
-
const upb_MiniTableField field = {19, UPB_SIZE(
|
414
|
-
return
|
426
|
+
const upb_MiniTableField field = {19, UPB_SIZE(68, 160), 76, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
427
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
415
428
|
}
|
416
429
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_use_tcp_for_dns_lookups(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
417
|
-
const upb_MiniTableField field = {20, UPB_SIZE(
|
418
|
-
|
430
|
+
const upb_MiniTableField field = {20, UPB_SIZE(72, 13), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
431
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
419
432
|
}
|
420
433
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_use_tcp_for_dns_lookups(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
421
434
|
bool default_val = false;
|
422
435
|
bool ret;
|
423
|
-
const upb_MiniTableField field = {20, UPB_SIZE(
|
424
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
436
|
+
const upb_MiniTableField field = {20, UPB_SIZE(72, 13), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
437
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
438
|
+
&default_val, &ret);
|
425
439
|
return ret;
|
426
440
|
}
|
427
441
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_bootstrap_extensions(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
428
|
-
const upb_MiniTableField field = {21, UPB_SIZE(
|
429
|
-
|
442
|
+
const upb_MiniTableField field = {21, UPB_SIZE(76, 168), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
443
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
430
444
|
}
|
431
445
|
UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* const* envoy_config_bootstrap_v3_Bootstrap_bootstrap_extensions(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
|
432
|
-
const upb_MiniTableField field = {21, UPB_SIZE(
|
433
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
446
|
+
const upb_MiniTableField field = {21, UPB_SIZE(76, 168), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
447
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
434
448
|
if (arr) {
|
435
|
-
if (size) *size = arr->size;
|
436
|
-
return (const struct envoy_config_core_v3_TypedExtensionConfig* const*)
|
449
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
450
|
+
return (const struct envoy_config_core_v3_TypedExtensionConfig* const*)upb_Array_DataPtr(arr);
|
437
451
|
} else {
|
438
452
|
if (size) *size = 0;
|
439
453
|
return NULL;
|
440
454
|
}
|
441
455
|
}
|
442
456
|
UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_bootstrap_extensions_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
|
443
|
-
const upb_MiniTableField field = {21, UPB_SIZE(
|
444
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
457
|
+
const upb_MiniTableField field = {21, UPB_SIZE(76, 168), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
458
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
445
459
|
if (size) {
|
446
|
-
*size = arr ? arr->size : 0;
|
460
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
447
461
|
}
|
448
462
|
return arr;
|
449
463
|
}
|
450
|
-
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_bootstrap_extensions_mutable_upb_array(
|
451
|
-
const upb_MiniTableField field = {21, UPB_SIZE(
|
452
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
453
|
-
|
464
|
+
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_bootstrap_extensions_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size, upb_Arena* arena) {
|
465
|
+
const upb_MiniTableField field = {21, UPB_SIZE(76, 168), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
466
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
467
|
+
&field, arena);
|
454
468
|
if (size) {
|
455
|
-
*size = arr ? arr->size : 0;
|
469
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
456
470
|
}
|
457
471
|
return arr;
|
458
472
|
}
|
459
|
-
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_bootstrap_extensions(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
460
|
-
size_t size;
|
461
|
-
envoy_config_bootstrap_v3_Bootstrap_bootstrap_extensions(msg, &size);
|
462
|
-
return size != 0;
|
463
|
-
}
|
464
473
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_config_sources(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
465
|
-
const upb_MiniTableField field = {22, UPB_SIZE(
|
466
|
-
|
474
|
+
const upb_MiniTableField field = {22, UPB_SIZE(80, 176), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
475
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
467
476
|
}
|
468
477
|
UPB_INLINE const struct envoy_config_core_v3_ConfigSource* const* envoy_config_bootstrap_v3_Bootstrap_config_sources(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
|
469
|
-
const upb_MiniTableField field = {22, UPB_SIZE(
|
470
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
478
|
+
const upb_MiniTableField field = {22, UPB_SIZE(80, 176), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
479
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
471
480
|
if (arr) {
|
472
|
-
if (size) *size = arr->size;
|
473
|
-
return (const struct envoy_config_core_v3_ConfigSource* const*)
|
481
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
482
|
+
return (const struct envoy_config_core_v3_ConfigSource* const*)upb_Array_DataPtr(arr);
|
474
483
|
} else {
|
475
484
|
if (size) *size = 0;
|
476
485
|
return NULL;
|
477
486
|
}
|
478
487
|
}
|
479
488
|
UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_config_sources_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
|
480
|
-
const upb_MiniTableField field = {22, UPB_SIZE(
|
481
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
489
|
+
const upb_MiniTableField field = {22, UPB_SIZE(80, 176), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
490
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
482
491
|
if (size) {
|
483
|
-
*size = arr ? arr->size : 0;
|
492
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
484
493
|
}
|
485
494
|
return arr;
|
486
495
|
}
|
487
|
-
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_config_sources_mutable_upb_array(
|
488
|
-
const upb_MiniTableField field = {22, UPB_SIZE(
|
489
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
490
|
-
|
496
|
+
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_config_sources_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size, upb_Arena* arena) {
|
497
|
+
const upb_MiniTableField field = {22, UPB_SIZE(80, 176), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
498
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
499
|
+
&field, arena);
|
491
500
|
if (size) {
|
492
|
-
*size = arr ? arr->size : 0;
|
501
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
493
502
|
}
|
494
503
|
return arr;
|
495
504
|
}
|
496
|
-
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_config_sources(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
497
|
-
size_t size;
|
498
|
-
envoy_config_bootstrap_v3_Bootstrap_config_sources(msg, &size);
|
499
|
-
return size != 0;
|
500
|
-
}
|
501
505
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_default_config_source(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
502
|
-
const upb_MiniTableField field = {23, UPB_SIZE(
|
503
|
-
|
506
|
+
const upb_MiniTableField field = {23, UPB_SIZE(84, 184), 77, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
507
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
504
508
|
}
|
505
509
|
UPB_INLINE const struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_default_config_source(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
506
510
|
const struct envoy_config_core_v3_ConfigSource* default_val = NULL;
|
507
511
|
const struct envoy_config_core_v3_ConfigSource* ret;
|
508
|
-
const upb_MiniTableField field = {23, UPB_SIZE(
|
509
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
512
|
+
const upb_MiniTableField field = {23, UPB_SIZE(84, 184), 77, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
513
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
514
|
+
&default_val, &ret);
|
510
515
|
return ret;
|
511
516
|
}
|
512
517
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_default_config_source(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
513
|
-
const upb_MiniTableField field = {23, UPB_SIZE(
|
514
|
-
return
|
518
|
+
const upb_MiniTableField field = {23, UPB_SIZE(84, 184), 77, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
519
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
515
520
|
}
|
516
521
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_default_socket_interface(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
517
|
-
const upb_MiniTableField field = {24, UPB_SIZE(
|
518
|
-
|
522
|
+
const upb_MiniTableField field = {24, UPB_SIZE(164, 192), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
523
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
519
524
|
}
|
520
525
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_default_socket_interface(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
521
526
|
upb_StringView default_val = upb_StringView_FromString("");
|
522
527
|
upb_StringView ret;
|
523
|
-
const upb_MiniTableField field = {24, UPB_SIZE(
|
524
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
528
|
+
const upb_MiniTableField field = {24, UPB_SIZE(164, 192), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
529
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
530
|
+
&default_val, &ret);
|
525
531
|
return ret;
|
526
532
|
}
|
527
533
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_certificate_provider_instances(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
528
|
-
const upb_MiniTableField field = {25, UPB_SIZE(
|
529
|
-
|
534
|
+
const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
535
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
530
536
|
}
|
531
537
|
UPB_INLINE size_t envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_size(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
532
|
-
const upb_MiniTableField field = {25, UPB_SIZE(
|
533
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
538
|
+
const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
539
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
534
540
|
return map ? _upb_Map_Size(map) : 0;
|
535
541
|
}
|
536
542
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_get(const envoy_config_bootstrap_v3_Bootstrap* msg, upb_StringView key, struct envoy_config_core_v3_TypedExtensionConfig** val) {
|
537
|
-
const upb_MiniTableField field = {25, UPB_SIZE(
|
538
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
543
|
+
const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
544
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
539
545
|
if (!map) return false;
|
540
546
|
return _upb_Map_Get(map, &key, 0, val, sizeof(*val));
|
541
547
|
}
|
542
548
|
UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry* envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_next(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* iter) {
|
543
|
-
const upb_MiniTableField field = {25, UPB_SIZE(
|
544
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
549
|
+
const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
550
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
545
551
|
if (!map) return NULL;
|
546
552
|
return (const envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry*)_upb_map_next(map, iter);
|
547
553
|
}
|
554
|
+
UPB_INLINE const upb_Map* _envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_upb_map(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
555
|
+
const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
556
|
+
return upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
557
|
+
}
|
558
|
+
UPB_INLINE upb_Map* _envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_mutable_upb_map(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* a) {
|
559
|
+
const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
560
|
+
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field, 0, sizeof(struct envoy_config_core_v3_TypedExtensionConfig*), a);
|
561
|
+
}
|
548
562
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_node_context_params(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
549
|
-
const upb_MiniTableField field = {26, UPB_SIZE(
|
550
|
-
|
563
|
+
const upb_MiniTableField field = {26, UPB_SIZE(92, 216), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
564
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
551
565
|
}
|
552
566
|
UPB_INLINE upb_StringView const* envoy_config_bootstrap_v3_Bootstrap_node_context_params(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
|
553
|
-
const upb_MiniTableField field = {26, UPB_SIZE(
|
554
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
567
|
+
const upb_MiniTableField field = {26, UPB_SIZE(92, 216), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
568
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
555
569
|
if (arr) {
|
556
|
-
if (size) *size = arr->size;
|
557
|
-
return (upb_StringView const*)
|
570
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
571
|
+
return (upb_StringView const*)upb_Array_DataPtr(arr);
|
558
572
|
} else {
|
559
573
|
if (size) *size = 0;
|
560
574
|
return NULL;
|
561
575
|
}
|
562
576
|
}
|
563
577
|
UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_node_context_params_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
|
564
|
-
const upb_MiniTableField field = {26, UPB_SIZE(
|
565
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
578
|
+
const upb_MiniTableField field = {26, UPB_SIZE(92, 216), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
579
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
566
580
|
if (size) {
|
567
|
-
*size = arr ? arr->size : 0;
|
581
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
568
582
|
}
|
569
583
|
return arr;
|
570
584
|
}
|
571
|
-
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_node_context_params_mutable_upb_array(
|
572
|
-
const upb_MiniTableField field = {26, UPB_SIZE(
|
573
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
574
|
-
|
585
|
+
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_node_context_params_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size, upb_Arena* arena) {
|
586
|
+
const upb_MiniTableField field = {26, UPB_SIZE(92, 216), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
587
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
588
|
+
&field, arena);
|
575
589
|
if (size) {
|
576
|
-
*size = arr ? arr->size : 0;
|
590
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
577
591
|
}
|
578
592
|
return arr;
|
579
593
|
}
|
580
|
-
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_node_context_params(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
581
|
-
size_t size;
|
582
|
-
envoy_config_bootstrap_v3_Bootstrap_node_context_params(msg, &size);
|
583
|
-
return size != 0;
|
584
|
-
}
|
585
594
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_watchdogs(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
586
|
-
const upb_MiniTableField field = {27, UPB_SIZE(
|
587
|
-
|
595
|
+
const upb_MiniTableField field = {27, UPB_SIZE(96, 224), 78, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
596
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
588
597
|
}
|
589
598
|
UPB_INLINE const envoy_config_bootstrap_v3_Watchdogs* envoy_config_bootstrap_v3_Bootstrap_watchdogs(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
590
599
|
const envoy_config_bootstrap_v3_Watchdogs* default_val = NULL;
|
591
600
|
const envoy_config_bootstrap_v3_Watchdogs* ret;
|
592
|
-
const upb_MiniTableField field = {27, UPB_SIZE(
|
593
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
601
|
+
const upb_MiniTableField field = {27, UPB_SIZE(96, 224), 78, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
602
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
603
|
+
&default_val, &ret);
|
594
604
|
return ret;
|
595
605
|
}
|
596
606
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_watchdogs(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
597
|
-
const upb_MiniTableField field = {27, UPB_SIZE(
|
598
|
-
return
|
607
|
+
const upb_MiniTableField field = {27, UPB_SIZE(96, 224), 78, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
608
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
599
609
|
}
|
600
610
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_fatal_actions(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
601
|
-
const upb_MiniTableField field = {28, UPB_SIZE(
|
602
|
-
|
611
|
+
const upb_MiniTableField field = {28, UPB_SIZE(100, 232), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
612
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
603
613
|
}
|
604
614
|
UPB_INLINE const envoy_config_bootstrap_v3_FatalAction* const* envoy_config_bootstrap_v3_Bootstrap_fatal_actions(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
|
605
|
-
const upb_MiniTableField field = {28, UPB_SIZE(
|
606
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
615
|
+
const upb_MiniTableField field = {28, UPB_SIZE(100, 232), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
616
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
607
617
|
if (arr) {
|
608
|
-
if (size) *size = arr->size;
|
609
|
-
return (const envoy_config_bootstrap_v3_FatalAction* const*)
|
618
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
619
|
+
return (const envoy_config_bootstrap_v3_FatalAction* const*)upb_Array_DataPtr(arr);
|
610
620
|
} else {
|
611
621
|
if (size) *size = 0;
|
612
622
|
return NULL;
|
613
623
|
}
|
614
624
|
}
|
615
625
|
UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_fatal_actions_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
|
616
|
-
const upb_MiniTableField field = {28, UPB_SIZE(
|
617
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
626
|
+
const upb_MiniTableField field = {28, UPB_SIZE(100, 232), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
627
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
618
628
|
if (size) {
|
619
|
-
*size = arr ? arr->size : 0;
|
629
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
620
630
|
}
|
621
631
|
return arr;
|
622
632
|
}
|
623
|
-
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_fatal_actions_mutable_upb_array(
|
624
|
-
const upb_MiniTableField field = {28, UPB_SIZE(
|
625
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
626
|
-
|
633
|
+
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_fatal_actions_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size, upb_Arena* arena) {
|
634
|
+
const upb_MiniTableField field = {28, UPB_SIZE(100, 232), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
635
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
636
|
+
&field, arena);
|
627
637
|
if (size) {
|
628
|
-
*size = arr ? arr->size : 0;
|
638
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
629
639
|
}
|
630
640
|
return arr;
|
631
641
|
}
|
632
|
-
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_fatal_actions(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
633
|
-
size_t size;
|
634
|
-
envoy_config_bootstrap_v3_Bootstrap_fatal_actions(msg, &size);
|
635
|
-
return size != 0;
|
636
|
-
}
|
637
642
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_stats_flush_on_admin(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
638
|
-
const upb_MiniTableField field = {29,
|
639
|
-
|
643
|
+
const upb_MiniTableField field = {29, 11, UPB_SIZE(-105, -17), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
644
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
640
645
|
}
|
641
646
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_stats_flush_on_admin(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
642
647
|
bool default_val = false;
|
643
648
|
bool ret;
|
644
|
-
const upb_MiniTableField field = {29,
|
645
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
649
|
+
const upb_MiniTableField field = {29, 11, UPB_SIZE(-105, -17), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
650
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
651
|
+
&default_val, &ret);
|
646
652
|
return ret;
|
647
653
|
}
|
648
654
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_stats_flush_on_admin(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
649
|
-
const upb_MiniTableField field = {29,
|
650
|
-
return
|
655
|
+
const upb_MiniTableField field = {29, 11, UPB_SIZE(-105, -17), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
656
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
651
657
|
}
|
652
658
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_dns_resolution_config(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
653
|
-
const upb_MiniTableField field = {30, UPB_SIZE(
|
654
|
-
|
659
|
+
const upb_MiniTableField field = {30, UPB_SIZE(108, 240), 79, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
660
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
655
661
|
}
|
656
662
|
UPB_INLINE const struct envoy_config_core_v3_DnsResolutionConfig* envoy_config_bootstrap_v3_Bootstrap_dns_resolution_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
657
663
|
const struct envoy_config_core_v3_DnsResolutionConfig* default_val = NULL;
|
658
664
|
const struct envoy_config_core_v3_DnsResolutionConfig* ret;
|
659
|
-
const upb_MiniTableField field = {30, UPB_SIZE(
|
660
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
665
|
+
const upb_MiniTableField field = {30, UPB_SIZE(108, 240), 79, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
666
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
667
|
+
&default_val, &ret);
|
661
668
|
return ret;
|
662
669
|
}
|
663
670
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_dns_resolution_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
664
|
-
const upb_MiniTableField field = {30, UPB_SIZE(
|
665
|
-
return
|
671
|
+
const upb_MiniTableField field = {30, UPB_SIZE(108, 240), 79, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
672
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
666
673
|
}
|
667
674
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_typed_dns_resolver_config(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
668
|
-
const upb_MiniTableField field = {31, UPB_SIZE(
|
669
|
-
|
675
|
+
const upb_MiniTableField field = {31, UPB_SIZE(112, 248), 80, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
676
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
670
677
|
}
|
671
678
|
UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_typed_dns_resolver_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
672
679
|
const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
|
673
680
|
const struct envoy_config_core_v3_TypedExtensionConfig* ret;
|
674
|
-
const upb_MiniTableField field = {31, UPB_SIZE(
|
675
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
681
|
+
const upb_MiniTableField field = {31, UPB_SIZE(112, 248), 80, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
682
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
683
|
+
&default_val, &ret);
|
676
684
|
return ret;
|
677
685
|
}
|
678
686
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_typed_dns_resolver_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
679
|
-
const upb_MiniTableField field = {31, UPB_SIZE(
|
680
|
-
return
|
687
|
+
const upb_MiniTableField field = {31, UPB_SIZE(112, 248), 80, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
688
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
681
689
|
}
|
682
690
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_inline_headers(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
683
|
-
const upb_MiniTableField field = {32, UPB_SIZE(
|
684
|
-
|
691
|
+
const upb_MiniTableField field = {32, UPB_SIZE(116, 256), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
692
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
685
693
|
}
|
686
694
|
UPB_INLINE const envoy_config_bootstrap_v3_CustomInlineHeader* const* envoy_config_bootstrap_v3_Bootstrap_inline_headers(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
|
687
|
-
const upb_MiniTableField field = {32, UPB_SIZE(
|
688
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
695
|
+
const upb_MiniTableField field = {32, UPB_SIZE(116, 256), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
696
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
689
697
|
if (arr) {
|
690
|
-
if (size) *size = arr->size;
|
691
|
-
return (const envoy_config_bootstrap_v3_CustomInlineHeader* const*)
|
698
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
699
|
+
return (const envoy_config_bootstrap_v3_CustomInlineHeader* const*)upb_Array_DataPtr(arr);
|
692
700
|
} else {
|
693
701
|
if (size) *size = 0;
|
694
702
|
return NULL;
|
695
703
|
}
|
696
704
|
}
|
697
705
|
UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_inline_headers_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
|
698
|
-
const upb_MiniTableField field = {32, UPB_SIZE(
|
699
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
706
|
+
const upb_MiniTableField field = {32, UPB_SIZE(116, 256), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
707
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
700
708
|
if (size) {
|
701
|
-
*size = arr ? arr->size : 0;
|
709
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
702
710
|
}
|
703
711
|
return arr;
|
704
712
|
}
|
705
|
-
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_inline_headers_mutable_upb_array(
|
706
|
-
const upb_MiniTableField field = {32, UPB_SIZE(
|
707
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
708
|
-
|
713
|
+
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_inline_headers_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size, upb_Arena* arena) {
|
714
|
+
const upb_MiniTableField field = {32, UPB_SIZE(116, 256), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
715
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
716
|
+
&field, arena);
|
709
717
|
if (size) {
|
710
|
-
*size = arr ? arr->size : 0;
|
718
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
711
719
|
}
|
712
720
|
return arr;
|
713
721
|
}
|
714
|
-
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_inline_headers(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
715
|
-
size_t size;
|
716
|
-
envoy_config_bootstrap_v3_Bootstrap_inline_headers(msg, &size);
|
717
|
-
return size != 0;
|
718
|
-
}
|
719
722
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_perf_tracing_file_path(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
720
|
-
const upb_MiniTableField field = {33, UPB_SIZE(
|
721
|
-
|
723
|
+
const upb_MiniTableField field = {33, UPB_SIZE(172, 264), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
724
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
722
725
|
}
|
723
726
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_perf_tracing_file_path(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
724
727
|
upb_StringView default_val = upb_StringView_FromString("");
|
725
728
|
upb_StringView ret;
|
726
|
-
const upb_MiniTableField field = {33, UPB_SIZE(
|
727
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
729
|
+
const upb_MiniTableField field = {33, UPB_SIZE(172, 264), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
730
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
731
|
+
&default_val, &ret);
|
728
732
|
return ret;
|
729
733
|
}
|
730
734
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_default_regex_engine(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
731
|
-
const upb_MiniTableField field = {34, UPB_SIZE(
|
732
|
-
|
735
|
+
const upb_MiniTableField field = {34, UPB_SIZE(120, 280), 81, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
736
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
733
737
|
}
|
734
738
|
UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_default_regex_engine(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
735
739
|
const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
|
736
740
|
const struct envoy_config_core_v3_TypedExtensionConfig* ret;
|
737
|
-
const upb_MiniTableField field = {34, UPB_SIZE(
|
738
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
741
|
+
const upb_MiniTableField field = {34, UPB_SIZE(120, 280), 81, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
742
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
743
|
+
&default_val, &ret);
|
739
744
|
return ret;
|
740
745
|
}
|
741
746
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_default_regex_engine(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
742
|
-
const upb_MiniTableField field = {34, UPB_SIZE(
|
743
|
-
return
|
747
|
+
const upb_MiniTableField field = {34, UPB_SIZE(120, 280), 81, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
748
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
744
749
|
}
|
745
750
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_xds_delegate_extension(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
746
|
-
const upb_MiniTableField field = {35, UPB_SIZE(
|
747
|
-
|
751
|
+
const upb_MiniTableField field = {35, UPB_SIZE(124, 288), 82, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
752
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
748
753
|
}
|
749
754
|
UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_xds_delegate_extension(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
750
755
|
const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
|
751
756
|
const struct envoy_config_core_v3_TypedExtensionConfig* ret;
|
752
|
-
const upb_MiniTableField field = {35, UPB_SIZE(
|
753
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
757
|
+
const upb_MiniTableField field = {35, UPB_SIZE(124, 288), 82, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
758
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
759
|
+
&default_val, &ret);
|
754
760
|
return ret;
|
755
761
|
}
|
756
762
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_xds_delegate_extension(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
757
|
-
const upb_MiniTableField field = {35, UPB_SIZE(
|
758
|
-
return
|
763
|
+
const upb_MiniTableField field = {35, UPB_SIZE(124, 288), 82, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
764
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
759
765
|
}
|
760
766
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_xds_config_tracker_extension(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
761
|
-
const upb_MiniTableField field = {36, UPB_SIZE(
|
762
|
-
|
767
|
+
const upb_MiniTableField field = {36, UPB_SIZE(128, 296), 83, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
768
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
763
769
|
}
|
764
770
|
UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_xds_config_tracker_extension(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
765
771
|
const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
|
766
772
|
const struct envoy_config_core_v3_TypedExtensionConfig* ret;
|
767
|
-
const upb_MiniTableField field = {36, UPB_SIZE(
|
768
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
773
|
+
const upb_MiniTableField field = {36, UPB_SIZE(128, 296), 83, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
774
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
775
|
+
&default_val, &ret);
|
769
776
|
return ret;
|
770
777
|
}
|
771
778
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_xds_config_tracker_extension(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
772
|
-
const upb_MiniTableField field = {36, UPB_SIZE(
|
773
|
-
return
|
779
|
+
const upb_MiniTableField field = {36, UPB_SIZE(128, 296), 83, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
780
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
774
781
|
}
|
775
782
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_listener_manager(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
776
|
-
const upb_MiniTableField field = {37, UPB_SIZE(
|
777
|
-
|
783
|
+
const upb_MiniTableField field = {37, UPB_SIZE(132, 304), 84, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
784
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
778
785
|
}
|
779
786
|
UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_listener_manager(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
780
787
|
const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
|
781
788
|
const struct envoy_config_core_v3_TypedExtensionConfig* ret;
|
782
|
-
const upb_MiniTableField field = {37, UPB_SIZE(
|
783
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
789
|
+
const upb_MiniTableField field = {37, UPB_SIZE(132, 304), 84, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
790
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
791
|
+
&default_val, &ret);
|
784
792
|
return ret;
|
785
793
|
}
|
786
794
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_listener_manager(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
787
|
-
const upb_MiniTableField field = {37, UPB_SIZE(
|
788
|
-
return
|
795
|
+
const upb_MiniTableField field = {37, UPB_SIZE(132, 304), 84, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
796
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
789
797
|
}
|
790
798
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_application_log_config(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
791
|
-
const upb_MiniTableField field = {38, UPB_SIZE(
|
792
|
-
|
799
|
+
const upb_MiniTableField field = {38, UPB_SIZE(136, 312), 85, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
800
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
793
801
|
}
|
794
802
|
UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* envoy_config_bootstrap_v3_Bootstrap_application_log_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
795
803
|
const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* default_val = NULL;
|
796
804
|
const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* ret;
|
797
|
-
const upb_MiniTableField field = {38, UPB_SIZE(
|
798
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
805
|
+
const upb_MiniTableField field = {38, UPB_SIZE(136, 312), 85, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
806
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
807
|
+
&default_val, &ret);
|
799
808
|
return ret;
|
800
809
|
}
|
801
810
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_application_log_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
802
|
-
const upb_MiniTableField field = {38, UPB_SIZE(
|
803
|
-
return
|
811
|
+
const upb_MiniTableField field = {38, UPB_SIZE(136, 312), 85, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
812
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
804
813
|
}
|
805
814
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_deferred_stat_options(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
806
|
-
const upb_MiniTableField field = {39, UPB_SIZE(
|
807
|
-
|
815
|
+
const upb_MiniTableField field = {39, UPB_SIZE(140, 320), 86, 28, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
816
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
808
817
|
}
|
809
818
|
UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* envoy_config_bootstrap_v3_Bootstrap_deferred_stat_options(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
810
819
|
const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* default_val = NULL;
|
811
820
|
const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* ret;
|
812
|
-
const upb_MiniTableField field = {39, UPB_SIZE(
|
813
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
821
|
+
const upb_MiniTableField field = {39, UPB_SIZE(140, 320), 86, 28, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
822
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
823
|
+
&default_val, &ret);
|
814
824
|
return ret;
|
815
825
|
}
|
816
826
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_deferred_stat_options(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
817
|
-
const upb_MiniTableField field = {39, UPB_SIZE(
|
818
|
-
return
|
827
|
+
const upb_MiniTableField field = {39, UPB_SIZE(140, 320), 86, 28, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
828
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
819
829
|
}
|
820
830
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_grpc_async_client_manager_config(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
821
|
-
const upb_MiniTableField field = {40, UPB_SIZE(
|
822
|
-
|
831
|
+
const upb_MiniTableField field = {40, UPB_SIZE(144, 328), 87, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
832
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
823
833
|
}
|
824
834
|
UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* envoy_config_bootstrap_v3_Bootstrap_grpc_async_client_manager_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
825
835
|
const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* default_val = NULL;
|
826
836
|
const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* ret;
|
827
|
-
const upb_MiniTableField field = {40, UPB_SIZE(
|
828
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
837
|
+
const upb_MiniTableField field = {40, UPB_SIZE(144, 328), 87, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
838
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
839
|
+
&default_val, &ret);
|
829
840
|
return ret;
|
830
841
|
}
|
831
842
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_grpc_async_client_manager_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
|
832
|
-
const upb_MiniTableField field = {40, UPB_SIZE(
|
833
|
-
return
|
843
|
+
const upb_MiniTableField field = {40, UPB_SIZE(144, 328), 87, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
844
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
834
845
|
}
|
835
846
|
|
836
847
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_node(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_Node* value) {
|
837
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
838
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
848
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
849
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
839
850
|
}
|
840
851
|
UPB_INLINE struct envoy_config_core_v3_Node* envoy_config_bootstrap_v3_Bootstrap_mutable_node(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
841
852
|
struct envoy_config_core_v3_Node* sub = (struct envoy_config_core_v3_Node*)envoy_config_bootstrap_v3_Bootstrap_node(msg);
|
@@ -846,8 +857,8 @@ UPB_INLINE struct envoy_config_core_v3_Node* envoy_config_bootstrap_v3_Bootstrap
|
|
846
857
|
return sub;
|
847
858
|
}
|
848
859
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_static_resources(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Bootstrap_StaticResources* value) {
|
849
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
850
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
860
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
861
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
851
862
|
}
|
852
863
|
UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_StaticResources* envoy_config_bootstrap_v3_Bootstrap_mutable_static_resources(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
853
864
|
struct envoy_config_bootstrap_v3_Bootstrap_StaticResources* sub = (struct envoy_config_bootstrap_v3_Bootstrap_StaticResources*)envoy_config_bootstrap_v3_Bootstrap_static_resources(msg);
|
@@ -858,8 +869,8 @@ UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_StaticResources* envoy_con
|
|
858
869
|
return sub;
|
859
870
|
}
|
860
871
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_dynamic_resources(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Bootstrap_DynamicResources* value) {
|
861
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
862
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
872
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
873
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
863
874
|
}
|
864
875
|
UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_DynamicResources* envoy_config_bootstrap_v3_Bootstrap_mutable_dynamic_resources(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
865
876
|
struct envoy_config_bootstrap_v3_Bootstrap_DynamicResources* sub = (struct envoy_config_bootstrap_v3_Bootstrap_DynamicResources*)envoy_config_bootstrap_v3_Bootstrap_dynamic_resources(msg);
|
@@ -870,8 +881,8 @@ UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_DynamicResources* envoy_co
|
|
870
881
|
return sub;
|
871
882
|
}
|
872
883
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_cluster_manager(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_ClusterManager* value) {
|
873
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
874
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
884
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 48), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
885
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
875
886
|
}
|
876
887
|
UPB_INLINE struct envoy_config_bootstrap_v3_ClusterManager* envoy_config_bootstrap_v3_Bootstrap_mutable_cluster_manager(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
877
888
|
struct envoy_config_bootstrap_v3_ClusterManager* sub = (struct envoy_config_bootstrap_v3_ClusterManager*)envoy_config_bootstrap_v3_Bootstrap_cluster_manager(msg);
|
@@ -882,38 +893,42 @@ UPB_INLINE struct envoy_config_bootstrap_v3_ClusterManager* envoy_config_bootstr
|
|
882
893
|
return sub;
|
883
894
|
}
|
884
895
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_flags_path(envoy_config_bootstrap_v3_Bootstrap *msg, upb_StringView value) {
|
885
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
886
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
896
|
+
const upb_MiniTableField field = {5, UPB_SIZE(148, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
897
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
887
898
|
}
|
888
899
|
UPB_INLINE struct envoy_config_metrics_v3_StatsSink** envoy_config_bootstrap_v3_Bootstrap_mutable_stats_sinks(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
|
889
|
-
upb_MiniTableField field = {6, UPB_SIZE(
|
890
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
900
|
+
upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
901
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
891
902
|
if (arr) {
|
892
|
-
if (size) *size = arr->size;
|
893
|
-
return (struct envoy_config_metrics_v3_StatsSink**)
|
903
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
904
|
+
return (struct envoy_config_metrics_v3_StatsSink**)upb_Array_MutableDataPtr(arr);
|
894
905
|
} else {
|
895
906
|
if (size) *size = 0;
|
896
907
|
return NULL;
|
897
908
|
}
|
898
909
|
}
|
899
910
|
UPB_INLINE struct envoy_config_metrics_v3_StatsSink** envoy_config_bootstrap_v3_Bootstrap_resize_stats_sinks(envoy_config_bootstrap_v3_Bootstrap* msg, size_t size, upb_Arena* arena) {
|
900
|
-
upb_MiniTableField field = {6, UPB_SIZE(
|
901
|
-
return (struct envoy_config_metrics_v3_StatsSink**)upb_Message_ResizeArrayUninitialized(msg,
|
911
|
+
upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
912
|
+
return (struct envoy_config_metrics_v3_StatsSink**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
913
|
+
&field, size, arena);
|
902
914
|
}
|
903
915
|
UPB_INLINE struct envoy_config_metrics_v3_StatsSink* envoy_config_bootstrap_v3_Bootstrap_add_stats_sinks(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
904
|
-
upb_MiniTableField field = {6, UPB_SIZE(
|
905
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
906
|
-
|
916
|
+
upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
917
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
918
|
+
UPB_UPCAST(msg), &field, arena);
|
919
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
920
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
907
921
|
return NULL;
|
908
922
|
}
|
909
923
|
struct envoy_config_metrics_v3_StatsSink* sub = (struct envoy_config_metrics_v3_StatsSink*)_upb_Message_New(&envoy__config__metrics__v3__StatsSink_msg_init, arena);
|
910
924
|
if (!arr || !sub) return NULL;
|
911
|
-
_upb_Array_Set
|
925
|
+
UPB_PRIVATE(_upb_Array_Set)
|
926
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
912
927
|
return sub;
|
913
928
|
}
|
914
929
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_stats_flush_interval(envoy_config_bootstrap_v3_Bootstrap *msg, struct google_protobuf_Duration* value) {
|
915
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
916
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
930
|
+
const upb_MiniTableField field = {7, UPB_SIZE(32, 80), 68, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
931
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
917
932
|
}
|
918
933
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Bootstrap_mutable_stats_flush_interval(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
919
934
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Bootstrap_stats_flush_interval(msg);
|
@@ -924,8 +939,8 @@ UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Bootstrap_
|
|
924
939
|
return sub;
|
925
940
|
}
|
926
941
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_watchdog(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Watchdog* value) {
|
927
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
928
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
942
|
+
const upb_MiniTableField field = {8, UPB_SIZE(36, 88), 69, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
943
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
929
944
|
}
|
930
945
|
UPB_INLINE struct envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Bootstrap_mutable_watchdog(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
931
946
|
struct envoy_config_bootstrap_v3_Watchdog* sub = (struct envoy_config_bootstrap_v3_Watchdog*)envoy_config_bootstrap_v3_Bootstrap_watchdog(msg);
|
@@ -936,8 +951,8 @@ UPB_INLINE struct envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_
|
|
936
951
|
return sub;
|
937
952
|
}
|
938
953
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_tracing(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_trace_v3_Tracing* value) {
|
939
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
940
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
954
|
+
const upb_MiniTableField field = {9, UPB_SIZE(40, 96), 70, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
955
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
941
956
|
}
|
942
957
|
UPB_INLINE struct envoy_config_trace_v3_Tracing* envoy_config_bootstrap_v3_Bootstrap_mutable_tracing(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
943
958
|
struct envoy_config_trace_v3_Tracing* sub = (struct envoy_config_trace_v3_Tracing*)envoy_config_bootstrap_v3_Bootstrap_tracing(msg);
|
@@ -948,8 +963,8 @@ UPB_INLINE struct envoy_config_trace_v3_Tracing* envoy_config_bootstrap_v3_Boots
|
|
948
963
|
return sub;
|
949
964
|
}
|
950
965
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_admin(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Admin* value) {
|
951
|
-
const upb_MiniTableField field = {12, UPB_SIZE(
|
952
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
966
|
+
const upb_MiniTableField field = {12, UPB_SIZE(44, 104), 71, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
967
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
953
968
|
}
|
954
969
|
UPB_INLINE struct envoy_config_bootstrap_v3_Admin* envoy_config_bootstrap_v3_Bootstrap_mutable_admin(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
955
970
|
struct envoy_config_bootstrap_v3_Admin* sub = (struct envoy_config_bootstrap_v3_Admin*)envoy_config_bootstrap_v3_Bootstrap_admin(msg);
|
@@ -960,8 +975,8 @@ UPB_INLINE struct envoy_config_bootstrap_v3_Admin* envoy_config_bootstrap_v3_Boo
|
|
960
975
|
return sub;
|
961
976
|
}
|
962
977
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_stats_config(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_metrics_v3_StatsConfig* value) {
|
963
|
-
const upb_MiniTableField field = {13, UPB_SIZE(
|
964
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
978
|
+
const upb_MiniTableField field = {13, UPB_SIZE(48, 112), 72, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
979
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
965
980
|
}
|
966
981
|
UPB_INLINE struct envoy_config_metrics_v3_StatsConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_stats_config(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
967
982
|
struct envoy_config_metrics_v3_StatsConfig* sub = (struct envoy_config_metrics_v3_StatsConfig*)envoy_config_bootstrap_v3_Bootstrap_stats_config(msg);
|
@@ -972,8 +987,8 @@ UPB_INLINE struct envoy_config_metrics_v3_StatsConfig* envoy_config_bootstrap_v3
|
|
972
987
|
return sub;
|
973
988
|
}
|
974
989
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_hds_config(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_ApiConfigSource* value) {
|
975
|
-
const upb_MiniTableField field = {14, UPB_SIZE(
|
976
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
990
|
+
const upb_MiniTableField field = {14, UPB_SIZE(52, 120), 73, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
991
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
977
992
|
}
|
978
993
|
UPB_INLINE struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v3_Bootstrap_mutable_hds_config(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
979
994
|
struct envoy_config_core_v3_ApiConfigSource* sub = (struct envoy_config_core_v3_ApiConfigSource*)envoy_config_bootstrap_v3_Bootstrap_hds_config(msg);
|
@@ -984,8 +999,8 @@ UPB_INLINE struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v
|
|
984
999
|
return sub;
|
985
1000
|
}
|
986
1001
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_overload_manager(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_overload_v3_OverloadManager* value) {
|
987
|
-
const upb_MiniTableField field = {15, UPB_SIZE(
|
988
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1002
|
+
const upb_MiniTableField field = {15, UPB_SIZE(56, 128), 74, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1003
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
989
1004
|
}
|
990
1005
|
UPB_INLINE struct envoy_config_overload_v3_OverloadManager* envoy_config_bootstrap_v3_Bootstrap_mutable_overload_manager(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
991
1006
|
struct envoy_config_overload_v3_OverloadManager* sub = (struct envoy_config_overload_v3_OverloadManager*)envoy_config_bootstrap_v3_Bootstrap_overload_manager(msg);
|
@@ -996,12 +1011,12 @@ UPB_INLINE struct envoy_config_overload_v3_OverloadManager* envoy_config_bootstr
|
|
996
1011
|
return sub;
|
997
1012
|
}
|
998
1013
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_enable_dispatcher_stats(envoy_config_bootstrap_v3_Bootstrap *msg, bool value) {
|
999
|
-
const upb_MiniTableField field = {16, UPB_SIZE(
|
1000
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1014
|
+
const upb_MiniTableField field = {16, UPB_SIZE(60, 12), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1015
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1001
1016
|
}
|
1002
1017
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_layered_runtime(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_LayeredRuntime* value) {
|
1003
|
-
const upb_MiniTableField field = {17, UPB_SIZE(
|
1004
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1018
|
+
const upb_MiniTableField field = {17, UPB_SIZE(64, 136), 75, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1019
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1005
1020
|
}
|
1006
1021
|
UPB_INLINE struct envoy_config_bootstrap_v3_LayeredRuntime* envoy_config_bootstrap_v3_Bootstrap_mutable_layered_runtime(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
1007
1022
|
struct envoy_config_bootstrap_v3_LayeredRuntime* sub = (struct envoy_config_bootstrap_v3_LayeredRuntime*)envoy_config_bootstrap_v3_Bootstrap_layered_runtime(msg);
|
@@ -1012,12 +1027,12 @@ UPB_INLINE struct envoy_config_bootstrap_v3_LayeredRuntime* envoy_config_bootstr
|
|
1012
1027
|
return sub;
|
1013
1028
|
}
|
1014
1029
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_header_prefix(envoy_config_bootstrap_v3_Bootstrap *msg, upb_StringView value) {
|
1015
|
-
const upb_MiniTableField field = {18, UPB_SIZE(
|
1016
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1030
|
+
const upb_MiniTableField field = {18, UPB_SIZE(156, 144), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1031
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1017
1032
|
}
|
1018
1033
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_stats_server_version_override(envoy_config_bootstrap_v3_Bootstrap *msg, struct google_protobuf_UInt64Value* value) {
|
1019
|
-
const upb_MiniTableField field = {19, UPB_SIZE(
|
1020
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1034
|
+
const upb_MiniTableField field = {19, UPB_SIZE(68, 160), 76, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1035
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1021
1036
|
}
|
1022
1037
|
UPB_INLINE struct google_protobuf_UInt64Value* envoy_config_bootstrap_v3_Bootstrap_mutable_stats_server_version_override(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
1023
1038
|
struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_config_bootstrap_v3_Bootstrap_stats_server_version_override(msg);
|
@@ -1028,64 +1043,72 @@ UPB_INLINE struct google_protobuf_UInt64Value* envoy_config_bootstrap_v3_Bootstr
|
|
1028
1043
|
return sub;
|
1029
1044
|
}
|
1030
1045
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_use_tcp_for_dns_lookups(envoy_config_bootstrap_v3_Bootstrap *msg, bool value) {
|
1031
|
-
const upb_MiniTableField field = {20, UPB_SIZE(
|
1032
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1046
|
+
const upb_MiniTableField field = {20, UPB_SIZE(72, 13), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1047
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1033
1048
|
}
|
1034
1049
|
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig** envoy_config_bootstrap_v3_Bootstrap_mutable_bootstrap_extensions(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
|
1035
|
-
upb_MiniTableField field = {21, UPB_SIZE(
|
1036
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1050
|
+
upb_MiniTableField field = {21, UPB_SIZE(76, 168), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1051
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1037
1052
|
if (arr) {
|
1038
|
-
if (size) *size = arr->size;
|
1039
|
-
return (struct envoy_config_core_v3_TypedExtensionConfig**)
|
1053
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1054
|
+
return (struct envoy_config_core_v3_TypedExtensionConfig**)upb_Array_MutableDataPtr(arr);
|
1040
1055
|
} else {
|
1041
1056
|
if (size) *size = 0;
|
1042
1057
|
return NULL;
|
1043
1058
|
}
|
1044
1059
|
}
|
1045
1060
|
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig** envoy_config_bootstrap_v3_Bootstrap_resize_bootstrap_extensions(envoy_config_bootstrap_v3_Bootstrap* msg, size_t size, upb_Arena* arena) {
|
1046
|
-
upb_MiniTableField field = {21, UPB_SIZE(
|
1047
|
-
return (struct envoy_config_core_v3_TypedExtensionConfig**)upb_Message_ResizeArrayUninitialized(msg,
|
1061
|
+
upb_MiniTableField field = {21, UPB_SIZE(76, 168), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1062
|
+
return (struct envoy_config_core_v3_TypedExtensionConfig**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1063
|
+
&field, size, arena);
|
1048
1064
|
}
|
1049
1065
|
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_add_bootstrap_extensions(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
1050
|
-
upb_MiniTableField field = {21, UPB_SIZE(
|
1051
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1052
|
-
|
1066
|
+
upb_MiniTableField field = {21, UPB_SIZE(76, 168), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1067
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1068
|
+
UPB_UPCAST(msg), &field, arena);
|
1069
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1070
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1053
1071
|
return NULL;
|
1054
1072
|
}
|
1055
1073
|
struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena);
|
1056
1074
|
if (!arr || !sub) return NULL;
|
1057
|
-
_upb_Array_Set
|
1075
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1076
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1058
1077
|
return sub;
|
1059
1078
|
}
|
1060
1079
|
UPB_INLINE struct envoy_config_core_v3_ConfigSource** envoy_config_bootstrap_v3_Bootstrap_mutable_config_sources(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
|
1061
|
-
upb_MiniTableField field = {22, UPB_SIZE(
|
1062
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1080
|
+
upb_MiniTableField field = {22, UPB_SIZE(80, 176), 0, 15, 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);
|
1063
1082
|
if (arr) {
|
1064
|
-
if (size) *size = arr->size;
|
1065
|
-
return (struct envoy_config_core_v3_ConfigSource**)
|
1083
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1084
|
+
return (struct envoy_config_core_v3_ConfigSource**)upb_Array_MutableDataPtr(arr);
|
1066
1085
|
} else {
|
1067
1086
|
if (size) *size = 0;
|
1068
1087
|
return NULL;
|
1069
1088
|
}
|
1070
1089
|
}
|
1071
1090
|
UPB_INLINE struct envoy_config_core_v3_ConfigSource** envoy_config_bootstrap_v3_Bootstrap_resize_config_sources(envoy_config_bootstrap_v3_Bootstrap* msg, size_t size, upb_Arena* arena) {
|
1072
|
-
upb_MiniTableField field = {22, UPB_SIZE(
|
1073
|
-
return (struct envoy_config_core_v3_ConfigSource**)upb_Message_ResizeArrayUninitialized(msg,
|
1091
|
+
upb_MiniTableField field = {22, UPB_SIZE(80, 176), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1092
|
+
return (struct envoy_config_core_v3_ConfigSource**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1093
|
+
&field, size, arena);
|
1074
1094
|
}
|
1075
1095
|
UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_add_config_sources(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
1076
|
-
upb_MiniTableField field = {22, UPB_SIZE(
|
1077
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1078
|
-
|
1096
|
+
upb_MiniTableField field = {22, UPB_SIZE(80, 176), 0, 15, 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)) {
|
1079
1101
|
return NULL;
|
1080
1102
|
}
|
1081
1103
|
struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena);
|
1082
1104
|
if (!arr || !sub) return NULL;
|
1083
|
-
_upb_Array_Set
|
1105
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1106
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1084
1107
|
return sub;
|
1085
1108
|
}
|
1086
1109
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_default_config_source(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_ConfigSource* value) {
|
1087
|
-
const upb_MiniTableField field = {23, UPB_SIZE(
|
1088
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1110
|
+
const upb_MiniTableField field = {23, UPB_SIZE(84, 184), 77, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1111
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1089
1112
|
}
|
1090
1113
|
UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_mutable_default_config_source(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
1091
1114
|
struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_bootstrap_v3_Bootstrap_default_config_source(msg);
|
@@ -1096,60 +1119,65 @@ UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_B
|
|
1096
1119
|
return sub;
|
1097
1120
|
}
|
1098
1121
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_default_socket_interface(envoy_config_bootstrap_v3_Bootstrap *msg, upb_StringView value) {
|
1099
|
-
const upb_MiniTableField field = {24, UPB_SIZE(
|
1100
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1122
|
+
const upb_MiniTableField field = {24, UPB_SIZE(164, 192), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1123
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1101
1124
|
}
|
1102
1125
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_clear(envoy_config_bootstrap_v3_Bootstrap* msg) {
|
1103
|
-
const upb_MiniTableField field = {25, UPB_SIZE(
|
1104
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
1126
|
+
const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1127
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1105
1128
|
if (!map) return;
|
1106
1129
|
_upb_Map_Clear(map);
|
1107
1130
|
}
|
1108
1131
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_set(envoy_config_bootstrap_v3_Bootstrap* msg, upb_StringView key, struct envoy_config_core_v3_TypedExtensionConfig* val, upb_Arena* a) {
|
1109
|
-
const upb_MiniTableField field = {25, UPB_SIZE(
|
1110
|
-
upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg
|
1132
|
+
const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1133
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg),
|
1134
|
+
&field, 0, sizeof(val), a);
|
1111
1135
|
return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) !=
|
1112
1136
|
kUpb_MapInsertStatus_OutOfMemory;
|
1113
1137
|
}
|
1114
1138
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_delete(envoy_config_bootstrap_v3_Bootstrap* msg, upb_StringView key) {
|
1115
|
-
const upb_MiniTableField field = {25, UPB_SIZE(
|
1116
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
1139
|
+
const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1140
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1117
1141
|
if (!map) return false;
|
1118
1142
|
return _upb_Map_Delete(map, &key, 0, NULL);
|
1119
1143
|
}
|
1120
1144
|
UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry* envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_nextmutable(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* iter) {
|
1121
|
-
const upb_MiniTableField field = {25, UPB_SIZE(
|
1122
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
1145
|
+
const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1146
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1123
1147
|
if (!map) return NULL;
|
1124
1148
|
return (envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry*)_upb_map_next(map, iter);
|
1125
1149
|
}
|
1126
1150
|
UPB_INLINE upb_StringView* envoy_config_bootstrap_v3_Bootstrap_mutable_node_context_params(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
|
1127
|
-
upb_MiniTableField field = {26, UPB_SIZE(
|
1128
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1151
|
+
upb_MiniTableField field = {26, UPB_SIZE(92, 216), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1152
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1129
1153
|
if (arr) {
|
1130
|
-
if (size) *size = arr->size;
|
1131
|
-
return (upb_StringView*)
|
1154
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1155
|
+
return (upb_StringView*)upb_Array_MutableDataPtr(arr);
|
1132
1156
|
} else {
|
1133
1157
|
if (size) *size = 0;
|
1134
1158
|
return NULL;
|
1135
1159
|
}
|
1136
1160
|
}
|
1137
1161
|
UPB_INLINE upb_StringView* envoy_config_bootstrap_v3_Bootstrap_resize_node_context_params(envoy_config_bootstrap_v3_Bootstrap* msg, size_t size, upb_Arena* arena) {
|
1138
|
-
upb_MiniTableField field = {26, UPB_SIZE(
|
1139
|
-
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg,
|
1162
|
+
upb_MiniTableField field = {26, UPB_SIZE(92, 216), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1163
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1164
|
+
&field, size, arena);
|
1140
1165
|
}
|
1141
1166
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_add_node_context_params(envoy_config_bootstrap_v3_Bootstrap* msg, upb_StringView val, upb_Arena* arena) {
|
1142
|
-
upb_MiniTableField field = {26, UPB_SIZE(
|
1143
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1144
|
-
|
1167
|
+
upb_MiniTableField field = {26, UPB_SIZE(92, 216), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1168
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1169
|
+
UPB_UPCAST(msg), &field, arena);
|
1170
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1171
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1145
1172
|
return false;
|
1146
1173
|
}
|
1147
|
-
_upb_Array_Set
|
1174
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1175
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
1148
1176
|
return true;
|
1149
1177
|
}
|
1150
1178
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_watchdogs(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Watchdogs* value) {
|
1151
|
-
const upb_MiniTableField field = {27, UPB_SIZE(
|
1152
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1179
|
+
const upb_MiniTableField field = {27, UPB_SIZE(96, 224), 78, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1180
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1153
1181
|
}
|
1154
1182
|
UPB_INLINE struct envoy_config_bootstrap_v3_Watchdogs* envoy_config_bootstrap_v3_Bootstrap_mutable_watchdogs(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
1155
1183
|
struct envoy_config_bootstrap_v3_Watchdogs* sub = (struct envoy_config_bootstrap_v3_Watchdogs*)envoy_config_bootstrap_v3_Bootstrap_watchdogs(msg);
|
@@ -1160,38 +1188,42 @@ UPB_INLINE struct envoy_config_bootstrap_v3_Watchdogs* envoy_config_bootstrap_v3
|
|
1160
1188
|
return sub;
|
1161
1189
|
}
|
1162
1190
|
UPB_INLINE envoy_config_bootstrap_v3_FatalAction** envoy_config_bootstrap_v3_Bootstrap_mutable_fatal_actions(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
|
1163
|
-
upb_MiniTableField field = {28, UPB_SIZE(
|
1164
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1191
|
+
upb_MiniTableField field = {28, UPB_SIZE(100, 232), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1192
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1165
1193
|
if (arr) {
|
1166
|
-
if (size) *size = arr->size;
|
1167
|
-
return (envoy_config_bootstrap_v3_FatalAction**)
|
1194
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1195
|
+
return (envoy_config_bootstrap_v3_FatalAction**)upb_Array_MutableDataPtr(arr);
|
1168
1196
|
} else {
|
1169
1197
|
if (size) *size = 0;
|
1170
1198
|
return NULL;
|
1171
1199
|
}
|
1172
1200
|
}
|
1173
1201
|
UPB_INLINE envoy_config_bootstrap_v3_FatalAction** envoy_config_bootstrap_v3_Bootstrap_resize_fatal_actions(envoy_config_bootstrap_v3_Bootstrap* msg, size_t size, upb_Arena* arena) {
|
1174
|
-
upb_MiniTableField field = {28, UPB_SIZE(
|
1175
|
-
return (envoy_config_bootstrap_v3_FatalAction**)upb_Message_ResizeArrayUninitialized(msg,
|
1202
|
+
upb_MiniTableField field = {28, UPB_SIZE(100, 232), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1203
|
+
return (envoy_config_bootstrap_v3_FatalAction**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1204
|
+
&field, size, arena);
|
1176
1205
|
}
|
1177
1206
|
UPB_INLINE struct envoy_config_bootstrap_v3_FatalAction* envoy_config_bootstrap_v3_Bootstrap_add_fatal_actions(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
1178
|
-
upb_MiniTableField field = {28, UPB_SIZE(
|
1179
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1180
|
-
|
1207
|
+
upb_MiniTableField field = {28, UPB_SIZE(100, 232), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1208
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1209
|
+
UPB_UPCAST(msg), &field, arena);
|
1210
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1211
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1181
1212
|
return NULL;
|
1182
1213
|
}
|
1183
1214
|
struct envoy_config_bootstrap_v3_FatalAction* sub = (struct envoy_config_bootstrap_v3_FatalAction*)_upb_Message_New(&envoy__config__bootstrap__v3__FatalAction_msg_init, arena);
|
1184
1215
|
if (!arr || !sub) return NULL;
|
1185
|
-
_upb_Array_Set
|
1216
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1217
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1186
1218
|
return sub;
|
1187
1219
|
}
|
1188
1220
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_stats_flush_on_admin(envoy_config_bootstrap_v3_Bootstrap *msg, bool value) {
|
1189
|
-
const upb_MiniTableField field = {29,
|
1190
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1221
|
+
const upb_MiniTableField field = {29, 11, UPB_SIZE(-105, -17), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1222
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1191
1223
|
}
|
1192
1224
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_dns_resolution_config(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_DnsResolutionConfig* value) {
|
1193
|
-
const upb_MiniTableField field = {30, UPB_SIZE(
|
1194
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1225
|
+
const upb_MiniTableField field = {30, UPB_SIZE(108, 240), 79, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1226
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1195
1227
|
}
|
1196
1228
|
UPB_INLINE struct envoy_config_core_v3_DnsResolutionConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_dns_resolution_config(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
1197
1229
|
struct envoy_config_core_v3_DnsResolutionConfig* sub = (struct envoy_config_core_v3_DnsResolutionConfig*)envoy_config_bootstrap_v3_Bootstrap_dns_resolution_config(msg);
|
@@ -1202,8 +1234,8 @@ UPB_INLINE struct envoy_config_core_v3_DnsResolutionConfig* envoy_config_bootstr
|
|
1202
1234
|
return sub;
|
1203
1235
|
}
|
1204
1236
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_typed_dns_resolver_config(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
|
1205
|
-
const upb_MiniTableField field = {31, UPB_SIZE(
|
1206
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1237
|
+
const upb_MiniTableField field = {31, UPB_SIZE(112, 248), 80, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1238
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1207
1239
|
}
|
1208
1240
|
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_typed_dns_resolver_config(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
1209
1241
|
struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_Bootstrap_typed_dns_resolver_config(msg);
|
@@ -1214,38 +1246,42 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootst
|
|
1214
1246
|
return sub;
|
1215
1247
|
}
|
1216
1248
|
UPB_INLINE envoy_config_bootstrap_v3_CustomInlineHeader** envoy_config_bootstrap_v3_Bootstrap_mutable_inline_headers(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
|
1217
|
-
upb_MiniTableField field = {32, UPB_SIZE(
|
1218
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1249
|
+
upb_MiniTableField field = {32, UPB_SIZE(116, 256), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1250
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1219
1251
|
if (arr) {
|
1220
|
-
if (size) *size = arr->size;
|
1221
|
-
return (envoy_config_bootstrap_v3_CustomInlineHeader**)
|
1252
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1253
|
+
return (envoy_config_bootstrap_v3_CustomInlineHeader**)upb_Array_MutableDataPtr(arr);
|
1222
1254
|
} else {
|
1223
1255
|
if (size) *size = 0;
|
1224
1256
|
return NULL;
|
1225
1257
|
}
|
1226
1258
|
}
|
1227
1259
|
UPB_INLINE envoy_config_bootstrap_v3_CustomInlineHeader** envoy_config_bootstrap_v3_Bootstrap_resize_inline_headers(envoy_config_bootstrap_v3_Bootstrap* msg, size_t size, upb_Arena* arena) {
|
1228
|
-
upb_MiniTableField field = {32, UPB_SIZE(
|
1229
|
-
return (envoy_config_bootstrap_v3_CustomInlineHeader**)upb_Message_ResizeArrayUninitialized(msg,
|
1260
|
+
upb_MiniTableField field = {32, UPB_SIZE(116, 256), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1261
|
+
return (envoy_config_bootstrap_v3_CustomInlineHeader**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1262
|
+
&field, size, arena);
|
1230
1263
|
}
|
1231
1264
|
UPB_INLINE struct envoy_config_bootstrap_v3_CustomInlineHeader* envoy_config_bootstrap_v3_Bootstrap_add_inline_headers(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
1232
|
-
upb_MiniTableField field = {32, UPB_SIZE(
|
1233
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1234
|
-
|
1265
|
+
upb_MiniTableField field = {32, UPB_SIZE(116, 256), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1266
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1267
|
+
UPB_UPCAST(msg), &field, arena);
|
1268
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1269
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1235
1270
|
return NULL;
|
1236
1271
|
}
|
1237
1272
|
struct envoy_config_bootstrap_v3_CustomInlineHeader* sub = (struct envoy_config_bootstrap_v3_CustomInlineHeader*)_upb_Message_New(&envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, arena);
|
1238
1273
|
if (!arr || !sub) return NULL;
|
1239
|
-
_upb_Array_Set
|
1274
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1275
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1240
1276
|
return sub;
|
1241
1277
|
}
|
1242
1278
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_perf_tracing_file_path(envoy_config_bootstrap_v3_Bootstrap *msg, upb_StringView value) {
|
1243
|
-
const upb_MiniTableField field = {33, UPB_SIZE(
|
1244
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1279
|
+
const upb_MiniTableField field = {33, UPB_SIZE(172, 264), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1280
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1245
1281
|
}
|
1246
1282
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_default_regex_engine(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
|
1247
|
-
const upb_MiniTableField field = {34, UPB_SIZE(
|
1248
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1283
|
+
const upb_MiniTableField field = {34, UPB_SIZE(120, 280), 81, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1284
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1249
1285
|
}
|
1250
1286
|
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_default_regex_engine(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
1251
1287
|
struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_Bootstrap_default_regex_engine(msg);
|
@@ -1256,8 +1292,8 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootst
|
|
1256
1292
|
return sub;
|
1257
1293
|
}
|
1258
1294
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_xds_delegate_extension(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
|
1259
|
-
const upb_MiniTableField field = {35, UPB_SIZE(
|
1260
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1295
|
+
const upb_MiniTableField field = {35, UPB_SIZE(124, 288), 82, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1296
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1261
1297
|
}
|
1262
1298
|
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_xds_delegate_extension(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
1263
1299
|
struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_Bootstrap_xds_delegate_extension(msg);
|
@@ -1268,8 +1304,8 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootst
|
|
1268
1304
|
return sub;
|
1269
1305
|
}
|
1270
1306
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_xds_config_tracker_extension(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
|
1271
|
-
const upb_MiniTableField field = {36, UPB_SIZE(
|
1272
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1307
|
+
const upb_MiniTableField field = {36, UPB_SIZE(128, 296), 83, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1308
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1273
1309
|
}
|
1274
1310
|
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_xds_config_tracker_extension(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
1275
1311
|
struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_Bootstrap_xds_config_tracker_extension(msg);
|
@@ -1280,8 +1316,8 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootst
|
|
1280
1316
|
return sub;
|
1281
1317
|
}
|
1282
1318
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_listener_manager(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
|
1283
|
-
const upb_MiniTableField field = {37, UPB_SIZE(
|
1284
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1319
|
+
const upb_MiniTableField field = {37, UPB_SIZE(132, 304), 84, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1320
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1285
1321
|
}
|
1286
1322
|
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_listener_manager(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
1287
1323
|
struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_Bootstrap_listener_manager(msg);
|
@@ -1292,8 +1328,8 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootst
|
|
1292
1328
|
return sub;
|
1293
1329
|
}
|
1294
1330
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_application_log_config(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* value) {
|
1295
|
-
const upb_MiniTableField field = {38, UPB_SIZE(
|
1296
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1331
|
+
const upb_MiniTableField field = {38, UPB_SIZE(136, 312), 85, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1332
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1297
1333
|
}
|
1298
1334
|
UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_application_log_config(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
1299
1335
|
struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* sub = (struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig*)envoy_config_bootstrap_v3_Bootstrap_application_log_config(msg);
|
@@ -1304,8 +1340,8 @@ UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* envo
|
|
1304
1340
|
return sub;
|
1305
1341
|
}
|
1306
1342
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_deferred_stat_options(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* value) {
|
1307
|
-
const upb_MiniTableField field = {39, UPB_SIZE(
|
1308
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1343
|
+
const upb_MiniTableField field = {39, UPB_SIZE(140, 320), 86, 28, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1344
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1309
1345
|
}
|
1310
1346
|
UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* envoy_config_bootstrap_v3_Bootstrap_mutable_deferred_stat_options(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
1311
1347
|
struct envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* sub = (struct envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions*)envoy_config_bootstrap_v3_Bootstrap_deferred_stat_options(msg);
|
@@ -1316,8 +1352,8 @@ UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* envoy
|
|
1316
1352
|
return sub;
|
1317
1353
|
}
|
1318
1354
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_grpc_async_client_manager_config(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* value) {
|
1319
|
-
const upb_MiniTableField field = {40, UPB_SIZE(
|
1320
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1355
|
+
const upb_MiniTableField field = {40, UPB_SIZE(144, 328), 87, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1356
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1321
1357
|
}
|
1322
1358
|
UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_grpc_async_client_manager_config(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
|
1323
1359
|
struct envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* sub = (struct envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig*)envoy_config_bootstrap_v3_Bootstrap_grpc_async_client_manager_config(msg);
|
@@ -1336,7 +1372,8 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_StaticResources* envoy_config_boo
|
|
1336
1372
|
UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_StaticResources* envoy_config_bootstrap_v3_Bootstrap_StaticResources_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1337
1373
|
envoy_config_bootstrap_v3_Bootstrap_StaticResources* ret = envoy_config_bootstrap_v3_Bootstrap_StaticResources_new(arena);
|
1338
1374
|
if (!ret) return NULL;
|
1339
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, NULL, 0, arena) !=
|
1375
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, NULL, 0, arena) !=
|
1376
|
+
kUpb_DecodeStatus_Ok) {
|
1340
1377
|
return NULL;
|
1341
1378
|
}
|
1342
1379
|
return ret;
|
@@ -1346,211 +1383,208 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_StaticResources* envoy_config_boo
|
|
1346
1383
|
int options, upb_Arena* arena) {
|
1347
1384
|
envoy_config_bootstrap_v3_Bootstrap_StaticResources* ret = envoy_config_bootstrap_v3_Bootstrap_StaticResources_new(arena);
|
1348
1385
|
if (!ret) return NULL;
|
1349
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, extreg, options,
|
1350
|
-
|
1386
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, extreg, options,
|
1387
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1351
1388
|
return NULL;
|
1352
1389
|
}
|
1353
1390
|
return ret;
|
1354
1391
|
}
|
1355
1392
|
UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_StaticResources_serialize(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, upb_Arena* arena, size_t* len) {
|
1356
1393
|
char* ptr;
|
1357
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, 0, arena, &ptr, len);
|
1394
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, 0, arena, &ptr, len);
|
1358
1395
|
return ptr;
|
1359
1396
|
}
|
1360
1397
|
UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_StaticResources_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, int options,
|
1361
1398
|
upb_Arena* arena, size_t* len) {
|
1362
1399
|
char* ptr;
|
1363
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, options, arena, &ptr, len);
|
1400
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, options, arena, &ptr, len);
|
1364
1401
|
return ptr;
|
1365
1402
|
}
|
1366
1403
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_StaticResources_clear_listeners(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg) {
|
1367
|
-
const upb_MiniTableField field = {1,
|
1368
|
-
|
1404
|
+
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)};
|
1405
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1369
1406
|
}
|
1370
1407
|
UPB_INLINE const struct envoy_config_listener_v3_Listener* const* envoy_config_bootstrap_v3_Bootstrap_StaticResources_listeners(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size) {
|
1371
|
-
const upb_MiniTableField field = {1,
|
1372
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1408
|
+
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)};
|
1409
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1373
1410
|
if (arr) {
|
1374
|
-
if (size) *size = arr->size;
|
1375
|
-
return (const struct envoy_config_listener_v3_Listener* const*)
|
1411
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1412
|
+
return (const struct envoy_config_listener_v3_Listener* const*)upb_Array_DataPtr(arr);
|
1376
1413
|
} else {
|
1377
1414
|
if (size) *size = 0;
|
1378
1415
|
return NULL;
|
1379
1416
|
}
|
1380
1417
|
}
|
1381
1418
|
UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_StaticResources_listeners_upb_array(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size) {
|
1382
|
-
const upb_MiniTableField field = {1,
|
1383
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1419
|
+
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)};
|
1420
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1384
1421
|
if (size) {
|
1385
|
-
*size = arr ? arr->size : 0;
|
1422
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1386
1423
|
}
|
1387
1424
|
return arr;
|
1388
1425
|
}
|
1389
|
-
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_StaticResources_listeners_mutable_upb_array(
|
1390
|
-
const upb_MiniTableField field = {1,
|
1391
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1392
|
-
|
1426
|
+
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_StaticResources_listeners_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size, upb_Arena* arena) {
|
1427
|
+
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)};
|
1428
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1429
|
+
&field, arena);
|
1393
1430
|
if (size) {
|
1394
|
-
*size = arr ? arr->size : 0;
|
1431
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1395
1432
|
}
|
1396
1433
|
return arr;
|
1397
1434
|
}
|
1398
|
-
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_StaticResources_has_listeners(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg) {
|
1399
|
-
size_t size;
|
1400
|
-
envoy_config_bootstrap_v3_Bootstrap_StaticResources_listeners(msg, &size);
|
1401
|
-
return size != 0;
|
1402
|
-
}
|
1403
1435
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_StaticResources_clear_clusters(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg) {
|
1404
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1405
|
-
|
1436
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1437
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1406
1438
|
}
|
1407
1439
|
UPB_INLINE const struct envoy_config_cluster_v3_Cluster* const* envoy_config_bootstrap_v3_Bootstrap_StaticResources_clusters(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size) {
|
1408
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1409
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1440
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1441
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1410
1442
|
if (arr) {
|
1411
|
-
if (size) *size = arr->size;
|
1412
|
-
return (const struct envoy_config_cluster_v3_Cluster* const*)
|
1443
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1444
|
+
return (const struct envoy_config_cluster_v3_Cluster* const*)upb_Array_DataPtr(arr);
|
1413
1445
|
} else {
|
1414
1446
|
if (size) *size = 0;
|
1415
1447
|
return NULL;
|
1416
1448
|
}
|
1417
1449
|
}
|
1418
1450
|
UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_StaticResources_clusters_upb_array(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size) {
|
1419
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1420
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1451
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1452
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1421
1453
|
if (size) {
|
1422
|
-
*size = arr ? arr->size : 0;
|
1454
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1423
1455
|
}
|
1424
1456
|
return arr;
|
1425
1457
|
}
|
1426
|
-
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_StaticResources_clusters_mutable_upb_array(
|
1427
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1428
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1429
|
-
|
1458
|
+
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_StaticResources_clusters_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size, upb_Arena* arena) {
|
1459
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1460
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1461
|
+
&field, arena);
|
1430
1462
|
if (size) {
|
1431
|
-
*size = arr ? arr->size : 0;
|
1463
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1432
1464
|
}
|
1433
1465
|
return arr;
|
1434
1466
|
}
|
1435
|
-
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_StaticResources_has_clusters(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg) {
|
1436
|
-
size_t size;
|
1437
|
-
envoy_config_bootstrap_v3_Bootstrap_StaticResources_clusters(msg, &size);
|
1438
|
-
return size != 0;
|
1439
|
-
}
|
1440
1467
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_StaticResources_clear_secrets(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg) {
|
1441
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1442
|
-
|
1468
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1469
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1443
1470
|
}
|
1444
1471
|
UPB_INLINE const struct envoy_extensions_transport_sockets_tls_v3_Secret* const* envoy_config_bootstrap_v3_Bootstrap_StaticResources_secrets(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size) {
|
1445
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1446
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1472
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1473
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1447
1474
|
if (arr) {
|
1448
|
-
if (size) *size = arr->size;
|
1449
|
-
return (const struct envoy_extensions_transport_sockets_tls_v3_Secret* const*)
|
1475
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1476
|
+
return (const struct envoy_extensions_transport_sockets_tls_v3_Secret* const*)upb_Array_DataPtr(arr);
|
1450
1477
|
} else {
|
1451
1478
|
if (size) *size = 0;
|
1452
1479
|
return NULL;
|
1453
1480
|
}
|
1454
1481
|
}
|
1455
1482
|
UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_StaticResources_secrets_upb_array(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size) {
|
1456
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1457
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1483
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1484
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1458
1485
|
if (size) {
|
1459
|
-
*size = arr ? arr->size : 0;
|
1486
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1460
1487
|
}
|
1461
1488
|
return arr;
|
1462
1489
|
}
|
1463
|
-
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_StaticResources_secrets_mutable_upb_array(
|
1464
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1465
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1466
|
-
|
1490
|
+
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_StaticResources_secrets_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size, upb_Arena* arena) {
|
1491
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1492
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1493
|
+
&field, arena);
|
1467
1494
|
if (size) {
|
1468
|
-
*size = arr ? arr->size : 0;
|
1495
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1469
1496
|
}
|
1470
1497
|
return arr;
|
1471
1498
|
}
|
1472
|
-
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_StaticResources_has_secrets(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg) {
|
1473
|
-
size_t size;
|
1474
|
-
envoy_config_bootstrap_v3_Bootstrap_StaticResources_secrets(msg, &size);
|
1475
|
-
return size != 0;
|
1476
|
-
}
|
1477
1499
|
|
1478
1500
|
UPB_INLINE struct envoy_config_listener_v3_Listener** envoy_config_bootstrap_v3_Bootstrap_StaticResources_mutable_listeners(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size) {
|
1479
|
-
upb_MiniTableField field = {1,
|
1480
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1501
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1502
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1481
1503
|
if (arr) {
|
1482
|
-
if (size) *size = arr->size;
|
1483
|
-
return (struct envoy_config_listener_v3_Listener**)
|
1504
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1505
|
+
return (struct envoy_config_listener_v3_Listener**)upb_Array_MutableDataPtr(arr);
|
1484
1506
|
} else {
|
1485
1507
|
if (size) *size = 0;
|
1486
1508
|
return NULL;
|
1487
1509
|
}
|
1488
1510
|
}
|
1489
1511
|
UPB_INLINE struct envoy_config_listener_v3_Listener** envoy_config_bootstrap_v3_Bootstrap_StaticResources_resize_listeners(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t size, upb_Arena* arena) {
|
1490
|
-
upb_MiniTableField field = {1,
|
1491
|
-
return (struct envoy_config_listener_v3_Listener**)upb_Message_ResizeArrayUninitialized(msg,
|
1512
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1513
|
+
return (struct envoy_config_listener_v3_Listener**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1514
|
+
&field, size, arena);
|
1492
1515
|
}
|
1493
1516
|
UPB_INLINE struct envoy_config_listener_v3_Listener* envoy_config_bootstrap_v3_Bootstrap_StaticResources_add_listeners(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, upb_Arena* arena) {
|
1494
|
-
upb_MiniTableField field = {1,
|
1495
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1496
|
-
|
1517
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1518
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1519
|
+
UPB_UPCAST(msg), &field, arena);
|
1520
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1521
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1497
1522
|
return NULL;
|
1498
1523
|
}
|
1499
1524
|
struct envoy_config_listener_v3_Listener* sub = (struct envoy_config_listener_v3_Listener*)_upb_Message_New(&envoy__config__listener__v3__Listener_msg_init, arena);
|
1500
1525
|
if (!arr || !sub) return NULL;
|
1501
|
-
_upb_Array_Set
|
1526
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1527
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1502
1528
|
return sub;
|
1503
1529
|
}
|
1504
1530
|
UPB_INLINE struct envoy_config_cluster_v3_Cluster** envoy_config_bootstrap_v3_Bootstrap_StaticResources_mutable_clusters(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size) {
|
1505
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
1506
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1531
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1532
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1507
1533
|
if (arr) {
|
1508
|
-
if (size) *size = arr->size;
|
1509
|
-
return (struct envoy_config_cluster_v3_Cluster**)
|
1534
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1535
|
+
return (struct envoy_config_cluster_v3_Cluster**)upb_Array_MutableDataPtr(arr);
|
1510
1536
|
} else {
|
1511
1537
|
if (size) *size = 0;
|
1512
1538
|
return NULL;
|
1513
1539
|
}
|
1514
1540
|
}
|
1515
1541
|
UPB_INLINE struct envoy_config_cluster_v3_Cluster** envoy_config_bootstrap_v3_Bootstrap_StaticResources_resize_clusters(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t size, upb_Arena* arena) {
|
1516
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
1517
|
-
return (struct envoy_config_cluster_v3_Cluster**)upb_Message_ResizeArrayUninitialized(msg,
|
1542
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1543
|
+
return (struct envoy_config_cluster_v3_Cluster**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1544
|
+
&field, size, arena);
|
1518
1545
|
}
|
1519
1546
|
UPB_INLINE struct envoy_config_cluster_v3_Cluster* envoy_config_bootstrap_v3_Bootstrap_StaticResources_add_clusters(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, upb_Arena* arena) {
|
1520
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
1521
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1522
|
-
|
1547
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1548
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1549
|
+
UPB_UPCAST(msg), &field, arena);
|
1550
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1551
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1523
1552
|
return NULL;
|
1524
1553
|
}
|
1525
1554
|
struct envoy_config_cluster_v3_Cluster* sub = (struct envoy_config_cluster_v3_Cluster*)_upb_Message_New(&envoy__config__cluster__v3__Cluster_msg_init, arena);
|
1526
1555
|
if (!arr || !sub) return NULL;
|
1527
|
-
_upb_Array_Set
|
1556
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1557
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1528
1558
|
return sub;
|
1529
1559
|
}
|
1530
1560
|
UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_Secret** envoy_config_bootstrap_v3_Bootstrap_StaticResources_mutable_secrets(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size) {
|
1531
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
1532
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1561
|
+
upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1562
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1533
1563
|
if (arr) {
|
1534
|
-
if (size) *size = arr->size;
|
1535
|
-
return (struct envoy_extensions_transport_sockets_tls_v3_Secret**)
|
1564
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1565
|
+
return (struct envoy_extensions_transport_sockets_tls_v3_Secret**)upb_Array_MutableDataPtr(arr);
|
1536
1566
|
} else {
|
1537
1567
|
if (size) *size = 0;
|
1538
1568
|
return NULL;
|
1539
1569
|
}
|
1540
1570
|
}
|
1541
1571
|
UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_Secret** envoy_config_bootstrap_v3_Bootstrap_StaticResources_resize_secrets(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t size, upb_Arena* arena) {
|
1542
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
1543
|
-
return (struct envoy_extensions_transport_sockets_tls_v3_Secret**)upb_Message_ResizeArrayUninitialized(msg,
|
1572
|
+
upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1573
|
+
return (struct envoy_extensions_transport_sockets_tls_v3_Secret**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1574
|
+
&field, size, arena);
|
1544
1575
|
}
|
1545
1576
|
UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_Secret* envoy_config_bootstrap_v3_Bootstrap_StaticResources_add_secrets(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, upb_Arena* arena) {
|
1546
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
1547
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1548
|
-
|
1577
|
+
upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1578
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1579
|
+
UPB_UPCAST(msg), &field, arena);
|
1580
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1581
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1549
1582
|
return NULL;
|
1550
1583
|
}
|
1551
1584
|
struct envoy_extensions_transport_sockets_tls_v3_Secret* sub = (struct envoy_extensions_transport_sockets_tls_v3_Secret*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__Secret_msg_init, arena);
|
1552
1585
|
if (!arr || !sub) return NULL;
|
1553
|
-
_upb_Array_Set
|
1586
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1587
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
1554
1588
|
return sub;
|
1555
1589
|
}
|
1556
1590
|
|
@@ -1562,7 +1596,8 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DynamicResources* envoy_config_bo
|
|
1562
1596
|
UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DynamicResources* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1563
1597
|
envoy_config_bootstrap_v3_Bootstrap_DynamicResources* ret = envoy_config_bootstrap_v3_Bootstrap_DynamicResources_new(arena);
|
1564
1598
|
if (!ret) return NULL;
|
1565
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, NULL, 0, arena) !=
|
1599
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, NULL, 0, arena) !=
|
1600
|
+
kUpb_DecodeStatus_Ok) {
|
1566
1601
|
return NULL;
|
1567
1602
|
}
|
1568
1603
|
return ret;
|
@@ -1572,94 +1607,99 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DynamicResources* envoy_config_bo
|
|
1572
1607
|
int options, upb_Arena* arena) {
|
1573
1608
|
envoy_config_bootstrap_v3_Bootstrap_DynamicResources* ret = envoy_config_bootstrap_v3_Bootstrap_DynamicResources_new(arena);
|
1574
1609
|
if (!ret) return NULL;
|
1575
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, extreg, options,
|
1576
|
-
|
1610
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, extreg, options,
|
1611
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1577
1612
|
return NULL;
|
1578
1613
|
}
|
1579
1614
|
return ret;
|
1580
1615
|
}
|
1581
1616
|
UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_serialize(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg, upb_Arena* arena, size_t* len) {
|
1582
1617
|
char* ptr;
|
1583
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, 0, arena, &ptr, len);
|
1618
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, 0, arena, &ptr, len);
|
1584
1619
|
return ptr;
|
1585
1620
|
}
|
1586
1621
|
UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg, int options,
|
1587
1622
|
upb_Arena* arena, size_t* len) {
|
1588
1623
|
char* ptr;
|
1589
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, options, arena, &ptr, len);
|
1624
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, options, arena, &ptr, len);
|
1590
1625
|
return ptr;
|
1591
1626
|
}
|
1592
1627
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_clear_lds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
|
1593
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1594
|
-
|
1628
|
+
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)};
|
1629
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1595
1630
|
}
|
1596
1631
|
UPB_INLINE const struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_lds_config(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
|
1597
1632
|
const struct envoy_config_core_v3_ConfigSource* default_val = NULL;
|
1598
1633
|
const struct envoy_config_core_v3_ConfigSource* ret;
|
1599
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1600
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1634
|
+
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)};
|
1635
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1636
|
+
&default_val, &ret);
|
1601
1637
|
return ret;
|
1602
1638
|
}
|
1603
1639
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_DynamicResources_has_lds_config(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
|
1604
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1605
|
-
return
|
1640
|
+
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)};
|
1641
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1606
1642
|
}
|
1607
1643
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_clear_cds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
|
1608
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1609
|
-
|
1644
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1645
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1610
1646
|
}
|
1611
1647
|
UPB_INLINE const struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_cds_config(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
|
1612
1648
|
const struct envoy_config_core_v3_ConfigSource* default_val = NULL;
|
1613
1649
|
const struct envoy_config_core_v3_ConfigSource* ret;
|
1614
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1615
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1650
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1651
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1652
|
+
&default_val, &ret);
|
1616
1653
|
return ret;
|
1617
1654
|
}
|
1618
1655
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_DynamicResources_has_cds_config(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
|
1619
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1620
|
-
return
|
1656
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1657
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1621
1658
|
}
|
1622
1659
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_clear_ads_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
|
1623
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1624
|
-
|
1660
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1661
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1625
1662
|
}
|
1626
1663
|
UPB_INLINE const struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_ads_config(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
|
1627
1664
|
const struct envoy_config_core_v3_ApiConfigSource* default_val = NULL;
|
1628
1665
|
const struct envoy_config_core_v3_ApiConfigSource* ret;
|
1629
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1630
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1666
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1667
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1668
|
+
&default_val, &ret);
|
1631
1669
|
return ret;
|
1632
1670
|
}
|
1633
1671
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_DynamicResources_has_ads_config(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
|
1634
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1635
|
-
return
|
1672
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1673
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1636
1674
|
}
|
1637
1675
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_clear_lds_resources_locator(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
|
1638
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1639
|
-
|
1676
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1677
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1640
1678
|
}
|
1641
1679
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_DynamicResources_lds_resources_locator(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
|
1642
1680
|
upb_StringView default_val = upb_StringView_FromString("");
|
1643
1681
|
upb_StringView ret;
|
1644
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1645
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1682
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, 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);
|
1646
1685
|
return ret;
|
1647
1686
|
}
|
1648
1687
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_clear_cds_resources_locator(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
|
1649
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
1650
|
-
|
1688
|
+
const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1689
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1651
1690
|
}
|
1652
1691
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_DynamicResources_cds_resources_locator(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
|
1653
1692
|
upb_StringView default_val = upb_StringView_FromString("");
|
1654
1693
|
upb_StringView ret;
|
1655
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
1656
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1694
|
+
const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1695
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1696
|
+
&default_val, &ret);
|
1657
1697
|
return ret;
|
1658
1698
|
}
|
1659
1699
|
|
1660
1700
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_lds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources *msg, struct envoy_config_core_v3_ConfigSource* value) {
|
1661
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1662
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1701
|
+
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)};
|
1702
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1663
1703
|
}
|
1664
1704
|
UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_mutable_lds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg, upb_Arena* arena) {
|
1665
1705
|
struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_bootstrap_v3_Bootstrap_DynamicResources_lds_config(msg);
|
@@ -1670,8 +1710,8 @@ UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_B
|
|
1670
1710
|
return sub;
|
1671
1711
|
}
|
1672
1712
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_cds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources *msg, struct envoy_config_core_v3_ConfigSource* value) {
|
1673
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1674
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1713
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1714
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1675
1715
|
}
|
1676
1716
|
UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_mutable_cds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg, upb_Arena* arena) {
|
1677
1717
|
struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_bootstrap_v3_Bootstrap_DynamicResources_cds_config(msg);
|
@@ -1682,8 +1722,8 @@ UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_B
|
|
1682
1722
|
return sub;
|
1683
1723
|
}
|
1684
1724
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_ads_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources *msg, struct envoy_config_core_v3_ApiConfigSource* value) {
|
1685
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1686
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1725
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1726
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1687
1727
|
}
|
1688
1728
|
UPB_INLINE struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_mutable_ads_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg, upb_Arena* arena) {
|
1689
1729
|
struct envoy_config_core_v3_ApiConfigSource* sub = (struct envoy_config_core_v3_ApiConfigSource*)envoy_config_bootstrap_v3_Bootstrap_DynamicResources_ads_config(msg);
|
@@ -1694,12 +1734,12 @@ UPB_INLINE struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v
|
|
1694
1734
|
return sub;
|
1695
1735
|
}
|
1696
1736
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_lds_resources_locator(envoy_config_bootstrap_v3_Bootstrap_DynamicResources *msg, upb_StringView value) {
|
1697
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1698
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1737
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1738
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1699
1739
|
}
|
1700
1740
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_cds_resources_locator(envoy_config_bootstrap_v3_Bootstrap_DynamicResources *msg, upb_StringView value) {
|
1701
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
1702
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1741
|
+
const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1742
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1703
1743
|
}
|
1704
1744
|
|
1705
1745
|
/* envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig */
|
@@ -1710,7 +1750,8 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* envoy_confi
|
|
1710
1750
|
UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1711
1751
|
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* ret = envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_new(arena);
|
1712
1752
|
if (!ret) return NULL;
|
1713
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, NULL, 0, arena) !=
|
1753
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, NULL, 0, arena) !=
|
1754
|
+
kUpb_DecodeStatus_Ok) {
|
1714
1755
|
return NULL;
|
1715
1756
|
}
|
1716
1757
|
return ret;
|
@@ -1720,42 +1761,43 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* envoy_confi
|
|
1720
1761
|
int options, upb_Arena* arena) {
|
1721
1762
|
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* ret = envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_new(arena);
|
1722
1763
|
if (!ret) return NULL;
|
1723
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, extreg, options,
|
1724
|
-
|
1764
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, extreg, options,
|
1765
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1725
1766
|
return NULL;
|
1726
1767
|
}
|
1727
1768
|
return ret;
|
1728
1769
|
}
|
1729
1770
|
UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_serialize(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* msg, upb_Arena* arena, size_t* len) {
|
1730
1771
|
char* ptr;
|
1731
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, 0, arena, &ptr, len);
|
1772
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, 0, arena, &ptr, len);
|
1732
1773
|
return ptr;
|
1733
1774
|
}
|
1734
1775
|
UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* msg, int options,
|
1735
1776
|
upb_Arena* arena, size_t* len) {
|
1736
1777
|
char* ptr;
|
1737
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, options, arena, &ptr, len);
|
1778
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, options, arena, &ptr, len);
|
1738
1779
|
return ptr;
|
1739
1780
|
}
|
1740
1781
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_clear_log_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* msg) {
|
1741
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1742
|
-
|
1782
|
+
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)};
|
1783
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1743
1784
|
}
|
1744
1785
|
UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_log_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* msg) {
|
1745
1786
|
const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* default_val = NULL;
|
1746
1787
|
const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* ret;
|
1747
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1748
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1788
|
+
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)};
|
1789
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1790
|
+
&default_val, &ret);
|
1749
1791
|
return ret;
|
1750
1792
|
}
|
1751
1793
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_has_log_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* msg) {
|
1752
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1753
|
-
return
|
1794
|
+
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)};
|
1795
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1754
1796
|
}
|
1755
1797
|
|
1756
1798
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_set_log_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig *msg, envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* value) {
|
1757
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1758
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1799
|
+
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)};
|
1800
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1759
1801
|
}
|
1760
1802
|
UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_mutable_log_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* msg, upb_Arena* arena) {
|
1761
1803
|
struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* sub = (struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat*)envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_log_format(msg);
|
@@ -1774,7 +1816,8 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* e
|
|
1774
1816
|
UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1775
1817
|
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* ret = envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_new(arena);
|
1776
1818
|
if (!ret) return NULL;
|
1777
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, NULL, 0, arena) !=
|
1819
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, NULL, 0, arena) !=
|
1820
|
+
kUpb_DecodeStatus_Ok) {
|
1778
1821
|
return NULL;
|
1779
1822
|
}
|
1780
1823
|
return ret;
|
@@ -1784,21 +1827,21 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* e
|
|
1784
1827
|
int options, upb_Arena* arena) {
|
1785
1828
|
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* ret = envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_new(arena);
|
1786
1829
|
if (!ret) return NULL;
|
1787
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, extreg, options,
|
1788
|
-
|
1830
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, extreg, options,
|
1831
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1789
1832
|
return NULL;
|
1790
1833
|
}
|
1791
1834
|
return ret;
|
1792
1835
|
}
|
1793
1836
|
UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_serialize(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg, upb_Arena* arena, size_t* len) {
|
1794
1837
|
char* ptr;
|
1795
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, 0, arena, &ptr, len);
|
1838
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, 0, arena, &ptr, len);
|
1796
1839
|
return ptr;
|
1797
1840
|
}
|
1798
1841
|
UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg, int options,
|
1799
1842
|
upb_Arena* arena, size_t* len) {
|
1800
1843
|
char* ptr;
|
1801
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, options, arena, &ptr, len);
|
1844
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, options, arena, &ptr, len);
|
1802
1845
|
return ptr;
|
1803
1846
|
}
|
1804
1847
|
typedef enum {
|
@@ -1807,43 +1850,46 @@ typedef enum {
|
|
1807
1850
|
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_NOT_SET = 0
|
1808
1851
|
} envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_oneofcases;
|
1809
1852
|
UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_oneofcases envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_case(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) {
|
1810
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1811
|
-
return (envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_oneofcases)upb_Message_WhichOneofFieldNumber(
|
1853
|
+
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)};
|
1854
|
+
return (envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_oneofcases)upb_Message_WhichOneofFieldNumber(
|
1855
|
+
UPB_UPCAST(msg), &field);
|
1812
1856
|
}
|
1813
1857
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_clear_json_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) {
|
1814
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1815
|
-
|
1858
|
+
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)};
|
1859
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1816
1860
|
}
|
1817
1861
|
UPB_INLINE const struct google_protobuf_Struct* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_json_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) {
|
1818
1862
|
const struct google_protobuf_Struct* default_val = NULL;
|
1819
1863
|
const struct google_protobuf_Struct* ret;
|
1820
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1821
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1864
|
+
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)};
|
1865
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1866
|
+
&default_val, &ret);
|
1822
1867
|
return ret;
|
1823
1868
|
}
|
1824
1869
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_has_json_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) {
|
1825
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1826
|
-
return
|
1870
|
+
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)};
|
1871
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1827
1872
|
}
|
1828
1873
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_clear_text_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) {
|
1829
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1830
|
-
|
1874
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1875
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1831
1876
|
}
|
1832
1877
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_text_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) {
|
1833
1878
|
upb_StringView default_val = upb_StringView_FromString("");
|
1834
1879
|
upb_StringView ret;
|
1835
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1836
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1880
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1881
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1882
|
+
&default_val, &ret);
|
1837
1883
|
return ret;
|
1838
1884
|
}
|
1839
1885
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_has_text_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) {
|
1840
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1841
|
-
return
|
1886
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1887
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1842
1888
|
}
|
1843
1889
|
|
1844
1890
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_set_json_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat *msg, struct google_protobuf_Struct* value) {
|
1845
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1846
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1891
|
+
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)};
|
1892
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1847
1893
|
}
|
1848
1894
|
UPB_INLINE struct google_protobuf_Struct* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_mutable_json_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg, upb_Arena* arena) {
|
1849
1895
|
struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_json_format(msg);
|
@@ -1854,8 +1900,8 @@ UPB_INLINE struct google_protobuf_Struct* envoy_config_bootstrap_v3_Bootstrap_Ap
|
|
1854
1900
|
return sub;
|
1855
1901
|
}
|
1856
1902
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_set_text_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat *msg, upb_StringView value) {
|
1857
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1858
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1903
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1904
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1859
1905
|
}
|
1860
1906
|
|
1861
1907
|
/* envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions */
|
@@ -1866,7 +1912,8 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* envoy_config
|
|
1866
1912
|
UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1867
1913
|
envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* ret = envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_new(arena);
|
1868
1914
|
if (!ret) return NULL;
|
1869
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, NULL, 0, arena) !=
|
1915
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, NULL, 0, arena) !=
|
1916
|
+
kUpb_DecodeStatus_Ok) {
|
1870
1917
|
return NULL;
|
1871
1918
|
}
|
1872
1919
|
return ret;
|
@@ -1876,38 +1923,39 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* envoy_config
|
|
1876
1923
|
int options, upb_Arena* arena) {
|
1877
1924
|
envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* ret = envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_new(arena);
|
1878
1925
|
if (!ret) return NULL;
|
1879
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, extreg, options,
|
1880
|
-
|
1926
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, extreg, options,
|
1927
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1881
1928
|
return NULL;
|
1882
1929
|
}
|
1883
1930
|
return ret;
|
1884
1931
|
}
|
1885
1932
|
UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_serialize(const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* msg, upb_Arena* arena, size_t* len) {
|
1886
1933
|
char* ptr;
|
1887
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, 0, arena, &ptr, len);
|
1934
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, 0, arena, &ptr, len);
|
1888
1935
|
return ptr;
|
1889
1936
|
}
|
1890
1937
|
UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* msg, int options,
|
1891
1938
|
upb_Arena* arena, size_t* len) {
|
1892
1939
|
char* ptr;
|
1893
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, options, arena, &ptr, len);
|
1940
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, options, arena, &ptr, len);
|
1894
1941
|
return ptr;
|
1895
1942
|
}
|
1896
1943
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_clear_enable_deferred_creation_stats(envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* msg) {
|
1897
|
-
const upb_MiniTableField field = {1,
|
1898
|
-
|
1944
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1945
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1899
1946
|
}
|
1900
1947
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_enable_deferred_creation_stats(const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* msg) {
|
1901
1948
|
bool default_val = false;
|
1902
1949
|
bool ret;
|
1903
|
-
const upb_MiniTableField field = {1,
|
1904
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1950
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1951
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1952
|
+
&default_val, &ret);
|
1905
1953
|
return ret;
|
1906
1954
|
}
|
1907
1955
|
|
1908
1956
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_set_enable_deferred_creation_stats(envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions *msg, bool value) {
|
1909
|
-
const upb_MiniTableField field = {1,
|
1910
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1957
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1958
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1911
1959
|
}
|
1912
1960
|
|
1913
1961
|
/* envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig */
|
@@ -1918,7 +1966,8 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* env
|
|
1918
1966
|
UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1919
1967
|
envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* ret = envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_new(arena);
|
1920
1968
|
if (!ret) return NULL;
|
1921
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, NULL, 0, arena) !=
|
1969
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, NULL, 0, arena) !=
|
1970
|
+
kUpb_DecodeStatus_Ok) {
|
1922
1971
|
return NULL;
|
1923
1972
|
}
|
1924
1973
|
return ret;
|
@@ -1928,42 +1977,43 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* env
|
|
1928
1977
|
int options, upb_Arena* arena) {
|
1929
1978
|
envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* ret = envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_new(arena);
|
1930
1979
|
if (!ret) return NULL;
|
1931
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, extreg, options,
|
1932
|
-
|
1980
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, extreg, options,
|
1981
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1933
1982
|
return NULL;
|
1934
1983
|
}
|
1935
1984
|
return ret;
|
1936
1985
|
}
|
1937
1986
|
UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_serialize(const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* msg, upb_Arena* arena, size_t* len) {
|
1938
1987
|
char* ptr;
|
1939
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, 0, arena, &ptr, len);
|
1988
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, 0, arena, &ptr, len);
|
1940
1989
|
return ptr;
|
1941
1990
|
}
|
1942
1991
|
UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* msg, int options,
|
1943
1992
|
upb_Arena* arena, size_t* len) {
|
1944
1993
|
char* ptr;
|
1945
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, options, arena, &ptr, len);
|
1994
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, options, arena, &ptr, len);
|
1946
1995
|
return ptr;
|
1947
1996
|
}
|
1948
1997
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_clear_max_cached_entry_idle_duration(envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* msg) {
|
1949
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1950
|
-
|
1998
|
+
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)};
|
1999
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1951
2000
|
}
|
1952
2001
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_max_cached_entry_idle_duration(const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* msg) {
|
1953
2002
|
const struct google_protobuf_Duration* default_val = NULL;
|
1954
2003
|
const struct google_protobuf_Duration* ret;
|
1955
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1956
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2004
|
+
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)};
|
2005
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2006
|
+
&default_val, &ret);
|
1957
2007
|
return ret;
|
1958
2008
|
}
|
1959
2009
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_has_max_cached_entry_idle_duration(const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* msg) {
|
1960
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1961
|
-
return
|
2010
|
+
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)};
|
2011
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1962
2012
|
}
|
1963
2013
|
|
1964
2014
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_set_max_cached_entry_idle_duration(envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig *msg, struct google_protobuf_Duration* value) {
|
1965
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1966
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2015
|
+
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)};
|
2016
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1967
2017
|
}
|
1968
2018
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_mutable_max_cached_entry_idle_duration(envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* msg, upb_Arena* arena) {
|
1969
2019
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_max_cached_entry_idle_duration(msg);
|
@@ -1987,8 +2037,8 @@ UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_
|
|
1987
2037
|
return ret;
|
1988
2038
|
}
|
1989
2039
|
UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_has_value(const envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry* msg) {
|
1990
|
-
const upb_MiniTableField field = {2,
|
1991
|
-
return
|
2040
|
+
const upb_MiniTableField field = {2, 32, 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2041
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1992
2042
|
}
|
1993
2043
|
|
1994
2044
|
UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_set_value(envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
|
@@ -2003,7 +2053,8 @@ UPB_INLINE envoy_config_bootstrap_v3_Admin* envoy_config_bootstrap_v3_Admin_new(
|
|
2003
2053
|
UPB_INLINE envoy_config_bootstrap_v3_Admin* envoy_config_bootstrap_v3_Admin_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2004
2054
|
envoy_config_bootstrap_v3_Admin* ret = envoy_config_bootstrap_v3_Admin_new(arena);
|
2005
2055
|
if (!ret) return NULL;
|
2006
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Admin_msg_init, NULL, 0, arena) !=
|
2056
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Admin_msg_init, NULL, 0, arena) !=
|
2057
|
+
kUpb_DecodeStatus_Ok) {
|
2007
2058
|
return NULL;
|
2008
2059
|
}
|
2009
2060
|
return ret;
|
@@ -2013,157 +2064,151 @@ UPB_INLINE envoy_config_bootstrap_v3_Admin* envoy_config_bootstrap_v3_Admin_pars
|
|
2013
2064
|
int options, upb_Arena* arena) {
|
2014
2065
|
envoy_config_bootstrap_v3_Admin* ret = envoy_config_bootstrap_v3_Admin_new(arena);
|
2015
2066
|
if (!ret) return NULL;
|
2016
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Admin_msg_init, extreg, options,
|
2017
|
-
|
2067
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Admin_msg_init, extreg, options,
|
2068
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2018
2069
|
return NULL;
|
2019
2070
|
}
|
2020
2071
|
return ret;
|
2021
2072
|
}
|
2022
2073
|
UPB_INLINE char* envoy_config_bootstrap_v3_Admin_serialize(const envoy_config_bootstrap_v3_Admin* msg, upb_Arena* arena, size_t* len) {
|
2023
2074
|
char* ptr;
|
2024
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Admin_msg_init, 0, arena, &ptr, len);
|
2075
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Admin_msg_init, 0, arena, &ptr, len);
|
2025
2076
|
return ptr;
|
2026
2077
|
}
|
2027
2078
|
UPB_INLINE char* envoy_config_bootstrap_v3_Admin_serialize_ex(const envoy_config_bootstrap_v3_Admin* msg, int options,
|
2028
2079
|
upb_Arena* arena, size_t* len) {
|
2029
2080
|
char* ptr;
|
2030
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Admin_msg_init, options, arena, &ptr, len);
|
2081
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Admin_msg_init, options, arena, &ptr, len);
|
2031
2082
|
return ptr;
|
2032
2083
|
}
|
2033
2084
|
UPB_INLINE void envoy_config_bootstrap_v3_Admin_clear_access_log_path(envoy_config_bootstrap_v3_Admin* msg) {
|
2034
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2035
|
-
|
2085
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2086
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2036
2087
|
}
|
2037
2088
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Admin_access_log_path(const envoy_config_bootstrap_v3_Admin* msg) {
|
2038
2089
|
upb_StringView default_val = upb_StringView_FromString("");
|
2039
2090
|
upb_StringView ret;
|
2040
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2041
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2091
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2092
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2093
|
+
&default_val, &ret);
|
2042
2094
|
return ret;
|
2043
2095
|
}
|
2044
2096
|
UPB_INLINE void envoy_config_bootstrap_v3_Admin_clear_profile_path(envoy_config_bootstrap_v3_Admin* msg) {
|
2045
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2046
|
-
|
2097
|
+
const upb_MiniTableField field = {2, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2098
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2047
2099
|
}
|
2048
2100
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Admin_profile_path(const envoy_config_bootstrap_v3_Admin* msg) {
|
2049
2101
|
upb_StringView default_val = upb_StringView_FromString("");
|
2050
2102
|
upb_StringView ret;
|
2051
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2052
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2103
|
+
const upb_MiniTableField field = {2, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2104
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2105
|
+
&default_val, &ret);
|
2053
2106
|
return ret;
|
2054
2107
|
}
|
2055
2108
|
UPB_INLINE void envoy_config_bootstrap_v3_Admin_clear_address(envoy_config_bootstrap_v3_Admin* msg) {
|
2056
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2057
|
-
|
2109
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 48), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2110
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2058
2111
|
}
|
2059
2112
|
UPB_INLINE const struct envoy_config_core_v3_Address* envoy_config_bootstrap_v3_Admin_address(const envoy_config_bootstrap_v3_Admin* msg) {
|
2060
2113
|
const struct envoy_config_core_v3_Address* default_val = NULL;
|
2061
2114
|
const struct envoy_config_core_v3_Address* ret;
|
2062
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2063
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2115
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 48), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2116
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2117
|
+
&default_val, &ret);
|
2064
2118
|
return ret;
|
2065
2119
|
}
|
2066
2120
|
UPB_INLINE bool envoy_config_bootstrap_v3_Admin_has_address(const envoy_config_bootstrap_v3_Admin* msg) {
|
2067
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2068
|
-
return
|
2121
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 48), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2122
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2069
2123
|
}
|
2070
2124
|
UPB_INLINE void envoy_config_bootstrap_v3_Admin_clear_socket_options(envoy_config_bootstrap_v3_Admin* msg) {
|
2071
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2072
|
-
|
2125
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2126
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2073
2127
|
}
|
2074
2128
|
UPB_INLINE const struct envoy_config_core_v3_SocketOption* const* envoy_config_bootstrap_v3_Admin_socket_options(const envoy_config_bootstrap_v3_Admin* msg, size_t* size) {
|
2075
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2076
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2129
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2130
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
2077
2131
|
if (arr) {
|
2078
|
-
if (size) *size = arr->size;
|
2079
|
-
return (const struct envoy_config_core_v3_SocketOption* const*)
|
2132
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
2133
|
+
return (const struct envoy_config_core_v3_SocketOption* const*)upb_Array_DataPtr(arr);
|
2080
2134
|
} else {
|
2081
2135
|
if (size) *size = 0;
|
2082
2136
|
return NULL;
|
2083
2137
|
}
|
2084
2138
|
}
|
2085
2139
|
UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Admin_socket_options_upb_array(const envoy_config_bootstrap_v3_Admin* msg, size_t* size) {
|
2086
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2087
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2140
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2141
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
2088
2142
|
if (size) {
|
2089
|
-
*size = arr ? arr->size : 0;
|
2143
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
2090
2144
|
}
|
2091
2145
|
return arr;
|
2092
2146
|
}
|
2093
|
-
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Admin_socket_options_mutable_upb_array(
|
2094
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2095
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2096
|
-
|
2147
|
+
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Admin_socket_options_mutable_upb_array(envoy_config_bootstrap_v3_Admin* msg, size_t* size, upb_Arena* arena) {
|
2148
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2149
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
2150
|
+
&field, arena);
|
2097
2151
|
if (size) {
|
2098
|
-
*size = arr ? arr->size : 0;
|
2152
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
2099
2153
|
}
|
2100
2154
|
return arr;
|
2101
2155
|
}
|
2102
|
-
UPB_INLINE bool envoy_config_bootstrap_v3_Admin_has_socket_options(const envoy_config_bootstrap_v3_Admin* msg) {
|
2103
|
-
size_t size;
|
2104
|
-
envoy_config_bootstrap_v3_Admin_socket_options(msg, &size);
|
2105
|
-
return size != 0;
|
2106
|
-
}
|
2107
2156
|
UPB_INLINE void envoy_config_bootstrap_v3_Admin_clear_access_log(envoy_config_bootstrap_v3_Admin* msg) {
|
2108
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2109
|
-
|
2157
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2158
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2110
2159
|
}
|
2111
2160
|
UPB_INLINE const struct envoy_config_accesslog_v3_AccessLog* const* envoy_config_bootstrap_v3_Admin_access_log(const envoy_config_bootstrap_v3_Admin* msg, size_t* size) {
|
2112
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2113
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2161
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2162
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
2114
2163
|
if (arr) {
|
2115
|
-
if (size) *size = arr->size;
|
2116
|
-
return (const struct envoy_config_accesslog_v3_AccessLog* const*)
|
2164
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
2165
|
+
return (const struct envoy_config_accesslog_v3_AccessLog* const*)upb_Array_DataPtr(arr);
|
2117
2166
|
} else {
|
2118
2167
|
if (size) *size = 0;
|
2119
2168
|
return NULL;
|
2120
2169
|
}
|
2121
2170
|
}
|
2122
2171
|
UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Admin_access_log_upb_array(const envoy_config_bootstrap_v3_Admin* msg, size_t* size) {
|
2123
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2124
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2172
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2173
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
2125
2174
|
if (size) {
|
2126
|
-
*size = arr ? arr->size : 0;
|
2175
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
2127
2176
|
}
|
2128
2177
|
return arr;
|
2129
2178
|
}
|
2130
|
-
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Admin_access_log_mutable_upb_array(
|
2131
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2132
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2133
|
-
|
2179
|
+
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Admin_access_log_mutable_upb_array(envoy_config_bootstrap_v3_Admin* msg, size_t* size, upb_Arena* arena) {
|
2180
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2181
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
2182
|
+
&field, arena);
|
2134
2183
|
if (size) {
|
2135
|
-
*size = arr ? arr->size : 0;
|
2184
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
2136
2185
|
}
|
2137
2186
|
return arr;
|
2138
2187
|
}
|
2139
|
-
UPB_INLINE bool envoy_config_bootstrap_v3_Admin_has_access_log(const envoy_config_bootstrap_v3_Admin* msg) {
|
2140
|
-
size_t size;
|
2141
|
-
envoy_config_bootstrap_v3_Admin_access_log(msg, &size);
|
2142
|
-
return size != 0;
|
2143
|
-
}
|
2144
2188
|
UPB_INLINE void envoy_config_bootstrap_v3_Admin_clear_ignore_global_conn_limit(envoy_config_bootstrap_v3_Admin* msg) {
|
2145
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
2146
|
-
|
2189
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2190
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2147
2191
|
}
|
2148
2192
|
UPB_INLINE bool envoy_config_bootstrap_v3_Admin_ignore_global_conn_limit(const envoy_config_bootstrap_v3_Admin* msg) {
|
2149
2193
|
bool default_val = false;
|
2150
2194
|
bool ret;
|
2151
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
2152
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2195
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2196
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2197
|
+
&default_val, &ret);
|
2153
2198
|
return ret;
|
2154
2199
|
}
|
2155
2200
|
|
2156
2201
|
UPB_INLINE void envoy_config_bootstrap_v3_Admin_set_access_log_path(envoy_config_bootstrap_v3_Admin *msg, upb_StringView value) {
|
2157
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2158
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2202
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2203
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2159
2204
|
}
|
2160
2205
|
UPB_INLINE void envoy_config_bootstrap_v3_Admin_set_profile_path(envoy_config_bootstrap_v3_Admin *msg, upb_StringView value) {
|
2161
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2162
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2206
|
+
const upb_MiniTableField field = {2, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2207
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2163
2208
|
}
|
2164
2209
|
UPB_INLINE void envoy_config_bootstrap_v3_Admin_set_address(envoy_config_bootstrap_v3_Admin *msg, struct envoy_config_core_v3_Address* value) {
|
2165
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2166
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2210
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 48), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2211
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2167
2212
|
}
|
2168
2213
|
UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_bootstrap_v3_Admin_mutable_address(envoy_config_bootstrap_v3_Admin* msg, upb_Arena* arena) {
|
2169
2214
|
struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_config_bootstrap_v3_Admin_address(msg);
|
@@ -2174,60 +2219,68 @@ UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_bootstrap_v3_Admin_
|
|
2174
2219
|
return sub;
|
2175
2220
|
}
|
2176
2221
|
UPB_INLINE struct envoy_config_core_v3_SocketOption** envoy_config_bootstrap_v3_Admin_mutable_socket_options(envoy_config_bootstrap_v3_Admin* msg, size_t* size) {
|
2177
|
-
upb_MiniTableField field = {4, UPB_SIZE(
|
2178
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
2222
|
+
upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2223
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
2179
2224
|
if (arr) {
|
2180
|
-
if (size) *size = arr->size;
|
2181
|
-
return (struct envoy_config_core_v3_SocketOption**)
|
2225
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
2226
|
+
return (struct envoy_config_core_v3_SocketOption**)upb_Array_MutableDataPtr(arr);
|
2182
2227
|
} else {
|
2183
2228
|
if (size) *size = 0;
|
2184
2229
|
return NULL;
|
2185
2230
|
}
|
2186
2231
|
}
|
2187
2232
|
UPB_INLINE struct envoy_config_core_v3_SocketOption** envoy_config_bootstrap_v3_Admin_resize_socket_options(envoy_config_bootstrap_v3_Admin* msg, size_t size, upb_Arena* arena) {
|
2188
|
-
upb_MiniTableField field = {4, UPB_SIZE(
|
2189
|
-
return (struct envoy_config_core_v3_SocketOption**)upb_Message_ResizeArrayUninitialized(msg,
|
2233
|
+
upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2234
|
+
return (struct envoy_config_core_v3_SocketOption**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
2235
|
+
&field, size, arena);
|
2190
2236
|
}
|
2191
2237
|
UPB_INLINE struct envoy_config_core_v3_SocketOption* envoy_config_bootstrap_v3_Admin_add_socket_options(envoy_config_bootstrap_v3_Admin* msg, upb_Arena* arena) {
|
2192
|
-
upb_MiniTableField field = {4, UPB_SIZE(
|
2193
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2194
|
-
|
2238
|
+
upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2239
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2240
|
+
UPB_UPCAST(msg), &field, arena);
|
2241
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
2242
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
2195
2243
|
return NULL;
|
2196
2244
|
}
|
2197
2245
|
struct envoy_config_core_v3_SocketOption* sub = (struct envoy_config_core_v3_SocketOption*)_upb_Message_New(&envoy__config__core__v3__SocketOption_msg_init, arena);
|
2198
2246
|
if (!arr || !sub) return NULL;
|
2199
|
-
_upb_Array_Set
|
2247
|
+
UPB_PRIVATE(_upb_Array_Set)
|
2248
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
2200
2249
|
return sub;
|
2201
2250
|
}
|
2202
2251
|
UPB_INLINE struct envoy_config_accesslog_v3_AccessLog** envoy_config_bootstrap_v3_Admin_mutable_access_log(envoy_config_bootstrap_v3_Admin* msg, size_t* size) {
|
2203
|
-
upb_MiniTableField field = {5, UPB_SIZE(
|
2204
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
2252
|
+
upb_MiniTableField field = {5, UPB_SIZE(20, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2253
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
2205
2254
|
if (arr) {
|
2206
|
-
if (size) *size = arr->size;
|
2207
|
-
return (struct envoy_config_accesslog_v3_AccessLog**)
|
2255
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
2256
|
+
return (struct envoy_config_accesslog_v3_AccessLog**)upb_Array_MutableDataPtr(arr);
|
2208
2257
|
} else {
|
2209
2258
|
if (size) *size = 0;
|
2210
2259
|
return NULL;
|
2211
2260
|
}
|
2212
2261
|
}
|
2213
2262
|
UPB_INLINE struct envoy_config_accesslog_v3_AccessLog** envoy_config_bootstrap_v3_Admin_resize_access_log(envoy_config_bootstrap_v3_Admin* msg, size_t size, upb_Arena* arena) {
|
2214
|
-
upb_MiniTableField field = {5, UPB_SIZE(
|
2215
|
-
return (struct envoy_config_accesslog_v3_AccessLog**)upb_Message_ResizeArrayUninitialized(msg,
|
2263
|
+
upb_MiniTableField field = {5, UPB_SIZE(20, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2264
|
+
return (struct envoy_config_accesslog_v3_AccessLog**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
2265
|
+
&field, size, arena);
|
2216
2266
|
}
|
2217
2267
|
UPB_INLINE struct envoy_config_accesslog_v3_AccessLog* envoy_config_bootstrap_v3_Admin_add_access_log(envoy_config_bootstrap_v3_Admin* msg, upb_Arena* arena) {
|
2218
|
-
upb_MiniTableField field = {5, UPB_SIZE(
|
2219
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2220
|
-
|
2268
|
+
upb_MiniTableField field = {5, UPB_SIZE(20, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2269
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2270
|
+
UPB_UPCAST(msg), &field, arena);
|
2271
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
2272
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
2221
2273
|
return NULL;
|
2222
2274
|
}
|
2223
2275
|
struct envoy_config_accesslog_v3_AccessLog* sub = (struct envoy_config_accesslog_v3_AccessLog*)_upb_Message_New(&envoy__config__accesslog__v3__AccessLog_msg_init, arena);
|
2224
2276
|
if (!arr || !sub) return NULL;
|
2225
|
-
_upb_Array_Set
|
2277
|
+
UPB_PRIVATE(_upb_Array_Set)
|
2278
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
2226
2279
|
return sub;
|
2227
2280
|
}
|
2228
2281
|
UPB_INLINE void envoy_config_bootstrap_v3_Admin_set_ignore_global_conn_limit(envoy_config_bootstrap_v3_Admin *msg, bool value) {
|
2229
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
2230
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2282
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2283
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2231
2284
|
}
|
2232
2285
|
|
2233
2286
|
/* envoy.config.bootstrap.v3.ClusterManager */
|
@@ -2238,7 +2291,8 @@ UPB_INLINE envoy_config_bootstrap_v3_ClusterManager* envoy_config_bootstrap_v3_C
|
|
2238
2291
|
UPB_INLINE envoy_config_bootstrap_v3_ClusterManager* envoy_config_bootstrap_v3_ClusterManager_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2239
2292
|
envoy_config_bootstrap_v3_ClusterManager* ret = envoy_config_bootstrap_v3_ClusterManager_new(arena);
|
2240
2293
|
if (!ret) return NULL;
|
2241
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__ClusterManager_msg_init, NULL, 0, arena) !=
|
2294
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__ClusterManager_msg_init, NULL, 0, arena) !=
|
2295
|
+
kUpb_DecodeStatus_Ok) {
|
2242
2296
|
return NULL;
|
2243
2297
|
}
|
2244
2298
|
return ret;
|
@@ -2248,98 +2302,103 @@ UPB_INLINE envoy_config_bootstrap_v3_ClusterManager* envoy_config_bootstrap_v3_C
|
|
2248
2302
|
int options, upb_Arena* arena) {
|
2249
2303
|
envoy_config_bootstrap_v3_ClusterManager* ret = envoy_config_bootstrap_v3_ClusterManager_new(arena);
|
2250
2304
|
if (!ret) return NULL;
|
2251
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__ClusterManager_msg_init, extreg, options,
|
2252
|
-
|
2305
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__ClusterManager_msg_init, extreg, options,
|
2306
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2253
2307
|
return NULL;
|
2254
2308
|
}
|
2255
2309
|
return ret;
|
2256
2310
|
}
|
2257
2311
|
UPB_INLINE char* envoy_config_bootstrap_v3_ClusterManager_serialize(const envoy_config_bootstrap_v3_ClusterManager* msg, upb_Arena* arena, size_t* len) {
|
2258
2312
|
char* ptr;
|
2259
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__ClusterManager_msg_init, 0, arena, &ptr, len);
|
2313
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__ClusterManager_msg_init, 0, arena, &ptr, len);
|
2260
2314
|
return ptr;
|
2261
2315
|
}
|
2262
2316
|
UPB_INLINE char* envoy_config_bootstrap_v3_ClusterManager_serialize_ex(const envoy_config_bootstrap_v3_ClusterManager* msg, int options,
|
2263
2317
|
upb_Arena* arena, size_t* len) {
|
2264
2318
|
char* ptr;
|
2265
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__ClusterManager_msg_init, options, arena, &ptr, len);
|
2319
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__ClusterManager_msg_init, options, arena, &ptr, len);
|
2266
2320
|
return ptr;
|
2267
2321
|
}
|
2268
2322
|
UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_clear_local_cluster_name(envoy_config_bootstrap_v3_ClusterManager* msg) {
|
2269
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2270
|
-
|
2323
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2324
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2271
2325
|
}
|
2272
2326
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_ClusterManager_local_cluster_name(const envoy_config_bootstrap_v3_ClusterManager* msg) {
|
2273
2327
|
upb_StringView default_val = upb_StringView_FromString("");
|
2274
2328
|
upb_StringView ret;
|
2275
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2276
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2329
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2330
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2331
|
+
&default_val, &ret);
|
2277
2332
|
return ret;
|
2278
2333
|
}
|
2279
2334
|
UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_clear_outlier_detection(envoy_config_bootstrap_v3_ClusterManager* msg) {
|
2280
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2281
|
-
|
2335
|
+
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)};
|
2336
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2282
2337
|
}
|
2283
2338
|
UPB_INLINE const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* envoy_config_bootstrap_v3_ClusterManager_outlier_detection(const envoy_config_bootstrap_v3_ClusterManager* msg) {
|
2284
2339
|
const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* default_val = NULL;
|
2285
2340
|
const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* ret;
|
2286
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2287
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2341
|
+
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)};
|
2342
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2343
|
+
&default_val, &ret);
|
2288
2344
|
return ret;
|
2289
2345
|
}
|
2290
2346
|
UPB_INLINE bool envoy_config_bootstrap_v3_ClusterManager_has_outlier_detection(const envoy_config_bootstrap_v3_ClusterManager* msg) {
|
2291
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2292
|
-
return
|
2347
|
+
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)};
|
2348
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2293
2349
|
}
|
2294
2350
|
UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_clear_upstream_bind_config(envoy_config_bootstrap_v3_ClusterManager* msg) {
|
2295
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2296
|
-
|
2351
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2352
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2297
2353
|
}
|
2298
2354
|
UPB_INLINE const struct envoy_config_core_v3_BindConfig* envoy_config_bootstrap_v3_ClusterManager_upstream_bind_config(const envoy_config_bootstrap_v3_ClusterManager* msg) {
|
2299
2355
|
const struct envoy_config_core_v3_BindConfig* default_val = NULL;
|
2300
2356
|
const struct envoy_config_core_v3_BindConfig* ret;
|
2301
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2302
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2357
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2358
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2359
|
+
&default_val, &ret);
|
2303
2360
|
return ret;
|
2304
2361
|
}
|
2305
2362
|
UPB_INLINE bool envoy_config_bootstrap_v3_ClusterManager_has_upstream_bind_config(const envoy_config_bootstrap_v3_ClusterManager* msg) {
|
2306
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2307
|
-
return
|
2363
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2364
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2308
2365
|
}
|
2309
2366
|
UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_clear_load_stats_config(envoy_config_bootstrap_v3_ClusterManager* msg) {
|
2310
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2311
|
-
|
2367
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2368
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2312
2369
|
}
|
2313
2370
|
UPB_INLINE const struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v3_ClusterManager_load_stats_config(const envoy_config_bootstrap_v3_ClusterManager* msg) {
|
2314
2371
|
const struct envoy_config_core_v3_ApiConfigSource* default_val = NULL;
|
2315
2372
|
const struct envoy_config_core_v3_ApiConfigSource* ret;
|
2316
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2317
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2373
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2374
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2375
|
+
&default_val, &ret);
|
2318
2376
|
return ret;
|
2319
2377
|
}
|
2320
2378
|
UPB_INLINE bool envoy_config_bootstrap_v3_ClusterManager_has_load_stats_config(const envoy_config_bootstrap_v3_ClusterManager* msg) {
|
2321
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2322
|
-
return
|
2379
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2380
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2323
2381
|
}
|
2324
2382
|
UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_clear_enable_deferred_cluster_creation(envoy_config_bootstrap_v3_ClusterManager* msg) {
|
2325
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2326
|
-
|
2383
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2384
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2327
2385
|
}
|
2328
2386
|
UPB_INLINE bool envoy_config_bootstrap_v3_ClusterManager_enable_deferred_cluster_creation(const envoy_config_bootstrap_v3_ClusterManager* msg) {
|
2329
2387
|
bool default_val = false;
|
2330
2388
|
bool ret;
|
2331
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2332
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2389
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2390
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2391
|
+
&default_val, &ret);
|
2333
2392
|
return ret;
|
2334
2393
|
}
|
2335
2394
|
|
2336
2395
|
UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_set_local_cluster_name(envoy_config_bootstrap_v3_ClusterManager *msg, upb_StringView value) {
|
2337
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2338
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2396
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2397
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2339
2398
|
}
|
2340
2399
|
UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_set_outlier_detection(envoy_config_bootstrap_v3_ClusterManager *msg, envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* value) {
|
2341
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2342
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2400
|
+
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)};
|
2401
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2343
2402
|
}
|
2344
2403
|
UPB_INLINE struct envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* envoy_config_bootstrap_v3_ClusterManager_mutable_outlier_detection(envoy_config_bootstrap_v3_ClusterManager* msg, upb_Arena* arena) {
|
2345
2404
|
struct envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* sub = (struct envoy_config_bootstrap_v3_ClusterManager_OutlierDetection*)envoy_config_bootstrap_v3_ClusterManager_outlier_detection(msg);
|
@@ -2350,8 +2409,8 @@ UPB_INLINE struct envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* env
|
|
2350
2409
|
return sub;
|
2351
2410
|
}
|
2352
2411
|
UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_set_upstream_bind_config(envoy_config_bootstrap_v3_ClusterManager *msg, struct envoy_config_core_v3_BindConfig* value) {
|
2353
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2354
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2412
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2413
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2355
2414
|
}
|
2356
2415
|
UPB_INLINE struct envoy_config_core_v3_BindConfig* envoy_config_bootstrap_v3_ClusterManager_mutable_upstream_bind_config(envoy_config_bootstrap_v3_ClusterManager* msg, upb_Arena* arena) {
|
2357
2416
|
struct envoy_config_core_v3_BindConfig* sub = (struct envoy_config_core_v3_BindConfig*)envoy_config_bootstrap_v3_ClusterManager_upstream_bind_config(msg);
|
@@ -2362,8 +2421,8 @@ UPB_INLINE struct envoy_config_core_v3_BindConfig* envoy_config_bootstrap_v3_Clu
|
|
2362
2421
|
return sub;
|
2363
2422
|
}
|
2364
2423
|
UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_set_load_stats_config(envoy_config_bootstrap_v3_ClusterManager *msg, struct envoy_config_core_v3_ApiConfigSource* value) {
|
2365
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2366
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2424
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2425
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2367
2426
|
}
|
2368
2427
|
UPB_INLINE struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v3_ClusterManager_mutable_load_stats_config(envoy_config_bootstrap_v3_ClusterManager* msg, upb_Arena* arena) {
|
2369
2428
|
struct envoy_config_core_v3_ApiConfigSource* sub = (struct envoy_config_core_v3_ApiConfigSource*)envoy_config_bootstrap_v3_ClusterManager_load_stats_config(msg);
|
@@ -2374,8 +2433,8 @@ UPB_INLINE struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v
|
|
2374
2433
|
return sub;
|
2375
2434
|
}
|
2376
2435
|
UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_set_enable_deferred_cluster_creation(envoy_config_bootstrap_v3_ClusterManager *msg, bool value) {
|
2377
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2378
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2436
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2437
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2379
2438
|
}
|
2380
2439
|
|
2381
2440
|
/* envoy.config.bootstrap.v3.ClusterManager.OutlierDetection */
|
@@ -2386,7 +2445,8 @@ UPB_INLINE envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* envoy_conf
|
|
2386
2445
|
UPB_INLINE envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2387
2446
|
envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* ret = envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_new(arena);
|
2388
2447
|
if (!ret) return NULL;
|
2389
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, NULL, 0, arena) !=
|
2448
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, NULL, 0, arena) !=
|
2449
|
+
kUpb_DecodeStatus_Ok) {
|
2390
2450
|
return NULL;
|
2391
2451
|
}
|
2392
2452
|
return ret;
|
@@ -2396,57 +2456,59 @@ UPB_INLINE envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* envoy_conf
|
|
2396
2456
|
int options, upb_Arena* arena) {
|
2397
2457
|
envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* ret = envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_new(arena);
|
2398
2458
|
if (!ret) return NULL;
|
2399
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, extreg, options,
|
2400
|
-
|
2459
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, extreg, options,
|
2460
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2401
2461
|
return NULL;
|
2402
2462
|
}
|
2403
2463
|
return ret;
|
2404
2464
|
}
|
2405
2465
|
UPB_INLINE char* envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_serialize(const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg, upb_Arena* arena, size_t* len) {
|
2406
2466
|
char* ptr;
|
2407
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, 0, arena, &ptr, len);
|
2467
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, 0, arena, &ptr, len);
|
2408
2468
|
return ptr;
|
2409
2469
|
}
|
2410
2470
|
UPB_INLINE char* envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_serialize_ex(const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg, int options,
|
2411
2471
|
upb_Arena* arena, size_t* len) {
|
2412
2472
|
char* ptr;
|
2413
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, options, arena, &ptr, len);
|
2473
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, options, arena, &ptr, len);
|
2414
2474
|
return ptr;
|
2415
2475
|
}
|
2416
2476
|
UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_clear_event_log_path(envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg) {
|
2417
|
-
const upb_MiniTableField field = {1,
|
2418
|
-
|
2477
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2478
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2419
2479
|
}
|
2420
2480
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_event_log_path(const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg) {
|
2421
2481
|
upb_StringView default_val = upb_StringView_FromString("");
|
2422
2482
|
upb_StringView ret;
|
2423
|
-
const upb_MiniTableField field = {1,
|
2424
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2483
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2484
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2485
|
+
&default_val, &ret);
|
2425
2486
|
return ret;
|
2426
2487
|
}
|
2427
2488
|
UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_clear_event_service(envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg) {
|
2428
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2429
|
-
|
2489
|
+
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)};
|
2490
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2430
2491
|
}
|
2431
2492
|
UPB_INLINE const struct envoy_config_core_v3_EventServiceConfig* envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_event_service(const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg) {
|
2432
2493
|
const struct envoy_config_core_v3_EventServiceConfig* default_val = NULL;
|
2433
2494
|
const struct envoy_config_core_v3_EventServiceConfig* ret;
|
2434
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2435
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2495
|
+
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)};
|
2496
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2497
|
+
&default_val, &ret);
|
2436
2498
|
return ret;
|
2437
2499
|
}
|
2438
2500
|
UPB_INLINE bool envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_has_event_service(const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg) {
|
2439
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2440
|
-
return
|
2501
|
+
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)};
|
2502
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2441
2503
|
}
|
2442
2504
|
|
2443
2505
|
UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_set_event_log_path(envoy_config_bootstrap_v3_ClusterManager_OutlierDetection *msg, upb_StringView value) {
|
2444
|
-
const upb_MiniTableField field = {1,
|
2445
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2506
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2507
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2446
2508
|
}
|
2447
2509
|
UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_set_event_service(envoy_config_bootstrap_v3_ClusterManager_OutlierDetection *msg, struct envoy_config_core_v3_EventServiceConfig* value) {
|
2448
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2449
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2510
|
+
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)};
|
2511
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2450
2512
|
}
|
2451
2513
|
UPB_INLINE struct envoy_config_core_v3_EventServiceConfig* envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_mutable_event_service(envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg, upb_Arena* arena) {
|
2452
2514
|
struct envoy_config_core_v3_EventServiceConfig* sub = (struct envoy_config_core_v3_EventServiceConfig*)envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_event_service(msg);
|
@@ -2465,7 +2527,8 @@ UPB_INLINE envoy_config_bootstrap_v3_Watchdogs* envoy_config_bootstrap_v3_Watchd
|
|
2465
2527
|
UPB_INLINE envoy_config_bootstrap_v3_Watchdogs* envoy_config_bootstrap_v3_Watchdogs_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2466
2528
|
envoy_config_bootstrap_v3_Watchdogs* ret = envoy_config_bootstrap_v3_Watchdogs_new(arena);
|
2467
2529
|
if (!ret) return NULL;
|
2468
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Watchdogs_msg_init, NULL, 0, arena) !=
|
2530
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Watchdogs_msg_init, NULL, 0, arena) !=
|
2531
|
+
kUpb_DecodeStatus_Ok) {
|
2469
2532
|
return NULL;
|
2470
2533
|
}
|
2471
2534
|
return ret;
|
@@ -2475,57 +2538,59 @@ UPB_INLINE envoy_config_bootstrap_v3_Watchdogs* envoy_config_bootstrap_v3_Watchd
|
|
2475
2538
|
int options, upb_Arena* arena) {
|
2476
2539
|
envoy_config_bootstrap_v3_Watchdogs* ret = envoy_config_bootstrap_v3_Watchdogs_new(arena);
|
2477
2540
|
if (!ret) return NULL;
|
2478
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Watchdogs_msg_init, extreg, options,
|
2479
|
-
|
2541
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Watchdogs_msg_init, extreg, options,
|
2542
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2480
2543
|
return NULL;
|
2481
2544
|
}
|
2482
2545
|
return ret;
|
2483
2546
|
}
|
2484
2547
|
UPB_INLINE char* envoy_config_bootstrap_v3_Watchdogs_serialize(const envoy_config_bootstrap_v3_Watchdogs* msg, upb_Arena* arena, size_t* len) {
|
2485
2548
|
char* ptr;
|
2486
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Watchdogs_msg_init, 0, arena, &ptr, len);
|
2549
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Watchdogs_msg_init, 0, arena, &ptr, len);
|
2487
2550
|
return ptr;
|
2488
2551
|
}
|
2489
2552
|
UPB_INLINE char* envoy_config_bootstrap_v3_Watchdogs_serialize_ex(const envoy_config_bootstrap_v3_Watchdogs* msg, int options,
|
2490
2553
|
upb_Arena* arena, size_t* len) {
|
2491
2554
|
char* ptr;
|
2492
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Watchdogs_msg_init, options, arena, &ptr, len);
|
2555
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Watchdogs_msg_init, options, arena, &ptr, len);
|
2493
2556
|
return ptr;
|
2494
2557
|
}
|
2495
2558
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdogs_clear_main_thread_watchdog(envoy_config_bootstrap_v3_Watchdogs* msg) {
|
2496
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2497
|
-
|
2559
|
+
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)};
|
2560
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2498
2561
|
}
|
2499
2562
|
UPB_INLINE const envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdogs_main_thread_watchdog(const envoy_config_bootstrap_v3_Watchdogs* msg) {
|
2500
2563
|
const envoy_config_bootstrap_v3_Watchdog* default_val = NULL;
|
2501
2564
|
const envoy_config_bootstrap_v3_Watchdog* ret;
|
2502
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2503
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2565
|
+
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)};
|
2566
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2567
|
+
&default_val, &ret);
|
2504
2568
|
return ret;
|
2505
2569
|
}
|
2506
2570
|
UPB_INLINE bool envoy_config_bootstrap_v3_Watchdogs_has_main_thread_watchdog(const envoy_config_bootstrap_v3_Watchdogs* msg) {
|
2507
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2508
|
-
return
|
2571
|
+
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)};
|
2572
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2509
2573
|
}
|
2510
2574
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdogs_clear_worker_watchdog(envoy_config_bootstrap_v3_Watchdogs* msg) {
|
2511
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2512
|
-
|
2575
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2576
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2513
2577
|
}
|
2514
2578
|
UPB_INLINE const envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdogs_worker_watchdog(const envoy_config_bootstrap_v3_Watchdogs* msg) {
|
2515
2579
|
const envoy_config_bootstrap_v3_Watchdog* default_val = NULL;
|
2516
2580
|
const envoy_config_bootstrap_v3_Watchdog* ret;
|
2517
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2518
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2581
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2582
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2583
|
+
&default_val, &ret);
|
2519
2584
|
return ret;
|
2520
2585
|
}
|
2521
2586
|
UPB_INLINE bool envoy_config_bootstrap_v3_Watchdogs_has_worker_watchdog(const envoy_config_bootstrap_v3_Watchdogs* msg) {
|
2522
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2523
|
-
return
|
2587
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2588
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2524
2589
|
}
|
2525
2590
|
|
2526
2591
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdogs_set_main_thread_watchdog(envoy_config_bootstrap_v3_Watchdogs *msg, envoy_config_bootstrap_v3_Watchdog* value) {
|
2527
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2528
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2592
|
+
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)};
|
2593
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2529
2594
|
}
|
2530
2595
|
UPB_INLINE struct envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdogs_mutable_main_thread_watchdog(envoy_config_bootstrap_v3_Watchdogs* msg, upb_Arena* arena) {
|
2531
2596
|
struct envoy_config_bootstrap_v3_Watchdog* sub = (struct envoy_config_bootstrap_v3_Watchdog*)envoy_config_bootstrap_v3_Watchdogs_main_thread_watchdog(msg);
|
@@ -2536,8 +2601,8 @@ UPB_INLINE struct envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_
|
|
2536
2601
|
return sub;
|
2537
2602
|
}
|
2538
2603
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdogs_set_worker_watchdog(envoy_config_bootstrap_v3_Watchdogs *msg, envoy_config_bootstrap_v3_Watchdog* value) {
|
2539
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2540
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2604
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2605
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2541
2606
|
}
|
2542
2607
|
UPB_INLINE struct envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdogs_mutable_worker_watchdog(envoy_config_bootstrap_v3_Watchdogs* msg, upb_Arena* arena) {
|
2543
2608
|
struct envoy_config_bootstrap_v3_Watchdog* sub = (struct envoy_config_bootstrap_v3_Watchdog*)envoy_config_bootstrap_v3_Watchdogs_worker_watchdog(msg);
|
@@ -2556,7 +2621,8 @@ UPB_INLINE envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdo
|
|
2556
2621
|
UPB_INLINE envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdog_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2557
2622
|
envoy_config_bootstrap_v3_Watchdog* ret = envoy_config_bootstrap_v3_Watchdog_new(arena);
|
2558
2623
|
if (!ret) return NULL;
|
2559
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Watchdog_msg_init, NULL, 0, arena) !=
|
2624
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Watchdog_msg_init, NULL, 0, arena) !=
|
2625
|
+
kUpb_DecodeStatus_Ok) {
|
2560
2626
|
return NULL;
|
2561
2627
|
}
|
2562
2628
|
return ret;
|
@@ -2566,154 +2632,155 @@ UPB_INLINE envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdo
|
|
2566
2632
|
int options, upb_Arena* arena) {
|
2567
2633
|
envoy_config_bootstrap_v3_Watchdog* ret = envoy_config_bootstrap_v3_Watchdog_new(arena);
|
2568
2634
|
if (!ret) return NULL;
|
2569
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Watchdog_msg_init, extreg, options,
|
2570
|
-
|
2635
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Watchdog_msg_init, extreg, options,
|
2636
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2571
2637
|
return NULL;
|
2572
2638
|
}
|
2573
2639
|
return ret;
|
2574
2640
|
}
|
2575
2641
|
UPB_INLINE char* envoy_config_bootstrap_v3_Watchdog_serialize(const envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena, size_t* len) {
|
2576
2642
|
char* ptr;
|
2577
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Watchdog_msg_init, 0, arena, &ptr, len);
|
2643
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Watchdog_msg_init, 0, arena, &ptr, len);
|
2578
2644
|
return ptr;
|
2579
2645
|
}
|
2580
2646
|
UPB_INLINE char* envoy_config_bootstrap_v3_Watchdog_serialize_ex(const envoy_config_bootstrap_v3_Watchdog* msg, int options,
|
2581
2647
|
upb_Arena* arena, size_t* len) {
|
2582
2648
|
char* ptr;
|
2583
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Watchdog_msg_init, options, arena, &ptr, len);
|
2649
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Watchdog_msg_init, options, arena, &ptr, len);
|
2584
2650
|
return ptr;
|
2585
2651
|
}
|
2586
2652
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_clear_miss_timeout(envoy_config_bootstrap_v3_Watchdog* msg) {
|
2587
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2588
|
-
|
2653
|
+
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)};
|
2654
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2589
2655
|
}
|
2590
2656
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_miss_timeout(const envoy_config_bootstrap_v3_Watchdog* msg) {
|
2591
2657
|
const struct google_protobuf_Duration* default_val = NULL;
|
2592
2658
|
const struct google_protobuf_Duration* ret;
|
2593
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2594
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2659
|
+
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)};
|
2660
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2661
|
+
&default_val, &ret);
|
2595
2662
|
return ret;
|
2596
2663
|
}
|
2597
2664
|
UPB_INLINE bool envoy_config_bootstrap_v3_Watchdog_has_miss_timeout(const envoy_config_bootstrap_v3_Watchdog* msg) {
|
2598
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2599
|
-
return
|
2665
|
+
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)};
|
2666
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2600
2667
|
}
|
2601
2668
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_clear_megamiss_timeout(envoy_config_bootstrap_v3_Watchdog* msg) {
|
2602
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2603
|
-
|
2669
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2670
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2604
2671
|
}
|
2605
2672
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_megamiss_timeout(const envoy_config_bootstrap_v3_Watchdog* msg) {
|
2606
2673
|
const struct google_protobuf_Duration* default_val = NULL;
|
2607
2674
|
const struct google_protobuf_Duration* ret;
|
2608
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2609
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2675
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2676
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2677
|
+
&default_val, &ret);
|
2610
2678
|
return ret;
|
2611
2679
|
}
|
2612
2680
|
UPB_INLINE bool envoy_config_bootstrap_v3_Watchdog_has_megamiss_timeout(const envoy_config_bootstrap_v3_Watchdog* msg) {
|
2613
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2614
|
-
return
|
2681
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2682
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2615
2683
|
}
|
2616
2684
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_clear_kill_timeout(envoy_config_bootstrap_v3_Watchdog* msg) {
|
2617
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2618
|
-
|
2685
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2686
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2619
2687
|
}
|
2620
2688
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_kill_timeout(const envoy_config_bootstrap_v3_Watchdog* msg) {
|
2621
2689
|
const struct google_protobuf_Duration* default_val = NULL;
|
2622
2690
|
const struct google_protobuf_Duration* ret;
|
2623
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2624
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2691
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2692
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2693
|
+
&default_val, &ret);
|
2625
2694
|
return ret;
|
2626
2695
|
}
|
2627
2696
|
UPB_INLINE bool envoy_config_bootstrap_v3_Watchdog_has_kill_timeout(const envoy_config_bootstrap_v3_Watchdog* msg) {
|
2628
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2629
|
-
return
|
2697
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2698
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2630
2699
|
}
|
2631
2700
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_clear_multikill_timeout(envoy_config_bootstrap_v3_Watchdog* msg) {
|
2632
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2633
|
-
|
2701
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2702
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2634
2703
|
}
|
2635
2704
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_multikill_timeout(const envoy_config_bootstrap_v3_Watchdog* msg) {
|
2636
2705
|
const struct google_protobuf_Duration* default_val = NULL;
|
2637
2706
|
const struct google_protobuf_Duration* ret;
|
2638
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2639
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2707
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2708
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2709
|
+
&default_val, &ret);
|
2640
2710
|
return ret;
|
2641
2711
|
}
|
2642
2712
|
UPB_INLINE bool envoy_config_bootstrap_v3_Watchdog_has_multikill_timeout(const envoy_config_bootstrap_v3_Watchdog* msg) {
|
2643
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2644
|
-
return
|
2713
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2714
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2645
2715
|
}
|
2646
2716
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_clear_multikill_threshold(envoy_config_bootstrap_v3_Watchdog* msg) {
|
2647
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2648
|
-
|
2717
|
+
const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 68, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2718
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2649
2719
|
}
|
2650
2720
|
UPB_INLINE const struct envoy_type_v3_Percent* envoy_config_bootstrap_v3_Watchdog_multikill_threshold(const envoy_config_bootstrap_v3_Watchdog* msg) {
|
2651
2721
|
const struct envoy_type_v3_Percent* default_val = NULL;
|
2652
2722
|
const struct envoy_type_v3_Percent* ret;
|
2653
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2654
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2723
|
+
const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 68, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2724
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2725
|
+
&default_val, &ret);
|
2655
2726
|
return ret;
|
2656
2727
|
}
|
2657
2728
|
UPB_INLINE bool envoy_config_bootstrap_v3_Watchdog_has_multikill_threshold(const envoy_config_bootstrap_v3_Watchdog* msg) {
|
2658
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2659
|
-
return
|
2729
|
+
const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 68, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2730
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2660
2731
|
}
|
2661
2732
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_clear_max_kill_timeout_jitter(envoy_config_bootstrap_v3_Watchdog* msg) {
|
2662
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
2663
|
-
|
2733
|
+
const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 69, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2734
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2664
2735
|
}
|
2665
2736
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_max_kill_timeout_jitter(const envoy_config_bootstrap_v3_Watchdog* msg) {
|
2666
2737
|
const struct google_protobuf_Duration* default_val = NULL;
|
2667
2738
|
const struct google_protobuf_Duration* ret;
|
2668
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
2669
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2739
|
+
const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 69, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2740
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2741
|
+
&default_val, &ret);
|
2670
2742
|
return ret;
|
2671
2743
|
}
|
2672
2744
|
UPB_INLINE bool envoy_config_bootstrap_v3_Watchdog_has_max_kill_timeout_jitter(const envoy_config_bootstrap_v3_Watchdog* msg) {
|
2673
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
2674
|
-
return
|
2745
|
+
const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 69, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2746
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2675
2747
|
}
|
2676
2748
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_clear_actions(envoy_config_bootstrap_v3_Watchdog* msg) {
|
2677
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
2678
|
-
|
2749
|
+
const upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2750
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2679
2751
|
}
|
2680
2752
|
UPB_INLINE const envoy_config_bootstrap_v3_Watchdog_WatchdogAction* const* envoy_config_bootstrap_v3_Watchdog_actions(const envoy_config_bootstrap_v3_Watchdog* msg, size_t* size) {
|
2681
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
2682
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2753
|
+
const upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2754
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
2683
2755
|
if (arr) {
|
2684
|
-
if (size) *size = arr->size;
|
2685
|
-
return (const envoy_config_bootstrap_v3_Watchdog_WatchdogAction* const*)
|
2756
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
2757
|
+
return (const envoy_config_bootstrap_v3_Watchdog_WatchdogAction* const*)upb_Array_DataPtr(arr);
|
2686
2758
|
} else {
|
2687
2759
|
if (size) *size = 0;
|
2688
2760
|
return NULL;
|
2689
2761
|
}
|
2690
2762
|
}
|
2691
2763
|
UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Watchdog_actions_upb_array(const envoy_config_bootstrap_v3_Watchdog* msg, size_t* size) {
|
2692
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
2693
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
2764
|
+
const upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2765
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
2694
2766
|
if (size) {
|
2695
|
-
*size = arr ? arr->size : 0;
|
2767
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
2696
2768
|
}
|
2697
2769
|
return arr;
|
2698
2770
|
}
|
2699
|
-
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Watchdog_actions_mutable_upb_array(
|
2700
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
2701
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2702
|
-
|
2771
|
+
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Watchdog_actions_mutable_upb_array(envoy_config_bootstrap_v3_Watchdog* msg, size_t* size, upb_Arena* arena) {
|
2772
|
+
const upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2773
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
2774
|
+
&field, arena);
|
2703
2775
|
if (size) {
|
2704
|
-
*size = arr ? arr->size : 0;
|
2776
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
2705
2777
|
}
|
2706
2778
|
return arr;
|
2707
2779
|
}
|
2708
|
-
UPB_INLINE bool envoy_config_bootstrap_v3_Watchdog_has_actions(const envoy_config_bootstrap_v3_Watchdog* msg) {
|
2709
|
-
size_t size;
|
2710
|
-
envoy_config_bootstrap_v3_Watchdog_actions(msg, &size);
|
2711
|
-
return size != 0;
|
2712
|
-
}
|
2713
2780
|
|
2714
2781
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_set_miss_timeout(envoy_config_bootstrap_v3_Watchdog *msg, struct google_protobuf_Duration* value) {
|
2715
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2716
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2782
|
+
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)};
|
2783
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2717
2784
|
}
|
2718
2785
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_mutable_miss_timeout(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) {
|
2719
2786
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Watchdog_miss_timeout(msg);
|
@@ -2724,8 +2791,8 @@ UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_m
|
|
2724
2791
|
return sub;
|
2725
2792
|
}
|
2726
2793
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_set_megamiss_timeout(envoy_config_bootstrap_v3_Watchdog *msg, struct google_protobuf_Duration* value) {
|
2727
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2728
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2794
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2795
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2729
2796
|
}
|
2730
2797
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_mutable_megamiss_timeout(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) {
|
2731
2798
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Watchdog_megamiss_timeout(msg);
|
@@ -2736,8 +2803,8 @@ UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_m
|
|
2736
2803
|
return sub;
|
2737
2804
|
}
|
2738
2805
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_set_kill_timeout(envoy_config_bootstrap_v3_Watchdog *msg, struct google_protobuf_Duration* value) {
|
2739
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2740
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2806
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2807
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2741
2808
|
}
|
2742
2809
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_mutable_kill_timeout(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) {
|
2743
2810
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Watchdog_kill_timeout(msg);
|
@@ -2748,8 +2815,8 @@ UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_m
|
|
2748
2815
|
return sub;
|
2749
2816
|
}
|
2750
2817
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_set_multikill_timeout(envoy_config_bootstrap_v3_Watchdog *msg, struct google_protobuf_Duration* value) {
|
2751
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
2752
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2818
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2819
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2753
2820
|
}
|
2754
2821
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_mutable_multikill_timeout(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) {
|
2755
2822
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Watchdog_multikill_timeout(msg);
|
@@ -2760,8 +2827,8 @@ UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_m
|
|
2760
2827
|
return sub;
|
2761
2828
|
}
|
2762
2829
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_set_multikill_threshold(envoy_config_bootstrap_v3_Watchdog *msg, struct envoy_type_v3_Percent* value) {
|
2763
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
2764
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2830
|
+
const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 68, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2831
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2765
2832
|
}
|
2766
2833
|
UPB_INLINE struct envoy_type_v3_Percent* envoy_config_bootstrap_v3_Watchdog_mutable_multikill_threshold(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) {
|
2767
2834
|
struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_config_bootstrap_v3_Watchdog_multikill_threshold(msg);
|
@@ -2772,8 +2839,8 @@ UPB_INLINE struct envoy_type_v3_Percent* envoy_config_bootstrap_v3_Watchdog_muta
|
|
2772
2839
|
return sub;
|
2773
2840
|
}
|
2774
2841
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_set_max_kill_timeout_jitter(envoy_config_bootstrap_v3_Watchdog *msg, struct google_protobuf_Duration* value) {
|
2775
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
2776
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2842
|
+
const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 69, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2843
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2777
2844
|
}
|
2778
2845
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_mutable_max_kill_timeout_jitter(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) {
|
2779
2846
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Watchdog_max_kill_timeout_jitter(msg);
|
@@ -2784,29 +2851,33 @@ UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_m
|
|
2784
2851
|
return sub;
|
2785
2852
|
}
|
2786
2853
|
UPB_INLINE envoy_config_bootstrap_v3_Watchdog_WatchdogAction** envoy_config_bootstrap_v3_Watchdog_mutable_actions(envoy_config_bootstrap_v3_Watchdog* msg, size_t* size) {
|
2787
|
-
upb_MiniTableField field = {7, UPB_SIZE(
|
2788
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
2854
|
+
upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2855
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
2789
2856
|
if (arr) {
|
2790
|
-
if (size) *size = arr->size;
|
2791
|
-
return (envoy_config_bootstrap_v3_Watchdog_WatchdogAction**)
|
2857
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
2858
|
+
return (envoy_config_bootstrap_v3_Watchdog_WatchdogAction**)upb_Array_MutableDataPtr(arr);
|
2792
2859
|
} else {
|
2793
2860
|
if (size) *size = 0;
|
2794
2861
|
return NULL;
|
2795
2862
|
}
|
2796
2863
|
}
|
2797
2864
|
UPB_INLINE envoy_config_bootstrap_v3_Watchdog_WatchdogAction** envoy_config_bootstrap_v3_Watchdog_resize_actions(envoy_config_bootstrap_v3_Watchdog* msg, size_t size, upb_Arena* arena) {
|
2798
|
-
upb_MiniTableField field = {7, UPB_SIZE(
|
2799
|
-
return (envoy_config_bootstrap_v3_Watchdog_WatchdogAction**)upb_Message_ResizeArrayUninitialized(msg,
|
2865
|
+
upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2866
|
+
return (envoy_config_bootstrap_v3_Watchdog_WatchdogAction**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
2867
|
+
&field, size, arena);
|
2800
2868
|
}
|
2801
2869
|
UPB_INLINE struct envoy_config_bootstrap_v3_Watchdog_WatchdogAction* envoy_config_bootstrap_v3_Watchdog_add_actions(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) {
|
2802
|
-
upb_MiniTableField field = {7, UPB_SIZE(
|
2803
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2804
|
-
|
2870
|
+
upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2871
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
2872
|
+
UPB_UPCAST(msg), &field, arena);
|
2873
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
2874
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
2805
2875
|
return NULL;
|
2806
2876
|
}
|
2807
2877
|
struct envoy_config_bootstrap_v3_Watchdog_WatchdogAction* sub = (struct envoy_config_bootstrap_v3_Watchdog_WatchdogAction*)_upb_Message_New(&envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, arena);
|
2808
2878
|
if (!arr || !sub) return NULL;
|
2809
|
-
_upb_Array_Set
|
2879
|
+
UPB_PRIVATE(_upb_Array_Set)
|
2880
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
2810
2881
|
return sub;
|
2811
2882
|
}
|
2812
2883
|
|
@@ -2818,7 +2889,8 @@ UPB_INLINE envoy_config_bootstrap_v3_Watchdog_WatchdogAction* envoy_config_boots
|
|
2818
2889
|
UPB_INLINE envoy_config_bootstrap_v3_Watchdog_WatchdogAction* envoy_config_bootstrap_v3_Watchdog_WatchdogAction_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2819
2890
|
envoy_config_bootstrap_v3_Watchdog_WatchdogAction* ret = envoy_config_bootstrap_v3_Watchdog_WatchdogAction_new(arena);
|
2820
2891
|
if (!ret) return NULL;
|
2821
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, NULL, 0, arena) !=
|
2892
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, NULL, 0, arena) !=
|
2893
|
+
kUpb_DecodeStatus_Ok) {
|
2822
2894
|
return NULL;
|
2823
2895
|
}
|
2824
2896
|
return ret;
|
@@ -2828,53 +2900,55 @@ UPB_INLINE envoy_config_bootstrap_v3_Watchdog_WatchdogAction* envoy_config_boots
|
|
2828
2900
|
int options, upb_Arena* arena) {
|
2829
2901
|
envoy_config_bootstrap_v3_Watchdog_WatchdogAction* ret = envoy_config_bootstrap_v3_Watchdog_WatchdogAction_new(arena);
|
2830
2902
|
if (!ret) return NULL;
|
2831
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, extreg, options,
|
2832
|
-
|
2903
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, extreg, options,
|
2904
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2833
2905
|
return NULL;
|
2834
2906
|
}
|
2835
2907
|
return ret;
|
2836
2908
|
}
|
2837
2909
|
UPB_INLINE char* envoy_config_bootstrap_v3_Watchdog_WatchdogAction_serialize(const envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg, upb_Arena* arena, size_t* len) {
|
2838
2910
|
char* ptr;
|
2839
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, 0, arena, &ptr, len);
|
2911
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, 0, arena, &ptr, len);
|
2840
2912
|
return ptr;
|
2841
2913
|
}
|
2842
2914
|
UPB_INLINE char* envoy_config_bootstrap_v3_Watchdog_WatchdogAction_serialize_ex(const envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg, int options,
|
2843
2915
|
upb_Arena* arena, size_t* len) {
|
2844
2916
|
char* ptr;
|
2845
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, options, arena, &ptr, len);
|
2917
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, options, arena, &ptr, len);
|
2846
2918
|
return ptr;
|
2847
2919
|
}
|
2848
2920
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_WatchdogAction_clear_config(envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg) {
|
2849
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2850
|
-
|
2921
|
+
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)};
|
2922
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2851
2923
|
}
|
2852
2924
|
UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Watchdog_WatchdogAction_config(const envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg) {
|
2853
2925
|
const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
|
2854
2926
|
const struct envoy_config_core_v3_TypedExtensionConfig* ret;
|
2855
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2856
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2927
|
+
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)};
|
2928
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2929
|
+
&default_val, &ret);
|
2857
2930
|
return ret;
|
2858
2931
|
}
|
2859
2932
|
UPB_INLINE bool envoy_config_bootstrap_v3_Watchdog_WatchdogAction_has_config(const envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg) {
|
2860
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2861
|
-
return
|
2933
|
+
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)};
|
2934
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2862
2935
|
}
|
2863
2936
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_WatchdogAction_clear_event(envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg) {
|
2864
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2865
|
-
|
2937
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2938
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2866
2939
|
}
|
2867
2940
|
UPB_INLINE int32_t envoy_config_bootstrap_v3_Watchdog_WatchdogAction_event(const envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg) {
|
2868
2941
|
int32_t default_val = 0;
|
2869
2942
|
int32_t ret;
|
2870
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2871
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
2943
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2944
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2945
|
+
&default_val, &ret);
|
2872
2946
|
return ret;
|
2873
2947
|
}
|
2874
2948
|
|
2875
2949
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_WatchdogAction_set_config(envoy_config_bootstrap_v3_Watchdog_WatchdogAction *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
|
2876
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2877
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2950
|
+
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)};
|
2951
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2878
2952
|
}
|
2879
2953
|
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Watchdog_WatchdogAction_mutable_config(envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg, upb_Arena* arena) {
|
2880
2954
|
struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_Watchdog_WatchdogAction_config(msg);
|
@@ -2885,8 +2959,8 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootst
|
|
2885
2959
|
return sub;
|
2886
2960
|
}
|
2887
2961
|
UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_WatchdogAction_set_event(envoy_config_bootstrap_v3_Watchdog_WatchdogAction *msg, int32_t value) {
|
2888
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2889
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
2962
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2963
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2890
2964
|
}
|
2891
2965
|
|
2892
2966
|
/* envoy.config.bootstrap.v3.FatalAction */
|
@@ -2897,7 +2971,8 @@ UPB_INLINE envoy_config_bootstrap_v3_FatalAction* envoy_config_bootstrap_v3_Fata
|
|
2897
2971
|
UPB_INLINE envoy_config_bootstrap_v3_FatalAction* envoy_config_bootstrap_v3_FatalAction_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2898
2972
|
envoy_config_bootstrap_v3_FatalAction* ret = envoy_config_bootstrap_v3_FatalAction_new(arena);
|
2899
2973
|
if (!ret) return NULL;
|
2900
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__FatalAction_msg_init, NULL, 0, arena) !=
|
2974
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__FatalAction_msg_init, NULL, 0, arena) !=
|
2975
|
+
kUpb_DecodeStatus_Ok) {
|
2901
2976
|
return NULL;
|
2902
2977
|
}
|
2903
2978
|
return ret;
|
@@ -2907,42 +2982,43 @@ UPB_INLINE envoy_config_bootstrap_v3_FatalAction* envoy_config_bootstrap_v3_Fata
|
|
2907
2982
|
int options, upb_Arena* arena) {
|
2908
2983
|
envoy_config_bootstrap_v3_FatalAction* ret = envoy_config_bootstrap_v3_FatalAction_new(arena);
|
2909
2984
|
if (!ret) return NULL;
|
2910
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__FatalAction_msg_init, extreg, options,
|
2911
|
-
|
2985
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__FatalAction_msg_init, extreg, options,
|
2986
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2912
2987
|
return NULL;
|
2913
2988
|
}
|
2914
2989
|
return ret;
|
2915
2990
|
}
|
2916
2991
|
UPB_INLINE char* envoy_config_bootstrap_v3_FatalAction_serialize(const envoy_config_bootstrap_v3_FatalAction* msg, upb_Arena* arena, size_t* len) {
|
2917
2992
|
char* ptr;
|
2918
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__FatalAction_msg_init, 0, arena, &ptr, len);
|
2993
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__FatalAction_msg_init, 0, arena, &ptr, len);
|
2919
2994
|
return ptr;
|
2920
2995
|
}
|
2921
2996
|
UPB_INLINE char* envoy_config_bootstrap_v3_FatalAction_serialize_ex(const envoy_config_bootstrap_v3_FatalAction* msg, int options,
|
2922
2997
|
upb_Arena* arena, size_t* len) {
|
2923
2998
|
char* ptr;
|
2924
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__FatalAction_msg_init, options, arena, &ptr, len);
|
2999
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__FatalAction_msg_init, options, arena, &ptr, len);
|
2925
3000
|
return ptr;
|
2926
3001
|
}
|
2927
3002
|
UPB_INLINE void envoy_config_bootstrap_v3_FatalAction_clear_config(envoy_config_bootstrap_v3_FatalAction* msg) {
|
2928
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2929
|
-
|
3003
|
+
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)};
|
3004
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2930
3005
|
}
|
2931
3006
|
UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_FatalAction_config(const envoy_config_bootstrap_v3_FatalAction* msg) {
|
2932
3007
|
const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
|
2933
3008
|
const struct envoy_config_core_v3_TypedExtensionConfig* ret;
|
2934
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2935
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
3009
|
+
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)};
|
3010
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3011
|
+
&default_val, &ret);
|
2936
3012
|
return ret;
|
2937
3013
|
}
|
2938
3014
|
UPB_INLINE bool envoy_config_bootstrap_v3_FatalAction_has_config(const envoy_config_bootstrap_v3_FatalAction* msg) {
|
2939
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2940
|
-
return
|
3015
|
+
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)};
|
3016
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2941
3017
|
}
|
2942
3018
|
|
2943
3019
|
UPB_INLINE void envoy_config_bootstrap_v3_FatalAction_set_config(envoy_config_bootstrap_v3_FatalAction *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
|
2944
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
2945
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
3020
|
+
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)};
|
3021
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
2946
3022
|
}
|
2947
3023
|
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_FatalAction_mutable_config(envoy_config_bootstrap_v3_FatalAction* msg, upb_Arena* arena) {
|
2948
3024
|
struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_FatalAction_config(msg);
|
@@ -2961,7 +3037,8 @@ UPB_INLINE envoy_config_bootstrap_v3_Runtime* envoy_config_bootstrap_v3_Runtime_
|
|
2961
3037
|
UPB_INLINE envoy_config_bootstrap_v3_Runtime* envoy_config_bootstrap_v3_Runtime_parse(const char* buf, size_t size, upb_Arena* arena) {
|
2962
3038
|
envoy_config_bootstrap_v3_Runtime* ret = envoy_config_bootstrap_v3_Runtime_new(arena);
|
2963
3039
|
if (!ret) return NULL;
|
2964
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Runtime_msg_init, NULL, 0, arena) !=
|
3040
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Runtime_msg_init, NULL, 0, arena) !=
|
3041
|
+
kUpb_DecodeStatus_Ok) {
|
2965
3042
|
return NULL;
|
2966
3043
|
}
|
2967
3044
|
return ret;
|
@@ -2971,87 +3048,91 @@ UPB_INLINE envoy_config_bootstrap_v3_Runtime* envoy_config_bootstrap_v3_Runtime_
|
|
2971
3048
|
int options, upb_Arena* arena) {
|
2972
3049
|
envoy_config_bootstrap_v3_Runtime* ret = envoy_config_bootstrap_v3_Runtime_new(arena);
|
2973
3050
|
if (!ret) return NULL;
|
2974
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Runtime_msg_init, extreg, options,
|
2975
|
-
|
3051
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Runtime_msg_init, extreg, options,
|
3052
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
2976
3053
|
return NULL;
|
2977
3054
|
}
|
2978
3055
|
return ret;
|
2979
3056
|
}
|
2980
3057
|
UPB_INLINE char* envoy_config_bootstrap_v3_Runtime_serialize(const envoy_config_bootstrap_v3_Runtime* msg, upb_Arena* arena, size_t* len) {
|
2981
3058
|
char* ptr;
|
2982
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Runtime_msg_init, 0, arena, &ptr, len);
|
3059
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Runtime_msg_init, 0, arena, &ptr, len);
|
2983
3060
|
return ptr;
|
2984
3061
|
}
|
2985
3062
|
UPB_INLINE char* envoy_config_bootstrap_v3_Runtime_serialize_ex(const envoy_config_bootstrap_v3_Runtime* msg, int options,
|
2986
3063
|
upb_Arena* arena, size_t* len) {
|
2987
3064
|
char* ptr;
|
2988
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__Runtime_msg_init, options, arena, &ptr, len);
|
3065
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Runtime_msg_init, options, arena, &ptr, len);
|
2989
3066
|
return ptr;
|
2990
3067
|
}
|
2991
3068
|
UPB_INLINE void envoy_config_bootstrap_v3_Runtime_clear_symlink_root(envoy_config_bootstrap_v3_Runtime* msg) {
|
2992
|
-
const upb_MiniTableField field = {1,
|
2993
|
-
|
3069
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3070
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2994
3071
|
}
|
2995
3072
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Runtime_symlink_root(const envoy_config_bootstrap_v3_Runtime* msg) {
|
2996
3073
|
upb_StringView default_val = upb_StringView_FromString("");
|
2997
3074
|
upb_StringView ret;
|
2998
|
-
const upb_MiniTableField field = {1,
|
2999
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
3075
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3076
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3077
|
+
&default_val, &ret);
|
3000
3078
|
return ret;
|
3001
3079
|
}
|
3002
3080
|
UPB_INLINE void envoy_config_bootstrap_v3_Runtime_clear_subdirectory(envoy_config_bootstrap_v3_Runtime* msg) {
|
3003
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
3004
|
-
|
3081
|
+
const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3082
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3005
3083
|
}
|
3006
3084
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Runtime_subdirectory(const envoy_config_bootstrap_v3_Runtime* msg) {
|
3007
3085
|
upb_StringView default_val = upb_StringView_FromString("");
|
3008
3086
|
upb_StringView ret;
|
3009
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
3010
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
3087
|
+
const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3088
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3089
|
+
&default_val, &ret);
|
3011
3090
|
return ret;
|
3012
3091
|
}
|
3013
3092
|
UPB_INLINE void envoy_config_bootstrap_v3_Runtime_clear_override_subdirectory(envoy_config_bootstrap_v3_Runtime* msg) {
|
3014
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
3015
|
-
|
3093
|
+
const upb_MiniTableField field = {3, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3094
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3016
3095
|
}
|
3017
3096
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Runtime_override_subdirectory(const envoy_config_bootstrap_v3_Runtime* msg) {
|
3018
3097
|
upb_StringView default_val = upb_StringView_FromString("");
|
3019
3098
|
upb_StringView ret;
|
3020
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
3021
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
3099
|
+
const upb_MiniTableField field = {3, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3100
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3101
|
+
&default_val, &ret);
|
3022
3102
|
return ret;
|
3023
3103
|
}
|
3024
3104
|
UPB_INLINE void envoy_config_bootstrap_v3_Runtime_clear_base(envoy_config_bootstrap_v3_Runtime* msg) {
|
3025
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
3026
|
-
|
3105
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3106
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3027
3107
|
}
|
3028
3108
|
UPB_INLINE const struct google_protobuf_Struct* envoy_config_bootstrap_v3_Runtime_base(const envoy_config_bootstrap_v3_Runtime* msg) {
|
3029
3109
|
const struct google_protobuf_Struct* default_val = NULL;
|
3030
3110
|
const struct google_protobuf_Struct* ret;
|
3031
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
3032
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
3111
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3112
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3113
|
+
&default_val, &ret);
|
3033
3114
|
return ret;
|
3034
3115
|
}
|
3035
3116
|
UPB_INLINE bool envoy_config_bootstrap_v3_Runtime_has_base(const envoy_config_bootstrap_v3_Runtime* msg) {
|
3036
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
3037
|
-
return
|
3117
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3118
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3038
3119
|
}
|
3039
3120
|
|
3040
3121
|
UPB_INLINE void envoy_config_bootstrap_v3_Runtime_set_symlink_root(envoy_config_bootstrap_v3_Runtime *msg, upb_StringView value) {
|
3041
|
-
const upb_MiniTableField field = {1,
|
3042
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
3122
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3123
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
3043
3124
|
}
|
3044
3125
|
UPB_INLINE void envoy_config_bootstrap_v3_Runtime_set_subdirectory(envoy_config_bootstrap_v3_Runtime *msg, upb_StringView value) {
|
3045
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
3046
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
3126
|
+
const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3127
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
3047
3128
|
}
|
3048
3129
|
UPB_INLINE void envoy_config_bootstrap_v3_Runtime_set_override_subdirectory(envoy_config_bootstrap_v3_Runtime *msg, upb_StringView value) {
|
3049
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
3050
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
3130
|
+
const upb_MiniTableField field = {3, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3131
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
3051
3132
|
}
|
3052
3133
|
UPB_INLINE void envoy_config_bootstrap_v3_Runtime_set_base(envoy_config_bootstrap_v3_Runtime *msg, struct google_protobuf_Struct* value) {
|
3053
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
3054
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
3134
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3135
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
3055
3136
|
}
|
3056
3137
|
UPB_INLINE struct google_protobuf_Struct* envoy_config_bootstrap_v3_Runtime_mutable_base(envoy_config_bootstrap_v3_Runtime* msg, upb_Arena* arena) {
|
3057
3138
|
struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_bootstrap_v3_Runtime_base(msg);
|
@@ -3070,7 +3151,8 @@ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer* envoy_config_bootstrap_v3_Run
|
|
3070
3151
|
UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer* envoy_config_bootstrap_v3_RuntimeLayer_parse(const char* buf, size_t size, upb_Arena* arena) {
|
3071
3152
|
envoy_config_bootstrap_v3_RuntimeLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_new(arena);
|
3072
3153
|
if (!ret) return NULL;
|
3073
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__RuntimeLayer_msg_init, NULL, 0, arena) !=
|
3154
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__RuntimeLayer_msg_init, NULL, 0, arena) !=
|
3155
|
+
kUpb_DecodeStatus_Ok) {
|
3074
3156
|
return NULL;
|
3075
3157
|
}
|
3076
3158
|
return ret;
|
@@ -3080,21 +3162,21 @@ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer* envoy_config_bootstrap_v3_Run
|
|
3080
3162
|
int options, upb_Arena* arena) {
|
3081
3163
|
envoy_config_bootstrap_v3_RuntimeLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_new(arena);
|
3082
3164
|
if (!ret) return NULL;
|
3083
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__RuntimeLayer_msg_init, extreg, options,
|
3084
|
-
|
3165
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__RuntimeLayer_msg_init, extreg, options,
|
3166
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
3085
3167
|
return NULL;
|
3086
3168
|
}
|
3087
3169
|
return ret;
|
3088
3170
|
}
|
3089
3171
|
UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_serialize(const envoy_config_bootstrap_v3_RuntimeLayer* msg, upb_Arena* arena, size_t* len) {
|
3090
3172
|
char* ptr;
|
3091
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__RuntimeLayer_msg_init, 0, arena, &ptr, len);
|
3173
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__RuntimeLayer_msg_init, 0, arena, &ptr, len);
|
3092
3174
|
return ptr;
|
3093
3175
|
}
|
3094
3176
|
UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_serialize_ex(const envoy_config_bootstrap_v3_RuntimeLayer* msg, int options,
|
3095
3177
|
upb_Arena* arena, size_t* len) {
|
3096
3178
|
char* ptr;
|
3097
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__RuntimeLayer_msg_init, options, arena, &ptr, len);
|
3179
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__RuntimeLayer_msg_init, options, arena, &ptr, len);
|
3098
3180
|
return ptr;
|
3099
3181
|
}
|
3100
3182
|
typedef enum {
|
@@ -3105,88 +3187,94 @@ typedef enum {
|
|
3105
3187
|
envoy_config_bootstrap_v3_RuntimeLayer_layer_specifier_NOT_SET = 0
|
3106
3188
|
} envoy_config_bootstrap_v3_RuntimeLayer_layer_specifier_oneofcases;
|
3107
3189
|
UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_layer_specifier_oneofcases envoy_config_bootstrap_v3_RuntimeLayer_layer_specifier_case(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
|
3108
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
3109
|
-
return (envoy_config_bootstrap_v3_RuntimeLayer_layer_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(
|
3190
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3191
|
+
return (envoy_config_bootstrap_v3_RuntimeLayer_layer_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(
|
3192
|
+
UPB_UPCAST(msg), &field);
|
3110
3193
|
}
|
3111
3194
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_clear_name(envoy_config_bootstrap_v3_RuntimeLayer* msg) {
|
3112
|
-
const upb_MiniTableField field = {1,
|
3113
|
-
|
3195
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3196
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3114
3197
|
}
|
3115
3198
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_RuntimeLayer_name(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
|
3116
3199
|
upb_StringView default_val = upb_StringView_FromString("");
|
3117
3200
|
upb_StringView ret;
|
3118
|
-
const upb_MiniTableField field = {1,
|
3119
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
3201
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3202
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3203
|
+
&default_val, &ret);
|
3120
3204
|
return ret;
|
3121
3205
|
}
|
3122
3206
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_clear_static_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg) {
|
3123
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
3124
|
-
|
3207
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3208
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3125
3209
|
}
|
3126
3210
|
UPB_INLINE const struct google_protobuf_Struct* envoy_config_bootstrap_v3_RuntimeLayer_static_layer(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
|
3127
3211
|
const struct google_protobuf_Struct* default_val = NULL;
|
3128
3212
|
const struct google_protobuf_Struct* ret;
|
3129
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
3130
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
3213
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3214
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3215
|
+
&default_val, &ret);
|
3131
3216
|
return ret;
|
3132
3217
|
}
|
3133
3218
|
UPB_INLINE bool envoy_config_bootstrap_v3_RuntimeLayer_has_static_layer(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
|
3134
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
3135
|
-
return
|
3219
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3220
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3136
3221
|
}
|
3137
3222
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_clear_disk_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg) {
|
3138
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
3139
|
-
|
3223
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3224
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3140
3225
|
}
|
3141
3226
|
UPB_INLINE const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* envoy_config_bootstrap_v3_RuntimeLayer_disk_layer(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
|
3142
3227
|
const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* default_val = NULL;
|
3143
3228
|
const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* ret;
|
3144
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
3145
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
3229
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3230
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3231
|
+
&default_val, &ret);
|
3146
3232
|
return ret;
|
3147
3233
|
}
|
3148
3234
|
UPB_INLINE bool envoy_config_bootstrap_v3_RuntimeLayer_has_disk_layer(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
|
3149
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
3150
|
-
return
|
3235
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3236
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3151
3237
|
}
|
3152
3238
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_clear_admin_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg) {
|
3153
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
3154
|
-
|
3239
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 32), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3240
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3155
3241
|
}
|
3156
3242
|
UPB_INLINE const envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* envoy_config_bootstrap_v3_RuntimeLayer_admin_layer(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
|
3157
3243
|
const envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* default_val = NULL;
|
3158
3244
|
const envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* ret;
|
3159
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
3160
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
3245
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 32), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3246
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3247
|
+
&default_val, &ret);
|
3161
3248
|
return ret;
|
3162
3249
|
}
|
3163
3250
|
UPB_INLINE bool envoy_config_bootstrap_v3_RuntimeLayer_has_admin_layer(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
|
3164
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
3165
|
-
return
|
3251
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 32), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3252
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3166
3253
|
}
|
3167
3254
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_clear_rtds_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg) {
|
3168
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
3169
|
-
|
3255
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3256
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3170
3257
|
}
|
3171
3258
|
UPB_INLINE const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* envoy_config_bootstrap_v3_RuntimeLayer_rtds_layer(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
|
3172
3259
|
const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* default_val = NULL;
|
3173
3260
|
const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* ret;
|
3174
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
3175
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
3261
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3262
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3263
|
+
&default_val, &ret);
|
3176
3264
|
return ret;
|
3177
3265
|
}
|
3178
3266
|
UPB_INLINE bool envoy_config_bootstrap_v3_RuntimeLayer_has_rtds_layer(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
|
3179
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
3180
|
-
return
|
3267
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3268
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3181
3269
|
}
|
3182
3270
|
|
3183
3271
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_set_name(envoy_config_bootstrap_v3_RuntimeLayer *msg, upb_StringView value) {
|
3184
|
-
const upb_MiniTableField field = {1,
|
3185
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
3272
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3273
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
3186
3274
|
}
|
3187
3275
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_set_static_layer(envoy_config_bootstrap_v3_RuntimeLayer *msg, struct google_protobuf_Struct* value) {
|
3188
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
3189
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
3276
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3277
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
3190
3278
|
}
|
3191
3279
|
UPB_INLINE struct google_protobuf_Struct* envoy_config_bootstrap_v3_RuntimeLayer_mutable_static_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg, upb_Arena* arena) {
|
3192
3280
|
struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_bootstrap_v3_RuntimeLayer_static_layer(msg);
|
@@ -3197,8 +3285,8 @@ UPB_INLINE struct google_protobuf_Struct* envoy_config_bootstrap_v3_RuntimeLayer
|
|
3197
3285
|
return sub;
|
3198
3286
|
}
|
3199
3287
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_set_disk_layer(envoy_config_bootstrap_v3_RuntimeLayer *msg, envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* value) {
|
3200
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
3201
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
3288
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3289
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
3202
3290
|
}
|
3203
3291
|
UPB_INLINE struct envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* envoy_config_bootstrap_v3_RuntimeLayer_mutable_disk_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg, upb_Arena* arena) {
|
3204
3292
|
struct envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* sub = (struct envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer*)envoy_config_bootstrap_v3_RuntimeLayer_disk_layer(msg);
|
@@ -3209,8 +3297,8 @@ UPB_INLINE struct envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* envoy_config
|
|
3209
3297
|
return sub;
|
3210
3298
|
}
|
3211
3299
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_set_admin_layer(envoy_config_bootstrap_v3_RuntimeLayer *msg, envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* value) {
|
3212
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
3213
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
3300
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 32), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3301
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
3214
3302
|
}
|
3215
3303
|
UPB_INLINE struct envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* envoy_config_bootstrap_v3_RuntimeLayer_mutable_admin_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg, upb_Arena* arena) {
|
3216
3304
|
struct envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* sub = (struct envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer*)envoy_config_bootstrap_v3_RuntimeLayer_admin_layer(msg);
|
@@ -3221,8 +3309,8 @@ UPB_INLINE struct envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* envoy_confi
|
|
3221
3309
|
return sub;
|
3222
3310
|
}
|
3223
3311
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_set_rtds_layer(envoy_config_bootstrap_v3_RuntimeLayer *msg, envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* value) {
|
3224
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
3225
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
3312
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3313
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
3226
3314
|
}
|
3227
3315
|
UPB_INLINE struct envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* envoy_config_bootstrap_v3_RuntimeLayer_mutable_rtds_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg, upb_Arena* arena) {
|
3228
3316
|
struct envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* sub = (struct envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer*)envoy_config_bootstrap_v3_RuntimeLayer_rtds_layer(msg);
|
@@ -3241,7 +3329,8 @@ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* envoy_config_bootst
|
|
3241
3329
|
UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_parse(const char* buf, size_t size, upb_Arena* arena) {
|
3242
3330
|
envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_new(arena);
|
3243
3331
|
if (!ret) return NULL;
|
3244
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, NULL, 0, arena) !=
|
3332
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, NULL, 0, arena) !=
|
3333
|
+
kUpb_DecodeStatus_Ok) {
|
3245
3334
|
return NULL;
|
3246
3335
|
}
|
3247
3336
|
return ret;
|
@@ -3251,68 +3340,71 @@ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* envoy_config_bootst
|
|
3251
3340
|
int options, upb_Arena* arena) {
|
3252
3341
|
envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_new(arena);
|
3253
3342
|
if (!ret) return NULL;
|
3254
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, extreg, options,
|
3255
|
-
|
3343
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, extreg, options,
|
3344
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
3256
3345
|
return NULL;
|
3257
3346
|
}
|
3258
3347
|
return ret;
|
3259
3348
|
}
|
3260
3349
|
UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_serialize(const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg, upb_Arena* arena, size_t* len) {
|
3261
3350
|
char* ptr;
|
3262
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, 0, arena, &ptr, len);
|
3351
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, 0, arena, &ptr, len);
|
3263
3352
|
return ptr;
|
3264
3353
|
}
|
3265
3354
|
UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_serialize_ex(const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg, int options,
|
3266
3355
|
upb_Arena* arena, size_t* len) {
|
3267
3356
|
char* ptr;
|
3268
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, options, arena, &ptr, len);
|
3357
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, options, arena, &ptr, len);
|
3269
3358
|
return ptr;
|
3270
3359
|
}
|
3271
3360
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_clear_symlink_root(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg) {
|
3272
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
3273
|
-
|
3361
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3362
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3274
3363
|
}
|
3275
3364
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_symlink_root(const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg) {
|
3276
3365
|
upb_StringView default_val = upb_StringView_FromString("");
|
3277
3366
|
upb_StringView ret;
|
3278
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
3279
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
3367
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3368
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3369
|
+
&default_val, &ret);
|
3280
3370
|
return ret;
|
3281
3371
|
}
|
3282
3372
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_clear_append_service_cluster(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg) {
|
3283
|
-
const upb_MiniTableField field = {2,
|
3284
|
-
|
3373
|
+
const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3374
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3285
3375
|
}
|
3286
3376
|
UPB_INLINE bool envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_append_service_cluster(const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg) {
|
3287
3377
|
bool default_val = false;
|
3288
3378
|
bool ret;
|
3289
|
-
const upb_MiniTableField field = {2,
|
3290
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
3379
|
+
const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3380
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3381
|
+
&default_val, &ret);
|
3291
3382
|
return ret;
|
3292
3383
|
}
|
3293
3384
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_clear_subdirectory(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg) {
|
3294
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
3295
|
-
|
3385
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3386
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3296
3387
|
}
|
3297
3388
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_subdirectory(const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg) {
|
3298
3389
|
upb_StringView default_val = upb_StringView_FromString("");
|
3299
3390
|
upb_StringView ret;
|
3300
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
3301
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
3391
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3392
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3393
|
+
&default_val, &ret);
|
3302
3394
|
return ret;
|
3303
3395
|
}
|
3304
3396
|
|
3305
3397
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_set_symlink_root(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer *msg, upb_StringView value) {
|
3306
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
3307
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
3398
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3399
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
3308
3400
|
}
|
3309
3401
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_set_append_service_cluster(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer *msg, bool value) {
|
3310
|
-
const upb_MiniTableField field = {2,
|
3311
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
3402
|
+
const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3403
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
3312
3404
|
}
|
3313
3405
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_set_subdirectory(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer *msg, upb_StringView value) {
|
3314
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
3315
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
3406
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3407
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
3316
3408
|
}
|
3317
3409
|
|
3318
3410
|
/* envoy.config.bootstrap.v3.RuntimeLayer.AdminLayer */
|
@@ -3323,7 +3415,8 @@ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* envoy_config_boots
|
|
3323
3415
|
UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_parse(const char* buf, size_t size, upb_Arena* arena) {
|
3324
3416
|
envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_new(arena);
|
3325
3417
|
if (!ret) return NULL;
|
3326
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, NULL, 0, arena) !=
|
3418
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, NULL, 0, arena) !=
|
3419
|
+
kUpb_DecodeStatus_Ok) {
|
3327
3420
|
return NULL;
|
3328
3421
|
}
|
3329
3422
|
return ret;
|
@@ -3333,21 +3426,21 @@ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* envoy_config_boots
|
|
3333
3426
|
int options, upb_Arena* arena) {
|
3334
3427
|
envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_new(arena);
|
3335
3428
|
if (!ret) return NULL;
|
3336
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, extreg, options,
|
3337
|
-
|
3429
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, extreg, options,
|
3430
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
3338
3431
|
return NULL;
|
3339
3432
|
}
|
3340
3433
|
return ret;
|
3341
3434
|
}
|
3342
3435
|
UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_serialize(const envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* msg, upb_Arena* arena, size_t* len) {
|
3343
3436
|
char* ptr;
|
3344
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, 0, arena, &ptr, len);
|
3437
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, 0, arena, &ptr, len);
|
3345
3438
|
return ptr;
|
3346
3439
|
}
|
3347
3440
|
UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_serialize_ex(const envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* msg, int options,
|
3348
3441
|
upb_Arena* arena, size_t* len) {
|
3349
3442
|
char* ptr;
|
3350
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, options, arena, &ptr, len);
|
3443
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, options, arena, &ptr, len);
|
3351
3444
|
return ptr;
|
3352
3445
|
}
|
3353
3446
|
|
@@ -3360,7 +3453,8 @@ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* envoy_config_bootst
|
|
3360
3453
|
UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_parse(const char* buf, size_t size, upb_Arena* arena) {
|
3361
3454
|
envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_new(arena);
|
3362
3455
|
if (!ret) return NULL;
|
3363
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, NULL, 0, arena) !=
|
3456
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, NULL, 0, arena) !=
|
3457
|
+
kUpb_DecodeStatus_Ok) {
|
3364
3458
|
return NULL;
|
3365
3459
|
}
|
3366
3460
|
return ret;
|
@@ -3370,57 +3464,59 @@ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* envoy_config_bootst
|
|
3370
3464
|
int options, upb_Arena* arena) {
|
3371
3465
|
envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_new(arena);
|
3372
3466
|
if (!ret) return NULL;
|
3373
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, extreg, options,
|
3374
|
-
|
3467
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, extreg, options,
|
3468
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
3375
3469
|
return NULL;
|
3376
3470
|
}
|
3377
3471
|
return ret;
|
3378
3472
|
}
|
3379
3473
|
UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_serialize(const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg, upb_Arena* arena, size_t* len) {
|
3380
3474
|
char* ptr;
|
3381
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, 0, arena, &ptr, len);
|
3475
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, 0, arena, &ptr, len);
|
3382
3476
|
return ptr;
|
3383
3477
|
}
|
3384
3478
|
UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_serialize_ex(const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg, int options,
|
3385
3479
|
upb_Arena* arena, size_t* len) {
|
3386
3480
|
char* ptr;
|
3387
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, options, arena, &ptr, len);
|
3481
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, options, arena, &ptr, len);
|
3388
3482
|
return ptr;
|
3389
3483
|
}
|
3390
3484
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_clear_name(envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg) {
|
3391
|
-
const upb_MiniTableField field = {1,
|
3392
|
-
|
3485
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3486
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3393
3487
|
}
|
3394
3488
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_name(const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg) {
|
3395
3489
|
upb_StringView default_val = upb_StringView_FromString("");
|
3396
3490
|
upb_StringView ret;
|
3397
|
-
const upb_MiniTableField field = {1,
|
3398
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
3491
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3492
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3493
|
+
&default_val, &ret);
|
3399
3494
|
return ret;
|
3400
3495
|
}
|
3401
3496
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_clear_rtds_config(envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg) {
|
3402
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
3403
|
-
|
3497
|
+
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)};
|
3498
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3404
3499
|
}
|
3405
3500
|
UPB_INLINE const struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_rtds_config(const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg) {
|
3406
3501
|
const struct envoy_config_core_v3_ConfigSource* default_val = NULL;
|
3407
3502
|
const struct envoy_config_core_v3_ConfigSource* ret;
|
3408
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
3409
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
3503
|
+
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)};
|
3504
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3505
|
+
&default_val, &ret);
|
3410
3506
|
return ret;
|
3411
3507
|
}
|
3412
3508
|
UPB_INLINE bool envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_has_rtds_config(const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg) {
|
3413
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
3414
|
-
return
|
3509
|
+
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)};
|
3510
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3415
3511
|
}
|
3416
3512
|
|
3417
3513
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_set_name(envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer *msg, upb_StringView value) {
|
3418
|
-
const upb_MiniTableField field = {1,
|
3419
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
3514
|
+
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3515
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
3420
3516
|
}
|
3421
3517
|
UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_set_rtds_config(envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer *msg, struct envoy_config_core_v3_ConfigSource* value) {
|
3422
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
3423
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
3518
|
+
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)};
|
3519
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
3424
3520
|
}
|
3425
3521
|
UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_mutable_rtds_config(envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg, upb_Arena* arena) {
|
3426
3522
|
struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_rtds_config(msg);
|
@@ -3439,7 +3535,8 @@ UPB_INLINE envoy_config_bootstrap_v3_LayeredRuntime* envoy_config_bootstrap_v3_L
|
|
3439
3535
|
UPB_INLINE envoy_config_bootstrap_v3_LayeredRuntime* envoy_config_bootstrap_v3_LayeredRuntime_parse(const char* buf, size_t size, upb_Arena* arena) {
|
3440
3536
|
envoy_config_bootstrap_v3_LayeredRuntime* ret = envoy_config_bootstrap_v3_LayeredRuntime_new(arena);
|
3441
3537
|
if (!ret) return NULL;
|
3442
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__LayeredRuntime_msg_init, NULL, 0, arena) !=
|
3538
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__LayeredRuntime_msg_init, NULL, 0, arena) !=
|
3539
|
+
kUpb_DecodeStatus_Ok) {
|
3443
3540
|
return NULL;
|
3444
3541
|
}
|
3445
3542
|
return ret;
|
@@ -3449,85 +3546,84 @@ UPB_INLINE envoy_config_bootstrap_v3_LayeredRuntime* envoy_config_bootstrap_v3_L
|
|
3449
3546
|
int options, upb_Arena* arena) {
|
3450
3547
|
envoy_config_bootstrap_v3_LayeredRuntime* ret = envoy_config_bootstrap_v3_LayeredRuntime_new(arena);
|
3451
3548
|
if (!ret) return NULL;
|
3452
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__LayeredRuntime_msg_init, extreg, options,
|
3453
|
-
|
3549
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__LayeredRuntime_msg_init, extreg, options,
|
3550
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
3454
3551
|
return NULL;
|
3455
3552
|
}
|
3456
3553
|
return ret;
|
3457
3554
|
}
|
3458
3555
|
UPB_INLINE char* envoy_config_bootstrap_v3_LayeredRuntime_serialize(const envoy_config_bootstrap_v3_LayeredRuntime* msg, upb_Arena* arena, size_t* len) {
|
3459
3556
|
char* ptr;
|
3460
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__LayeredRuntime_msg_init, 0, arena, &ptr, len);
|
3557
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__LayeredRuntime_msg_init, 0, arena, &ptr, len);
|
3461
3558
|
return ptr;
|
3462
3559
|
}
|
3463
3560
|
UPB_INLINE char* envoy_config_bootstrap_v3_LayeredRuntime_serialize_ex(const envoy_config_bootstrap_v3_LayeredRuntime* msg, int options,
|
3464
3561
|
upb_Arena* arena, size_t* len) {
|
3465
3562
|
char* ptr;
|
3466
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__LayeredRuntime_msg_init, options, arena, &ptr, len);
|
3563
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__LayeredRuntime_msg_init, options, arena, &ptr, len);
|
3467
3564
|
return ptr;
|
3468
3565
|
}
|
3469
3566
|
UPB_INLINE void envoy_config_bootstrap_v3_LayeredRuntime_clear_layers(envoy_config_bootstrap_v3_LayeredRuntime* msg) {
|
3470
|
-
const upb_MiniTableField field = {1,
|
3471
|
-
|
3567
|
+
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)};
|
3568
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3472
3569
|
}
|
3473
3570
|
UPB_INLINE const envoy_config_bootstrap_v3_RuntimeLayer* const* envoy_config_bootstrap_v3_LayeredRuntime_layers(const envoy_config_bootstrap_v3_LayeredRuntime* msg, size_t* size) {
|
3474
|
-
const upb_MiniTableField field = {1,
|
3475
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
3571
|
+
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)};
|
3572
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
3476
3573
|
if (arr) {
|
3477
|
-
if (size) *size = arr->size;
|
3478
|
-
return (const envoy_config_bootstrap_v3_RuntimeLayer* const*)
|
3574
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
3575
|
+
return (const envoy_config_bootstrap_v3_RuntimeLayer* const*)upb_Array_DataPtr(arr);
|
3479
3576
|
} else {
|
3480
3577
|
if (size) *size = 0;
|
3481
3578
|
return NULL;
|
3482
3579
|
}
|
3483
3580
|
}
|
3484
3581
|
UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_LayeredRuntime_layers_upb_array(const envoy_config_bootstrap_v3_LayeredRuntime* msg, size_t* size) {
|
3485
|
-
const upb_MiniTableField field = {1,
|
3486
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
3582
|
+
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)};
|
3583
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
3487
3584
|
if (size) {
|
3488
|
-
*size = arr ? arr->size : 0;
|
3585
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
3489
3586
|
}
|
3490
3587
|
return arr;
|
3491
3588
|
}
|
3492
|
-
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_LayeredRuntime_layers_mutable_upb_array(
|
3493
|
-
const upb_MiniTableField field = {1,
|
3494
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
3495
|
-
|
3589
|
+
UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_LayeredRuntime_layers_mutable_upb_array(envoy_config_bootstrap_v3_LayeredRuntime* msg, size_t* size, upb_Arena* arena) {
|
3590
|
+
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)};
|
3591
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
3592
|
+
&field, arena);
|
3496
3593
|
if (size) {
|
3497
|
-
*size = arr ? arr->size : 0;
|
3594
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
3498
3595
|
}
|
3499
3596
|
return arr;
|
3500
3597
|
}
|
3501
|
-
UPB_INLINE bool envoy_config_bootstrap_v3_LayeredRuntime_has_layers(const envoy_config_bootstrap_v3_LayeredRuntime* msg) {
|
3502
|
-
size_t size;
|
3503
|
-
envoy_config_bootstrap_v3_LayeredRuntime_layers(msg, &size);
|
3504
|
-
return size != 0;
|
3505
|
-
}
|
3506
3598
|
|
3507
3599
|
UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer** envoy_config_bootstrap_v3_LayeredRuntime_mutable_layers(envoy_config_bootstrap_v3_LayeredRuntime* msg, size_t* size) {
|
3508
|
-
upb_MiniTableField field = {1,
|
3509
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
3600
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3601
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
3510
3602
|
if (arr) {
|
3511
|
-
if (size) *size = arr->size;
|
3512
|
-
return (envoy_config_bootstrap_v3_RuntimeLayer**)
|
3603
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
3604
|
+
return (envoy_config_bootstrap_v3_RuntimeLayer**)upb_Array_MutableDataPtr(arr);
|
3513
3605
|
} else {
|
3514
3606
|
if (size) *size = 0;
|
3515
3607
|
return NULL;
|
3516
3608
|
}
|
3517
3609
|
}
|
3518
3610
|
UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer** envoy_config_bootstrap_v3_LayeredRuntime_resize_layers(envoy_config_bootstrap_v3_LayeredRuntime* msg, size_t size, upb_Arena* arena) {
|
3519
|
-
upb_MiniTableField field = {1,
|
3520
|
-
return (envoy_config_bootstrap_v3_RuntimeLayer**)upb_Message_ResizeArrayUninitialized(msg,
|
3611
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3612
|
+
return (envoy_config_bootstrap_v3_RuntimeLayer**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
3613
|
+
&field, size, arena);
|
3521
3614
|
}
|
3522
3615
|
UPB_INLINE struct envoy_config_bootstrap_v3_RuntimeLayer* envoy_config_bootstrap_v3_LayeredRuntime_add_layers(envoy_config_bootstrap_v3_LayeredRuntime* msg, upb_Arena* arena) {
|
3523
|
-
upb_MiniTableField field = {1,
|
3524
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
3525
|
-
|
3616
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3617
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
3618
|
+
UPB_UPCAST(msg), &field, arena);
|
3619
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
3620
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
3526
3621
|
return NULL;
|
3527
3622
|
}
|
3528
3623
|
struct envoy_config_bootstrap_v3_RuntimeLayer* sub = (struct envoy_config_bootstrap_v3_RuntimeLayer*)_upb_Message_New(&envoy__config__bootstrap__v3__RuntimeLayer_msg_init, arena);
|
3529
3624
|
if (!arr || !sub) return NULL;
|
3530
|
-
_upb_Array_Set
|
3625
|
+
UPB_PRIVATE(_upb_Array_Set)
|
3626
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
3531
3627
|
return sub;
|
3532
3628
|
}
|
3533
3629
|
|
@@ -3539,7 +3635,8 @@ UPB_INLINE envoy_config_bootstrap_v3_CustomInlineHeader* envoy_config_bootstrap_
|
|
3539
3635
|
UPB_INLINE envoy_config_bootstrap_v3_CustomInlineHeader* envoy_config_bootstrap_v3_CustomInlineHeader_parse(const char* buf, size_t size, upb_Arena* arena) {
|
3540
3636
|
envoy_config_bootstrap_v3_CustomInlineHeader* ret = envoy_config_bootstrap_v3_CustomInlineHeader_new(arena);
|
3541
3637
|
if (!ret) return NULL;
|
3542
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, NULL, 0, arena) !=
|
3638
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, NULL, 0, arena) !=
|
3639
|
+
kUpb_DecodeStatus_Ok) {
|
3543
3640
|
return NULL;
|
3544
3641
|
}
|
3545
3642
|
return ret;
|
@@ -3549,53 +3646,55 @@ UPB_INLINE envoy_config_bootstrap_v3_CustomInlineHeader* envoy_config_bootstrap_
|
|
3549
3646
|
int options, upb_Arena* arena) {
|
3550
3647
|
envoy_config_bootstrap_v3_CustomInlineHeader* ret = envoy_config_bootstrap_v3_CustomInlineHeader_new(arena);
|
3551
3648
|
if (!ret) return NULL;
|
3552
|
-
if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, extreg, options,
|
3553
|
-
|
3649
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, extreg, options,
|
3650
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
3554
3651
|
return NULL;
|
3555
3652
|
}
|
3556
3653
|
return ret;
|
3557
3654
|
}
|
3558
3655
|
UPB_INLINE char* envoy_config_bootstrap_v3_CustomInlineHeader_serialize(const envoy_config_bootstrap_v3_CustomInlineHeader* msg, upb_Arena* arena, size_t* len) {
|
3559
3656
|
char* ptr;
|
3560
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, 0, arena, &ptr, len);
|
3657
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, 0, arena, &ptr, len);
|
3561
3658
|
return ptr;
|
3562
3659
|
}
|
3563
3660
|
UPB_INLINE char* envoy_config_bootstrap_v3_CustomInlineHeader_serialize_ex(const envoy_config_bootstrap_v3_CustomInlineHeader* msg, int options,
|
3564
3661
|
upb_Arena* arena, size_t* len) {
|
3565
3662
|
char* ptr;
|
3566
|
-
(void)upb_Encode(msg, &envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, options, arena, &ptr, len);
|
3663
|
+
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, options, arena, &ptr, len);
|
3567
3664
|
return ptr;
|
3568
3665
|
}
|
3569
3666
|
UPB_INLINE void envoy_config_bootstrap_v3_CustomInlineHeader_clear_inline_header_name(envoy_config_bootstrap_v3_CustomInlineHeader* msg) {
|
3570
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
3571
|
-
|
3667
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3668
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3572
3669
|
}
|
3573
3670
|
UPB_INLINE upb_StringView envoy_config_bootstrap_v3_CustomInlineHeader_inline_header_name(const envoy_config_bootstrap_v3_CustomInlineHeader* msg) {
|
3574
3671
|
upb_StringView default_val = upb_StringView_FromString("");
|
3575
3672
|
upb_StringView ret;
|
3576
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
3577
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
3673
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3674
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3675
|
+
&default_val, &ret);
|
3578
3676
|
return ret;
|
3579
3677
|
}
|
3580
3678
|
UPB_INLINE void envoy_config_bootstrap_v3_CustomInlineHeader_clear_inline_header_type(envoy_config_bootstrap_v3_CustomInlineHeader* msg) {
|
3581
|
-
const upb_MiniTableField field = {2,
|
3582
|
-
|
3679
|
+
const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
3680
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3583
3681
|
}
|
3584
3682
|
UPB_INLINE int32_t envoy_config_bootstrap_v3_CustomInlineHeader_inline_header_type(const envoy_config_bootstrap_v3_CustomInlineHeader* msg) {
|
3585
3683
|
int32_t default_val = 0;
|
3586
3684
|
int32_t ret;
|
3587
|
-
const upb_MiniTableField field = {2,
|
3588
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
3685
|
+
const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
3686
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3687
|
+
&default_val, &ret);
|
3589
3688
|
return ret;
|
3590
3689
|
}
|
3591
3690
|
|
3592
3691
|
UPB_INLINE void envoy_config_bootstrap_v3_CustomInlineHeader_set_inline_header_name(envoy_config_bootstrap_v3_CustomInlineHeader *msg, upb_StringView value) {
|
3593
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
3594
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
3692
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3693
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
3595
3694
|
}
|
3596
3695
|
UPB_INLINE void envoy_config_bootstrap_v3_CustomInlineHeader_set_inline_header_type(envoy_config_bootstrap_v3_CustomInlineHeader *msg, int32_t value) {
|
3597
|
-
const upb_MiniTableField field = {2,
|
3598
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
3696
|
+
const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
3697
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
3599
3698
|
}
|
3600
3699
|
|
3601
3700
|
#ifdef __cplusplus
|