grpc 1.54.0 → 1.55.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of grpc might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Makefile +66 -37
- data/include/grpc/impl/grpc_types.h +2 -0
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +1 -1
- data/src/core/ext/filters/client_channel/backend_metric.cc +2 -1
- data/src/core/ext/filters/client_channel/client_channel.cc +13 -17
- data/src/core/ext/filters/client_channel/client_channel.h +20 -16
- data/src/core/ext/filters/client_channel/client_channel_channelz.cc +1 -1
- data/src/core/ext/filters/client_channel/client_channel_internal.h +8 -40
- data/src/core/ext/filters/client_channel/client_channel_service_config.cc +2 -2
- data/src/core/ext/filters/client_channel/config_selector.h +5 -17
- data/src/core/ext/filters/client_channel/health/health_check_client.cc +1 -1
- data/src/core/ext/filters/client_channel/http_proxy.cc +34 -1
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +2 -2
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +1 -1
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +1 -1
- data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +5 -5
- data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +3 -3
- data/src/core/ext/filters/client_channel/lb_policy/rls/rls.cc +45 -46
- data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc +2 -3
- data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +3 -3
- data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +3 -3
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +4 -4
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +3 -3
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +9 -9
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc +4 -4
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc +5 -4
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +19 -118
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h +30 -0
- data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc +60 -0
- data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h +27 -0
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +524 -0
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h +35 -0
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc +97 -0
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h +32 -0
- data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +2 -13
- data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.h +24 -0
- data/src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc +3 -2
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +7 -34
- data/src/core/ext/filters/client_channel/retry_filter.cc +23 -55
- data/src/core/ext/filters/client_channel/retry_service_config.cc +8 -8
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc +1 -1
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +2 -2
- data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +68 -69
- data/src/core/ext/gcp/metadata_query.cc +5 -10
- data/src/core/ext/gcp/metadata_query.h +10 -5
- data/src/core/ext/transport/chttp2/transport/bin_encoder.cc +12 -8
- data/src/core/ext/transport/chttp2/transport/bin_encoder.h +5 -1
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +78 -23
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +21 -0
- data/src/core/ext/transport/chttp2/transport/context_list_entry.h +70 -0
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +1 -7
- data/src/core/ext/transport/chttp2/transport/frame_ping.h +0 -3
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +118 -222
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +296 -113
- data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc +2 -0
- data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +2 -0
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +451 -277
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +3 -1
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.cc +15 -12
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +9 -1
- data/src/core/ext/transport/chttp2/transport/internal.h +3 -4
- data/src/core/ext/transport/chttp2/transport/writing.cc +14 -3
- data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c +87 -52
- data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h +414 -181
- data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c +121 -60
- data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h +481 -224
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +90 -55
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +415 -188
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c +357 -210
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h +1572 -729
- data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c +30 -17
- data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h +144 -47
- data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c +34 -21
- data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h +160 -62
- data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c +27 -14
- data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h +78 -38
- data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c +20 -11
- data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h +48 -26
- data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c +20 -11
- data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h +48 -26
- data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c +109 -62
- data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h +566 -244
- data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c +21 -12
- data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h +45 -30
- data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +22 -19
- data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +82 -29
- data/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +23 -16
- data/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +45 -30
- data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +230 -143
- data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +733 -404
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +417 -264
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +1839 -899
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c +74 -41
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h +286 -148
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +531 -334
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +2017 -1131
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c +21 -12
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h +45 -30
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +89 -52
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +347 -232
- data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c +264 -165
- data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h +888 -476
- data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +139 -80
- data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +527 -274
- data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c +22 -13
- data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h +50 -36
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +380 -221
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +1168 -611
- data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +166 -94
- data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +666 -292
- data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c +18 -11
- data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h +37 -26
- data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +21 -12
- data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +45 -30
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c +30 -17
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h +144 -47
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +274 -167
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +789 -440
- data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +228 -137
- data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +1100 -501
- data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c +22 -13
- data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h +60 -37
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +350 -211
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +1072 -646
- data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +33 -18
- data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h +117 -51
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +34 -19
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +118 -56
- data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c +38 -21
- data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h +148 -64
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +31 -18
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +143 -65
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +22 -13
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +51 -37
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +78 -43
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h +265 -127
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c +145 -88
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h +438 -241
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c +115 -62
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h +559 -227
- data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c +18 -11
- data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h +35 -26
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +175 -118
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +857 -442
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +172 -95
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +864 -374
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +48 -27
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +159 -110
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +39 -18
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +74 -56
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c +28 -15
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h +71 -45
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +131 -74
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +489 -249
- data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +135 -80
- data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +505 -245
- data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +248 -139
- data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +933 -433
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +80 -49
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +616 -201
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +1283 -776
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +5422 -2519
- data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +49 -28
- data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +164 -84
- data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c +228 -141
- data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h +738 -399
- data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c +20 -11
- data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h +48 -26
- data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c +21 -12
- data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h +45 -30
- data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +32 -19
- data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h +70 -49
- data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c +27 -14
- data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h +110 -43
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c +46 -25
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h +259 -100
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c +21 -12
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h +45 -30
- data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c +18 -11
- data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h +35 -26
- data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c +42 -23
- data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h +108 -70
- data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c +7 -4
- data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h +21 -16
- data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c +43 -24
- data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h +110 -75
- data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c +30 -17
- data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h +95 -50
- data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +16 -9
- data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +73 -23
- data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +60 -37
- data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +150 -108
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +74 -43
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +357 -167
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c +44 -25
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +114 -80
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +41 -20
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +245 -82
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c +32 -19
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +73 -51
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +474 -296
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +2121 -1076
- data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c +18 -11
- data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +35 -26
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c +34 -21
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +112 -78
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c +72 -45
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +193 -138
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c +34 -21
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +119 -78
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c +18 -11
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +35 -26
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +7 -4
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +15 -10
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +184 -96
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +907 -360
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +56 -33
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +150 -101
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +188 -111
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +816 -419
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c +32 -19
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +109 -53
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c +10 -7
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h +18 -14
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +300 -177
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +1284 -522
- data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +42 -23
- data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h +188 -75
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +130 -83
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +510 -238
- data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c +22 -13
- data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h +55 -34
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +39 -26
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +124 -68
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c +21 -12
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h +47 -30
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c +52 -29
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h +92 -62
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c +37 -20
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h +133 -63
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +22 -13
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +91 -40
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c +21 -12
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h +50 -32
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c +18 -11
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h +37 -26
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +46 -27
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h +101 -70
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c +13 -10
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h +25 -22
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +40 -23
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +161 -75
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +31 -18
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +114 -56
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c +46 -29
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h +139 -91
- data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c +65 -42
- data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h +200 -121
- data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c +80 -45
- data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h +208 -131
- data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c +34 -21
- data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h +74 -53
- data/src/core/ext/upb-generated/envoy/type/v3/http.upb.c +7 -4
- data/src/core/ext/upb-generated/envoy/type/v3/http.upb.h +13 -8
- data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c +16 -9
- data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h +28 -18
- data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c +28 -15
- data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h +55 -34
- data/src/core/ext/upb-generated/envoy/type/v3/range.upb.c +43 -22
- data/src/core/ext/upb-generated/envoy/type/v3/range.upb.h +91 -53
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c +35 -20
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h +92 -57
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c +7 -4
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h +13 -8
- data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c +20 -11
- data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h +48 -26
- data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c +23 -14
- data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h +61 -41
- data/src/core/ext/upb-generated/google/api/annotations.upb.c +14 -11
- data/src/core/ext/upb-generated/google/api/annotations.upb.h +30 -20
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +255 -154
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +934 -450
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +299 -180
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +946 -483
- data/src/core/ext/upb-generated/google/api/http.upb.c +68 -35
- data/src/core/ext/upb-generated/google/api/http.upb.h +284 -120
- data/src/core/ext/upb-generated/google/api/httpbody.upb.c +22 -13
- data/src/core/ext/upb-generated/google/api/httpbody.upb.h +95 -37
- data/src/core/ext/upb-generated/google/protobuf/any.upb.c +19 -10
- data/src/core/ext/upb-generated/google/protobuf/any.upb.h +38 -22
- data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +1018 -424
- data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +3851 -1412
- data/src/core/ext/upb-generated/google/protobuf/duration.upb.c +19 -10
- data/src/core/ext/upb-generated/google/protobuf/duration.upb.h +38 -22
- data/src/core/ext/upb-generated/google/protobuf/empty.upb.c +10 -7
- data/src/core/ext/upb-generated/google/protobuf/empty.upb.h +18 -14
- data/src/core/ext/upb-generated/google/protobuf/struct.upb.c +62 -39
- data/src/core/ext/upb-generated/google/protobuf/struct.upb.h +207 -102
- data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +19 -10
- data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +38 -22
- data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +90 -51
- data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +157 -107
- data/src/core/ext/upb-generated/google/rpc/status.upb.c +22 -13
- data/src/core/ext/upb-generated/google/rpc/status.upb.h +95 -37
- data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c +59 -34
- data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h +154 -92
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +43 -24
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +118 -60
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +250 -145
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +919 -415
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +34 -19
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +76 -51
- data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +25 -14
- data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +45 -30
- data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +144 -81
- data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +405 -217
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c +51 -26
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h +153 -61
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c +173 -102
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h +855 -298
- data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +68 -49
- data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +155 -104
- data/src/core/ext/upb-generated/udpa/annotations/security.upb.c +26 -17
- data/src/core/ext/upb-generated/udpa/annotations/security.upb.h +55 -34
- data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +12 -9
- data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +31 -14
- data/src/core/ext/upb-generated/udpa/annotations/status.upb.c +26 -17
- data/src/core/ext/upb-generated/udpa/annotations/status.upb.h +55 -34
- data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c +23 -16
- data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h +45 -30
- data/src/core/ext/upb-generated/validate/validate.upb.c +845 -455
- data/src/core/ext/upb-generated/validate/validate.upb.h +4347 -1908
- data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c +68 -49
- data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h +155 -104
- data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c +26 -17
- data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h +55 -34
- data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c +12 -9
- data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h +31 -14
- data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c +65 -44
- data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h +137 -91
- data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c +23 -16
- data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h +45 -30
- data/src/core/ext/upb-generated/xds/core/v3/authority.upb.c +16 -9
- data/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +28 -18
- data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.c +21 -12
- data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.h +45 -30
- data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +37 -22
- data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +96 -63
- data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +26 -17
- data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +52 -29
- data/src/core/ext/upb-generated/xds/core/v3/extension.upb.c +21 -12
- data/src/core/ext/upb-generated/xds/core/v3/extension.upb.h +45 -30
- data/src/core/ext/upb-generated/xds/core/v3/resource.upb.c +23 -14
- data/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +62 -42
- data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +44 -25
- data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +169 -79
- data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +27 -14
- data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +65 -38
- data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c +69 -38
- data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h +167 -76
- data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c +21 -12
- data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h +89 -34
- data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c +18 -11
- data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h +35 -26
- data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c +32 -19
- data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h +150 -54
- data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c +10 -7
- data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h +18 -14
- data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c +34 -21
- data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h +161 -63
- data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c +162 -101
- data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h +501 -293
- data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c +85 -52
- data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h +430 -164
- data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c +24 -15
- data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h +53 -37
- data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c +40 -23
- data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h +161 -75
- data/src/core/ext/upb-generated/xds/type/v3/cel.upb.c +37 -22
- data/src/core/ext/upb-generated/xds/type/v3/cel.upb.h +92 -66
- data/src/core/ext/upb-generated/xds/type/v3/range.upb.c +43 -22
- data/src/core/ext/upb-generated/xds/type/v3/range.upb.h +91 -53
- data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c +21 -12
- data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h +45 -30
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +252 -253
- data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +13 -12
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h +11 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +44 -44
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c +134 -128
- data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h +11 -5
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +379 -376
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +138 -136
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +12 -13
- data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c +329 -273
- data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h +11 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h +6 -5
- data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h +6 -5
- data/src/core/ext/xds/certificate_provider_store.cc +4 -4
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +7 -7
- data/src/core/ext/xds/upb_utils.h +1 -1
- data/src/core/ext/xds/xds_api.cc +34 -14
- data/src/core/ext/xds/xds_api.h +2 -2
- data/src/core/ext/xds/xds_bootstrap.cc +3 -3
- data/src/core/ext/xds/xds_bootstrap_grpc.cc +15 -15
- data/src/core/ext/xds/xds_client.cc +24 -3
- data/src/core/ext/xds/xds_client.h +1 -1
- data/src/core/ext/xds/xds_cluster.cc +26 -34
- data/src/core/ext/xds/xds_cluster.h +1 -2
- data/src/core/ext/xds/xds_cluster_specifier_plugin.cc +4 -3
- data/src/core/ext/xds/xds_cluster_specifier_plugin.h +2 -2
- data/src/core/ext/xds/xds_common_types.cc +5 -4
- data/src/core/ext/xds/xds_endpoint.cc +5 -2
- data/src/core/ext/xds/xds_endpoint.h +1 -1
- data/src/core/ext/xds/xds_http_fault_filter.cc +2 -2
- data/src/core/ext/xds/xds_http_fault_filter.h +1 -1
- data/src/core/ext/xds/xds_http_filters.h +3 -2
- data/src/core/ext/xds/xds_http_rbac_filter.cc +6 -8
- data/src/core/ext/xds/xds_http_rbac_filter.h +1 -1
- data/src/core/ext/xds/xds_http_stateful_session_filter.cc +2 -2
- data/src/core/ext/xds/xds_http_stateful_session_filter.h +1 -1
- data/src/core/ext/xds/xds_lb_policy_registry.cc +4 -22
- data/src/core/ext/xds/xds_listener.cc +10 -4
- data/src/core/ext/xds/xds_listener.h +1 -1
- data/src/core/ext/xds/xds_resource_type.h +2 -2
- data/src/core/ext/xds/xds_route_config.cc +8 -5
- data/src/core/ext/xds/xds_route_config.h +1 -1
- data/src/core/lib/channel/channelz.cc +5 -4
- data/src/core/lib/channel/channelz_registry.cc +7 -6
- data/src/core/lib/channel/connected_channel.cc +82 -27
- data/src/core/lib/channel/promise_based_filter.cc +2 -8
- data/src/core/lib/debug/trace.cc +16 -7
- data/src/core/lib/debug/trace.h +12 -4
- data/src/core/lib/event_engine/event_engine.cc +4 -4
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +8 -26
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +6 -1
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +3 -0
- data/src/core/lib/event_engine/shim.cc +2 -0
- data/src/core/lib/event_engine/trace.cc +1 -0
- data/src/core/lib/event_engine/trace.h +6 -0
- data/src/core/lib/experiments/experiments.cc +3 -0
- data/src/core/lib/experiments/experiments.h +4 -1
- data/src/core/lib/gpr/posix/time.cc +5 -0
- data/src/core/lib/gprpp/status_helper.cc +2 -2
- data/src/core/lib/gprpp/validation_errors.cc +8 -3
- data/src/core/lib/gprpp/validation_errors.h +16 -9
- data/src/core/lib/iomgr/buffer_list.h +0 -1
- data/src/core/lib/iomgr/socket_utils_posix.cc +3 -0
- data/src/core/lib/iomgr/socket_utils_posix.h +3 -0
- data/src/core/lib/iomgr/tcp_client_posix.cc +4 -0
- data/src/core/lib/iomgr/timer_generic.cc +17 -16
- data/src/core/lib/json/json.h +61 -113
- data/src/core/lib/json/json_object_loader.cc +20 -20
- data/src/core/lib/json/json_object_loader.h +8 -3
- data/src/core/lib/json/json_reader.cc +58 -38
- data/src/core/lib/json/json_reader.h +34 -0
- data/src/core/lib/json/json_util.cc +6 -6
- data/src/core/lib/json/json_util.h +5 -4
- data/src/core/lib/json/json_writer.cc +19 -19
- data/src/core/lib/json/json_writer.h +33 -0
- data/src/core/lib/load_balancing/lb_policy_registry.cc +7 -7
- data/src/core/lib/promise/pipe.h +7 -0
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +35 -37
- data/src/core/lib/security/credentials/external/external_account_credentials.cc +60 -62
- data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +22 -21
- data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +28 -27
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +4 -2
- data/src/core/lib/security/credentials/jwt/json_token.cc +6 -4
- data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +8 -5
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +39 -38
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +17 -16
- data/src/core/lib/security/util/json_util.cc +5 -5
- data/src/core/lib/service_config/service_config_impl.cc +11 -5
- data/src/core/lib/slice/slice.h +2 -0
- data/src/core/lib/surface/call.cc +71 -26
- data/src/core/lib/surface/call.h +1 -5
- data/src/core/lib/surface/completion_queue.cc +2 -1
- data/src/core/lib/surface/server.cc +47 -19
- data/src/core/lib/surface/validate_metadata.cc +43 -42
- data/src/core/lib/surface/validate_metadata.h +9 -0
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/batch_builder.h +9 -1
- data/src/core/lib/transport/metadata_batch.h +71 -20
- data/src/core/lib/transport/metadata_compression_traits.h +67 -0
- data/src/core/lib/transport/parsed_metadata.h +16 -6
- data/src/core/lib/transport/simple_slice_based_metadata.h +48 -0
- data/src/core/lib/transport/transport.h +3 -0
- data/src/core/plugin_registry/grpc_plugin_registry.cc +2 -4
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/third_party/abseil-cpp/absl/base/config.h +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio_mem.c +33 -47
- data/third_party/boringssl-with-bazel/src/crypto/bio/fd.c +7 -4
- data/third_party/boringssl-with-bazel/src/crypto/kyber/internal.h +32 -2
- data/third_party/boringssl-with-bazel/src/crypto/kyber/keccak.c +11 -12
- data/third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c +826 -0
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/pmbtoken.c +10 -12
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/voprf.c +8 -10
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c +2 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +2 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/policy.c +18 -14
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +17 -21
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +7 -3
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +3 -4
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +1 -72
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c +4 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_lib.c +4 -3
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c +7 -3
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_utl.c +4 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/base.h +1 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +8 -8
- data/third_party/boringssl-with-bazel/src/include/openssl/kyber.h +128 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/obj.h +8 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +1 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/stack.h +8 -12
- data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +1 -10
- data/third_party/boringssl-with-bazel/src/ssl/handshake_client.cc +9 -2
- data/third_party/boringssl-with-bazel/src/ssl/internal.h +17 -17
- data/third_party/boringssl-with-bazel/src/ssl/ssl_asn1.cc +8 -4
- data/third_party/boringssl-with-bazel/src/ssl/ssl_file.cc +2 -2
- data/third_party/boringssl-with-bazel/src/ssl/ssl_key_share.cc +72 -5
- data/third_party/boringssl-with-bazel/src/ssl/ssl_session.cc +19 -21
- data/third_party/boringssl-with-bazel/src/ssl/tls13_both.cc +2 -1
- data/third_party/upb/upb/{table_internal.h → alloc.h} +6 -6
- data/third_party/upb/upb/arena.h +4 -193
- data/third_party/upb/upb/array.h +4 -51
- data/third_party/upb/upb/base/descriptor_constants.h +104 -0
- data/third_party/upb/upb/base/log2.h +57 -0
- data/third_party/upb/upb/{status.c → base/status.c} +2 -7
- data/third_party/upb/upb/base/status.h +66 -0
- data/third_party/upb/upb/base/string_view.h +75 -0
- data/third_party/upb/upb/{array.c → collections/array.c} +67 -36
- data/third_party/upb/upb/collections/array.h +85 -0
- data/third_party/upb/upb/collections/array_internal.h +135 -0
- data/third_party/upb/upb/{map.c → collections/map.c} +53 -26
- data/third_party/upb/upb/collections/map.h +135 -0
- data/third_party/upb/upb/collections/map_gencode_util.h +78 -0
- data/third_party/upb/upb/collections/map_internal.h +170 -0
- data/third_party/upb/upb/collections/map_sorter.c +166 -0
- data/third_party/upb/upb/collections/map_sorter_internal.h +109 -0
- data/third_party/upb/upb/{message_value.h → collections/message_value.h} +12 -13
- data/third_party/upb/upb/decode.h +3 -62
- data/third_party/upb/upb/def.h +4 -384
- data/third_party/upb/upb/def.hpp +3 -411
- data/third_party/upb/upb/encode.h +3 -48
- data/third_party/upb/upb/extension_registry.h +3 -52
- data/third_party/upb/upb/{table.c → hash/common.c} +52 -110
- data/third_party/upb/upb/hash/common.h +199 -0
- data/third_party/upb/upb/hash/int_table.h +102 -0
- data/third_party/upb/upb/hash/str_table.h +161 -0
- data/third_party/upb/upb/{json_decode.c → json/decode.c} +63 -98
- data/third_party/upb/upb/json/decode.h +52 -0
- data/third_party/upb/upb/{json_encode.c → json/encode.c} +69 -45
- data/third_party/upb/upb/json/encode.h +70 -0
- data/third_party/upb/upb/json_decode.h +4 -15
- data/third_party/upb/upb/json_encode.h +4 -33
- data/third_party/upb/upb/lex/atoi.c +68 -0
- data/third_party/upb/upb/lex/atoi.h +53 -0
- data/third_party/upb/upb/{upb.c → lex/round_trip.c} +2 -11
- data/third_party/upb/upb/{internal/upb.h → lex/round_trip.h} +17 -30
- data/third_party/upb/upb/lex/strtod.c +97 -0
- data/third_party/upb/upb/lex/strtod.h +46 -0
- data/third_party/upb/upb/lex/unicode.c +57 -0
- data/third_party/upb/upb/lex/unicode.h +77 -0
- data/third_party/upb/upb/map.h +4 -85
- data/third_party/upb/upb/mem/alloc.c +47 -0
- data/third_party/upb/upb/mem/alloc.h +98 -0
- data/third_party/upb/upb/mem/arena.c +367 -0
- data/third_party/upb/upb/mem/arena.h +160 -0
- data/third_party/upb/upb/mem/arena_internal.h +114 -0
- data/third_party/upb/upb/message/accessors.c +68 -0
- data/third_party/upb/upb/message/accessors.h +379 -0
- data/third_party/upb/upb/message/accessors_internal.h +325 -0
- data/third_party/upb/upb/message/extension_internal.h +83 -0
- data/third_party/upb/upb/message/internal.h +135 -0
- data/third_party/upb/upb/message/message.c +180 -0
- data/third_party/upb/upb/message/message.h +69 -0
- data/third_party/upb/upb/mini_table/common.c +128 -0
- data/third_party/upb/upb/mini_table/common.h +170 -0
- data/third_party/upb/upb/mini_table/common_internal.h +111 -0
- data/third_party/upb/upb/{mini_table.c → mini_table/decode.c} +513 -533
- data/third_party/upb/upb/mini_table/decode.h +179 -0
- data/third_party/upb/upb/mini_table/encode.c +300 -0
- data/third_party/upb/upb/mini_table/encode_internal.h +111 -0
- data/third_party/upb/upb/{mini_table.hpp → mini_table/encode_internal.hpp} +32 -8
- data/third_party/upb/upb/mini_table/enum_internal.h +88 -0
- data/third_party/upb/upb/mini_table/extension_internal.h +47 -0
- data/third_party/upb/upb/{extension_registry.c → mini_table/extension_registry.c} +27 -24
- data/third_party/upb/upb/mini_table/extension_registry.h +104 -0
- data/third_party/upb/upb/mini_table/field_internal.h +192 -0
- data/third_party/upb/upb/mini_table/file_internal.h +47 -0
- data/third_party/upb/upb/mini_table/message_internal.h +136 -0
- data/third_party/upb/upb/mini_table/sub_internal.h +38 -0
- data/third_party/upb/upb/mini_table/types.h +40 -0
- data/third_party/upb/upb/mini_table.h +4 -157
- data/third_party/upb/upb/msg.h +3 -38
- data/third_party/upb/upb/port/atomic.h +101 -0
- data/third_party/upb/upb/{port_def.inc → port/def.inc} +94 -27
- data/third_party/upb/upb/{port_undef.inc → port/undef.inc} +13 -3
- data/third_party/upb/upb/{internal → port}/vsnprintf_compat.h +5 -7
- data/third_party/upb/upb/reflection/common.h +67 -0
- data/third_party/upb/upb/reflection/def.h +42 -0
- data/third_party/upb/upb/reflection/def.hpp +610 -0
- data/third_party/upb/upb/reflection/def_builder.c +357 -0
- data/third_party/upb/upb/reflection/def_builder_internal.h +157 -0
- data/third_party/upb/upb/reflection/def_pool.c +462 -0
- data/third_party/upb/upb/reflection/def_pool.h +108 -0
- data/third_party/upb/upb/reflection/def_pool_internal.h +77 -0
- data/third_party/upb/upb/reflection/def_type.c +50 -0
- data/third_party/upb/upb/reflection/def_type.h +81 -0
- data/third_party/upb/upb/reflection/desc_state.c +53 -0
- data/third_party/upb/upb/reflection/desc_state_internal.h +64 -0
- data/third_party/upb/upb/reflection/enum_def.c +310 -0
- data/third_party/upb/upb/reflection/enum_def.h +80 -0
- data/third_party/upb/upb/reflection/enum_def_internal.h +56 -0
- data/third_party/upb/upb/reflection/enum_reserved_range.c +84 -0
- data/third_party/upb/upb/reflection/enum_reserved_range.h +51 -0
- data/third_party/upb/upb/reflection/enum_reserved_range_internal.h +55 -0
- data/third_party/upb/upb/reflection/enum_value_def.c +144 -0
- data/third_party/upb/upb/reflection/enum_value_def.h +57 -0
- data/third_party/upb/upb/reflection/enum_value_def_internal.h +57 -0
- data/third_party/upb/upb/reflection/extension_range.c +93 -0
- data/third_party/upb/upb/reflection/extension_range.h +55 -0
- data/third_party/upb/upb/reflection/extension_range_internal.h +54 -0
- data/third_party/upb/upb/reflection/field_def.c +930 -0
- data/third_party/upb/upb/reflection/field_def.h +91 -0
- data/third_party/upb/upb/reflection/field_def_internal.h +76 -0
- data/third_party/upb/upb/reflection/file_def.c +370 -0
- data/third_party/upb/upb/reflection/file_def.h +77 -0
- data/third_party/upb/upb/reflection/file_def_internal.h +57 -0
- data/third_party/upb/upb/reflection/message.c +233 -0
- data/third_party/upb/upb/reflection/message.h +102 -0
- data/third_party/upb/upb/reflection/message.hpp +37 -0
- data/third_party/upb/upb/reflection/message_def.c +718 -0
- data/third_party/upb/upb/reflection/message_def.h +174 -0
- data/third_party/upb/upb/reflection/message_def_internal.h +63 -0
- data/third_party/upb/upb/reflection/message_reserved_range.c +81 -0
- data/third_party/upb/upb/reflection/message_reserved_range.h +51 -0
- data/third_party/upb/upb/reflection/message_reserved_range_internal.h +55 -0
- data/third_party/upb/upb/reflection/method_def.c +124 -0
- data/third_party/upb/upb/reflection/method_def.h +59 -0
- data/third_party/upb/upb/reflection/method_def_internal.h +53 -0
- data/third_party/upb/upb/reflection/oneof_def.c +226 -0
- data/third_party/upb/upb/reflection/oneof_def.h +66 -0
- data/third_party/upb/upb/reflection/oneof_def_internal.h +57 -0
- data/third_party/upb/upb/reflection/service_def.c +128 -0
- data/third_party/upb/upb/reflection/service_def.h +60 -0
- data/third_party/upb/upb/reflection/service_def_internal.h +53 -0
- data/third_party/upb/upb/reflection.h +4 -78
- data/third_party/upb/upb/reflection.hpp +3 -7
- data/third_party/upb/upb/status.h +4 -34
- data/third_party/upb/upb/{collections.h → string_view.h} +7 -7
- data/third_party/upb/upb/{text_encode.c → text/encode.c} +74 -70
- data/third_party/upb/upb/text/encode.h +69 -0
- data/third_party/upb/upb/text_encode.h +4 -32
- data/third_party/upb/upb/upb.h +6 -151
- data/third_party/upb/upb/upb.hpp +10 -18
- data/third_party/upb/upb/wire/common.h +44 -0
- data/third_party/upb/upb/wire/common_internal.h +50 -0
- data/third_party/upb/upb/wire/decode.c +1343 -0
- data/third_party/upb/upb/wire/decode.h +108 -0
- data/third_party/upb/upb/{decode_fast.c → wire/decode_fast.c} +184 -225
- data/third_party/upb/upb/{decode_fast.h → wire/decode_fast.h} +21 -7
- data/third_party/upb/upb/{internal/decode.h → wire/decode_internal.h} +44 -92
- data/third_party/upb/upb/{encode.c → wire/encode.c} +114 -95
- data/third_party/upb/upb/wire/encode.h +92 -0
- data/third_party/upb/upb/wire/eps_copy_input_stream.c +39 -0
- data/third_party/upb/upb/wire/eps_copy_input_stream.h +425 -0
- data/third_party/upb/upb/wire/reader.c +67 -0
- data/third_party/upb/upb/wire/reader.h +227 -0
- data/third_party/upb/upb/wire/swap_internal.h +63 -0
- data/third_party/upb/upb/wire/types.h +41 -0
- data/third_party/{upb/third_party/utf8_range → utf8_range}/range2-neon.c +1 -1
- data/third_party/{upb/third_party/utf8_range → utf8_range}/utf8_range.h +12 -0
- metadata +155 -40
- data/src/core/ext/transport/chttp2/transport/context_list.cc +0 -71
- data/src/core/ext/transport/chttp2/transport/context_list.h +0 -54
- data/third_party/upb/upb/arena.c +0 -277
- data/third_party/upb/upb/decode.c +0 -1221
- data/third_party/upb/upb/def.c +0 -3269
- data/third_party/upb/upb/internal/table.h +0 -385
- data/third_party/upb/upb/msg.c +0 -368
- data/third_party/upb/upb/msg_internal.h +0 -837
- data/third_party/upb/upb/reflection.c +0 -323
- /data/third_party/{upb/third_party/utf8_range → utf8_range}/naive.c +0 -0
- /data/third_party/{upb/third_party/utf8_range → utf8_range}/range2-sse.c +0 -0
@@ -9,30 +9,22 @@
|
|
9
9
|
#ifndef GOOGLE_API_EXPR_V1ALPHA1_CHECKED_PROTO_UPB_H_
|
10
10
|
#define GOOGLE_API_EXPR_V1ALPHA1_CHECKED_PROTO_UPB_H_
|
11
11
|
|
12
|
-
#include "upb/
|
13
|
-
#include "upb/
|
14
|
-
#include "upb/
|
15
|
-
#include "upb/
|
12
|
+
#include "upb/collections/array_internal.h"
|
13
|
+
#include "upb/collections/map_gencode_util.h"
|
14
|
+
#include "upb/message/accessors.h"
|
15
|
+
#include "upb/message/internal.h"
|
16
|
+
#include "upb/mini_table/enum_internal.h"
|
17
|
+
#include "upb/wire/decode.h"
|
18
|
+
#include "upb/wire/decode_fast.h"
|
19
|
+
#include "upb/wire/encode.h"
|
16
20
|
|
17
|
-
|
21
|
+
// Must be last.
|
22
|
+
#include "upb/port/def.inc"
|
18
23
|
|
19
24
|
#ifdef __cplusplus
|
20
25
|
extern "C" {
|
21
26
|
#endif
|
22
27
|
|
23
|
-
struct google_api_expr_v1alpha1_CheckedExpr;
|
24
|
-
struct google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry;
|
25
|
-
struct google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry;
|
26
|
-
struct google_api_expr_v1alpha1_Type;
|
27
|
-
struct google_api_expr_v1alpha1_Type_ListType;
|
28
|
-
struct google_api_expr_v1alpha1_Type_MapType;
|
29
|
-
struct google_api_expr_v1alpha1_Type_FunctionType;
|
30
|
-
struct google_api_expr_v1alpha1_Type_AbstractType;
|
31
|
-
struct google_api_expr_v1alpha1_Decl;
|
32
|
-
struct google_api_expr_v1alpha1_Decl_IdentDecl;
|
33
|
-
struct google_api_expr_v1alpha1_Decl_FunctionDecl;
|
34
|
-
struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload;
|
35
|
-
struct google_api_expr_v1alpha1_Reference;
|
36
28
|
typedef struct google_api_expr_v1alpha1_CheckedExpr google_api_expr_v1alpha1_CheckedExpr;
|
37
29
|
typedef struct google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry;
|
38
30
|
typedef struct google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry;
|
@@ -46,27 +38,27 @@ typedef struct google_api_expr_v1alpha1_Decl_IdentDecl google_api_expr_v1alpha1_
|
|
46
38
|
typedef struct google_api_expr_v1alpha1_Decl_FunctionDecl google_api_expr_v1alpha1_Decl_FunctionDecl;
|
47
39
|
typedef struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload google_api_expr_v1alpha1_Decl_FunctionDecl_Overload;
|
48
40
|
typedef struct google_api_expr_v1alpha1_Reference google_api_expr_v1alpha1_Reference;
|
49
|
-
extern const upb_MiniTable
|
50
|
-
extern const upb_MiniTable
|
51
|
-
extern const upb_MiniTable
|
52
|
-
extern const upb_MiniTable
|
53
|
-
extern const upb_MiniTable
|
54
|
-
extern const upb_MiniTable
|
55
|
-
extern const upb_MiniTable
|
56
|
-
extern const upb_MiniTable
|
57
|
-
extern const upb_MiniTable
|
58
|
-
extern const upb_MiniTable
|
59
|
-
extern const upb_MiniTable
|
60
|
-
extern const upb_MiniTable
|
61
|
-
extern const upb_MiniTable
|
41
|
+
extern const upb_MiniTable google_api_expr_v1alpha1_CheckedExpr_msg_init;
|
42
|
+
extern const upb_MiniTable google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_msg_init;
|
43
|
+
extern const upb_MiniTable google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_msg_init;
|
44
|
+
extern const upb_MiniTable google_api_expr_v1alpha1_Type_msg_init;
|
45
|
+
extern const upb_MiniTable google_api_expr_v1alpha1_Type_ListType_msg_init;
|
46
|
+
extern const upb_MiniTable google_api_expr_v1alpha1_Type_MapType_msg_init;
|
47
|
+
extern const upb_MiniTable google_api_expr_v1alpha1_Type_FunctionType_msg_init;
|
48
|
+
extern const upb_MiniTable google_api_expr_v1alpha1_Type_AbstractType_msg_init;
|
49
|
+
extern const upb_MiniTable google_api_expr_v1alpha1_Decl_msg_init;
|
50
|
+
extern const upb_MiniTable google_api_expr_v1alpha1_Decl_IdentDecl_msg_init;
|
51
|
+
extern const upb_MiniTable google_api_expr_v1alpha1_Decl_FunctionDecl_msg_init;
|
52
|
+
extern const upb_MiniTable google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msg_init;
|
53
|
+
extern const upb_MiniTable google_api_expr_v1alpha1_Reference_msg_init;
|
62
54
|
struct google_api_expr_v1alpha1_Constant;
|
63
55
|
struct google_api_expr_v1alpha1_Expr;
|
64
56
|
struct google_api_expr_v1alpha1_SourceInfo;
|
65
57
|
struct google_protobuf_Empty;
|
66
|
-
extern const upb_MiniTable
|
67
|
-
extern const upb_MiniTable
|
68
|
-
extern const upb_MiniTable
|
69
|
-
extern const upb_MiniTable
|
58
|
+
extern const upb_MiniTable google_api_expr_v1alpha1_Constant_msg_init;
|
59
|
+
extern const upb_MiniTable google_api_expr_v1alpha1_Expr_msg_init;
|
60
|
+
extern const upb_MiniTable google_api_expr_v1alpha1_SourceInfo_msg_init;
|
61
|
+
extern const upb_MiniTable google_protobuf_Empty_msg_init;
|
70
62
|
|
71
63
|
typedef enum {
|
72
64
|
google_api_expr_v1alpha1_Type_PRIMITIVE_TYPE_UNSPECIFIED = 0,
|
@@ -90,12 +82,12 @@ typedef enum {
|
|
90
82
|
/* google.api.expr.v1alpha1.CheckedExpr */
|
91
83
|
|
92
84
|
UPB_INLINE google_api_expr_v1alpha1_CheckedExpr* google_api_expr_v1alpha1_CheckedExpr_new(upb_Arena* arena) {
|
93
|
-
return (google_api_expr_v1alpha1_CheckedExpr*)_upb_Message_New(&
|
85
|
+
return (google_api_expr_v1alpha1_CheckedExpr*)_upb_Message_New(&google_api_expr_v1alpha1_CheckedExpr_msg_init, arena);
|
94
86
|
}
|
95
87
|
UPB_INLINE google_api_expr_v1alpha1_CheckedExpr* google_api_expr_v1alpha1_CheckedExpr_parse(const char* buf, size_t size, upb_Arena* arena) {
|
96
88
|
google_api_expr_v1alpha1_CheckedExpr* ret = google_api_expr_v1alpha1_CheckedExpr_new(arena);
|
97
89
|
if (!ret) return NULL;
|
98
|
-
if (upb_Decode(buf, size, ret, &
|
90
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_CheckedExpr_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
99
91
|
return NULL;
|
100
92
|
}
|
101
93
|
return ret;
|
@@ -105,7 +97,7 @@ UPB_INLINE google_api_expr_v1alpha1_CheckedExpr* google_api_expr_v1alpha1_Checke
|
|
105
97
|
int options, upb_Arena* arena) {
|
106
98
|
google_api_expr_v1alpha1_CheckedExpr* ret = google_api_expr_v1alpha1_CheckedExpr_new(arena);
|
107
99
|
if (!ret) return NULL;
|
108
|
-
if (upb_Decode(buf, size, ret, &
|
100
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_CheckedExpr_msg_init, extreg, options, arena) !=
|
109
101
|
kUpb_DecodeStatus_Ok) {
|
110
102
|
return NULL;
|
111
103
|
}
|
@@ -113,107 +105,157 @@ UPB_INLINE google_api_expr_v1alpha1_CheckedExpr* google_api_expr_v1alpha1_Checke
|
|
113
105
|
}
|
114
106
|
UPB_INLINE char* google_api_expr_v1alpha1_CheckedExpr_serialize(const google_api_expr_v1alpha1_CheckedExpr* msg, upb_Arena* arena, size_t* len) {
|
115
107
|
char* ptr;
|
116
|
-
(void)upb_Encode(msg, &
|
108
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_CheckedExpr_msg_init, 0, arena, &ptr, len);
|
117
109
|
return ptr;
|
118
110
|
}
|
119
111
|
UPB_INLINE char* google_api_expr_v1alpha1_CheckedExpr_serialize_ex(const google_api_expr_v1alpha1_CheckedExpr* msg, int options,
|
120
112
|
upb_Arena* arena, size_t* len) {
|
121
113
|
char* ptr;
|
122
|
-
(void)upb_Encode(msg, &
|
114
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_CheckedExpr_msg_init, options, arena, &ptr, len);
|
123
115
|
return ptr;
|
124
116
|
}
|
125
|
-
UPB_INLINE
|
126
|
-
|
127
|
-
|
128
|
-
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_clear_reference_map(const google_api_expr_v1alpha1_CheckedExpr* msg) {
|
129
|
-
_upb_array_detach(msg, UPB_SIZE(4, 8));
|
117
|
+
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_clear_reference_map(google_api_expr_v1alpha1_CheckedExpr* msg) {
|
118
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, kUpb_FieldMode_Map | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
119
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
130
120
|
}
|
131
121
|
UPB_INLINE size_t google_api_expr_v1alpha1_CheckedExpr_reference_map_size(const google_api_expr_v1alpha1_CheckedExpr* msg) {
|
132
|
-
|
122
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, kUpb_FieldMode_Map | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
123
|
+
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
124
|
+
return map ? _upb_Map_Size(map) : 0;
|
133
125
|
}
|
134
126
|
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_reference_map_get(const google_api_expr_v1alpha1_CheckedExpr* msg, int64_t key, google_api_expr_v1alpha1_Reference** val) {
|
135
|
-
|
127
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, kUpb_FieldMode_Map | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
128
|
+
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
129
|
+
if (!map) return false;
|
130
|
+
return _upb_Map_Get(map, &key, sizeof(key), val, sizeof(*val));
|
136
131
|
}
|
137
132
|
UPB_INLINE const google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry* google_api_expr_v1alpha1_CheckedExpr_reference_map_next(const google_api_expr_v1alpha1_CheckedExpr* msg, size_t* iter) {
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
return
|
133
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, kUpb_FieldMode_Map | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
134
|
+
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
135
|
+
if (!map) return NULL;
|
136
|
+
return (const google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry*)_upb_map_next(map, iter);
|
142
137
|
}
|
143
|
-
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_clear_type_map(
|
144
|
-
|
138
|
+
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_clear_type_map(google_api_expr_v1alpha1_CheckedExpr* msg) {
|
139
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, kUpb_FieldMode_Map | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
140
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
145
141
|
}
|
146
142
|
UPB_INLINE size_t google_api_expr_v1alpha1_CheckedExpr_type_map_size(const google_api_expr_v1alpha1_CheckedExpr* msg) {
|
147
|
-
|
143
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, kUpb_FieldMode_Map | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
144
|
+
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
145
|
+
return map ? _upb_Map_Size(map) : 0;
|
148
146
|
}
|
149
147
|
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_type_map_get(const google_api_expr_v1alpha1_CheckedExpr* msg, int64_t key, google_api_expr_v1alpha1_Type** val) {
|
150
|
-
|
148
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, kUpb_FieldMode_Map | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
149
|
+
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
150
|
+
if (!map) return false;
|
151
|
+
return _upb_Map_Get(map, &key, sizeof(key), val, sizeof(*val));
|
151
152
|
}
|
152
153
|
UPB_INLINE const google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry* google_api_expr_v1alpha1_CheckedExpr_type_map_next(const google_api_expr_v1alpha1_CheckedExpr* msg, size_t* iter) {
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
return
|
154
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, kUpb_FieldMode_Map | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
155
|
+
const upb_Map* map = upb_Message_GetMap(msg, &field);
|
156
|
+
if (!map) return NULL;
|
157
|
+
return (const google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry*)_upb_map_next(map, iter);
|
157
158
|
}
|
158
|
-
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_clear_expr(
|
159
|
-
|
159
|
+
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_clear_expr(google_api_expr_v1alpha1_CheckedExpr* msg) {
|
160
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 1, 2, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
161
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
160
162
|
}
|
161
163
|
UPB_INLINE const struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_CheckedExpr_expr(const google_api_expr_v1alpha1_CheckedExpr* msg) {
|
162
|
-
|
164
|
+
const struct google_api_expr_v1alpha1_Expr* default_val = NULL;
|
165
|
+
const struct google_api_expr_v1alpha1_Expr* ret;
|
166
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 1, 2, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
167
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
168
|
+
return ret;
|
163
169
|
}
|
164
|
-
UPB_INLINE bool
|
165
|
-
|
170
|
+
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_has_expr(const google_api_expr_v1alpha1_CheckedExpr* msg) {
|
171
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 1, 2, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
172
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
166
173
|
}
|
167
|
-
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_clear_source_info(
|
168
|
-
|
174
|
+
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_clear_source_info(google_api_expr_v1alpha1_CheckedExpr* msg) {
|
175
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 32), 2, 3, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
176
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
169
177
|
}
|
170
178
|
UPB_INLINE const struct google_api_expr_v1alpha1_SourceInfo* google_api_expr_v1alpha1_CheckedExpr_source_info(const google_api_expr_v1alpha1_CheckedExpr* msg) {
|
171
|
-
|
179
|
+
const struct google_api_expr_v1alpha1_SourceInfo* default_val = NULL;
|
180
|
+
const struct google_api_expr_v1alpha1_SourceInfo* ret;
|
181
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 32), 2, 3, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
182
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
183
|
+
return ret;
|
184
|
+
}
|
185
|
+
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_has_source_info(const google_api_expr_v1alpha1_CheckedExpr* msg) {
|
186
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 32), 2, 3, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
187
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
172
188
|
}
|
173
189
|
|
174
|
-
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_reference_map_clear(google_api_expr_v1alpha1_CheckedExpr* msg) {
|
190
|
+
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_reference_map_clear(google_api_expr_v1alpha1_CheckedExpr* msg) {
|
191
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, kUpb_FieldMode_Map | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
192
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
193
|
+
if (!map) return;
|
194
|
+
_upb_Map_Clear(map);
|
195
|
+
}
|
175
196
|
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_reference_map_set(google_api_expr_v1alpha1_CheckedExpr* msg, int64_t key, google_api_expr_v1alpha1_Reference* val, upb_Arena* a) {
|
176
|
-
|
197
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, kUpb_FieldMode_Map | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
198
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, sizeof(key), sizeof(val), a);
|
199
|
+
return _upb_Map_Insert(map, &key, sizeof(key), &val, sizeof(val), a) !=
|
200
|
+
kUpb_MapInsertStatus_OutOfMemory;
|
177
201
|
}
|
178
202
|
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_reference_map_delete(google_api_expr_v1alpha1_CheckedExpr* msg, int64_t key) {
|
179
|
-
|
203
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, kUpb_FieldMode_Map | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
204
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
205
|
+
if (!map) return false;
|
206
|
+
return _upb_Map_Delete(map, &key, sizeof(key), NULL);
|
180
207
|
}
|
181
208
|
UPB_INLINE google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry* google_api_expr_v1alpha1_CheckedExpr_reference_map_nextmutable(google_api_expr_v1alpha1_CheckedExpr* msg, size_t* iter) {
|
182
|
-
|
209
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, kUpb_FieldMode_Map | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
210
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
211
|
+
if (!map) return NULL;
|
212
|
+
return (google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry*)_upb_map_next(map, iter);
|
213
|
+
}
|
214
|
+
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_type_map_clear(google_api_expr_v1alpha1_CheckedExpr* msg) {
|
215
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, kUpb_FieldMode_Map | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
216
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
217
|
+
if (!map) return;
|
218
|
+
_upb_Map_Clear(map);
|
183
219
|
}
|
184
|
-
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_type_map_clear(google_api_expr_v1alpha1_CheckedExpr* msg) { _upb_msg_map_clear(msg, UPB_SIZE(8, 16)); }
|
185
220
|
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_type_map_set(google_api_expr_v1alpha1_CheckedExpr* msg, int64_t key, google_api_expr_v1alpha1_Type* val, upb_Arena* a) {
|
186
|
-
|
221
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, kUpb_FieldMode_Map | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
222
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, sizeof(key), sizeof(val), a);
|
223
|
+
return _upb_Map_Insert(map, &key, sizeof(key), &val, sizeof(val), a) !=
|
224
|
+
kUpb_MapInsertStatus_OutOfMemory;
|
187
225
|
}
|
188
226
|
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_type_map_delete(google_api_expr_v1alpha1_CheckedExpr* msg, int64_t key) {
|
189
|
-
|
227
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, kUpb_FieldMode_Map | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
228
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
229
|
+
if (!map) return false;
|
230
|
+
return _upb_Map_Delete(map, &key, sizeof(key), NULL);
|
190
231
|
}
|
191
232
|
UPB_INLINE google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry* google_api_expr_v1alpha1_CheckedExpr_type_map_nextmutable(google_api_expr_v1alpha1_CheckedExpr* msg, size_t* iter) {
|
192
|
-
|
233
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, 1, 11, kUpb_FieldMode_Map | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
234
|
+
upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field);
|
235
|
+
if (!map) return NULL;
|
236
|
+
return (google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry*)_upb_map_next(map, iter);
|
193
237
|
}
|
194
238
|
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_set_expr(google_api_expr_v1alpha1_CheckedExpr *msg, struct google_api_expr_v1alpha1_Expr* value) {
|
195
|
-
|
196
|
-
|
239
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 1, 2, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
240
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
197
241
|
}
|
198
242
|
UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_CheckedExpr_mutable_expr(google_api_expr_v1alpha1_CheckedExpr* msg, upb_Arena* arena) {
|
199
243
|
struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_CheckedExpr_expr(msg);
|
200
244
|
if (sub == NULL) {
|
201
|
-
sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&
|
202
|
-
if (
|
203
|
-
google_api_expr_v1alpha1_CheckedExpr_set_expr(msg, sub);
|
245
|
+
sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_msg_init, arena);
|
246
|
+
if (sub) google_api_expr_v1alpha1_CheckedExpr_set_expr(msg, sub);
|
204
247
|
}
|
205
248
|
return sub;
|
206
249
|
}
|
207
250
|
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_set_source_info(google_api_expr_v1alpha1_CheckedExpr *msg, struct google_api_expr_v1alpha1_SourceInfo* value) {
|
208
|
-
|
209
|
-
|
251
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 32), 2, 3, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
252
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
210
253
|
}
|
211
254
|
UPB_INLINE struct google_api_expr_v1alpha1_SourceInfo* google_api_expr_v1alpha1_CheckedExpr_mutable_source_info(google_api_expr_v1alpha1_CheckedExpr* msg, upb_Arena* arena) {
|
212
255
|
struct google_api_expr_v1alpha1_SourceInfo* sub = (struct google_api_expr_v1alpha1_SourceInfo*)google_api_expr_v1alpha1_CheckedExpr_source_info(msg);
|
213
256
|
if (sub == NULL) {
|
214
|
-
sub = (struct google_api_expr_v1alpha1_SourceInfo*)_upb_Message_New(&
|
215
|
-
if (
|
216
|
-
google_api_expr_v1alpha1_CheckedExpr_set_source_info(msg, sub);
|
257
|
+
sub = (struct google_api_expr_v1alpha1_SourceInfo*)_upb_Message_New(&google_api_expr_v1alpha1_SourceInfo_msg_init, arena);
|
258
|
+
if (sub) google_api_expr_v1alpha1_CheckedExpr_set_source_info(msg, sub);
|
217
259
|
}
|
218
260
|
return sub;
|
219
261
|
}
|
@@ -225,14 +267,15 @@ UPB_INLINE int64_t google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_key(co
|
|
225
267
|
_upb_msg_map_key(msg, &ret, sizeof(ret));
|
226
268
|
return ret;
|
227
269
|
}
|
228
|
-
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_has_value(const google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry* msg) {
|
229
|
-
return _upb_has_submsg_nohasbit(msg, UPB_SIZE(8, 16));
|
230
|
-
}
|
231
270
|
UPB_INLINE const google_api_expr_v1alpha1_Reference* google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_value(const google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry* msg) {
|
232
271
|
google_api_expr_v1alpha1_Reference* ret;
|
233
272
|
_upb_msg_map_value(msg, &ret, sizeof(ret));
|
234
273
|
return ret;
|
235
274
|
}
|
275
|
+
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_has_value(const google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry* msg) {
|
276
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
277
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
278
|
+
}
|
236
279
|
|
237
280
|
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_set_value(google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry *msg, google_api_expr_v1alpha1_Reference* value) {
|
238
281
|
_upb_msg_map_set_value(msg, &value, sizeof(google_api_expr_v1alpha1_Reference*));
|
@@ -245,14 +288,15 @@ UPB_INLINE int64_t google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_key(const g
|
|
245
288
|
_upb_msg_map_key(msg, &ret, sizeof(ret));
|
246
289
|
return ret;
|
247
290
|
}
|
248
|
-
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_has_value(const google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry* msg) {
|
249
|
-
return _upb_has_submsg_nohasbit(msg, UPB_SIZE(8, 16));
|
250
|
-
}
|
251
291
|
UPB_INLINE const google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_value(const google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry* msg) {
|
252
292
|
google_api_expr_v1alpha1_Type* ret;
|
253
293
|
_upb_msg_map_value(msg, &ret, sizeof(ret));
|
254
294
|
return ret;
|
255
295
|
}
|
296
|
+
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_has_value(const google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry* msg) {
|
297
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
298
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
299
|
+
}
|
256
300
|
|
257
301
|
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_set_value(google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry *msg, google_api_expr_v1alpha1_Type* value) {
|
258
302
|
_upb_msg_map_set_value(msg, &value, sizeof(google_api_expr_v1alpha1_Type*));
|
@@ -261,12 +305,12 @@ UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_set_value(goog
|
|
261
305
|
/* google.api.expr.v1alpha1.Type */
|
262
306
|
|
263
307
|
UPB_INLINE google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_new(upb_Arena* arena) {
|
264
|
-
return (google_api_expr_v1alpha1_Type*)_upb_Message_New(&
|
308
|
+
return (google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena);
|
265
309
|
}
|
266
310
|
UPB_INLINE google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_parse(const char* buf, size_t size, upb_Arena* arena) {
|
267
311
|
google_api_expr_v1alpha1_Type* ret = google_api_expr_v1alpha1_Type_new(arena);
|
268
312
|
if (!ret) return NULL;
|
269
|
-
if (upb_Decode(buf, size, ret, &
|
313
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
270
314
|
return NULL;
|
271
315
|
}
|
272
316
|
return ret;
|
@@ -276,7 +320,7 @@ UPB_INLINE google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_parse_ex
|
|
276
320
|
int options, upb_Arena* arena) {
|
277
321
|
google_api_expr_v1alpha1_Type* ret = google_api_expr_v1alpha1_Type_new(arena);
|
278
322
|
if (!ret) return NULL;
|
279
|
-
if (upb_Decode(buf, size, ret, &
|
323
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_msg_init, extreg, options, arena) !=
|
280
324
|
kUpb_DecodeStatus_Ok) {
|
281
325
|
return NULL;
|
282
326
|
}
|
@@ -284,13 +328,13 @@ UPB_INLINE google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_parse_ex
|
|
284
328
|
}
|
285
329
|
UPB_INLINE char* google_api_expr_v1alpha1_Type_serialize(const google_api_expr_v1alpha1_Type* msg, upb_Arena* arena, size_t* len) {
|
286
330
|
char* ptr;
|
287
|
-
(void)upb_Encode(msg, &
|
331
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_msg_init, 0, arena, &ptr, len);
|
288
332
|
return ptr;
|
289
333
|
}
|
290
334
|
UPB_INLINE char* google_api_expr_v1alpha1_Type_serialize_ex(const google_api_expr_v1alpha1_Type* msg, int options,
|
291
335
|
upb_Arena* arena, size_t* len) {
|
292
336
|
char* ptr;
|
293
|
-
(void)upb_Encode(msg, &
|
337
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_msg_init, options, arena, &ptr, len);
|
294
338
|
return ptr;
|
295
339
|
}
|
296
340
|
typedef enum {
|
@@ -310,225 +354,310 @@ typedef enum {
|
|
310
354
|
google_api_expr_v1alpha1_Type_type_kind_NOT_SET = 0
|
311
355
|
} google_api_expr_v1alpha1_Type_type_kind_oneofcases;
|
312
356
|
UPB_INLINE google_api_expr_v1alpha1_Type_type_kind_oneofcases google_api_expr_v1alpha1_Type_type_kind_case(const google_api_expr_v1alpha1_Type* msg) {
|
313
|
-
|
314
|
-
|
315
|
-
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_dyn(const google_api_expr_v1alpha1_Type* msg) {
|
316
|
-
return _upb_getoneofcase(msg, UPB_SIZE(0, 0)) == 1;
|
357
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
358
|
+
return (google_api_expr_v1alpha1_Type_type_kind_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field);
|
317
359
|
}
|
318
|
-
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_dyn(
|
319
|
-
|
360
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_dyn(google_api_expr_v1alpha1_Type* msg) {
|
361
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
362
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
320
363
|
}
|
321
364
|
UPB_INLINE const struct google_protobuf_Empty* google_api_expr_v1alpha1_Type_dyn(const google_api_expr_v1alpha1_Type* msg) {
|
322
|
-
|
365
|
+
const struct google_protobuf_Empty* default_val = NULL;
|
366
|
+
const struct google_protobuf_Empty* ret;
|
367
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
368
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
369
|
+
return ret;
|
323
370
|
}
|
324
|
-
UPB_INLINE bool
|
325
|
-
|
371
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_dyn(const google_api_expr_v1alpha1_Type* msg) {
|
372
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
373
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
326
374
|
}
|
327
|
-
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_null(
|
328
|
-
|
375
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_null(google_api_expr_v1alpha1_Type* msg) {
|
376
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
377
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
329
378
|
}
|
330
379
|
UPB_INLINE int32_t google_api_expr_v1alpha1_Type_null(const google_api_expr_v1alpha1_Type* msg) {
|
331
|
-
|
380
|
+
int32_t default_val = 0;
|
381
|
+
int32_t ret;
|
382
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
383
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
384
|
+
return ret;
|
332
385
|
}
|
333
|
-
UPB_INLINE bool
|
334
|
-
|
386
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_null(const google_api_expr_v1alpha1_Type* msg) {
|
387
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
388
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
335
389
|
}
|
336
|
-
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_primitive(
|
337
|
-
|
390
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_primitive(google_api_expr_v1alpha1_Type* msg) {
|
391
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
392
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
338
393
|
}
|
339
394
|
UPB_INLINE int32_t google_api_expr_v1alpha1_Type_primitive(const google_api_expr_v1alpha1_Type* msg) {
|
340
|
-
|
395
|
+
int32_t default_val = 0;
|
396
|
+
int32_t ret;
|
397
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
398
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
399
|
+
return ret;
|
341
400
|
}
|
342
|
-
UPB_INLINE bool
|
343
|
-
|
401
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_primitive(const google_api_expr_v1alpha1_Type* msg) {
|
402
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
403
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
344
404
|
}
|
345
|
-
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_wrapper(
|
346
|
-
|
405
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_wrapper(google_api_expr_v1alpha1_Type* msg) {
|
406
|
+
const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
407
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
347
408
|
}
|
348
409
|
UPB_INLINE int32_t google_api_expr_v1alpha1_Type_wrapper(const google_api_expr_v1alpha1_Type* msg) {
|
349
|
-
|
410
|
+
int32_t default_val = 0;
|
411
|
+
int32_t ret;
|
412
|
+
const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
413
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
414
|
+
return ret;
|
350
415
|
}
|
351
|
-
UPB_INLINE bool
|
352
|
-
|
416
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_wrapper(const google_api_expr_v1alpha1_Type* msg) {
|
417
|
+
const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
418
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
353
419
|
}
|
354
|
-
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_well_known(
|
355
|
-
|
420
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_well_known(google_api_expr_v1alpha1_Type* msg) {
|
421
|
+
const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
422
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
356
423
|
}
|
357
424
|
UPB_INLINE int32_t google_api_expr_v1alpha1_Type_well_known(const google_api_expr_v1alpha1_Type* msg) {
|
358
|
-
|
425
|
+
int32_t default_val = 0;
|
426
|
+
int32_t ret;
|
427
|
+
const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
428
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
429
|
+
return ret;
|
359
430
|
}
|
360
|
-
UPB_INLINE bool
|
361
|
-
|
431
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_well_known(const google_api_expr_v1alpha1_Type* msg) {
|
432
|
+
const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
433
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
362
434
|
}
|
363
|
-
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_list_type(
|
364
|
-
|
435
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_list_type(google_api_expr_v1alpha1_Type* msg) {
|
436
|
+
const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
437
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
365
438
|
}
|
366
439
|
UPB_INLINE const google_api_expr_v1alpha1_Type_ListType* google_api_expr_v1alpha1_Type_list_type(const google_api_expr_v1alpha1_Type* msg) {
|
367
|
-
|
440
|
+
const google_api_expr_v1alpha1_Type_ListType* default_val = NULL;
|
441
|
+
const google_api_expr_v1alpha1_Type_ListType* ret;
|
442
|
+
const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
443
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
444
|
+
return ret;
|
368
445
|
}
|
369
|
-
UPB_INLINE bool
|
370
|
-
|
446
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_list_type(const google_api_expr_v1alpha1_Type* msg) {
|
447
|
+
const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
448
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
371
449
|
}
|
372
|
-
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_map_type(
|
373
|
-
|
450
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_map_type(google_api_expr_v1alpha1_Type* msg) {
|
451
|
+
const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 2, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
452
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
374
453
|
}
|
375
454
|
UPB_INLINE const google_api_expr_v1alpha1_Type_MapType* google_api_expr_v1alpha1_Type_map_type(const google_api_expr_v1alpha1_Type* msg) {
|
376
|
-
|
455
|
+
const google_api_expr_v1alpha1_Type_MapType* default_val = NULL;
|
456
|
+
const google_api_expr_v1alpha1_Type_MapType* ret;
|
457
|
+
const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 2, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
458
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
459
|
+
return ret;
|
377
460
|
}
|
378
|
-
UPB_INLINE bool
|
379
|
-
|
461
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_map_type(const google_api_expr_v1alpha1_Type* msg) {
|
462
|
+
const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 2, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
463
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
380
464
|
}
|
381
|
-
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_function(
|
382
|
-
|
465
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_function(google_api_expr_v1alpha1_Type* msg) {
|
466
|
+
const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 3, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
467
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
383
468
|
}
|
384
469
|
UPB_INLINE const google_api_expr_v1alpha1_Type_FunctionType* google_api_expr_v1alpha1_Type_function(const google_api_expr_v1alpha1_Type* msg) {
|
385
|
-
|
470
|
+
const google_api_expr_v1alpha1_Type_FunctionType* default_val = NULL;
|
471
|
+
const google_api_expr_v1alpha1_Type_FunctionType* ret;
|
472
|
+
const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 3, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
473
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
474
|
+
return ret;
|
386
475
|
}
|
387
|
-
UPB_INLINE bool
|
388
|
-
|
476
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_function(const google_api_expr_v1alpha1_Type* msg) {
|
477
|
+
const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 3, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
478
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
389
479
|
}
|
390
|
-
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_message_type(
|
391
|
-
|
480
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_message_type(google_api_expr_v1alpha1_Type* msg) {
|
481
|
+
const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
482
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
392
483
|
}
|
393
484
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_Type_message_type(const google_api_expr_v1alpha1_Type* msg) {
|
394
|
-
|
485
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
486
|
+
upb_StringView ret;
|
487
|
+
const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
488
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
489
|
+
return ret;
|
395
490
|
}
|
396
|
-
UPB_INLINE bool
|
397
|
-
|
491
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_message_type(const google_api_expr_v1alpha1_Type* msg) {
|
492
|
+
const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
493
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
398
494
|
}
|
399
|
-
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_type_param(
|
400
|
-
|
495
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_type_param(google_api_expr_v1alpha1_Type* msg) {
|
496
|
+
const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
497
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
401
498
|
}
|
402
499
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_Type_type_param(const google_api_expr_v1alpha1_Type* msg) {
|
403
|
-
|
500
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
501
|
+
upb_StringView ret;
|
502
|
+
const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
503
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
504
|
+
return ret;
|
404
505
|
}
|
405
|
-
UPB_INLINE bool
|
406
|
-
|
506
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_type_param(const google_api_expr_v1alpha1_Type* msg) {
|
507
|
+
const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
508
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
407
509
|
}
|
408
|
-
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_type(
|
409
|
-
|
510
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_type(google_api_expr_v1alpha1_Type* msg) {
|
511
|
+
const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 4, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
512
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
410
513
|
}
|
411
514
|
UPB_INLINE const google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_type(const google_api_expr_v1alpha1_Type* msg) {
|
412
|
-
|
515
|
+
const google_api_expr_v1alpha1_Type* default_val = NULL;
|
516
|
+
const google_api_expr_v1alpha1_Type* ret;
|
517
|
+
const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 4, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
518
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
519
|
+
return ret;
|
413
520
|
}
|
414
|
-
UPB_INLINE bool
|
415
|
-
|
521
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_type(const google_api_expr_v1alpha1_Type* msg) {
|
522
|
+
const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 4, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
523
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
416
524
|
}
|
417
|
-
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_error(
|
418
|
-
|
525
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_error(google_api_expr_v1alpha1_Type* msg) {
|
526
|
+
const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 5, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
527
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
419
528
|
}
|
420
529
|
UPB_INLINE const struct google_protobuf_Empty* google_api_expr_v1alpha1_Type_error(const google_api_expr_v1alpha1_Type* msg) {
|
421
|
-
|
530
|
+
const struct google_protobuf_Empty* default_val = NULL;
|
531
|
+
const struct google_protobuf_Empty* ret;
|
532
|
+
const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 5, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
533
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
534
|
+
return ret;
|
422
535
|
}
|
423
|
-
UPB_INLINE bool
|
424
|
-
|
536
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_error(const google_api_expr_v1alpha1_Type* msg) {
|
537
|
+
const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 5, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
538
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
425
539
|
}
|
426
|
-
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_abstract_type(
|
427
|
-
|
540
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_clear_abstract_type(google_api_expr_v1alpha1_Type* msg) {
|
541
|
+
const upb_MiniTableField field = {14, UPB_SIZE(4, 8), -1, 6, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
542
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
428
543
|
}
|
429
544
|
UPB_INLINE const google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1alpha1_Type_abstract_type(const google_api_expr_v1alpha1_Type* msg) {
|
430
|
-
|
545
|
+
const google_api_expr_v1alpha1_Type_AbstractType* default_val = NULL;
|
546
|
+
const google_api_expr_v1alpha1_Type_AbstractType* ret;
|
547
|
+
const upb_MiniTableField field = {14, UPB_SIZE(4, 8), -1, 6, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
548
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
549
|
+
return ret;
|
550
|
+
}
|
551
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_abstract_type(const google_api_expr_v1alpha1_Type* msg) {
|
552
|
+
const upb_MiniTableField field = {14, UPB_SIZE(4, 8), -1, 6, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
553
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
431
554
|
}
|
432
555
|
|
433
556
|
UPB_INLINE void google_api_expr_v1alpha1_Type_set_dyn(google_api_expr_v1alpha1_Type *msg, struct google_protobuf_Empty* value) {
|
434
|
-
|
557
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
558
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
435
559
|
}
|
436
560
|
UPB_INLINE struct google_protobuf_Empty* google_api_expr_v1alpha1_Type_mutable_dyn(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) {
|
437
561
|
struct google_protobuf_Empty* sub = (struct google_protobuf_Empty*)google_api_expr_v1alpha1_Type_dyn(msg);
|
438
562
|
if (sub == NULL) {
|
439
|
-
sub = (struct google_protobuf_Empty*)_upb_Message_New(&
|
440
|
-
if (
|
441
|
-
google_api_expr_v1alpha1_Type_set_dyn(msg, sub);
|
563
|
+
sub = (struct google_protobuf_Empty*)_upb_Message_New(&google_protobuf_Empty_msg_init, arena);
|
564
|
+
if (sub) google_api_expr_v1alpha1_Type_set_dyn(msg, sub);
|
442
565
|
}
|
443
566
|
return sub;
|
444
567
|
}
|
445
568
|
UPB_INLINE void google_api_expr_v1alpha1_Type_set_null(google_api_expr_v1alpha1_Type *msg, int32_t value) {
|
446
|
-
|
569
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
570
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
447
571
|
}
|
448
572
|
UPB_INLINE void google_api_expr_v1alpha1_Type_set_primitive(google_api_expr_v1alpha1_Type *msg, int32_t value) {
|
449
|
-
|
573
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
574
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
450
575
|
}
|
451
576
|
UPB_INLINE void google_api_expr_v1alpha1_Type_set_wrapper(google_api_expr_v1alpha1_Type *msg, int32_t value) {
|
452
|
-
|
577
|
+
const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
578
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
453
579
|
}
|
454
580
|
UPB_INLINE void google_api_expr_v1alpha1_Type_set_well_known(google_api_expr_v1alpha1_Type *msg, int32_t value) {
|
455
|
-
|
581
|
+
const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
582
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
456
583
|
}
|
457
584
|
UPB_INLINE void google_api_expr_v1alpha1_Type_set_list_type(google_api_expr_v1alpha1_Type *msg, google_api_expr_v1alpha1_Type_ListType* value) {
|
458
|
-
|
585
|
+
const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
586
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
459
587
|
}
|
460
588
|
UPB_INLINE struct google_api_expr_v1alpha1_Type_ListType* google_api_expr_v1alpha1_Type_mutable_list_type(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) {
|
461
589
|
struct google_api_expr_v1alpha1_Type_ListType* sub = (struct google_api_expr_v1alpha1_Type_ListType*)google_api_expr_v1alpha1_Type_list_type(msg);
|
462
590
|
if (sub == NULL) {
|
463
|
-
sub = (struct google_api_expr_v1alpha1_Type_ListType*)_upb_Message_New(&
|
464
|
-
if (
|
465
|
-
google_api_expr_v1alpha1_Type_set_list_type(msg, sub);
|
591
|
+
sub = (struct google_api_expr_v1alpha1_Type_ListType*)_upb_Message_New(&google_api_expr_v1alpha1_Type_ListType_msg_init, arena);
|
592
|
+
if (sub) google_api_expr_v1alpha1_Type_set_list_type(msg, sub);
|
466
593
|
}
|
467
594
|
return sub;
|
468
595
|
}
|
469
596
|
UPB_INLINE void google_api_expr_v1alpha1_Type_set_map_type(google_api_expr_v1alpha1_Type *msg, google_api_expr_v1alpha1_Type_MapType* value) {
|
470
|
-
|
597
|
+
const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 2, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
598
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
471
599
|
}
|
472
600
|
UPB_INLINE struct google_api_expr_v1alpha1_Type_MapType* google_api_expr_v1alpha1_Type_mutable_map_type(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) {
|
473
601
|
struct google_api_expr_v1alpha1_Type_MapType* sub = (struct google_api_expr_v1alpha1_Type_MapType*)google_api_expr_v1alpha1_Type_map_type(msg);
|
474
602
|
if (sub == NULL) {
|
475
|
-
sub = (struct google_api_expr_v1alpha1_Type_MapType*)_upb_Message_New(&
|
476
|
-
if (
|
477
|
-
google_api_expr_v1alpha1_Type_set_map_type(msg, sub);
|
603
|
+
sub = (struct google_api_expr_v1alpha1_Type_MapType*)_upb_Message_New(&google_api_expr_v1alpha1_Type_MapType_msg_init, arena);
|
604
|
+
if (sub) google_api_expr_v1alpha1_Type_set_map_type(msg, sub);
|
478
605
|
}
|
479
606
|
return sub;
|
480
607
|
}
|
481
608
|
UPB_INLINE void google_api_expr_v1alpha1_Type_set_function(google_api_expr_v1alpha1_Type *msg, google_api_expr_v1alpha1_Type_FunctionType* value) {
|
482
|
-
|
609
|
+
const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 3, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
610
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
483
611
|
}
|
484
612
|
UPB_INLINE struct google_api_expr_v1alpha1_Type_FunctionType* google_api_expr_v1alpha1_Type_mutable_function(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) {
|
485
613
|
struct google_api_expr_v1alpha1_Type_FunctionType* sub = (struct google_api_expr_v1alpha1_Type_FunctionType*)google_api_expr_v1alpha1_Type_function(msg);
|
486
614
|
if (sub == NULL) {
|
487
|
-
sub = (struct google_api_expr_v1alpha1_Type_FunctionType*)_upb_Message_New(&
|
488
|
-
if (
|
489
|
-
google_api_expr_v1alpha1_Type_set_function(msg, sub);
|
615
|
+
sub = (struct google_api_expr_v1alpha1_Type_FunctionType*)_upb_Message_New(&google_api_expr_v1alpha1_Type_FunctionType_msg_init, arena);
|
616
|
+
if (sub) google_api_expr_v1alpha1_Type_set_function(msg, sub);
|
490
617
|
}
|
491
618
|
return sub;
|
492
619
|
}
|
493
620
|
UPB_INLINE void google_api_expr_v1alpha1_Type_set_message_type(google_api_expr_v1alpha1_Type *msg, upb_StringView value) {
|
494
|
-
|
621
|
+
const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
622
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
495
623
|
}
|
496
624
|
UPB_INLINE void google_api_expr_v1alpha1_Type_set_type_param(google_api_expr_v1alpha1_Type *msg, upb_StringView value) {
|
497
|
-
|
625
|
+
const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
626
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
498
627
|
}
|
499
628
|
UPB_INLINE void google_api_expr_v1alpha1_Type_set_type(google_api_expr_v1alpha1_Type *msg, google_api_expr_v1alpha1_Type* value) {
|
500
|
-
|
629
|
+
const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 4, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
630
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
501
631
|
}
|
502
632
|
UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_mutable_type(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) {
|
503
633
|
struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Type_type(msg);
|
504
634
|
if (sub == NULL) {
|
505
|
-
sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&
|
506
|
-
if (
|
507
|
-
google_api_expr_v1alpha1_Type_set_type(msg, sub);
|
635
|
+
sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena);
|
636
|
+
if (sub) google_api_expr_v1alpha1_Type_set_type(msg, sub);
|
508
637
|
}
|
509
638
|
return sub;
|
510
639
|
}
|
511
640
|
UPB_INLINE void google_api_expr_v1alpha1_Type_set_error(google_api_expr_v1alpha1_Type *msg, struct google_protobuf_Empty* value) {
|
512
|
-
|
641
|
+
const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 5, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
642
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
513
643
|
}
|
514
644
|
UPB_INLINE struct google_protobuf_Empty* google_api_expr_v1alpha1_Type_mutable_error(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) {
|
515
645
|
struct google_protobuf_Empty* sub = (struct google_protobuf_Empty*)google_api_expr_v1alpha1_Type_error(msg);
|
516
646
|
if (sub == NULL) {
|
517
|
-
sub = (struct google_protobuf_Empty*)_upb_Message_New(&
|
518
|
-
if (
|
519
|
-
google_api_expr_v1alpha1_Type_set_error(msg, sub);
|
647
|
+
sub = (struct google_protobuf_Empty*)_upb_Message_New(&google_protobuf_Empty_msg_init, arena);
|
648
|
+
if (sub) google_api_expr_v1alpha1_Type_set_error(msg, sub);
|
520
649
|
}
|
521
650
|
return sub;
|
522
651
|
}
|
523
652
|
UPB_INLINE void google_api_expr_v1alpha1_Type_set_abstract_type(google_api_expr_v1alpha1_Type *msg, google_api_expr_v1alpha1_Type_AbstractType* value) {
|
524
|
-
|
653
|
+
const upb_MiniTableField field = {14, UPB_SIZE(4, 8), -1, 6, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
654
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
525
655
|
}
|
526
656
|
UPB_INLINE struct google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1alpha1_Type_mutable_abstract_type(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) {
|
527
657
|
struct google_api_expr_v1alpha1_Type_AbstractType* sub = (struct google_api_expr_v1alpha1_Type_AbstractType*)google_api_expr_v1alpha1_Type_abstract_type(msg);
|
528
658
|
if (sub == NULL) {
|
529
|
-
sub = (struct google_api_expr_v1alpha1_Type_AbstractType*)_upb_Message_New(&
|
530
|
-
if (
|
531
|
-
google_api_expr_v1alpha1_Type_set_abstract_type(msg, sub);
|
659
|
+
sub = (struct google_api_expr_v1alpha1_Type_AbstractType*)_upb_Message_New(&google_api_expr_v1alpha1_Type_AbstractType_msg_init, arena);
|
660
|
+
if (sub) google_api_expr_v1alpha1_Type_set_abstract_type(msg, sub);
|
532
661
|
}
|
533
662
|
return sub;
|
534
663
|
}
|
@@ -536,12 +665,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1
|
|
536
665
|
/* google.api.expr.v1alpha1.Type.ListType */
|
537
666
|
|
538
667
|
UPB_INLINE google_api_expr_v1alpha1_Type_ListType* google_api_expr_v1alpha1_Type_ListType_new(upb_Arena* arena) {
|
539
|
-
return (google_api_expr_v1alpha1_Type_ListType*)_upb_Message_New(&
|
668
|
+
return (google_api_expr_v1alpha1_Type_ListType*)_upb_Message_New(&google_api_expr_v1alpha1_Type_ListType_msg_init, arena);
|
540
669
|
}
|
541
670
|
UPB_INLINE google_api_expr_v1alpha1_Type_ListType* google_api_expr_v1alpha1_Type_ListType_parse(const char* buf, size_t size, upb_Arena* arena) {
|
542
671
|
google_api_expr_v1alpha1_Type_ListType* ret = google_api_expr_v1alpha1_Type_ListType_new(arena);
|
543
672
|
if (!ret) return NULL;
|
544
|
-
if (upb_Decode(buf, size, ret, &
|
673
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_ListType_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
545
674
|
return NULL;
|
546
675
|
}
|
547
676
|
return ret;
|
@@ -551,7 +680,7 @@ UPB_INLINE google_api_expr_v1alpha1_Type_ListType* google_api_expr_v1alpha1_Type
|
|
551
680
|
int options, upb_Arena* arena) {
|
552
681
|
google_api_expr_v1alpha1_Type_ListType* ret = google_api_expr_v1alpha1_Type_ListType_new(arena);
|
553
682
|
if (!ret) return NULL;
|
554
|
-
if (upb_Decode(buf, size, ret, &
|
683
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_ListType_msg_init, extreg, options, arena) !=
|
555
684
|
kUpb_DecodeStatus_Ok) {
|
556
685
|
return NULL;
|
557
686
|
}
|
@@ -559,35 +688,40 @@ UPB_INLINE google_api_expr_v1alpha1_Type_ListType* google_api_expr_v1alpha1_Type
|
|
559
688
|
}
|
560
689
|
UPB_INLINE char* google_api_expr_v1alpha1_Type_ListType_serialize(const google_api_expr_v1alpha1_Type_ListType* msg, upb_Arena* arena, size_t* len) {
|
561
690
|
char* ptr;
|
562
|
-
(void)upb_Encode(msg, &
|
691
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_ListType_msg_init, 0, arena, &ptr, len);
|
563
692
|
return ptr;
|
564
693
|
}
|
565
694
|
UPB_INLINE char* google_api_expr_v1alpha1_Type_ListType_serialize_ex(const google_api_expr_v1alpha1_Type_ListType* msg, int options,
|
566
695
|
upb_Arena* arena, size_t* len) {
|
567
696
|
char* ptr;
|
568
|
-
(void)upb_Encode(msg, &
|
697
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_ListType_msg_init, options, arena, &ptr, len);
|
569
698
|
return ptr;
|
570
699
|
}
|
571
|
-
UPB_INLINE
|
572
|
-
|
573
|
-
|
574
|
-
UPB_INLINE void google_api_expr_v1alpha1_Type_ListType_clear_elem_type(const google_api_expr_v1alpha1_Type_ListType* msg) {
|
575
|
-
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
|
700
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_ListType_clear_elem_type(google_api_expr_v1alpha1_Type_ListType* msg) {
|
701
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
702
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
576
703
|
}
|
577
704
|
UPB_INLINE const google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_ListType_elem_type(const google_api_expr_v1alpha1_Type_ListType* msg) {
|
578
|
-
|
705
|
+
const google_api_expr_v1alpha1_Type* default_val = NULL;
|
706
|
+
const google_api_expr_v1alpha1_Type* ret;
|
707
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
708
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
709
|
+
return ret;
|
710
|
+
}
|
711
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_ListType_has_elem_type(const google_api_expr_v1alpha1_Type_ListType* msg) {
|
712
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
713
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
579
714
|
}
|
580
715
|
|
581
716
|
UPB_INLINE void google_api_expr_v1alpha1_Type_ListType_set_elem_type(google_api_expr_v1alpha1_Type_ListType *msg, google_api_expr_v1alpha1_Type* value) {
|
582
|
-
|
583
|
-
|
717
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
718
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
584
719
|
}
|
585
720
|
UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_ListType_mutable_elem_type(google_api_expr_v1alpha1_Type_ListType* msg, upb_Arena* arena) {
|
586
721
|
struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Type_ListType_elem_type(msg);
|
587
722
|
if (sub == NULL) {
|
588
|
-
sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&
|
589
|
-
if (
|
590
|
-
google_api_expr_v1alpha1_Type_ListType_set_elem_type(msg, sub);
|
723
|
+
sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena);
|
724
|
+
if (sub) google_api_expr_v1alpha1_Type_ListType_set_elem_type(msg, sub);
|
591
725
|
}
|
592
726
|
return sub;
|
593
727
|
}
|
@@ -595,12 +729,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_L
|
|
595
729
|
/* google.api.expr.v1alpha1.Type.MapType */
|
596
730
|
|
597
731
|
UPB_INLINE google_api_expr_v1alpha1_Type_MapType* google_api_expr_v1alpha1_Type_MapType_new(upb_Arena* arena) {
|
598
|
-
return (google_api_expr_v1alpha1_Type_MapType*)_upb_Message_New(&
|
732
|
+
return (google_api_expr_v1alpha1_Type_MapType*)_upb_Message_New(&google_api_expr_v1alpha1_Type_MapType_msg_init, arena);
|
599
733
|
}
|
600
734
|
UPB_INLINE google_api_expr_v1alpha1_Type_MapType* google_api_expr_v1alpha1_Type_MapType_parse(const char* buf, size_t size, upb_Arena* arena) {
|
601
735
|
google_api_expr_v1alpha1_Type_MapType* ret = google_api_expr_v1alpha1_Type_MapType_new(arena);
|
602
736
|
if (!ret) return NULL;
|
603
|
-
if (upb_Decode(buf, size, ret, &
|
737
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_MapType_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
604
738
|
return NULL;
|
605
739
|
}
|
606
740
|
return ret;
|
@@ -610,7 +744,7 @@ UPB_INLINE google_api_expr_v1alpha1_Type_MapType* google_api_expr_v1alpha1_Type_
|
|
610
744
|
int options, upb_Arena* arena) {
|
611
745
|
google_api_expr_v1alpha1_Type_MapType* ret = google_api_expr_v1alpha1_Type_MapType_new(arena);
|
612
746
|
if (!ret) return NULL;
|
613
|
-
if (upb_Decode(buf, size, ret, &
|
747
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_MapType_msg_init, extreg, options, arena) !=
|
614
748
|
kUpb_DecodeStatus_Ok) {
|
615
749
|
return NULL;
|
616
750
|
}
|
@@ -618,57 +752,67 @@ UPB_INLINE google_api_expr_v1alpha1_Type_MapType* google_api_expr_v1alpha1_Type_
|
|
618
752
|
}
|
619
753
|
UPB_INLINE char* google_api_expr_v1alpha1_Type_MapType_serialize(const google_api_expr_v1alpha1_Type_MapType* msg, upb_Arena* arena, size_t* len) {
|
620
754
|
char* ptr;
|
621
|
-
(void)upb_Encode(msg, &
|
755
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_MapType_msg_init, 0, arena, &ptr, len);
|
622
756
|
return ptr;
|
623
757
|
}
|
624
758
|
UPB_INLINE char* google_api_expr_v1alpha1_Type_MapType_serialize_ex(const google_api_expr_v1alpha1_Type_MapType* msg, int options,
|
625
759
|
upb_Arena* arena, size_t* len) {
|
626
760
|
char* ptr;
|
627
|
-
(void)upb_Encode(msg, &
|
761
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_MapType_msg_init, options, arena, &ptr, len);
|
628
762
|
return ptr;
|
629
763
|
}
|
630
|
-
UPB_INLINE
|
631
|
-
|
632
|
-
|
633
|
-
UPB_INLINE void google_api_expr_v1alpha1_Type_MapType_clear_key_type(const google_api_expr_v1alpha1_Type_MapType* msg) {
|
634
|
-
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
|
764
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_MapType_clear_key_type(google_api_expr_v1alpha1_Type_MapType* msg) {
|
765
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
766
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
635
767
|
}
|
636
768
|
UPB_INLINE const google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_MapType_key_type(const google_api_expr_v1alpha1_Type_MapType* msg) {
|
637
|
-
|
769
|
+
const google_api_expr_v1alpha1_Type* default_val = NULL;
|
770
|
+
const google_api_expr_v1alpha1_Type* ret;
|
771
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
772
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
773
|
+
return ret;
|
638
774
|
}
|
639
|
-
UPB_INLINE bool
|
640
|
-
|
775
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_MapType_has_key_type(const google_api_expr_v1alpha1_Type_MapType* msg) {
|
776
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
777
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
641
778
|
}
|
642
|
-
UPB_INLINE void google_api_expr_v1alpha1_Type_MapType_clear_value_type(
|
643
|
-
|
779
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_MapType_clear_value_type(google_api_expr_v1alpha1_Type_MapType* msg) {
|
780
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
781
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
644
782
|
}
|
645
783
|
UPB_INLINE const google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_MapType_value_type(const google_api_expr_v1alpha1_Type_MapType* msg) {
|
646
|
-
|
784
|
+
const google_api_expr_v1alpha1_Type* default_val = NULL;
|
785
|
+
const google_api_expr_v1alpha1_Type* ret;
|
786
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
787
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
788
|
+
return ret;
|
789
|
+
}
|
790
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_MapType_has_value_type(const google_api_expr_v1alpha1_Type_MapType* msg) {
|
791
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
792
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
647
793
|
}
|
648
794
|
|
649
795
|
UPB_INLINE void google_api_expr_v1alpha1_Type_MapType_set_key_type(google_api_expr_v1alpha1_Type_MapType *msg, google_api_expr_v1alpha1_Type* value) {
|
650
|
-
|
651
|
-
|
796
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
797
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
652
798
|
}
|
653
799
|
UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_MapType_mutable_key_type(google_api_expr_v1alpha1_Type_MapType* msg, upb_Arena* arena) {
|
654
800
|
struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Type_MapType_key_type(msg);
|
655
801
|
if (sub == NULL) {
|
656
|
-
sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&
|
657
|
-
if (
|
658
|
-
google_api_expr_v1alpha1_Type_MapType_set_key_type(msg, sub);
|
802
|
+
sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena);
|
803
|
+
if (sub) google_api_expr_v1alpha1_Type_MapType_set_key_type(msg, sub);
|
659
804
|
}
|
660
805
|
return sub;
|
661
806
|
}
|
662
807
|
UPB_INLINE void google_api_expr_v1alpha1_Type_MapType_set_value_type(google_api_expr_v1alpha1_Type_MapType *msg, google_api_expr_v1alpha1_Type* value) {
|
663
|
-
|
664
|
-
|
808
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
809
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
665
810
|
}
|
666
811
|
UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_MapType_mutable_value_type(google_api_expr_v1alpha1_Type_MapType* msg, upb_Arena* arena) {
|
667
812
|
struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Type_MapType_value_type(msg);
|
668
813
|
if (sub == NULL) {
|
669
|
-
sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&
|
670
|
-
if (
|
671
|
-
google_api_expr_v1alpha1_Type_MapType_set_value_type(msg, sub);
|
814
|
+
sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena);
|
815
|
+
if (sub) google_api_expr_v1alpha1_Type_MapType_set_value_type(msg, sub);
|
672
816
|
}
|
673
817
|
return sub;
|
674
818
|
}
|
@@ -676,12 +820,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_M
|
|
676
820
|
/* google.api.expr.v1alpha1.Type.FunctionType */
|
677
821
|
|
678
822
|
UPB_INLINE google_api_expr_v1alpha1_Type_FunctionType* google_api_expr_v1alpha1_Type_FunctionType_new(upb_Arena* arena) {
|
679
|
-
return (google_api_expr_v1alpha1_Type_FunctionType*)_upb_Message_New(&
|
823
|
+
return (google_api_expr_v1alpha1_Type_FunctionType*)_upb_Message_New(&google_api_expr_v1alpha1_Type_FunctionType_msg_init, arena);
|
680
824
|
}
|
681
825
|
UPB_INLINE google_api_expr_v1alpha1_Type_FunctionType* google_api_expr_v1alpha1_Type_FunctionType_parse(const char* buf, size_t size, upb_Arena* arena) {
|
682
826
|
google_api_expr_v1alpha1_Type_FunctionType* ret = google_api_expr_v1alpha1_Type_FunctionType_new(arena);
|
683
827
|
if (!ret) return NULL;
|
684
|
-
if (upb_Decode(buf, size, ret, &
|
828
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_FunctionType_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
685
829
|
return NULL;
|
686
830
|
}
|
687
831
|
return ret;
|
@@ -691,7 +835,7 @@ UPB_INLINE google_api_expr_v1alpha1_Type_FunctionType* google_api_expr_v1alpha1_
|
|
691
835
|
int options, upb_Arena* arena) {
|
692
836
|
google_api_expr_v1alpha1_Type_FunctionType* ret = google_api_expr_v1alpha1_Type_FunctionType_new(arena);
|
693
837
|
if (!ret) return NULL;
|
694
|
-
if (upb_Decode(buf, size, ret, &
|
838
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_FunctionType_msg_init, extreg, options, arena) !=
|
695
839
|
kUpb_DecodeStatus_Ok) {
|
696
840
|
return NULL;
|
697
841
|
}
|
@@ -699,69 +843,116 @@ UPB_INLINE google_api_expr_v1alpha1_Type_FunctionType* google_api_expr_v1alpha1_
|
|
699
843
|
}
|
700
844
|
UPB_INLINE char* google_api_expr_v1alpha1_Type_FunctionType_serialize(const google_api_expr_v1alpha1_Type_FunctionType* msg, upb_Arena* arena, size_t* len) {
|
701
845
|
char* ptr;
|
702
|
-
(void)upb_Encode(msg, &
|
846
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_FunctionType_msg_init, 0, arena, &ptr, len);
|
703
847
|
return ptr;
|
704
848
|
}
|
705
849
|
UPB_INLINE char* google_api_expr_v1alpha1_Type_FunctionType_serialize_ex(const google_api_expr_v1alpha1_Type_FunctionType* msg, int options,
|
706
850
|
upb_Arena* arena, size_t* len) {
|
707
851
|
char* ptr;
|
708
|
-
(void)upb_Encode(msg, &
|
852
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_FunctionType_msg_init, options, arena, &ptr, len);
|
709
853
|
return ptr;
|
710
854
|
}
|
711
|
-
UPB_INLINE
|
712
|
-
|
713
|
-
|
714
|
-
UPB_INLINE void google_api_expr_v1alpha1_Type_FunctionType_clear_result_type(const google_api_expr_v1alpha1_Type_FunctionType* msg) {
|
715
|
-
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
|
855
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_FunctionType_clear_result_type(google_api_expr_v1alpha1_Type_FunctionType* msg) {
|
856
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
857
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
716
858
|
}
|
717
859
|
UPB_INLINE const google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_FunctionType_result_type(const google_api_expr_v1alpha1_Type_FunctionType* msg) {
|
718
|
-
|
860
|
+
const google_api_expr_v1alpha1_Type* default_val = NULL;
|
861
|
+
const google_api_expr_v1alpha1_Type* ret;
|
862
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
863
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
864
|
+
return ret;
|
719
865
|
}
|
720
|
-
UPB_INLINE bool
|
721
|
-
|
866
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_FunctionType_has_result_type(const google_api_expr_v1alpha1_Type_FunctionType* msg) {
|
867
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
868
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
869
|
+
}
|
870
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_FunctionType_clear_arg_types(google_api_expr_v1alpha1_Type_FunctionType* msg) {
|
871
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
872
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
873
|
+
}
|
874
|
+
UPB_INLINE const google_api_expr_v1alpha1_Type* const* google_api_expr_v1alpha1_Type_FunctionType_arg_types(const google_api_expr_v1alpha1_Type_FunctionType* msg, size_t* size) {
|
875
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
876
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
877
|
+
if (arr) {
|
878
|
+
if (size) *size = arr->size;
|
879
|
+
return (const google_api_expr_v1alpha1_Type* const*)_upb_array_constptr(arr);
|
880
|
+
} else {
|
881
|
+
if (size) *size = 0;
|
882
|
+
return NULL;
|
883
|
+
}
|
722
884
|
}
|
723
|
-
UPB_INLINE
|
724
|
-
|
885
|
+
UPB_INLINE const upb_Array* _google_api_expr_v1alpha1_Type_FunctionType_arg_types_upb_array(const google_api_expr_v1alpha1_Type_FunctionType* msg, size_t* size) {
|
886
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
887
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
888
|
+
if (size) {
|
889
|
+
*size = arr ? arr->size : 0;
|
890
|
+
}
|
891
|
+
return arr;
|
892
|
+
}
|
893
|
+
UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Type_FunctionType_arg_types_mutable_upb_array(const google_api_expr_v1alpha1_Type_FunctionType* msg, size_t* size, upb_Arena* arena) {
|
894
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
895
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
896
|
+
(upb_Message*)msg, &field, arena);
|
897
|
+
if (size) {
|
898
|
+
*size = arr ? arr->size : 0;
|
899
|
+
}
|
900
|
+
return arr;
|
725
901
|
}
|
726
|
-
UPB_INLINE
|
727
|
-
|
902
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_FunctionType_has_arg_types(const google_api_expr_v1alpha1_Type_FunctionType* msg) {
|
903
|
+
size_t size;
|
904
|
+
google_api_expr_v1alpha1_Type_FunctionType_arg_types(msg, &size);
|
905
|
+
return size != 0;
|
728
906
|
}
|
729
907
|
|
730
908
|
UPB_INLINE void google_api_expr_v1alpha1_Type_FunctionType_set_result_type(google_api_expr_v1alpha1_Type_FunctionType *msg, google_api_expr_v1alpha1_Type* value) {
|
731
|
-
|
732
|
-
|
909
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
910
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
733
911
|
}
|
734
912
|
UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_FunctionType_mutable_result_type(google_api_expr_v1alpha1_Type_FunctionType* msg, upb_Arena* arena) {
|
735
913
|
struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Type_FunctionType_result_type(msg);
|
736
914
|
if (sub == NULL) {
|
737
|
-
sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&
|
738
|
-
if (
|
739
|
-
google_api_expr_v1alpha1_Type_FunctionType_set_result_type(msg, sub);
|
915
|
+
sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena);
|
916
|
+
if (sub) google_api_expr_v1alpha1_Type_FunctionType_set_result_type(msg, sub);
|
740
917
|
}
|
741
918
|
return sub;
|
742
919
|
}
|
743
|
-
UPB_INLINE google_api_expr_v1alpha1_Type** google_api_expr_v1alpha1_Type_FunctionType_mutable_arg_types(google_api_expr_v1alpha1_Type_FunctionType* msg, size_t*
|
744
|
-
|
920
|
+
UPB_INLINE google_api_expr_v1alpha1_Type** google_api_expr_v1alpha1_Type_FunctionType_mutable_arg_types(google_api_expr_v1alpha1_Type_FunctionType* msg, size_t* size) {
|
921
|
+
upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
922
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
923
|
+
if (arr) {
|
924
|
+
if (size) *size = arr->size;
|
925
|
+
return (google_api_expr_v1alpha1_Type**)_upb_array_ptr(arr);
|
926
|
+
} else {
|
927
|
+
if (size) *size = 0;
|
928
|
+
return NULL;
|
929
|
+
}
|
745
930
|
}
|
746
|
-
UPB_INLINE google_api_expr_v1alpha1_Type** google_api_expr_v1alpha1_Type_FunctionType_resize_arg_types(google_api_expr_v1alpha1_Type_FunctionType* msg, size_t
|
747
|
-
|
931
|
+
UPB_INLINE google_api_expr_v1alpha1_Type** google_api_expr_v1alpha1_Type_FunctionType_resize_arg_types(google_api_expr_v1alpha1_Type_FunctionType* msg, size_t size, upb_Arena* arena) {
|
932
|
+
upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
933
|
+
return (google_api_expr_v1alpha1_Type**)upb_Message_ResizeArray(msg, &field, size, arena);
|
748
934
|
}
|
749
935
|
UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_FunctionType_add_arg_types(google_api_expr_v1alpha1_Type_FunctionType* msg, upb_Arena* arena) {
|
750
|
-
|
751
|
-
|
752
|
-
if (!
|
936
|
+
upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
937
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
938
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
939
|
+
return NULL;
|
940
|
+
}
|
941
|
+
struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena);
|
942
|
+
if (!arr || !sub) return NULL;
|
943
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
753
944
|
return sub;
|
754
945
|
}
|
755
946
|
|
756
947
|
/* google.api.expr.v1alpha1.Type.AbstractType */
|
757
948
|
|
758
949
|
UPB_INLINE google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1alpha1_Type_AbstractType_new(upb_Arena* arena) {
|
759
|
-
return (google_api_expr_v1alpha1_Type_AbstractType*)_upb_Message_New(&
|
950
|
+
return (google_api_expr_v1alpha1_Type_AbstractType*)_upb_Message_New(&google_api_expr_v1alpha1_Type_AbstractType_msg_init, arena);
|
760
951
|
}
|
761
952
|
UPB_INLINE google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1alpha1_Type_AbstractType_parse(const char* buf, size_t size, upb_Arena* arena) {
|
762
953
|
google_api_expr_v1alpha1_Type_AbstractType* ret = google_api_expr_v1alpha1_Type_AbstractType_new(arena);
|
763
954
|
if (!ret) return NULL;
|
764
|
-
if (upb_Decode(buf, size, ret, &
|
955
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_AbstractType_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
765
956
|
return NULL;
|
766
957
|
}
|
767
958
|
return ret;
|
@@ -771,7 +962,7 @@ UPB_INLINE google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1alpha1_
|
|
771
962
|
int options, upb_Arena* arena) {
|
772
963
|
google_api_expr_v1alpha1_Type_AbstractType* ret = google_api_expr_v1alpha1_Type_AbstractType_new(arena);
|
773
964
|
if (!ret) return NULL;
|
774
|
-
if (upb_Decode(buf, size, ret, &
|
965
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_AbstractType_msg_init, extreg, options, arena) !=
|
775
966
|
kUpb_DecodeStatus_Ok) {
|
776
967
|
return NULL;
|
777
968
|
}
|
@@ -779,56 +970,104 @@ UPB_INLINE google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1alpha1_
|
|
779
970
|
}
|
780
971
|
UPB_INLINE char* google_api_expr_v1alpha1_Type_AbstractType_serialize(const google_api_expr_v1alpha1_Type_AbstractType* msg, upb_Arena* arena, size_t* len) {
|
781
972
|
char* ptr;
|
782
|
-
(void)upb_Encode(msg, &
|
973
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_AbstractType_msg_init, 0, arena, &ptr, len);
|
783
974
|
return ptr;
|
784
975
|
}
|
785
976
|
UPB_INLINE char* google_api_expr_v1alpha1_Type_AbstractType_serialize_ex(const google_api_expr_v1alpha1_Type_AbstractType* msg, int options,
|
786
977
|
upb_Arena* arena, size_t* len) {
|
787
978
|
char* ptr;
|
788
|
-
(void)upb_Encode(msg, &
|
979
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_AbstractType_msg_init, options, arena, &ptr, len);
|
789
980
|
return ptr;
|
790
981
|
}
|
791
|
-
UPB_INLINE void google_api_expr_v1alpha1_Type_AbstractType_clear_name(
|
792
|
-
|
982
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_AbstractType_clear_name(google_api_expr_v1alpha1_Type_AbstractType* msg) {
|
983
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
984
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
793
985
|
}
|
794
986
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_Type_AbstractType_name(const google_api_expr_v1alpha1_Type_AbstractType* msg) {
|
795
|
-
|
987
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
988
|
+
upb_StringView ret;
|
989
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
990
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
991
|
+
return ret;
|
796
992
|
}
|
797
|
-
UPB_INLINE
|
798
|
-
|
993
|
+
UPB_INLINE void google_api_expr_v1alpha1_Type_AbstractType_clear_parameter_types(google_api_expr_v1alpha1_Type_AbstractType* msg) {
|
994
|
+
const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
995
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
996
|
+
}
|
997
|
+
UPB_INLINE const google_api_expr_v1alpha1_Type* const* google_api_expr_v1alpha1_Type_AbstractType_parameter_types(const google_api_expr_v1alpha1_Type_AbstractType* msg, size_t* size) {
|
998
|
+
const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
999
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1000
|
+
if (arr) {
|
1001
|
+
if (size) *size = arr->size;
|
1002
|
+
return (const google_api_expr_v1alpha1_Type* const*)_upb_array_constptr(arr);
|
1003
|
+
} else {
|
1004
|
+
if (size) *size = 0;
|
1005
|
+
return NULL;
|
1006
|
+
}
|
799
1007
|
}
|
800
|
-
UPB_INLINE
|
801
|
-
|
1008
|
+
UPB_INLINE const upb_Array* _google_api_expr_v1alpha1_Type_AbstractType_parameter_types_upb_array(const google_api_expr_v1alpha1_Type_AbstractType* msg, size_t* size) {
|
1009
|
+
const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1010
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1011
|
+
if (size) {
|
1012
|
+
*size = arr ? arr->size : 0;
|
1013
|
+
}
|
1014
|
+
return arr;
|
1015
|
+
}
|
1016
|
+
UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Type_AbstractType_parameter_types_mutable_upb_array(const google_api_expr_v1alpha1_Type_AbstractType* msg, size_t* size, upb_Arena* arena) {
|
1017
|
+
const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1018
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1019
|
+
(upb_Message*)msg, &field, arena);
|
1020
|
+
if (size) {
|
1021
|
+
*size = arr ? arr->size : 0;
|
1022
|
+
}
|
1023
|
+
return arr;
|
802
1024
|
}
|
803
|
-
UPB_INLINE
|
804
|
-
|
1025
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Type_AbstractType_has_parameter_types(const google_api_expr_v1alpha1_Type_AbstractType* msg) {
|
1026
|
+
size_t size;
|
1027
|
+
google_api_expr_v1alpha1_Type_AbstractType_parameter_types(msg, &size);
|
1028
|
+
return size != 0;
|
805
1029
|
}
|
806
1030
|
|
807
1031
|
UPB_INLINE void google_api_expr_v1alpha1_Type_AbstractType_set_name(google_api_expr_v1alpha1_Type_AbstractType *msg, upb_StringView value) {
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
1032
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1033
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1034
|
+
}
|
1035
|
+
UPB_INLINE google_api_expr_v1alpha1_Type** google_api_expr_v1alpha1_Type_AbstractType_mutable_parameter_types(google_api_expr_v1alpha1_Type_AbstractType* msg, size_t* size) {
|
1036
|
+
upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1037
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1038
|
+
if (arr) {
|
1039
|
+
if (size) *size = arr->size;
|
1040
|
+
return (google_api_expr_v1alpha1_Type**)_upb_array_ptr(arr);
|
1041
|
+
} else {
|
1042
|
+
if (size) *size = 0;
|
1043
|
+
return NULL;
|
1044
|
+
}
|
812
1045
|
}
|
813
|
-
UPB_INLINE google_api_expr_v1alpha1_Type** google_api_expr_v1alpha1_Type_AbstractType_resize_parameter_types(google_api_expr_v1alpha1_Type_AbstractType* msg, size_t
|
814
|
-
|
1046
|
+
UPB_INLINE google_api_expr_v1alpha1_Type** google_api_expr_v1alpha1_Type_AbstractType_resize_parameter_types(google_api_expr_v1alpha1_Type_AbstractType* msg, size_t size, upb_Arena* arena) {
|
1047
|
+
upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1048
|
+
return (google_api_expr_v1alpha1_Type**)upb_Message_ResizeArray(msg, &field, size, arena);
|
815
1049
|
}
|
816
1050
|
UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_AbstractType_add_parameter_types(google_api_expr_v1alpha1_Type_AbstractType* msg, upb_Arena* arena) {
|
817
|
-
|
818
|
-
|
819
|
-
if (!
|
1051
|
+
upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1052
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
1053
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
1054
|
+
return NULL;
|
1055
|
+
}
|
1056
|
+
struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena);
|
1057
|
+
if (!arr || !sub) return NULL;
|
1058
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
820
1059
|
return sub;
|
821
1060
|
}
|
822
1061
|
|
823
1062
|
/* google.api.expr.v1alpha1.Decl */
|
824
1063
|
|
825
1064
|
UPB_INLINE google_api_expr_v1alpha1_Decl* google_api_expr_v1alpha1_Decl_new(upb_Arena* arena) {
|
826
|
-
return (google_api_expr_v1alpha1_Decl*)_upb_Message_New(&
|
1065
|
+
return (google_api_expr_v1alpha1_Decl*)_upb_Message_New(&google_api_expr_v1alpha1_Decl_msg_init, arena);
|
827
1066
|
}
|
828
1067
|
UPB_INLINE google_api_expr_v1alpha1_Decl* google_api_expr_v1alpha1_Decl_parse(const char* buf, size_t size, upb_Arena* arena) {
|
829
1068
|
google_api_expr_v1alpha1_Decl* ret = google_api_expr_v1alpha1_Decl_new(arena);
|
830
1069
|
if (!ret) return NULL;
|
831
|
-
if (upb_Decode(buf, size, ret, &
|
1070
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
832
1071
|
return NULL;
|
833
1072
|
}
|
834
1073
|
return ret;
|
@@ -838,7 +1077,7 @@ UPB_INLINE google_api_expr_v1alpha1_Decl* google_api_expr_v1alpha1_Decl_parse_ex
|
|
838
1077
|
int options, upb_Arena* arena) {
|
839
1078
|
google_api_expr_v1alpha1_Decl* ret = google_api_expr_v1alpha1_Decl_new(arena);
|
840
1079
|
if (!ret) return NULL;
|
841
|
-
if (upb_Decode(buf, size, ret, &
|
1080
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_msg_init, extreg, options, arena) !=
|
842
1081
|
kUpb_DecodeStatus_Ok) {
|
843
1082
|
return NULL;
|
844
1083
|
}
|
@@ -846,13 +1085,13 @@ UPB_INLINE google_api_expr_v1alpha1_Decl* google_api_expr_v1alpha1_Decl_parse_ex
|
|
846
1085
|
}
|
847
1086
|
UPB_INLINE char* google_api_expr_v1alpha1_Decl_serialize(const google_api_expr_v1alpha1_Decl* msg, upb_Arena* arena, size_t* len) {
|
848
1087
|
char* ptr;
|
849
|
-
(void)upb_Encode(msg, &
|
1088
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Decl_msg_init, 0, arena, &ptr, len);
|
850
1089
|
return ptr;
|
851
1090
|
}
|
852
1091
|
UPB_INLINE char* google_api_expr_v1alpha1_Decl_serialize_ex(const google_api_expr_v1alpha1_Decl* msg, int options,
|
853
1092
|
upb_Arena* arena, size_t* len) {
|
854
1093
|
char* ptr;
|
855
|
-
(void)upb_Encode(msg, &
|
1094
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Decl_msg_init, options, arena, &ptr, len);
|
856
1095
|
return ptr;
|
857
1096
|
}
|
858
1097
|
typedef enum {
|
@@ -861,57 +1100,76 @@ typedef enum {
|
|
861
1100
|
google_api_expr_v1alpha1_Decl_decl_kind_NOT_SET = 0
|
862
1101
|
} google_api_expr_v1alpha1_Decl_decl_kind_oneofcases;
|
863
1102
|
UPB_INLINE google_api_expr_v1alpha1_Decl_decl_kind_oneofcases google_api_expr_v1alpha1_Decl_decl_kind_case(const google_api_expr_v1alpha1_Decl* msg) {
|
864
|
-
|
1103
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), -1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1104
|
+
return (google_api_expr_v1alpha1_Decl_decl_kind_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field);
|
865
1105
|
}
|
866
|
-
UPB_INLINE void google_api_expr_v1alpha1_Decl_clear_name(
|
867
|
-
|
1106
|
+
UPB_INLINE void google_api_expr_v1alpha1_Decl_clear_name(google_api_expr_v1alpha1_Decl* msg) {
|
1107
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1108
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
868
1109
|
}
|
869
1110
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_Decl_name(const google_api_expr_v1alpha1_Decl* msg) {
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
1111
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
1112
|
+
upb_StringView ret;
|
1113
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1114
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1115
|
+
return ret;
|
874
1116
|
}
|
875
|
-
UPB_INLINE void google_api_expr_v1alpha1_Decl_clear_ident(
|
876
|
-
|
1117
|
+
UPB_INLINE void google_api_expr_v1alpha1_Decl_clear_ident(google_api_expr_v1alpha1_Decl* msg) {
|
1118
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), -1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1119
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
877
1120
|
}
|
878
1121
|
UPB_INLINE const google_api_expr_v1alpha1_Decl_IdentDecl* google_api_expr_v1alpha1_Decl_ident(const google_api_expr_v1alpha1_Decl* msg) {
|
879
|
-
|
1122
|
+
const google_api_expr_v1alpha1_Decl_IdentDecl* default_val = NULL;
|
1123
|
+
const google_api_expr_v1alpha1_Decl_IdentDecl* ret;
|
1124
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), -1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1125
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1126
|
+
return ret;
|
880
1127
|
}
|
881
|
-
UPB_INLINE bool
|
882
|
-
|
1128
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Decl_has_ident(const google_api_expr_v1alpha1_Decl* msg) {
|
1129
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), -1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1130
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
883
1131
|
}
|
884
|
-
UPB_INLINE void google_api_expr_v1alpha1_Decl_clear_function(
|
885
|
-
|
1132
|
+
UPB_INLINE void google_api_expr_v1alpha1_Decl_clear_function(google_api_expr_v1alpha1_Decl* msg) {
|
1133
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1134
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
886
1135
|
}
|
887
1136
|
UPB_INLINE const google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1alpha1_Decl_function(const google_api_expr_v1alpha1_Decl* msg) {
|
888
|
-
|
1137
|
+
const google_api_expr_v1alpha1_Decl_FunctionDecl* default_val = NULL;
|
1138
|
+
const google_api_expr_v1alpha1_Decl_FunctionDecl* ret;
|
1139
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1140
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1141
|
+
return ret;
|
1142
|
+
}
|
1143
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Decl_has_function(const google_api_expr_v1alpha1_Decl* msg) {
|
1144
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1145
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
889
1146
|
}
|
890
1147
|
|
891
1148
|
UPB_INLINE void google_api_expr_v1alpha1_Decl_set_name(google_api_expr_v1alpha1_Decl *msg, upb_StringView value) {
|
892
|
-
|
1149
|
+
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1150
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
893
1151
|
}
|
894
1152
|
UPB_INLINE void google_api_expr_v1alpha1_Decl_set_ident(google_api_expr_v1alpha1_Decl *msg, google_api_expr_v1alpha1_Decl_IdentDecl* value) {
|
895
|
-
|
1153
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), -1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1154
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
896
1155
|
}
|
897
1156
|
UPB_INLINE struct google_api_expr_v1alpha1_Decl_IdentDecl* google_api_expr_v1alpha1_Decl_mutable_ident(google_api_expr_v1alpha1_Decl* msg, upb_Arena* arena) {
|
898
1157
|
struct google_api_expr_v1alpha1_Decl_IdentDecl* sub = (struct google_api_expr_v1alpha1_Decl_IdentDecl*)google_api_expr_v1alpha1_Decl_ident(msg);
|
899
1158
|
if (sub == NULL) {
|
900
|
-
sub = (struct google_api_expr_v1alpha1_Decl_IdentDecl*)_upb_Message_New(&
|
901
|
-
if (
|
902
|
-
google_api_expr_v1alpha1_Decl_set_ident(msg, sub);
|
1159
|
+
sub = (struct google_api_expr_v1alpha1_Decl_IdentDecl*)_upb_Message_New(&google_api_expr_v1alpha1_Decl_IdentDecl_msg_init, arena);
|
1160
|
+
if (sub) google_api_expr_v1alpha1_Decl_set_ident(msg, sub);
|
903
1161
|
}
|
904
1162
|
return sub;
|
905
1163
|
}
|
906
1164
|
UPB_INLINE void google_api_expr_v1alpha1_Decl_set_function(google_api_expr_v1alpha1_Decl *msg, google_api_expr_v1alpha1_Decl_FunctionDecl* value) {
|
907
|
-
|
1165
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1166
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
908
1167
|
}
|
909
1168
|
UPB_INLINE struct google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1alpha1_Decl_mutable_function(google_api_expr_v1alpha1_Decl* msg, upb_Arena* arena) {
|
910
1169
|
struct google_api_expr_v1alpha1_Decl_FunctionDecl* sub = (struct google_api_expr_v1alpha1_Decl_FunctionDecl*)google_api_expr_v1alpha1_Decl_function(msg);
|
911
1170
|
if (sub == NULL) {
|
912
|
-
sub = (struct google_api_expr_v1alpha1_Decl_FunctionDecl*)_upb_Message_New(&
|
913
|
-
if (
|
914
|
-
google_api_expr_v1alpha1_Decl_set_function(msg, sub);
|
1171
|
+
sub = (struct google_api_expr_v1alpha1_Decl_FunctionDecl*)_upb_Message_New(&google_api_expr_v1alpha1_Decl_FunctionDecl_msg_init, arena);
|
1172
|
+
if (sub) google_api_expr_v1alpha1_Decl_set_function(msg, sub);
|
915
1173
|
}
|
916
1174
|
return sub;
|
917
1175
|
}
|
@@ -919,12 +1177,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1
|
|
919
1177
|
/* google.api.expr.v1alpha1.Decl.IdentDecl */
|
920
1178
|
|
921
1179
|
UPB_INLINE google_api_expr_v1alpha1_Decl_IdentDecl* google_api_expr_v1alpha1_Decl_IdentDecl_new(upb_Arena* arena) {
|
922
|
-
return (google_api_expr_v1alpha1_Decl_IdentDecl*)_upb_Message_New(&
|
1180
|
+
return (google_api_expr_v1alpha1_Decl_IdentDecl*)_upb_Message_New(&google_api_expr_v1alpha1_Decl_IdentDecl_msg_init, arena);
|
923
1181
|
}
|
924
1182
|
UPB_INLINE google_api_expr_v1alpha1_Decl_IdentDecl* google_api_expr_v1alpha1_Decl_IdentDecl_parse(const char* buf, size_t size, upb_Arena* arena) {
|
925
1183
|
google_api_expr_v1alpha1_Decl_IdentDecl* ret = google_api_expr_v1alpha1_Decl_IdentDecl_new(arena);
|
926
1184
|
if (!ret) return NULL;
|
927
|
-
if (upb_Decode(buf, size, ret, &
|
1185
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_IdentDecl_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
928
1186
|
return NULL;
|
929
1187
|
}
|
930
1188
|
return ret;
|
@@ -934,7 +1192,7 @@ UPB_INLINE google_api_expr_v1alpha1_Decl_IdentDecl* google_api_expr_v1alpha1_Dec
|
|
934
1192
|
int options, upb_Arena* arena) {
|
935
1193
|
google_api_expr_v1alpha1_Decl_IdentDecl* ret = google_api_expr_v1alpha1_Decl_IdentDecl_new(arena);
|
936
1194
|
if (!ret) return NULL;
|
937
|
-
if (upb_Decode(buf, size, ret, &
|
1195
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_IdentDecl_msg_init, extreg, options, arena) !=
|
938
1196
|
kUpb_DecodeStatus_Ok) {
|
939
1197
|
return NULL;
|
940
1198
|
}
|
@@ -942,79 +1200,95 @@ UPB_INLINE google_api_expr_v1alpha1_Decl_IdentDecl* google_api_expr_v1alpha1_Dec
|
|
942
1200
|
}
|
943
1201
|
UPB_INLINE char* google_api_expr_v1alpha1_Decl_IdentDecl_serialize(const google_api_expr_v1alpha1_Decl_IdentDecl* msg, upb_Arena* arena, size_t* len) {
|
944
1202
|
char* ptr;
|
945
|
-
(void)upb_Encode(msg, &
|
1203
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Decl_IdentDecl_msg_init, 0, arena, &ptr, len);
|
946
1204
|
return ptr;
|
947
1205
|
}
|
948
1206
|
UPB_INLINE char* google_api_expr_v1alpha1_Decl_IdentDecl_serialize_ex(const google_api_expr_v1alpha1_Decl_IdentDecl* msg, int options,
|
949
1207
|
upb_Arena* arena, size_t* len) {
|
950
1208
|
char* ptr;
|
951
|
-
(void)upb_Encode(msg, &
|
1209
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Decl_IdentDecl_msg_init, options, arena, &ptr, len);
|
952
1210
|
return ptr;
|
953
1211
|
}
|
954
|
-
UPB_INLINE
|
955
|
-
|
956
|
-
|
957
|
-
UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_clear_type(const google_api_expr_v1alpha1_Decl_IdentDecl* msg) {
|
958
|
-
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
|
1212
|
+
UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_clear_type(google_api_expr_v1alpha1_Decl_IdentDecl* msg) {
|
1213
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1214
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
959
1215
|
}
|
960
1216
|
UPB_INLINE const google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Decl_IdentDecl_type(const google_api_expr_v1alpha1_Decl_IdentDecl* msg) {
|
961
|
-
|
1217
|
+
const google_api_expr_v1alpha1_Type* default_val = NULL;
|
1218
|
+
const google_api_expr_v1alpha1_Type* ret;
|
1219
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1220
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1221
|
+
return ret;
|
962
1222
|
}
|
963
|
-
UPB_INLINE bool
|
964
|
-
|
1223
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Decl_IdentDecl_has_type(const google_api_expr_v1alpha1_Decl_IdentDecl* msg) {
|
1224
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1225
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
965
1226
|
}
|
966
|
-
UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_clear_value(
|
967
|
-
|
1227
|
+
UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_clear_value(google_api_expr_v1alpha1_Decl_IdentDecl* msg) {
|
1228
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1229
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
968
1230
|
}
|
969
1231
|
UPB_INLINE const struct google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Decl_IdentDecl_value(const google_api_expr_v1alpha1_Decl_IdentDecl* msg) {
|
970
|
-
|
1232
|
+
const struct google_api_expr_v1alpha1_Constant* default_val = NULL;
|
1233
|
+
const struct google_api_expr_v1alpha1_Constant* ret;
|
1234
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1235
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1236
|
+
return ret;
|
971
1237
|
}
|
972
|
-
UPB_INLINE
|
973
|
-
|
1238
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Decl_IdentDecl_has_value(const google_api_expr_v1alpha1_Decl_IdentDecl* msg) {
|
1239
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1240
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1241
|
+
}
|
1242
|
+
UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_clear_doc(google_api_expr_v1alpha1_Decl_IdentDecl* msg) {
|
1243
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1244
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
974
1245
|
}
|
975
1246
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_Decl_IdentDecl_doc(const google_api_expr_v1alpha1_Decl_IdentDecl* msg) {
|
976
|
-
|
1247
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
1248
|
+
upb_StringView ret;
|
1249
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1250
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1251
|
+
return ret;
|
977
1252
|
}
|
978
1253
|
|
979
1254
|
UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_set_type(google_api_expr_v1alpha1_Decl_IdentDecl *msg, google_api_expr_v1alpha1_Type* value) {
|
980
|
-
|
981
|
-
|
1255
|
+
const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1256
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
982
1257
|
}
|
983
1258
|
UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Decl_IdentDecl_mutable_type(google_api_expr_v1alpha1_Decl_IdentDecl* msg, upb_Arena* arena) {
|
984
1259
|
struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Decl_IdentDecl_type(msg);
|
985
1260
|
if (sub == NULL) {
|
986
|
-
sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&
|
987
|
-
if (
|
988
|
-
google_api_expr_v1alpha1_Decl_IdentDecl_set_type(msg, sub);
|
1261
|
+
sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena);
|
1262
|
+
if (sub) google_api_expr_v1alpha1_Decl_IdentDecl_set_type(msg, sub);
|
989
1263
|
}
|
990
1264
|
return sub;
|
991
1265
|
}
|
992
1266
|
UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_set_value(google_api_expr_v1alpha1_Decl_IdentDecl *msg, struct google_api_expr_v1alpha1_Constant* value) {
|
993
|
-
|
994
|
-
|
1267
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1268
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
995
1269
|
}
|
996
1270
|
UPB_INLINE struct google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Decl_IdentDecl_mutable_value(google_api_expr_v1alpha1_Decl_IdentDecl* msg, upb_Arena* arena) {
|
997
1271
|
struct google_api_expr_v1alpha1_Constant* sub = (struct google_api_expr_v1alpha1_Constant*)google_api_expr_v1alpha1_Decl_IdentDecl_value(msg);
|
998
1272
|
if (sub == NULL) {
|
999
|
-
sub = (struct google_api_expr_v1alpha1_Constant*)_upb_Message_New(&
|
1000
|
-
if (
|
1001
|
-
google_api_expr_v1alpha1_Decl_IdentDecl_set_value(msg, sub);
|
1273
|
+
sub = (struct google_api_expr_v1alpha1_Constant*)_upb_Message_New(&google_api_expr_v1alpha1_Constant_msg_init, arena);
|
1274
|
+
if (sub) google_api_expr_v1alpha1_Decl_IdentDecl_set_value(msg, sub);
|
1002
1275
|
}
|
1003
1276
|
return sub;
|
1004
1277
|
}
|
1005
1278
|
UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_set_doc(google_api_expr_v1alpha1_Decl_IdentDecl *msg, upb_StringView value) {
|
1006
|
-
|
1279
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1280
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1007
1281
|
}
|
1008
1282
|
|
1009
1283
|
/* google.api.expr.v1alpha1.Decl.FunctionDecl */
|
1010
1284
|
|
1011
1285
|
UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1alpha1_Decl_FunctionDecl_new(upb_Arena* arena) {
|
1012
|
-
return (google_api_expr_v1alpha1_Decl_FunctionDecl*)_upb_Message_New(&
|
1286
|
+
return (google_api_expr_v1alpha1_Decl_FunctionDecl*)_upb_Message_New(&google_api_expr_v1alpha1_Decl_FunctionDecl_msg_init, arena);
|
1013
1287
|
}
|
1014
1288
|
UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1alpha1_Decl_FunctionDecl_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1015
1289
|
google_api_expr_v1alpha1_Decl_FunctionDecl* ret = google_api_expr_v1alpha1_Decl_FunctionDecl_new(arena);
|
1016
1290
|
if (!ret) return NULL;
|
1017
|
-
if (upb_Decode(buf, size, ret, &
|
1291
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_FunctionDecl_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1018
1292
|
return NULL;
|
1019
1293
|
}
|
1020
1294
|
return ret;
|
@@ -1024,7 +1298,7 @@ UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1alpha1_
|
|
1024
1298
|
int options, upb_Arena* arena) {
|
1025
1299
|
google_api_expr_v1alpha1_Decl_FunctionDecl* ret = google_api_expr_v1alpha1_Decl_FunctionDecl_new(arena);
|
1026
1300
|
if (!ret) return NULL;
|
1027
|
-
if (upb_Decode(buf, size, ret, &
|
1301
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_FunctionDecl_msg_init, extreg, options, arena) !=
|
1028
1302
|
kUpb_DecodeStatus_Ok) {
|
1029
1303
|
return NULL;
|
1030
1304
|
}
|
@@ -1032,47 +1306,89 @@ UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1alpha1_
|
|
1032
1306
|
}
|
1033
1307
|
UPB_INLINE char* google_api_expr_v1alpha1_Decl_FunctionDecl_serialize(const google_api_expr_v1alpha1_Decl_FunctionDecl* msg, upb_Arena* arena, size_t* len) {
|
1034
1308
|
char* ptr;
|
1035
|
-
(void)upb_Encode(msg, &
|
1309
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Decl_FunctionDecl_msg_init, 0, arena, &ptr, len);
|
1036
1310
|
return ptr;
|
1037
1311
|
}
|
1038
1312
|
UPB_INLINE char* google_api_expr_v1alpha1_Decl_FunctionDecl_serialize_ex(const google_api_expr_v1alpha1_Decl_FunctionDecl* msg, int options,
|
1039
1313
|
upb_Arena* arena, size_t* len) {
|
1040
1314
|
char* ptr;
|
1041
|
-
(void)upb_Encode(msg, &
|
1315
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Decl_FunctionDecl_msg_init, options, arena, &ptr, len);
|
1042
1316
|
return ptr;
|
1043
1317
|
}
|
1044
|
-
UPB_INLINE
|
1045
|
-
|
1318
|
+
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_clear_overloads(google_api_expr_v1alpha1_Decl_FunctionDecl* msg) {
|
1319
|
+
const upb_MiniTableField field = {1, 0, 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1320
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1321
|
+
}
|
1322
|
+
UPB_INLINE const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* const* google_api_expr_v1alpha1_Decl_FunctionDecl_overloads(const google_api_expr_v1alpha1_Decl_FunctionDecl* msg, size_t* size) {
|
1323
|
+
const upb_MiniTableField field = {1, 0, 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1324
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1325
|
+
if (arr) {
|
1326
|
+
if (size) *size = arr->size;
|
1327
|
+
return (const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* const*)_upb_array_constptr(arr);
|
1328
|
+
} else {
|
1329
|
+
if (size) *size = 0;
|
1330
|
+
return NULL;
|
1331
|
+
}
|
1046
1332
|
}
|
1047
|
-
UPB_INLINE
|
1048
|
-
|
1333
|
+
UPB_INLINE const upb_Array* _google_api_expr_v1alpha1_Decl_FunctionDecl_overloads_upb_array(const google_api_expr_v1alpha1_Decl_FunctionDecl* msg, size_t* size) {
|
1334
|
+
const upb_MiniTableField field = {1, 0, 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1335
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1336
|
+
if (size) {
|
1337
|
+
*size = arr ? arr->size : 0;
|
1338
|
+
}
|
1339
|
+
return arr;
|
1340
|
+
}
|
1341
|
+
UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Decl_FunctionDecl_overloads_mutable_upb_array(const google_api_expr_v1alpha1_Decl_FunctionDecl* msg, size_t* size, upb_Arena* arena) {
|
1342
|
+
const upb_MiniTableField field = {1, 0, 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1343
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1344
|
+
(upb_Message*)msg, &field, arena);
|
1345
|
+
if (size) {
|
1346
|
+
*size = arr ? arr->size : 0;
|
1347
|
+
}
|
1348
|
+
return arr;
|
1049
1349
|
}
|
1050
|
-
UPB_INLINE
|
1051
|
-
|
1350
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_has_overloads(const google_api_expr_v1alpha1_Decl_FunctionDecl* msg) {
|
1351
|
+
size_t size;
|
1352
|
+
google_api_expr_v1alpha1_Decl_FunctionDecl_overloads(msg, &size);
|
1353
|
+
return size != 0;
|
1052
1354
|
}
|
1053
1355
|
|
1054
|
-
UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload** google_api_expr_v1alpha1_Decl_FunctionDecl_mutable_overloads(google_api_expr_v1alpha1_Decl_FunctionDecl* msg, size_t*
|
1055
|
-
|
1356
|
+
UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload** google_api_expr_v1alpha1_Decl_FunctionDecl_mutable_overloads(google_api_expr_v1alpha1_Decl_FunctionDecl* msg, size_t* size) {
|
1357
|
+
upb_MiniTableField field = {1, 0, 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1358
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1359
|
+
if (arr) {
|
1360
|
+
if (size) *size = arr->size;
|
1361
|
+
return (google_api_expr_v1alpha1_Decl_FunctionDecl_Overload**)_upb_array_ptr(arr);
|
1362
|
+
} else {
|
1363
|
+
if (size) *size = 0;
|
1364
|
+
return NULL;
|
1365
|
+
}
|
1056
1366
|
}
|
1057
|
-
UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload** google_api_expr_v1alpha1_Decl_FunctionDecl_resize_overloads(google_api_expr_v1alpha1_Decl_FunctionDecl* msg, size_t
|
1058
|
-
|
1367
|
+
UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload** google_api_expr_v1alpha1_Decl_FunctionDecl_resize_overloads(google_api_expr_v1alpha1_Decl_FunctionDecl* msg, size_t size, upb_Arena* arena) {
|
1368
|
+
upb_MiniTableField field = {1, 0, 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1369
|
+
return (google_api_expr_v1alpha1_Decl_FunctionDecl_Overload**)upb_Message_ResizeArray(msg, &field, size, arena);
|
1059
1370
|
}
|
1060
1371
|
UPB_INLINE struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* google_api_expr_v1alpha1_Decl_FunctionDecl_add_overloads(google_api_expr_v1alpha1_Decl_FunctionDecl* msg, upb_Arena* arena) {
|
1061
|
-
|
1062
|
-
|
1063
|
-
if (!
|
1372
|
+
upb_MiniTableField field = {1, 0, 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1373
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
1374
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
1375
|
+
return NULL;
|
1376
|
+
}
|
1377
|
+
struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* sub = (struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload*)_upb_Message_New(&google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msg_init, arena);
|
1378
|
+
if (!arr || !sub) return NULL;
|
1379
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
1064
1380
|
return sub;
|
1065
1381
|
}
|
1066
1382
|
|
1067
1383
|
/* google.api.expr.v1alpha1.Decl.FunctionDecl.Overload */
|
1068
1384
|
|
1069
1385
|
UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_new(upb_Arena* arena) {
|
1070
|
-
return (google_api_expr_v1alpha1_Decl_FunctionDecl_Overload*)_upb_Message_New(&
|
1386
|
+
return (google_api_expr_v1alpha1_Decl_FunctionDecl_Overload*)_upb_Message_New(&google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msg_init, arena);
|
1071
1387
|
}
|
1072
1388
|
UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1073
1389
|
google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* ret = google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_new(arena);
|
1074
1390
|
if (!ret) return NULL;
|
1075
|
-
if (upb_Decode(buf, size, ret, &
|
1391
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1076
1392
|
return NULL;
|
1077
1393
|
}
|
1078
1394
|
return ret;
|
@@ -1082,7 +1398,7 @@ UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* google_api_expr_
|
|
1082
1398
|
int options, upb_Arena* arena) {
|
1083
1399
|
google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* ret = google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_new(arena);
|
1084
1400
|
if (!ret) return NULL;
|
1085
|
-
if (upb_Decode(buf, size, ret, &
|
1401
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msg_init, extreg, options, arena) !=
|
1086
1402
|
kUpb_DecodeStatus_Ok) {
|
1087
1403
|
return NULL;
|
1088
1404
|
}
|
@@ -1090,111 +1406,222 @@ UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* google_api_expr_
|
|
1090
1406
|
}
|
1091
1407
|
UPB_INLINE char* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_serialize(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, upb_Arena* arena, size_t* len) {
|
1092
1408
|
char* ptr;
|
1093
|
-
(void)upb_Encode(msg, &
|
1409
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msg_init, 0, arena, &ptr, len);
|
1094
1410
|
return ptr;
|
1095
1411
|
}
|
1096
1412
|
UPB_INLINE char* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_serialize_ex(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, int options,
|
1097
1413
|
upb_Arena* arena, size_t* len) {
|
1098
1414
|
char* ptr;
|
1099
|
-
(void)upb_Encode(msg, &
|
1415
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msg_init, options, arena, &ptr, len);
|
1100
1416
|
return ptr;
|
1101
1417
|
}
|
1102
|
-
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_clear_overload_id(
|
1103
|
-
|
1418
|
+
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_clear_overload_id(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
|
1419
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1420
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1104
1421
|
}
|
1105
1422
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_overload_id(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1423
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
1424
|
+
upb_StringView ret;
|
1425
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1426
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1427
|
+
return ret;
|
1110
1428
|
}
|
1111
|
-
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_clear_params(
|
1112
|
-
|
1429
|
+
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_clear_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
|
1430
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1431
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1432
|
+
}
|
1433
|
+
UPB_INLINE const google_api_expr_v1alpha1_Type* const* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_params(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t* size) {
|
1434
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1435
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1436
|
+
if (arr) {
|
1437
|
+
if (size) *size = arr->size;
|
1438
|
+
return (const google_api_expr_v1alpha1_Type* const*)_upb_array_constptr(arr);
|
1439
|
+
} else {
|
1440
|
+
if (size) *size = 0;
|
1441
|
+
return NULL;
|
1442
|
+
}
|
1113
1443
|
}
|
1114
|
-
UPB_INLINE const
|
1115
|
-
|
1444
|
+
UPB_INLINE const upb_Array* _google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_params_upb_array(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t* size) {
|
1445
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1446
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1447
|
+
if (size) {
|
1448
|
+
*size = arr ? arr->size : 0;
|
1449
|
+
}
|
1450
|
+
return arr;
|
1451
|
+
}
|
1452
|
+
UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_params_mutable_upb_array(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t* size, upb_Arena* arena) {
|
1453
|
+
const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1454
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1455
|
+
(upb_Message*)msg, &field, arena);
|
1456
|
+
if (size) {
|
1457
|
+
*size = arr ? arr->size : 0;
|
1458
|
+
}
|
1459
|
+
return arr;
|
1116
1460
|
}
|
1117
|
-
UPB_INLINE
|
1118
|
-
|
1461
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_has_params(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
|
1462
|
+
size_t size;
|
1463
|
+
google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_params(msg, &size);
|
1464
|
+
return size != 0;
|
1465
|
+
}
|
1466
|
+
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_clear_type_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
|
1467
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1468
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1469
|
+
}
|
1470
|
+
UPB_INLINE upb_StringView const* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_type_params(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t* size) {
|
1471
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1472
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1473
|
+
if (arr) {
|
1474
|
+
if (size) *size = arr->size;
|
1475
|
+
return (upb_StringView const*)_upb_array_constptr(arr);
|
1476
|
+
} else {
|
1477
|
+
if (size) *size = 0;
|
1478
|
+
return NULL;
|
1479
|
+
}
|
1119
1480
|
}
|
1120
|
-
UPB_INLINE
|
1121
|
-
|
1481
|
+
UPB_INLINE const upb_Array* _google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_type_params_upb_array(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t* size) {
|
1482
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1483
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1484
|
+
if (size) {
|
1485
|
+
*size = arr ? arr->size : 0;
|
1486
|
+
}
|
1487
|
+
return arr;
|
1488
|
+
}
|
1489
|
+
UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_type_params_mutable_upb_array(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t* size, upb_Arena* arena) {
|
1490
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1491
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1492
|
+
(upb_Message*)msg, &field, arena);
|
1493
|
+
if (size) {
|
1494
|
+
*size = arr ? arr->size : 0;
|
1495
|
+
}
|
1496
|
+
return arr;
|
1122
1497
|
}
|
1123
|
-
UPB_INLINE bool
|
1124
|
-
|
1498
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_has_type_params(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
|
1499
|
+
size_t size;
|
1500
|
+
google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_type_params(msg, &size);
|
1501
|
+
return size != 0;
|
1125
1502
|
}
|
1126
|
-
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_clear_result_type(
|
1127
|
-
|
1503
|
+
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_clear_result_type(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
|
1504
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 1, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1505
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1128
1506
|
}
|
1129
1507
|
UPB_INLINE const google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_result_type(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
|
1130
|
-
|
1508
|
+
const google_api_expr_v1alpha1_Type* default_val = NULL;
|
1509
|
+
const google_api_expr_v1alpha1_Type* ret;
|
1510
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 1, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1511
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1512
|
+
return ret;
|
1131
1513
|
}
|
1132
|
-
UPB_INLINE
|
1133
|
-
|
1514
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_has_result_type(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
|
1515
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 1, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1516
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1517
|
+
}
|
1518
|
+
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_clear_is_instance_function(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
|
1519
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1520
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1134
1521
|
}
|
1135
1522
|
UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_is_instance_function(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
|
1136
|
-
|
1523
|
+
bool default_val = false;
|
1524
|
+
bool ret;
|
1525
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1526
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1527
|
+
return ret;
|
1137
1528
|
}
|
1138
|
-
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_clear_doc(
|
1139
|
-
|
1529
|
+
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_clear_doc(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
|
1530
|
+
const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1531
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1140
1532
|
}
|
1141
1533
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_doc(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) {
|
1142
|
-
|
1534
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
1535
|
+
upb_StringView ret;
|
1536
|
+
const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1537
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1538
|
+
return ret;
|
1143
1539
|
}
|
1144
1540
|
|
1145
1541
|
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_set_overload_id(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, upb_StringView value) {
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1542
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1543
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1544
|
+
}
|
1545
|
+
UPB_INLINE google_api_expr_v1alpha1_Type** google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_mutable_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t* size) {
|
1546
|
+
upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1547
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1548
|
+
if (arr) {
|
1549
|
+
if (size) *size = arr->size;
|
1550
|
+
return (google_api_expr_v1alpha1_Type**)_upb_array_ptr(arr);
|
1551
|
+
} else {
|
1552
|
+
if (size) *size = 0;
|
1553
|
+
return NULL;
|
1554
|
+
}
|
1150
1555
|
}
|
1151
|
-
UPB_INLINE google_api_expr_v1alpha1_Type** google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_resize_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t
|
1152
|
-
|
1556
|
+
UPB_INLINE google_api_expr_v1alpha1_Type** google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_resize_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t size, upb_Arena* arena) {
|
1557
|
+
upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1558
|
+
return (google_api_expr_v1alpha1_Type**)upb_Message_ResizeArray(msg, &field, size, arena);
|
1153
1559
|
}
|
1154
1560
|
UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_add_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, upb_Arena* arena) {
|
1155
|
-
|
1156
|
-
|
1157
|
-
if (!
|
1561
|
+
upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1562
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
1563
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
1564
|
+
return NULL;
|
1565
|
+
}
|
1566
|
+
struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena);
|
1567
|
+
if (!arr || !sub) return NULL;
|
1568
|
+
_upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub));
|
1158
1569
|
return sub;
|
1159
1570
|
}
|
1160
|
-
UPB_INLINE upb_StringView* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_mutable_type_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t*
|
1161
|
-
|
1571
|
+
UPB_INLINE upb_StringView* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_mutable_type_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t* size) {
|
1572
|
+
upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1573
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1574
|
+
if (arr) {
|
1575
|
+
if (size) *size = arr->size;
|
1576
|
+
return (upb_StringView*)_upb_array_ptr(arr);
|
1577
|
+
} else {
|
1578
|
+
if (size) *size = 0;
|
1579
|
+
return NULL;
|
1580
|
+
}
|
1162
1581
|
}
|
1163
|
-
UPB_INLINE upb_StringView* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_resize_type_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t
|
1164
|
-
|
1582
|
+
UPB_INLINE upb_StringView* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_resize_type_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, size_t size, upb_Arena* arena) {
|
1583
|
+
upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1584
|
+
return (upb_StringView*)upb_Message_ResizeArray(msg, &field, size, arena);
|
1165
1585
|
}
|
1166
1586
|
UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_add_type_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, upb_StringView val, upb_Arena* arena) {
|
1167
|
-
|
1587
|
+
upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1588
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
1589
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
1590
|
+
return false;
|
1591
|
+
}
|
1592
|
+
_upb_Array_Set(arr, arr->size - 1, &val, sizeof(val));
|
1593
|
+
return true;
|
1168
1594
|
}
|
1169
1595
|
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_set_result_type(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, google_api_expr_v1alpha1_Type* value) {
|
1170
|
-
|
1171
|
-
|
1596
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 1, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1597
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1172
1598
|
}
|
1173
1599
|
UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_mutable_result_type(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, upb_Arena* arena) {
|
1174
1600
|
struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_result_type(msg);
|
1175
1601
|
if (sub == NULL) {
|
1176
|
-
sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&
|
1177
|
-
if (
|
1178
|
-
google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_set_result_type(msg, sub);
|
1602
|
+
sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena);
|
1603
|
+
if (sub) google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_set_result_type(msg, sub);
|
1179
1604
|
}
|
1180
1605
|
return sub;
|
1181
1606
|
}
|
1182
1607
|
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_set_is_instance_function(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, bool value) {
|
1183
|
-
|
1608
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1609
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1184
1610
|
}
|
1185
1611
|
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_set_doc(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, upb_StringView value) {
|
1186
|
-
|
1612
|
+
const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1613
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1187
1614
|
}
|
1188
1615
|
|
1189
1616
|
/* google.api.expr.v1alpha1.Reference */
|
1190
1617
|
|
1191
1618
|
UPB_INLINE google_api_expr_v1alpha1_Reference* google_api_expr_v1alpha1_Reference_new(upb_Arena* arena) {
|
1192
|
-
return (google_api_expr_v1alpha1_Reference*)_upb_Message_New(&
|
1619
|
+
return (google_api_expr_v1alpha1_Reference*)_upb_Message_New(&google_api_expr_v1alpha1_Reference_msg_init, arena);
|
1193
1620
|
}
|
1194
1621
|
UPB_INLINE google_api_expr_v1alpha1_Reference* google_api_expr_v1alpha1_Reference_parse(const char* buf, size_t size, upb_Arena* arena) {
|
1195
1622
|
google_api_expr_v1alpha1_Reference* ret = google_api_expr_v1alpha1_Reference_new(arena);
|
1196
1623
|
if (!ret) return NULL;
|
1197
|
-
if (upb_Decode(buf, size, ret, &
|
1624
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Reference_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) {
|
1198
1625
|
return NULL;
|
1199
1626
|
}
|
1200
1627
|
return ret;
|
@@ -1204,7 +1631,7 @@ UPB_INLINE google_api_expr_v1alpha1_Reference* google_api_expr_v1alpha1_Referenc
|
|
1204
1631
|
int options, upb_Arena* arena) {
|
1205
1632
|
google_api_expr_v1alpha1_Reference* ret = google_api_expr_v1alpha1_Reference_new(arena);
|
1206
1633
|
if (!ret) return NULL;
|
1207
|
-
if (upb_Decode(buf, size, ret, &
|
1634
|
+
if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Reference_msg_init, extreg, options, arena) !=
|
1208
1635
|
kUpb_DecodeStatus_Ok) {
|
1209
1636
|
return NULL;
|
1210
1637
|
}
|
@@ -1212,69 +1639,126 @@ UPB_INLINE google_api_expr_v1alpha1_Reference* google_api_expr_v1alpha1_Referenc
|
|
1212
1639
|
}
|
1213
1640
|
UPB_INLINE char* google_api_expr_v1alpha1_Reference_serialize(const google_api_expr_v1alpha1_Reference* msg, upb_Arena* arena, size_t* len) {
|
1214
1641
|
char* ptr;
|
1215
|
-
(void)upb_Encode(msg, &
|
1642
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Reference_msg_init, 0, arena, &ptr, len);
|
1216
1643
|
return ptr;
|
1217
1644
|
}
|
1218
1645
|
UPB_INLINE char* google_api_expr_v1alpha1_Reference_serialize_ex(const google_api_expr_v1alpha1_Reference* msg, int options,
|
1219
1646
|
upb_Arena* arena, size_t* len) {
|
1220
1647
|
char* ptr;
|
1221
|
-
(void)upb_Encode(msg, &
|
1648
|
+
(void)upb_Encode(msg, &google_api_expr_v1alpha1_Reference_msg_init, options, arena, &ptr, len);
|
1222
1649
|
return ptr;
|
1223
1650
|
}
|
1224
|
-
UPB_INLINE void google_api_expr_v1alpha1_Reference_clear_name(
|
1225
|
-
|
1651
|
+
UPB_INLINE void google_api_expr_v1alpha1_Reference_clear_name(google_api_expr_v1alpha1_Reference* msg) {
|
1652
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1653
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1226
1654
|
}
|
1227
1655
|
UPB_INLINE upb_StringView google_api_expr_v1alpha1_Reference_name(const google_api_expr_v1alpha1_Reference* msg) {
|
1228
|
-
|
1656
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
1657
|
+
upb_StringView ret;
|
1658
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1659
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1660
|
+
return ret;
|
1229
1661
|
}
|
1230
|
-
UPB_INLINE void google_api_expr_v1alpha1_Reference_clear_overload_id(
|
1231
|
-
|
1662
|
+
UPB_INLINE void google_api_expr_v1alpha1_Reference_clear_overload_id(google_api_expr_v1alpha1_Reference* msg) {
|
1663
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, kUpb_NoSub, 9, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1664
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1665
|
+
}
|
1666
|
+
UPB_INLINE upb_StringView const* google_api_expr_v1alpha1_Reference_overload_id(const google_api_expr_v1alpha1_Reference* msg, size_t* size) {
|
1667
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, kUpb_NoSub, 9, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1668
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1669
|
+
if (arr) {
|
1670
|
+
if (size) *size = arr->size;
|
1671
|
+
return (upb_StringView const*)_upb_array_constptr(arr);
|
1672
|
+
} else {
|
1673
|
+
if (size) *size = 0;
|
1674
|
+
return NULL;
|
1675
|
+
}
|
1232
1676
|
}
|
1233
|
-
UPB_INLINE
|
1234
|
-
|
1677
|
+
UPB_INLINE const upb_Array* _google_api_expr_v1alpha1_Reference_overload_id_upb_array(const google_api_expr_v1alpha1_Reference* msg, size_t* size) {
|
1678
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, kUpb_NoSub, 9, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1679
|
+
const upb_Array* arr = upb_Message_GetArray(msg, &field);
|
1680
|
+
if (size) {
|
1681
|
+
*size = arr ? arr->size : 0;
|
1682
|
+
}
|
1683
|
+
return arr;
|
1684
|
+
}
|
1685
|
+
UPB_INLINE upb_Array* _google_api_expr_v1alpha1_Reference_overload_id_mutable_upb_array(const google_api_expr_v1alpha1_Reference* msg, size_t* size, upb_Arena* arena) {
|
1686
|
+
const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, kUpb_NoSub, 9, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1687
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
1688
|
+
(upb_Message*)msg, &field, arena);
|
1689
|
+
if (size) {
|
1690
|
+
*size = arr ? arr->size : 0;
|
1691
|
+
}
|
1692
|
+
return arr;
|
1235
1693
|
}
|
1236
|
-
UPB_INLINE bool
|
1237
|
-
|
1694
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Reference_has_overload_id(const google_api_expr_v1alpha1_Reference* msg) {
|
1695
|
+
size_t size;
|
1696
|
+
google_api_expr_v1alpha1_Reference_overload_id(msg, &size);
|
1697
|
+
return size != 0;
|
1238
1698
|
}
|
1239
|
-
UPB_INLINE void google_api_expr_v1alpha1_Reference_clear_value(
|
1240
|
-
|
1699
|
+
UPB_INLINE void google_api_expr_v1alpha1_Reference_clear_value(google_api_expr_v1alpha1_Reference* msg) {
|
1700
|
+
const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1701
|
+
_upb_Message_ClearNonExtensionField(msg, &field);
|
1241
1702
|
}
|
1242
1703
|
UPB_INLINE const struct google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Reference_value(const google_api_expr_v1alpha1_Reference* msg) {
|
1243
|
-
|
1704
|
+
const struct google_api_expr_v1alpha1_Constant* default_val = NULL;
|
1705
|
+
const struct google_api_expr_v1alpha1_Constant* ret;
|
1706
|
+
const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1707
|
+
_upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret);
|
1708
|
+
return ret;
|
1709
|
+
}
|
1710
|
+
UPB_INLINE bool google_api_expr_v1alpha1_Reference_has_value(const google_api_expr_v1alpha1_Reference* msg) {
|
1711
|
+
const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1712
|
+
return _upb_Message_HasNonExtensionField(msg, &field);
|
1244
1713
|
}
|
1245
1714
|
|
1246
1715
|
UPB_INLINE void google_api_expr_v1alpha1_Reference_set_name(google_api_expr_v1alpha1_Reference *msg, upb_StringView value) {
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1250
|
-
|
1716
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1717
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1718
|
+
}
|
1719
|
+
UPB_INLINE upb_StringView* google_api_expr_v1alpha1_Reference_mutable_overload_id(google_api_expr_v1alpha1_Reference* msg, size_t* size) {
|
1720
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, kUpb_NoSub, 9, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1721
|
+
upb_Array* arr = upb_Message_GetMutableArray(msg, &field);
|
1722
|
+
if (arr) {
|
1723
|
+
if (size) *size = arr->size;
|
1724
|
+
return (upb_StringView*)_upb_array_ptr(arr);
|
1725
|
+
} else {
|
1726
|
+
if (size) *size = 0;
|
1727
|
+
return NULL;
|
1728
|
+
}
|
1251
1729
|
}
|
1252
|
-
UPB_INLINE upb_StringView* google_api_expr_v1alpha1_Reference_resize_overload_id(google_api_expr_v1alpha1_Reference* msg, size_t
|
1253
|
-
|
1730
|
+
UPB_INLINE upb_StringView* google_api_expr_v1alpha1_Reference_resize_overload_id(google_api_expr_v1alpha1_Reference* msg, size_t size, upb_Arena* arena) {
|
1731
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, kUpb_NoSub, 9, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1732
|
+
return (upb_StringView*)upb_Message_ResizeArray(msg, &field, size, arena);
|
1254
1733
|
}
|
1255
1734
|
UPB_INLINE bool google_api_expr_v1alpha1_Reference_add_overload_id(google_api_expr_v1alpha1_Reference* msg, upb_StringView val, upb_Arena* arena) {
|
1256
|
-
|
1735
|
+
upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, kUpb_NoSub, 9, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1736
|
+
upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena);
|
1737
|
+
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) {
|
1738
|
+
return false;
|
1739
|
+
}
|
1740
|
+
_upb_Array_Set(arr, arr->size - 1, &val, sizeof(val));
|
1741
|
+
return true;
|
1257
1742
|
}
|
1258
1743
|
UPB_INLINE void google_api_expr_v1alpha1_Reference_set_value(google_api_expr_v1alpha1_Reference *msg, struct google_api_expr_v1alpha1_Constant* value) {
|
1259
|
-
|
1260
|
-
|
1744
|
+
const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1745
|
+
_upb_Message_SetNonExtensionField(msg, &field, &value);
|
1261
1746
|
}
|
1262
1747
|
UPB_INLINE struct google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Reference_mutable_value(google_api_expr_v1alpha1_Reference* msg, upb_Arena* arena) {
|
1263
1748
|
struct google_api_expr_v1alpha1_Constant* sub = (struct google_api_expr_v1alpha1_Constant*)google_api_expr_v1alpha1_Reference_value(msg);
|
1264
1749
|
if (sub == NULL) {
|
1265
|
-
sub = (struct google_api_expr_v1alpha1_Constant*)_upb_Message_New(&
|
1266
|
-
if (
|
1267
|
-
google_api_expr_v1alpha1_Reference_set_value(msg, sub);
|
1750
|
+
sub = (struct google_api_expr_v1alpha1_Constant*)_upb_Message_New(&google_api_expr_v1alpha1_Constant_msg_init, arena);
|
1751
|
+
if (sub) google_api_expr_v1alpha1_Reference_set_value(msg, sub);
|
1268
1752
|
}
|
1269
1753
|
return sub;
|
1270
1754
|
}
|
1271
1755
|
|
1272
|
-
extern const
|
1756
|
+
extern const upb_MiniTableFile google_api_expr_v1alpha1_checked_proto_upb_file_layout;
|
1273
1757
|
|
1274
1758
|
#ifdef __cplusplus
|
1275
1759
|
} /* extern "C" */
|
1276
1760
|
#endif
|
1277
1761
|
|
1278
|
-
#include "upb/
|
1762
|
+
#include "upb/port/undef.inc"
|
1279
1763
|
|
1280
1764
|
#endif /* GOOGLE_API_EXPR_V1ALPHA1_CHECKED_PROTO_UPB_H_ */
|