grpc 1.81.1 → 1.82.0.pre2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Makefile +12 -9
- data/include/grpc/grpc.h +6 -7
- data/include/grpc/impl/channel_arg_names.h +3 -1
- data/src/core/call/call_filters.h +2 -2
- data/src/core/call/client_call.cc +1 -1
- data/src/core/call/interception_chain.h +6 -9
- data/src/core/call/metadata.h +1 -1
- data/src/core/call/metadata_batch.cc +1 -1
- data/src/core/call/metadata_batch.h +17 -1
- data/src/core/call/parsed_metadata.h +7 -2
- data/src/core/call/server_call.cc +4 -2
- data/src/core/call/server_call.h +9 -2
- data/src/core/call/status_util.cc +0 -4
- data/src/core/call/status_util.h +0 -3
- data/src/core/channelz/channel_trace.cc +3 -1
- data/src/core/client_channel/backup_poller.cc +1 -1
- data/src/core/client_channel/client_channel.cc +6 -14
- data/src/core/client_channel/client_channel.h +2 -2
- data/src/core/client_channel/client_channel_filter.cc +8 -17
- data/src/core/client_channel/client_channel_filter.h +2 -2
- data/src/core/client_channel/client_channel_plugin.cc +1 -1
- data/src/core/client_channel/config_selector.h +2 -7
- data/src/core/client_channel/dynamic_filters.cc +4 -7
- data/src/core/client_channel/dynamic_filters.h +1 -3
- data/src/core/client_channel/retry_filter.cc +2 -25
- data/src/core/client_channel/retry_filter.h +3 -7
- data/src/core/client_channel/retry_filter_legacy_call_data.cc +1 -1
- data/src/core/client_channel/retry_filter_legacy_call_data.h +2 -2
- data/src/core/client_channel/retry_interceptor.cc +7 -35
- data/src/core/client_channel/retry_interceptor.h +11 -14
- data/src/core/client_channel/retry_service_config.cc +0 -2
- data/src/core/client_channel/retry_service_config.h +0 -2
- data/src/core/client_channel/retry_throttle.cc +19 -7
- data/src/core/client_channel/retry_throttle.h +24 -7
- data/src/core/client_channel/subchannel.cc +1 -1
- data/src/core/credentials/call/external/external_account_credentials.cc +125 -12
- data/src/core/credentials/call/external/external_account_credentials.h +6 -1
- data/src/core/credentials/call/jwt/jwt_credentials.cc +11 -1
- data/src/core/credentials/call/jwt/jwt_credentials.h +3 -0
- data/src/core/credentials/call/oauth2/oauth2_credentials.cc +64 -11
- data/src/core/credentials/call/oauth2/oauth2_credentials.h +0 -1
- data/src/core/credentials/call/regional_access_boundary_fetcher.cc +411 -0
- data/src/core/credentials/call/regional_access_boundary_fetcher.h +158 -0
- data/src/core/credentials/call/token_fetcher/token_fetcher_credentials.cc +1 -1
- data/src/core/credentials/call/token_fetcher/token_fetcher_credentials.h +7 -1
- data/src/core/credentials/transport/insecure/insecure_security_connector.h +1 -1
- data/src/core/credentials/transport/local/local_security_connector.cc +1 -1
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +6 -0
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +28 -66
- data/src/core/ext/filters/fault_injection/fault_injection_filter.h +0 -8
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.cc +24 -58
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.h +24 -19
- data/src/core/ext/filters/message_size/message_size_filter.cc +1 -81
- data/src/core/ext/filters/message_size/message_size_filter.h +1 -50
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +13 -56
- data/src/core/ext/filters/stateful_session/stateful_session_filter.h +0 -14
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +1 -1
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +175 -51
- data/src/core/ext/transport/chttp2/server/chttp2_server.h +10 -1
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +73 -6
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +1 -0
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/flow_control.h +11 -0
- data/src/core/ext/transport/chttp2/transport/flow_control_manager.h +2 -4
- data/src/core/ext/transport/chttp2/transport/frame.cc +63 -13
- data/src/core/ext/transport/chttp2/transport/frame.h +45 -10
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +4 -1
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +11 -3
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +4 -1
- data/src/core/ext/transport/chttp2/transport/header_assembler.h +54 -22
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +53 -5
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +22 -0
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +20 -0
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +33 -1
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +4 -1
- data/src/core/ext/transport/chttp2/transport/http2_client_transport.cc +118 -157
- data/src/core/ext/transport/chttp2/transport/http2_client_transport.h +6 -13
- data/src/core/ext/transport/chttp2/transport/http2_server_transport.cc +2187 -0
- data/src/core/ext/transport/chttp2/transport/http2_server_transport.h +748 -0
- data/src/core/ext/transport/chttp2/transport/http2_settings.h +19 -4
- data/src/core/ext/transport/chttp2/transport/http2_settings_manager.h +0 -2
- data/src/core/ext/transport/chttp2/transport/http2_settings_promises.h +50 -17
- data/src/core/ext/transport/chttp2/transport/http2_transport.cc +13 -15
- data/src/core/ext/transport/chttp2/transport/http2_transport.h +16 -48
- data/src/core/ext/transport/chttp2/transport/internal.h +14 -0
- data/src/core/ext/transport/chttp2/transport/message_assembler.h +1 -2
- data/src/core/ext/transport/chttp2/transport/parsing.cc +82 -24
- data/src/core/ext/transport/chttp2/transport/read_context.h +452 -0
- data/src/core/ext/transport/chttp2/transport/security_frame.h +12 -3
- data/src/core/ext/transport/chttp2/transport/stream.h +25 -26
- data/src/core/ext/transport/chttp2/transport/stream_data_queue.h +6 -4
- data/src/core/ext/transport/chttp2/transport/write_cycle.h +9 -1
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +16 -2
- data/src/core/ext/upb-gen/cel/expr/checked.upb.h +621 -432
- data/src/core/ext/upb-gen/cel/expr/checked.upb_minitable.c +264 -166
- data/src/core/ext/upb-gen/cel/expr/checked.upb_minitable.h +0 -13
- data/src/core/ext/upb-gen/cel/expr/syntax.upb.h +708 -497
- data/src/core/ext/upb-gen/cel/expr/syntax.upb_minitable.c +294 -176
- data/src/core/ext/upb-gen/cel/expr/syntax.upb_minitable.h +0 -15
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +262 -181
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +84 -58
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +254 -190
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +107 -53
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +271 -190
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +88 -64
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +1035 -730
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +384 -260
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +0 -19
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +87 -56
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +26 -16
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +105 -71
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +30 -22
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +31 -29
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +19 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +25 -23
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +25 -23
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +201 -165
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +79 -31
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +29 -26
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +46 -29
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +37 -19
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +4 -4
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +34 -27
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +34 -13
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +617 -452
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +221 -163
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +0 -16
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +1339 -970
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +484 -324
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +0 -23
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +181 -135
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +59 -43
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +1353 -1028
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +535 -361
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +0 -25
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +37 -33
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +19 -13
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +234 -196
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +77 -57
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +695 -502
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +246 -186
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +0 -15
- data/src/core/ext/upb-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upb.h +140 -116
- data/src/core/ext/upb-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upb_minitable.c +53 -43
- data/src/core/ext/upb-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +363 -269
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +131 -89
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +35 -31
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +1073 -769
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +515 -293
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +0 -30
- data/src/core/ext/upb-gen/envoy/config/core/v3/cel.upb.h +25 -23
- data/src/core/ext/upb-gen/envoy/config/core/v3/cel.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/cel.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +375 -267
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +142 -86
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +0 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +32 -27
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +29 -26
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +87 -56
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +26 -16
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +634 -468
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +255 -161
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +0 -14
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +672 -474
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +228 -130
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +0 -9
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +56 -40
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +34 -29
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +811 -635
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +347 -221
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +0 -16
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +174 -118
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +62 -38
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +78 -57
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +28 -18
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_cmsg_headers.upb.h +37 -33
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_cmsg_headers.upb_minitable.c +22 -14
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_cmsg_headers.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +159 -119
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +47 -35
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +101 -76
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +41 -23
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +35 -31
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +189 -127
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +79 -49
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +378 -283
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +156 -98
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +354 -255
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +125 -69
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +0 -6
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +611 -451
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +159 -119
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +0 -11
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +468 -321
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +157 -99
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +0 -6
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +146 -119
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +55 -35
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +61 -51
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +43 -39
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +25 -13
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +341 -247
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +130 -84
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +452 -313
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +144 -100
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +0 -10
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +666 -493
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +251 -181
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +0 -12
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +327 -197
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +92 -48
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +3583 -2532
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +1340 -816
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +0 -60
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +111 -82
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +48 -28
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +548 -410
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +214 -148
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +0 -12
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +59 -50
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +30 -20
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +29 -26
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +60 -49
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +28 -20
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +50 -36
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +82 -63
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +27 -19
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +70 -58
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +32 -22
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +2 -5
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +73 -62
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +39 -25
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +49 -45
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +33 -13
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +771 -588
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +383 -185
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +0 -16
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +66 -47
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +31 -17
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/common/matching/v3/extension_matcher.upb.h +69 -58
- data/src/core/ext/upb-gen/envoy/extensions/common/matching/v3/extension_matcher.upb_minitable.c +27 -23
- data/src/core/ext/upb-gen/envoy/extensions/common/matching/v3/extension_matcher.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +151 -119
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +45 -39
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/matcher/action/v3/skip_action.upb.h +19 -17
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/matcher/action/v3/skip_action.upb_minitable.c +1 -3
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/matcher/action/v3/skip_action.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/composite/v3/composite.upb.h +144 -109
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/composite/v3/composite.upb_minitable.c +46 -38
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/composite/v3/composite.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +184 -139
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +65 -35
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb.h +129 -106
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb_minitable.c +69 -41
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +83 -71
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +40 -26
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +148 -101
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +45 -27
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +62 -51
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +35 -21
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +1362 -1024
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +508 -336
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +0 -22
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/call_credentials/access_token/v3/access_token_credentials.upb.h +21 -19
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/call_credentials/access_token/v3/access_token_credentials.upb_minitable.c +13 -7
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/call_credentials/access_token/v3/access_token_credentials.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/tls/v3/tls_credentials.upb.h +35 -31
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/tls/v3/tls_credentials.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/tls/v3/tls_credentials.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/xds/v3/xds_credentials.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/xds/v3/xds_credentials.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/xds/v3/xds_credentials.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +94 -74
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +35 -23
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +231 -179
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +88 -66
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +0 -6
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +21 -19
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +13 -7
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +63 -56
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +31 -19
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +2 -5
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +538 -364
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +157 -95
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +150 -110
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +69 -49
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +517 -389
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +182 -116
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +0 -7
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +84 -62
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +30 -22
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +340 -256
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +92 -82
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +19 -17
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +1 -3
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +857 -566
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +288 -182
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +0 -15
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +105 -72
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +36 -22
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +312 -226
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +132 -78
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +82 -61
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +35 -19
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +123 -89
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +25 -25
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/address.upb.h +48 -33
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/address.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/address.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +42 -36
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +19 -13
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +101 -79
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +61 -31
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +83 -60
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +37 -19
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +56 -40
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +34 -29
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +32 -27
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +88 -71
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +48 -30
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +37 -30
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +1 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +95 -71
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +36 -22
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +79 -56
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +26 -18
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +164 -124
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +54 -40
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +200 -147
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +47 -41
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +0 -7
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +160 -130
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +89 -47
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +78 -62
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +26 -20
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +2 -5
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +21 -19
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +13 -7
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +43 -36
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +22 -12
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +67 -55
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +36 -18
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +62 -51
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +33 -19
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +2 -5
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +25 -23
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +37 -33
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +19 -13
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/api/annotations.upb.h +15 -13
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +22 -7
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +1 -1
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +619 -430
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +260 -168
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +0 -13
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +734 -518
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +312 -182
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +0 -16
- data/src/core/ext/upb-gen/google/api/http.upb.h +146 -105
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +65 -29
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/google/api/httpbody.upb.h +52 -37
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/any.upb.h +23 -21
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +2236 -1514
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +824 -406
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +0 -34
- data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +23 -21
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +19 -17
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +1 -3
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +149 -100
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +59 -43
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +23 -21
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +181 -139
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +99 -53
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +0 -9
- data/src/core/ext/upb-gen/google/rpc/status.upb.h +52 -37
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/channelz.upb.h +1553 -1157
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/channelz.upb_minitable.c +712 -410
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/channelz.upb_minitable.h +0 -39
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/channelz.upb.h +189 -125
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/channelz.upb_minitable.c +59 -35
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/channelz.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/promise.upb.h +454 -343
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/promise.upb_minitable.c +204 -130
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/promise.upb_minitable.h +0 -11
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/property_list.upb.h +369 -243
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/property_list.upb_minitable.c +109 -79
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/property_list.upb_minitable.h +0 -7
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/service.upb.h +256 -175
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/service.upb_minitable.c +122 -68
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/service.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +71 -51
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +39 -19
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +583 -407
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +259 -145
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +0 -12
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +114 -84
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +52 -30
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +41 -34
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +25 -13
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +309 -230
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +123 -79
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +0 -9
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +98 -63
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +51 -23
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +505 -312
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +159 -87
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +0 -9
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +128 -91
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +82 -41
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +5 -8
- data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +36 -29
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +36 -13
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +13 -11
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +22 -7
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +1 -1
- data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +36 -29
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +36 -13
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +34 -27
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +34 -13
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/validate/validate.upb.h +1682 -1130
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +587 -247
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +4 -27
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +128 -91
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +82 -41
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +5 -8
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +36 -29
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +36 -13
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +13 -11
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +22 -7
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +1 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +122 -90
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +82 -39
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +3 -7
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +34 -27
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +34 -13
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +21 -19
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +13 -7
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +29 -26
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +70 -58
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +32 -22
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +53 -34
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +26 -16
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +29 -26
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +37 -33
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +22 -14
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +102 -76
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +43 -23
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +33 -30
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +136 -83
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +41 -33
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +46 -32
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +20 -12
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +29 -26
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +20 -12
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +93 -61
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +28 -20
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +19 -17
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +1 -3
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +105 -71
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +32 -22
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +430 -314
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +153 -123
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +0 -10
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +307 -199
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +74 -62
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +0 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +52 -42
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +19 -13
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +95 -71
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +36 -22
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +92 -77
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +42 -28
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +67 -55
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +36 -18
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +29 -26
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +0 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +885 -855
- data/src/core/filter/composite/composite_filter.cc +10 -3
- data/src/core/filter/composite/composite_filter.h +11 -1
- data/src/core/filter/filter_args.h +4 -22
- data/src/core/handshaker/handshaker.cc +10 -2
- data/src/core/handshaker/security/secure_endpoint.cc +73 -5
- data/src/core/lib/channel/channel_args.h +12 -6
- data/src/core/lib/channel/channel_stack.cc +1 -2
- data/src/core/lib/channel/channel_stack.h +1 -7
- data/src/core/lib/channel/channel_stack_builder_impl.cc +1 -1
- data/src/core/lib/channel/channel_stack_builder_impl.h +0 -7
- data/src/core/lib/channel/promise_based_filter.cc +13 -1
- data/src/core/lib/channel/promise_based_filter.h +4 -5
- data/src/core/lib/event_engine/extensions/chaotic_good_extension.h +0 -13
- data/src/core/lib/event_engine/extensions/receive_coalescing_extension.h +48 -0
- data/src/core/lib/event_engine/posix.h +2 -0
- data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc +2 -1
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +11 -8
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +7 -6
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +1 -1
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +2 -1
- data/src/core/lib/event_engine/posix_engine/posix_interface_posix.cc +10 -10
- data/src/core/lib/event_engine/posix_engine/posix_write_event_sink.h +1 -1
- data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +1 -1
- data/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc +5 -4
- data/src/core/lib/experiments/experiments.cc +258 -87
- data/src/core/lib/experiments/experiments.h +130 -32
- data/src/core/lib/iomgr/buffer_list.h +1 -1
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +1 -1
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +2 -2
- data/src/core/lib/iomgr/tcp_posix.cc +2 -1
- data/src/core/lib/iomgr/tcp_server_posix.cc +3 -3
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +1 -1
- data/src/core/lib/promise/detail/promise_factory.h +8 -8
- data/src/core/lib/promise/interceptor_list.h +1 -1
- data/src/core/lib/promise/try_seq.h +2 -2
- data/src/core/lib/resource_quota/telemetry.cc +54 -0
- data/src/core/lib/resource_quota/telemetry.h +5 -23
- data/src/core/lib/surface/call.cc +6 -1
- data/src/core/lib/surface/call.h +9 -0
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/promise_endpoint.h +7 -5
- data/src/core/lib/transport/transport.h +31 -4
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +146 -74
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.h +88 -0
- data/src/core/mitigation_engine/mitigation_engine.h +81 -0
- data/src/core/plugin_registry/grpc_plugin_registry.cc +0 -2
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -5
- data/src/core/resolver/xds/xds_resolver.cc +23 -133
- data/src/core/server/server.cc +40 -18
- data/src/core/server/server.h +25 -14
- data/src/core/server/server_config_selector_filter.cc +122 -0
- data/src/core/server/server_config_selector_filter.h +1 -0
- data/src/core/server/xds_server_config_fetcher.cc +6 -0
- data/src/core/server/xds_server_config_fetcher_legacy.cc +1333 -0
- data/src/core/telemetry/histogram.h +10 -89
- data/src/core/telemetry/instrument.h +42 -28
- data/src/core/transport/message_size_service_config.cc +123 -0
- data/src/core/transport/message_size_service_config.h +85 -0
- data/src/core/transport/session_endpoint.cc +29 -4
- data/src/core/transport/session_endpoint.h +4 -0
- data/src/core/tsi/alts/crypt/gsec.h +4 -2
- data/src/core/tsi/ssl_transport_security.cc +6 -4
- data/src/core/util/http_client/parser.cc +1 -1
- data/src/core/util/lru_cache.h +2 -0
- data/src/core/util/ref_counted_string.h +1 -1
- data/src/core/util/tchar.cc +13 -7
- data/src/core/util/trie_lookup.h +1 -1
- data/src/core/xds/grpc/blackboard.cc +58 -0
- data/src/core/{filter → xds/grpc}/blackboard.h +30 -11
- data/src/core/xds/grpc/xds_common_types.cc +40 -0
- data/src/core/xds/grpc/xds_common_types.h +13 -0
- data/src/core/xds/grpc/xds_common_types_parser.cc +37 -34
- data/src/core/xds/grpc/xds_endpoint_parser.cc +1 -1
- data/src/core/xds/grpc/xds_http_composite_filter.cc +34 -18
- data/src/core/xds/grpc/xds_http_composite_filter.h +6 -3
- data/src/core/xds/grpc/xds_http_fault_filter.cc +0 -149
- data/src/core/xds/grpc/xds_http_fault_filter.h +19 -8
- data/src/core/xds/grpc/xds_http_filter.cc +2 -1
- data/src/core/xds/grpc/xds_http_filter.h +6 -16
- data/src/core/xds/grpc/xds_http_filter_registry.cc +0 -2
- data/src/core/xds/grpc/xds_http_gcp_authn_filter.cc +25 -119
- data/src/core/xds/grpc/xds_http_gcp_authn_filter.h +27 -15
- data/src/core/xds/grpc/xds_http_stateful_session_filter.cc +0 -149
- data/src/core/xds/grpc/xds_http_stateful_session_filter.h +19 -8
- data/src/core/xds/grpc/xds_lb_policy_registry.cc +18 -0
- data/src/core/xds/grpc/xds_listener_parser.cc +13 -9
- data/src/core/xds/grpc/xds_route_config.h +1 -1
- data/src/core/xds/grpc/xds_route_config_parser.cc +3 -5
- data/src/core/xds/grpc/xds_routing.cc +5 -11
- data/src/core/xds/grpc/xds_routing.h +2 -3
- data/src/core/xds/xds_client/lrs_client.cc +2 -2
- data/src/ruby/ext/grpc/rb_byte_buffer.c +1 -0
- data/src/ruby/ext/grpc/rb_call.c +3 -0
- data/src/ruby/ext/grpc/rb_call_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_channel.c +1 -0
- data/src/ruby/ext/grpc/rb_channel_args.c +1 -0
- data/src/ruby/ext/grpc/rb_channel_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_completion_queue.c +1 -0
- data/src/ruby/ext/grpc/rb_compression_options.c +1 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +4 -4
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +6 -6
- data/src/ruby/ext/grpc/rb_server.c +1 -0
- data/src/ruby/ext/grpc/rb_server_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_xds_server_credentials.c +1 -0
- data/src/ruby/lib/grpc/core/call_credentials.rb +86 -0
- data/src/ruby/lib/grpc/core/channel_credentials.rb +69 -0
- data/src/ruby/lib/grpc/core/credentials_helper.rb +126 -0
- data/src/ruby/lib/grpc/generic/client_stub.rb +86 -73
- data/src/ruby/lib/grpc/generic/interceptors.rb +1 -1
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/lib/grpc.rb +25 -0
- data/src/ruby/spec/call_credentials_spec.rb +52 -2
- data/src/ruby/spec/credentials_helper_spec.rb +80 -0
- data/src/ruby/spec/generic/client_stub_spec.rb +27 -4
- data/src/ruby/spec/generic/server_interceptors_spec.rb +17 -3
- data/third_party/upb/upb/base/error_handler.h +79 -0
- data/third_party/upb/upb/base/internal/log2.h +29 -5
- data/third_party/upb/upb/generated_code_support.h +1 -0
- data/third_party/upb/upb/hash/common.c +129 -14
- data/third_party/upb/upb/hash/common.h +1 -1
- data/third_party/upb/upb/hash/ext_table.h +65 -0
- data/third_party/upb/upb/lex/strtod.c +14 -5
- data/third_party/upb/upb/mem/arena.c +113 -95
- data/third_party/upb/upb/mem/internal/arena.h +13 -8
- data/third_party/upb/upb/message/accessors.c +2 -3
- data/third_party/upb/upb/message/accessors.h +32 -12
- data/third_party/upb/upb/message/array.c +51 -2
- data/third_party/upb/upb/message/array.h +10 -0
- data/third_party/upb/upb/message/copy.c +18 -34
- data/third_party/upb/upb/message/internal/accessors.h +15 -49
- data/third_party/upb/upb/message/internal/array.h +1 -1
- data/third_party/upb/upb/message/internal/map.h +1 -1
- data/third_party/upb/upb/message/internal/message.c +8 -1
- data/third_party/upb/upb/message/internal/message.h +40 -10
- data/third_party/upb/upb/message/message.c +3 -2
- data/third_party/upb/upb/message/value.h +0 -6
- data/third_party/upb/upb/mini_descriptor/decode.c +78 -59
- data/third_party/upb/upb/mini_descriptor/link.c +8 -6
- data/third_party/upb/upb/mini_table/extension_registry.c +17 -49
- data/third_party/upb/upb/mini_table/extension_registry.h +5 -17
- data/third_party/upb/upb/mini_table/generated_registry.c +180 -0
- data/third_party/upb/upb/mini_table/generated_registry.h +66 -0
- data/third_party/upb/upb/mini_table/internal/extension.h +5 -3
- data/third_party/upb/upb/mini_table/internal/field.h +7 -5
- data/third_party/upb/upb/mini_table/internal/generated_registry.h +37 -0
- data/third_party/upb/upb/mini_table/internal/message.c +0 -18
- data/third_party/upb/upb/mini_table/internal/message.h +24 -41
- data/third_party/upb/upb/mini_table/internal/size_log2.h +2 -1
- data/third_party/upb/upb/mini_table/internal/sub.h +2 -5
- data/third_party/upb/upb/mini_table/message.h +34 -13
- data/third_party/upb/upb/port/atomic.h +180 -74
- data/third_party/upb/upb/port/def.inc +194 -29
- data/third_party/upb/upb/port/sanitizers.h +15 -0
- data/third_party/upb/upb/port/undef.inc +6 -2
- data/third_party/upb/upb/reflection/common.h +0 -6
- data/third_party/upb/upb/reflection/def.hpp +8 -12
- data/third_party/upb/upb/reflection/def_pool.c +85 -33
- data/third_party/upb/upb/reflection/def_pool.h +38 -8
- data/third_party/upb/upb/reflection/def_type.h +3 -0
- data/third_party/upb/upb/reflection/enum_def.c +45 -33
- data/third_party/upb/upb/reflection/enum_def.h +8 -4
- data/third_party/upb/upb/reflection/enum_reserved_range.c +7 -3
- data/third_party/upb/upb/reflection/enum_value_def.c +14 -29
- data/third_party/upb/upb/reflection/enum_value_def.h +5 -4
- data/third_party/upb/upb/reflection/extension_range.c +15 -14
- data/third_party/upb/upb/reflection/extension_range.h +7 -4
- data/third_party/upb/upb/reflection/field_def.c +114 -96
- data/third_party/upb/upb/reflection/field_def.h +3 -3
- data/third_party/upb/upb/reflection/file_def.c +71 -65
- data/third_party/upb/upb/reflection/file_def.h +4 -5
- data/third_party/upb/upb/reflection/internal/def_builder.c +22 -14
- data/third_party/upb/upb/reflection/internal/def_builder.h +44 -38
- data/third_party/upb/upb/reflection/internal/def_pool.h +5 -1
- data/third_party/upb/upb/reflection/internal/enum_def.h +6 -4
- data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +3 -2
- data/third_party/upb/upb/reflection/internal/enum_value_def.h +7 -4
- data/third_party/upb/upb/reflection/internal/extension_range.h +4 -3
- data/third_party/upb/upb/reflection/internal/field_def.h +15 -12
- data/third_party/upb/upb/reflection/internal/file_def.h +8 -1
- data/third_party/upb/upb/reflection/internal/message_def.h +10 -7
- data/third_party/upb/upb/reflection/internal/message_reserved_range.h +3 -1
- data/third_party/upb/upb/reflection/internal/method_def.h +6 -6
- data/third_party/upb/upb/reflection/internal/oneof_def.h +6 -6
- data/third_party/upb/upb/reflection/internal/service_def.h +9 -6
- data/third_party/upb/upb/reflection/internal/upb_edition_defaults.h +1 -1
- data/third_party/upb/upb/reflection/message_def.c +46 -53
- data/third_party/upb/upb/reflection/message_def.h +6 -7
- data/third_party/upb/upb/reflection/message_reserved_range.c +7 -6
- data/third_party/upb/upb/reflection/method_def.c +22 -20
- data/third_party/upb/upb/reflection/method_def.h +4 -4
- data/third_party/upb/upb/reflection/oneof_def.c +17 -15
- data/third_party/upb/upb/reflection/oneof_def.h +6 -3
- data/third_party/upb/upb/reflection/service_def.c +50 -23
- data/third_party/upb/upb/reflection/service_def.h +7 -4
- data/third_party/upb/upb/text/internal/encode.c +7 -10
- data/third_party/upb/upb/wire/decode.c +269 -430
- data/third_party/upb/upb/wire/decode.h +6 -45
- data/third_party/upb/upb/wire/decode_fast/combinations.h +7 -3
- data/third_party/upb/upb/wire/decode_fast/select.c +7 -2
- data/third_party/upb/upb/wire/encode.c +144 -106
- data/third_party/upb/upb/wire/encode.h +6 -2
- data/third_party/upb/upb/wire/eps_copy_input_stream.c +36 -7
- data/third_party/upb/upb/wire/eps_copy_input_stream.h +94 -380
- data/third_party/upb/upb/wire/internal/decoder.c +1 -14
- data/third_party/upb/upb/wire/internal/decoder.h +84 -24
- data/third_party/upb/upb/wire/internal/eps_copy_input_stream.h +339 -0
- data/third_party/upb/upb/wire/internal/reader.h +29 -12
- data/third_party/upb/upb/wire/reader.c +35 -22
- data/third_party/upb/upb/wire/reader.h +11 -18
- data/third_party/utf8_range/utf8_range.c +1 -1
- data/third_party/utf8_range/utf8_range.h +2 -1
- metadata +27 -13
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc +0 -117
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h +0 -109
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_service_config_parser.cc +0 -80
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_service_config_parser.h +0 -86
- data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.cc +0 -83
- data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h +0 -91
- data/src/core/ext/transport/chttp2/transport/incoming_metadata_tracker.h +0 -217
- data/src/core/filter/blackboard.cc +0 -33
- data/third_party/upb/upb/message/internal/tagged_ptr.h +0 -56
- data/third_party/upb/upb/message/tagged_ptr.h +0 -48
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
#define CEL_EXPR_CHECKED_PROTO_UPB_H__UPB_H_
|
|
11
11
|
|
|
12
12
|
#include "upb/generated_code_support.h"
|
|
13
|
-
|
|
14
13
|
#include "cel/expr/checked.upb_minitable.h"
|
|
15
|
-
|
|
16
14
|
#include "cel/expr/syntax.upb_minitable.h"
|
|
17
15
|
#include "google/protobuf/empty.upb_minitable.h"
|
|
18
16
|
#include "google/protobuf/struct.upb_minitable.h"
|
|
@@ -23,18 +21,50 @@
|
|
|
23
21
|
#ifdef __cplusplus
|
|
24
22
|
extern "C" {
|
|
25
23
|
#endif
|
|
24
|
+
typedef struct cel_expr_CheckedExpr {
|
|
25
|
+
upb_Message UPB_PRIVATE(base);
|
|
26
|
+
} cel_expr_CheckedExpr;
|
|
27
|
+
|
|
28
|
+
typedef struct cel_expr_Type {
|
|
29
|
+
upb_Message UPB_PRIVATE(base);
|
|
30
|
+
} cel_expr_Type;
|
|
31
|
+
|
|
32
|
+
typedef struct cel_expr_Type_ListType {
|
|
33
|
+
upb_Message UPB_PRIVATE(base);
|
|
34
|
+
} cel_expr_Type_ListType;
|
|
35
|
+
|
|
36
|
+
typedef struct cel_expr_Type_MapType {
|
|
37
|
+
upb_Message UPB_PRIVATE(base);
|
|
38
|
+
} cel_expr_Type_MapType;
|
|
39
|
+
|
|
40
|
+
typedef struct cel_expr_Type_FunctionType {
|
|
41
|
+
upb_Message UPB_PRIVATE(base);
|
|
42
|
+
} cel_expr_Type_FunctionType;
|
|
43
|
+
|
|
44
|
+
typedef struct cel_expr_Type_AbstractType {
|
|
45
|
+
upb_Message UPB_PRIVATE(base);
|
|
46
|
+
} cel_expr_Type_AbstractType;
|
|
47
|
+
|
|
48
|
+
typedef struct cel_expr_Decl {
|
|
49
|
+
upb_Message UPB_PRIVATE(base);
|
|
50
|
+
} cel_expr_Decl;
|
|
51
|
+
|
|
52
|
+
typedef struct cel_expr_Decl_IdentDecl {
|
|
53
|
+
upb_Message UPB_PRIVATE(base);
|
|
54
|
+
} cel_expr_Decl_IdentDecl;
|
|
55
|
+
|
|
56
|
+
typedef struct cel_expr_Decl_FunctionDecl {
|
|
57
|
+
upb_Message UPB_PRIVATE(base);
|
|
58
|
+
} cel_expr_Decl_FunctionDecl;
|
|
59
|
+
|
|
60
|
+
typedef struct cel_expr_Decl_FunctionDecl_Overload {
|
|
61
|
+
upb_Message UPB_PRIVATE(base);
|
|
62
|
+
} cel_expr_Decl_FunctionDecl_Overload;
|
|
63
|
+
|
|
64
|
+
typedef struct cel_expr_Reference {
|
|
65
|
+
upb_Message UPB_PRIVATE(base);
|
|
66
|
+
} cel_expr_Reference;
|
|
26
67
|
|
|
27
|
-
typedef struct cel_expr_CheckedExpr { upb_Message UPB_PRIVATE(base); } cel_expr_CheckedExpr;
|
|
28
|
-
typedef struct cel_expr_Type { upb_Message UPB_PRIVATE(base); } cel_expr_Type;
|
|
29
|
-
typedef struct cel_expr_Type_ListType { upb_Message UPB_PRIVATE(base); } cel_expr_Type_ListType;
|
|
30
|
-
typedef struct cel_expr_Type_MapType { upb_Message UPB_PRIVATE(base); } cel_expr_Type_MapType;
|
|
31
|
-
typedef struct cel_expr_Type_FunctionType { upb_Message UPB_PRIVATE(base); } cel_expr_Type_FunctionType;
|
|
32
|
-
typedef struct cel_expr_Type_AbstractType { upb_Message UPB_PRIVATE(base); } cel_expr_Type_AbstractType;
|
|
33
|
-
typedef struct cel_expr_Decl { upb_Message UPB_PRIVATE(base); } cel_expr_Decl;
|
|
34
|
-
typedef struct cel_expr_Decl_IdentDecl { upb_Message UPB_PRIVATE(base); } cel_expr_Decl_IdentDecl;
|
|
35
|
-
typedef struct cel_expr_Decl_FunctionDecl { upb_Message UPB_PRIVATE(base); } cel_expr_Decl_FunctionDecl;
|
|
36
|
-
typedef struct cel_expr_Decl_FunctionDecl_Overload { upb_Message UPB_PRIVATE(base); } cel_expr_Decl_FunctionDecl_Overload;
|
|
37
|
-
typedef struct cel_expr_Reference { upb_Message UPB_PRIVATE(base); } cel_expr_Reference;
|
|
38
68
|
struct cel_expr_Constant;
|
|
39
69
|
struct cel_expr_Expr;
|
|
40
70
|
struct cel_expr_SourceInfo;
|
|
@@ -60,61 +90,70 @@ typedef enum {
|
|
|
60
90
|
|
|
61
91
|
|
|
62
92
|
/* cel.expr.CheckedExpr */
|
|
63
|
-
|
|
64
93
|
UPB_INLINE cel_expr_CheckedExpr* cel_expr_CheckedExpr_new(upb_Arena* arena) {
|
|
65
94
|
return (cel_expr_CheckedExpr*)_upb_Message_New(&cel__expr__CheckedExpr_msg_init, arena);
|
|
66
95
|
}
|
|
67
|
-
UPB_INLINE cel_expr_CheckedExpr* cel_expr_CheckedExpr_parse(const char* buf, size_t size,
|
|
96
|
+
UPB_INLINE cel_expr_CheckedExpr* cel_expr_CheckedExpr_parse(const char* buf, size_t size,
|
|
97
|
+
upb_Arena* arena) {
|
|
68
98
|
cel_expr_CheckedExpr* ret = cel_expr_CheckedExpr_new(arena);
|
|
69
99
|
if (!ret) return NULL;
|
|
70
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__CheckedExpr_msg_init, NULL, 0,
|
|
71
|
-
|
|
100
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__CheckedExpr_msg_init, NULL, 0,
|
|
101
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
72
102
|
return NULL;
|
|
73
103
|
}
|
|
74
104
|
return ret;
|
|
75
105
|
}
|
|
76
|
-
UPB_INLINE cel_expr_CheckedExpr* cel_expr_CheckedExpr_parse_ex(
|
|
77
|
-
|
|
78
|
-
|
|
106
|
+
UPB_INLINE cel_expr_CheckedExpr* cel_expr_CheckedExpr_parse_ex(
|
|
107
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
108
|
+
int options, upb_Arena* arena) {
|
|
79
109
|
cel_expr_CheckedExpr* ret = cel_expr_CheckedExpr_new(arena);
|
|
80
110
|
if (!ret) return NULL;
|
|
81
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__CheckedExpr_msg_init, extreg,
|
|
82
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
111
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__CheckedExpr_msg_init, extreg,
|
|
112
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
83
113
|
return NULL;
|
|
84
114
|
}
|
|
85
115
|
return ret;
|
|
86
116
|
}
|
|
87
|
-
UPB_INLINE char* cel_expr_CheckedExpr_serialize(const cel_expr_CheckedExpr* msg,
|
|
117
|
+
UPB_INLINE char* cel_expr_CheckedExpr_serialize(const cel_expr_CheckedExpr* msg,
|
|
118
|
+
upb_Arena* arena, size_t* len) {
|
|
88
119
|
char* ptr;
|
|
89
120
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__CheckedExpr_msg_init, 0, arena, &ptr, len);
|
|
90
121
|
return ptr;
|
|
91
122
|
}
|
|
92
|
-
UPB_INLINE char* cel_expr_CheckedExpr_serialize_ex(const cel_expr_CheckedExpr* msg,
|
|
93
|
-
|
|
123
|
+
UPB_INLINE char* cel_expr_CheckedExpr_serialize_ex(const cel_expr_CheckedExpr* msg,
|
|
124
|
+
int options, upb_Arena* arena,
|
|
125
|
+
size_t* len) {
|
|
94
126
|
char* ptr;
|
|
95
127
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__CheckedExpr_msg_init, options, arena, &ptr, len);
|
|
96
128
|
return ptr;
|
|
97
129
|
}
|
|
98
130
|
UPB_INLINE void cel_expr_CheckedExpr_clear_reference_map(cel_expr_CheckedExpr* msg) {
|
|
99
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0,
|
|
131
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
100
132
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
101
133
|
}
|
|
102
134
|
UPB_INLINE size_t cel_expr_CheckedExpr_reference_map_size(const cel_expr_CheckedExpr* msg) {
|
|
103
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0,
|
|
135
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
136
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__CheckedExpr__ReferenceMapEntry_msg_init);
|
|
137
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Reference_msg_init);
|
|
104
138
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
105
139
|
return map ? _upb_Map_Size(map) : 0;
|
|
106
140
|
}
|
|
107
|
-
|
|
108
|
-
|
|
141
|
+
|
|
142
|
+
UPB_INLINE bool cel_expr_CheckedExpr_reference_map_get(const cel_expr_CheckedExpr* msg,
|
|
143
|
+
int64_t key, cel_expr_Reference** val) {
|
|
144
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
109
145
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__CheckedExpr__ReferenceMapEntry_msg_init);
|
|
110
146
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Reference_msg_init);
|
|
111
147
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
112
148
|
if (!map) return false;
|
|
113
|
-
return _upb_Map_Get(map, &key, sizeof(
|
|
149
|
+
return _upb_Map_Get(map, &key, sizeof(int64_t), val, sizeof(cel_expr_Reference*));
|
|
114
150
|
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
151
|
+
|
|
152
|
+
UPB_INLINE bool cel_expr_CheckedExpr_reference_map_next(const cel_expr_CheckedExpr* msg,
|
|
153
|
+
int64_t* key,
|
|
154
|
+
const cel_expr_Reference** val,
|
|
155
|
+
size_t* iter) {
|
|
156
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
118
157
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__CheckedExpr__ReferenceMapEntry_msg_init);
|
|
119
158
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Reference_msg_init);
|
|
120
159
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
@@ -126,38 +165,51 @@ UPB_INLINE bool cel_expr_CheckedExpr_reference_map_next(const cel_expr_CheckedEx
|
|
|
126
165
|
memcpy(val, &v, sizeof(*val));
|
|
127
166
|
return true;
|
|
128
167
|
}
|
|
168
|
+
|
|
169
|
+
// and ~ a upb_Map for mutable.
|
|
170
|
+
//
|
|
129
171
|
UPB_INLINE const upb_Map* _cel_expr_CheckedExpr_reference_map_upb_map(cel_expr_CheckedExpr* msg) {
|
|
130
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0,
|
|
172
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
131
173
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__CheckedExpr__ReferenceMapEntry_msg_init);
|
|
132
174
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Reference_msg_init);
|
|
133
175
|
return upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
134
176
|
}
|
|
135
|
-
|
|
136
|
-
|
|
177
|
+
|
|
178
|
+
UPB_INLINE upb_Map* _cel_expr_CheckedExpr_reference_map_mutable_upb_map(
|
|
179
|
+
cel_expr_CheckedExpr* msg, upb_Arena* a) {
|
|
180
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
137
181
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__CheckedExpr__ReferenceMapEntry_msg_init);
|
|
138
182
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Reference_msg_init);
|
|
139
|
-
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
183
|
+
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
184
|
+
sizeof(int64_t), sizeof(cel_expr_Reference*), a);
|
|
140
185
|
}
|
|
141
186
|
UPB_INLINE void cel_expr_CheckedExpr_clear_type_map(cel_expr_CheckedExpr* msg) {
|
|
142
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0,
|
|
187
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
143
188
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
144
189
|
}
|
|
145
190
|
UPB_INLINE size_t cel_expr_CheckedExpr_type_map_size(const cel_expr_CheckedExpr* msg) {
|
|
146
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0,
|
|
191
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
192
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__CheckedExpr__TypeMapEntry_msg_init);
|
|
193
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
147
194
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
148
195
|
return map ? _upb_Map_Size(map) : 0;
|
|
149
196
|
}
|
|
150
|
-
|
|
151
|
-
|
|
197
|
+
|
|
198
|
+
UPB_INLINE bool cel_expr_CheckedExpr_type_map_get(const cel_expr_CheckedExpr* msg,
|
|
199
|
+
int64_t key, cel_expr_Type** val) {
|
|
200
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
152
201
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__CheckedExpr__TypeMapEntry_msg_init);
|
|
153
202
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
154
203
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
155
204
|
if (!map) return false;
|
|
156
|
-
return _upb_Map_Get(map, &key, sizeof(
|
|
205
|
+
return _upb_Map_Get(map, &key, sizeof(int64_t), val, sizeof(cel_expr_Type*));
|
|
157
206
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
207
|
+
|
|
208
|
+
UPB_INLINE bool cel_expr_CheckedExpr_type_map_next(const cel_expr_CheckedExpr* msg,
|
|
209
|
+
int64_t* key,
|
|
210
|
+
const cel_expr_Type** val,
|
|
211
|
+
size_t* iter) {
|
|
212
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
161
213
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__CheckedExpr__TypeMapEntry_msg_init);
|
|
162
214
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
163
215
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
@@ -169,50 +221,56 @@ UPB_INLINE bool cel_expr_CheckedExpr_type_map_next(const cel_expr_CheckedExpr* m
|
|
|
169
221
|
memcpy(val, &v, sizeof(*val));
|
|
170
222
|
return true;
|
|
171
223
|
}
|
|
224
|
+
|
|
225
|
+
// and ~ a upb_Map for mutable.
|
|
226
|
+
//
|
|
172
227
|
UPB_INLINE const upb_Map* _cel_expr_CheckedExpr_type_map_upb_map(cel_expr_CheckedExpr* msg) {
|
|
173
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0,
|
|
228
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
174
229
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__CheckedExpr__TypeMapEntry_msg_init);
|
|
175
230
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
176
231
|
return upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
177
232
|
}
|
|
178
|
-
|
|
179
|
-
|
|
233
|
+
|
|
234
|
+
UPB_INLINE upb_Map* _cel_expr_CheckedExpr_type_map_mutable_upb_map(
|
|
235
|
+
cel_expr_CheckedExpr* msg, upb_Arena* a) {
|
|
236
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
180
237
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__CheckedExpr__TypeMapEntry_msg_init);
|
|
181
238
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
182
|
-
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
239
|
+
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
240
|
+
sizeof(int64_t), sizeof(cel_expr_Type*), a);
|
|
183
241
|
}
|
|
184
242
|
UPB_INLINE void cel_expr_CheckedExpr_clear_expr(cel_expr_CheckedExpr* msg) {
|
|
185
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64,
|
|
243
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
186
244
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
187
245
|
}
|
|
188
246
|
UPB_INLINE const struct cel_expr_Expr* cel_expr_CheckedExpr_expr(const cel_expr_CheckedExpr* msg) {
|
|
189
247
|
const struct cel_expr_Expr* default_val = NULL;
|
|
190
248
|
const struct cel_expr_Expr* ret;
|
|
191
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64,
|
|
249
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
192
250
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
193
251
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
194
252
|
&default_val, &ret);
|
|
195
253
|
return ret;
|
|
196
254
|
}
|
|
197
255
|
UPB_INLINE bool cel_expr_CheckedExpr_has_expr(const cel_expr_CheckedExpr* msg) {
|
|
198
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64,
|
|
256
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
199
257
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
200
258
|
}
|
|
201
259
|
UPB_INLINE void cel_expr_CheckedExpr_clear_source_info(cel_expr_CheckedExpr* msg) {
|
|
202
|
-
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65,
|
|
260
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
203
261
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
204
262
|
}
|
|
205
263
|
UPB_INLINE const struct cel_expr_SourceInfo* cel_expr_CheckedExpr_source_info(const cel_expr_CheckedExpr* msg) {
|
|
206
264
|
const struct cel_expr_SourceInfo* default_val = NULL;
|
|
207
265
|
const struct cel_expr_SourceInfo* ret;
|
|
208
|
-
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65,
|
|
266
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
209
267
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo_msg_init);
|
|
210
268
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
211
269
|
&default_val, &ret);
|
|
212
270
|
return ret;
|
|
213
271
|
}
|
|
214
272
|
UPB_INLINE bool cel_expr_CheckedExpr_has_source_info(const cel_expr_CheckedExpr* msg) {
|
|
215
|
-
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65,
|
|
273
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
216
274
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
217
275
|
}
|
|
218
276
|
UPB_INLINE void cel_expr_CheckedExpr_clear_expr_version(cel_expr_CheckedExpr* msg) {
|
|
@@ -229,53 +287,68 @@ UPB_INLINE upb_StringView cel_expr_CheckedExpr_expr_version(const cel_expr_Check
|
|
|
229
287
|
}
|
|
230
288
|
|
|
231
289
|
UPB_INLINE void cel_expr_CheckedExpr_reference_map_clear(cel_expr_CheckedExpr* msg) {
|
|
232
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0,
|
|
290
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
291
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__CheckedExpr__ReferenceMapEntry_msg_init);
|
|
292
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Reference_msg_init);
|
|
233
293
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
234
294
|
if (!map) return;
|
|
235
295
|
_upb_Map_Clear(map);
|
|
236
296
|
}
|
|
237
|
-
|
|
238
|
-
|
|
297
|
+
|
|
298
|
+
UPB_INLINE bool cel_expr_CheckedExpr_reference_map_set(cel_expr_CheckedExpr* msg, int64_t key,
|
|
299
|
+
cel_expr_Reference* val, upb_Arena* a) {
|
|
300
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
239
301
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__CheckedExpr__ReferenceMapEntry_msg_init);
|
|
240
302
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Reference_msg_init);
|
|
241
|
-
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
242
|
-
|
|
303
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
304
|
+
UPB_UPCAST(msg), &field, sizeof(key), sizeof(val), a);
|
|
243
305
|
return _upb_Map_Insert(map, &key, sizeof(key), &val, sizeof(val), a) !=
|
|
244
306
|
kUpb_MapInsertStatus_OutOfMemory;
|
|
245
307
|
}
|
|
308
|
+
|
|
246
309
|
UPB_INLINE bool cel_expr_CheckedExpr_reference_map_delete(cel_expr_CheckedExpr* msg, int64_t key) {
|
|
247
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0,
|
|
310
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
311
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__CheckedExpr__ReferenceMapEntry_msg_init);
|
|
312
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Reference_msg_init);
|
|
248
313
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
249
314
|
if (!map) return false;
|
|
250
315
|
return _upb_Map_Delete(map, &key, sizeof(key), NULL);
|
|
251
316
|
}
|
|
252
317
|
UPB_INLINE void cel_expr_CheckedExpr_type_map_clear(cel_expr_CheckedExpr* msg) {
|
|
253
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0,
|
|
318
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
319
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__CheckedExpr__TypeMapEntry_msg_init);
|
|
320
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
254
321
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
255
322
|
if (!map) return;
|
|
256
323
|
_upb_Map_Clear(map);
|
|
257
324
|
}
|
|
258
|
-
|
|
259
|
-
|
|
325
|
+
|
|
326
|
+
UPB_INLINE bool cel_expr_CheckedExpr_type_map_set(cel_expr_CheckedExpr* msg, int64_t key,
|
|
327
|
+
cel_expr_Type* val, upb_Arena* a) {
|
|
328
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
260
329
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__CheckedExpr__TypeMapEntry_msg_init);
|
|
261
330
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
262
|
-
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
263
|
-
|
|
331
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
332
|
+
UPB_UPCAST(msg), &field, sizeof(key), sizeof(val), a);
|
|
264
333
|
return _upb_Map_Insert(map, &key, sizeof(key), &val, sizeof(val), a) !=
|
|
265
334
|
kUpb_MapInsertStatus_OutOfMemory;
|
|
266
335
|
}
|
|
336
|
+
|
|
267
337
|
UPB_INLINE bool cel_expr_CheckedExpr_type_map_delete(cel_expr_CheckedExpr* msg, int64_t key) {
|
|
268
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0,
|
|
338
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
339
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__CheckedExpr__TypeMapEntry_msg_init);
|
|
340
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
269
341
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
270
342
|
if (!map) return false;
|
|
271
343
|
return _upb_Map_Delete(map, &key, sizeof(key), NULL);
|
|
272
344
|
}
|
|
273
|
-
UPB_INLINE void cel_expr_CheckedExpr_set_expr(cel_expr_CheckedExpr
|
|
274
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64,
|
|
345
|
+
UPB_INLINE void cel_expr_CheckedExpr_set_expr(cel_expr_CheckedExpr* msg, struct cel_expr_Expr* value) {
|
|
346
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
275
347
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
276
|
-
upb_Message_SetBaseField((upb_Message
|
|
348
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
277
349
|
}
|
|
278
|
-
UPB_INLINE struct cel_expr_Expr* cel_expr_CheckedExpr_mutable_expr(
|
|
350
|
+
UPB_INLINE struct cel_expr_Expr* cel_expr_CheckedExpr_mutable_expr(
|
|
351
|
+
cel_expr_CheckedExpr* msg, upb_Arena* arena) {
|
|
279
352
|
struct cel_expr_Expr* sub = (struct cel_expr_Expr*)cel_expr_CheckedExpr_expr(msg);
|
|
280
353
|
if (sub == NULL) {
|
|
281
354
|
sub = (struct cel_expr_Expr*)_upb_Message_New(&cel__expr__Expr_msg_init, arena);
|
|
@@ -283,12 +356,13 @@ UPB_INLINE struct cel_expr_Expr* cel_expr_CheckedExpr_mutable_expr(cel_expr_Chec
|
|
|
283
356
|
}
|
|
284
357
|
return sub;
|
|
285
358
|
}
|
|
286
|
-
UPB_INLINE void cel_expr_CheckedExpr_set_source_info(cel_expr_CheckedExpr
|
|
287
|
-
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65,
|
|
359
|
+
UPB_INLINE void cel_expr_CheckedExpr_set_source_info(cel_expr_CheckedExpr* msg, struct cel_expr_SourceInfo* value) {
|
|
360
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
288
361
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo_msg_init);
|
|
289
|
-
upb_Message_SetBaseField((upb_Message
|
|
362
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
290
363
|
}
|
|
291
|
-
UPB_INLINE struct cel_expr_SourceInfo* cel_expr_CheckedExpr_mutable_source_info(
|
|
364
|
+
UPB_INLINE struct cel_expr_SourceInfo* cel_expr_CheckedExpr_mutable_source_info(
|
|
365
|
+
cel_expr_CheckedExpr* msg, upb_Arena* arena) {
|
|
292
366
|
struct cel_expr_SourceInfo* sub = (struct cel_expr_SourceInfo*)cel_expr_CheckedExpr_source_info(msg);
|
|
293
367
|
if (sub == NULL) {
|
|
294
368
|
sub = (struct cel_expr_SourceInfo*)_upb_Message_New(&cel__expr__SourceInfo_msg_init, arena);
|
|
@@ -296,43 +370,45 @@ UPB_INLINE struct cel_expr_SourceInfo* cel_expr_CheckedExpr_mutable_source_info(
|
|
|
296
370
|
}
|
|
297
371
|
return sub;
|
|
298
372
|
}
|
|
299
|
-
UPB_INLINE void cel_expr_CheckedExpr_set_expr_version(cel_expr_CheckedExpr
|
|
373
|
+
UPB_INLINE void cel_expr_CheckedExpr_set_expr_version(cel_expr_CheckedExpr* msg, upb_StringView value) {
|
|
300
374
|
const upb_MiniTableField field = {6, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
301
|
-
upb_Message_SetBaseField((upb_Message
|
|
375
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
302
376
|
}
|
|
303
377
|
|
|
304
378
|
/* cel.expr.Type */
|
|
305
|
-
|
|
306
379
|
UPB_INLINE cel_expr_Type* cel_expr_Type_new(upb_Arena* arena) {
|
|
307
380
|
return (cel_expr_Type*)_upb_Message_New(&cel__expr__Type_msg_init, arena);
|
|
308
381
|
}
|
|
309
|
-
UPB_INLINE cel_expr_Type* cel_expr_Type_parse(const char* buf, size_t size,
|
|
382
|
+
UPB_INLINE cel_expr_Type* cel_expr_Type_parse(const char* buf, size_t size,
|
|
383
|
+
upb_Arena* arena) {
|
|
310
384
|
cel_expr_Type* ret = cel_expr_Type_new(arena);
|
|
311
385
|
if (!ret) return NULL;
|
|
312
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type_msg_init, NULL, 0,
|
|
313
|
-
|
|
386
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type_msg_init, NULL, 0,
|
|
387
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
314
388
|
return NULL;
|
|
315
389
|
}
|
|
316
390
|
return ret;
|
|
317
391
|
}
|
|
318
|
-
UPB_INLINE cel_expr_Type* cel_expr_Type_parse_ex(
|
|
319
|
-
|
|
320
|
-
|
|
392
|
+
UPB_INLINE cel_expr_Type* cel_expr_Type_parse_ex(
|
|
393
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
394
|
+
int options, upb_Arena* arena) {
|
|
321
395
|
cel_expr_Type* ret = cel_expr_Type_new(arena);
|
|
322
396
|
if (!ret) return NULL;
|
|
323
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type_msg_init, extreg,
|
|
324
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
397
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type_msg_init, extreg,
|
|
398
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
325
399
|
return NULL;
|
|
326
400
|
}
|
|
327
401
|
return ret;
|
|
328
402
|
}
|
|
329
|
-
UPB_INLINE char* cel_expr_Type_serialize(const cel_expr_Type* msg,
|
|
403
|
+
UPB_INLINE char* cel_expr_Type_serialize(const cel_expr_Type* msg,
|
|
404
|
+
upb_Arena* arena, size_t* len) {
|
|
330
405
|
char* ptr;
|
|
331
406
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Type_msg_init, 0, arena, &ptr, len);
|
|
332
407
|
return ptr;
|
|
333
408
|
}
|
|
334
|
-
UPB_INLINE char* cel_expr_Type_serialize_ex(const cel_expr_Type* msg,
|
|
335
|
-
|
|
409
|
+
UPB_INLINE char* cel_expr_Type_serialize_ex(const cel_expr_Type* msg,
|
|
410
|
+
int options, upb_Arena* arena,
|
|
411
|
+
size_t* len) {
|
|
336
412
|
char* ptr;
|
|
337
413
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Type_msg_init, options, arena, &ptr, len);
|
|
338
414
|
return ptr;
|
|
@@ -353,30 +429,32 @@ typedef enum {
|
|
|
353
429
|
cel_expr_Type_type_kind_abstract_type = 14,
|
|
354
430
|
cel_expr_Type_type_kind_NOT_SET = 0
|
|
355
431
|
} cel_expr_Type_type_kind_oneofcases;
|
|
356
|
-
|
|
357
|
-
|
|
432
|
+
|
|
433
|
+
UPB_INLINE cel_expr_Type_type_kind_oneofcases
|
|
434
|
+
cel_expr_Type_type_kind_case(const cel_expr_Type* msg) {
|
|
435
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, UPB_SIZE(39, 40), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
358
436
|
return (cel_expr_Type_type_kind_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
359
437
|
UPB_UPCAST(msg), &field);
|
|
360
438
|
}
|
|
361
439
|
UPB_INLINE void cel_expr_Type_clear_type_kind(cel_expr_Type* msg) {
|
|
362
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
440
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, UPB_SIZE(39, 40), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
363
441
|
upb_Message_ClearOneof(UPB_UPCAST(msg), &cel__expr__Type_msg_init, &field);
|
|
364
442
|
}
|
|
365
443
|
UPB_INLINE void cel_expr_Type_clear_dyn(cel_expr_Type* msg) {
|
|
366
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
444
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, UPB_SIZE(39, 40), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
367
445
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
368
446
|
}
|
|
369
447
|
UPB_INLINE const struct google_protobuf_Empty* cel_expr_Type_dyn(const cel_expr_Type* msg) {
|
|
370
448
|
const struct google_protobuf_Empty* default_val = NULL;
|
|
371
449
|
const struct google_protobuf_Empty* ret;
|
|
372
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
450
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, UPB_SIZE(39, 40), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
373
451
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Empty_msg_init);
|
|
374
452
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
375
453
|
&default_val, &ret);
|
|
376
454
|
return ret;
|
|
377
455
|
}
|
|
378
456
|
UPB_INLINE bool cel_expr_Type_has_dyn(const cel_expr_Type* msg) {
|
|
379
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
457
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, UPB_SIZE(39, 40), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
380
458
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
381
459
|
}
|
|
382
460
|
UPB_INLINE void cel_expr_Type_clear_null(cel_expr_Type* msg) {
|
|
@@ -444,54 +522,54 @@ UPB_INLINE bool cel_expr_Type_has_well_known(const cel_expr_Type* msg) {
|
|
|
444
522
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
445
523
|
}
|
|
446
524
|
UPB_INLINE void cel_expr_Type_clear_list_type(cel_expr_Type* msg) {
|
|
447
|
-
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9,
|
|
525
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
448
526
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
449
527
|
}
|
|
450
528
|
UPB_INLINE const cel_expr_Type_ListType* cel_expr_Type_list_type(const cel_expr_Type* msg) {
|
|
451
529
|
const cel_expr_Type_ListType* default_val = NULL;
|
|
452
530
|
const cel_expr_Type_ListType* ret;
|
|
453
|
-
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9,
|
|
531
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
454
532
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type__ListType_msg_init);
|
|
455
533
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
456
534
|
&default_val, &ret);
|
|
457
535
|
return ret;
|
|
458
536
|
}
|
|
459
537
|
UPB_INLINE bool cel_expr_Type_has_list_type(const cel_expr_Type* msg) {
|
|
460
|
-
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9,
|
|
538
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
461
539
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
462
540
|
}
|
|
463
541
|
UPB_INLINE void cel_expr_Type_clear_map_type(cel_expr_Type* msg) {
|
|
464
|
-
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9,
|
|
542
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
465
543
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
466
544
|
}
|
|
467
545
|
UPB_INLINE const cel_expr_Type_MapType* cel_expr_Type_map_type(const cel_expr_Type* msg) {
|
|
468
546
|
const cel_expr_Type_MapType* default_val = NULL;
|
|
469
547
|
const cel_expr_Type_MapType* ret;
|
|
470
|
-
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9,
|
|
548
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
471
549
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type__MapType_msg_init);
|
|
472
550
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
473
551
|
&default_val, &ret);
|
|
474
552
|
return ret;
|
|
475
553
|
}
|
|
476
554
|
UPB_INLINE bool cel_expr_Type_has_map_type(const cel_expr_Type* msg) {
|
|
477
|
-
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9,
|
|
555
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
478
556
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
479
557
|
}
|
|
480
558
|
UPB_INLINE void cel_expr_Type_clear_function(cel_expr_Type* msg) {
|
|
481
|
-
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9,
|
|
559
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
482
560
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
483
561
|
}
|
|
484
562
|
UPB_INLINE const cel_expr_Type_FunctionType* cel_expr_Type_function(const cel_expr_Type* msg) {
|
|
485
563
|
const cel_expr_Type_FunctionType* default_val = NULL;
|
|
486
564
|
const cel_expr_Type_FunctionType* ret;
|
|
487
|
-
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9,
|
|
565
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
488
566
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type__FunctionType_msg_init);
|
|
489
567
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
490
568
|
&default_val, &ret);
|
|
491
569
|
return ret;
|
|
492
570
|
}
|
|
493
571
|
UPB_INLINE bool cel_expr_Type_has_function(const cel_expr_Type* msg) {
|
|
494
|
-
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9,
|
|
572
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
495
573
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
496
574
|
}
|
|
497
575
|
UPB_INLINE void cel_expr_Type_clear_message_type(cel_expr_Type* msg) {
|
|
@@ -527,63 +605,64 @@ UPB_INLINE bool cel_expr_Type_has_type_param(const cel_expr_Type* msg) {
|
|
|
527
605
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
528
606
|
}
|
|
529
607
|
UPB_INLINE void cel_expr_Type_clear_type(cel_expr_Type* msg) {
|
|
530
|
-
const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9,
|
|
608
|
+
const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
531
609
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
532
610
|
}
|
|
533
611
|
UPB_INLINE const cel_expr_Type* cel_expr_Type_type(const cel_expr_Type* msg) {
|
|
534
612
|
const cel_expr_Type* default_val = NULL;
|
|
535
613
|
const cel_expr_Type* ret;
|
|
536
|
-
const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9,
|
|
614
|
+
const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
537
615
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
538
616
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
539
617
|
&default_val, &ret);
|
|
540
618
|
return ret;
|
|
541
619
|
}
|
|
542
620
|
UPB_INLINE bool cel_expr_Type_has_type(const cel_expr_Type* msg) {
|
|
543
|
-
const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9,
|
|
621
|
+
const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
544
622
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
545
623
|
}
|
|
546
624
|
UPB_INLINE void cel_expr_Type_clear_error(cel_expr_Type* msg) {
|
|
547
|
-
const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9,
|
|
625
|
+
const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
548
626
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
549
627
|
}
|
|
550
628
|
UPB_INLINE const struct google_protobuf_Empty* cel_expr_Type_error(const cel_expr_Type* msg) {
|
|
551
629
|
const struct google_protobuf_Empty* default_val = NULL;
|
|
552
630
|
const struct google_protobuf_Empty* ret;
|
|
553
|
-
const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9,
|
|
631
|
+
const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
554
632
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Empty_msg_init);
|
|
555
633
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
556
634
|
&default_val, &ret);
|
|
557
635
|
return ret;
|
|
558
636
|
}
|
|
559
637
|
UPB_INLINE bool cel_expr_Type_has_error(const cel_expr_Type* msg) {
|
|
560
|
-
const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9,
|
|
638
|
+
const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
561
639
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
562
640
|
}
|
|
563
641
|
UPB_INLINE void cel_expr_Type_clear_abstract_type(cel_expr_Type* msg) {
|
|
564
|
-
const upb_MiniTableField field = {14, UPB_SIZE(12, 16), -9,
|
|
642
|
+
const upb_MiniTableField field = {14, UPB_SIZE(12, 16), -9, UPB_SIZE(9, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
565
643
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
566
644
|
}
|
|
567
645
|
UPB_INLINE const cel_expr_Type_AbstractType* cel_expr_Type_abstract_type(const cel_expr_Type* msg) {
|
|
568
646
|
const cel_expr_Type_AbstractType* default_val = NULL;
|
|
569
647
|
const cel_expr_Type_AbstractType* ret;
|
|
570
|
-
const upb_MiniTableField field = {14, UPB_SIZE(12, 16), -9,
|
|
648
|
+
const upb_MiniTableField field = {14, UPB_SIZE(12, 16), -9, UPB_SIZE(9, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
571
649
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type__AbstractType_msg_init);
|
|
572
650
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
573
651
|
&default_val, &ret);
|
|
574
652
|
return ret;
|
|
575
653
|
}
|
|
576
654
|
UPB_INLINE bool cel_expr_Type_has_abstract_type(const cel_expr_Type* msg) {
|
|
577
|
-
const upb_MiniTableField field = {14, UPB_SIZE(12, 16), -9,
|
|
655
|
+
const upb_MiniTableField field = {14, UPB_SIZE(12, 16), -9, UPB_SIZE(9, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
578
656
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
579
657
|
}
|
|
580
658
|
|
|
581
|
-
UPB_INLINE void cel_expr_Type_set_dyn(cel_expr_Type
|
|
582
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
659
|
+
UPB_INLINE void cel_expr_Type_set_dyn(cel_expr_Type* msg, struct google_protobuf_Empty* value) {
|
|
660
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, UPB_SIZE(39, 40), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
583
661
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Empty_msg_init);
|
|
584
|
-
upb_Message_SetBaseField((upb_Message
|
|
662
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
585
663
|
}
|
|
586
|
-
UPB_INLINE struct google_protobuf_Empty* cel_expr_Type_mutable_dyn(
|
|
664
|
+
UPB_INLINE struct google_protobuf_Empty* cel_expr_Type_mutable_dyn(
|
|
665
|
+
cel_expr_Type* msg, upb_Arena* arena) {
|
|
587
666
|
struct google_protobuf_Empty* sub = (struct google_protobuf_Empty*)cel_expr_Type_dyn(msg);
|
|
588
667
|
if (sub == NULL) {
|
|
589
668
|
sub = (struct google_protobuf_Empty*)_upb_Message_New(&google__protobuf__Empty_msg_init, arena);
|
|
@@ -591,28 +670,29 @@ UPB_INLINE struct google_protobuf_Empty* cel_expr_Type_mutable_dyn(cel_expr_Type
|
|
|
591
670
|
}
|
|
592
671
|
return sub;
|
|
593
672
|
}
|
|
594
|
-
UPB_INLINE void cel_expr_Type_set_null(cel_expr_Type
|
|
673
|
+
UPB_INLINE void cel_expr_Type_set_null(cel_expr_Type* msg, int32_t value) {
|
|
595
674
|
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
596
|
-
upb_Message_SetBaseField((upb_Message
|
|
675
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
597
676
|
}
|
|
598
|
-
UPB_INLINE void cel_expr_Type_set_primitive(cel_expr_Type
|
|
677
|
+
UPB_INLINE void cel_expr_Type_set_primitive(cel_expr_Type* msg, int32_t value) {
|
|
599
678
|
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
600
|
-
upb_Message_SetBaseField((upb_Message
|
|
679
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
601
680
|
}
|
|
602
|
-
UPB_INLINE void cel_expr_Type_set_wrapper(cel_expr_Type
|
|
681
|
+
UPB_INLINE void cel_expr_Type_set_wrapper(cel_expr_Type* msg, int32_t value) {
|
|
603
682
|
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
604
|
-
upb_Message_SetBaseField((upb_Message
|
|
683
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
605
684
|
}
|
|
606
|
-
UPB_INLINE void cel_expr_Type_set_well_known(cel_expr_Type
|
|
685
|
+
UPB_INLINE void cel_expr_Type_set_well_known(cel_expr_Type* msg, int32_t value) {
|
|
607
686
|
const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
608
|
-
upb_Message_SetBaseField((upb_Message
|
|
687
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
609
688
|
}
|
|
610
|
-
UPB_INLINE void cel_expr_Type_set_list_type(cel_expr_Type
|
|
611
|
-
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9,
|
|
689
|
+
UPB_INLINE void cel_expr_Type_set_list_type(cel_expr_Type* msg, cel_expr_Type_ListType* value) {
|
|
690
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
612
691
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type__ListType_msg_init);
|
|
613
|
-
upb_Message_SetBaseField((upb_Message
|
|
692
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
614
693
|
}
|
|
615
|
-
UPB_INLINE struct cel_expr_Type_ListType* cel_expr_Type_mutable_list_type(
|
|
694
|
+
UPB_INLINE struct cel_expr_Type_ListType* cel_expr_Type_mutable_list_type(
|
|
695
|
+
cel_expr_Type* msg, upb_Arena* arena) {
|
|
616
696
|
struct cel_expr_Type_ListType* sub = (struct cel_expr_Type_ListType*)cel_expr_Type_list_type(msg);
|
|
617
697
|
if (sub == NULL) {
|
|
618
698
|
sub = (struct cel_expr_Type_ListType*)_upb_Message_New(&cel__expr__Type__ListType_msg_init, arena);
|
|
@@ -620,12 +700,13 @@ UPB_INLINE struct cel_expr_Type_ListType* cel_expr_Type_mutable_list_type(cel_ex
|
|
|
620
700
|
}
|
|
621
701
|
return sub;
|
|
622
702
|
}
|
|
623
|
-
UPB_INLINE void cel_expr_Type_set_map_type(cel_expr_Type
|
|
624
|
-
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9,
|
|
703
|
+
UPB_INLINE void cel_expr_Type_set_map_type(cel_expr_Type* msg, cel_expr_Type_MapType* value) {
|
|
704
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
625
705
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type__MapType_msg_init);
|
|
626
|
-
upb_Message_SetBaseField((upb_Message
|
|
706
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
627
707
|
}
|
|
628
|
-
UPB_INLINE struct cel_expr_Type_MapType* cel_expr_Type_mutable_map_type(
|
|
708
|
+
UPB_INLINE struct cel_expr_Type_MapType* cel_expr_Type_mutable_map_type(
|
|
709
|
+
cel_expr_Type* msg, upb_Arena* arena) {
|
|
629
710
|
struct cel_expr_Type_MapType* sub = (struct cel_expr_Type_MapType*)cel_expr_Type_map_type(msg);
|
|
630
711
|
if (sub == NULL) {
|
|
631
712
|
sub = (struct cel_expr_Type_MapType*)_upb_Message_New(&cel__expr__Type__MapType_msg_init, arena);
|
|
@@ -633,12 +714,13 @@ UPB_INLINE struct cel_expr_Type_MapType* cel_expr_Type_mutable_map_type(cel_expr
|
|
|
633
714
|
}
|
|
634
715
|
return sub;
|
|
635
716
|
}
|
|
636
|
-
UPB_INLINE void cel_expr_Type_set_function(cel_expr_Type
|
|
637
|
-
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9,
|
|
717
|
+
UPB_INLINE void cel_expr_Type_set_function(cel_expr_Type* msg, cel_expr_Type_FunctionType* value) {
|
|
718
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
638
719
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type__FunctionType_msg_init);
|
|
639
|
-
upb_Message_SetBaseField((upb_Message
|
|
720
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
640
721
|
}
|
|
641
|
-
UPB_INLINE struct cel_expr_Type_FunctionType* cel_expr_Type_mutable_function(
|
|
722
|
+
UPB_INLINE struct cel_expr_Type_FunctionType* cel_expr_Type_mutable_function(
|
|
723
|
+
cel_expr_Type* msg, upb_Arena* arena) {
|
|
642
724
|
struct cel_expr_Type_FunctionType* sub = (struct cel_expr_Type_FunctionType*)cel_expr_Type_function(msg);
|
|
643
725
|
if (sub == NULL) {
|
|
644
726
|
sub = (struct cel_expr_Type_FunctionType*)_upb_Message_New(&cel__expr__Type__FunctionType_msg_init, arena);
|
|
@@ -646,20 +728,21 @@ UPB_INLINE struct cel_expr_Type_FunctionType* cel_expr_Type_mutable_function(cel
|
|
|
646
728
|
}
|
|
647
729
|
return sub;
|
|
648
730
|
}
|
|
649
|
-
UPB_INLINE void cel_expr_Type_set_message_type(cel_expr_Type
|
|
731
|
+
UPB_INLINE void cel_expr_Type_set_message_type(cel_expr_Type* msg, upb_StringView value) {
|
|
650
732
|
const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
651
|
-
upb_Message_SetBaseField((upb_Message
|
|
733
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
652
734
|
}
|
|
653
|
-
UPB_INLINE void cel_expr_Type_set_type_param(cel_expr_Type
|
|
735
|
+
UPB_INLINE void cel_expr_Type_set_type_param(cel_expr_Type* msg, upb_StringView value) {
|
|
654
736
|
const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
655
|
-
upb_Message_SetBaseField((upb_Message
|
|
737
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
656
738
|
}
|
|
657
|
-
UPB_INLINE void cel_expr_Type_set_type(cel_expr_Type
|
|
658
|
-
const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9,
|
|
739
|
+
UPB_INLINE void cel_expr_Type_set_type(cel_expr_Type* msg, cel_expr_Type* value) {
|
|
740
|
+
const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
659
741
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
660
|
-
upb_Message_SetBaseField((upb_Message
|
|
742
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
661
743
|
}
|
|
662
|
-
UPB_INLINE struct cel_expr_Type* cel_expr_Type_mutable_type(
|
|
744
|
+
UPB_INLINE struct cel_expr_Type* cel_expr_Type_mutable_type(
|
|
745
|
+
cel_expr_Type* msg, upb_Arena* arena) {
|
|
663
746
|
struct cel_expr_Type* sub = (struct cel_expr_Type*)cel_expr_Type_type(msg);
|
|
664
747
|
if (sub == NULL) {
|
|
665
748
|
sub = (struct cel_expr_Type*)_upb_Message_New(&cel__expr__Type_msg_init, arena);
|
|
@@ -667,12 +750,13 @@ UPB_INLINE struct cel_expr_Type* cel_expr_Type_mutable_type(cel_expr_Type* msg,
|
|
|
667
750
|
}
|
|
668
751
|
return sub;
|
|
669
752
|
}
|
|
670
|
-
UPB_INLINE void cel_expr_Type_set_error(cel_expr_Type
|
|
671
|
-
const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9,
|
|
753
|
+
UPB_INLINE void cel_expr_Type_set_error(cel_expr_Type* msg, struct google_protobuf_Empty* value) {
|
|
754
|
+
const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
672
755
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Empty_msg_init);
|
|
673
|
-
upb_Message_SetBaseField((upb_Message
|
|
756
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
674
757
|
}
|
|
675
|
-
UPB_INLINE struct google_protobuf_Empty* cel_expr_Type_mutable_error(
|
|
758
|
+
UPB_INLINE struct google_protobuf_Empty* cel_expr_Type_mutable_error(
|
|
759
|
+
cel_expr_Type* msg, upb_Arena* arena) {
|
|
676
760
|
struct google_protobuf_Empty* sub = (struct google_protobuf_Empty*)cel_expr_Type_error(msg);
|
|
677
761
|
if (sub == NULL) {
|
|
678
762
|
sub = (struct google_protobuf_Empty*)_upb_Message_New(&google__protobuf__Empty_msg_init, arena);
|
|
@@ -680,12 +764,13 @@ UPB_INLINE struct google_protobuf_Empty* cel_expr_Type_mutable_error(cel_expr_Ty
|
|
|
680
764
|
}
|
|
681
765
|
return sub;
|
|
682
766
|
}
|
|
683
|
-
UPB_INLINE void cel_expr_Type_set_abstract_type(cel_expr_Type
|
|
684
|
-
const upb_MiniTableField field = {14, UPB_SIZE(12, 16), -9,
|
|
767
|
+
UPB_INLINE void cel_expr_Type_set_abstract_type(cel_expr_Type* msg, cel_expr_Type_AbstractType* value) {
|
|
768
|
+
const upb_MiniTableField field = {14, UPB_SIZE(12, 16), -9, UPB_SIZE(9, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
685
769
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type__AbstractType_msg_init);
|
|
686
|
-
upb_Message_SetBaseField((upb_Message
|
|
770
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
687
771
|
}
|
|
688
|
-
UPB_INLINE struct cel_expr_Type_AbstractType* cel_expr_Type_mutable_abstract_type(
|
|
772
|
+
UPB_INLINE struct cel_expr_Type_AbstractType* cel_expr_Type_mutable_abstract_type(
|
|
773
|
+
cel_expr_Type* msg, upb_Arena* arena) {
|
|
689
774
|
struct cel_expr_Type_AbstractType* sub = (struct cel_expr_Type_AbstractType*)cel_expr_Type_abstract_type(msg);
|
|
690
775
|
if (sub == NULL) {
|
|
691
776
|
sub = (struct cel_expr_Type_AbstractType*)_upb_Message_New(&cel__expr__Type__AbstractType_msg_init, arena);
|
|
@@ -695,65 +780,68 @@ UPB_INLINE struct cel_expr_Type_AbstractType* cel_expr_Type_mutable_abstract_typ
|
|
|
695
780
|
}
|
|
696
781
|
|
|
697
782
|
/* cel.expr.Type.ListType */
|
|
698
|
-
|
|
699
783
|
UPB_INLINE cel_expr_Type_ListType* cel_expr_Type_ListType_new(upb_Arena* arena) {
|
|
700
784
|
return (cel_expr_Type_ListType*)_upb_Message_New(&cel__expr__Type__ListType_msg_init, arena);
|
|
701
785
|
}
|
|
702
|
-
UPB_INLINE cel_expr_Type_ListType* cel_expr_Type_ListType_parse(const char* buf, size_t size,
|
|
786
|
+
UPB_INLINE cel_expr_Type_ListType* cel_expr_Type_ListType_parse(const char* buf, size_t size,
|
|
787
|
+
upb_Arena* arena) {
|
|
703
788
|
cel_expr_Type_ListType* ret = cel_expr_Type_ListType_new(arena);
|
|
704
789
|
if (!ret) return NULL;
|
|
705
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type__ListType_msg_init, NULL, 0,
|
|
706
|
-
|
|
790
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type__ListType_msg_init, NULL, 0,
|
|
791
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
707
792
|
return NULL;
|
|
708
793
|
}
|
|
709
794
|
return ret;
|
|
710
795
|
}
|
|
711
|
-
UPB_INLINE cel_expr_Type_ListType* cel_expr_Type_ListType_parse_ex(
|
|
712
|
-
|
|
713
|
-
|
|
796
|
+
UPB_INLINE cel_expr_Type_ListType* cel_expr_Type_ListType_parse_ex(
|
|
797
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
798
|
+
int options, upb_Arena* arena) {
|
|
714
799
|
cel_expr_Type_ListType* ret = cel_expr_Type_ListType_new(arena);
|
|
715
800
|
if (!ret) return NULL;
|
|
716
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type__ListType_msg_init, extreg,
|
|
717
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
801
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type__ListType_msg_init, extreg,
|
|
802
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
718
803
|
return NULL;
|
|
719
804
|
}
|
|
720
805
|
return ret;
|
|
721
806
|
}
|
|
722
|
-
UPB_INLINE char* cel_expr_Type_ListType_serialize(const cel_expr_Type_ListType* msg,
|
|
807
|
+
UPB_INLINE char* cel_expr_Type_ListType_serialize(const cel_expr_Type_ListType* msg,
|
|
808
|
+
upb_Arena* arena, size_t* len) {
|
|
723
809
|
char* ptr;
|
|
724
810
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Type__ListType_msg_init, 0, arena, &ptr, len);
|
|
725
811
|
return ptr;
|
|
726
812
|
}
|
|
727
|
-
UPB_INLINE char* cel_expr_Type_ListType_serialize_ex(const cel_expr_Type_ListType* msg,
|
|
728
|
-
|
|
813
|
+
UPB_INLINE char* cel_expr_Type_ListType_serialize_ex(const cel_expr_Type_ListType* msg,
|
|
814
|
+
int options, upb_Arena* arena,
|
|
815
|
+
size_t* len) {
|
|
729
816
|
char* ptr;
|
|
730
817
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Type__ListType_msg_init, options, arena, &ptr, len);
|
|
731
818
|
return ptr;
|
|
732
819
|
}
|
|
733
820
|
UPB_INLINE void cel_expr_Type_ListType_clear_elem_type(cel_expr_Type_ListType* msg) {
|
|
734
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
821
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
735
822
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
736
823
|
}
|
|
737
824
|
UPB_INLINE const cel_expr_Type* cel_expr_Type_ListType_elem_type(const cel_expr_Type_ListType* msg) {
|
|
738
825
|
const cel_expr_Type* default_val = NULL;
|
|
739
826
|
const cel_expr_Type* ret;
|
|
740
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
827
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
741
828
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
742
829
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
743
830
|
&default_val, &ret);
|
|
744
831
|
return ret;
|
|
745
832
|
}
|
|
746
833
|
UPB_INLINE bool cel_expr_Type_ListType_has_elem_type(const cel_expr_Type_ListType* msg) {
|
|
747
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
834
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
748
835
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
749
836
|
}
|
|
750
837
|
|
|
751
|
-
UPB_INLINE void cel_expr_Type_ListType_set_elem_type(cel_expr_Type_ListType
|
|
752
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
838
|
+
UPB_INLINE void cel_expr_Type_ListType_set_elem_type(cel_expr_Type_ListType* msg, cel_expr_Type* value) {
|
|
839
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
753
840
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
754
|
-
upb_Message_SetBaseField((upb_Message
|
|
841
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
755
842
|
}
|
|
756
|
-
UPB_INLINE struct cel_expr_Type* cel_expr_Type_ListType_mutable_elem_type(
|
|
843
|
+
UPB_INLINE struct cel_expr_Type* cel_expr_Type_ListType_mutable_elem_type(
|
|
844
|
+
cel_expr_Type_ListType* msg, upb_Arena* arena) {
|
|
757
845
|
struct cel_expr_Type* sub = (struct cel_expr_Type*)cel_expr_Type_ListType_elem_type(msg);
|
|
758
846
|
if (sub == NULL) {
|
|
759
847
|
sub = (struct cel_expr_Type*)_upb_Message_New(&cel__expr__Type_msg_init, arena);
|
|
@@ -763,82 +851,85 @@ UPB_INLINE struct cel_expr_Type* cel_expr_Type_ListType_mutable_elem_type(cel_ex
|
|
|
763
851
|
}
|
|
764
852
|
|
|
765
853
|
/* cel.expr.Type.MapType */
|
|
766
|
-
|
|
767
854
|
UPB_INLINE cel_expr_Type_MapType* cel_expr_Type_MapType_new(upb_Arena* arena) {
|
|
768
855
|
return (cel_expr_Type_MapType*)_upb_Message_New(&cel__expr__Type__MapType_msg_init, arena);
|
|
769
856
|
}
|
|
770
|
-
UPB_INLINE cel_expr_Type_MapType* cel_expr_Type_MapType_parse(const char* buf, size_t size,
|
|
857
|
+
UPB_INLINE cel_expr_Type_MapType* cel_expr_Type_MapType_parse(const char* buf, size_t size,
|
|
858
|
+
upb_Arena* arena) {
|
|
771
859
|
cel_expr_Type_MapType* ret = cel_expr_Type_MapType_new(arena);
|
|
772
860
|
if (!ret) return NULL;
|
|
773
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type__MapType_msg_init, NULL, 0,
|
|
774
|
-
|
|
861
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type__MapType_msg_init, NULL, 0,
|
|
862
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
775
863
|
return NULL;
|
|
776
864
|
}
|
|
777
865
|
return ret;
|
|
778
866
|
}
|
|
779
|
-
UPB_INLINE cel_expr_Type_MapType* cel_expr_Type_MapType_parse_ex(
|
|
780
|
-
|
|
781
|
-
|
|
867
|
+
UPB_INLINE cel_expr_Type_MapType* cel_expr_Type_MapType_parse_ex(
|
|
868
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
869
|
+
int options, upb_Arena* arena) {
|
|
782
870
|
cel_expr_Type_MapType* ret = cel_expr_Type_MapType_new(arena);
|
|
783
871
|
if (!ret) return NULL;
|
|
784
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type__MapType_msg_init, extreg,
|
|
785
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
872
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type__MapType_msg_init, extreg,
|
|
873
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
786
874
|
return NULL;
|
|
787
875
|
}
|
|
788
876
|
return ret;
|
|
789
877
|
}
|
|
790
|
-
UPB_INLINE char* cel_expr_Type_MapType_serialize(const cel_expr_Type_MapType* msg,
|
|
878
|
+
UPB_INLINE char* cel_expr_Type_MapType_serialize(const cel_expr_Type_MapType* msg,
|
|
879
|
+
upb_Arena* arena, size_t* len) {
|
|
791
880
|
char* ptr;
|
|
792
881
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Type__MapType_msg_init, 0, arena, &ptr, len);
|
|
793
882
|
return ptr;
|
|
794
883
|
}
|
|
795
|
-
UPB_INLINE char* cel_expr_Type_MapType_serialize_ex(const cel_expr_Type_MapType* msg,
|
|
796
|
-
|
|
884
|
+
UPB_INLINE char* cel_expr_Type_MapType_serialize_ex(const cel_expr_Type_MapType* msg,
|
|
885
|
+
int options, upb_Arena* arena,
|
|
886
|
+
size_t* len) {
|
|
797
887
|
char* ptr;
|
|
798
888
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Type__MapType_msg_init, options, arena, &ptr, len);
|
|
799
889
|
return ptr;
|
|
800
890
|
}
|
|
801
891
|
UPB_INLINE void cel_expr_Type_MapType_clear_key_type(cel_expr_Type_MapType* msg) {
|
|
802
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
892
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
803
893
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
804
894
|
}
|
|
805
895
|
UPB_INLINE const cel_expr_Type* cel_expr_Type_MapType_key_type(const cel_expr_Type_MapType* msg) {
|
|
806
896
|
const cel_expr_Type* default_val = NULL;
|
|
807
897
|
const cel_expr_Type* ret;
|
|
808
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
898
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
809
899
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
810
900
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
811
901
|
&default_val, &ret);
|
|
812
902
|
return ret;
|
|
813
903
|
}
|
|
814
904
|
UPB_INLINE bool cel_expr_Type_MapType_has_key_type(const cel_expr_Type_MapType* msg) {
|
|
815
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
905
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
816
906
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
817
907
|
}
|
|
818
908
|
UPB_INLINE void cel_expr_Type_MapType_clear_value_type(cel_expr_Type_MapType* msg) {
|
|
819
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65,
|
|
909
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
820
910
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
821
911
|
}
|
|
822
912
|
UPB_INLINE const cel_expr_Type* cel_expr_Type_MapType_value_type(const cel_expr_Type_MapType* msg) {
|
|
823
913
|
const cel_expr_Type* default_val = NULL;
|
|
824
914
|
const cel_expr_Type* ret;
|
|
825
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65,
|
|
915
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
826
916
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
827
917
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
828
918
|
&default_val, &ret);
|
|
829
919
|
return ret;
|
|
830
920
|
}
|
|
831
921
|
UPB_INLINE bool cel_expr_Type_MapType_has_value_type(const cel_expr_Type_MapType* msg) {
|
|
832
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65,
|
|
922
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
833
923
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
834
924
|
}
|
|
835
925
|
|
|
836
|
-
UPB_INLINE void cel_expr_Type_MapType_set_key_type(cel_expr_Type_MapType
|
|
837
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
926
|
+
UPB_INLINE void cel_expr_Type_MapType_set_key_type(cel_expr_Type_MapType* msg, cel_expr_Type* value) {
|
|
927
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
838
928
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
839
|
-
upb_Message_SetBaseField((upb_Message
|
|
929
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
840
930
|
}
|
|
841
|
-
UPB_INLINE struct cel_expr_Type* cel_expr_Type_MapType_mutable_key_type(
|
|
931
|
+
UPB_INLINE struct cel_expr_Type* cel_expr_Type_MapType_mutable_key_type(
|
|
932
|
+
cel_expr_Type_MapType* msg, upb_Arena* arena) {
|
|
842
933
|
struct cel_expr_Type* sub = (struct cel_expr_Type*)cel_expr_Type_MapType_key_type(msg);
|
|
843
934
|
if (sub == NULL) {
|
|
844
935
|
sub = (struct cel_expr_Type*)_upb_Message_New(&cel__expr__Type_msg_init, arena);
|
|
@@ -846,12 +937,13 @@ UPB_INLINE struct cel_expr_Type* cel_expr_Type_MapType_mutable_key_type(cel_expr
|
|
|
846
937
|
}
|
|
847
938
|
return sub;
|
|
848
939
|
}
|
|
849
|
-
UPB_INLINE void cel_expr_Type_MapType_set_value_type(cel_expr_Type_MapType
|
|
850
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65,
|
|
940
|
+
UPB_INLINE void cel_expr_Type_MapType_set_value_type(cel_expr_Type_MapType* msg, cel_expr_Type* value) {
|
|
941
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
851
942
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
852
|
-
upb_Message_SetBaseField((upb_Message
|
|
943
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
853
944
|
}
|
|
854
|
-
UPB_INLINE struct cel_expr_Type* cel_expr_Type_MapType_mutable_value_type(
|
|
945
|
+
UPB_INLINE struct cel_expr_Type* cel_expr_Type_MapType_mutable_value_type(
|
|
946
|
+
cel_expr_Type_MapType* msg, upb_Arena* arena) {
|
|
855
947
|
struct cel_expr_Type* sub = (struct cel_expr_Type*)cel_expr_Type_MapType_value_type(msg);
|
|
856
948
|
if (sub == NULL) {
|
|
857
949
|
sub = (struct cel_expr_Type*)_upb_Message_New(&cel__expr__Type_msg_init, arena);
|
|
@@ -861,64 +953,67 @@ UPB_INLINE struct cel_expr_Type* cel_expr_Type_MapType_mutable_value_type(cel_ex
|
|
|
861
953
|
}
|
|
862
954
|
|
|
863
955
|
/* cel.expr.Type.FunctionType */
|
|
864
|
-
|
|
865
956
|
UPB_INLINE cel_expr_Type_FunctionType* cel_expr_Type_FunctionType_new(upb_Arena* arena) {
|
|
866
957
|
return (cel_expr_Type_FunctionType*)_upb_Message_New(&cel__expr__Type__FunctionType_msg_init, arena);
|
|
867
958
|
}
|
|
868
|
-
UPB_INLINE cel_expr_Type_FunctionType* cel_expr_Type_FunctionType_parse(const char* buf, size_t size,
|
|
959
|
+
UPB_INLINE cel_expr_Type_FunctionType* cel_expr_Type_FunctionType_parse(const char* buf, size_t size,
|
|
960
|
+
upb_Arena* arena) {
|
|
869
961
|
cel_expr_Type_FunctionType* ret = cel_expr_Type_FunctionType_new(arena);
|
|
870
962
|
if (!ret) return NULL;
|
|
871
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type__FunctionType_msg_init, NULL, 0,
|
|
872
|
-
|
|
963
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type__FunctionType_msg_init, NULL, 0,
|
|
964
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
873
965
|
return NULL;
|
|
874
966
|
}
|
|
875
967
|
return ret;
|
|
876
968
|
}
|
|
877
|
-
UPB_INLINE cel_expr_Type_FunctionType* cel_expr_Type_FunctionType_parse_ex(
|
|
878
|
-
|
|
879
|
-
|
|
969
|
+
UPB_INLINE cel_expr_Type_FunctionType* cel_expr_Type_FunctionType_parse_ex(
|
|
970
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
971
|
+
int options, upb_Arena* arena) {
|
|
880
972
|
cel_expr_Type_FunctionType* ret = cel_expr_Type_FunctionType_new(arena);
|
|
881
973
|
if (!ret) return NULL;
|
|
882
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type__FunctionType_msg_init, extreg,
|
|
883
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
974
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type__FunctionType_msg_init, extreg,
|
|
975
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
884
976
|
return NULL;
|
|
885
977
|
}
|
|
886
978
|
return ret;
|
|
887
979
|
}
|
|
888
|
-
UPB_INLINE char* cel_expr_Type_FunctionType_serialize(const cel_expr_Type_FunctionType* msg,
|
|
980
|
+
UPB_INLINE char* cel_expr_Type_FunctionType_serialize(const cel_expr_Type_FunctionType* msg,
|
|
981
|
+
upb_Arena* arena, size_t* len) {
|
|
889
982
|
char* ptr;
|
|
890
983
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Type__FunctionType_msg_init, 0, arena, &ptr, len);
|
|
891
984
|
return ptr;
|
|
892
985
|
}
|
|
893
|
-
UPB_INLINE char* cel_expr_Type_FunctionType_serialize_ex(const cel_expr_Type_FunctionType* msg,
|
|
894
|
-
|
|
986
|
+
UPB_INLINE char* cel_expr_Type_FunctionType_serialize_ex(const cel_expr_Type_FunctionType* msg,
|
|
987
|
+
int options, upb_Arena* arena,
|
|
988
|
+
size_t* len) {
|
|
895
989
|
char* ptr;
|
|
896
990
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Type__FunctionType_msg_init, options, arena, &ptr, len);
|
|
897
991
|
return ptr;
|
|
898
992
|
}
|
|
899
993
|
UPB_INLINE void cel_expr_Type_FunctionType_clear_result_type(cel_expr_Type_FunctionType* msg) {
|
|
900
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
994
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
901
995
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
902
996
|
}
|
|
903
997
|
UPB_INLINE const cel_expr_Type* cel_expr_Type_FunctionType_result_type(const cel_expr_Type_FunctionType* msg) {
|
|
904
998
|
const cel_expr_Type* default_val = NULL;
|
|
905
999
|
const cel_expr_Type* ret;
|
|
906
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
1000
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
907
1001
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
908
1002
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
909
1003
|
&default_val, &ret);
|
|
910
1004
|
return ret;
|
|
911
1005
|
}
|
|
912
1006
|
UPB_INLINE bool cel_expr_Type_FunctionType_has_result_type(const cel_expr_Type_FunctionType* msg) {
|
|
913
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
1007
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
914
1008
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
915
1009
|
}
|
|
916
1010
|
UPB_INLINE void cel_expr_Type_FunctionType_clear_arg_types(cel_expr_Type_FunctionType* msg) {
|
|
917
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0,
|
|
1011
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
918
1012
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
919
1013
|
}
|
|
920
|
-
UPB_INLINE const cel_expr_Type* const* cel_expr_Type_FunctionType_arg_types(const cel_expr_Type_FunctionType* msg,
|
|
921
|
-
|
|
1014
|
+
UPB_INLINE const cel_expr_Type* const* cel_expr_Type_FunctionType_arg_types(const cel_expr_Type_FunctionType* msg,
|
|
1015
|
+
size_t* size) {
|
|
1016
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
922
1017
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
923
1018
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
924
1019
|
if (arr) {
|
|
@@ -929,8 +1024,11 @@ UPB_INLINE const cel_expr_Type* const* cel_expr_Type_FunctionType_arg_types(cons
|
|
|
929
1024
|
return NULL;
|
|
930
1025
|
}
|
|
931
1026
|
}
|
|
932
|
-
|
|
933
|
-
|
|
1027
|
+
|
|
1028
|
+
//
|
|
1029
|
+
UPB_INLINE const upb_Array* _cel_expr_Type_FunctionType_arg_types_upb_array(
|
|
1030
|
+
const cel_expr_Type_FunctionType* msg, size_t* size) {
|
|
1031
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
934
1032
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
935
1033
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
936
1034
|
if (size) {
|
|
@@ -938,8 +1036,10 @@ UPB_INLINE const upb_Array* _cel_expr_Type_FunctionType_arg_types_upb_array(cons
|
|
|
938
1036
|
}
|
|
939
1037
|
return arr;
|
|
940
1038
|
}
|
|
941
|
-
|
|
942
|
-
|
|
1039
|
+
|
|
1040
|
+
UPB_INLINE upb_Array* _cel_expr_Type_FunctionType_arg_types_mutable_upb_array(
|
|
1041
|
+
cel_expr_Type_FunctionType* msg, size_t* size, upb_Arena* arena) {
|
|
1042
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
943
1043
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
944
1044
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
945
1045
|
&field, arena);
|
|
@@ -949,12 +1049,13 @@ UPB_INLINE upb_Array* _cel_expr_Type_FunctionType_arg_types_mutable_upb_array(ce
|
|
|
949
1049
|
return arr;
|
|
950
1050
|
}
|
|
951
1051
|
|
|
952
|
-
UPB_INLINE void cel_expr_Type_FunctionType_set_result_type(cel_expr_Type_FunctionType
|
|
953
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
1052
|
+
UPB_INLINE void cel_expr_Type_FunctionType_set_result_type(cel_expr_Type_FunctionType* msg, cel_expr_Type* value) {
|
|
1053
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
954
1054
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
955
|
-
upb_Message_SetBaseField((upb_Message
|
|
1055
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
956
1056
|
}
|
|
957
|
-
UPB_INLINE struct cel_expr_Type* cel_expr_Type_FunctionType_mutable_result_type(
|
|
1057
|
+
UPB_INLINE struct cel_expr_Type* cel_expr_Type_FunctionType_mutable_result_type(
|
|
1058
|
+
cel_expr_Type_FunctionType* msg, upb_Arena* arena) {
|
|
958
1059
|
struct cel_expr_Type* sub = (struct cel_expr_Type*)cel_expr_Type_FunctionType_result_type(msg);
|
|
959
1060
|
if (sub == NULL) {
|
|
960
1061
|
sub = (struct cel_expr_Type*)_upb_Message_New(&cel__expr__Type_msg_init, arena);
|
|
@@ -962,8 +1063,9 @@ UPB_INLINE struct cel_expr_Type* cel_expr_Type_FunctionType_mutable_result_type(
|
|
|
962
1063
|
}
|
|
963
1064
|
return sub;
|
|
964
1065
|
}
|
|
965
|
-
UPB_INLINE cel_expr_Type** cel_expr_Type_FunctionType_mutable_arg_types(cel_expr_Type_FunctionType* msg,
|
|
966
|
-
|
|
1066
|
+
UPB_INLINE cel_expr_Type** cel_expr_Type_FunctionType_mutable_arg_types(cel_expr_Type_FunctionType* msg,
|
|
1067
|
+
size_t* size) {
|
|
1068
|
+
upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
967
1069
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
968
1070
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
969
1071
|
if (arr) {
|
|
@@ -974,13 +1076,18 @@ UPB_INLINE cel_expr_Type** cel_expr_Type_FunctionType_mutable_arg_types(cel_expr
|
|
|
974
1076
|
return NULL;
|
|
975
1077
|
}
|
|
976
1078
|
}
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
1079
|
+
|
|
1080
|
+
UPB_INLINE cel_expr_Type** cel_expr_Type_FunctionType_resize_arg_types(cel_expr_Type_FunctionType* msg,
|
|
1081
|
+
size_t size,
|
|
1082
|
+
upb_Arena* arena) {
|
|
1083
|
+
upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1084
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
1085
|
+
return (cel_expr_Type**)upb_Message_ResizeArrayUninitialized(
|
|
1086
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
981
1087
|
}
|
|
982
|
-
UPB_INLINE struct cel_expr_Type* cel_expr_Type_FunctionType_add_arg_types(
|
|
983
|
-
|
|
1088
|
+
UPB_INLINE struct cel_expr_Type* cel_expr_Type_FunctionType_add_arg_types(
|
|
1089
|
+
cel_expr_Type_FunctionType* msg, upb_Arena* arena) {
|
|
1090
|
+
upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
984
1091
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
985
1092
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
986
1093
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -988,7 +1095,8 @@ UPB_INLINE struct cel_expr_Type* cel_expr_Type_FunctionType_add_arg_types(cel_ex
|
|
|
988
1095
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
989
1096
|
return NULL;
|
|
990
1097
|
}
|
|
991
|
-
struct cel_expr_Type* sub =
|
|
1098
|
+
struct cel_expr_Type* sub =
|
|
1099
|
+
(struct cel_expr_Type*)_upb_Message_New(&cel__expr__Type_msg_init, arena);
|
|
992
1100
|
if (!arr || !sub) return NULL;
|
|
993
1101
|
UPB_PRIVATE(_upb_Array_Set)
|
|
994
1102
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
@@ -996,37 +1104,39 @@ UPB_INLINE struct cel_expr_Type* cel_expr_Type_FunctionType_add_arg_types(cel_ex
|
|
|
996
1104
|
}
|
|
997
1105
|
|
|
998
1106
|
/* cel.expr.Type.AbstractType */
|
|
999
|
-
|
|
1000
1107
|
UPB_INLINE cel_expr_Type_AbstractType* cel_expr_Type_AbstractType_new(upb_Arena* arena) {
|
|
1001
1108
|
return (cel_expr_Type_AbstractType*)_upb_Message_New(&cel__expr__Type__AbstractType_msg_init, arena);
|
|
1002
1109
|
}
|
|
1003
|
-
UPB_INLINE cel_expr_Type_AbstractType* cel_expr_Type_AbstractType_parse(const char* buf, size_t size,
|
|
1110
|
+
UPB_INLINE cel_expr_Type_AbstractType* cel_expr_Type_AbstractType_parse(const char* buf, size_t size,
|
|
1111
|
+
upb_Arena* arena) {
|
|
1004
1112
|
cel_expr_Type_AbstractType* ret = cel_expr_Type_AbstractType_new(arena);
|
|
1005
1113
|
if (!ret) return NULL;
|
|
1006
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type__AbstractType_msg_init, NULL, 0,
|
|
1007
|
-
|
|
1114
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type__AbstractType_msg_init, NULL, 0,
|
|
1115
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1008
1116
|
return NULL;
|
|
1009
1117
|
}
|
|
1010
1118
|
return ret;
|
|
1011
1119
|
}
|
|
1012
|
-
UPB_INLINE cel_expr_Type_AbstractType* cel_expr_Type_AbstractType_parse_ex(
|
|
1013
|
-
|
|
1014
|
-
|
|
1120
|
+
UPB_INLINE cel_expr_Type_AbstractType* cel_expr_Type_AbstractType_parse_ex(
|
|
1121
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1122
|
+
int options, upb_Arena* arena) {
|
|
1015
1123
|
cel_expr_Type_AbstractType* ret = cel_expr_Type_AbstractType_new(arena);
|
|
1016
1124
|
if (!ret) return NULL;
|
|
1017
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type__AbstractType_msg_init, extreg,
|
|
1018
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1125
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Type__AbstractType_msg_init, extreg,
|
|
1126
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1019
1127
|
return NULL;
|
|
1020
1128
|
}
|
|
1021
1129
|
return ret;
|
|
1022
1130
|
}
|
|
1023
|
-
UPB_INLINE char* cel_expr_Type_AbstractType_serialize(const cel_expr_Type_AbstractType* msg,
|
|
1131
|
+
UPB_INLINE char* cel_expr_Type_AbstractType_serialize(const cel_expr_Type_AbstractType* msg,
|
|
1132
|
+
upb_Arena* arena, size_t* len) {
|
|
1024
1133
|
char* ptr;
|
|
1025
1134
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Type__AbstractType_msg_init, 0, arena, &ptr, len);
|
|
1026
1135
|
return ptr;
|
|
1027
1136
|
}
|
|
1028
|
-
UPB_INLINE char* cel_expr_Type_AbstractType_serialize_ex(const cel_expr_Type_AbstractType* msg,
|
|
1029
|
-
|
|
1137
|
+
UPB_INLINE char* cel_expr_Type_AbstractType_serialize_ex(const cel_expr_Type_AbstractType* msg,
|
|
1138
|
+
int options, upb_Arena* arena,
|
|
1139
|
+
size_t* len) {
|
|
1030
1140
|
char* ptr;
|
|
1031
1141
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Type__AbstractType_msg_init, options, arena, &ptr, len);
|
|
1032
1142
|
return ptr;
|
|
@@ -1044,11 +1154,12 @@ UPB_INLINE upb_StringView cel_expr_Type_AbstractType_name(const cel_expr_Type_Ab
|
|
|
1044
1154
|
return ret;
|
|
1045
1155
|
}
|
|
1046
1156
|
UPB_INLINE void cel_expr_Type_AbstractType_clear_parameter_types(cel_expr_Type_AbstractType* msg) {
|
|
1047
|
-
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0,
|
|
1157
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1048
1158
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1049
1159
|
}
|
|
1050
|
-
UPB_INLINE const cel_expr_Type* const* cel_expr_Type_AbstractType_parameter_types(const cel_expr_Type_AbstractType* msg,
|
|
1051
|
-
|
|
1160
|
+
UPB_INLINE const cel_expr_Type* const* cel_expr_Type_AbstractType_parameter_types(const cel_expr_Type_AbstractType* msg,
|
|
1161
|
+
size_t* size) {
|
|
1162
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1052
1163
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
1053
1164
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1054
1165
|
if (arr) {
|
|
@@ -1059,8 +1170,11 @@ UPB_INLINE const cel_expr_Type* const* cel_expr_Type_AbstractType_parameter_type
|
|
|
1059
1170
|
return NULL;
|
|
1060
1171
|
}
|
|
1061
1172
|
}
|
|
1062
|
-
|
|
1063
|
-
|
|
1173
|
+
|
|
1174
|
+
//
|
|
1175
|
+
UPB_INLINE const upb_Array* _cel_expr_Type_AbstractType_parameter_types_upb_array(
|
|
1176
|
+
const cel_expr_Type_AbstractType* msg, size_t* size) {
|
|
1177
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1064
1178
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
1065
1179
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1066
1180
|
if (size) {
|
|
@@ -1068,8 +1182,10 @@ UPB_INLINE const upb_Array* _cel_expr_Type_AbstractType_parameter_types_upb_arra
|
|
|
1068
1182
|
}
|
|
1069
1183
|
return arr;
|
|
1070
1184
|
}
|
|
1071
|
-
|
|
1072
|
-
|
|
1185
|
+
|
|
1186
|
+
UPB_INLINE upb_Array* _cel_expr_Type_AbstractType_parameter_types_mutable_upb_array(
|
|
1187
|
+
cel_expr_Type_AbstractType* msg, size_t* size, upb_Arena* arena) {
|
|
1188
|
+
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1073
1189
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
1074
1190
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
1075
1191
|
&field, arena);
|
|
@@ -1079,12 +1195,13 @@ UPB_INLINE upb_Array* _cel_expr_Type_AbstractType_parameter_types_mutable_upb_ar
|
|
|
1079
1195
|
return arr;
|
|
1080
1196
|
}
|
|
1081
1197
|
|
|
1082
|
-
UPB_INLINE void cel_expr_Type_AbstractType_set_name(cel_expr_Type_AbstractType
|
|
1198
|
+
UPB_INLINE void cel_expr_Type_AbstractType_set_name(cel_expr_Type_AbstractType* msg, upb_StringView value) {
|
|
1083
1199
|
const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1084
|
-
upb_Message_SetBaseField((upb_Message
|
|
1200
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1085
1201
|
}
|
|
1086
|
-
UPB_INLINE cel_expr_Type** cel_expr_Type_AbstractType_mutable_parameter_types(cel_expr_Type_AbstractType* msg,
|
|
1087
|
-
|
|
1202
|
+
UPB_INLINE cel_expr_Type** cel_expr_Type_AbstractType_mutable_parameter_types(cel_expr_Type_AbstractType* msg,
|
|
1203
|
+
size_t* size) {
|
|
1204
|
+
upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1088
1205
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
1089
1206
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
1090
1207
|
if (arr) {
|
|
@@ -1095,13 +1212,18 @@ UPB_INLINE cel_expr_Type** cel_expr_Type_AbstractType_mutable_parameter_types(ce
|
|
|
1095
1212
|
return NULL;
|
|
1096
1213
|
}
|
|
1097
1214
|
}
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1215
|
+
|
|
1216
|
+
UPB_INLINE cel_expr_Type** cel_expr_Type_AbstractType_resize_parameter_types(cel_expr_Type_AbstractType* msg,
|
|
1217
|
+
size_t size,
|
|
1218
|
+
upb_Arena* arena) {
|
|
1219
|
+
upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1220
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
1221
|
+
return (cel_expr_Type**)upb_Message_ResizeArrayUninitialized(
|
|
1222
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
1102
1223
|
}
|
|
1103
|
-
UPB_INLINE struct cel_expr_Type* cel_expr_Type_AbstractType_add_parameter_types(
|
|
1104
|
-
|
|
1224
|
+
UPB_INLINE struct cel_expr_Type* cel_expr_Type_AbstractType_add_parameter_types(
|
|
1225
|
+
cel_expr_Type_AbstractType* msg, upb_Arena* arena) {
|
|
1226
|
+
upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1105
1227
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
1106
1228
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
1107
1229
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -1109,7 +1231,8 @@ UPB_INLINE struct cel_expr_Type* cel_expr_Type_AbstractType_add_parameter_types(
|
|
|
1109
1231
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
1110
1232
|
return NULL;
|
|
1111
1233
|
}
|
|
1112
|
-
struct cel_expr_Type* sub =
|
|
1234
|
+
struct cel_expr_Type* sub =
|
|
1235
|
+
(struct cel_expr_Type*)_upb_Message_New(&cel__expr__Type_msg_init, arena);
|
|
1113
1236
|
if (!arr || !sub) return NULL;
|
|
1114
1237
|
UPB_PRIVATE(_upb_Array_Set)
|
|
1115
1238
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
@@ -1117,37 +1240,39 @@ UPB_INLINE struct cel_expr_Type* cel_expr_Type_AbstractType_add_parameter_types(
|
|
|
1117
1240
|
}
|
|
1118
1241
|
|
|
1119
1242
|
/* cel.expr.Decl */
|
|
1120
|
-
|
|
1121
1243
|
UPB_INLINE cel_expr_Decl* cel_expr_Decl_new(upb_Arena* arena) {
|
|
1122
1244
|
return (cel_expr_Decl*)_upb_Message_New(&cel__expr__Decl_msg_init, arena);
|
|
1123
1245
|
}
|
|
1124
|
-
UPB_INLINE cel_expr_Decl* cel_expr_Decl_parse(const char* buf, size_t size,
|
|
1246
|
+
UPB_INLINE cel_expr_Decl* cel_expr_Decl_parse(const char* buf, size_t size,
|
|
1247
|
+
upb_Arena* arena) {
|
|
1125
1248
|
cel_expr_Decl* ret = cel_expr_Decl_new(arena);
|
|
1126
1249
|
if (!ret) return NULL;
|
|
1127
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Decl_msg_init, NULL, 0,
|
|
1128
|
-
|
|
1250
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Decl_msg_init, NULL, 0,
|
|
1251
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1129
1252
|
return NULL;
|
|
1130
1253
|
}
|
|
1131
1254
|
return ret;
|
|
1132
1255
|
}
|
|
1133
|
-
UPB_INLINE cel_expr_Decl* cel_expr_Decl_parse_ex(
|
|
1134
|
-
|
|
1135
|
-
|
|
1256
|
+
UPB_INLINE cel_expr_Decl* cel_expr_Decl_parse_ex(
|
|
1257
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1258
|
+
int options, upb_Arena* arena) {
|
|
1136
1259
|
cel_expr_Decl* ret = cel_expr_Decl_new(arena);
|
|
1137
1260
|
if (!ret) return NULL;
|
|
1138
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Decl_msg_init, extreg,
|
|
1139
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1261
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Decl_msg_init, extreg,
|
|
1262
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1140
1263
|
return NULL;
|
|
1141
1264
|
}
|
|
1142
1265
|
return ret;
|
|
1143
1266
|
}
|
|
1144
|
-
UPB_INLINE char* cel_expr_Decl_serialize(const cel_expr_Decl* msg,
|
|
1267
|
+
UPB_INLINE char* cel_expr_Decl_serialize(const cel_expr_Decl* msg,
|
|
1268
|
+
upb_Arena* arena, size_t* len) {
|
|
1145
1269
|
char* ptr;
|
|
1146
1270
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Decl_msg_init, 0, arena, &ptr, len);
|
|
1147
1271
|
return ptr;
|
|
1148
1272
|
}
|
|
1149
|
-
UPB_INLINE char* cel_expr_Decl_serialize_ex(const cel_expr_Decl* msg,
|
|
1150
|
-
|
|
1273
|
+
UPB_INLINE char* cel_expr_Decl_serialize_ex(const cel_expr_Decl* msg,
|
|
1274
|
+
int options, upb_Arena* arena,
|
|
1275
|
+
size_t* len) {
|
|
1151
1276
|
char* ptr;
|
|
1152
1277
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Decl_msg_init, options, arena, &ptr, len);
|
|
1153
1278
|
return ptr;
|
|
@@ -1157,13 +1282,15 @@ typedef enum {
|
|
|
1157
1282
|
cel_expr_Decl_decl_kind_function = 3,
|
|
1158
1283
|
cel_expr_Decl_decl_kind_NOT_SET = 0
|
|
1159
1284
|
} cel_expr_Decl_decl_kind_oneofcases;
|
|
1160
|
-
|
|
1161
|
-
|
|
1285
|
+
|
|
1286
|
+
UPB_INLINE cel_expr_Decl_decl_kind_oneofcases
|
|
1287
|
+
cel_expr_Decl_decl_kind_case(const cel_expr_Decl* msg) {
|
|
1288
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1162
1289
|
return (cel_expr_Decl_decl_kind_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
1163
1290
|
UPB_UPCAST(msg), &field);
|
|
1164
1291
|
}
|
|
1165
1292
|
UPB_INLINE void cel_expr_Decl_clear_decl_kind(cel_expr_Decl* msg) {
|
|
1166
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9,
|
|
1293
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1167
1294
|
upb_Message_ClearOneof(UPB_UPCAST(msg), &cel__expr__Decl_msg_init, &field);
|
|
1168
1295
|
}
|
|
1169
1296
|
UPB_INLINE void cel_expr_Decl_clear_name(cel_expr_Decl* msg) {
|
|
@@ -1179,50 +1306,51 @@ UPB_INLINE upb_StringView cel_expr_Decl_name(const cel_expr_Decl* msg) {
|
|
|
1179
1306
|
return ret;
|
|
1180
1307
|
}
|
|
1181
1308
|
UPB_INLINE void cel_expr_Decl_clear_ident(cel_expr_Decl* msg) {
|
|
1182
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9,
|
|
1309
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1183
1310
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1184
1311
|
}
|
|
1185
1312
|
UPB_INLINE const cel_expr_Decl_IdentDecl* cel_expr_Decl_ident(const cel_expr_Decl* msg) {
|
|
1186
1313
|
const cel_expr_Decl_IdentDecl* default_val = NULL;
|
|
1187
1314
|
const cel_expr_Decl_IdentDecl* ret;
|
|
1188
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9,
|
|
1315
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1189
1316
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Decl__IdentDecl_msg_init);
|
|
1190
1317
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1191
1318
|
&default_val, &ret);
|
|
1192
1319
|
return ret;
|
|
1193
1320
|
}
|
|
1194
1321
|
UPB_INLINE bool cel_expr_Decl_has_ident(const cel_expr_Decl* msg) {
|
|
1195
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9,
|
|
1322
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1196
1323
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1197
1324
|
}
|
|
1198
1325
|
UPB_INLINE void cel_expr_Decl_clear_function(cel_expr_Decl* msg) {
|
|
1199
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9,
|
|
1326
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1200
1327
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1201
1328
|
}
|
|
1202
1329
|
UPB_INLINE const cel_expr_Decl_FunctionDecl* cel_expr_Decl_function(const cel_expr_Decl* msg) {
|
|
1203
1330
|
const cel_expr_Decl_FunctionDecl* default_val = NULL;
|
|
1204
1331
|
const cel_expr_Decl_FunctionDecl* ret;
|
|
1205
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9,
|
|
1332
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1206
1333
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Decl__FunctionDecl_msg_init);
|
|
1207
1334
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1208
1335
|
&default_val, &ret);
|
|
1209
1336
|
return ret;
|
|
1210
1337
|
}
|
|
1211
1338
|
UPB_INLINE bool cel_expr_Decl_has_function(const cel_expr_Decl* msg) {
|
|
1212
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9,
|
|
1339
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1213
1340
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1214
1341
|
}
|
|
1215
1342
|
|
|
1216
|
-
UPB_INLINE void cel_expr_Decl_set_name(cel_expr_Decl
|
|
1343
|
+
UPB_INLINE void cel_expr_Decl_set_name(cel_expr_Decl* msg, upb_StringView value) {
|
|
1217
1344
|
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1218
|
-
upb_Message_SetBaseField((upb_Message
|
|
1345
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1219
1346
|
}
|
|
1220
|
-
UPB_INLINE void cel_expr_Decl_set_ident(cel_expr_Decl
|
|
1221
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9,
|
|
1347
|
+
UPB_INLINE void cel_expr_Decl_set_ident(cel_expr_Decl* msg, cel_expr_Decl_IdentDecl* value) {
|
|
1348
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1222
1349
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Decl__IdentDecl_msg_init);
|
|
1223
|
-
upb_Message_SetBaseField((upb_Message
|
|
1350
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1224
1351
|
}
|
|
1225
|
-
UPB_INLINE struct cel_expr_Decl_IdentDecl* cel_expr_Decl_mutable_ident(
|
|
1352
|
+
UPB_INLINE struct cel_expr_Decl_IdentDecl* cel_expr_Decl_mutable_ident(
|
|
1353
|
+
cel_expr_Decl* msg, upb_Arena* arena) {
|
|
1226
1354
|
struct cel_expr_Decl_IdentDecl* sub = (struct cel_expr_Decl_IdentDecl*)cel_expr_Decl_ident(msg);
|
|
1227
1355
|
if (sub == NULL) {
|
|
1228
1356
|
sub = (struct cel_expr_Decl_IdentDecl*)_upb_Message_New(&cel__expr__Decl__IdentDecl_msg_init, arena);
|
|
@@ -1230,12 +1358,13 @@ UPB_INLINE struct cel_expr_Decl_IdentDecl* cel_expr_Decl_mutable_ident(cel_expr_
|
|
|
1230
1358
|
}
|
|
1231
1359
|
return sub;
|
|
1232
1360
|
}
|
|
1233
|
-
UPB_INLINE void cel_expr_Decl_set_function(cel_expr_Decl
|
|
1234
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9,
|
|
1361
|
+
UPB_INLINE void cel_expr_Decl_set_function(cel_expr_Decl* msg, cel_expr_Decl_FunctionDecl* value) {
|
|
1362
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1235
1363
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Decl__FunctionDecl_msg_init);
|
|
1236
|
-
upb_Message_SetBaseField((upb_Message
|
|
1364
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1237
1365
|
}
|
|
1238
|
-
UPB_INLINE struct cel_expr_Decl_FunctionDecl* cel_expr_Decl_mutable_function(
|
|
1366
|
+
UPB_INLINE struct cel_expr_Decl_FunctionDecl* cel_expr_Decl_mutable_function(
|
|
1367
|
+
cel_expr_Decl* msg, upb_Arena* arena) {
|
|
1239
1368
|
struct cel_expr_Decl_FunctionDecl* sub = (struct cel_expr_Decl_FunctionDecl*)cel_expr_Decl_function(msg);
|
|
1240
1369
|
if (sub == NULL) {
|
|
1241
1370
|
sub = (struct cel_expr_Decl_FunctionDecl*)_upb_Message_New(&cel__expr__Decl__FunctionDecl_msg_init, arena);
|
|
@@ -1245,73 +1374,75 @@ UPB_INLINE struct cel_expr_Decl_FunctionDecl* cel_expr_Decl_mutable_function(cel
|
|
|
1245
1374
|
}
|
|
1246
1375
|
|
|
1247
1376
|
/* cel.expr.Decl.IdentDecl */
|
|
1248
|
-
|
|
1249
1377
|
UPB_INLINE cel_expr_Decl_IdentDecl* cel_expr_Decl_IdentDecl_new(upb_Arena* arena) {
|
|
1250
1378
|
return (cel_expr_Decl_IdentDecl*)_upb_Message_New(&cel__expr__Decl__IdentDecl_msg_init, arena);
|
|
1251
1379
|
}
|
|
1252
|
-
UPB_INLINE cel_expr_Decl_IdentDecl* cel_expr_Decl_IdentDecl_parse(const char* buf, size_t size,
|
|
1380
|
+
UPB_INLINE cel_expr_Decl_IdentDecl* cel_expr_Decl_IdentDecl_parse(const char* buf, size_t size,
|
|
1381
|
+
upb_Arena* arena) {
|
|
1253
1382
|
cel_expr_Decl_IdentDecl* ret = cel_expr_Decl_IdentDecl_new(arena);
|
|
1254
1383
|
if (!ret) return NULL;
|
|
1255
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Decl__IdentDecl_msg_init, NULL, 0,
|
|
1256
|
-
|
|
1384
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Decl__IdentDecl_msg_init, NULL, 0,
|
|
1385
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1257
1386
|
return NULL;
|
|
1258
1387
|
}
|
|
1259
1388
|
return ret;
|
|
1260
1389
|
}
|
|
1261
|
-
UPB_INLINE cel_expr_Decl_IdentDecl* cel_expr_Decl_IdentDecl_parse_ex(
|
|
1262
|
-
|
|
1263
|
-
|
|
1390
|
+
UPB_INLINE cel_expr_Decl_IdentDecl* cel_expr_Decl_IdentDecl_parse_ex(
|
|
1391
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1392
|
+
int options, upb_Arena* arena) {
|
|
1264
1393
|
cel_expr_Decl_IdentDecl* ret = cel_expr_Decl_IdentDecl_new(arena);
|
|
1265
1394
|
if (!ret) return NULL;
|
|
1266
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Decl__IdentDecl_msg_init, extreg,
|
|
1267
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1395
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Decl__IdentDecl_msg_init, extreg,
|
|
1396
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1268
1397
|
return NULL;
|
|
1269
1398
|
}
|
|
1270
1399
|
return ret;
|
|
1271
1400
|
}
|
|
1272
|
-
UPB_INLINE char* cel_expr_Decl_IdentDecl_serialize(const cel_expr_Decl_IdentDecl* msg,
|
|
1401
|
+
UPB_INLINE char* cel_expr_Decl_IdentDecl_serialize(const cel_expr_Decl_IdentDecl* msg,
|
|
1402
|
+
upb_Arena* arena, size_t* len) {
|
|
1273
1403
|
char* ptr;
|
|
1274
1404
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Decl__IdentDecl_msg_init, 0, arena, &ptr, len);
|
|
1275
1405
|
return ptr;
|
|
1276
1406
|
}
|
|
1277
|
-
UPB_INLINE char* cel_expr_Decl_IdentDecl_serialize_ex(const cel_expr_Decl_IdentDecl* msg,
|
|
1278
|
-
|
|
1407
|
+
UPB_INLINE char* cel_expr_Decl_IdentDecl_serialize_ex(const cel_expr_Decl_IdentDecl* msg,
|
|
1408
|
+
int options, upb_Arena* arena,
|
|
1409
|
+
size_t* len) {
|
|
1279
1410
|
char* ptr;
|
|
1280
1411
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Decl__IdentDecl_msg_init, options, arena, &ptr, len);
|
|
1281
1412
|
return ptr;
|
|
1282
1413
|
}
|
|
1283
1414
|
UPB_INLINE void cel_expr_Decl_IdentDecl_clear_type(cel_expr_Decl_IdentDecl* msg) {
|
|
1284
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
1415
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1285
1416
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1286
1417
|
}
|
|
1287
1418
|
UPB_INLINE const cel_expr_Type* cel_expr_Decl_IdentDecl_type(const cel_expr_Decl_IdentDecl* msg) {
|
|
1288
1419
|
const cel_expr_Type* default_val = NULL;
|
|
1289
1420
|
const cel_expr_Type* ret;
|
|
1290
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
1421
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1291
1422
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
1292
1423
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1293
1424
|
&default_val, &ret);
|
|
1294
1425
|
return ret;
|
|
1295
1426
|
}
|
|
1296
1427
|
UPB_INLINE bool cel_expr_Decl_IdentDecl_has_type(const cel_expr_Decl_IdentDecl* msg) {
|
|
1297
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
1428
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1298
1429
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1299
1430
|
}
|
|
1300
1431
|
UPB_INLINE void cel_expr_Decl_IdentDecl_clear_value(cel_expr_Decl_IdentDecl* msg) {
|
|
1301
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65,
|
|
1432
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1302
1433
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1303
1434
|
}
|
|
1304
1435
|
UPB_INLINE const struct cel_expr_Constant* cel_expr_Decl_IdentDecl_value(const cel_expr_Decl_IdentDecl* msg) {
|
|
1305
1436
|
const struct cel_expr_Constant* default_val = NULL;
|
|
1306
1437
|
const struct cel_expr_Constant* ret;
|
|
1307
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65,
|
|
1438
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1308
1439
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Constant_msg_init);
|
|
1309
1440
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1310
1441
|
&default_val, &ret);
|
|
1311
1442
|
return ret;
|
|
1312
1443
|
}
|
|
1313
1444
|
UPB_INLINE bool cel_expr_Decl_IdentDecl_has_value(const cel_expr_Decl_IdentDecl* msg) {
|
|
1314
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65,
|
|
1445
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1315
1446
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1316
1447
|
}
|
|
1317
1448
|
UPB_INLINE void cel_expr_Decl_IdentDecl_clear_doc(cel_expr_Decl_IdentDecl* msg) {
|
|
@@ -1327,12 +1458,13 @@ UPB_INLINE upb_StringView cel_expr_Decl_IdentDecl_doc(const cel_expr_Decl_IdentD
|
|
|
1327
1458
|
return ret;
|
|
1328
1459
|
}
|
|
1329
1460
|
|
|
1330
|
-
UPB_INLINE void cel_expr_Decl_IdentDecl_set_type(cel_expr_Decl_IdentDecl
|
|
1331
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
1461
|
+
UPB_INLINE void cel_expr_Decl_IdentDecl_set_type(cel_expr_Decl_IdentDecl* msg, cel_expr_Type* value) {
|
|
1462
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1332
1463
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
1333
|
-
upb_Message_SetBaseField((upb_Message
|
|
1464
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1334
1465
|
}
|
|
1335
|
-
UPB_INLINE struct cel_expr_Type* cel_expr_Decl_IdentDecl_mutable_type(
|
|
1466
|
+
UPB_INLINE struct cel_expr_Type* cel_expr_Decl_IdentDecl_mutable_type(
|
|
1467
|
+
cel_expr_Decl_IdentDecl* msg, upb_Arena* arena) {
|
|
1336
1468
|
struct cel_expr_Type* sub = (struct cel_expr_Type*)cel_expr_Decl_IdentDecl_type(msg);
|
|
1337
1469
|
if (sub == NULL) {
|
|
1338
1470
|
sub = (struct cel_expr_Type*)_upb_Message_New(&cel__expr__Type_msg_init, arena);
|
|
@@ -1340,12 +1472,13 @@ UPB_INLINE struct cel_expr_Type* cel_expr_Decl_IdentDecl_mutable_type(cel_expr_D
|
|
|
1340
1472
|
}
|
|
1341
1473
|
return sub;
|
|
1342
1474
|
}
|
|
1343
|
-
UPB_INLINE void cel_expr_Decl_IdentDecl_set_value(cel_expr_Decl_IdentDecl
|
|
1344
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65,
|
|
1475
|
+
UPB_INLINE void cel_expr_Decl_IdentDecl_set_value(cel_expr_Decl_IdentDecl* msg, struct cel_expr_Constant* value) {
|
|
1476
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1345
1477
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Constant_msg_init);
|
|
1346
|
-
upb_Message_SetBaseField((upb_Message
|
|
1478
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1347
1479
|
}
|
|
1348
|
-
UPB_INLINE struct cel_expr_Constant* cel_expr_Decl_IdentDecl_mutable_value(
|
|
1480
|
+
UPB_INLINE struct cel_expr_Constant* cel_expr_Decl_IdentDecl_mutable_value(
|
|
1481
|
+
cel_expr_Decl_IdentDecl* msg, upb_Arena* arena) {
|
|
1349
1482
|
struct cel_expr_Constant* sub = (struct cel_expr_Constant*)cel_expr_Decl_IdentDecl_value(msg);
|
|
1350
1483
|
if (sub == NULL) {
|
|
1351
1484
|
sub = (struct cel_expr_Constant*)_upb_Message_New(&cel__expr__Constant_msg_init, arena);
|
|
@@ -1353,53 +1486,56 @@ UPB_INLINE struct cel_expr_Constant* cel_expr_Decl_IdentDecl_mutable_value(cel_e
|
|
|
1353
1486
|
}
|
|
1354
1487
|
return sub;
|
|
1355
1488
|
}
|
|
1356
|
-
UPB_INLINE void cel_expr_Decl_IdentDecl_set_doc(cel_expr_Decl_IdentDecl
|
|
1489
|
+
UPB_INLINE void cel_expr_Decl_IdentDecl_set_doc(cel_expr_Decl_IdentDecl* msg, upb_StringView value) {
|
|
1357
1490
|
const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1358
|
-
upb_Message_SetBaseField((upb_Message
|
|
1491
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1359
1492
|
}
|
|
1360
1493
|
|
|
1361
1494
|
/* cel.expr.Decl.FunctionDecl */
|
|
1362
|
-
|
|
1363
1495
|
UPB_INLINE cel_expr_Decl_FunctionDecl* cel_expr_Decl_FunctionDecl_new(upb_Arena* arena) {
|
|
1364
1496
|
return (cel_expr_Decl_FunctionDecl*)_upb_Message_New(&cel__expr__Decl__FunctionDecl_msg_init, arena);
|
|
1365
1497
|
}
|
|
1366
|
-
UPB_INLINE cel_expr_Decl_FunctionDecl* cel_expr_Decl_FunctionDecl_parse(const char* buf, size_t size,
|
|
1498
|
+
UPB_INLINE cel_expr_Decl_FunctionDecl* cel_expr_Decl_FunctionDecl_parse(const char* buf, size_t size,
|
|
1499
|
+
upb_Arena* arena) {
|
|
1367
1500
|
cel_expr_Decl_FunctionDecl* ret = cel_expr_Decl_FunctionDecl_new(arena);
|
|
1368
1501
|
if (!ret) return NULL;
|
|
1369
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Decl__FunctionDecl_msg_init, NULL, 0,
|
|
1370
|
-
|
|
1502
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Decl__FunctionDecl_msg_init, NULL, 0,
|
|
1503
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1371
1504
|
return NULL;
|
|
1372
1505
|
}
|
|
1373
1506
|
return ret;
|
|
1374
1507
|
}
|
|
1375
|
-
UPB_INLINE cel_expr_Decl_FunctionDecl* cel_expr_Decl_FunctionDecl_parse_ex(
|
|
1376
|
-
|
|
1377
|
-
|
|
1508
|
+
UPB_INLINE cel_expr_Decl_FunctionDecl* cel_expr_Decl_FunctionDecl_parse_ex(
|
|
1509
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1510
|
+
int options, upb_Arena* arena) {
|
|
1378
1511
|
cel_expr_Decl_FunctionDecl* ret = cel_expr_Decl_FunctionDecl_new(arena);
|
|
1379
1512
|
if (!ret) return NULL;
|
|
1380
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Decl__FunctionDecl_msg_init, extreg,
|
|
1381
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1513
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Decl__FunctionDecl_msg_init, extreg,
|
|
1514
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1382
1515
|
return NULL;
|
|
1383
1516
|
}
|
|
1384
1517
|
return ret;
|
|
1385
1518
|
}
|
|
1386
|
-
UPB_INLINE char* cel_expr_Decl_FunctionDecl_serialize(const cel_expr_Decl_FunctionDecl* msg,
|
|
1519
|
+
UPB_INLINE char* cel_expr_Decl_FunctionDecl_serialize(const cel_expr_Decl_FunctionDecl* msg,
|
|
1520
|
+
upb_Arena* arena, size_t* len) {
|
|
1387
1521
|
char* ptr;
|
|
1388
1522
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Decl__FunctionDecl_msg_init, 0, arena, &ptr, len);
|
|
1389
1523
|
return ptr;
|
|
1390
1524
|
}
|
|
1391
|
-
UPB_INLINE char* cel_expr_Decl_FunctionDecl_serialize_ex(const cel_expr_Decl_FunctionDecl* msg,
|
|
1392
|
-
|
|
1525
|
+
UPB_INLINE char* cel_expr_Decl_FunctionDecl_serialize_ex(const cel_expr_Decl_FunctionDecl* msg,
|
|
1526
|
+
int options, upb_Arena* arena,
|
|
1527
|
+
size_t* len) {
|
|
1393
1528
|
char* ptr;
|
|
1394
1529
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Decl__FunctionDecl_msg_init, options, arena, &ptr, len);
|
|
1395
1530
|
return ptr;
|
|
1396
1531
|
}
|
|
1397
1532
|
UPB_INLINE void cel_expr_Decl_FunctionDecl_clear_overloads(cel_expr_Decl_FunctionDecl* msg) {
|
|
1398
|
-
const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0,
|
|
1533
|
+
const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1399
1534
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1400
1535
|
}
|
|
1401
|
-
UPB_INLINE const cel_expr_Decl_FunctionDecl_Overload* const* cel_expr_Decl_FunctionDecl_overloads(const cel_expr_Decl_FunctionDecl* msg,
|
|
1402
|
-
|
|
1536
|
+
UPB_INLINE const cel_expr_Decl_FunctionDecl_Overload* const* cel_expr_Decl_FunctionDecl_overloads(const cel_expr_Decl_FunctionDecl* msg,
|
|
1537
|
+
size_t* size) {
|
|
1538
|
+
const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1403
1539
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Decl__FunctionDecl__Overload_msg_init);
|
|
1404
1540
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1405
1541
|
if (arr) {
|
|
@@ -1410,8 +1546,11 @@ UPB_INLINE const cel_expr_Decl_FunctionDecl_Overload* const* cel_expr_Decl_Funct
|
|
|
1410
1546
|
return NULL;
|
|
1411
1547
|
}
|
|
1412
1548
|
}
|
|
1413
|
-
|
|
1414
|
-
|
|
1549
|
+
|
|
1550
|
+
//
|
|
1551
|
+
UPB_INLINE const upb_Array* _cel_expr_Decl_FunctionDecl_overloads_upb_array(
|
|
1552
|
+
const cel_expr_Decl_FunctionDecl* msg, size_t* size) {
|
|
1553
|
+
const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1415
1554
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Decl__FunctionDecl__Overload_msg_init);
|
|
1416
1555
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1417
1556
|
if (size) {
|
|
@@ -1419,8 +1558,10 @@ UPB_INLINE const upb_Array* _cel_expr_Decl_FunctionDecl_overloads_upb_array(cons
|
|
|
1419
1558
|
}
|
|
1420
1559
|
return arr;
|
|
1421
1560
|
}
|
|
1422
|
-
|
|
1423
|
-
|
|
1561
|
+
|
|
1562
|
+
UPB_INLINE upb_Array* _cel_expr_Decl_FunctionDecl_overloads_mutable_upb_array(
|
|
1563
|
+
cel_expr_Decl_FunctionDecl* msg, size_t* size, upb_Arena* arena) {
|
|
1564
|
+
const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1424
1565
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Decl__FunctionDecl__Overload_msg_init);
|
|
1425
1566
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
1426
1567
|
&field, arena);
|
|
@@ -1442,8 +1583,9 @@ UPB_INLINE upb_StringView cel_expr_Decl_FunctionDecl_doc(const cel_expr_Decl_Fun
|
|
|
1442
1583
|
return ret;
|
|
1443
1584
|
}
|
|
1444
1585
|
|
|
1445
|
-
UPB_INLINE cel_expr_Decl_FunctionDecl_Overload** cel_expr_Decl_FunctionDecl_mutable_overloads(cel_expr_Decl_FunctionDecl* msg,
|
|
1446
|
-
|
|
1586
|
+
UPB_INLINE cel_expr_Decl_FunctionDecl_Overload** cel_expr_Decl_FunctionDecl_mutable_overloads(cel_expr_Decl_FunctionDecl* msg,
|
|
1587
|
+
size_t* size) {
|
|
1588
|
+
upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1447
1589
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Decl__FunctionDecl__Overload_msg_init);
|
|
1448
1590
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
1449
1591
|
if (arr) {
|
|
@@ -1454,13 +1596,18 @@ UPB_INLINE cel_expr_Decl_FunctionDecl_Overload** cel_expr_Decl_FunctionDecl_muta
|
|
|
1454
1596
|
return NULL;
|
|
1455
1597
|
}
|
|
1456
1598
|
}
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1599
|
+
|
|
1600
|
+
UPB_INLINE cel_expr_Decl_FunctionDecl_Overload** cel_expr_Decl_FunctionDecl_resize_overloads(cel_expr_Decl_FunctionDecl* msg,
|
|
1601
|
+
size_t size,
|
|
1602
|
+
upb_Arena* arena) {
|
|
1603
|
+
upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1604
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Decl__FunctionDecl__Overload_msg_init);
|
|
1605
|
+
return (cel_expr_Decl_FunctionDecl_Overload**)upb_Message_ResizeArrayUninitialized(
|
|
1606
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
1461
1607
|
}
|
|
1462
|
-
UPB_INLINE struct cel_expr_Decl_FunctionDecl_Overload* cel_expr_Decl_FunctionDecl_add_overloads(
|
|
1463
|
-
|
|
1608
|
+
UPB_INLINE struct cel_expr_Decl_FunctionDecl_Overload* cel_expr_Decl_FunctionDecl_add_overloads(
|
|
1609
|
+
cel_expr_Decl_FunctionDecl* msg, upb_Arena* arena) {
|
|
1610
|
+
upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1464
1611
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Decl__FunctionDecl__Overload_msg_init);
|
|
1465
1612
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
1466
1613
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -1468,49 +1615,52 @@ UPB_INLINE struct cel_expr_Decl_FunctionDecl_Overload* cel_expr_Decl_FunctionDec
|
|
|
1468
1615
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
1469
1616
|
return NULL;
|
|
1470
1617
|
}
|
|
1471
|
-
struct cel_expr_Decl_FunctionDecl_Overload* sub =
|
|
1618
|
+
struct cel_expr_Decl_FunctionDecl_Overload* sub =
|
|
1619
|
+
(struct cel_expr_Decl_FunctionDecl_Overload*)_upb_Message_New(&cel__expr__Decl__FunctionDecl__Overload_msg_init, arena);
|
|
1472
1620
|
if (!arr || !sub) return NULL;
|
|
1473
1621
|
UPB_PRIVATE(_upb_Array_Set)
|
|
1474
1622
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
1475
1623
|
return sub;
|
|
1476
1624
|
}
|
|
1477
|
-
UPB_INLINE void cel_expr_Decl_FunctionDecl_set_doc(cel_expr_Decl_FunctionDecl
|
|
1625
|
+
UPB_INLINE void cel_expr_Decl_FunctionDecl_set_doc(cel_expr_Decl_FunctionDecl* msg, upb_StringView value) {
|
|
1478
1626
|
const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1479
|
-
upb_Message_SetBaseField((upb_Message
|
|
1627
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1480
1628
|
}
|
|
1481
1629
|
|
|
1482
1630
|
/* cel.expr.Decl.FunctionDecl.Overload */
|
|
1483
|
-
|
|
1484
1631
|
UPB_INLINE cel_expr_Decl_FunctionDecl_Overload* cel_expr_Decl_FunctionDecl_Overload_new(upb_Arena* arena) {
|
|
1485
1632
|
return (cel_expr_Decl_FunctionDecl_Overload*)_upb_Message_New(&cel__expr__Decl__FunctionDecl__Overload_msg_init, arena);
|
|
1486
1633
|
}
|
|
1487
|
-
UPB_INLINE cel_expr_Decl_FunctionDecl_Overload* cel_expr_Decl_FunctionDecl_Overload_parse(const char* buf, size_t size,
|
|
1634
|
+
UPB_INLINE cel_expr_Decl_FunctionDecl_Overload* cel_expr_Decl_FunctionDecl_Overload_parse(const char* buf, size_t size,
|
|
1635
|
+
upb_Arena* arena) {
|
|
1488
1636
|
cel_expr_Decl_FunctionDecl_Overload* ret = cel_expr_Decl_FunctionDecl_Overload_new(arena);
|
|
1489
1637
|
if (!ret) return NULL;
|
|
1490
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Decl__FunctionDecl__Overload_msg_init, NULL, 0,
|
|
1491
|
-
|
|
1638
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Decl__FunctionDecl__Overload_msg_init, NULL, 0,
|
|
1639
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1492
1640
|
return NULL;
|
|
1493
1641
|
}
|
|
1494
1642
|
return ret;
|
|
1495
1643
|
}
|
|
1496
|
-
UPB_INLINE cel_expr_Decl_FunctionDecl_Overload* cel_expr_Decl_FunctionDecl_Overload_parse_ex(
|
|
1497
|
-
|
|
1498
|
-
|
|
1644
|
+
UPB_INLINE cel_expr_Decl_FunctionDecl_Overload* cel_expr_Decl_FunctionDecl_Overload_parse_ex(
|
|
1645
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1646
|
+
int options, upb_Arena* arena) {
|
|
1499
1647
|
cel_expr_Decl_FunctionDecl_Overload* ret = cel_expr_Decl_FunctionDecl_Overload_new(arena);
|
|
1500
1648
|
if (!ret) return NULL;
|
|
1501
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Decl__FunctionDecl__Overload_msg_init, extreg,
|
|
1502
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1649
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Decl__FunctionDecl__Overload_msg_init, extreg,
|
|
1650
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1503
1651
|
return NULL;
|
|
1504
1652
|
}
|
|
1505
1653
|
return ret;
|
|
1506
1654
|
}
|
|
1507
|
-
UPB_INLINE char* cel_expr_Decl_FunctionDecl_Overload_serialize(const cel_expr_Decl_FunctionDecl_Overload* msg,
|
|
1655
|
+
UPB_INLINE char* cel_expr_Decl_FunctionDecl_Overload_serialize(const cel_expr_Decl_FunctionDecl_Overload* msg,
|
|
1656
|
+
upb_Arena* arena, size_t* len) {
|
|
1508
1657
|
char* ptr;
|
|
1509
1658
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Decl__FunctionDecl__Overload_msg_init, 0, arena, &ptr, len);
|
|
1510
1659
|
return ptr;
|
|
1511
1660
|
}
|
|
1512
|
-
UPB_INLINE char* cel_expr_Decl_FunctionDecl_Overload_serialize_ex(const cel_expr_Decl_FunctionDecl_Overload* msg,
|
|
1513
|
-
|
|
1661
|
+
UPB_INLINE char* cel_expr_Decl_FunctionDecl_Overload_serialize_ex(const cel_expr_Decl_FunctionDecl_Overload* msg,
|
|
1662
|
+
int options, upb_Arena* arena,
|
|
1663
|
+
size_t* len) {
|
|
1514
1664
|
char* ptr;
|
|
1515
1665
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Decl__FunctionDecl__Overload_msg_init, options, arena, &ptr, len);
|
|
1516
1666
|
return ptr;
|
|
@@ -1528,11 +1678,12 @@ UPB_INLINE upb_StringView cel_expr_Decl_FunctionDecl_Overload_overload_id(const
|
|
|
1528
1678
|
return ret;
|
|
1529
1679
|
}
|
|
1530
1680
|
UPB_INLINE void cel_expr_Decl_FunctionDecl_Overload_clear_params(cel_expr_Decl_FunctionDecl_Overload* msg) {
|
|
1531
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 48), 0,
|
|
1681
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 48), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1532
1682
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1533
1683
|
}
|
|
1534
|
-
UPB_INLINE const cel_expr_Type* const* cel_expr_Decl_FunctionDecl_Overload_params(const cel_expr_Decl_FunctionDecl_Overload* msg,
|
|
1535
|
-
|
|
1684
|
+
UPB_INLINE const cel_expr_Type* const* cel_expr_Decl_FunctionDecl_Overload_params(const cel_expr_Decl_FunctionDecl_Overload* msg,
|
|
1685
|
+
size_t* size) {
|
|
1686
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 48), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1536
1687
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
1537
1688
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1538
1689
|
if (arr) {
|
|
@@ -1543,8 +1694,11 @@ UPB_INLINE const cel_expr_Type* const* cel_expr_Decl_FunctionDecl_Overload_param
|
|
|
1543
1694
|
return NULL;
|
|
1544
1695
|
}
|
|
1545
1696
|
}
|
|
1546
|
-
|
|
1547
|
-
|
|
1697
|
+
|
|
1698
|
+
//
|
|
1699
|
+
UPB_INLINE const upb_Array* _cel_expr_Decl_FunctionDecl_Overload_params_upb_array(
|
|
1700
|
+
const cel_expr_Decl_FunctionDecl_Overload* msg, size_t* size) {
|
|
1701
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 48), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1548
1702
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
1549
1703
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1550
1704
|
if (size) {
|
|
@@ -1552,8 +1706,10 @@ UPB_INLINE const upb_Array* _cel_expr_Decl_FunctionDecl_Overload_params_upb_arra
|
|
|
1552
1706
|
}
|
|
1553
1707
|
return arr;
|
|
1554
1708
|
}
|
|
1555
|
-
|
|
1556
|
-
|
|
1709
|
+
|
|
1710
|
+
UPB_INLINE upb_Array* _cel_expr_Decl_FunctionDecl_Overload_params_mutable_upb_array(
|
|
1711
|
+
cel_expr_Decl_FunctionDecl_Overload* msg, size_t* size, upb_Arena* arena) {
|
|
1712
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 48), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1557
1713
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
1558
1714
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
1559
1715
|
&field, arena);
|
|
@@ -1566,7 +1722,8 @@ UPB_INLINE void cel_expr_Decl_FunctionDecl_Overload_clear_type_params(cel_expr_D
|
|
|
1566
1722
|
const upb_MiniTableField field = {3, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1567
1723
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1568
1724
|
}
|
|
1569
|
-
UPB_INLINE upb_StringView const* cel_expr_Decl_FunctionDecl_Overload_type_params(const cel_expr_Decl_FunctionDecl_Overload* msg,
|
|
1725
|
+
UPB_INLINE upb_StringView const* cel_expr_Decl_FunctionDecl_Overload_type_params(const cel_expr_Decl_FunctionDecl_Overload* msg,
|
|
1726
|
+
size_t* size) {
|
|
1570
1727
|
const upb_MiniTableField field = {3, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1571
1728
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1572
1729
|
if (arr) {
|
|
@@ -1577,7 +1734,10 @@ UPB_INLINE upb_StringView const* cel_expr_Decl_FunctionDecl_Overload_type_params
|
|
|
1577
1734
|
return NULL;
|
|
1578
1735
|
}
|
|
1579
1736
|
}
|
|
1580
|
-
|
|
1737
|
+
|
|
1738
|
+
//
|
|
1739
|
+
UPB_INLINE const upb_Array* _cel_expr_Decl_FunctionDecl_Overload_type_params_upb_array(
|
|
1740
|
+
const cel_expr_Decl_FunctionDecl_Overload* msg, size_t* size) {
|
|
1581
1741
|
const upb_MiniTableField field = {3, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1582
1742
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1583
1743
|
if (size) {
|
|
@@ -1585,7 +1745,9 @@ UPB_INLINE const upb_Array* _cel_expr_Decl_FunctionDecl_Overload_type_params_upb
|
|
|
1585
1745
|
}
|
|
1586
1746
|
return arr;
|
|
1587
1747
|
}
|
|
1588
|
-
|
|
1748
|
+
|
|
1749
|
+
UPB_INLINE upb_Array* _cel_expr_Decl_FunctionDecl_Overload_type_params_mutable_upb_array(
|
|
1750
|
+
cel_expr_Decl_FunctionDecl_Overload* msg, size_t* size, upb_Arena* arena) {
|
|
1589
1751
|
const upb_MiniTableField field = {3, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1590
1752
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
1591
1753
|
&field, arena);
|
|
@@ -1595,20 +1757,20 @@ UPB_INLINE upb_Array* _cel_expr_Decl_FunctionDecl_Overload_type_params_mutable_u
|
|
|
1595
1757
|
return arr;
|
|
1596
1758
|
}
|
|
1597
1759
|
UPB_INLINE void cel_expr_Decl_FunctionDecl_Overload_clear_result_type(cel_expr_Decl_FunctionDecl_Overload* msg) {
|
|
1598
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 64), 64,
|
|
1760
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 64), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1599
1761
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1600
1762
|
}
|
|
1601
1763
|
UPB_INLINE const cel_expr_Type* cel_expr_Decl_FunctionDecl_Overload_result_type(const cel_expr_Decl_FunctionDecl_Overload* msg) {
|
|
1602
1764
|
const cel_expr_Type* default_val = NULL;
|
|
1603
1765
|
const cel_expr_Type* ret;
|
|
1604
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 64), 64,
|
|
1766
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 64), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1605
1767
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
1606
1768
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1607
1769
|
&default_val, &ret);
|
|
1608
1770
|
return ret;
|
|
1609
1771
|
}
|
|
1610
1772
|
UPB_INLINE bool cel_expr_Decl_FunctionDecl_Overload_has_result_type(const cel_expr_Decl_FunctionDecl_Overload* msg) {
|
|
1611
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 64), 64,
|
|
1773
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 64), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1612
1774
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1613
1775
|
}
|
|
1614
1776
|
UPB_INLINE void cel_expr_Decl_FunctionDecl_Overload_clear_is_instance_function(cel_expr_Decl_FunctionDecl_Overload* msg) {
|
|
@@ -1636,12 +1798,13 @@ UPB_INLINE upb_StringView cel_expr_Decl_FunctionDecl_Overload_doc(const cel_expr
|
|
|
1636
1798
|
return ret;
|
|
1637
1799
|
}
|
|
1638
1800
|
|
|
1639
|
-
UPB_INLINE void cel_expr_Decl_FunctionDecl_Overload_set_overload_id(cel_expr_Decl_FunctionDecl_Overload
|
|
1801
|
+
UPB_INLINE void cel_expr_Decl_FunctionDecl_Overload_set_overload_id(cel_expr_Decl_FunctionDecl_Overload* msg, upb_StringView value) {
|
|
1640
1802
|
const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1641
|
-
upb_Message_SetBaseField((upb_Message
|
|
1803
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1642
1804
|
}
|
|
1643
|
-
UPB_INLINE cel_expr_Type** cel_expr_Decl_FunctionDecl_Overload_mutable_params(cel_expr_Decl_FunctionDecl_Overload* msg,
|
|
1644
|
-
|
|
1805
|
+
UPB_INLINE cel_expr_Type** cel_expr_Decl_FunctionDecl_Overload_mutable_params(cel_expr_Decl_FunctionDecl_Overload* msg,
|
|
1806
|
+
size_t* size) {
|
|
1807
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 48), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1645
1808
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
1646
1809
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
1647
1810
|
if (arr) {
|
|
@@ -1652,13 +1815,18 @@ UPB_INLINE cel_expr_Type** cel_expr_Decl_FunctionDecl_Overload_mutable_params(ce
|
|
|
1652
1815
|
return NULL;
|
|
1653
1816
|
}
|
|
1654
1817
|
}
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1818
|
+
|
|
1819
|
+
UPB_INLINE cel_expr_Type** cel_expr_Decl_FunctionDecl_Overload_resize_params(cel_expr_Decl_FunctionDecl_Overload* msg,
|
|
1820
|
+
size_t size,
|
|
1821
|
+
upb_Arena* arena) {
|
|
1822
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 48), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1823
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
1824
|
+
return (cel_expr_Type**)upb_Message_ResizeArrayUninitialized(
|
|
1825
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
1659
1826
|
}
|
|
1660
|
-
UPB_INLINE struct cel_expr_Type* cel_expr_Decl_FunctionDecl_Overload_add_params(
|
|
1661
|
-
|
|
1827
|
+
UPB_INLINE struct cel_expr_Type* cel_expr_Decl_FunctionDecl_Overload_add_params(
|
|
1828
|
+
cel_expr_Decl_FunctionDecl_Overload* msg, upb_Arena* arena) {
|
|
1829
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 48), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1662
1830
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
1663
1831
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
1664
1832
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -1666,13 +1834,15 @@ UPB_INLINE struct cel_expr_Type* cel_expr_Decl_FunctionDecl_Overload_add_params(
|
|
|
1666
1834
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
1667
1835
|
return NULL;
|
|
1668
1836
|
}
|
|
1669
|
-
struct cel_expr_Type* sub =
|
|
1837
|
+
struct cel_expr_Type* sub =
|
|
1838
|
+
(struct cel_expr_Type*)_upb_Message_New(&cel__expr__Type_msg_init, arena);
|
|
1670
1839
|
if (!arr || !sub) return NULL;
|
|
1671
1840
|
UPB_PRIVATE(_upb_Array_Set)
|
|
1672
1841
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
1673
1842
|
return sub;
|
|
1674
1843
|
}
|
|
1675
|
-
UPB_INLINE upb_StringView* cel_expr_Decl_FunctionDecl_Overload_mutable_type_params(cel_expr_Decl_FunctionDecl_Overload* msg,
|
|
1844
|
+
UPB_INLINE upb_StringView* cel_expr_Decl_FunctionDecl_Overload_mutable_type_params(cel_expr_Decl_FunctionDecl_Overload* msg,
|
|
1845
|
+
size_t* size) {
|
|
1676
1846
|
upb_MiniTableField field = {3, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1677
1847
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
1678
1848
|
if (arr) {
|
|
@@ -1683,12 +1853,16 @@ UPB_INLINE upb_StringView* cel_expr_Decl_FunctionDecl_Overload_mutable_type_para
|
|
|
1683
1853
|
return NULL;
|
|
1684
1854
|
}
|
|
1685
1855
|
}
|
|
1686
|
-
|
|
1856
|
+
|
|
1857
|
+
UPB_INLINE upb_StringView* cel_expr_Decl_FunctionDecl_Overload_resize_type_params(cel_expr_Decl_FunctionDecl_Overload* msg,
|
|
1858
|
+
size_t size,
|
|
1859
|
+
upb_Arena* arena) {
|
|
1687
1860
|
upb_MiniTableField field = {3, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1688
|
-
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(
|
|
1689
|
-
|
|
1861
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(
|
|
1862
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
1690
1863
|
}
|
|
1691
|
-
UPB_INLINE bool cel_expr_Decl_FunctionDecl_Overload_add_type_params(cel_expr_Decl_FunctionDecl_Overload* msg, upb_StringView val,
|
|
1864
|
+
UPB_INLINE bool cel_expr_Decl_FunctionDecl_Overload_add_type_params(cel_expr_Decl_FunctionDecl_Overload* msg, upb_StringView val,
|
|
1865
|
+
upb_Arena* arena) {
|
|
1692
1866
|
upb_MiniTableField field = {3, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1693
1867
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
1694
1868
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -1700,12 +1874,13 @@ UPB_INLINE bool cel_expr_Decl_FunctionDecl_Overload_add_type_params(cel_expr_Dec
|
|
|
1700
1874
|
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
|
1701
1875
|
return true;
|
|
1702
1876
|
}
|
|
1703
|
-
UPB_INLINE void cel_expr_Decl_FunctionDecl_Overload_set_result_type(cel_expr_Decl_FunctionDecl_Overload
|
|
1704
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 64), 64,
|
|
1877
|
+
UPB_INLINE void cel_expr_Decl_FunctionDecl_Overload_set_result_type(cel_expr_Decl_FunctionDecl_Overload* msg, cel_expr_Type* value) {
|
|
1878
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 64), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1705
1879
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Type_msg_init);
|
|
1706
|
-
upb_Message_SetBaseField((upb_Message
|
|
1880
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1707
1881
|
}
|
|
1708
|
-
UPB_INLINE struct cel_expr_Type* cel_expr_Decl_FunctionDecl_Overload_mutable_result_type(
|
|
1882
|
+
UPB_INLINE struct cel_expr_Type* cel_expr_Decl_FunctionDecl_Overload_mutable_result_type(
|
|
1883
|
+
cel_expr_Decl_FunctionDecl_Overload* msg, upb_Arena* arena) {
|
|
1709
1884
|
struct cel_expr_Type* sub = (struct cel_expr_Type*)cel_expr_Decl_FunctionDecl_Overload_result_type(msg);
|
|
1710
1885
|
if (sub == NULL) {
|
|
1711
1886
|
sub = (struct cel_expr_Type*)_upb_Message_New(&cel__expr__Type_msg_init, arena);
|
|
@@ -1713,47 +1888,49 @@ UPB_INLINE struct cel_expr_Type* cel_expr_Decl_FunctionDecl_Overload_mutable_res
|
|
|
1713
1888
|
}
|
|
1714
1889
|
return sub;
|
|
1715
1890
|
}
|
|
1716
|
-
UPB_INLINE void cel_expr_Decl_FunctionDecl_Overload_set_is_instance_function(cel_expr_Decl_FunctionDecl_Overload
|
|
1891
|
+
UPB_INLINE void cel_expr_Decl_FunctionDecl_Overload_set_is_instance_function(cel_expr_Decl_FunctionDecl_Overload* msg, bool value) {
|
|
1717
1892
|
const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
|
1718
|
-
upb_Message_SetBaseField((upb_Message
|
|
1893
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1719
1894
|
}
|
|
1720
|
-
UPB_INLINE void cel_expr_Decl_FunctionDecl_Overload_set_doc(cel_expr_Decl_FunctionDecl_Overload
|
|
1895
|
+
UPB_INLINE void cel_expr_Decl_FunctionDecl_Overload_set_doc(cel_expr_Decl_FunctionDecl_Overload* msg, upb_StringView value) {
|
|
1721
1896
|
const upb_MiniTableField field = {6, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1722
|
-
upb_Message_SetBaseField((upb_Message
|
|
1897
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1723
1898
|
}
|
|
1724
1899
|
|
|
1725
1900
|
/* cel.expr.Reference */
|
|
1726
|
-
|
|
1727
1901
|
UPB_INLINE cel_expr_Reference* cel_expr_Reference_new(upb_Arena* arena) {
|
|
1728
1902
|
return (cel_expr_Reference*)_upb_Message_New(&cel__expr__Reference_msg_init, arena);
|
|
1729
1903
|
}
|
|
1730
|
-
UPB_INLINE cel_expr_Reference* cel_expr_Reference_parse(const char* buf, size_t size,
|
|
1904
|
+
UPB_INLINE cel_expr_Reference* cel_expr_Reference_parse(const char* buf, size_t size,
|
|
1905
|
+
upb_Arena* arena) {
|
|
1731
1906
|
cel_expr_Reference* ret = cel_expr_Reference_new(arena);
|
|
1732
1907
|
if (!ret) return NULL;
|
|
1733
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Reference_msg_init, NULL, 0,
|
|
1734
|
-
|
|
1908
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Reference_msg_init, NULL, 0,
|
|
1909
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1735
1910
|
return NULL;
|
|
1736
1911
|
}
|
|
1737
1912
|
return ret;
|
|
1738
1913
|
}
|
|
1739
|
-
UPB_INLINE cel_expr_Reference* cel_expr_Reference_parse_ex(
|
|
1740
|
-
|
|
1741
|
-
|
|
1914
|
+
UPB_INLINE cel_expr_Reference* cel_expr_Reference_parse_ex(
|
|
1915
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1916
|
+
int options, upb_Arena* arena) {
|
|
1742
1917
|
cel_expr_Reference* ret = cel_expr_Reference_new(arena);
|
|
1743
1918
|
if (!ret) return NULL;
|
|
1744
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Reference_msg_init, extreg,
|
|
1745
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1919
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Reference_msg_init, extreg,
|
|
1920
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1746
1921
|
return NULL;
|
|
1747
1922
|
}
|
|
1748
1923
|
return ret;
|
|
1749
1924
|
}
|
|
1750
|
-
UPB_INLINE char* cel_expr_Reference_serialize(const cel_expr_Reference* msg,
|
|
1925
|
+
UPB_INLINE char* cel_expr_Reference_serialize(const cel_expr_Reference* msg,
|
|
1926
|
+
upb_Arena* arena, size_t* len) {
|
|
1751
1927
|
char* ptr;
|
|
1752
1928
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Reference_msg_init, 0, arena, &ptr, len);
|
|
1753
1929
|
return ptr;
|
|
1754
1930
|
}
|
|
1755
|
-
UPB_INLINE char* cel_expr_Reference_serialize_ex(const cel_expr_Reference* msg,
|
|
1756
|
-
|
|
1931
|
+
UPB_INLINE char* cel_expr_Reference_serialize_ex(const cel_expr_Reference* msg,
|
|
1932
|
+
int options, upb_Arena* arena,
|
|
1933
|
+
size_t* len) {
|
|
1757
1934
|
char* ptr;
|
|
1758
1935
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Reference_msg_init, options, arena, &ptr, len);
|
|
1759
1936
|
return ptr;
|
|
@@ -1774,7 +1951,8 @@ UPB_INLINE void cel_expr_Reference_clear_overload_id(cel_expr_Reference* msg) {
|
|
|
1774
1951
|
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1775
1952
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1776
1953
|
}
|
|
1777
|
-
UPB_INLINE upb_StringView const* cel_expr_Reference_overload_id(const cel_expr_Reference* msg,
|
|
1954
|
+
UPB_INLINE upb_StringView const* cel_expr_Reference_overload_id(const cel_expr_Reference* msg,
|
|
1955
|
+
size_t* size) {
|
|
1778
1956
|
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1779
1957
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1780
1958
|
if (arr) {
|
|
@@ -1785,7 +1963,10 @@ UPB_INLINE upb_StringView const* cel_expr_Reference_overload_id(const cel_expr_R
|
|
|
1785
1963
|
return NULL;
|
|
1786
1964
|
}
|
|
1787
1965
|
}
|
|
1788
|
-
|
|
1966
|
+
|
|
1967
|
+
//
|
|
1968
|
+
UPB_INLINE const upb_Array* _cel_expr_Reference_overload_id_upb_array(
|
|
1969
|
+
const cel_expr_Reference* msg, size_t* size) {
|
|
1789
1970
|
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1790
1971
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1791
1972
|
if (size) {
|
|
@@ -1793,7 +1974,9 @@ UPB_INLINE const upb_Array* _cel_expr_Reference_overload_id_upb_array(const cel_
|
|
|
1793
1974
|
}
|
|
1794
1975
|
return arr;
|
|
1795
1976
|
}
|
|
1796
|
-
|
|
1977
|
+
|
|
1978
|
+
UPB_INLINE upb_Array* _cel_expr_Reference_overload_id_mutable_upb_array(
|
|
1979
|
+
cel_expr_Reference* msg, size_t* size, upb_Arena* arena) {
|
|
1797
1980
|
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1798
1981
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
1799
1982
|
&field, arena);
|
|
@@ -1803,28 +1986,29 @@ UPB_INLINE upb_Array* _cel_expr_Reference_overload_id_mutable_upb_array(cel_expr
|
|
|
1803
1986
|
return arr;
|
|
1804
1987
|
}
|
|
1805
1988
|
UPB_INLINE void cel_expr_Reference_clear_value(cel_expr_Reference* msg) {
|
|
1806
|
-
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64,
|
|
1989
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1807
1990
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1808
1991
|
}
|
|
1809
1992
|
UPB_INLINE const struct cel_expr_Constant* cel_expr_Reference_value(const cel_expr_Reference* msg) {
|
|
1810
1993
|
const struct cel_expr_Constant* default_val = NULL;
|
|
1811
1994
|
const struct cel_expr_Constant* ret;
|
|
1812
|
-
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64,
|
|
1995
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1813
1996
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Constant_msg_init);
|
|
1814
1997
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1815
1998
|
&default_val, &ret);
|
|
1816
1999
|
return ret;
|
|
1817
2000
|
}
|
|
1818
2001
|
UPB_INLINE bool cel_expr_Reference_has_value(const cel_expr_Reference* msg) {
|
|
1819
|
-
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64,
|
|
2002
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1820
2003
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1821
2004
|
}
|
|
1822
2005
|
|
|
1823
|
-
UPB_INLINE void cel_expr_Reference_set_name(cel_expr_Reference
|
|
2006
|
+
UPB_INLINE void cel_expr_Reference_set_name(cel_expr_Reference* msg, upb_StringView value) {
|
|
1824
2007
|
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1825
|
-
upb_Message_SetBaseField((upb_Message
|
|
2008
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1826
2009
|
}
|
|
1827
|
-
UPB_INLINE upb_StringView* cel_expr_Reference_mutable_overload_id(cel_expr_Reference* msg,
|
|
2010
|
+
UPB_INLINE upb_StringView* cel_expr_Reference_mutable_overload_id(cel_expr_Reference* msg,
|
|
2011
|
+
size_t* size) {
|
|
1828
2012
|
upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1829
2013
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
1830
2014
|
if (arr) {
|
|
@@ -1835,12 +2019,16 @@ UPB_INLINE upb_StringView* cel_expr_Reference_mutable_overload_id(cel_expr_Refer
|
|
|
1835
2019
|
return NULL;
|
|
1836
2020
|
}
|
|
1837
2021
|
}
|
|
1838
|
-
|
|
2022
|
+
|
|
2023
|
+
UPB_INLINE upb_StringView* cel_expr_Reference_resize_overload_id(cel_expr_Reference* msg,
|
|
2024
|
+
size_t size,
|
|
2025
|
+
upb_Arena* arena) {
|
|
1839
2026
|
upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1840
|
-
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(
|
|
1841
|
-
|
|
2027
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(
|
|
2028
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
1842
2029
|
}
|
|
1843
|
-
UPB_INLINE bool cel_expr_Reference_add_overload_id(cel_expr_Reference* msg, upb_StringView val,
|
|
2030
|
+
UPB_INLINE bool cel_expr_Reference_add_overload_id(cel_expr_Reference* msg, upb_StringView val,
|
|
2031
|
+
upb_Arena* arena) {
|
|
1844
2032
|
upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1845
2033
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
1846
2034
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -1852,12 +2040,13 @@ UPB_INLINE bool cel_expr_Reference_add_overload_id(cel_expr_Reference* msg, upb_
|
|
|
1852
2040
|
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
|
1853
2041
|
return true;
|
|
1854
2042
|
}
|
|
1855
|
-
UPB_INLINE void cel_expr_Reference_set_value(cel_expr_Reference
|
|
1856
|
-
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64,
|
|
2043
|
+
UPB_INLINE void cel_expr_Reference_set_value(cel_expr_Reference* msg, struct cel_expr_Constant* value) {
|
|
2044
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1857
2045
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Constant_msg_init);
|
|
1858
|
-
upb_Message_SetBaseField((upb_Message
|
|
2046
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1859
2047
|
}
|
|
1860
|
-
UPB_INLINE struct cel_expr_Constant* cel_expr_Reference_mutable_value(
|
|
2048
|
+
UPB_INLINE struct cel_expr_Constant* cel_expr_Reference_mutable_value(
|
|
2049
|
+
cel_expr_Reference* msg, upb_Arena* arena) {
|
|
1861
2050
|
struct cel_expr_Constant* sub = (struct cel_expr_Constant*)cel_expr_Reference_value(msg);
|
|
1862
2051
|
if (sub == NULL) {
|
|
1863
2052
|
sub = (struct cel_expr_Constant*)_upb_Message_New(&cel__expr__Constant_msg_init, arena);
|
|
@@ -1867,9 +2056,9 @@ UPB_INLINE struct cel_expr_Constant* cel_expr_Reference_mutable_value(cel_expr_R
|
|
|
1867
2056
|
}
|
|
1868
2057
|
|
|
1869
2058
|
#ifdef __cplusplus
|
|
1870
|
-
}
|
|
2059
|
+
} /* extern "C" */
|
|
1871
2060
|
#endif
|
|
1872
2061
|
|
|
1873
2062
|
#include "upb/port/undef.inc"
|
|
1874
2063
|
|
|
1875
|
-
#endif
|
|
2064
|
+
#endif /* CEL_EXPR_CHECKED_PROTO_UPB_H__UPB_H_ */
|