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
@@ -23,20 +23,20 @@
|
|
23
23
|
extern "C" {
|
24
24
|
#endif
|
25
25
|
|
26
|
-
typedef struct google_api_expr_v1alpha1_ParsedExpr google_api_expr_v1alpha1_ParsedExpr;
|
27
|
-
typedef struct google_api_expr_v1alpha1_Expr google_api_expr_v1alpha1_Expr;
|
28
|
-
typedef struct google_api_expr_v1alpha1_Expr_Ident google_api_expr_v1alpha1_Expr_Ident;
|
29
|
-
typedef struct google_api_expr_v1alpha1_Expr_Select google_api_expr_v1alpha1_Expr_Select;
|
30
|
-
typedef struct google_api_expr_v1alpha1_Expr_Call google_api_expr_v1alpha1_Expr_Call;
|
31
|
-
typedef struct google_api_expr_v1alpha1_Expr_CreateList google_api_expr_v1alpha1_Expr_CreateList;
|
32
|
-
typedef struct google_api_expr_v1alpha1_Expr_CreateStruct google_api_expr_v1alpha1_Expr_CreateStruct;
|
33
|
-
typedef struct google_api_expr_v1alpha1_Expr_CreateStruct_Entry google_api_expr_v1alpha1_Expr_CreateStruct_Entry;
|
34
|
-
typedef struct google_api_expr_v1alpha1_Expr_Comprehension google_api_expr_v1alpha1_Expr_Comprehension;
|
35
|
-
typedef struct google_api_expr_v1alpha1_Constant google_api_expr_v1alpha1_Constant;
|
36
|
-
typedef struct google_api_expr_v1alpha1_SourceInfo google_api_expr_v1alpha1_SourceInfo;
|
37
|
-
typedef struct google_api_expr_v1alpha1_SourceInfo_PositionsEntry google_api_expr_v1alpha1_SourceInfo_PositionsEntry;
|
38
|
-
typedef struct google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry;
|
39
|
-
typedef struct google_api_expr_v1alpha1_SourcePosition google_api_expr_v1alpha1_SourcePosition;
|
26
|
+
typedef struct google_api_expr_v1alpha1_ParsedExpr { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_ParsedExpr;
|
27
|
+
typedef struct google_api_expr_v1alpha1_Expr { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Expr;
|
28
|
+
typedef struct google_api_expr_v1alpha1_Expr_Ident { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Expr_Ident;
|
29
|
+
typedef struct google_api_expr_v1alpha1_Expr_Select { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Expr_Select;
|
30
|
+
typedef struct google_api_expr_v1alpha1_Expr_Call { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Expr_Call;
|
31
|
+
typedef struct google_api_expr_v1alpha1_Expr_CreateList { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Expr_CreateList;
|
32
|
+
typedef struct google_api_expr_v1alpha1_Expr_CreateStruct { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Expr_CreateStruct;
|
33
|
+
typedef struct google_api_expr_v1alpha1_Expr_CreateStruct_Entry { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Expr_CreateStruct_Entry;
|
34
|
+
typedef struct google_api_expr_v1alpha1_Expr_Comprehension { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Expr_Comprehension;
|
35
|
+
typedef struct google_api_expr_v1alpha1_Constant { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_Constant;
|
36
|
+
typedef struct google_api_expr_v1alpha1_SourceInfo { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_SourceInfo;
|
37
|
+
typedef struct google_api_expr_v1alpha1_SourceInfo_PositionsEntry { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_SourceInfo_PositionsEntry;
|
38
|
+
typedef struct google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry;
|
39
|
+
typedef struct google_api_expr_v1alpha1_SourcePosition { upb_Message UPB_PRIVATE(base); } google_api_expr_v1alpha1_SourcePosition;
|
40
40
|
struct google_protobuf_Duration;
|
41
41
|
struct google_protobuf_Timestamp;
|
42
42
|
|
@@ -50,7 +50,8 @@ UPB_INLINE google_api_expr_v1alpha1_ParsedExpr* google_api_expr_v1alpha1_ParsedE
|
|
50
50
|
UPB_INLINE google_api_expr_v1alpha1_ParsedExpr* google_api_expr_v1alpha1_ParsedExpr_parse(const char* buf, size_t size, upb_Arena* arena) {
|
51
51
|
google_api_expr_v1alpha1_ParsedExpr* ret = google_api_expr_v1alpha1_ParsedExpr_new(arena);
|
52
52
|
if (!ret) return NULL;
|
53
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__ParsedExpr_msg_init, NULL, 0, arena) !=
|
53
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__ParsedExpr_msg_init, NULL, 0, arena) !=
|
54
|
+
kUpb_DecodeStatus_Ok) {
|
54
55
|
return NULL;
|
55
56
|
}
|
56
57
|
return ret;
|
@@ -60,57 +61,59 @@ UPB_INLINE google_api_expr_v1alpha1_ParsedExpr* google_api_expr_v1alpha1_ParsedE
|
|
60
61
|
int options, upb_Arena* arena) {
|
61
62
|
google_api_expr_v1alpha1_ParsedExpr* ret = google_api_expr_v1alpha1_ParsedExpr_new(arena);
|
62
63
|
if (!ret) return NULL;
|
63
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__ParsedExpr_msg_init, extreg, options,
|
64
|
-
|
64
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__ParsedExpr_msg_init, extreg, options,
|
65
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
65
66
|
return NULL;
|
66
67
|
}
|
67
68
|
return ret;
|
68
69
|
}
|
69
70
|
UPB_INLINE char* google_api_expr_v1alpha1_ParsedExpr_serialize(const google_api_expr_v1alpha1_ParsedExpr* msg, upb_Arena* arena, size_t* len) {
|
70
71
|
char* ptr;
|
71
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__ParsedExpr_msg_init, 0, arena, &ptr, len);
|
72
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__ParsedExpr_msg_init, 0, arena, &ptr, len);
|
72
73
|
return ptr;
|
73
74
|
}
|
74
75
|
UPB_INLINE char* google_api_expr_v1alpha1_ParsedExpr_serialize_ex(const google_api_expr_v1alpha1_ParsedExpr* msg, int options,
|
75
76
|
upb_Arena* arena, size_t* len) {
|
76
77
|
char* ptr;
|
77
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__ParsedExpr_msg_init, options, arena, &ptr, len);
|
78
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__ParsedExpr_msg_init, options, arena, &ptr, len);
|
78
79
|
return ptr;
|
79
80
|
}
|
80
81
|
UPB_INLINE void google_api_expr_v1alpha1_ParsedExpr_clear_expr(google_api_expr_v1alpha1_ParsedExpr* msg) {
|
81
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
82
|
-
|
82
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
83
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
83
84
|
}
|
84
85
|
UPB_INLINE const google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_ParsedExpr_expr(const google_api_expr_v1alpha1_ParsedExpr* msg) {
|
85
86
|
const google_api_expr_v1alpha1_Expr* default_val = NULL;
|
86
87
|
const google_api_expr_v1alpha1_Expr* ret;
|
87
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
88
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
88
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
89
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
90
|
+
&default_val, &ret);
|
89
91
|
return ret;
|
90
92
|
}
|
91
93
|
UPB_INLINE bool google_api_expr_v1alpha1_ParsedExpr_has_expr(const google_api_expr_v1alpha1_ParsedExpr* msg) {
|
92
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
93
|
-
return
|
94
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
95
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
94
96
|
}
|
95
97
|
UPB_INLINE void google_api_expr_v1alpha1_ParsedExpr_clear_source_info(google_api_expr_v1alpha1_ParsedExpr* msg) {
|
96
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
97
|
-
|
98
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
99
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
98
100
|
}
|
99
101
|
UPB_INLINE const google_api_expr_v1alpha1_SourceInfo* google_api_expr_v1alpha1_ParsedExpr_source_info(const google_api_expr_v1alpha1_ParsedExpr* msg) {
|
100
102
|
const google_api_expr_v1alpha1_SourceInfo* default_val = NULL;
|
101
103
|
const google_api_expr_v1alpha1_SourceInfo* ret;
|
102
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
103
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
104
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
105
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
106
|
+
&default_val, &ret);
|
104
107
|
return ret;
|
105
108
|
}
|
106
109
|
UPB_INLINE bool google_api_expr_v1alpha1_ParsedExpr_has_source_info(const google_api_expr_v1alpha1_ParsedExpr* msg) {
|
107
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
108
|
-
return
|
110
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
111
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
109
112
|
}
|
110
113
|
|
111
114
|
UPB_INLINE void google_api_expr_v1alpha1_ParsedExpr_set_expr(google_api_expr_v1alpha1_ParsedExpr *msg, google_api_expr_v1alpha1_Expr* value) {
|
112
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
113
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
115
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
116
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
114
117
|
}
|
115
118
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_ParsedExpr_mutable_expr(google_api_expr_v1alpha1_ParsedExpr* msg, upb_Arena* arena) {
|
116
119
|
struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_ParsedExpr_expr(msg);
|
@@ -121,8 +124,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Parsed
|
|
121
124
|
return sub;
|
122
125
|
}
|
123
126
|
UPB_INLINE void google_api_expr_v1alpha1_ParsedExpr_set_source_info(google_api_expr_v1alpha1_ParsedExpr *msg, google_api_expr_v1alpha1_SourceInfo* value) {
|
124
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
125
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
127
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
128
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
126
129
|
}
|
127
130
|
UPB_INLINE struct google_api_expr_v1alpha1_SourceInfo* google_api_expr_v1alpha1_ParsedExpr_mutable_source_info(google_api_expr_v1alpha1_ParsedExpr* msg, upb_Arena* arena) {
|
128
131
|
struct google_api_expr_v1alpha1_SourceInfo* sub = (struct google_api_expr_v1alpha1_SourceInfo*)google_api_expr_v1alpha1_ParsedExpr_source_info(msg);
|
@@ -141,7 +144,8 @@ UPB_INLINE google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_new(upb_
|
|
141
144
|
UPB_INLINE google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_parse(const char* buf, size_t size, upb_Arena* arena) {
|
142
145
|
google_api_expr_v1alpha1_Expr* ret = google_api_expr_v1alpha1_Expr_new(arena);
|
143
146
|
if (!ret) return NULL;
|
144
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr_msg_init, NULL, 0, arena) !=
|
147
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Expr_msg_init, NULL, 0, arena) !=
|
148
|
+
kUpb_DecodeStatus_Ok) {
|
145
149
|
return NULL;
|
146
150
|
}
|
147
151
|
return ret;
|
@@ -151,21 +155,21 @@ UPB_INLINE google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_parse_ex
|
|
151
155
|
int options, upb_Arena* arena) {
|
152
156
|
google_api_expr_v1alpha1_Expr* ret = google_api_expr_v1alpha1_Expr_new(arena);
|
153
157
|
if (!ret) return NULL;
|
154
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr_msg_init, extreg, options,
|
155
|
-
|
158
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Expr_msg_init, extreg, options,
|
159
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
156
160
|
return NULL;
|
157
161
|
}
|
158
162
|
return ret;
|
159
163
|
}
|
160
164
|
UPB_INLINE char* google_api_expr_v1alpha1_Expr_serialize(const google_api_expr_v1alpha1_Expr* msg, upb_Arena* arena, size_t* len) {
|
161
165
|
char* ptr;
|
162
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr_msg_init, 0, arena, &ptr, len);
|
166
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Expr_msg_init, 0, arena, &ptr, len);
|
163
167
|
return ptr;
|
164
168
|
}
|
165
169
|
UPB_INLINE char* google_api_expr_v1alpha1_Expr_serialize_ex(const google_api_expr_v1alpha1_Expr* msg, int options,
|
166
170
|
upb_Arena* arena, size_t* len) {
|
167
171
|
char* ptr;
|
168
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr_msg_init, options, arena, &ptr, len);
|
172
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Expr_msg_init, options, arena, &ptr, len);
|
169
173
|
return ptr;
|
170
174
|
}
|
171
175
|
typedef enum {
|
@@ -179,133 +183,142 @@ typedef enum {
|
|
179
183
|
google_api_expr_v1alpha1_Expr_expr_kind_NOT_SET = 0
|
180
184
|
} google_api_expr_v1alpha1_Expr_expr_kind_oneofcases;
|
181
185
|
UPB_INLINE google_api_expr_v1alpha1_Expr_expr_kind_oneofcases google_api_expr_v1alpha1_Expr_expr_kind_case(const google_api_expr_v1alpha1_Expr* msg) {
|
182
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
183
|
-
return (google_api_expr_v1alpha1_Expr_expr_kind_oneofcases)upb_Message_WhichOneofFieldNumber(
|
186
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
187
|
+
return (google_api_expr_v1alpha1_Expr_expr_kind_oneofcases)upb_Message_WhichOneofFieldNumber(
|
188
|
+
UPB_UPCAST(msg), &field);
|
184
189
|
}
|
185
190
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_clear_id(google_api_expr_v1alpha1_Expr* msg) {
|
186
|
-
const upb_MiniTableField field = {2,
|
187
|
-
|
191
|
+
const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
192
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
188
193
|
}
|
189
194
|
UPB_INLINE int64_t google_api_expr_v1alpha1_Expr_id(const google_api_expr_v1alpha1_Expr* msg) {
|
190
195
|
int64_t default_val = (int64_t)0ll;
|
191
196
|
int64_t ret;
|
192
|
-
const upb_MiniTableField field = {2,
|
193
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
197
|
+
const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
198
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
199
|
+
&default_val, &ret);
|
194
200
|
return ret;
|
195
201
|
}
|
196
202
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_clear_const_expr(google_api_expr_v1alpha1_Expr* msg) {
|
197
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
198
|
-
|
203
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
204
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
199
205
|
}
|
200
206
|
UPB_INLINE const google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Expr_const_expr(const google_api_expr_v1alpha1_Expr* msg) {
|
201
207
|
const google_api_expr_v1alpha1_Constant* default_val = NULL;
|
202
208
|
const google_api_expr_v1alpha1_Constant* ret;
|
203
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
204
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
209
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
210
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
211
|
+
&default_val, &ret);
|
205
212
|
return ret;
|
206
213
|
}
|
207
214
|
UPB_INLINE bool google_api_expr_v1alpha1_Expr_has_const_expr(const google_api_expr_v1alpha1_Expr* msg) {
|
208
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
209
|
-
return
|
215
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
216
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
210
217
|
}
|
211
218
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_clear_ident_expr(google_api_expr_v1alpha1_Expr* msg) {
|
212
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
213
|
-
|
219
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
220
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
214
221
|
}
|
215
222
|
UPB_INLINE const google_api_expr_v1alpha1_Expr_Ident* google_api_expr_v1alpha1_Expr_ident_expr(const google_api_expr_v1alpha1_Expr* msg) {
|
216
223
|
const google_api_expr_v1alpha1_Expr_Ident* default_val = NULL;
|
217
224
|
const google_api_expr_v1alpha1_Expr_Ident* ret;
|
218
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
219
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
225
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
226
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
227
|
+
&default_val, &ret);
|
220
228
|
return ret;
|
221
229
|
}
|
222
230
|
UPB_INLINE bool google_api_expr_v1alpha1_Expr_has_ident_expr(const google_api_expr_v1alpha1_Expr* msg) {
|
223
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
224
|
-
return
|
231
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
232
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
225
233
|
}
|
226
234
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_clear_select_expr(google_api_expr_v1alpha1_Expr* msg) {
|
227
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
228
|
-
|
235
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 24), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
236
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
229
237
|
}
|
230
238
|
UPB_INLINE const google_api_expr_v1alpha1_Expr_Select* google_api_expr_v1alpha1_Expr_select_expr(const google_api_expr_v1alpha1_Expr* msg) {
|
231
239
|
const google_api_expr_v1alpha1_Expr_Select* default_val = NULL;
|
232
240
|
const google_api_expr_v1alpha1_Expr_Select* ret;
|
233
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
234
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
241
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 24), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
242
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
243
|
+
&default_val, &ret);
|
235
244
|
return ret;
|
236
245
|
}
|
237
246
|
UPB_INLINE bool google_api_expr_v1alpha1_Expr_has_select_expr(const google_api_expr_v1alpha1_Expr* msg) {
|
238
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
239
|
-
return
|
247
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 24), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
248
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
240
249
|
}
|
241
250
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_clear_call_expr(google_api_expr_v1alpha1_Expr* msg) {
|
242
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
243
|
-
|
251
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 24), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
252
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
244
253
|
}
|
245
254
|
UPB_INLINE const google_api_expr_v1alpha1_Expr_Call* google_api_expr_v1alpha1_Expr_call_expr(const google_api_expr_v1alpha1_Expr* msg) {
|
246
255
|
const google_api_expr_v1alpha1_Expr_Call* default_val = NULL;
|
247
256
|
const google_api_expr_v1alpha1_Expr_Call* ret;
|
248
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
249
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
257
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 24), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
258
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
259
|
+
&default_val, &ret);
|
250
260
|
return ret;
|
251
261
|
}
|
252
262
|
UPB_INLINE bool google_api_expr_v1alpha1_Expr_has_call_expr(const google_api_expr_v1alpha1_Expr* msg) {
|
253
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
254
|
-
return
|
263
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 24), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
264
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
255
265
|
}
|
256
266
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_clear_list_expr(google_api_expr_v1alpha1_Expr* msg) {
|
257
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
258
|
-
|
267
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 24), -9, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
268
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
259
269
|
}
|
260
270
|
UPB_INLINE const google_api_expr_v1alpha1_Expr_CreateList* google_api_expr_v1alpha1_Expr_list_expr(const google_api_expr_v1alpha1_Expr* msg) {
|
261
271
|
const google_api_expr_v1alpha1_Expr_CreateList* default_val = NULL;
|
262
272
|
const google_api_expr_v1alpha1_Expr_CreateList* ret;
|
263
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
264
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
273
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 24), -9, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
274
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
275
|
+
&default_val, &ret);
|
265
276
|
return ret;
|
266
277
|
}
|
267
278
|
UPB_INLINE bool google_api_expr_v1alpha1_Expr_has_list_expr(const google_api_expr_v1alpha1_Expr* msg) {
|
268
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
269
|
-
return
|
279
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 24), -9, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
280
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
270
281
|
}
|
271
282
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_clear_struct_expr(google_api_expr_v1alpha1_Expr* msg) {
|
272
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
273
|
-
|
283
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 24), -9, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
284
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
274
285
|
}
|
275
286
|
UPB_INLINE const google_api_expr_v1alpha1_Expr_CreateStruct* google_api_expr_v1alpha1_Expr_struct_expr(const google_api_expr_v1alpha1_Expr* msg) {
|
276
287
|
const google_api_expr_v1alpha1_Expr_CreateStruct* default_val = NULL;
|
277
288
|
const google_api_expr_v1alpha1_Expr_CreateStruct* ret;
|
278
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
279
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
289
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 24), -9, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
290
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
291
|
+
&default_val, &ret);
|
280
292
|
return ret;
|
281
293
|
}
|
282
294
|
UPB_INLINE bool google_api_expr_v1alpha1_Expr_has_struct_expr(const google_api_expr_v1alpha1_Expr* msg) {
|
283
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
284
|
-
return
|
295
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 24), -9, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
296
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
285
297
|
}
|
286
298
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_clear_comprehension_expr(google_api_expr_v1alpha1_Expr* msg) {
|
287
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
288
|
-
|
299
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 24), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
300
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
289
301
|
}
|
290
302
|
UPB_INLINE const google_api_expr_v1alpha1_Expr_Comprehension* google_api_expr_v1alpha1_Expr_comprehension_expr(const google_api_expr_v1alpha1_Expr* msg) {
|
291
303
|
const google_api_expr_v1alpha1_Expr_Comprehension* default_val = NULL;
|
292
304
|
const google_api_expr_v1alpha1_Expr_Comprehension* ret;
|
293
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
294
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
305
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 24), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
306
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
307
|
+
&default_val, &ret);
|
295
308
|
return ret;
|
296
309
|
}
|
297
310
|
UPB_INLINE bool google_api_expr_v1alpha1_Expr_has_comprehension_expr(const google_api_expr_v1alpha1_Expr* msg) {
|
298
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
299
|
-
return
|
311
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 24), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
312
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
300
313
|
}
|
301
314
|
|
302
315
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_set_id(google_api_expr_v1alpha1_Expr *msg, int64_t value) {
|
303
|
-
const upb_MiniTableField field = {2,
|
304
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
316
|
+
const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
317
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
305
318
|
}
|
306
319
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_set_const_expr(google_api_expr_v1alpha1_Expr *msg, google_api_expr_v1alpha1_Constant* value) {
|
307
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
308
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
320
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
321
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
309
322
|
}
|
310
323
|
UPB_INLINE struct google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Expr_mutable_const_expr(google_api_expr_v1alpha1_Expr* msg, upb_Arena* arena) {
|
311
324
|
struct google_api_expr_v1alpha1_Constant* sub = (struct google_api_expr_v1alpha1_Constant*)google_api_expr_v1alpha1_Expr_const_expr(msg);
|
@@ -316,8 +329,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Ex
|
|
316
329
|
return sub;
|
317
330
|
}
|
318
331
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_set_ident_expr(google_api_expr_v1alpha1_Expr *msg, google_api_expr_v1alpha1_Expr_Ident* value) {
|
319
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
320
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
332
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
333
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
321
334
|
}
|
322
335
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr_Ident* google_api_expr_v1alpha1_Expr_mutable_ident_expr(google_api_expr_v1alpha1_Expr* msg, upb_Arena* arena) {
|
323
336
|
struct google_api_expr_v1alpha1_Expr_Ident* sub = (struct google_api_expr_v1alpha1_Expr_Ident*)google_api_expr_v1alpha1_Expr_ident_expr(msg);
|
@@ -328,8 +341,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr_Ident* google_api_expr_v1alpha1_
|
|
328
341
|
return sub;
|
329
342
|
}
|
330
343
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_set_select_expr(google_api_expr_v1alpha1_Expr *msg, google_api_expr_v1alpha1_Expr_Select* value) {
|
331
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
332
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
344
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 24), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
345
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
333
346
|
}
|
334
347
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr_Select* google_api_expr_v1alpha1_Expr_mutable_select_expr(google_api_expr_v1alpha1_Expr* msg, upb_Arena* arena) {
|
335
348
|
struct google_api_expr_v1alpha1_Expr_Select* sub = (struct google_api_expr_v1alpha1_Expr_Select*)google_api_expr_v1alpha1_Expr_select_expr(msg);
|
@@ -340,8 +353,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr_Select* google_api_expr_v1alpha1
|
|
340
353
|
return sub;
|
341
354
|
}
|
342
355
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_set_call_expr(google_api_expr_v1alpha1_Expr *msg, google_api_expr_v1alpha1_Expr_Call* value) {
|
343
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
344
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
356
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 24), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
357
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
345
358
|
}
|
346
359
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr_Call* google_api_expr_v1alpha1_Expr_mutable_call_expr(google_api_expr_v1alpha1_Expr* msg, upb_Arena* arena) {
|
347
360
|
struct google_api_expr_v1alpha1_Expr_Call* sub = (struct google_api_expr_v1alpha1_Expr_Call*)google_api_expr_v1alpha1_Expr_call_expr(msg);
|
@@ -352,8 +365,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr_Call* google_api_expr_v1alpha1_E
|
|
352
365
|
return sub;
|
353
366
|
}
|
354
367
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_set_list_expr(google_api_expr_v1alpha1_Expr *msg, google_api_expr_v1alpha1_Expr_CreateList* value) {
|
355
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
356
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
368
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 24), -9, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
369
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
357
370
|
}
|
358
371
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr_CreateList* google_api_expr_v1alpha1_Expr_mutable_list_expr(google_api_expr_v1alpha1_Expr* msg, upb_Arena* arena) {
|
359
372
|
struct google_api_expr_v1alpha1_Expr_CreateList* sub = (struct google_api_expr_v1alpha1_Expr_CreateList*)google_api_expr_v1alpha1_Expr_list_expr(msg);
|
@@ -364,8 +377,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr_CreateList* google_api_expr_v1al
|
|
364
377
|
return sub;
|
365
378
|
}
|
366
379
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_set_struct_expr(google_api_expr_v1alpha1_Expr *msg, google_api_expr_v1alpha1_Expr_CreateStruct* value) {
|
367
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
368
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
380
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 24), -9, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
381
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
369
382
|
}
|
370
383
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr_CreateStruct* google_api_expr_v1alpha1_Expr_mutable_struct_expr(google_api_expr_v1alpha1_Expr* msg, upb_Arena* arena) {
|
371
384
|
struct google_api_expr_v1alpha1_Expr_CreateStruct* sub = (struct google_api_expr_v1alpha1_Expr_CreateStruct*)google_api_expr_v1alpha1_Expr_struct_expr(msg);
|
@@ -376,8 +389,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr_CreateStruct* google_api_expr_v1
|
|
376
389
|
return sub;
|
377
390
|
}
|
378
391
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_set_comprehension_expr(google_api_expr_v1alpha1_Expr *msg, google_api_expr_v1alpha1_Expr_Comprehension* value) {
|
379
|
-
const upb_MiniTableField field = {9, UPB_SIZE(
|
380
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
392
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 24), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
393
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
381
394
|
}
|
382
395
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr_Comprehension* google_api_expr_v1alpha1_Expr_mutable_comprehension_expr(google_api_expr_v1alpha1_Expr* msg, upb_Arena* arena) {
|
383
396
|
struct google_api_expr_v1alpha1_Expr_Comprehension* sub = (struct google_api_expr_v1alpha1_Expr_Comprehension*)google_api_expr_v1alpha1_Expr_comprehension_expr(msg);
|
@@ -396,7 +409,8 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_Ident* google_api_expr_v1alpha1_Expr_Id
|
|
396
409
|
UPB_INLINE google_api_expr_v1alpha1_Expr_Ident* google_api_expr_v1alpha1_Expr_Ident_parse(const char* buf, size_t size, upb_Arena* arena) {
|
397
410
|
google_api_expr_v1alpha1_Expr_Ident* ret = google_api_expr_v1alpha1_Expr_Ident_new(arena);
|
398
411
|
if (!ret) return NULL;
|
399
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__Ident_msg_init, NULL, 0, arena) !=
|
412
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Expr__Ident_msg_init, NULL, 0, arena) !=
|
413
|
+
kUpb_DecodeStatus_Ok) {
|
400
414
|
return NULL;
|
401
415
|
}
|
402
416
|
return ret;
|
@@ -406,38 +420,39 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_Ident* google_api_expr_v1alpha1_Expr_Id
|
|
406
420
|
int options, upb_Arena* arena) {
|
407
421
|
google_api_expr_v1alpha1_Expr_Ident* ret = google_api_expr_v1alpha1_Expr_Ident_new(arena);
|
408
422
|
if (!ret) return NULL;
|
409
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__Ident_msg_init, extreg, options,
|
410
|
-
|
423
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Expr__Ident_msg_init, extreg, options,
|
424
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
411
425
|
return NULL;
|
412
426
|
}
|
413
427
|
return ret;
|
414
428
|
}
|
415
429
|
UPB_INLINE char* google_api_expr_v1alpha1_Expr_Ident_serialize(const google_api_expr_v1alpha1_Expr_Ident* msg, upb_Arena* arena, size_t* len) {
|
416
430
|
char* ptr;
|
417
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__Ident_msg_init, 0, arena, &ptr, len);
|
431
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Expr__Ident_msg_init, 0, arena, &ptr, len);
|
418
432
|
return ptr;
|
419
433
|
}
|
420
434
|
UPB_INLINE char* google_api_expr_v1alpha1_Expr_Ident_serialize_ex(const google_api_expr_v1alpha1_Expr_Ident* msg, int options,
|
421
435
|
upb_Arena* arena, size_t* len) {
|
422
436
|
char* ptr;
|
423
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__Ident_msg_init, options, arena, &ptr, len);
|
437
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Expr__Ident_msg_init, options, arena, &ptr, len);
|
424
438
|
return ptr;
|
425
439
|
}
|
426
440
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Ident_clear_name(google_api_expr_v1alpha1_Expr_Ident* msg) {
|
427
|
-
const upb_MiniTableField field = {1,
|
428
|
-
|
441
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
442
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
429
443
|
}
|
430
444
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_Expr_Ident_name(const google_api_expr_v1alpha1_Expr_Ident* msg) {
|
431
445
|
upb_StringView default_val = upb_StringView_FromString("");
|
432
446
|
upb_StringView ret;
|
433
|
-
const upb_MiniTableField field = {1,
|
434
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
447
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
448
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
449
|
+
&default_val, &ret);
|
435
450
|
return ret;
|
436
451
|
}
|
437
452
|
|
438
453
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Ident_set_name(google_api_expr_v1alpha1_Expr_Ident *msg, upb_StringView value) {
|
439
|
-
const upb_MiniTableField field = {1,
|
440
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
454
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
455
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
441
456
|
}
|
442
457
|
|
443
458
|
/* google.api.expr.v1alpha1.Expr.Select */
|
@@ -448,7 +463,8 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_Select* google_api_expr_v1alpha1_Expr_S
|
|
448
463
|
UPB_INLINE google_api_expr_v1alpha1_Expr_Select* google_api_expr_v1alpha1_Expr_Select_parse(const char* buf, size_t size, upb_Arena* arena) {
|
449
464
|
google_api_expr_v1alpha1_Expr_Select* ret = google_api_expr_v1alpha1_Expr_Select_new(arena);
|
450
465
|
if (!ret) return NULL;
|
451
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__Select_msg_init, NULL, 0, arena) !=
|
466
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Expr__Select_msg_init, NULL, 0, arena) !=
|
467
|
+
kUpb_DecodeStatus_Ok) {
|
452
468
|
return NULL;
|
453
469
|
}
|
454
470
|
return ret;
|
@@ -458,64 +474,67 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_Select* google_api_expr_v1alpha1_Expr_S
|
|
458
474
|
int options, upb_Arena* arena) {
|
459
475
|
google_api_expr_v1alpha1_Expr_Select* ret = google_api_expr_v1alpha1_Expr_Select_new(arena);
|
460
476
|
if (!ret) return NULL;
|
461
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__Select_msg_init, extreg, options,
|
462
|
-
|
477
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Expr__Select_msg_init, extreg, options,
|
478
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
463
479
|
return NULL;
|
464
480
|
}
|
465
481
|
return ret;
|
466
482
|
}
|
467
483
|
UPB_INLINE char* google_api_expr_v1alpha1_Expr_Select_serialize(const google_api_expr_v1alpha1_Expr_Select* msg, upb_Arena* arena, size_t* len) {
|
468
484
|
char* ptr;
|
469
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__Select_msg_init, 0, arena, &ptr, len);
|
485
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Expr__Select_msg_init, 0, arena, &ptr, len);
|
470
486
|
return ptr;
|
471
487
|
}
|
472
488
|
UPB_INLINE char* google_api_expr_v1alpha1_Expr_Select_serialize_ex(const google_api_expr_v1alpha1_Expr_Select* msg, int options,
|
473
489
|
upb_Arena* arena, size_t* len) {
|
474
490
|
char* ptr;
|
475
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__Select_msg_init, options, arena, &ptr, len);
|
491
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Expr__Select_msg_init, options, arena, &ptr, len);
|
476
492
|
return ptr;
|
477
493
|
}
|
478
494
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Select_clear_operand(google_api_expr_v1alpha1_Expr_Select* msg) {
|
479
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
480
|
-
|
495
|
+
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)};
|
496
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
481
497
|
}
|
482
498
|
UPB_INLINE const google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Select_operand(const google_api_expr_v1alpha1_Expr_Select* msg) {
|
483
499
|
const google_api_expr_v1alpha1_Expr* default_val = NULL;
|
484
500
|
const google_api_expr_v1alpha1_Expr* ret;
|
485
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
486
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
501
|
+
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)};
|
502
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
503
|
+
&default_val, &ret);
|
487
504
|
return ret;
|
488
505
|
}
|
489
506
|
UPB_INLINE bool google_api_expr_v1alpha1_Expr_Select_has_operand(const google_api_expr_v1alpha1_Expr_Select* msg) {
|
490
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
491
|
-
return
|
507
|
+
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)};
|
508
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
492
509
|
}
|
493
510
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Select_clear_field(google_api_expr_v1alpha1_Expr_Select* msg) {
|
494
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
495
|
-
|
511
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
512
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
496
513
|
}
|
497
514
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_Expr_Select_field(const google_api_expr_v1alpha1_Expr_Select* msg) {
|
498
515
|
upb_StringView default_val = upb_StringView_FromString("");
|
499
516
|
upb_StringView ret;
|
500
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
501
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
517
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
518
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
519
|
+
&default_val, &ret);
|
502
520
|
return ret;
|
503
521
|
}
|
504
522
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Select_clear_test_only(google_api_expr_v1alpha1_Expr_Select* msg) {
|
505
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
506
|
-
|
523
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
524
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
507
525
|
}
|
508
526
|
UPB_INLINE bool google_api_expr_v1alpha1_Expr_Select_test_only(const google_api_expr_v1alpha1_Expr_Select* msg) {
|
509
527
|
bool default_val = false;
|
510
528
|
bool ret;
|
511
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
512
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
529
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
530
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
531
|
+
&default_val, &ret);
|
513
532
|
return ret;
|
514
533
|
}
|
515
534
|
|
516
535
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Select_set_operand(google_api_expr_v1alpha1_Expr_Select *msg, google_api_expr_v1alpha1_Expr* value) {
|
517
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
518
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
536
|
+
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)};
|
537
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
519
538
|
}
|
520
539
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Select_mutable_operand(google_api_expr_v1alpha1_Expr_Select* msg, upb_Arena* arena) {
|
521
540
|
struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_Expr_Select_operand(msg);
|
@@ -526,12 +545,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_S
|
|
526
545
|
return sub;
|
527
546
|
}
|
528
547
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Select_set_field(google_api_expr_v1alpha1_Expr_Select *msg, upb_StringView value) {
|
529
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
530
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
548
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
549
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
531
550
|
}
|
532
551
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Select_set_test_only(google_api_expr_v1alpha1_Expr_Select *msg, bool value) {
|
533
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
534
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
552
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
553
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
535
554
|
}
|
536
555
|
|
537
556
|
/* google.api.expr.v1alpha1.Expr.Call */
|
@@ -542,7 +561,8 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_Call* google_api_expr_v1alpha1_Expr_Cal
|
|
542
561
|
UPB_INLINE google_api_expr_v1alpha1_Expr_Call* google_api_expr_v1alpha1_Expr_Call_parse(const char* buf, size_t size, upb_Arena* arena) {
|
543
562
|
google_api_expr_v1alpha1_Expr_Call* ret = google_api_expr_v1alpha1_Expr_Call_new(arena);
|
544
563
|
if (!ret) return NULL;
|
545
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__Call_msg_init, NULL, 0, arena) !=
|
564
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Expr__Call_msg_init, NULL, 0, arena) !=
|
565
|
+
kUpb_DecodeStatus_Ok) {
|
546
566
|
return NULL;
|
547
567
|
}
|
548
568
|
return ret;
|
@@ -552,90 +572,87 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_Call* google_api_expr_v1alpha1_Expr_Cal
|
|
552
572
|
int options, upb_Arena* arena) {
|
553
573
|
google_api_expr_v1alpha1_Expr_Call* ret = google_api_expr_v1alpha1_Expr_Call_new(arena);
|
554
574
|
if (!ret) return NULL;
|
555
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__Call_msg_init, extreg, options,
|
556
|
-
|
575
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Expr__Call_msg_init, extreg, options,
|
576
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
557
577
|
return NULL;
|
558
578
|
}
|
559
579
|
return ret;
|
560
580
|
}
|
561
581
|
UPB_INLINE char* google_api_expr_v1alpha1_Expr_Call_serialize(const google_api_expr_v1alpha1_Expr_Call* msg, upb_Arena* arena, size_t* len) {
|
562
582
|
char* ptr;
|
563
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__Call_msg_init, 0, arena, &ptr, len);
|
583
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Expr__Call_msg_init, 0, arena, &ptr, len);
|
564
584
|
return ptr;
|
565
585
|
}
|
566
586
|
UPB_INLINE char* google_api_expr_v1alpha1_Expr_Call_serialize_ex(const google_api_expr_v1alpha1_Expr_Call* msg, int options,
|
567
587
|
upb_Arena* arena, size_t* len) {
|
568
588
|
char* ptr;
|
569
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__Call_msg_init, options, arena, &ptr, len);
|
589
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Expr__Call_msg_init, options, arena, &ptr, len);
|
570
590
|
return ptr;
|
571
591
|
}
|
572
592
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Call_clear_target(google_api_expr_v1alpha1_Expr_Call* msg) {
|
573
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
574
|
-
|
593
|
+
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)};
|
594
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
575
595
|
}
|
576
596
|
UPB_INLINE const google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Call_target(const google_api_expr_v1alpha1_Expr_Call* msg) {
|
577
597
|
const google_api_expr_v1alpha1_Expr* default_val = NULL;
|
578
598
|
const google_api_expr_v1alpha1_Expr* ret;
|
579
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
580
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
599
|
+
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)};
|
600
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
601
|
+
&default_val, &ret);
|
581
602
|
return ret;
|
582
603
|
}
|
583
604
|
UPB_INLINE bool google_api_expr_v1alpha1_Expr_Call_has_target(const google_api_expr_v1alpha1_Expr_Call* msg) {
|
584
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
585
|
-
return
|
605
|
+
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)};
|
606
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
586
607
|
}
|
587
608
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Call_clear_function(google_api_expr_v1alpha1_Expr_Call* msg) {
|
588
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
589
|
-
|
609
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
610
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
590
611
|
}
|
591
612
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_Expr_Call_function(const google_api_expr_v1alpha1_Expr_Call* msg) {
|
592
613
|
upb_StringView default_val = upb_StringView_FromString("");
|
593
614
|
upb_StringView ret;
|
594
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
595
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
615
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
616
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
617
|
+
&default_val, &ret);
|
596
618
|
return ret;
|
597
619
|
}
|
598
620
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Call_clear_args(google_api_expr_v1alpha1_Expr_Call* msg) {
|
599
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
600
|
-
|
621
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
622
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
601
623
|
}
|
602
624
|
UPB_INLINE const google_api_expr_v1alpha1_Expr* const* google_api_expr_v1alpha1_Expr_Call_args(const google_api_expr_v1alpha1_Expr_Call* msg, size_t* size) {
|
603
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
604
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
625
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
626
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
605
627
|
if (arr) {
|
606
|
-
if (size) *size = arr->size;
|
607
|
-
return (const google_api_expr_v1alpha1_Expr* const*)
|
628
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
629
|
+
return (const google_api_expr_v1alpha1_Expr* const*)upb_Array_DataPtr(arr);
|
608
630
|
} else {
|
609
631
|
if (size) *size = 0;
|
610
632
|
return NULL;
|
611
633
|
}
|
612
634
|
}
|
613
635
|
UPB_INLINE const upb_Array* _google_api_expr_v1alpha1_Expr_Call_args_upb_array(const google_api_expr_v1alpha1_Expr_Call* msg, size_t* size) {
|
614
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
615
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
636
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
637
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
616
638
|
if (size) {
|
617
|
-
*size = arr ? arr->size : 0;
|
639
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
618
640
|
}
|
619
641
|
return arr;
|
620
642
|
}
|
621
|
-
UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Expr_Call_args_mutable_upb_array(
|
622
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
623
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
624
|
-
|
643
|
+
UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Expr_Call_args_mutable_upb_array(google_api_expr_v1alpha1_Expr_Call* msg, size_t* size, upb_Arena* arena) {
|
644
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
645
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
646
|
+
&field, arena);
|
625
647
|
if (size) {
|
626
|
-
*size = arr ? arr->size : 0;
|
648
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
627
649
|
}
|
628
650
|
return arr;
|
629
651
|
}
|
630
|
-
UPB_INLINE bool google_api_expr_v1alpha1_Expr_Call_has_args(const google_api_expr_v1alpha1_Expr_Call* msg) {
|
631
|
-
size_t size;
|
632
|
-
google_api_expr_v1alpha1_Expr_Call_args(msg, &size);
|
633
|
-
return size != 0;
|
634
|
-
}
|
635
652
|
|
636
653
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Call_set_target(google_api_expr_v1alpha1_Expr_Call *msg, google_api_expr_v1alpha1_Expr* value) {
|
637
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
638
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
654
|
+
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)};
|
655
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
639
656
|
}
|
640
657
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Call_mutable_target(google_api_expr_v1alpha1_Expr_Call* msg, upb_Arena* arena) {
|
641
658
|
struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_Expr_Call_target(msg);
|
@@ -646,33 +663,37 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_C
|
|
646
663
|
return sub;
|
647
664
|
}
|
648
665
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Call_set_function(google_api_expr_v1alpha1_Expr_Call *msg, upb_StringView value) {
|
649
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
650
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
666
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
667
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
651
668
|
}
|
652
669
|
UPB_INLINE google_api_expr_v1alpha1_Expr** google_api_expr_v1alpha1_Expr_Call_mutable_args(google_api_expr_v1alpha1_Expr_Call* msg, size_t* size) {
|
653
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
654
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
670
|
+
upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
671
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
655
672
|
if (arr) {
|
656
|
-
if (size) *size = arr->size;
|
657
|
-
return (google_api_expr_v1alpha1_Expr**)
|
673
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
674
|
+
return (google_api_expr_v1alpha1_Expr**)upb_Array_MutableDataPtr(arr);
|
658
675
|
} else {
|
659
676
|
if (size) *size = 0;
|
660
677
|
return NULL;
|
661
678
|
}
|
662
679
|
}
|
663
680
|
UPB_INLINE google_api_expr_v1alpha1_Expr** google_api_expr_v1alpha1_Expr_Call_resize_args(google_api_expr_v1alpha1_Expr_Call* msg, size_t size, upb_Arena* arena) {
|
664
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
665
|
-
return (google_api_expr_v1alpha1_Expr**)upb_Message_ResizeArrayUninitialized(msg,
|
681
|
+
upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
682
|
+
return (google_api_expr_v1alpha1_Expr**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
683
|
+
&field, size, arena);
|
666
684
|
}
|
667
685
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Call_add_args(google_api_expr_v1alpha1_Expr_Call* msg, upb_Arena* arena) {
|
668
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
669
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
670
|
-
|
686
|
+
upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
687
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
688
|
+
UPB_UPCAST(msg), &field, arena);
|
689
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
690
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
671
691
|
return NULL;
|
672
692
|
}
|
673
693
|
struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google__api__expr__v1alpha1__Expr_msg_init, arena);
|
674
694
|
if (!arr || !sub) return NULL;
|
675
|
-
_upb_Array_Set
|
695
|
+
UPB_PRIVATE(_upb_Array_Set)
|
696
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
676
697
|
return sub;
|
677
698
|
}
|
678
699
|
|
@@ -684,7 +705,8 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_CreateList* google_api_expr_v1alpha1_Ex
|
|
684
705
|
UPB_INLINE google_api_expr_v1alpha1_Expr_CreateList* google_api_expr_v1alpha1_Expr_CreateList_parse(const char* buf, size_t size, upb_Arena* arena) {
|
685
706
|
google_api_expr_v1alpha1_Expr_CreateList* ret = google_api_expr_v1alpha1_Expr_CreateList_new(arena);
|
686
707
|
if (!ret) return NULL;
|
687
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__CreateList_msg_init, NULL, 0, arena) !=
|
708
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Expr__CreateList_msg_init, NULL, 0, arena) !=
|
709
|
+
kUpb_DecodeStatus_Ok) {
|
688
710
|
return NULL;
|
689
711
|
}
|
690
712
|
return ret;
|
@@ -694,85 +716,84 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_CreateList* google_api_expr_v1alpha1_Ex
|
|
694
716
|
int options, upb_Arena* arena) {
|
695
717
|
google_api_expr_v1alpha1_Expr_CreateList* ret = google_api_expr_v1alpha1_Expr_CreateList_new(arena);
|
696
718
|
if (!ret) return NULL;
|
697
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__CreateList_msg_init, extreg, options,
|
698
|
-
|
719
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Expr__CreateList_msg_init, extreg, options,
|
720
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
699
721
|
return NULL;
|
700
722
|
}
|
701
723
|
return ret;
|
702
724
|
}
|
703
725
|
UPB_INLINE char* google_api_expr_v1alpha1_Expr_CreateList_serialize(const google_api_expr_v1alpha1_Expr_CreateList* msg, upb_Arena* arena, size_t* len) {
|
704
726
|
char* ptr;
|
705
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__CreateList_msg_init, 0, arena, &ptr, len);
|
727
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Expr__CreateList_msg_init, 0, arena, &ptr, len);
|
706
728
|
return ptr;
|
707
729
|
}
|
708
730
|
UPB_INLINE char* google_api_expr_v1alpha1_Expr_CreateList_serialize_ex(const google_api_expr_v1alpha1_Expr_CreateList* msg, int options,
|
709
731
|
upb_Arena* arena, size_t* len) {
|
710
732
|
char* ptr;
|
711
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__CreateList_msg_init, options, arena, &ptr, len);
|
733
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Expr__CreateList_msg_init, options, arena, &ptr, len);
|
712
734
|
return ptr;
|
713
735
|
}
|
714
736
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_CreateList_clear_elements(google_api_expr_v1alpha1_Expr_CreateList* msg) {
|
715
|
-
const upb_MiniTableField field = {1,
|
716
|
-
|
737
|
+
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)};
|
738
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
717
739
|
}
|
718
740
|
UPB_INLINE const google_api_expr_v1alpha1_Expr* const* google_api_expr_v1alpha1_Expr_CreateList_elements(const google_api_expr_v1alpha1_Expr_CreateList* msg, size_t* size) {
|
719
|
-
const upb_MiniTableField field = {1,
|
720
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
741
|
+
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)};
|
742
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
721
743
|
if (arr) {
|
722
|
-
if (size) *size = arr->size;
|
723
|
-
return (const google_api_expr_v1alpha1_Expr* const*)
|
744
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
745
|
+
return (const google_api_expr_v1alpha1_Expr* const*)upb_Array_DataPtr(arr);
|
724
746
|
} else {
|
725
747
|
if (size) *size = 0;
|
726
748
|
return NULL;
|
727
749
|
}
|
728
750
|
}
|
729
751
|
UPB_INLINE const upb_Array* _google_api_expr_v1alpha1_Expr_CreateList_elements_upb_array(const google_api_expr_v1alpha1_Expr_CreateList* msg, size_t* size) {
|
730
|
-
const upb_MiniTableField field = {1,
|
731
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
752
|
+
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)};
|
753
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
732
754
|
if (size) {
|
733
|
-
*size = arr ? arr->size : 0;
|
755
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
734
756
|
}
|
735
757
|
return arr;
|
736
758
|
}
|
737
|
-
UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Expr_CreateList_elements_mutable_upb_array(
|
738
|
-
const upb_MiniTableField field = {1,
|
739
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
740
|
-
|
759
|
+
UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Expr_CreateList_elements_mutable_upb_array(google_api_expr_v1alpha1_Expr_CreateList* msg, size_t* size, upb_Arena* arena) {
|
760
|
+
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)};
|
761
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
762
|
+
&field, arena);
|
741
763
|
if (size) {
|
742
|
-
*size = arr ? arr->size : 0;
|
764
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
743
765
|
}
|
744
766
|
return arr;
|
745
767
|
}
|
746
|
-
UPB_INLINE bool google_api_expr_v1alpha1_Expr_CreateList_has_elements(const google_api_expr_v1alpha1_Expr_CreateList* msg) {
|
747
|
-
size_t size;
|
748
|
-
google_api_expr_v1alpha1_Expr_CreateList_elements(msg, &size);
|
749
|
-
return size != 0;
|
750
|
-
}
|
751
768
|
|
752
769
|
UPB_INLINE google_api_expr_v1alpha1_Expr** google_api_expr_v1alpha1_Expr_CreateList_mutable_elements(google_api_expr_v1alpha1_Expr_CreateList* msg, size_t* size) {
|
753
|
-
upb_MiniTableField field = {1,
|
754
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
770
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
771
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
755
772
|
if (arr) {
|
756
|
-
if (size) *size = arr->size;
|
757
|
-
return (google_api_expr_v1alpha1_Expr**)
|
773
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
774
|
+
return (google_api_expr_v1alpha1_Expr**)upb_Array_MutableDataPtr(arr);
|
758
775
|
} else {
|
759
776
|
if (size) *size = 0;
|
760
777
|
return NULL;
|
761
778
|
}
|
762
779
|
}
|
763
780
|
UPB_INLINE google_api_expr_v1alpha1_Expr** google_api_expr_v1alpha1_Expr_CreateList_resize_elements(google_api_expr_v1alpha1_Expr_CreateList* msg, size_t size, upb_Arena* arena) {
|
764
|
-
upb_MiniTableField field = {1,
|
765
|
-
return (google_api_expr_v1alpha1_Expr**)upb_Message_ResizeArrayUninitialized(msg,
|
781
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
782
|
+
return (google_api_expr_v1alpha1_Expr**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
783
|
+
&field, size, arena);
|
766
784
|
}
|
767
785
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_CreateList_add_elements(google_api_expr_v1alpha1_Expr_CreateList* msg, upb_Arena* arena) {
|
768
|
-
upb_MiniTableField field = {1,
|
769
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
770
|
-
|
786
|
+
upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
787
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
788
|
+
UPB_UPCAST(msg), &field, arena);
|
789
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
790
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
771
791
|
return NULL;
|
772
792
|
}
|
773
793
|
struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google__api__expr__v1alpha1__Expr_msg_init, arena);
|
774
794
|
if (!arr || !sub) return NULL;
|
775
|
-
_upb_Array_Set
|
795
|
+
UPB_PRIVATE(_upb_Array_Set)
|
796
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
776
797
|
return sub;
|
777
798
|
}
|
778
799
|
|
@@ -784,7 +805,8 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_CreateStruct* google_api_expr_v1alpha1_
|
|
784
805
|
UPB_INLINE google_api_expr_v1alpha1_Expr_CreateStruct* google_api_expr_v1alpha1_Expr_CreateStruct_parse(const char* buf, size_t size, upb_Arena* arena) {
|
785
806
|
google_api_expr_v1alpha1_Expr_CreateStruct* ret = google_api_expr_v1alpha1_Expr_CreateStruct_new(arena);
|
786
807
|
if (!ret) return NULL;
|
787
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__CreateStruct_msg_init, NULL, 0, arena) !=
|
808
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Expr__CreateStruct_msg_init, NULL, 0, arena) !=
|
809
|
+
kUpb_DecodeStatus_Ok) {
|
788
810
|
return NULL;
|
789
811
|
}
|
790
812
|
return ret;
|
@@ -794,100 +816,100 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_CreateStruct* google_api_expr_v1alpha1_
|
|
794
816
|
int options, upb_Arena* arena) {
|
795
817
|
google_api_expr_v1alpha1_Expr_CreateStruct* ret = google_api_expr_v1alpha1_Expr_CreateStruct_new(arena);
|
796
818
|
if (!ret) return NULL;
|
797
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__CreateStruct_msg_init, extreg, options,
|
798
|
-
|
819
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Expr__CreateStruct_msg_init, extreg, options,
|
820
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
799
821
|
return NULL;
|
800
822
|
}
|
801
823
|
return ret;
|
802
824
|
}
|
803
825
|
UPB_INLINE char* google_api_expr_v1alpha1_Expr_CreateStruct_serialize(const google_api_expr_v1alpha1_Expr_CreateStruct* msg, upb_Arena* arena, size_t* len) {
|
804
826
|
char* ptr;
|
805
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__CreateStruct_msg_init, 0, arena, &ptr, len);
|
827
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Expr__CreateStruct_msg_init, 0, arena, &ptr, len);
|
806
828
|
return ptr;
|
807
829
|
}
|
808
830
|
UPB_INLINE char* google_api_expr_v1alpha1_Expr_CreateStruct_serialize_ex(const google_api_expr_v1alpha1_Expr_CreateStruct* msg, int options,
|
809
831
|
upb_Arena* arena, size_t* len) {
|
810
832
|
char* ptr;
|
811
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__CreateStruct_msg_init, options, arena, &ptr, len);
|
833
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Expr__CreateStruct_msg_init, options, arena, &ptr, len);
|
812
834
|
return ptr;
|
813
835
|
}
|
814
836
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_CreateStruct_clear_message_name(google_api_expr_v1alpha1_Expr_CreateStruct* msg) {
|
815
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
816
|
-
|
837
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
838
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
817
839
|
}
|
818
840
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_Expr_CreateStruct_message_name(const google_api_expr_v1alpha1_Expr_CreateStruct* msg) {
|
819
841
|
upb_StringView default_val = upb_StringView_FromString("");
|
820
842
|
upb_StringView ret;
|
821
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
822
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
843
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
844
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
845
|
+
&default_val, &ret);
|
823
846
|
return ret;
|
824
847
|
}
|
825
848
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_CreateStruct_clear_entries(google_api_expr_v1alpha1_Expr_CreateStruct* msg) {
|
826
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
827
|
-
|
849
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
850
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
828
851
|
}
|
829
852
|
UPB_INLINE const google_api_expr_v1alpha1_Expr_CreateStruct_Entry* const* google_api_expr_v1alpha1_Expr_CreateStruct_entries(const google_api_expr_v1alpha1_Expr_CreateStruct* msg, size_t* size) {
|
830
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
831
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
853
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
854
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
832
855
|
if (arr) {
|
833
|
-
if (size) *size = arr->size;
|
834
|
-
return (const google_api_expr_v1alpha1_Expr_CreateStruct_Entry* const*)
|
856
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
857
|
+
return (const google_api_expr_v1alpha1_Expr_CreateStruct_Entry* const*)upb_Array_DataPtr(arr);
|
835
858
|
} else {
|
836
859
|
if (size) *size = 0;
|
837
860
|
return NULL;
|
838
861
|
}
|
839
862
|
}
|
840
863
|
UPB_INLINE const upb_Array* _google_api_expr_v1alpha1_Expr_CreateStruct_entries_upb_array(const google_api_expr_v1alpha1_Expr_CreateStruct* msg, size_t* size) {
|
841
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
842
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
864
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
865
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
843
866
|
if (size) {
|
844
|
-
*size = arr ? arr->size : 0;
|
867
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
845
868
|
}
|
846
869
|
return arr;
|
847
870
|
}
|
848
|
-
UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Expr_CreateStruct_entries_mutable_upb_array(
|
849
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
850
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
851
|
-
|
871
|
+
UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Expr_CreateStruct_entries_mutable_upb_array(google_api_expr_v1alpha1_Expr_CreateStruct* msg, size_t* size, upb_Arena* arena) {
|
872
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
873
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
874
|
+
&field, arena);
|
852
875
|
if (size) {
|
853
|
-
*size = arr ? arr->size : 0;
|
876
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
854
877
|
}
|
855
878
|
return arr;
|
856
879
|
}
|
857
|
-
UPB_INLINE bool google_api_expr_v1alpha1_Expr_CreateStruct_has_entries(const google_api_expr_v1alpha1_Expr_CreateStruct* msg) {
|
858
|
-
size_t size;
|
859
|
-
google_api_expr_v1alpha1_Expr_CreateStruct_entries(msg, &size);
|
860
|
-
return size != 0;
|
861
|
-
}
|
862
880
|
|
863
881
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_CreateStruct_set_message_name(google_api_expr_v1alpha1_Expr_CreateStruct *msg, upb_StringView value) {
|
864
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
865
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
882
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
883
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
866
884
|
}
|
867
885
|
UPB_INLINE google_api_expr_v1alpha1_Expr_CreateStruct_Entry** google_api_expr_v1alpha1_Expr_CreateStruct_mutable_entries(google_api_expr_v1alpha1_Expr_CreateStruct* msg, size_t* size) {
|
868
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
869
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
886
|
+
upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
887
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
870
888
|
if (arr) {
|
871
|
-
if (size) *size = arr->size;
|
872
|
-
return (google_api_expr_v1alpha1_Expr_CreateStruct_Entry**)
|
889
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
890
|
+
return (google_api_expr_v1alpha1_Expr_CreateStruct_Entry**)upb_Array_MutableDataPtr(arr);
|
873
891
|
} else {
|
874
892
|
if (size) *size = 0;
|
875
893
|
return NULL;
|
876
894
|
}
|
877
895
|
}
|
878
896
|
UPB_INLINE google_api_expr_v1alpha1_Expr_CreateStruct_Entry** google_api_expr_v1alpha1_Expr_CreateStruct_resize_entries(google_api_expr_v1alpha1_Expr_CreateStruct* msg, size_t size, upb_Arena* arena) {
|
879
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
880
|
-
return (google_api_expr_v1alpha1_Expr_CreateStruct_Entry**)upb_Message_ResizeArrayUninitialized(msg,
|
897
|
+
upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
898
|
+
return (google_api_expr_v1alpha1_Expr_CreateStruct_Entry**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
899
|
+
&field, size, arena);
|
881
900
|
}
|
882
901
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr_CreateStruct_Entry* google_api_expr_v1alpha1_Expr_CreateStruct_add_entries(google_api_expr_v1alpha1_Expr_CreateStruct* msg, upb_Arena* arena) {
|
883
|
-
upb_MiniTableField field = {2, UPB_SIZE(
|
884
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
885
|
-
|
902
|
+
upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
903
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
904
|
+
UPB_UPCAST(msg), &field, arena);
|
905
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
906
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
886
907
|
return NULL;
|
887
908
|
}
|
888
909
|
struct google_api_expr_v1alpha1_Expr_CreateStruct_Entry* sub = (struct google_api_expr_v1alpha1_Expr_CreateStruct_Entry*)_upb_Message_New(&google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init, arena);
|
889
910
|
if (!arr || !sub) return NULL;
|
890
|
-
_upb_Array_Set
|
911
|
+
UPB_PRIVATE(_upb_Array_Set)
|
912
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
891
913
|
return sub;
|
892
914
|
}
|
893
915
|
|
@@ -899,7 +921,8 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_CreateStruct_Entry* google_api_expr_v1a
|
|
899
921
|
UPB_INLINE google_api_expr_v1alpha1_Expr_CreateStruct_Entry* google_api_expr_v1alpha1_Expr_CreateStruct_Entry_parse(const char* buf, size_t size, upb_Arena* arena) {
|
900
922
|
google_api_expr_v1alpha1_Expr_CreateStruct_Entry* ret = google_api_expr_v1alpha1_Expr_CreateStruct_Entry_new(arena);
|
901
923
|
if (!ret) return NULL;
|
902
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init, NULL, 0, arena) !=
|
924
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init, NULL, 0, arena) !=
|
925
|
+
kUpb_DecodeStatus_Ok) {
|
903
926
|
return NULL;
|
904
927
|
}
|
905
928
|
return ret;
|
@@ -909,21 +932,21 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_CreateStruct_Entry* google_api_expr_v1a
|
|
909
932
|
int options, upb_Arena* arena) {
|
910
933
|
google_api_expr_v1alpha1_Expr_CreateStruct_Entry* ret = google_api_expr_v1alpha1_Expr_CreateStruct_Entry_new(arena);
|
911
934
|
if (!ret) return NULL;
|
912
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init, extreg, options,
|
913
|
-
|
935
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init, extreg, options,
|
936
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
914
937
|
return NULL;
|
915
938
|
}
|
916
939
|
return ret;
|
917
940
|
}
|
918
941
|
UPB_INLINE char* google_api_expr_v1alpha1_Expr_CreateStruct_Entry_serialize(const google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg, upb_Arena* arena, size_t* len) {
|
919
942
|
char* ptr;
|
920
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init, 0, arena, &ptr, len);
|
943
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init, 0, arena, &ptr, len);
|
921
944
|
return ptr;
|
922
945
|
}
|
923
946
|
UPB_INLINE char* google_api_expr_v1alpha1_Expr_CreateStruct_Entry_serialize_ex(const google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg, int options,
|
924
947
|
upb_Arena* arena, size_t* len) {
|
925
948
|
char* ptr;
|
926
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init, options, arena, &ptr, len);
|
949
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init, options, arena, &ptr, len);
|
927
950
|
return ptr;
|
928
951
|
}
|
929
952
|
typedef enum {
|
@@ -932,77 +955,82 @@ typedef enum {
|
|
932
955
|
google_api_expr_v1alpha1_Expr_CreateStruct_Entry_key_kind_NOT_SET = 0
|
933
956
|
} google_api_expr_v1alpha1_Expr_CreateStruct_Entry_key_kind_oneofcases;
|
934
957
|
UPB_INLINE google_api_expr_v1alpha1_Expr_CreateStruct_Entry_key_kind_oneofcases google_api_expr_v1alpha1_Expr_CreateStruct_Entry_key_kind_case(const google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg) {
|
935
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
936
|
-
return (google_api_expr_v1alpha1_Expr_CreateStruct_Entry_key_kind_oneofcases)upb_Message_WhichOneofFieldNumber(
|
958
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 16), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
959
|
+
return (google_api_expr_v1alpha1_Expr_CreateStruct_Entry_key_kind_oneofcases)upb_Message_WhichOneofFieldNumber(
|
960
|
+
UPB_UPCAST(msg), &field);
|
937
961
|
}
|
938
962
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_CreateStruct_Entry_clear_id(google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg) {
|
939
|
-
const upb_MiniTableField field = {1,
|
940
|
-
|
963
|
+
const upb_MiniTableField field = {1, 32, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
964
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
941
965
|
}
|
942
966
|
UPB_INLINE int64_t google_api_expr_v1alpha1_Expr_CreateStruct_Entry_id(const google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg) {
|
943
967
|
int64_t default_val = (int64_t)0ll;
|
944
968
|
int64_t ret;
|
945
|
-
const upb_MiniTableField field = {1,
|
946
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
969
|
+
const upb_MiniTableField field = {1, 32, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
970
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
971
|
+
&default_val, &ret);
|
947
972
|
return ret;
|
948
973
|
}
|
949
974
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_CreateStruct_Entry_clear_field_key(google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg) {
|
950
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
951
|
-
|
975
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 16), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
976
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
952
977
|
}
|
953
978
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_Expr_CreateStruct_Entry_field_key(const google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg) {
|
954
979
|
upb_StringView default_val = upb_StringView_FromString("");
|
955
980
|
upb_StringView ret;
|
956
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
957
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
981
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 16), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
982
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
983
|
+
&default_val, &ret);
|
958
984
|
return ret;
|
959
985
|
}
|
960
986
|
UPB_INLINE bool google_api_expr_v1alpha1_Expr_CreateStruct_Entry_has_field_key(const google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg) {
|
961
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
962
|
-
return
|
987
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 16), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
988
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
963
989
|
}
|
964
990
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_CreateStruct_Entry_clear_map_key(google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg) {
|
965
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
966
|
-
|
991
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 16), -13, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
992
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
967
993
|
}
|
968
994
|
UPB_INLINE const google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_CreateStruct_Entry_map_key(const google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg) {
|
969
995
|
const google_api_expr_v1alpha1_Expr* default_val = NULL;
|
970
996
|
const google_api_expr_v1alpha1_Expr* ret;
|
971
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
972
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
997
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 16), -13, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
998
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
999
|
+
&default_val, &ret);
|
973
1000
|
return ret;
|
974
1001
|
}
|
975
1002
|
UPB_INLINE bool google_api_expr_v1alpha1_Expr_CreateStruct_Entry_has_map_key(const google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg) {
|
976
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
977
|
-
return
|
1003
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 16), -13, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1004
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
978
1005
|
}
|
979
1006
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_CreateStruct_Entry_clear_value(google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg) {
|
980
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
981
|
-
|
1007
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1008
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
982
1009
|
}
|
983
1010
|
UPB_INLINE const google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_CreateStruct_Entry_value(const google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg) {
|
984
1011
|
const google_api_expr_v1alpha1_Expr* default_val = NULL;
|
985
1012
|
const google_api_expr_v1alpha1_Expr* ret;
|
986
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
987
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1013
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1014
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1015
|
+
&default_val, &ret);
|
988
1016
|
return ret;
|
989
1017
|
}
|
990
1018
|
UPB_INLINE bool google_api_expr_v1alpha1_Expr_CreateStruct_Entry_has_value(const google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg) {
|
991
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
992
|
-
return
|
1019
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1020
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
993
1021
|
}
|
994
1022
|
|
995
1023
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_CreateStruct_Entry_set_id(google_api_expr_v1alpha1_Expr_CreateStruct_Entry *msg, int64_t value) {
|
996
|
-
const upb_MiniTableField field = {1,
|
997
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1024
|
+
const upb_MiniTableField field = {1, 32, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1025
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
998
1026
|
}
|
999
1027
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_CreateStruct_Entry_set_field_key(google_api_expr_v1alpha1_Expr_CreateStruct_Entry *msg, upb_StringView value) {
|
1000
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1001
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1028
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 16), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1029
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1002
1030
|
}
|
1003
1031
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_CreateStruct_Entry_set_map_key(google_api_expr_v1alpha1_Expr_CreateStruct_Entry *msg, google_api_expr_v1alpha1_Expr* value) {
|
1004
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1005
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1032
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 16), -13, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1033
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1006
1034
|
}
|
1007
1035
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_CreateStruct_Entry_mutable_map_key(google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg, upb_Arena* arena) {
|
1008
1036
|
struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_Expr_CreateStruct_Entry_map_key(msg);
|
@@ -1013,8 +1041,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_C
|
|
1013
1041
|
return sub;
|
1014
1042
|
}
|
1015
1043
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_CreateStruct_Entry_set_value(google_api_expr_v1alpha1_Expr_CreateStruct_Entry *msg, google_api_expr_v1alpha1_Expr* value) {
|
1016
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1017
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1044
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1045
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1018
1046
|
}
|
1019
1047
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_CreateStruct_Entry_mutable_value(google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg, upb_Arena* arena) {
|
1020
1048
|
struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_Expr_CreateStruct_Entry_value(msg);
|
@@ -1033,7 +1061,8 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_Comprehension* google_api_expr_v1alpha1
|
|
1033
1061
|
UPB_INLINE google_api_expr_v1alpha1_Expr_Comprehension* google_api_expr_v1alpha1_Expr_Comprehension_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1034
1062
|
google_api_expr_v1alpha1_Expr_Comprehension* ret = google_api_expr_v1alpha1_Expr_Comprehension_new(arena);
|
1035
1063
|
if (!ret) return NULL;
|
1036
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__Comprehension_msg_init, NULL, 0, arena) !=
|
1064
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Expr__Comprehension_msg_init, NULL, 0, arena) !=
|
1065
|
+
kUpb_DecodeStatus_Ok) {
|
1037
1066
|
return NULL;
|
1038
1067
|
}
|
1039
1068
|
return ret;
|
@@ -1043,128 +1072,135 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_Comprehension* google_api_expr_v1alpha1
|
|
1043
1072
|
int options, upb_Arena* arena) {
|
1044
1073
|
google_api_expr_v1alpha1_Expr_Comprehension* ret = google_api_expr_v1alpha1_Expr_Comprehension_new(arena);
|
1045
1074
|
if (!ret) return NULL;
|
1046
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__Comprehension_msg_init, extreg, options,
|
1047
|
-
|
1075
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Expr__Comprehension_msg_init, extreg, options,
|
1076
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1048
1077
|
return NULL;
|
1049
1078
|
}
|
1050
1079
|
return ret;
|
1051
1080
|
}
|
1052
1081
|
UPB_INLINE char* google_api_expr_v1alpha1_Expr_Comprehension_serialize(const google_api_expr_v1alpha1_Expr_Comprehension* msg, upb_Arena* arena, size_t* len) {
|
1053
1082
|
char* ptr;
|
1054
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__Comprehension_msg_init, 0, arena, &ptr, len);
|
1083
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Expr__Comprehension_msg_init, 0, arena, &ptr, len);
|
1055
1084
|
return ptr;
|
1056
1085
|
}
|
1057
1086
|
UPB_INLINE char* google_api_expr_v1alpha1_Expr_Comprehension_serialize_ex(const google_api_expr_v1alpha1_Expr_Comprehension* msg, int options,
|
1058
1087
|
upb_Arena* arena, size_t* len) {
|
1059
1088
|
char* ptr;
|
1060
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__Comprehension_msg_init, options, arena, &ptr, len);
|
1089
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Expr__Comprehension_msg_init, options, arena, &ptr, len);
|
1061
1090
|
return ptr;
|
1062
1091
|
}
|
1063
1092
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_clear_iter_var(google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1064
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1065
|
-
|
1093
|
+
const upb_MiniTableField field = {1, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1094
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1066
1095
|
}
|
1067
1096
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_Expr_Comprehension_iter_var(const google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1068
1097
|
upb_StringView default_val = upb_StringView_FromString("");
|
1069
1098
|
upb_StringView ret;
|
1070
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1071
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1099
|
+
const upb_MiniTableField field = {1, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1100
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1101
|
+
&default_val, &ret);
|
1072
1102
|
return ret;
|
1073
1103
|
}
|
1074
1104
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_clear_iter_range(google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1075
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1076
|
-
|
1105
|
+
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)};
|
1106
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1077
1107
|
}
|
1078
1108
|
UPB_INLINE const google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Comprehension_iter_range(const google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1079
1109
|
const google_api_expr_v1alpha1_Expr* default_val = NULL;
|
1080
1110
|
const google_api_expr_v1alpha1_Expr* ret;
|
1081
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1082
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1111
|
+
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)};
|
1112
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1113
|
+
&default_val, &ret);
|
1083
1114
|
return ret;
|
1084
1115
|
}
|
1085
1116
|
UPB_INLINE bool google_api_expr_v1alpha1_Expr_Comprehension_has_iter_range(const google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1086
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1087
|
-
return
|
1117
|
+
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)};
|
1118
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1088
1119
|
}
|
1089
1120
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_clear_accu_var(google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1090
|
-
const upb_MiniTableField field = {3,
|
1091
|
-
|
1121
|
+
const upb_MiniTableField field = {3, 40, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1122
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1092
1123
|
}
|
1093
1124
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_Expr_Comprehension_accu_var(const google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1094
1125
|
upb_StringView default_val = upb_StringView_FromString("");
|
1095
1126
|
upb_StringView ret;
|
1096
|
-
const upb_MiniTableField field = {3,
|
1097
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1127
|
+
const upb_MiniTableField field = {3, 40, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1128
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1129
|
+
&default_val, &ret);
|
1098
1130
|
return ret;
|
1099
1131
|
}
|
1100
1132
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_clear_accu_init(google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1101
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1102
|
-
|
1133
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1134
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1103
1135
|
}
|
1104
1136
|
UPB_INLINE const google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Comprehension_accu_init(const google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1105
1137
|
const google_api_expr_v1alpha1_Expr* default_val = NULL;
|
1106
1138
|
const google_api_expr_v1alpha1_Expr* ret;
|
1107
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1108
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1139
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1140
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1141
|
+
&default_val, &ret);
|
1109
1142
|
return ret;
|
1110
1143
|
}
|
1111
1144
|
UPB_INLINE bool google_api_expr_v1alpha1_Expr_Comprehension_has_accu_init(const google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1112
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1113
|
-
return
|
1145
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1146
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1114
1147
|
}
|
1115
1148
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_clear_loop_condition(google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1116
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1117
|
-
|
1149
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 64), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1150
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1118
1151
|
}
|
1119
1152
|
UPB_INLINE const google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Comprehension_loop_condition(const google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1120
1153
|
const google_api_expr_v1alpha1_Expr* default_val = NULL;
|
1121
1154
|
const google_api_expr_v1alpha1_Expr* ret;
|
1122
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1123
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1155
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 64), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1156
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1157
|
+
&default_val, &ret);
|
1124
1158
|
return ret;
|
1125
1159
|
}
|
1126
1160
|
UPB_INLINE bool google_api_expr_v1alpha1_Expr_Comprehension_has_loop_condition(const google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1127
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1128
|
-
return
|
1161
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 64), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1162
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1129
1163
|
}
|
1130
1164
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_clear_loop_step(google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1131
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
1132
|
-
|
1165
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 72), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1166
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1133
1167
|
}
|
1134
1168
|
UPB_INLINE const google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Comprehension_loop_step(const google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1135
1169
|
const google_api_expr_v1alpha1_Expr* default_val = NULL;
|
1136
1170
|
const google_api_expr_v1alpha1_Expr* ret;
|
1137
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
1138
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1171
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 72), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1172
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1173
|
+
&default_val, &ret);
|
1139
1174
|
return ret;
|
1140
1175
|
}
|
1141
1176
|
UPB_INLINE bool google_api_expr_v1alpha1_Expr_Comprehension_has_loop_step(const google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1142
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
1143
|
-
return
|
1177
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 72), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1178
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1144
1179
|
}
|
1145
1180
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_clear_result(google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1146
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
1147
|
-
|
1181
|
+
const upb_MiniTableField field = {7, UPB_SIZE(28, 80), 68, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1182
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1148
1183
|
}
|
1149
1184
|
UPB_INLINE const google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Comprehension_result(const google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1150
1185
|
const google_api_expr_v1alpha1_Expr* default_val = NULL;
|
1151
1186
|
const google_api_expr_v1alpha1_Expr* ret;
|
1152
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
1153
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1187
|
+
const upb_MiniTableField field = {7, UPB_SIZE(28, 80), 68, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1188
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1189
|
+
&default_val, &ret);
|
1154
1190
|
return ret;
|
1155
1191
|
}
|
1156
1192
|
UPB_INLINE bool google_api_expr_v1alpha1_Expr_Comprehension_has_result(const google_api_expr_v1alpha1_Expr_Comprehension* msg) {
|
1157
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
1158
|
-
return
|
1193
|
+
const upb_MiniTableField field = {7, UPB_SIZE(28, 80), 68, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1194
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1159
1195
|
}
|
1160
1196
|
|
1161
1197
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_set_iter_var(google_api_expr_v1alpha1_Expr_Comprehension *msg, upb_StringView value) {
|
1162
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1163
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1198
|
+
const upb_MiniTableField field = {1, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1199
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1164
1200
|
}
|
1165
1201
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_set_iter_range(google_api_expr_v1alpha1_Expr_Comprehension *msg, google_api_expr_v1alpha1_Expr* value) {
|
1166
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1167
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1202
|
+
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)};
|
1203
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1168
1204
|
}
|
1169
1205
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Comprehension_mutable_iter_range(google_api_expr_v1alpha1_Expr_Comprehension* msg, upb_Arena* arena) {
|
1170
1206
|
struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_Expr_Comprehension_iter_range(msg);
|
@@ -1175,12 +1211,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_C
|
|
1175
1211
|
return sub;
|
1176
1212
|
}
|
1177
1213
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_set_accu_var(google_api_expr_v1alpha1_Expr_Comprehension *msg, upb_StringView value) {
|
1178
|
-
const upb_MiniTableField field = {3,
|
1179
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1214
|
+
const upb_MiniTableField field = {3, 40, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1215
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1180
1216
|
}
|
1181
1217
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_set_accu_init(google_api_expr_v1alpha1_Expr_Comprehension *msg, google_api_expr_v1alpha1_Expr* value) {
|
1182
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1183
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1218
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1219
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1184
1220
|
}
|
1185
1221
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Comprehension_mutable_accu_init(google_api_expr_v1alpha1_Expr_Comprehension* msg, upb_Arena* arena) {
|
1186
1222
|
struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_Expr_Comprehension_accu_init(msg);
|
@@ -1191,8 +1227,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_C
|
|
1191
1227
|
return sub;
|
1192
1228
|
}
|
1193
1229
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_set_loop_condition(google_api_expr_v1alpha1_Expr_Comprehension *msg, google_api_expr_v1alpha1_Expr* value) {
|
1194
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1195
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1230
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 64), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1231
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1196
1232
|
}
|
1197
1233
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Comprehension_mutable_loop_condition(google_api_expr_v1alpha1_Expr_Comprehension* msg, upb_Arena* arena) {
|
1198
1234
|
struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_Expr_Comprehension_loop_condition(msg);
|
@@ -1203,8 +1239,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_C
|
|
1203
1239
|
return sub;
|
1204
1240
|
}
|
1205
1241
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_set_loop_step(google_api_expr_v1alpha1_Expr_Comprehension *msg, google_api_expr_v1alpha1_Expr* value) {
|
1206
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
1207
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1242
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 72), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1243
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1208
1244
|
}
|
1209
1245
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Comprehension_mutable_loop_step(google_api_expr_v1alpha1_Expr_Comprehension* msg, upb_Arena* arena) {
|
1210
1246
|
struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_Expr_Comprehension_loop_step(msg);
|
@@ -1215,8 +1251,8 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_C
|
|
1215
1251
|
return sub;
|
1216
1252
|
}
|
1217
1253
|
UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_set_result(google_api_expr_v1alpha1_Expr_Comprehension *msg, google_api_expr_v1alpha1_Expr* value) {
|
1218
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
1219
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1254
|
+
const upb_MiniTableField field = {7, UPB_SIZE(28, 80), 68, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1255
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1220
1256
|
}
|
1221
1257
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Comprehension_mutable_result(google_api_expr_v1alpha1_Expr_Comprehension* msg, upb_Arena* arena) {
|
1222
1258
|
struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_Expr_Comprehension_result(msg);
|
@@ -1235,7 +1271,8 @@ UPB_INLINE google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Constant_
|
|
1235
1271
|
UPB_INLINE google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Constant_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1236
1272
|
google_api_expr_v1alpha1_Constant* ret = google_api_expr_v1alpha1_Constant_new(arena);
|
1237
1273
|
if (!ret) return NULL;
|
1238
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Constant_msg_init, NULL, 0, arena) !=
|
1274
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Constant_msg_init, NULL, 0, arena) !=
|
1275
|
+
kUpb_DecodeStatus_Ok) {
|
1239
1276
|
return NULL;
|
1240
1277
|
}
|
1241
1278
|
return ret;
|
@@ -1245,21 +1282,21 @@ UPB_INLINE google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Constant_
|
|
1245
1282
|
int options, upb_Arena* arena) {
|
1246
1283
|
google_api_expr_v1alpha1_Constant* ret = google_api_expr_v1alpha1_Constant_new(arena);
|
1247
1284
|
if (!ret) return NULL;
|
1248
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Constant_msg_init, extreg, options,
|
1249
|
-
|
1285
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__Constant_msg_init, extreg, options,
|
1286
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1250
1287
|
return NULL;
|
1251
1288
|
}
|
1252
1289
|
return ret;
|
1253
1290
|
}
|
1254
1291
|
UPB_INLINE char* google_api_expr_v1alpha1_Constant_serialize(const google_api_expr_v1alpha1_Constant* msg, upb_Arena* arena, size_t* len) {
|
1255
1292
|
char* ptr;
|
1256
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__Constant_msg_init, 0, arena, &ptr, len);
|
1293
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Constant_msg_init, 0, arena, &ptr, len);
|
1257
1294
|
return ptr;
|
1258
1295
|
}
|
1259
1296
|
UPB_INLINE char* google_api_expr_v1alpha1_Constant_serialize_ex(const google_api_expr_v1alpha1_Constant* msg, int options,
|
1260
1297
|
upb_Arena* arena, size_t* len) {
|
1261
1298
|
char* ptr;
|
1262
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__Constant_msg_init, options, arena, &ptr, len);
|
1299
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__Constant_msg_init, options, arena, &ptr, len);
|
1263
1300
|
return ptr;
|
1264
1301
|
}
|
1265
1302
|
typedef enum {
|
@@ -1275,176 +1312,186 @@ typedef enum {
|
|
1275
1312
|
google_api_expr_v1alpha1_Constant_constant_kind_NOT_SET = 0
|
1276
1313
|
} google_api_expr_v1alpha1_Constant_constant_kind_oneofcases;
|
1277
1314
|
UPB_INLINE google_api_expr_v1alpha1_Constant_constant_kind_oneofcases google_api_expr_v1alpha1_Constant_constant_kind_case(const google_api_expr_v1alpha1_Constant* msg) {
|
1278
|
-
const upb_MiniTableField field = {1,
|
1279
|
-
return (google_api_expr_v1alpha1_Constant_constant_kind_oneofcases)upb_Message_WhichOneofFieldNumber(
|
1315
|
+
const upb_MiniTableField field = {1, 16, -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1316
|
+
return (google_api_expr_v1alpha1_Constant_constant_kind_oneofcases)upb_Message_WhichOneofFieldNumber(
|
1317
|
+
UPB_UPCAST(msg), &field);
|
1280
1318
|
}
|
1281
1319
|
UPB_INLINE void google_api_expr_v1alpha1_Constant_clear_null_value(google_api_expr_v1alpha1_Constant* msg) {
|
1282
|
-
const upb_MiniTableField field = {1,
|
1283
|
-
|
1320
|
+
const upb_MiniTableField field = {1, 16, -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1321
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1284
1322
|
}
|
1285
1323
|
UPB_INLINE int32_t google_api_expr_v1alpha1_Constant_null_value(const google_api_expr_v1alpha1_Constant* msg) {
|
1286
1324
|
int32_t default_val = 0;
|
1287
1325
|
int32_t ret;
|
1288
|
-
const upb_MiniTableField field = {1,
|
1289
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1326
|
+
const upb_MiniTableField field = {1, 16, -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1327
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1328
|
+
&default_val, &ret);
|
1290
1329
|
return ret;
|
1291
1330
|
}
|
1292
1331
|
UPB_INLINE bool google_api_expr_v1alpha1_Constant_has_null_value(const google_api_expr_v1alpha1_Constant* msg) {
|
1293
|
-
const upb_MiniTableField field = {1,
|
1294
|
-
return
|
1332
|
+
const upb_MiniTableField field = {1, 16, -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1333
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1295
1334
|
}
|
1296
1335
|
UPB_INLINE void google_api_expr_v1alpha1_Constant_clear_bool_value(google_api_expr_v1alpha1_Constant* msg) {
|
1297
|
-
const upb_MiniTableField field = {2,
|
1298
|
-
|
1336
|
+
const upb_MiniTableField field = {2, 16, -9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1337
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1299
1338
|
}
|
1300
1339
|
UPB_INLINE bool google_api_expr_v1alpha1_Constant_bool_value(const google_api_expr_v1alpha1_Constant* msg) {
|
1301
1340
|
bool default_val = false;
|
1302
1341
|
bool ret;
|
1303
|
-
const upb_MiniTableField field = {2,
|
1304
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1342
|
+
const upb_MiniTableField field = {2, 16, -9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1343
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1344
|
+
&default_val, &ret);
|
1305
1345
|
return ret;
|
1306
1346
|
}
|
1307
1347
|
UPB_INLINE bool google_api_expr_v1alpha1_Constant_has_bool_value(const google_api_expr_v1alpha1_Constant* msg) {
|
1308
|
-
const upb_MiniTableField field = {2,
|
1309
|
-
return
|
1348
|
+
const upb_MiniTableField field = {2, 16, -9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1349
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1310
1350
|
}
|
1311
1351
|
UPB_INLINE void google_api_expr_v1alpha1_Constant_clear_int64_value(google_api_expr_v1alpha1_Constant* msg) {
|
1312
|
-
const upb_MiniTableField field = {3,
|
1313
|
-
|
1352
|
+
const upb_MiniTableField field = {3, 16, -9, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1353
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1314
1354
|
}
|
1315
1355
|
UPB_INLINE int64_t google_api_expr_v1alpha1_Constant_int64_value(const google_api_expr_v1alpha1_Constant* msg) {
|
1316
1356
|
int64_t default_val = (int64_t)0ll;
|
1317
1357
|
int64_t ret;
|
1318
|
-
const upb_MiniTableField field = {3,
|
1319
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1358
|
+
const upb_MiniTableField field = {3, 16, -9, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1359
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1360
|
+
&default_val, &ret);
|
1320
1361
|
return ret;
|
1321
1362
|
}
|
1322
1363
|
UPB_INLINE bool google_api_expr_v1alpha1_Constant_has_int64_value(const google_api_expr_v1alpha1_Constant* msg) {
|
1323
|
-
const upb_MiniTableField field = {3,
|
1324
|
-
return
|
1364
|
+
const upb_MiniTableField field = {3, 16, -9, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1365
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1325
1366
|
}
|
1326
1367
|
UPB_INLINE void google_api_expr_v1alpha1_Constant_clear_uint64_value(google_api_expr_v1alpha1_Constant* msg) {
|
1327
|
-
const upb_MiniTableField field = {4,
|
1328
|
-
|
1368
|
+
const upb_MiniTableField field = {4, 16, -9, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1369
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1329
1370
|
}
|
1330
1371
|
UPB_INLINE uint64_t google_api_expr_v1alpha1_Constant_uint64_value(const google_api_expr_v1alpha1_Constant* msg) {
|
1331
1372
|
uint64_t default_val = (uint64_t)0ull;
|
1332
1373
|
uint64_t ret;
|
1333
|
-
const upb_MiniTableField field = {4,
|
1334
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1374
|
+
const upb_MiniTableField field = {4, 16, -9, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1375
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1376
|
+
&default_val, &ret);
|
1335
1377
|
return ret;
|
1336
1378
|
}
|
1337
1379
|
UPB_INLINE bool google_api_expr_v1alpha1_Constant_has_uint64_value(const google_api_expr_v1alpha1_Constant* msg) {
|
1338
|
-
const upb_MiniTableField field = {4,
|
1339
|
-
return
|
1380
|
+
const upb_MiniTableField field = {4, 16, -9, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1381
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1340
1382
|
}
|
1341
1383
|
UPB_INLINE void google_api_expr_v1alpha1_Constant_clear_double_value(google_api_expr_v1alpha1_Constant* msg) {
|
1342
|
-
const upb_MiniTableField field = {5,
|
1343
|
-
|
1384
|
+
const upb_MiniTableField field = {5, 16, -9, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1385
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1344
1386
|
}
|
1345
1387
|
UPB_INLINE double google_api_expr_v1alpha1_Constant_double_value(const google_api_expr_v1alpha1_Constant* msg) {
|
1346
1388
|
double default_val = 0;
|
1347
1389
|
double ret;
|
1348
|
-
const upb_MiniTableField field = {5,
|
1349
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1390
|
+
const upb_MiniTableField field = {5, 16, -9, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1391
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1392
|
+
&default_val, &ret);
|
1350
1393
|
return ret;
|
1351
1394
|
}
|
1352
1395
|
UPB_INLINE bool google_api_expr_v1alpha1_Constant_has_double_value(const google_api_expr_v1alpha1_Constant* msg) {
|
1353
|
-
const upb_MiniTableField field = {5,
|
1354
|
-
return
|
1396
|
+
const upb_MiniTableField field = {5, 16, -9, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1397
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1355
1398
|
}
|
1356
1399
|
UPB_INLINE void google_api_expr_v1alpha1_Constant_clear_string_value(google_api_expr_v1alpha1_Constant* msg) {
|
1357
|
-
const upb_MiniTableField field = {6,
|
1358
|
-
|
1400
|
+
const upb_MiniTableField field = {6, 16, -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1401
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1359
1402
|
}
|
1360
1403
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_Constant_string_value(const google_api_expr_v1alpha1_Constant* msg) {
|
1361
1404
|
upb_StringView default_val = upb_StringView_FromString("");
|
1362
1405
|
upb_StringView ret;
|
1363
|
-
const upb_MiniTableField field = {6,
|
1364
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1406
|
+
const upb_MiniTableField field = {6, 16, -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1407
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1408
|
+
&default_val, &ret);
|
1365
1409
|
return ret;
|
1366
1410
|
}
|
1367
1411
|
UPB_INLINE bool google_api_expr_v1alpha1_Constant_has_string_value(const google_api_expr_v1alpha1_Constant* msg) {
|
1368
|
-
const upb_MiniTableField field = {6,
|
1369
|
-
return
|
1412
|
+
const upb_MiniTableField field = {6, 16, -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1413
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1370
1414
|
}
|
1371
1415
|
UPB_INLINE void google_api_expr_v1alpha1_Constant_clear_bytes_value(google_api_expr_v1alpha1_Constant* msg) {
|
1372
|
-
const upb_MiniTableField field = {7,
|
1373
|
-
|
1416
|
+
const upb_MiniTableField field = {7, 16, -9, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1417
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1374
1418
|
}
|
1375
1419
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_Constant_bytes_value(const google_api_expr_v1alpha1_Constant* msg) {
|
1376
1420
|
upb_StringView default_val = upb_StringView_FromString("");
|
1377
1421
|
upb_StringView ret;
|
1378
|
-
const upb_MiniTableField field = {7,
|
1379
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1422
|
+
const upb_MiniTableField field = {7, 16, -9, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1423
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1424
|
+
&default_val, &ret);
|
1380
1425
|
return ret;
|
1381
1426
|
}
|
1382
1427
|
UPB_INLINE bool google_api_expr_v1alpha1_Constant_has_bytes_value(const google_api_expr_v1alpha1_Constant* msg) {
|
1383
|
-
const upb_MiniTableField field = {7,
|
1384
|
-
return
|
1428
|
+
const upb_MiniTableField field = {7, 16, -9, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1429
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1385
1430
|
}
|
1386
1431
|
UPB_INLINE void google_api_expr_v1alpha1_Constant_clear_duration_value(google_api_expr_v1alpha1_Constant* msg) {
|
1387
|
-
const upb_MiniTableField field = {8,
|
1388
|
-
|
1432
|
+
const upb_MiniTableField field = {8, 16, -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1433
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1389
1434
|
}
|
1390
1435
|
UPB_INLINE const struct google_protobuf_Duration* google_api_expr_v1alpha1_Constant_duration_value(const google_api_expr_v1alpha1_Constant* msg) {
|
1391
1436
|
const struct google_protobuf_Duration* default_val = NULL;
|
1392
1437
|
const struct google_protobuf_Duration* ret;
|
1393
|
-
const upb_MiniTableField field = {8,
|
1394
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1438
|
+
const upb_MiniTableField field = {8, 16, -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1439
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1440
|
+
&default_val, &ret);
|
1395
1441
|
return ret;
|
1396
1442
|
}
|
1397
1443
|
UPB_INLINE bool google_api_expr_v1alpha1_Constant_has_duration_value(const google_api_expr_v1alpha1_Constant* msg) {
|
1398
|
-
const upb_MiniTableField field = {8,
|
1399
|
-
return
|
1444
|
+
const upb_MiniTableField field = {8, 16, -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1445
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1400
1446
|
}
|
1401
1447
|
UPB_INLINE void google_api_expr_v1alpha1_Constant_clear_timestamp_value(google_api_expr_v1alpha1_Constant* msg) {
|
1402
|
-
const upb_MiniTableField field = {9,
|
1403
|
-
|
1448
|
+
const upb_MiniTableField field = {9, 16, -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1449
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1404
1450
|
}
|
1405
1451
|
UPB_INLINE const struct google_protobuf_Timestamp* google_api_expr_v1alpha1_Constant_timestamp_value(const google_api_expr_v1alpha1_Constant* msg) {
|
1406
1452
|
const struct google_protobuf_Timestamp* default_val = NULL;
|
1407
1453
|
const struct google_protobuf_Timestamp* ret;
|
1408
|
-
const upb_MiniTableField field = {9,
|
1409
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1454
|
+
const upb_MiniTableField field = {9, 16, -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1455
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1456
|
+
&default_val, &ret);
|
1410
1457
|
return ret;
|
1411
1458
|
}
|
1412
1459
|
UPB_INLINE bool google_api_expr_v1alpha1_Constant_has_timestamp_value(const google_api_expr_v1alpha1_Constant* msg) {
|
1413
|
-
const upb_MiniTableField field = {9,
|
1414
|
-
return
|
1460
|
+
const upb_MiniTableField field = {9, 16, -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1461
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1415
1462
|
}
|
1416
1463
|
|
1417
1464
|
UPB_INLINE void google_api_expr_v1alpha1_Constant_set_null_value(google_api_expr_v1alpha1_Constant *msg, int32_t value) {
|
1418
|
-
const upb_MiniTableField field = {1,
|
1419
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1465
|
+
const upb_MiniTableField field = {1, 16, -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1466
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1420
1467
|
}
|
1421
1468
|
UPB_INLINE void google_api_expr_v1alpha1_Constant_set_bool_value(google_api_expr_v1alpha1_Constant *msg, bool value) {
|
1422
|
-
const upb_MiniTableField field = {2,
|
1423
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1469
|
+
const upb_MiniTableField field = {2, 16, -9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1470
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1424
1471
|
}
|
1425
1472
|
UPB_INLINE void google_api_expr_v1alpha1_Constant_set_int64_value(google_api_expr_v1alpha1_Constant *msg, int64_t value) {
|
1426
|
-
const upb_MiniTableField field = {3,
|
1427
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1473
|
+
const upb_MiniTableField field = {3, 16, -9, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1474
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1428
1475
|
}
|
1429
1476
|
UPB_INLINE void google_api_expr_v1alpha1_Constant_set_uint64_value(google_api_expr_v1alpha1_Constant *msg, uint64_t value) {
|
1430
|
-
const upb_MiniTableField field = {4,
|
1431
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1477
|
+
const upb_MiniTableField field = {4, 16, -9, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1478
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1432
1479
|
}
|
1433
1480
|
UPB_INLINE void google_api_expr_v1alpha1_Constant_set_double_value(google_api_expr_v1alpha1_Constant *msg, double value) {
|
1434
|
-
const upb_MiniTableField field = {5,
|
1435
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1481
|
+
const upb_MiniTableField field = {5, 16, -9, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
1482
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1436
1483
|
}
|
1437
1484
|
UPB_INLINE void google_api_expr_v1alpha1_Constant_set_string_value(google_api_expr_v1alpha1_Constant *msg, upb_StringView value) {
|
1438
|
-
const upb_MiniTableField field = {6,
|
1439
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1485
|
+
const upb_MiniTableField field = {6, 16, -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1486
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1440
1487
|
}
|
1441
1488
|
UPB_INLINE void google_api_expr_v1alpha1_Constant_set_bytes_value(google_api_expr_v1alpha1_Constant *msg, upb_StringView value) {
|
1442
|
-
const upb_MiniTableField field = {7,
|
1443
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1489
|
+
const upb_MiniTableField field = {7, 16, -9, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1490
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1444
1491
|
}
|
1445
1492
|
UPB_INLINE void google_api_expr_v1alpha1_Constant_set_duration_value(google_api_expr_v1alpha1_Constant *msg, struct google_protobuf_Duration* value) {
|
1446
|
-
const upb_MiniTableField field = {8,
|
1447
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1493
|
+
const upb_MiniTableField field = {8, 16, -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1494
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1448
1495
|
}
|
1449
1496
|
UPB_INLINE struct google_protobuf_Duration* google_api_expr_v1alpha1_Constant_mutable_duration_value(google_api_expr_v1alpha1_Constant* msg, upb_Arena* arena) {
|
1450
1497
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)google_api_expr_v1alpha1_Constant_duration_value(msg);
|
@@ -1455,8 +1502,8 @@ UPB_INLINE struct google_protobuf_Duration* google_api_expr_v1alpha1_Constant_mu
|
|
1455
1502
|
return sub;
|
1456
1503
|
}
|
1457
1504
|
UPB_INLINE void google_api_expr_v1alpha1_Constant_set_timestamp_value(google_api_expr_v1alpha1_Constant *msg, struct google_protobuf_Timestamp* value) {
|
1458
|
-
const upb_MiniTableField field = {9,
|
1459
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1505
|
+
const upb_MiniTableField field = {9, 16, -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1506
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1460
1507
|
}
|
1461
1508
|
UPB_INLINE struct google_protobuf_Timestamp* google_api_expr_v1alpha1_Constant_mutable_timestamp_value(google_api_expr_v1alpha1_Constant* msg, upb_Arena* arena) {
|
1462
1509
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)google_api_expr_v1alpha1_Constant_timestamp_value(msg);
|
@@ -1475,7 +1522,8 @@ UPB_INLINE google_api_expr_v1alpha1_SourceInfo* google_api_expr_v1alpha1_SourceI
|
|
1475
1522
|
UPB_INLINE google_api_expr_v1alpha1_SourceInfo* google_api_expr_v1alpha1_SourceInfo_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1476
1523
|
google_api_expr_v1alpha1_SourceInfo* ret = google_api_expr_v1alpha1_SourceInfo_new(arena);
|
1477
1524
|
if (!ret) return NULL;
|
1478
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__SourceInfo_msg_init, NULL, 0, arena) !=
|
1525
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__SourceInfo_msg_init, NULL, 0, arena) !=
|
1526
|
+
kUpb_DecodeStatus_Ok) {
|
1479
1527
|
return NULL;
|
1480
1528
|
}
|
1481
1529
|
return ret;
|
@@ -1485,202 +1533,221 @@ UPB_INLINE google_api_expr_v1alpha1_SourceInfo* google_api_expr_v1alpha1_SourceI
|
|
1485
1533
|
int options, upb_Arena* arena) {
|
1486
1534
|
google_api_expr_v1alpha1_SourceInfo* ret = google_api_expr_v1alpha1_SourceInfo_new(arena);
|
1487
1535
|
if (!ret) return NULL;
|
1488
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__SourceInfo_msg_init, extreg, options,
|
1489
|
-
|
1536
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__SourceInfo_msg_init, extreg, options,
|
1537
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1490
1538
|
return NULL;
|
1491
1539
|
}
|
1492
1540
|
return ret;
|
1493
1541
|
}
|
1494
1542
|
UPB_INLINE char* google_api_expr_v1alpha1_SourceInfo_serialize(const google_api_expr_v1alpha1_SourceInfo* msg, upb_Arena* arena, size_t* len) {
|
1495
1543
|
char* ptr;
|
1496
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__SourceInfo_msg_init, 0, arena, &ptr, len);
|
1544
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__SourceInfo_msg_init, 0, arena, &ptr, len);
|
1497
1545
|
return ptr;
|
1498
1546
|
}
|
1499
1547
|
UPB_INLINE char* google_api_expr_v1alpha1_SourceInfo_serialize_ex(const google_api_expr_v1alpha1_SourceInfo* msg, int options,
|
1500
1548
|
upb_Arena* arena, size_t* len) {
|
1501
1549
|
char* ptr;
|
1502
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__SourceInfo_msg_init, options, arena, &ptr, len);
|
1550
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__SourceInfo_msg_init, options, arena, &ptr, len);
|
1503
1551
|
return ptr;
|
1504
1552
|
}
|
1505
1553
|
UPB_INLINE void google_api_expr_v1alpha1_SourceInfo_clear_syntax_version(google_api_expr_v1alpha1_SourceInfo* msg) {
|
1506
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1507
|
-
|
1554
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1555
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1508
1556
|
}
|
1509
1557
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_SourceInfo_syntax_version(const google_api_expr_v1alpha1_SourceInfo* msg) {
|
1510
1558
|
upb_StringView default_val = upb_StringView_FromString("");
|
1511
1559
|
upb_StringView ret;
|
1512
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1513
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1560
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1561
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1562
|
+
&default_val, &ret);
|
1514
1563
|
return ret;
|
1515
1564
|
}
|
1516
1565
|
UPB_INLINE void google_api_expr_v1alpha1_SourceInfo_clear_location(google_api_expr_v1alpha1_SourceInfo* msg) {
|
1517
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1518
|
-
|
1566
|
+
const upb_MiniTableField field = {2, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1567
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1519
1568
|
}
|
1520
1569
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_SourceInfo_location(const google_api_expr_v1alpha1_SourceInfo* msg) {
|
1521
1570
|
upb_StringView default_val = upb_StringView_FromString("");
|
1522
1571
|
upb_StringView ret;
|
1523
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1524
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1572
|
+
const upb_MiniTableField field = {2, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1573
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1574
|
+
&default_val, &ret);
|
1525
1575
|
return ret;
|
1526
1576
|
}
|
1527
1577
|
UPB_INLINE void google_api_expr_v1alpha1_SourceInfo_clear_line_offsets(google_api_expr_v1alpha1_SourceInfo* msg) {
|
1528
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1529
|
-
|
1578
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1579
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1530
1580
|
}
|
1531
1581
|
UPB_INLINE int32_t const* google_api_expr_v1alpha1_SourceInfo_line_offsets(const google_api_expr_v1alpha1_SourceInfo* msg, size_t* size) {
|
1532
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1533
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1582
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1583
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1534
1584
|
if (arr) {
|
1535
|
-
if (size) *size = arr->size;
|
1536
|
-
return (int32_t const*)
|
1585
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1586
|
+
return (int32_t const*)upb_Array_DataPtr(arr);
|
1537
1587
|
} else {
|
1538
1588
|
if (size) *size = 0;
|
1539
1589
|
return NULL;
|
1540
1590
|
}
|
1541
1591
|
}
|
1542
1592
|
UPB_INLINE const upb_Array* _google_api_expr_v1alpha1_SourceInfo_line_offsets_upb_array(const google_api_expr_v1alpha1_SourceInfo* msg, size_t* size) {
|
1543
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1544
|
-
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1593
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1594
|
+
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
1545
1595
|
if (size) {
|
1546
|
-
*size = arr ? arr->size : 0;
|
1596
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1547
1597
|
}
|
1548
1598
|
return arr;
|
1549
1599
|
}
|
1550
|
-
UPB_INLINE upb_Array* _google_api_expr_v1alpha1_SourceInfo_line_offsets_mutable_upb_array(
|
1551
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
1552
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1553
|
-
|
1600
|
+
UPB_INLINE upb_Array* _google_api_expr_v1alpha1_SourceInfo_line_offsets_mutable_upb_array(google_api_expr_v1alpha1_SourceInfo* msg, size_t* size, upb_Arena* arena) {
|
1601
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1602
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
1603
|
+
&field, arena);
|
1554
1604
|
if (size) {
|
1555
|
-
*size = arr ? arr->size : 0;
|
1605
|
+
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
1556
1606
|
}
|
1557
1607
|
return arr;
|
1558
1608
|
}
|
1559
|
-
UPB_INLINE bool google_api_expr_v1alpha1_SourceInfo_has_line_offsets(const google_api_expr_v1alpha1_SourceInfo* msg) {
|
1560
|
-
size_t size;
|
1561
|
-
google_api_expr_v1alpha1_SourceInfo_line_offsets(msg, &size);
|
1562
|
-
return size != 0;
|
1563
|
-
}
|
1564
1609
|
UPB_INLINE void google_api_expr_v1alpha1_SourceInfo_clear_positions(google_api_expr_v1alpha1_SourceInfo* msg) {
|
1565
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1566
|
-
|
1610
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1611
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1567
1612
|
}
|
1568
1613
|
UPB_INLINE size_t google_api_expr_v1alpha1_SourceInfo_positions_size(const google_api_expr_v1alpha1_SourceInfo* msg) {
|
1569
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1570
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
1614
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1615
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1571
1616
|
return map ? _upb_Map_Size(map) : 0;
|
1572
1617
|
}
|
1573
1618
|
UPB_INLINE bool google_api_expr_v1alpha1_SourceInfo_positions_get(const google_api_expr_v1alpha1_SourceInfo* msg, int64_t key, int32_t* val) {
|
1574
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1575
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
1619
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1620
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1576
1621
|
if (!map) return false;
|
1577
1622
|
return _upb_Map_Get(map, &key, sizeof(key), val, sizeof(*val));
|
1578
1623
|
}
|
1579
1624
|
UPB_INLINE const google_api_expr_v1alpha1_SourceInfo_PositionsEntry* google_api_expr_v1alpha1_SourceInfo_positions_next(const google_api_expr_v1alpha1_SourceInfo* msg, size_t* iter) {
|
1580
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1581
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
1625
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1626
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1582
1627
|
if (!map) return NULL;
|
1583
1628
|
return (const google_api_expr_v1alpha1_SourceInfo_PositionsEntry*)_upb_map_next(map, iter);
|
1584
1629
|
}
|
1630
|
+
UPB_INLINE const upb_Map* _google_api_expr_v1alpha1_SourceInfo_positions_upb_map(google_api_expr_v1alpha1_SourceInfo* msg) {
|
1631
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1632
|
+
return upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1633
|
+
}
|
1634
|
+
UPB_INLINE upb_Map* _google_api_expr_v1alpha1_SourceInfo_positions_mutable_upb_map(google_api_expr_v1alpha1_SourceInfo* msg, upb_Arena* a) {
|
1635
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1636
|
+
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field, sizeof(int64_t), sizeof(int32_t), a);
|
1637
|
+
}
|
1585
1638
|
UPB_INLINE void google_api_expr_v1alpha1_SourceInfo_clear_macro_calls(google_api_expr_v1alpha1_SourceInfo* msg) {
|
1586
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1587
|
-
|
1639
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1640
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1588
1641
|
}
|
1589
1642
|
UPB_INLINE size_t google_api_expr_v1alpha1_SourceInfo_macro_calls_size(const google_api_expr_v1alpha1_SourceInfo* msg) {
|
1590
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1591
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
1643
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1644
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1592
1645
|
return map ? _upb_Map_Size(map) : 0;
|
1593
1646
|
}
|
1594
1647
|
UPB_INLINE bool google_api_expr_v1alpha1_SourceInfo_macro_calls_get(const google_api_expr_v1alpha1_SourceInfo* msg, int64_t key, google_api_expr_v1alpha1_Expr** val) {
|
1595
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1596
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
1648
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1649
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1597
1650
|
if (!map) return false;
|
1598
1651
|
return _upb_Map_Get(map, &key, sizeof(key), val, sizeof(*val));
|
1599
1652
|
}
|
1600
1653
|
UPB_INLINE const google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry* google_api_expr_v1alpha1_SourceInfo_macro_calls_next(const google_api_expr_v1alpha1_SourceInfo* msg, size_t* iter) {
|
1601
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1602
|
-
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
1654
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1655
|
+
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1603
1656
|
if (!map) return NULL;
|
1604
1657
|
return (const google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry*)_upb_map_next(map, iter);
|
1605
1658
|
}
|
1659
|
+
UPB_INLINE const upb_Map* _google_api_expr_v1alpha1_SourceInfo_macro_calls_upb_map(google_api_expr_v1alpha1_SourceInfo* msg) {
|
1660
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1661
|
+
return upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1662
|
+
}
|
1663
|
+
UPB_INLINE upb_Map* _google_api_expr_v1alpha1_SourceInfo_macro_calls_mutable_upb_map(google_api_expr_v1alpha1_SourceInfo* msg, upb_Arena* a) {
|
1664
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1665
|
+
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field, sizeof(int64_t), sizeof(google_api_expr_v1alpha1_Expr*), a);
|
1666
|
+
}
|
1606
1667
|
|
1607
1668
|
UPB_INLINE void google_api_expr_v1alpha1_SourceInfo_set_syntax_version(google_api_expr_v1alpha1_SourceInfo *msg, upb_StringView value) {
|
1608
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1609
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1669
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1670
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1610
1671
|
}
|
1611
1672
|
UPB_INLINE void google_api_expr_v1alpha1_SourceInfo_set_location(google_api_expr_v1alpha1_SourceInfo *msg, upb_StringView value) {
|
1612
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
1613
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1673
|
+
const upb_MiniTableField field = {2, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1674
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1614
1675
|
}
|
1615
1676
|
UPB_INLINE int32_t* google_api_expr_v1alpha1_SourceInfo_mutable_line_offsets(google_api_expr_v1alpha1_SourceInfo* msg, size_t* size) {
|
1616
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
1617
|
-
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1677
|
+
upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1678
|
+
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
1618
1679
|
if (arr) {
|
1619
|
-
if (size) *size = arr->size;
|
1620
|
-
return (int32_t*)
|
1680
|
+
if (size) *size = arr->UPB_PRIVATE(size);
|
1681
|
+
return (int32_t*)upb_Array_MutableDataPtr(arr);
|
1621
1682
|
} else {
|
1622
1683
|
if (size) *size = 0;
|
1623
1684
|
return NULL;
|
1624
1685
|
}
|
1625
1686
|
}
|
1626
1687
|
UPB_INLINE int32_t* google_api_expr_v1alpha1_SourceInfo_resize_line_offsets(google_api_expr_v1alpha1_SourceInfo* msg, size_t size, upb_Arena* arena) {
|
1627
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
1628
|
-
return (int32_t*)upb_Message_ResizeArrayUninitialized(msg,
|
1688
|
+
upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1689
|
+
return (int32_t*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
1690
|
+
&field, size, arena);
|
1629
1691
|
}
|
1630
1692
|
UPB_INLINE bool google_api_expr_v1alpha1_SourceInfo_add_line_offsets(google_api_expr_v1alpha1_SourceInfo* msg, int32_t val, upb_Arena* arena) {
|
1631
|
-
upb_MiniTableField field = {3, UPB_SIZE(
|
1632
|
-
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1633
|
-
|
1693
|
+
upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1694
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1695
|
+
UPB_UPCAST(msg), &field, arena);
|
1696
|
+
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
1697
|
+
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
1634
1698
|
return false;
|
1635
1699
|
}
|
1636
|
-
_upb_Array_Set
|
1700
|
+
UPB_PRIVATE(_upb_Array_Set)
|
1701
|
+
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
1637
1702
|
return true;
|
1638
1703
|
}
|
1639
1704
|
UPB_INLINE void google_api_expr_v1alpha1_SourceInfo_positions_clear(google_api_expr_v1alpha1_SourceInfo* msg) {
|
1640
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1641
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
1705
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1706
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1642
1707
|
if (!map) return;
|
1643
1708
|
_upb_Map_Clear(map);
|
1644
1709
|
}
|
1645
1710
|
UPB_INLINE bool google_api_expr_v1alpha1_SourceInfo_positions_set(google_api_expr_v1alpha1_SourceInfo* msg, int64_t key, int32_t val, upb_Arena* a) {
|
1646
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1647
|
-
upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg
|
1711
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1712
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg),
|
1713
|
+
&field, sizeof(key), sizeof(val), a);
|
1648
1714
|
return _upb_Map_Insert(map, &key, sizeof(key), &val, sizeof(val), a) !=
|
1649
1715
|
kUpb_MapInsertStatus_OutOfMemory;
|
1650
1716
|
}
|
1651
1717
|
UPB_INLINE bool google_api_expr_v1alpha1_SourceInfo_positions_delete(google_api_expr_v1alpha1_SourceInfo* msg, int64_t key) {
|
1652
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1653
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
1718
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1719
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1654
1720
|
if (!map) return false;
|
1655
1721
|
return _upb_Map_Delete(map, &key, sizeof(key), NULL);
|
1656
1722
|
}
|
1657
1723
|
UPB_INLINE google_api_expr_v1alpha1_SourceInfo_PositionsEntry* google_api_expr_v1alpha1_SourceInfo_positions_nextmutable(google_api_expr_v1alpha1_SourceInfo* msg, size_t* iter) {
|
1658
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
1659
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
1724
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1725
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1660
1726
|
if (!map) return NULL;
|
1661
1727
|
return (google_api_expr_v1alpha1_SourceInfo_PositionsEntry*)_upb_map_next(map, iter);
|
1662
1728
|
}
|
1663
1729
|
UPB_INLINE void google_api_expr_v1alpha1_SourceInfo_macro_calls_clear(google_api_expr_v1alpha1_SourceInfo* msg) {
|
1664
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1665
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
1730
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1731
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1666
1732
|
if (!map) return;
|
1667
1733
|
_upb_Map_Clear(map);
|
1668
1734
|
}
|
1669
1735
|
UPB_INLINE bool google_api_expr_v1alpha1_SourceInfo_macro_calls_set(google_api_expr_v1alpha1_SourceInfo* msg, int64_t key, google_api_expr_v1alpha1_Expr* val, upb_Arena* a) {
|
1670
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1671
|
-
upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg
|
1736
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1737
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg),
|
1738
|
+
&field, sizeof(key), sizeof(val), a);
|
1672
1739
|
return _upb_Map_Insert(map, &key, sizeof(key), &val, sizeof(val), a) !=
|
1673
1740
|
kUpb_MapInsertStatus_OutOfMemory;
|
1674
1741
|
}
|
1675
1742
|
UPB_INLINE bool google_api_expr_v1alpha1_SourceInfo_macro_calls_delete(google_api_expr_v1alpha1_SourceInfo* msg, int64_t key) {
|
1676
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1677
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
1743
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1744
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1678
1745
|
if (!map) return false;
|
1679
1746
|
return _upb_Map_Delete(map, &key, sizeof(key), NULL);
|
1680
1747
|
}
|
1681
1748
|
UPB_INLINE google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry* google_api_expr_v1alpha1_SourceInfo_macro_calls_nextmutable(google_api_expr_v1alpha1_SourceInfo* msg, size_t* iter) {
|
1682
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
1683
|
-
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
1749
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1750
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
1684
1751
|
if (!map) return NULL;
|
1685
1752
|
return (google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry*)_upb_map_next(map, iter);
|
1686
1753
|
}
|
@@ -1715,8 +1782,8 @@ UPB_INLINE const google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_SourceI
|
|
1715
1782
|
return ret;
|
1716
1783
|
}
|
1717
1784
|
UPB_INLINE bool google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry_has_value(const google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry* msg) {
|
1718
|
-
const upb_MiniTableField field = {2,
|
1719
|
-
return
|
1785
|
+
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)};
|
1786
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
1720
1787
|
}
|
1721
1788
|
|
1722
1789
|
UPB_INLINE void google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry_set_value(google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry *msg, google_api_expr_v1alpha1_Expr* value) {
|
@@ -1731,7 +1798,8 @@ UPB_INLINE google_api_expr_v1alpha1_SourcePosition* google_api_expr_v1alpha1_Sou
|
|
1731
1798
|
UPB_INLINE google_api_expr_v1alpha1_SourcePosition* google_api_expr_v1alpha1_SourcePosition_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1732
1799
|
google_api_expr_v1alpha1_SourcePosition* ret = google_api_expr_v1alpha1_SourcePosition_new(arena);
|
1733
1800
|
if (!ret) return NULL;
|
1734
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__SourcePosition_msg_init, NULL, 0, arena) !=
|
1801
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__SourcePosition_msg_init, NULL, 0, arena) !=
|
1802
|
+
kUpb_DecodeStatus_Ok) {
|
1735
1803
|
return NULL;
|
1736
1804
|
}
|
1737
1805
|
return ret;
|
@@ -1741,83 +1809,87 @@ UPB_INLINE google_api_expr_v1alpha1_SourcePosition* google_api_expr_v1alpha1_Sou
|
|
1741
1809
|
int options, upb_Arena* arena) {
|
1742
1810
|
google_api_expr_v1alpha1_SourcePosition* ret = google_api_expr_v1alpha1_SourcePosition_new(arena);
|
1743
1811
|
if (!ret) return NULL;
|
1744
|
-
if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__SourcePosition_msg_init, extreg, options,
|
1745
|
-
|
1812
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__api__expr__v1alpha1__SourcePosition_msg_init, extreg, options,
|
1813
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
1746
1814
|
return NULL;
|
1747
1815
|
}
|
1748
1816
|
return ret;
|
1749
1817
|
}
|
1750
1818
|
UPB_INLINE char* google_api_expr_v1alpha1_SourcePosition_serialize(const google_api_expr_v1alpha1_SourcePosition* msg, upb_Arena* arena, size_t* len) {
|
1751
1819
|
char* ptr;
|
1752
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__SourcePosition_msg_init, 0, arena, &ptr, len);
|
1820
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__SourcePosition_msg_init, 0, arena, &ptr, len);
|
1753
1821
|
return ptr;
|
1754
1822
|
}
|
1755
1823
|
UPB_INLINE char* google_api_expr_v1alpha1_SourcePosition_serialize_ex(const google_api_expr_v1alpha1_SourcePosition* msg, int options,
|
1756
1824
|
upb_Arena* arena, size_t* len) {
|
1757
1825
|
char* ptr;
|
1758
|
-
(void)upb_Encode(msg, &google__api__expr__v1alpha1__SourcePosition_msg_init, options, arena, &ptr, len);
|
1826
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__api__expr__v1alpha1__SourcePosition_msg_init, options, arena, &ptr, len);
|
1759
1827
|
return ptr;
|
1760
1828
|
}
|
1761
1829
|
UPB_INLINE void google_api_expr_v1alpha1_SourcePosition_clear_location(google_api_expr_v1alpha1_SourcePosition* msg) {
|
1762
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1763
|
-
|
1830
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1831
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1764
1832
|
}
|
1765
1833
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_SourcePosition_location(const google_api_expr_v1alpha1_SourcePosition* msg) {
|
1766
1834
|
upb_StringView default_val = upb_StringView_FromString("");
|
1767
1835
|
upb_StringView ret;
|
1768
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1769
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1836
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1837
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1838
|
+
&default_val, &ret);
|
1770
1839
|
return ret;
|
1771
1840
|
}
|
1772
1841
|
UPB_INLINE void google_api_expr_v1alpha1_SourcePosition_clear_offset(google_api_expr_v1alpha1_SourcePosition* msg) {
|
1773
|
-
const upb_MiniTableField field = {2,
|
1774
|
-
|
1842
|
+
const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1843
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1775
1844
|
}
|
1776
1845
|
UPB_INLINE int32_t google_api_expr_v1alpha1_SourcePosition_offset(const google_api_expr_v1alpha1_SourcePosition* msg) {
|
1777
1846
|
int32_t default_val = (int32_t)0;
|
1778
1847
|
int32_t ret;
|
1779
|
-
const upb_MiniTableField field = {2,
|
1780
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1848
|
+
const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1849
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1850
|
+
&default_val, &ret);
|
1781
1851
|
return ret;
|
1782
1852
|
}
|
1783
1853
|
UPB_INLINE void google_api_expr_v1alpha1_SourcePosition_clear_line(google_api_expr_v1alpha1_SourcePosition* msg) {
|
1784
|
-
const upb_MiniTableField field = {3,
|
1785
|
-
|
1854
|
+
const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1855
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1786
1856
|
}
|
1787
1857
|
UPB_INLINE int32_t google_api_expr_v1alpha1_SourcePosition_line(const google_api_expr_v1alpha1_SourcePosition* msg) {
|
1788
1858
|
int32_t default_val = (int32_t)0;
|
1789
1859
|
int32_t ret;
|
1790
|
-
const upb_MiniTableField field = {3,
|
1791
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1860
|
+
const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1861
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1862
|
+
&default_val, &ret);
|
1792
1863
|
return ret;
|
1793
1864
|
}
|
1794
1865
|
UPB_INLINE void google_api_expr_v1alpha1_SourcePosition_clear_column(google_api_expr_v1alpha1_SourcePosition* msg) {
|
1795
|
-
const upb_MiniTableField field = {4,
|
1796
|
-
|
1866
|
+
const upb_MiniTableField field = {4, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1867
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
1797
1868
|
}
|
1798
1869
|
UPB_INLINE int32_t google_api_expr_v1alpha1_SourcePosition_column(const google_api_expr_v1alpha1_SourcePosition* msg) {
|
1799
1870
|
int32_t default_val = (int32_t)0;
|
1800
1871
|
int32_t ret;
|
1801
|
-
const upb_MiniTableField field = {4,
|
1802
|
-
_upb_Message_GetNonExtensionField(msg, &field,
|
1872
|
+
const upb_MiniTableField field = {4, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1873
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
1874
|
+
&default_val, &ret);
|
1803
1875
|
return ret;
|
1804
1876
|
}
|
1805
1877
|
|
1806
1878
|
UPB_INLINE void google_api_expr_v1alpha1_SourcePosition_set_location(google_api_expr_v1alpha1_SourcePosition *msg, upb_StringView value) {
|
1807
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
1808
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1879
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1880
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1809
1881
|
}
|
1810
1882
|
UPB_INLINE void google_api_expr_v1alpha1_SourcePosition_set_offset(google_api_expr_v1alpha1_SourcePosition *msg, int32_t value) {
|
1811
|
-
const upb_MiniTableField field = {2,
|
1812
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1883
|
+
const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1884
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1813
1885
|
}
|
1814
1886
|
UPB_INLINE void google_api_expr_v1alpha1_SourcePosition_set_line(google_api_expr_v1alpha1_SourcePosition *msg, int32_t value) {
|
1815
|
-
const upb_MiniTableField field = {3,
|
1816
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1887
|
+
const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1888
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1817
1889
|
}
|
1818
1890
|
UPB_INLINE void google_api_expr_v1alpha1_SourcePosition_set_column(google_api_expr_v1alpha1_SourcePosition *msg, int32_t value) {
|
1819
|
-
const upb_MiniTableField field = {4,
|
1820
|
-
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1891
|
+
const upb_MiniTableField field = {4, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1892
|
+
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
|
1821
1893
|
}
|
1822
1894
|
|
1823
1895
|
#ifdef __cplusplus
|