grpc 1.81.0 → 1.82.0.pre1
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 +261 -90
- data/src/core/lib/experiments/experiments.h +136 -35
- 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_client_grpc.cc +14 -1
- data/src/core/xds/grpc/xds_client_grpc.h +1 -0
- 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_SYNTAX_PROTO_UPB_H__UPB_H_
|
|
11
11
|
|
|
12
12
|
#include "upb/generated_code_support.h"
|
|
13
|
-
|
|
14
13
|
#include "cel/expr/syntax.upb_minitable.h"
|
|
15
|
-
|
|
16
14
|
#include "google/protobuf/duration.upb_minitable.h"
|
|
17
15
|
#include "google/protobuf/struct.upb_minitable.h"
|
|
18
16
|
#include "google/protobuf/timestamp.upb_minitable.h"
|
|
@@ -23,20 +21,58 @@
|
|
|
23
21
|
#ifdef __cplusplus
|
|
24
22
|
extern "C" {
|
|
25
23
|
#endif
|
|
24
|
+
typedef struct cel_expr_ParsedExpr {
|
|
25
|
+
upb_Message UPB_PRIVATE(base);
|
|
26
|
+
} cel_expr_ParsedExpr;
|
|
27
|
+
|
|
28
|
+
typedef struct cel_expr_Expr {
|
|
29
|
+
upb_Message UPB_PRIVATE(base);
|
|
30
|
+
} cel_expr_Expr;
|
|
31
|
+
|
|
32
|
+
typedef struct cel_expr_Expr_Ident {
|
|
33
|
+
upb_Message UPB_PRIVATE(base);
|
|
34
|
+
} cel_expr_Expr_Ident;
|
|
35
|
+
|
|
36
|
+
typedef struct cel_expr_Expr_Select {
|
|
37
|
+
upb_Message UPB_PRIVATE(base);
|
|
38
|
+
} cel_expr_Expr_Select;
|
|
39
|
+
|
|
40
|
+
typedef struct cel_expr_Expr_Call {
|
|
41
|
+
upb_Message UPB_PRIVATE(base);
|
|
42
|
+
} cel_expr_Expr_Call;
|
|
43
|
+
|
|
44
|
+
typedef struct cel_expr_Expr_CreateList {
|
|
45
|
+
upb_Message UPB_PRIVATE(base);
|
|
46
|
+
} cel_expr_Expr_CreateList;
|
|
47
|
+
|
|
48
|
+
typedef struct cel_expr_Expr_CreateStruct {
|
|
49
|
+
upb_Message UPB_PRIVATE(base);
|
|
50
|
+
} cel_expr_Expr_CreateStruct;
|
|
51
|
+
|
|
52
|
+
typedef struct cel_expr_Expr_CreateStruct_Entry {
|
|
53
|
+
upb_Message UPB_PRIVATE(base);
|
|
54
|
+
} cel_expr_Expr_CreateStruct_Entry;
|
|
55
|
+
|
|
56
|
+
typedef struct cel_expr_Expr_Comprehension {
|
|
57
|
+
upb_Message UPB_PRIVATE(base);
|
|
58
|
+
} cel_expr_Expr_Comprehension;
|
|
59
|
+
|
|
60
|
+
typedef struct cel_expr_Constant {
|
|
61
|
+
upb_Message UPB_PRIVATE(base);
|
|
62
|
+
} cel_expr_Constant;
|
|
63
|
+
|
|
64
|
+
typedef struct cel_expr_SourceInfo {
|
|
65
|
+
upb_Message UPB_PRIVATE(base);
|
|
66
|
+
} cel_expr_SourceInfo;
|
|
67
|
+
|
|
68
|
+
typedef struct cel_expr_SourceInfo_Extension {
|
|
69
|
+
upb_Message UPB_PRIVATE(base);
|
|
70
|
+
} cel_expr_SourceInfo_Extension;
|
|
71
|
+
|
|
72
|
+
typedef struct cel_expr_SourceInfo_Extension_Version {
|
|
73
|
+
upb_Message UPB_PRIVATE(base);
|
|
74
|
+
} cel_expr_SourceInfo_Extension_Version;
|
|
26
75
|
|
|
27
|
-
typedef struct cel_expr_ParsedExpr { upb_Message UPB_PRIVATE(base); } cel_expr_ParsedExpr;
|
|
28
|
-
typedef struct cel_expr_Expr { upb_Message UPB_PRIVATE(base); } cel_expr_Expr;
|
|
29
|
-
typedef struct cel_expr_Expr_Ident { upb_Message UPB_PRIVATE(base); } cel_expr_Expr_Ident;
|
|
30
|
-
typedef struct cel_expr_Expr_Select { upb_Message UPB_PRIVATE(base); } cel_expr_Expr_Select;
|
|
31
|
-
typedef struct cel_expr_Expr_Call { upb_Message UPB_PRIVATE(base); } cel_expr_Expr_Call;
|
|
32
|
-
typedef struct cel_expr_Expr_CreateList { upb_Message UPB_PRIVATE(base); } cel_expr_Expr_CreateList;
|
|
33
|
-
typedef struct cel_expr_Expr_CreateStruct { upb_Message UPB_PRIVATE(base); } cel_expr_Expr_CreateStruct;
|
|
34
|
-
typedef struct cel_expr_Expr_CreateStruct_Entry { upb_Message UPB_PRIVATE(base); } cel_expr_Expr_CreateStruct_Entry;
|
|
35
|
-
typedef struct cel_expr_Expr_Comprehension { upb_Message UPB_PRIVATE(base); } cel_expr_Expr_Comprehension;
|
|
36
|
-
typedef struct cel_expr_Constant { upb_Message UPB_PRIVATE(base); } cel_expr_Constant;
|
|
37
|
-
typedef struct cel_expr_SourceInfo { upb_Message UPB_PRIVATE(base); } cel_expr_SourceInfo;
|
|
38
|
-
typedef struct cel_expr_SourceInfo_Extension { upb_Message UPB_PRIVATE(base); } cel_expr_SourceInfo_Extension;
|
|
39
|
-
typedef struct cel_expr_SourceInfo_Extension_Version { upb_Message UPB_PRIVATE(base); } cel_expr_SourceInfo_Extension_Version;
|
|
40
76
|
struct google_protobuf_Duration;
|
|
41
77
|
struct google_protobuf_Timestamp;
|
|
42
78
|
|
|
@@ -50,82 +86,85 @@ typedef enum {
|
|
|
50
86
|
|
|
51
87
|
|
|
52
88
|
/* cel.expr.ParsedExpr */
|
|
53
|
-
|
|
54
89
|
UPB_INLINE cel_expr_ParsedExpr* cel_expr_ParsedExpr_new(upb_Arena* arena) {
|
|
55
90
|
return (cel_expr_ParsedExpr*)_upb_Message_New(&cel__expr__ParsedExpr_msg_init, arena);
|
|
56
91
|
}
|
|
57
|
-
UPB_INLINE cel_expr_ParsedExpr* cel_expr_ParsedExpr_parse(const char* buf, size_t size,
|
|
92
|
+
UPB_INLINE cel_expr_ParsedExpr* cel_expr_ParsedExpr_parse(const char* buf, size_t size,
|
|
93
|
+
upb_Arena* arena) {
|
|
58
94
|
cel_expr_ParsedExpr* ret = cel_expr_ParsedExpr_new(arena);
|
|
59
95
|
if (!ret) return NULL;
|
|
60
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__ParsedExpr_msg_init, NULL, 0,
|
|
61
|
-
|
|
96
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__ParsedExpr_msg_init, NULL, 0,
|
|
97
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
62
98
|
return NULL;
|
|
63
99
|
}
|
|
64
100
|
return ret;
|
|
65
101
|
}
|
|
66
|
-
UPB_INLINE cel_expr_ParsedExpr* cel_expr_ParsedExpr_parse_ex(
|
|
67
|
-
|
|
68
|
-
|
|
102
|
+
UPB_INLINE cel_expr_ParsedExpr* cel_expr_ParsedExpr_parse_ex(
|
|
103
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
104
|
+
int options, upb_Arena* arena) {
|
|
69
105
|
cel_expr_ParsedExpr* ret = cel_expr_ParsedExpr_new(arena);
|
|
70
106
|
if (!ret) return NULL;
|
|
71
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__ParsedExpr_msg_init, extreg,
|
|
72
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
107
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__ParsedExpr_msg_init, extreg,
|
|
108
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
73
109
|
return NULL;
|
|
74
110
|
}
|
|
75
111
|
return ret;
|
|
76
112
|
}
|
|
77
|
-
UPB_INLINE char* cel_expr_ParsedExpr_serialize(const cel_expr_ParsedExpr* msg,
|
|
113
|
+
UPB_INLINE char* cel_expr_ParsedExpr_serialize(const cel_expr_ParsedExpr* msg,
|
|
114
|
+
upb_Arena* arena, size_t* len) {
|
|
78
115
|
char* ptr;
|
|
79
116
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__ParsedExpr_msg_init, 0, arena, &ptr, len);
|
|
80
117
|
return ptr;
|
|
81
118
|
}
|
|
82
|
-
UPB_INLINE char* cel_expr_ParsedExpr_serialize_ex(const cel_expr_ParsedExpr* msg,
|
|
83
|
-
|
|
119
|
+
UPB_INLINE char* cel_expr_ParsedExpr_serialize_ex(const cel_expr_ParsedExpr* msg,
|
|
120
|
+
int options, upb_Arena* arena,
|
|
121
|
+
size_t* len) {
|
|
84
122
|
char* ptr;
|
|
85
123
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__ParsedExpr_msg_init, options, arena, &ptr, len);
|
|
86
124
|
return ptr;
|
|
87
125
|
}
|
|
88
126
|
UPB_INLINE void cel_expr_ParsedExpr_clear_expr(cel_expr_ParsedExpr* msg) {
|
|
89
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64,
|
|
127
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
90
128
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
91
129
|
}
|
|
92
130
|
UPB_INLINE const cel_expr_Expr* cel_expr_ParsedExpr_expr(const cel_expr_ParsedExpr* msg) {
|
|
93
131
|
const cel_expr_Expr* default_val = NULL;
|
|
94
132
|
const cel_expr_Expr* ret;
|
|
95
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64,
|
|
133
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
96
134
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
97
135
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
98
136
|
&default_val, &ret);
|
|
99
137
|
return ret;
|
|
100
138
|
}
|
|
101
139
|
UPB_INLINE bool cel_expr_ParsedExpr_has_expr(const cel_expr_ParsedExpr* msg) {
|
|
102
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64,
|
|
140
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
103
141
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
104
142
|
}
|
|
105
143
|
UPB_INLINE void cel_expr_ParsedExpr_clear_source_info(cel_expr_ParsedExpr* msg) {
|
|
106
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65,
|
|
144
|
+
const upb_MiniTableField field = {3, 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)};
|
|
107
145
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
108
146
|
}
|
|
109
147
|
UPB_INLINE const cel_expr_SourceInfo* cel_expr_ParsedExpr_source_info(const cel_expr_ParsedExpr* msg) {
|
|
110
148
|
const cel_expr_SourceInfo* default_val = NULL;
|
|
111
149
|
const cel_expr_SourceInfo* ret;
|
|
112
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65,
|
|
150
|
+
const upb_MiniTableField field = {3, 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)};
|
|
113
151
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo_msg_init);
|
|
114
152
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
115
153
|
&default_val, &ret);
|
|
116
154
|
return ret;
|
|
117
155
|
}
|
|
118
156
|
UPB_INLINE bool cel_expr_ParsedExpr_has_source_info(const cel_expr_ParsedExpr* msg) {
|
|
119
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65,
|
|
157
|
+
const upb_MiniTableField field = {3, 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)};
|
|
120
158
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
121
159
|
}
|
|
122
160
|
|
|
123
|
-
UPB_INLINE void cel_expr_ParsedExpr_set_expr(cel_expr_ParsedExpr
|
|
124
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64,
|
|
161
|
+
UPB_INLINE void cel_expr_ParsedExpr_set_expr(cel_expr_ParsedExpr* msg, cel_expr_Expr* value) {
|
|
162
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
125
163
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
126
|
-
upb_Message_SetBaseField((upb_Message
|
|
164
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
127
165
|
}
|
|
128
|
-
UPB_INLINE struct cel_expr_Expr* cel_expr_ParsedExpr_mutable_expr(
|
|
166
|
+
UPB_INLINE struct cel_expr_Expr* cel_expr_ParsedExpr_mutable_expr(
|
|
167
|
+
cel_expr_ParsedExpr* msg, upb_Arena* arena) {
|
|
129
168
|
struct cel_expr_Expr* sub = (struct cel_expr_Expr*)cel_expr_ParsedExpr_expr(msg);
|
|
130
169
|
if (sub == NULL) {
|
|
131
170
|
sub = (struct cel_expr_Expr*)_upb_Message_New(&cel__expr__Expr_msg_init, arena);
|
|
@@ -133,12 +172,13 @@ UPB_INLINE struct cel_expr_Expr* cel_expr_ParsedExpr_mutable_expr(cel_expr_Parse
|
|
|
133
172
|
}
|
|
134
173
|
return sub;
|
|
135
174
|
}
|
|
136
|
-
UPB_INLINE void cel_expr_ParsedExpr_set_source_info(cel_expr_ParsedExpr
|
|
137
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65,
|
|
175
|
+
UPB_INLINE void cel_expr_ParsedExpr_set_source_info(cel_expr_ParsedExpr* msg, cel_expr_SourceInfo* value) {
|
|
176
|
+
const upb_MiniTableField field = {3, 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)};
|
|
138
177
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo_msg_init);
|
|
139
|
-
upb_Message_SetBaseField((upb_Message
|
|
178
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
140
179
|
}
|
|
141
|
-
UPB_INLINE struct cel_expr_SourceInfo* cel_expr_ParsedExpr_mutable_source_info(
|
|
180
|
+
UPB_INLINE struct cel_expr_SourceInfo* cel_expr_ParsedExpr_mutable_source_info(
|
|
181
|
+
cel_expr_ParsedExpr* msg, upb_Arena* arena) {
|
|
142
182
|
struct cel_expr_SourceInfo* sub = (struct cel_expr_SourceInfo*)cel_expr_ParsedExpr_source_info(msg);
|
|
143
183
|
if (sub == NULL) {
|
|
144
184
|
sub = (struct cel_expr_SourceInfo*)_upb_Message_New(&cel__expr__SourceInfo_msg_init, arena);
|
|
@@ -148,37 +188,39 @@ UPB_INLINE struct cel_expr_SourceInfo* cel_expr_ParsedExpr_mutable_source_info(c
|
|
|
148
188
|
}
|
|
149
189
|
|
|
150
190
|
/* cel.expr.Expr */
|
|
151
|
-
|
|
152
191
|
UPB_INLINE cel_expr_Expr* cel_expr_Expr_new(upb_Arena* arena) {
|
|
153
192
|
return (cel_expr_Expr*)_upb_Message_New(&cel__expr__Expr_msg_init, arena);
|
|
154
193
|
}
|
|
155
|
-
UPB_INLINE cel_expr_Expr* cel_expr_Expr_parse(const char* buf, size_t size,
|
|
194
|
+
UPB_INLINE cel_expr_Expr* cel_expr_Expr_parse(const char* buf, size_t size,
|
|
195
|
+
upb_Arena* arena) {
|
|
156
196
|
cel_expr_Expr* ret = cel_expr_Expr_new(arena);
|
|
157
197
|
if (!ret) return NULL;
|
|
158
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr_msg_init, NULL, 0,
|
|
159
|
-
|
|
198
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr_msg_init, NULL, 0,
|
|
199
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
160
200
|
return NULL;
|
|
161
201
|
}
|
|
162
202
|
return ret;
|
|
163
203
|
}
|
|
164
|
-
UPB_INLINE cel_expr_Expr* cel_expr_Expr_parse_ex(
|
|
165
|
-
|
|
166
|
-
|
|
204
|
+
UPB_INLINE cel_expr_Expr* cel_expr_Expr_parse_ex(
|
|
205
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
206
|
+
int options, upb_Arena* arena) {
|
|
167
207
|
cel_expr_Expr* ret = cel_expr_Expr_new(arena);
|
|
168
208
|
if (!ret) return NULL;
|
|
169
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr_msg_init, extreg,
|
|
170
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
209
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr_msg_init, extreg,
|
|
210
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
171
211
|
return NULL;
|
|
172
212
|
}
|
|
173
213
|
return ret;
|
|
174
214
|
}
|
|
175
|
-
UPB_INLINE char* cel_expr_Expr_serialize(const cel_expr_Expr* msg,
|
|
215
|
+
UPB_INLINE char* cel_expr_Expr_serialize(const cel_expr_Expr* msg,
|
|
216
|
+
upb_Arena* arena, size_t* len) {
|
|
176
217
|
char* ptr;
|
|
177
218
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Expr_msg_init, 0, arena, &ptr, len);
|
|
178
219
|
return ptr;
|
|
179
220
|
}
|
|
180
|
-
UPB_INLINE char* cel_expr_Expr_serialize_ex(const cel_expr_Expr* msg,
|
|
181
|
-
|
|
221
|
+
UPB_INLINE char* cel_expr_Expr_serialize_ex(const cel_expr_Expr* msg,
|
|
222
|
+
int options, upb_Arena* arena,
|
|
223
|
+
size_t* len) {
|
|
182
224
|
char* ptr;
|
|
183
225
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Expr_msg_init, options, arena, &ptr, len);
|
|
184
226
|
return ptr;
|
|
@@ -193,13 +235,15 @@ typedef enum {
|
|
|
193
235
|
cel_expr_Expr_expr_kind_comprehension_expr = 9,
|
|
194
236
|
cel_expr_Expr_expr_kind_NOT_SET = 0
|
|
195
237
|
} cel_expr_Expr_expr_kind_oneofcases;
|
|
196
|
-
|
|
197
|
-
|
|
238
|
+
|
|
239
|
+
UPB_INLINE cel_expr_Expr_expr_kind_oneofcases
|
|
240
|
+
cel_expr_Expr_expr_kind_case(const cel_expr_Expr* msg) {
|
|
241
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), -9, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
198
242
|
return (cel_expr_Expr_expr_kind_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
199
243
|
UPB_UPCAST(msg), &field);
|
|
200
244
|
}
|
|
201
245
|
UPB_INLINE void cel_expr_Expr_clear_expr_kind(cel_expr_Expr* msg) {
|
|
202
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), -9,
|
|
246
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), -9, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
203
247
|
upb_Message_ClearOneof(UPB_UPCAST(msg), &cel__expr__Expr_msg_init, &field);
|
|
204
248
|
}
|
|
205
249
|
UPB_INLINE void cel_expr_Expr_clear_id(cel_expr_Expr* msg) {
|
|
@@ -215,135 +259,136 @@ UPB_INLINE int64_t cel_expr_Expr_id(const cel_expr_Expr* msg) {
|
|
|
215
259
|
return ret;
|
|
216
260
|
}
|
|
217
261
|
UPB_INLINE void cel_expr_Expr_clear_const_expr(cel_expr_Expr* msg) {
|
|
218
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), -9,
|
|
262
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), -9, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
219
263
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
220
264
|
}
|
|
221
265
|
UPB_INLINE const cel_expr_Constant* cel_expr_Expr_const_expr(const cel_expr_Expr* msg) {
|
|
222
266
|
const cel_expr_Constant* default_val = NULL;
|
|
223
267
|
const cel_expr_Constant* ret;
|
|
224
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), -9,
|
|
268
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), -9, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
225
269
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Constant_msg_init);
|
|
226
270
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
227
271
|
&default_val, &ret);
|
|
228
272
|
return ret;
|
|
229
273
|
}
|
|
230
274
|
UPB_INLINE bool cel_expr_Expr_has_const_expr(const cel_expr_Expr* msg) {
|
|
231
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), -9,
|
|
275
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), -9, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
232
276
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
233
277
|
}
|
|
234
278
|
UPB_INLINE void cel_expr_Expr_clear_ident_expr(cel_expr_Expr* msg) {
|
|
235
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), -9,
|
|
279
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), -9, UPB_SIZE(19, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
236
280
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
237
281
|
}
|
|
238
282
|
UPB_INLINE const cel_expr_Expr_Ident* cel_expr_Expr_ident_expr(const cel_expr_Expr* msg) {
|
|
239
283
|
const cel_expr_Expr_Ident* default_val = NULL;
|
|
240
284
|
const cel_expr_Expr_Ident* ret;
|
|
241
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), -9,
|
|
285
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), -9, UPB_SIZE(19, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
242
286
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr__Ident_msg_init);
|
|
243
287
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
244
288
|
&default_val, &ret);
|
|
245
289
|
return ret;
|
|
246
290
|
}
|
|
247
291
|
UPB_INLINE bool cel_expr_Expr_has_ident_expr(const cel_expr_Expr* msg) {
|
|
248
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), -9,
|
|
292
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), -9, UPB_SIZE(19, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
249
293
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
250
294
|
}
|
|
251
295
|
UPB_INLINE void cel_expr_Expr_clear_select_expr(cel_expr_Expr* msg) {
|
|
252
|
-
const upb_MiniTableField field = {5, UPB_SIZE(12, 24), -9,
|
|
296
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 24), -9, UPB_SIZE(17, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
253
297
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
254
298
|
}
|
|
255
299
|
UPB_INLINE const cel_expr_Expr_Select* cel_expr_Expr_select_expr(const cel_expr_Expr* msg) {
|
|
256
300
|
const cel_expr_Expr_Select* default_val = NULL;
|
|
257
301
|
const cel_expr_Expr_Select* ret;
|
|
258
|
-
const upb_MiniTableField field = {5, UPB_SIZE(12, 24), -9,
|
|
302
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 24), -9, UPB_SIZE(17, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
259
303
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr__Select_msg_init);
|
|
260
304
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
261
305
|
&default_val, &ret);
|
|
262
306
|
return ret;
|
|
263
307
|
}
|
|
264
308
|
UPB_INLINE bool cel_expr_Expr_has_select_expr(const cel_expr_Expr* msg) {
|
|
265
|
-
const upb_MiniTableField field = {5, UPB_SIZE(12, 24), -9,
|
|
309
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 24), -9, UPB_SIZE(17, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
266
310
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
267
311
|
}
|
|
268
312
|
UPB_INLINE void cel_expr_Expr_clear_call_expr(cel_expr_Expr* msg) {
|
|
269
|
-
const upb_MiniTableField field = {6, UPB_SIZE(12, 24), -9,
|
|
313
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 24), -9, UPB_SIZE(15, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
270
314
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
271
315
|
}
|
|
272
316
|
UPB_INLINE const cel_expr_Expr_Call* cel_expr_Expr_call_expr(const cel_expr_Expr* msg) {
|
|
273
317
|
const cel_expr_Expr_Call* default_val = NULL;
|
|
274
318
|
const cel_expr_Expr_Call* ret;
|
|
275
|
-
const upb_MiniTableField field = {6, UPB_SIZE(12, 24), -9,
|
|
319
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 24), -9, UPB_SIZE(15, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
276
320
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr__Call_msg_init);
|
|
277
321
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
278
322
|
&default_val, &ret);
|
|
279
323
|
return ret;
|
|
280
324
|
}
|
|
281
325
|
UPB_INLINE bool cel_expr_Expr_has_call_expr(const cel_expr_Expr* msg) {
|
|
282
|
-
const upb_MiniTableField field = {6, UPB_SIZE(12, 24), -9,
|
|
326
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 24), -9, UPB_SIZE(15, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
283
327
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
284
328
|
}
|
|
285
329
|
UPB_INLINE void cel_expr_Expr_clear_list_expr(cel_expr_Expr* msg) {
|
|
286
|
-
const upb_MiniTableField field = {7, UPB_SIZE(12, 24), -9,
|
|
330
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 24), -9, UPB_SIZE(13, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
287
331
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
288
332
|
}
|
|
289
333
|
UPB_INLINE const cel_expr_Expr_CreateList* cel_expr_Expr_list_expr(const cel_expr_Expr* msg) {
|
|
290
334
|
const cel_expr_Expr_CreateList* default_val = NULL;
|
|
291
335
|
const cel_expr_Expr_CreateList* ret;
|
|
292
|
-
const upb_MiniTableField field = {7, UPB_SIZE(12, 24), -9,
|
|
336
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 24), -9, UPB_SIZE(13, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
293
337
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr__CreateList_msg_init);
|
|
294
338
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
295
339
|
&default_val, &ret);
|
|
296
340
|
return ret;
|
|
297
341
|
}
|
|
298
342
|
UPB_INLINE bool cel_expr_Expr_has_list_expr(const cel_expr_Expr* msg) {
|
|
299
|
-
const upb_MiniTableField field = {7, UPB_SIZE(12, 24), -9,
|
|
343
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 24), -9, UPB_SIZE(13, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
300
344
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
301
345
|
}
|
|
302
346
|
UPB_INLINE void cel_expr_Expr_clear_struct_expr(cel_expr_Expr* msg) {
|
|
303
|
-
const upb_MiniTableField field = {8, UPB_SIZE(12, 24), -9,
|
|
347
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 24), -9, UPB_SIZE(11, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
304
348
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
305
349
|
}
|
|
306
350
|
UPB_INLINE const cel_expr_Expr_CreateStruct* cel_expr_Expr_struct_expr(const cel_expr_Expr* msg) {
|
|
307
351
|
const cel_expr_Expr_CreateStruct* default_val = NULL;
|
|
308
352
|
const cel_expr_Expr_CreateStruct* ret;
|
|
309
|
-
const upb_MiniTableField field = {8, UPB_SIZE(12, 24), -9,
|
|
353
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 24), -9, UPB_SIZE(11, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
310
354
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr__CreateStruct_msg_init);
|
|
311
355
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
312
356
|
&default_val, &ret);
|
|
313
357
|
return ret;
|
|
314
358
|
}
|
|
315
359
|
UPB_INLINE bool cel_expr_Expr_has_struct_expr(const cel_expr_Expr* msg) {
|
|
316
|
-
const upb_MiniTableField field = {8, UPB_SIZE(12, 24), -9,
|
|
360
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 24), -9, UPB_SIZE(11, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
317
361
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
318
362
|
}
|
|
319
363
|
UPB_INLINE void cel_expr_Expr_clear_comprehension_expr(cel_expr_Expr* msg) {
|
|
320
|
-
const upb_MiniTableField field = {9, UPB_SIZE(12, 24), -9,
|
|
364
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 24), -9, UPB_SIZE(9, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
321
365
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
322
366
|
}
|
|
323
367
|
UPB_INLINE const cel_expr_Expr_Comprehension* cel_expr_Expr_comprehension_expr(const cel_expr_Expr* msg) {
|
|
324
368
|
const cel_expr_Expr_Comprehension* default_val = NULL;
|
|
325
369
|
const cel_expr_Expr_Comprehension* ret;
|
|
326
|
-
const upb_MiniTableField field = {9, UPB_SIZE(12, 24), -9,
|
|
370
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 24), -9, UPB_SIZE(9, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
327
371
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr__Comprehension_msg_init);
|
|
328
372
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
329
373
|
&default_val, &ret);
|
|
330
374
|
return ret;
|
|
331
375
|
}
|
|
332
376
|
UPB_INLINE bool cel_expr_Expr_has_comprehension_expr(const cel_expr_Expr* msg) {
|
|
333
|
-
const upb_MiniTableField field = {9, UPB_SIZE(12, 24), -9,
|
|
377
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 24), -9, UPB_SIZE(9, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
334
378
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
335
379
|
}
|
|
336
380
|
|
|
337
|
-
UPB_INLINE void cel_expr_Expr_set_id(cel_expr_Expr
|
|
381
|
+
UPB_INLINE void cel_expr_Expr_set_id(cel_expr_Expr* msg, int64_t value) {
|
|
338
382
|
const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
|
339
|
-
upb_Message_SetBaseField((upb_Message
|
|
383
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
340
384
|
}
|
|
341
|
-
UPB_INLINE void cel_expr_Expr_set_const_expr(cel_expr_Expr
|
|
342
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), -9,
|
|
385
|
+
UPB_INLINE void cel_expr_Expr_set_const_expr(cel_expr_Expr* msg, cel_expr_Constant* value) {
|
|
386
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 24), -9, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
343
387
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Constant_msg_init);
|
|
344
|
-
upb_Message_SetBaseField((upb_Message
|
|
388
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
345
389
|
}
|
|
346
|
-
UPB_INLINE struct cel_expr_Constant* cel_expr_Expr_mutable_const_expr(
|
|
390
|
+
UPB_INLINE struct cel_expr_Constant* cel_expr_Expr_mutable_const_expr(
|
|
391
|
+
cel_expr_Expr* msg, upb_Arena* arena) {
|
|
347
392
|
struct cel_expr_Constant* sub = (struct cel_expr_Constant*)cel_expr_Expr_const_expr(msg);
|
|
348
393
|
if (sub == NULL) {
|
|
349
394
|
sub = (struct cel_expr_Constant*)_upb_Message_New(&cel__expr__Constant_msg_init, arena);
|
|
@@ -351,12 +396,13 @@ UPB_INLINE struct cel_expr_Constant* cel_expr_Expr_mutable_const_expr(cel_expr_E
|
|
|
351
396
|
}
|
|
352
397
|
return sub;
|
|
353
398
|
}
|
|
354
|
-
UPB_INLINE void cel_expr_Expr_set_ident_expr(cel_expr_Expr
|
|
355
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), -9,
|
|
399
|
+
UPB_INLINE void cel_expr_Expr_set_ident_expr(cel_expr_Expr* msg, cel_expr_Expr_Ident* value) {
|
|
400
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 24), -9, UPB_SIZE(19, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
356
401
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr__Ident_msg_init);
|
|
357
|
-
upb_Message_SetBaseField((upb_Message
|
|
402
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
358
403
|
}
|
|
359
|
-
UPB_INLINE struct cel_expr_Expr_Ident* cel_expr_Expr_mutable_ident_expr(
|
|
404
|
+
UPB_INLINE struct cel_expr_Expr_Ident* cel_expr_Expr_mutable_ident_expr(
|
|
405
|
+
cel_expr_Expr* msg, upb_Arena* arena) {
|
|
360
406
|
struct cel_expr_Expr_Ident* sub = (struct cel_expr_Expr_Ident*)cel_expr_Expr_ident_expr(msg);
|
|
361
407
|
if (sub == NULL) {
|
|
362
408
|
sub = (struct cel_expr_Expr_Ident*)_upb_Message_New(&cel__expr__Expr__Ident_msg_init, arena);
|
|
@@ -364,12 +410,13 @@ UPB_INLINE struct cel_expr_Expr_Ident* cel_expr_Expr_mutable_ident_expr(cel_expr
|
|
|
364
410
|
}
|
|
365
411
|
return sub;
|
|
366
412
|
}
|
|
367
|
-
UPB_INLINE void cel_expr_Expr_set_select_expr(cel_expr_Expr
|
|
368
|
-
const upb_MiniTableField field = {5, UPB_SIZE(12, 24), -9,
|
|
413
|
+
UPB_INLINE void cel_expr_Expr_set_select_expr(cel_expr_Expr* msg, cel_expr_Expr_Select* value) {
|
|
414
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 24), -9, UPB_SIZE(17, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
369
415
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr__Select_msg_init);
|
|
370
|
-
upb_Message_SetBaseField((upb_Message
|
|
416
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
371
417
|
}
|
|
372
|
-
UPB_INLINE struct cel_expr_Expr_Select* cel_expr_Expr_mutable_select_expr(
|
|
418
|
+
UPB_INLINE struct cel_expr_Expr_Select* cel_expr_Expr_mutable_select_expr(
|
|
419
|
+
cel_expr_Expr* msg, upb_Arena* arena) {
|
|
373
420
|
struct cel_expr_Expr_Select* sub = (struct cel_expr_Expr_Select*)cel_expr_Expr_select_expr(msg);
|
|
374
421
|
if (sub == NULL) {
|
|
375
422
|
sub = (struct cel_expr_Expr_Select*)_upb_Message_New(&cel__expr__Expr__Select_msg_init, arena);
|
|
@@ -377,12 +424,13 @@ UPB_INLINE struct cel_expr_Expr_Select* cel_expr_Expr_mutable_select_expr(cel_ex
|
|
|
377
424
|
}
|
|
378
425
|
return sub;
|
|
379
426
|
}
|
|
380
|
-
UPB_INLINE void cel_expr_Expr_set_call_expr(cel_expr_Expr
|
|
381
|
-
const upb_MiniTableField field = {6, UPB_SIZE(12, 24), -9,
|
|
427
|
+
UPB_INLINE void cel_expr_Expr_set_call_expr(cel_expr_Expr* msg, cel_expr_Expr_Call* value) {
|
|
428
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 24), -9, UPB_SIZE(15, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
382
429
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr__Call_msg_init);
|
|
383
|
-
upb_Message_SetBaseField((upb_Message
|
|
430
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
384
431
|
}
|
|
385
|
-
UPB_INLINE struct cel_expr_Expr_Call* cel_expr_Expr_mutable_call_expr(
|
|
432
|
+
UPB_INLINE struct cel_expr_Expr_Call* cel_expr_Expr_mutable_call_expr(
|
|
433
|
+
cel_expr_Expr* msg, upb_Arena* arena) {
|
|
386
434
|
struct cel_expr_Expr_Call* sub = (struct cel_expr_Expr_Call*)cel_expr_Expr_call_expr(msg);
|
|
387
435
|
if (sub == NULL) {
|
|
388
436
|
sub = (struct cel_expr_Expr_Call*)_upb_Message_New(&cel__expr__Expr__Call_msg_init, arena);
|
|
@@ -390,12 +438,13 @@ UPB_INLINE struct cel_expr_Expr_Call* cel_expr_Expr_mutable_call_expr(cel_expr_E
|
|
|
390
438
|
}
|
|
391
439
|
return sub;
|
|
392
440
|
}
|
|
393
|
-
UPB_INLINE void cel_expr_Expr_set_list_expr(cel_expr_Expr
|
|
394
|
-
const upb_MiniTableField field = {7, UPB_SIZE(12, 24), -9,
|
|
441
|
+
UPB_INLINE void cel_expr_Expr_set_list_expr(cel_expr_Expr* msg, cel_expr_Expr_CreateList* value) {
|
|
442
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 24), -9, UPB_SIZE(13, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
395
443
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr__CreateList_msg_init);
|
|
396
|
-
upb_Message_SetBaseField((upb_Message
|
|
444
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
397
445
|
}
|
|
398
|
-
UPB_INLINE struct cel_expr_Expr_CreateList* cel_expr_Expr_mutable_list_expr(
|
|
446
|
+
UPB_INLINE struct cel_expr_Expr_CreateList* cel_expr_Expr_mutable_list_expr(
|
|
447
|
+
cel_expr_Expr* msg, upb_Arena* arena) {
|
|
399
448
|
struct cel_expr_Expr_CreateList* sub = (struct cel_expr_Expr_CreateList*)cel_expr_Expr_list_expr(msg);
|
|
400
449
|
if (sub == NULL) {
|
|
401
450
|
sub = (struct cel_expr_Expr_CreateList*)_upb_Message_New(&cel__expr__Expr__CreateList_msg_init, arena);
|
|
@@ -403,12 +452,13 @@ UPB_INLINE struct cel_expr_Expr_CreateList* cel_expr_Expr_mutable_list_expr(cel_
|
|
|
403
452
|
}
|
|
404
453
|
return sub;
|
|
405
454
|
}
|
|
406
|
-
UPB_INLINE void cel_expr_Expr_set_struct_expr(cel_expr_Expr
|
|
407
|
-
const upb_MiniTableField field = {8, UPB_SIZE(12, 24), -9,
|
|
455
|
+
UPB_INLINE void cel_expr_Expr_set_struct_expr(cel_expr_Expr* msg, cel_expr_Expr_CreateStruct* value) {
|
|
456
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 24), -9, UPB_SIZE(11, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
408
457
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr__CreateStruct_msg_init);
|
|
409
|
-
upb_Message_SetBaseField((upb_Message
|
|
458
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
410
459
|
}
|
|
411
|
-
UPB_INLINE struct cel_expr_Expr_CreateStruct* cel_expr_Expr_mutable_struct_expr(
|
|
460
|
+
UPB_INLINE struct cel_expr_Expr_CreateStruct* cel_expr_Expr_mutable_struct_expr(
|
|
461
|
+
cel_expr_Expr* msg, upb_Arena* arena) {
|
|
412
462
|
struct cel_expr_Expr_CreateStruct* sub = (struct cel_expr_Expr_CreateStruct*)cel_expr_Expr_struct_expr(msg);
|
|
413
463
|
if (sub == NULL) {
|
|
414
464
|
sub = (struct cel_expr_Expr_CreateStruct*)_upb_Message_New(&cel__expr__Expr__CreateStruct_msg_init, arena);
|
|
@@ -416,12 +466,13 @@ UPB_INLINE struct cel_expr_Expr_CreateStruct* cel_expr_Expr_mutable_struct_expr(
|
|
|
416
466
|
}
|
|
417
467
|
return sub;
|
|
418
468
|
}
|
|
419
|
-
UPB_INLINE void cel_expr_Expr_set_comprehension_expr(cel_expr_Expr
|
|
420
|
-
const upb_MiniTableField field = {9, UPB_SIZE(12, 24), -9,
|
|
469
|
+
UPB_INLINE void cel_expr_Expr_set_comprehension_expr(cel_expr_Expr* msg, cel_expr_Expr_Comprehension* value) {
|
|
470
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 24), -9, UPB_SIZE(9, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
421
471
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr__Comprehension_msg_init);
|
|
422
|
-
upb_Message_SetBaseField((upb_Message
|
|
472
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
423
473
|
}
|
|
424
|
-
UPB_INLINE struct cel_expr_Expr_Comprehension* cel_expr_Expr_mutable_comprehension_expr(
|
|
474
|
+
UPB_INLINE struct cel_expr_Expr_Comprehension* cel_expr_Expr_mutable_comprehension_expr(
|
|
475
|
+
cel_expr_Expr* msg, upb_Arena* arena) {
|
|
425
476
|
struct cel_expr_Expr_Comprehension* sub = (struct cel_expr_Expr_Comprehension*)cel_expr_Expr_comprehension_expr(msg);
|
|
426
477
|
if (sub == NULL) {
|
|
427
478
|
sub = (struct cel_expr_Expr_Comprehension*)_upb_Message_New(&cel__expr__Expr__Comprehension_msg_init, arena);
|
|
@@ -431,37 +482,39 @@ UPB_INLINE struct cel_expr_Expr_Comprehension* cel_expr_Expr_mutable_comprehensi
|
|
|
431
482
|
}
|
|
432
483
|
|
|
433
484
|
/* cel.expr.Expr.Ident */
|
|
434
|
-
|
|
435
485
|
UPB_INLINE cel_expr_Expr_Ident* cel_expr_Expr_Ident_new(upb_Arena* arena) {
|
|
436
486
|
return (cel_expr_Expr_Ident*)_upb_Message_New(&cel__expr__Expr__Ident_msg_init, arena);
|
|
437
487
|
}
|
|
438
|
-
UPB_INLINE cel_expr_Expr_Ident* cel_expr_Expr_Ident_parse(const char* buf, size_t size,
|
|
488
|
+
UPB_INLINE cel_expr_Expr_Ident* cel_expr_Expr_Ident_parse(const char* buf, size_t size,
|
|
489
|
+
upb_Arena* arena) {
|
|
439
490
|
cel_expr_Expr_Ident* ret = cel_expr_Expr_Ident_new(arena);
|
|
440
491
|
if (!ret) return NULL;
|
|
441
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__Ident_msg_init, NULL, 0,
|
|
442
|
-
|
|
492
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__Ident_msg_init, NULL, 0,
|
|
493
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
443
494
|
return NULL;
|
|
444
495
|
}
|
|
445
496
|
return ret;
|
|
446
497
|
}
|
|
447
|
-
UPB_INLINE cel_expr_Expr_Ident* cel_expr_Expr_Ident_parse_ex(
|
|
448
|
-
|
|
449
|
-
|
|
498
|
+
UPB_INLINE cel_expr_Expr_Ident* cel_expr_Expr_Ident_parse_ex(
|
|
499
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
500
|
+
int options, upb_Arena* arena) {
|
|
450
501
|
cel_expr_Expr_Ident* ret = cel_expr_Expr_Ident_new(arena);
|
|
451
502
|
if (!ret) return NULL;
|
|
452
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__Ident_msg_init, extreg,
|
|
453
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
503
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__Ident_msg_init, extreg,
|
|
504
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
454
505
|
return NULL;
|
|
455
506
|
}
|
|
456
507
|
return ret;
|
|
457
508
|
}
|
|
458
|
-
UPB_INLINE char* cel_expr_Expr_Ident_serialize(const cel_expr_Expr_Ident* msg,
|
|
509
|
+
UPB_INLINE char* cel_expr_Expr_Ident_serialize(const cel_expr_Expr_Ident* msg,
|
|
510
|
+
upb_Arena* arena, size_t* len) {
|
|
459
511
|
char* ptr;
|
|
460
512
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Expr__Ident_msg_init, 0, arena, &ptr, len);
|
|
461
513
|
return ptr;
|
|
462
514
|
}
|
|
463
|
-
UPB_INLINE char* cel_expr_Expr_Ident_serialize_ex(const cel_expr_Expr_Ident* msg,
|
|
464
|
-
|
|
515
|
+
UPB_INLINE char* cel_expr_Expr_Ident_serialize_ex(const cel_expr_Expr_Ident* msg,
|
|
516
|
+
int options, upb_Arena* arena,
|
|
517
|
+
size_t* len) {
|
|
465
518
|
char* ptr;
|
|
466
519
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Expr__Ident_msg_init, options, arena, &ptr, len);
|
|
467
520
|
return ptr;
|
|
@@ -479,62 +532,64 @@ UPB_INLINE upb_StringView cel_expr_Expr_Ident_name(const cel_expr_Expr_Ident* ms
|
|
|
479
532
|
return ret;
|
|
480
533
|
}
|
|
481
534
|
|
|
482
|
-
UPB_INLINE void cel_expr_Expr_Ident_set_name(cel_expr_Expr_Ident
|
|
535
|
+
UPB_INLINE void cel_expr_Expr_Ident_set_name(cel_expr_Expr_Ident* msg, upb_StringView value) {
|
|
483
536
|
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
484
|
-
upb_Message_SetBaseField((upb_Message
|
|
537
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
485
538
|
}
|
|
486
539
|
|
|
487
540
|
/* cel.expr.Expr.Select */
|
|
488
|
-
|
|
489
541
|
UPB_INLINE cel_expr_Expr_Select* cel_expr_Expr_Select_new(upb_Arena* arena) {
|
|
490
542
|
return (cel_expr_Expr_Select*)_upb_Message_New(&cel__expr__Expr__Select_msg_init, arena);
|
|
491
543
|
}
|
|
492
|
-
UPB_INLINE cel_expr_Expr_Select* cel_expr_Expr_Select_parse(const char* buf, size_t size,
|
|
544
|
+
UPB_INLINE cel_expr_Expr_Select* cel_expr_Expr_Select_parse(const char* buf, size_t size,
|
|
545
|
+
upb_Arena* arena) {
|
|
493
546
|
cel_expr_Expr_Select* ret = cel_expr_Expr_Select_new(arena);
|
|
494
547
|
if (!ret) return NULL;
|
|
495
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__Select_msg_init, NULL, 0,
|
|
496
|
-
|
|
548
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__Select_msg_init, NULL, 0,
|
|
549
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
497
550
|
return NULL;
|
|
498
551
|
}
|
|
499
552
|
return ret;
|
|
500
553
|
}
|
|
501
|
-
UPB_INLINE cel_expr_Expr_Select* cel_expr_Expr_Select_parse_ex(
|
|
502
|
-
|
|
503
|
-
|
|
554
|
+
UPB_INLINE cel_expr_Expr_Select* cel_expr_Expr_Select_parse_ex(
|
|
555
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
556
|
+
int options, upb_Arena* arena) {
|
|
504
557
|
cel_expr_Expr_Select* ret = cel_expr_Expr_Select_new(arena);
|
|
505
558
|
if (!ret) return NULL;
|
|
506
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__Select_msg_init, extreg,
|
|
507
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
559
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__Select_msg_init, extreg,
|
|
560
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
508
561
|
return NULL;
|
|
509
562
|
}
|
|
510
563
|
return ret;
|
|
511
564
|
}
|
|
512
|
-
UPB_INLINE char* cel_expr_Expr_Select_serialize(const cel_expr_Expr_Select* msg,
|
|
565
|
+
UPB_INLINE char* cel_expr_Expr_Select_serialize(const cel_expr_Expr_Select* msg,
|
|
566
|
+
upb_Arena* arena, size_t* len) {
|
|
513
567
|
char* ptr;
|
|
514
568
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Expr__Select_msg_init, 0, arena, &ptr, len);
|
|
515
569
|
return ptr;
|
|
516
570
|
}
|
|
517
|
-
UPB_INLINE char* cel_expr_Expr_Select_serialize_ex(const cel_expr_Expr_Select* msg,
|
|
518
|
-
|
|
571
|
+
UPB_INLINE char* cel_expr_Expr_Select_serialize_ex(const cel_expr_Expr_Select* msg,
|
|
572
|
+
int options, upb_Arena* arena,
|
|
573
|
+
size_t* len) {
|
|
519
574
|
char* ptr;
|
|
520
575
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Expr__Select_msg_init, options, arena, &ptr, len);
|
|
521
576
|
return ptr;
|
|
522
577
|
}
|
|
523
578
|
UPB_INLINE void cel_expr_Expr_Select_clear_operand(cel_expr_Expr_Select* msg) {
|
|
524
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
579
|
+
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)};
|
|
525
580
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
526
581
|
}
|
|
527
582
|
UPB_INLINE const cel_expr_Expr* cel_expr_Expr_Select_operand(const cel_expr_Expr_Select* msg) {
|
|
528
583
|
const cel_expr_Expr* default_val = NULL;
|
|
529
584
|
const cel_expr_Expr* ret;
|
|
530
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
585
|
+
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)};
|
|
531
586
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
532
587
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
533
588
|
&default_val, &ret);
|
|
534
589
|
return ret;
|
|
535
590
|
}
|
|
536
591
|
UPB_INLINE bool cel_expr_Expr_Select_has_operand(const cel_expr_Expr_Select* msg) {
|
|
537
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
592
|
+
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)};
|
|
538
593
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
539
594
|
}
|
|
540
595
|
UPB_INLINE void cel_expr_Expr_Select_clear_field(cel_expr_Expr_Select* msg) {
|
|
@@ -562,12 +617,13 @@ UPB_INLINE bool cel_expr_Expr_Select_test_only(const cel_expr_Expr_Select* msg)
|
|
|
562
617
|
return ret;
|
|
563
618
|
}
|
|
564
619
|
|
|
565
|
-
UPB_INLINE void cel_expr_Expr_Select_set_operand(cel_expr_Expr_Select
|
|
566
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
620
|
+
UPB_INLINE void cel_expr_Expr_Select_set_operand(cel_expr_Expr_Select* msg, cel_expr_Expr* value) {
|
|
621
|
+
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)};
|
|
567
622
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
568
|
-
upb_Message_SetBaseField((upb_Message
|
|
623
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
569
624
|
}
|
|
570
|
-
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Select_mutable_operand(
|
|
625
|
+
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Select_mutable_operand(
|
|
626
|
+
cel_expr_Expr_Select* msg, upb_Arena* arena) {
|
|
571
627
|
struct cel_expr_Expr* sub = (struct cel_expr_Expr*)cel_expr_Expr_Select_operand(msg);
|
|
572
628
|
if (sub == NULL) {
|
|
573
629
|
sub = (struct cel_expr_Expr*)_upb_Message_New(&cel__expr__Expr_msg_init, arena);
|
|
@@ -575,66 +631,68 @@ UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Select_mutable_operand(cel_expr_E
|
|
|
575
631
|
}
|
|
576
632
|
return sub;
|
|
577
633
|
}
|
|
578
|
-
UPB_INLINE void cel_expr_Expr_Select_set_field(cel_expr_Expr_Select
|
|
634
|
+
UPB_INLINE void cel_expr_Expr_Select_set_field(cel_expr_Expr_Select* msg, upb_StringView value) {
|
|
579
635
|
const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
580
|
-
upb_Message_SetBaseField((upb_Message
|
|
636
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
581
637
|
}
|
|
582
|
-
UPB_INLINE void cel_expr_Expr_Select_set_test_only(cel_expr_Expr_Select
|
|
638
|
+
UPB_INLINE void cel_expr_Expr_Select_set_test_only(cel_expr_Expr_Select* msg, bool value) {
|
|
583
639
|
const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
|
584
|
-
upb_Message_SetBaseField((upb_Message
|
|
640
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
585
641
|
}
|
|
586
642
|
|
|
587
643
|
/* cel.expr.Expr.Call */
|
|
588
|
-
|
|
589
644
|
UPB_INLINE cel_expr_Expr_Call* cel_expr_Expr_Call_new(upb_Arena* arena) {
|
|
590
645
|
return (cel_expr_Expr_Call*)_upb_Message_New(&cel__expr__Expr__Call_msg_init, arena);
|
|
591
646
|
}
|
|
592
|
-
UPB_INLINE cel_expr_Expr_Call* cel_expr_Expr_Call_parse(const char* buf, size_t size,
|
|
647
|
+
UPB_INLINE cel_expr_Expr_Call* cel_expr_Expr_Call_parse(const char* buf, size_t size,
|
|
648
|
+
upb_Arena* arena) {
|
|
593
649
|
cel_expr_Expr_Call* ret = cel_expr_Expr_Call_new(arena);
|
|
594
650
|
if (!ret) return NULL;
|
|
595
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__Call_msg_init, NULL, 0,
|
|
596
|
-
|
|
651
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__Call_msg_init, NULL, 0,
|
|
652
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
597
653
|
return NULL;
|
|
598
654
|
}
|
|
599
655
|
return ret;
|
|
600
656
|
}
|
|
601
|
-
UPB_INLINE cel_expr_Expr_Call* cel_expr_Expr_Call_parse_ex(
|
|
602
|
-
|
|
603
|
-
|
|
657
|
+
UPB_INLINE cel_expr_Expr_Call* cel_expr_Expr_Call_parse_ex(
|
|
658
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
659
|
+
int options, upb_Arena* arena) {
|
|
604
660
|
cel_expr_Expr_Call* ret = cel_expr_Expr_Call_new(arena);
|
|
605
661
|
if (!ret) return NULL;
|
|
606
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__Call_msg_init, extreg,
|
|
607
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
662
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__Call_msg_init, extreg,
|
|
663
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
608
664
|
return NULL;
|
|
609
665
|
}
|
|
610
666
|
return ret;
|
|
611
667
|
}
|
|
612
|
-
UPB_INLINE char* cel_expr_Expr_Call_serialize(const cel_expr_Expr_Call* msg,
|
|
668
|
+
UPB_INLINE char* cel_expr_Expr_Call_serialize(const cel_expr_Expr_Call* msg,
|
|
669
|
+
upb_Arena* arena, size_t* len) {
|
|
613
670
|
char* ptr;
|
|
614
671
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Expr__Call_msg_init, 0, arena, &ptr, len);
|
|
615
672
|
return ptr;
|
|
616
673
|
}
|
|
617
|
-
UPB_INLINE char* cel_expr_Expr_Call_serialize_ex(const cel_expr_Expr_Call* msg,
|
|
618
|
-
|
|
674
|
+
UPB_INLINE char* cel_expr_Expr_Call_serialize_ex(const cel_expr_Expr_Call* msg,
|
|
675
|
+
int options, upb_Arena* arena,
|
|
676
|
+
size_t* len) {
|
|
619
677
|
char* ptr;
|
|
620
678
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Expr__Call_msg_init, options, arena, &ptr, len);
|
|
621
679
|
return ptr;
|
|
622
680
|
}
|
|
623
681
|
UPB_INLINE void cel_expr_Expr_Call_clear_target(cel_expr_Expr_Call* msg) {
|
|
624
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
682
|
+
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)};
|
|
625
683
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
626
684
|
}
|
|
627
685
|
UPB_INLINE const cel_expr_Expr* cel_expr_Expr_Call_target(const cel_expr_Expr_Call* msg) {
|
|
628
686
|
const cel_expr_Expr* default_val = NULL;
|
|
629
687
|
const cel_expr_Expr* ret;
|
|
630
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
688
|
+
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)};
|
|
631
689
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
632
690
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
633
691
|
&default_val, &ret);
|
|
634
692
|
return ret;
|
|
635
693
|
}
|
|
636
694
|
UPB_INLINE bool cel_expr_Expr_Call_has_target(const cel_expr_Expr_Call* msg) {
|
|
637
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
695
|
+
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)};
|
|
638
696
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
639
697
|
}
|
|
640
698
|
UPB_INLINE void cel_expr_Expr_Call_clear_function(cel_expr_Expr_Call* msg) {
|
|
@@ -650,11 +708,12 @@ UPB_INLINE upb_StringView cel_expr_Expr_Call_function(const cel_expr_Expr_Call*
|
|
|
650
708
|
return ret;
|
|
651
709
|
}
|
|
652
710
|
UPB_INLINE void cel_expr_Expr_Call_clear_args(cel_expr_Expr_Call* msg) {
|
|
653
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0,
|
|
711
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
654
712
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
655
713
|
}
|
|
656
|
-
UPB_INLINE const cel_expr_Expr* const* cel_expr_Expr_Call_args(const cel_expr_Expr_Call* msg,
|
|
657
|
-
|
|
714
|
+
UPB_INLINE const cel_expr_Expr* const* cel_expr_Expr_Call_args(const cel_expr_Expr_Call* msg,
|
|
715
|
+
size_t* size) {
|
|
716
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
658
717
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
659
718
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
660
719
|
if (arr) {
|
|
@@ -665,8 +724,11 @@ UPB_INLINE const cel_expr_Expr* const* cel_expr_Expr_Call_args(const cel_expr_Ex
|
|
|
665
724
|
return NULL;
|
|
666
725
|
}
|
|
667
726
|
}
|
|
668
|
-
|
|
669
|
-
|
|
727
|
+
|
|
728
|
+
//
|
|
729
|
+
UPB_INLINE const upb_Array* _cel_expr_Expr_Call_args_upb_array(
|
|
730
|
+
const cel_expr_Expr_Call* msg, size_t* size) {
|
|
731
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
670
732
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
671
733
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
672
734
|
if (size) {
|
|
@@ -674,8 +736,10 @@ UPB_INLINE const upb_Array* _cel_expr_Expr_Call_args_upb_array(const cel_expr_Ex
|
|
|
674
736
|
}
|
|
675
737
|
return arr;
|
|
676
738
|
}
|
|
677
|
-
|
|
678
|
-
|
|
739
|
+
|
|
740
|
+
UPB_INLINE upb_Array* _cel_expr_Expr_Call_args_mutable_upb_array(
|
|
741
|
+
cel_expr_Expr_Call* msg, size_t* size, upb_Arena* arena) {
|
|
742
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
679
743
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
680
744
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
681
745
|
&field, arena);
|
|
@@ -685,12 +749,13 @@ UPB_INLINE upb_Array* _cel_expr_Expr_Call_args_mutable_upb_array(cel_expr_Expr_C
|
|
|
685
749
|
return arr;
|
|
686
750
|
}
|
|
687
751
|
|
|
688
|
-
UPB_INLINE void cel_expr_Expr_Call_set_target(cel_expr_Expr_Call
|
|
689
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
752
|
+
UPB_INLINE void cel_expr_Expr_Call_set_target(cel_expr_Expr_Call* msg, cel_expr_Expr* value) {
|
|
753
|
+
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)};
|
|
690
754
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
691
|
-
upb_Message_SetBaseField((upb_Message
|
|
755
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
692
756
|
}
|
|
693
|
-
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Call_mutable_target(
|
|
757
|
+
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Call_mutable_target(
|
|
758
|
+
cel_expr_Expr_Call* msg, upb_Arena* arena) {
|
|
694
759
|
struct cel_expr_Expr* sub = (struct cel_expr_Expr*)cel_expr_Expr_Call_target(msg);
|
|
695
760
|
if (sub == NULL) {
|
|
696
761
|
sub = (struct cel_expr_Expr*)_upb_Message_New(&cel__expr__Expr_msg_init, arena);
|
|
@@ -698,12 +763,13 @@ UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Call_mutable_target(cel_expr_Expr
|
|
|
698
763
|
}
|
|
699
764
|
return sub;
|
|
700
765
|
}
|
|
701
|
-
UPB_INLINE void cel_expr_Expr_Call_set_function(cel_expr_Expr_Call
|
|
766
|
+
UPB_INLINE void cel_expr_Expr_Call_set_function(cel_expr_Expr_Call* msg, upb_StringView value) {
|
|
702
767
|
const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
703
|
-
upb_Message_SetBaseField((upb_Message
|
|
768
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
704
769
|
}
|
|
705
|
-
UPB_INLINE cel_expr_Expr** cel_expr_Expr_Call_mutable_args(cel_expr_Expr_Call* msg,
|
|
706
|
-
|
|
770
|
+
UPB_INLINE cel_expr_Expr** cel_expr_Expr_Call_mutable_args(cel_expr_Expr_Call* msg,
|
|
771
|
+
size_t* size) {
|
|
772
|
+
upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
707
773
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
708
774
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
709
775
|
if (arr) {
|
|
@@ -714,13 +780,18 @@ UPB_INLINE cel_expr_Expr** cel_expr_Expr_Call_mutable_args(cel_expr_Expr_Call* m
|
|
|
714
780
|
return NULL;
|
|
715
781
|
}
|
|
716
782
|
}
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
783
|
+
|
|
784
|
+
UPB_INLINE cel_expr_Expr** cel_expr_Expr_Call_resize_args(cel_expr_Expr_Call* msg,
|
|
785
|
+
size_t size,
|
|
786
|
+
upb_Arena* arena) {
|
|
787
|
+
upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
788
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
789
|
+
return (cel_expr_Expr**)upb_Message_ResizeArrayUninitialized(
|
|
790
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
721
791
|
}
|
|
722
|
-
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Call_add_args(
|
|
723
|
-
|
|
792
|
+
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Call_add_args(
|
|
793
|
+
cel_expr_Expr_Call* msg, upb_Arena* arena) {
|
|
794
|
+
upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
724
795
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
725
796
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
726
797
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -728,7 +799,8 @@ UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Call_add_args(cel_expr_Expr_Call*
|
|
|
728
799
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
729
800
|
return NULL;
|
|
730
801
|
}
|
|
731
|
-
struct cel_expr_Expr* sub =
|
|
802
|
+
struct cel_expr_Expr* sub =
|
|
803
|
+
(struct cel_expr_Expr*)_upb_Message_New(&cel__expr__Expr_msg_init, arena);
|
|
732
804
|
if (!arr || !sub) return NULL;
|
|
733
805
|
UPB_PRIVATE(_upb_Array_Set)
|
|
734
806
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
@@ -736,47 +808,50 @@ UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Call_add_args(cel_expr_Expr_Call*
|
|
|
736
808
|
}
|
|
737
809
|
|
|
738
810
|
/* cel.expr.Expr.CreateList */
|
|
739
|
-
|
|
740
811
|
UPB_INLINE cel_expr_Expr_CreateList* cel_expr_Expr_CreateList_new(upb_Arena* arena) {
|
|
741
812
|
return (cel_expr_Expr_CreateList*)_upb_Message_New(&cel__expr__Expr__CreateList_msg_init, arena);
|
|
742
813
|
}
|
|
743
|
-
UPB_INLINE cel_expr_Expr_CreateList* cel_expr_Expr_CreateList_parse(const char* buf, size_t size,
|
|
814
|
+
UPB_INLINE cel_expr_Expr_CreateList* cel_expr_Expr_CreateList_parse(const char* buf, size_t size,
|
|
815
|
+
upb_Arena* arena) {
|
|
744
816
|
cel_expr_Expr_CreateList* ret = cel_expr_Expr_CreateList_new(arena);
|
|
745
817
|
if (!ret) return NULL;
|
|
746
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__CreateList_msg_init, NULL, 0,
|
|
747
|
-
|
|
818
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__CreateList_msg_init, NULL, 0,
|
|
819
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
748
820
|
return NULL;
|
|
749
821
|
}
|
|
750
822
|
return ret;
|
|
751
823
|
}
|
|
752
|
-
UPB_INLINE cel_expr_Expr_CreateList* cel_expr_Expr_CreateList_parse_ex(
|
|
753
|
-
|
|
754
|
-
|
|
824
|
+
UPB_INLINE cel_expr_Expr_CreateList* cel_expr_Expr_CreateList_parse_ex(
|
|
825
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
826
|
+
int options, upb_Arena* arena) {
|
|
755
827
|
cel_expr_Expr_CreateList* ret = cel_expr_Expr_CreateList_new(arena);
|
|
756
828
|
if (!ret) return NULL;
|
|
757
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__CreateList_msg_init, extreg,
|
|
758
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
829
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__CreateList_msg_init, extreg,
|
|
830
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
759
831
|
return NULL;
|
|
760
832
|
}
|
|
761
833
|
return ret;
|
|
762
834
|
}
|
|
763
|
-
UPB_INLINE char* cel_expr_Expr_CreateList_serialize(const cel_expr_Expr_CreateList* msg,
|
|
835
|
+
UPB_INLINE char* cel_expr_Expr_CreateList_serialize(const cel_expr_Expr_CreateList* msg,
|
|
836
|
+
upb_Arena* arena, size_t* len) {
|
|
764
837
|
char* ptr;
|
|
765
838
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Expr__CreateList_msg_init, 0, arena, &ptr, len);
|
|
766
839
|
return ptr;
|
|
767
840
|
}
|
|
768
|
-
UPB_INLINE char* cel_expr_Expr_CreateList_serialize_ex(const cel_expr_Expr_CreateList* msg,
|
|
769
|
-
|
|
841
|
+
UPB_INLINE char* cel_expr_Expr_CreateList_serialize_ex(const cel_expr_Expr_CreateList* msg,
|
|
842
|
+
int options, upb_Arena* arena,
|
|
843
|
+
size_t* len) {
|
|
770
844
|
char* ptr;
|
|
771
845
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Expr__CreateList_msg_init, options, arena, &ptr, len);
|
|
772
846
|
return ptr;
|
|
773
847
|
}
|
|
774
848
|
UPB_INLINE void cel_expr_Expr_CreateList_clear_elements(cel_expr_Expr_CreateList* msg) {
|
|
775
|
-
const upb_MiniTableField field = {1, 8, 0,
|
|
849
|
+
const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
776
850
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
777
851
|
}
|
|
778
|
-
UPB_INLINE const cel_expr_Expr* const* cel_expr_Expr_CreateList_elements(const cel_expr_Expr_CreateList* msg,
|
|
779
|
-
|
|
852
|
+
UPB_INLINE const cel_expr_Expr* const* cel_expr_Expr_CreateList_elements(const cel_expr_Expr_CreateList* msg,
|
|
853
|
+
size_t* size) {
|
|
854
|
+
const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
780
855
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
781
856
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
782
857
|
if (arr) {
|
|
@@ -787,8 +862,11 @@ UPB_INLINE const cel_expr_Expr* const* cel_expr_Expr_CreateList_elements(const c
|
|
|
787
862
|
return NULL;
|
|
788
863
|
}
|
|
789
864
|
}
|
|
790
|
-
|
|
791
|
-
|
|
865
|
+
|
|
866
|
+
//
|
|
867
|
+
UPB_INLINE const upb_Array* _cel_expr_Expr_CreateList_elements_upb_array(
|
|
868
|
+
const cel_expr_Expr_CreateList* msg, size_t* size) {
|
|
869
|
+
const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
792
870
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
793
871
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
794
872
|
if (size) {
|
|
@@ -796,8 +874,10 @@ UPB_INLINE const upb_Array* _cel_expr_Expr_CreateList_elements_upb_array(const c
|
|
|
796
874
|
}
|
|
797
875
|
return arr;
|
|
798
876
|
}
|
|
799
|
-
|
|
800
|
-
|
|
877
|
+
|
|
878
|
+
UPB_INLINE upb_Array* _cel_expr_Expr_CreateList_elements_mutable_upb_array(
|
|
879
|
+
cel_expr_Expr_CreateList* msg, size_t* size, upb_Arena* arena) {
|
|
880
|
+
const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
801
881
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
802
882
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
803
883
|
&field, arena);
|
|
@@ -810,7 +890,8 @@ UPB_INLINE void cel_expr_Expr_CreateList_clear_optional_indices(cel_expr_Expr_Cr
|
|
|
810
890
|
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
811
891
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
812
892
|
}
|
|
813
|
-
UPB_INLINE int32_t const* cel_expr_Expr_CreateList_optional_indices(const cel_expr_Expr_CreateList* msg,
|
|
893
|
+
UPB_INLINE int32_t const* cel_expr_Expr_CreateList_optional_indices(const cel_expr_Expr_CreateList* msg,
|
|
894
|
+
size_t* size) {
|
|
814
895
|
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
815
896
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
816
897
|
if (arr) {
|
|
@@ -821,7 +902,10 @@ UPB_INLINE int32_t const* cel_expr_Expr_CreateList_optional_indices(const cel_ex
|
|
|
821
902
|
return NULL;
|
|
822
903
|
}
|
|
823
904
|
}
|
|
824
|
-
|
|
905
|
+
|
|
906
|
+
//
|
|
907
|
+
UPB_INLINE const upb_Array* _cel_expr_Expr_CreateList_optional_indices_upb_array(
|
|
908
|
+
const cel_expr_Expr_CreateList* msg, size_t* size) {
|
|
825
909
|
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
826
910
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
827
911
|
if (size) {
|
|
@@ -829,7 +913,9 @@ UPB_INLINE const upb_Array* _cel_expr_Expr_CreateList_optional_indices_upb_array
|
|
|
829
913
|
}
|
|
830
914
|
return arr;
|
|
831
915
|
}
|
|
832
|
-
|
|
916
|
+
|
|
917
|
+
UPB_INLINE upb_Array* _cel_expr_Expr_CreateList_optional_indices_mutable_upb_array(
|
|
918
|
+
cel_expr_Expr_CreateList* msg, size_t* size, upb_Arena* arena) {
|
|
833
919
|
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
834
920
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
835
921
|
&field, arena);
|
|
@@ -839,8 +925,9 @@ UPB_INLINE upb_Array* _cel_expr_Expr_CreateList_optional_indices_mutable_upb_arr
|
|
|
839
925
|
return arr;
|
|
840
926
|
}
|
|
841
927
|
|
|
842
|
-
UPB_INLINE cel_expr_Expr** cel_expr_Expr_CreateList_mutable_elements(cel_expr_Expr_CreateList* msg,
|
|
843
|
-
|
|
928
|
+
UPB_INLINE cel_expr_Expr** cel_expr_Expr_CreateList_mutable_elements(cel_expr_Expr_CreateList* msg,
|
|
929
|
+
size_t* size) {
|
|
930
|
+
upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
844
931
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
845
932
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
846
933
|
if (arr) {
|
|
@@ -851,13 +938,18 @@ UPB_INLINE cel_expr_Expr** cel_expr_Expr_CreateList_mutable_elements(cel_expr_Ex
|
|
|
851
938
|
return NULL;
|
|
852
939
|
}
|
|
853
940
|
}
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
941
|
+
|
|
942
|
+
UPB_INLINE cel_expr_Expr** cel_expr_Expr_CreateList_resize_elements(cel_expr_Expr_CreateList* msg,
|
|
943
|
+
size_t size,
|
|
944
|
+
upb_Arena* arena) {
|
|
945
|
+
upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
946
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
947
|
+
return (cel_expr_Expr**)upb_Message_ResizeArrayUninitialized(
|
|
948
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
858
949
|
}
|
|
859
|
-
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_CreateList_add_elements(
|
|
860
|
-
|
|
950
|
+
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_CreateList_add_elements(
|
|
951
|
+
cel_expr_Expr_CreateList* msg, upb_Arena* arena) {
|
|
952
|
+
upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
861
953
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
862
954
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
863
955
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -865,13 +957,15 @@ UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_CreateList_add_elements(cel_expr_
|
|
|
865
957
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
866
958
|
return NULL;
|
|
867
959
|
}
|
|
868
|
-
struct cel_expr_Expr* sub =
|
|
960
|
+
struct cel_expr_Expr* sub =
|
|
961
|
+
(struct cel_expr_Expr*)_upb_Message_New(&cel__expr__Expr_msg_init, arena);
|
|
869
962
|
if (!arr || !sub) return NULL;
|
|
870
963
|
UPB_PRIVATE(_upb_Array_Set)
|
|
871
964
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
872
965
|
return sub;
|
|
873
966
|
}
|
|
874
|
-
UPB_INLINE int32_t* cel_expr_Expr_CreateList_mutable_optional_indices(cel_expr_Expr_CreateList* msg,
|
|
967
|
+
UPB_INLINE int32_t* cel_expr_Expr_CreateList_mutable_optional_indices(cel_expr_Expr_CreateList* msg,
|
|
968
|
+
size_t* size) {
|
|
875
969
|
upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
876
970
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
877
971
|
if (arr) {
|
|
@@ -882,12 +976,16 @@ UPB_INLINE int32_t* cel_expr_Expr_CreateList_mutable_optional_indices(cel_expr_E
|
|
|
882
976
|
return NULL;
|
|
883
977
|
}
|
|
884
978
|
}
|
|
885
|
-
|
|
979
|
+
|
|
980
|
+
UPB_INLINE int32_t* cel_expr_Expr_CreateList_resize_optional_indices(cel_expr_Expr_CreateList* msg,
|
|
981
|
+
size_t size,
|
|
982
|
+
upb_Arena* arena) {
|
|
886
983
|
upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
887
|
-
return (int32_t*)upb_Message_ResizeArrayUninitialized(
|
|
888
|
-
|
|
984
|
+
return (int32_t*)upb_Message_ResizeArrayUninitialized(
|
|
985
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
889
986
|
}
|
|
890
|
-
UPB_INLINE bool cel_expr_Expr_CreateList_add_optional_indices(cel_expr_Expr_CreateList* msg, int32_t val,
|
|
987
|
+
UPB_INLINE bool cel_expr_Expr_CreateList_add_optional_indices(cel_expr_Expr_CreateList* msg, int32_t val,
|
|
988
|
+
upb_Arena* arena) {
|
|
891
989
|
upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
892
990
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
893
991
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -901,37 +999,39 @@ UPB_INLINE bool cel_expr_Expr_CreateList_add_optional_indices(cel_expr_Expr_Crea
|
|
|
901
999
|
}
|
|
902
1000
|
|
|
903
1001
|
/* cel.expr.Expr.CreateStruct */
|
|
904
|
-
|
|
905
1002
|
UPB_INLINE cel_expr_Expr_CreateStruct* cel_expr_Expr_CreateStruct_new(upb_Arena* arena) {
|
|
906
1003
|
return (cel_expr_Expr_CreateStruct*)_upb_Message_New(&cel__expr__Expr__CreateStruct_msg_init, arena);
|
|
907
1004
|
}
|
|
908
|
-
UPB_INLINE cel_expr_Expr_CreateStruct* cel_expr_Expr_CreateStruct_parse(const char* buf, size_t size,
|
|
1005
|
+
UPB_INLINE cel_expr_Expr_CreateStruct* cel_expr_Expr_CreateStruct_parse(const char* buf, size_t size,
|
|
1006
|
+
upb_Arena* arena) {
|
|
909
1007
|
cel_expr_Expr_CreateStruct* ret = cel_expr_Expr_CreateStruct_new(arena);
|
|
910
1008
|
if (!ret) return NULL;
|
|
911
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__CreateStruct_msg_init, NULL, 0,
|
|
912
|
-
|
|
1009
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__CreateStruct_msg_init, NULL, 0,
|
|
1010
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
913
1011
|
return NULL;
|
|
914
1012
|
}
|
|
915
1013
|
return ret;
|
|
916
1014
|
}
|
|
917
|
-
UPB_INLINE cel_expr_Expr_CreateStruct* cel_expr_Expr_CreateStruct_parse_ex(
|
|
918
|
-
|
|
919
|
-
|
|
1015
|
+
UPB_INLINE cel_expr_Expr_CreateStruct* cel_expr_Expr_CreateStruct_parse_ex(
|
|
1016
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1017
|
+
int options, upb_Arena* arena) {
|
|
920
1018
|
cel_expr_Expr_CreateStruct* ret = cel_expr_Expr_CreateStruct_new(arena);
|
|
921
1019
|
if (!ret) return NULL;
|
|
922
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__CreateStruct_msg_init, extreg,
|
|
923
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1020
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__CreateStruct_msg_init, extreg,
|
|
1021
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
924
1022
|
return NULL;
|
|
925
1023
|
}
|
|
926
1024
|
return ret;
|
|
927
1025
|
}
|
|
928
|
-
UPB_INLINE char* cel_expr_Expr_CreateStruct_serialize(const cel_expr_Expr_CreateStruct* msg,
|
|
1026
|
+
UPB_INLINE char* cel_expr_Expr_CreateStruct_serialize(const cel_expr_Expr_CreateStruct* msg,
|
|
1027
|
+
upb_Arena* arena, size_t* len) {
|
|
929
1028
|
char* ptr;
|
|
930
1029
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Expr__CreateStruct_msg_init, 0, arena, &ptr, len);
|
|
931
1030
|
return ptr;
|
|
932
1031
|
}
|
|
933
|
-
UPB_INLINE char* cel_expr_Expr_CreateStruct_serialize_ex(const cel_expr_Expr_CreateStruct* msg,
|
|
934
|
-
|
|
1032
|
+
UPB_INLINE char* cel_expr_Expr_CreateStruct_serialize_ex(const cel_expr_Expr_CreateStruct* msg,
|
|
1033
|
+
int options, upb_Arena* arena,
|
|
1034
|
+
size_t* len) {
|
|
935
1035
|
char* ptr;
|
|
936
1036
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Expr__CreateStruct_msg_init, options, arena, &ptr, len);
|
|
937
1037
|
return ptr;
|
|
@@ -949,11 +1049,12 @@ UPB_INLINE upb_StringView cel_expr_Expr_CreateStruct_message_name(const cel_expr
|
|
|
949
1049
|
return ret;
|
|
950
1050
|
}
|
|
951
1051
|
UPB_INLINE void cel_expr_Expr_CreateStruct_clear_entries(cel_expr_Expr_CreateStruct* msg) {
|
|
952
|
-
const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0,
|
|
1052
|
+
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)};
|
|
953
1053
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
954
1054
|
}
|
|
955
|
-
UPB_INLINE const cel_expr_Expr_CreateStruct_Entry* const* cel_expr_Expr_CreateStruct_entries(const cel_expr_Expr_CreateStruct* msg,
|
|
956
|
-
|
|
1055
|
+
UPB_INLINE const cel_expr_Expr_CreateStruct_Entry* const* cel_expr_Expr_CreateStruct_entries(const cel_expr_Expr_CreateStruct* msg,
|
|
1056
|
+
size_t* size) {
|
|
1057
|
+
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)};
|
|
957
1058
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr__CreateStruct__Entry_msg_init);
|
|
958
1059
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
959
1060
|
if (arr) {
|
|
@@ -964,8 +1065,11 @@ UPB_INLINE const cel_expr_Expr_CreateStruct_Entry* const* cel_expr_Expr_CreateSt
|
|
|
964
1065
|
return NULL;
|
|
965
1066
|
}
|
|
966
1067
|
}
|
|
967
|
-
|
|
968
|
-
|
|
1068
|
+
|
|
1069
|
+
//
|
|
1070
|
+
UPB_INLINE const upb_Array* _cel_expr_Expr_CreateStruct_entries_upb_array(
|
|
1071
|
+
const cel_expr_Expr_CreateStruct* msg, size_t* size) {
|
|
1072
|
+
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)};
|
|
969
1073
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr__CreateStruct__Entry_msg_init);
|
|
970
1074
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
971
1075
|
if (size) {
|
|
@@ -973,8 +1077,10 @@ UPB_INLINE const upb_Array* _cel_expr_Expr_CreateStruct_entries_upb_array(const
|
|
|
973
1077
|
}
|
|
974
1078
|
return arr;
|
|
975
1079
|
}
|
|
976
|
-
|
|
977
|
-
|
|
1080
|
+
|
|
1081
|
+
UPB_INLINE upb_Array* _cel_expr_Expr_CreateStruct_entries_mutable_upb_array(
|
|
1082
|
+
cel_expr_Expr_CreateStruct* msg, size_t* size, upb_Arena* arena) {
|
|
1083
|
+
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)};
|
|
978
1084
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr__CreateStruct__Entry_msg_init);
|
|
979
1085
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
980
1086
|
&field, arena);
|
|
@@ -984,12 +1090,13 @@ UPB_INLINE upb_Array* _cel_expr_Expr_CreateStruct_entries_mutable_upb_array(cel_
|
|
|
984
1090
|
return arr;
|
|
985
1091
|
}
|
|
986
1092
|
|
|
987
|
-
UPB_INLINE void cel_expr_Expr_CreateStruct_set_message_name(cel_expr_Expr_CreateStruct
|
|
1093
|
+
UPB_INLINE void cel_expr_Expr_CreateStruct_set_message_name(cel_expr_Expr_CreateStruct* msg, upb_StringView value) {
|
|
988
1094
|
const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
989
|
-
upb_Message_SetBaseField((upb_Message
|
|
1095
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
990
1096
|
}
|
|
991
|
-
UPB_INLINE cel_expr_Expr_CreateStruct_Entry** cel_expr_Expr_CreateStruct_mutable_entries(cel_expr_Expr_CreateStruct* msg,
|
|
992
|
-
|
|
1097
|
+
UPB_INLINE cel_expr_Expr_CreateStruct_Entry** cel_expr_Expr_CreateStruct_mutable_entries(cel_expr_Expr_CreateStruct* msg,
|
|
1098
|
+
size_t* size) {
|
|
1099
|
+
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)};
|
|
993
1100
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr__CreateStruct__Entry_msg_init);
|
|
994
1101
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
995
1102
|
if (arr) {
|
|
@@ -1000,13 +1107,18 @@ UPB_INLINE cel_expr_Expr_CreateStruct_Entry** cel_expr_Expr_CreateStruct_mutable
|
|
|
1000
1107
|
return NULL;
|
|
1001
1108
|
}
|
|
1002
1109
|
}
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1110
|
+
|
|
1111
|
+
UPB_INLINE cel_expr_Expr_CreateStruct_Entry** cel_expr_Expr_CreateStruct_resize_entries(cel_expr_Expr_CreateStruct* msg,
|
|
1112
|
+
size_t size,
|
|
1113
|
+
upb_Arena* arena) {
|
|
1114
|
+
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)};
|
|
1115
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr__CreateStruct__Entry_msg_init);
|
|
1116
|
+
return (cel_expr_Expr_CreateStruct_Entry**)upb_Message_ResizeArrayUninitialized(
|
|
1117
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
1007
1118
|
}
|
|
1008
|
-
UPB_INLINE struct cel_expr_Expr_CreateStruct_Entry* cel_expr_Expr_CreateStruct_add_entries(
|
|
1009
|
-
|
|
1119
|
+
UPB_INLINE struct cel_expr_Expr_CreateStruct_Entry* cel_expr_Expr_CreateStruct_add_entries(
|
|
1120
|
+
cel_expr_Expr_CreateStruct* msg, upb_Arena* arena) {
|
|
1121
|
+
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)};
|
|
1010
1122
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr__CreateStruct__Entry_msg_init);
|
|
1011
1123
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
1012
1124
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -1014,7 +1126,8 @@ UPB_INLINE struct cel_expr_Expr_CreateStruct_Entry* cel_expr_Expr_CreateStruct_a
|
|
|
1014
1126
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
1015
1127
|
return NULL;
|
|
1016
1128
|
}
|
|
1017
|
-
struct cel_expr_Expr_CreateStruct_Entry* sub =
|
|
1129
|
+
struct cel_expr_Expr_CreateStruct_Entry* sub =
|
|
1130
|
+
(struct cel_expr_Expr_CreateStruct_Entry*)_upb_Message_New(&cel__expr__Expr__CreateStruct__Entry_msg_init, arena);
|
|
1018
1131
|
if (!arr || !sub) return NULL;
|
|
1019
1132
|
UPB_PRIVATE(_upb_Array_Set)
|
|
1020
1133
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
@@ -1022,37 +1135,39 @@ UPB_INLINE struct cel_expr_Expr_CreateStruct_Entry* cel_expr_Expr_CreateStruct_a
|
|
|
1022
1135
|
}
|
|
1023
1136
|
|
|
1024
1137
|
/* cel.expr.Expr.CreateStruct.Entry */
|
|
1025
|
-
|
|
1026
1138
|
UPB_INLINE cel_expr_Expr_CreateStruct_Entry* cel_expr_Expr_CreateStruct_Entry_new(upb_Arena* arena) {
|
|
1027
1139
|
return (cel_expr_Expr_CreateStruct_Entry*)_upb_Message_New(&cel__expr__Expr__CreateStruct__Entry_msg_init, arena);
|
|
1028
1140
|
}
|
|
1029
|
-
UPB_INLINE cel_expr_Expr_CreateStruct_Entry* cel_expr_Expr_CreateStruct_Entry_parse(const char* buf, size_t size,
|
|
1141
|
+
UPB_INLINE cel_expr_Expr_CreateStruct_Entry* cel_expr_Expr_CreateStruct_Entry_parse(const char* buf, size_t size,
|
|
1142
|
+
upb_Arena* arena) {
|
|
1030
1143
|
cel_expr_Expr_CreateStruct_Entry* ret = cel_expr_Expr_CreateStruct_Entry_new(arena);
|
|
1031
1144
|
if (!ret) return NULL;
|
|
1032
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__CreateStruct__Entry_msg_init, NULL, 0,
|
|
1033
|
-
|
|
1145
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__CreateStruct__Entry_msg_init, NULL, 0,
|
|
1146
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1034
1147
|
return NULL;
|
|
1035
1148
|
}
|
|
1036
1149
|
return ret;
|
|
1037
1150
|
}
|
|
1038
|
-
UPB_INLINE cel_expr_Expr_CreateStruct_Entry* cel_expr_Expr_CreateStruct_Entry_parse_ex(
|
|
1039
|
-
|
|
1040
|
-
|
|
1151
|
+
UPB_INLINE cel_expr_Expr_CreateStruct_Entry* cel_expr_Expr_CreateStruct_Entry_parse_ex(
|
|
1152
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1153
|
+
int options, upb_Arena* arena) {
|
|
1041
1154
|
cel_expr_Expr_CreateStruct_Entry* ret = cel_expr_Expr_CreateStruct_Entry_new(arena);
|
|
1042
1155
|
if (!ret) return NULL;
|
|
1043
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__CreateStruct__Entry_msg_init, extreg,
|
|
1044
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1156
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__CreateStruct__Entry_msg_init, extreg,
|
|
1157
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1045
1158
|
return NULL;
|
|
1046
1159
|
}
|
|
1047
1160
|
return ret;
|
|
1048
1161
|
}
|
|
1049
|
-
UPB_INLINE char* cel_expr_Expr_CreateStruct_Entry_serialize(const cel_expr_Expr_CreateStruct_Entry* msg,
|
|
1162
|
+
UPB_INLINE char* cel_expr_Expr_CreateStruct_Entry_serialize(const cel_expr_Expr_CreateStruct_Entry* msg,
|
|
1163
|
+
upb_Arena* arena, size_t* len) {
|
|
1050
1164
|
char* ptr;
|
|
1051
1165
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Expr__CreateStruct__Entry_msg_init, 0, arena, &ptr, len);
|
|
1052
1166
|
return ptr;
|
|
1053
1167
|
}
|
|
1054
|
-
UPB_INLINE char* cel_expr_Expr_CreateStruct_Entry_serialize_ex(const cel_expr_Expr_CreateStruct_Entry* msg,
|
|
1055
|
-
|
|
1168
|
+
UPB_INLINE char* cel_expr_Expr_CreateStruct_Entry_serialize_ex(const cel_expr_Expr_CreateStruct_Entry* msg,
|
|
1169
|
+
int options, upb_Arena* arena,
|
|
1170
|
+
size_t* len) {
|
|
1056
1171
|
char* ptr;
|
|
1057
1172
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Expr__CreateStruct__Entry_msg_init, options, arena, &ptr, len);
|
|
1058
1173
|
return ptr;
|
|
@@ -1062,7 +1177,9 @@ typedef enum {
|
|
|
1062
1177
|
cel_expr_Expr_CreateStruct_Entry_key_kind_map_key = 3,
|
|
1063
1178
|
cel_expr_Expr_CreateStruct_Entry_key_kind_NOT_SET = 0
|
|
1064
1179
|
} cel_expr_Expr_CreateStruct_Entry_key_kind_oneofcases;
|
|
1065
|
-
|
|
1180
|
+
|
|
1181
|
+
UPB_INLINE cel_expr_Expr_CreateStruct_Entry_key_kind_oneofcases
|
|
1182
|
+
cel_expr_Expr_CreateStruct_Entry_key_kind_case(const cel_expr_Expr_CreateStruct_Entry* msg) {
|
|
1066
1183
|
const upb_MiniTableField field = {2, UPB_SIZE(20, 16), UPB_SIZE(-17, -13), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1067
1184
|
return (cel_expr_Expr_CreateStruct_Entry_key_kind_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
1068
1185
|
UPB_UPCAST(msg), &field);
|
|
@@ -1100,37 +1217,37 @@ UPB_INLINE bool cel_expr_Expr_CreateStruct_Entry_has_field_key(const cel_expr_Ex
|
|
|
1100
1217
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1101
1218
|
}
|
|
1102
1219
|
UPB_INLINE void cel_expr_Expr_CreateStruct_Entry_clear_map_key(cel_expr_Expr_CreateStruct_Entry* msg) {
|
|
1103
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 16), UPB_SIZE(-17, -13),
|
|
1220
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 16), UPB_SIZE(-17, -13), UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1104
1221
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1105
1222
|
}
|
|
1106
1223
|
UPB_INLINE const cel_expr_Expr* cel_expr_Expr_CreateStruct_Entry_map_key(const cel_expr_Expr_CreateStruct_Entry* msg) {
|
|
1107
1224
|
const cel_expr_Expr* default_val = NULL;
|
|
1108
1225
|
const cel_expr_Expr* ret;
|
|
1109
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 16), UPB_SIZE(-17, -13),
|
|
1226
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 16), UPB_SIZE(-17, -13), UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1110
1227
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1111
1228
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1112
1229
|
&default_val, &ret);
|
|
1113
1230
|
return ret;
|
|
1114
1231
|
}
|
|
1115
1232
|
UPB_INLINE bool cel_expr_Expr_CreateStruct_Entry_has_map_key(const cel_expr_Expr_CreateStruct_Entry* msg) {
|
|
1116
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 16), UPB_SIZE(-17, -13),
|
|
1233
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 16), UPB_SIZE(-17, -13), UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1117
1234
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1118
1235
|
}
|
|
1119
1236
|
UPB_INLINE void cel_expr_Expr_CreateStruct_Entry_clear_value(cel_expr_Expr_CreateStruct_Entry* msg) {
|
|
1120
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 64,
|
|
1237
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 64, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1121
1238
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1122
1239
|
}
|
|
1123
1240
|
UPB_INLINE const cel_expr_Expr* cel_expr_Expr_CreateStruct_Entry_value(const cel_expr_Expr_CreateStruct_Entry* msg) {
|
|
1124
1241
|
const cel_expr_Expr* default_val = NULL;
|
|
1125
1242
|
const cel_expr_Expr* ret;
|
|
1126
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 64,
|
|
1243
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 64, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1127
1244
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1128
1245
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1129
1246
|
&default_val, &ret);
|
|
1130
1247
|
return ret;
|
|
1131
1248
|
}
|
|
1132
1249
|
UPB_INLINE bool cel_expr_Expr_CreateStruct_Entry_has_value(const cel_expr_Expr_CreateStruct_Entry* msg) {
|
|
1133
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 64,
|
|
1250
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 64, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1134
1251
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1135
1252
|
}
|
|
1136
1253
|
UPB_INLINE void cel_expr_Expr_CreateStruct_Entry_clear_optional_entry(cel_expr_Expr_CreateStruct_Entry* msg) {
|
|
@@ -1146,20 +1263,21 @@ UPB_INLINE bool cel_expr_Expr_CreateStruct_Entry_optional_entry(const cel_expr_E
|
|
|
1146
1263
|
return ret;
|
|
1147
1264
|
}
|
|
1148
1265
|
|
|
1149
|
-
UPB_INLINE void cel_expr_Expr_CreateStruct_Entry_set_id(cel_expr_Expr_CreateStruct_Entry
|
|
1266
|
+
UPB_INLINE void cel_expr_Expr_CreateStruct_Entry_set_id(cel_expr_Expr_CreateStruct_Entry* msg, int64_t value) {
|
|
1150
1267
|
const upb_MiniTableField field = {1, 32, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
|
1151
|
-
upb_Message_SetBaseField((upb_Message
|
|
1268
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1152
1269
|
}
|
|
1153
|
-
UPB_INLINE void cel_expr_Expr_CreateStruct_Entry_set_field_key(cel_expr_Expr_CreateStruct_Entry
|
|
1270
|
+
UPB_INLINE void cel_expr_Expr_CreateStruct_Entry_set_field_key(cel_expr_Expr_CreateStruct_Entry* msg, upb_StringView value) {
|
|
1154
1271
|
const upb_MiniTableField field = {2, UPB_SIZE(20, 16), UPB_SIZE(-17, -13), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1155
|
-
upb_Message_SetBaseField((upb_Message
|
|
1272
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1156
1273
|
}
|
|
1157
|
-
UPB_INLINE void cel_expr_Expr_CreateStruct_Entry_set_map_key(cel_expr_Expr_CreateStruct_Entry
|
|
1158
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 16), UPB_SIZE(-17, -13),
|
|
1274
|
+
UPB_INLINE void cel_expr_Expr_CreateStruct_Entry_set_map_key(cel_expr_Expr_CreateStruct_Entry* msg, cel_expr_Expr* value) {
|
|
1275
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 16), UPB_SIZE(-17, -13), UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1159
1276
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1160
|
-
upb_Message_SetBaseField((upb_Message
|
|
1277
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1161
1278
|
}
|
|
1162
|
-
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_CreateStruct_Entry_mutable_map_key(
|
|
1279
|
+
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_CreateStruct_Entry_mutable_map_key(
|
|
1280
|
+
cel_expr_Expr_CreateStruct_Entry* msg, upb_Arena* arena) {
|
|
1163
1281
|
struct cel_expr_Expr* sub = (struct cel_expr_Expr*)cel_expr_Expr_CreateStruct_Entry_map_key(msg);
|
|
1164
1282
|
if (sub == NULL) {
|
|
1165
1283
|
sub = (struct cel_expr_Expr*)_upb_Message_New(&cel__expr__Expr_msg_init, arena);
|
|
@@ -1167,12 +1285,13 @@ UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_CreateStruct_Entry_mutable_map_ke
|
|
|
1167
1285
|
}
|
|
1168
1286
|
return sub;
|
|
1169
1287
|
}
|
|
1170
|
-
UPB_INLINE void cel_expr_Expr_CreateStruct_Entry_set_value(cel_expr_Expr_CreateStruct_Entry
|
|
1171
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 64,
|
|
1288
|
+
UPB_INLINE void cel_expr_Expr_CreateStruct_Entry_set_value(cel_expr_Expr_CreateStruct_Entry* msg, cel_expr_Expr* value) {
|
|
1289
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 64, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1172
1290
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1173
|
-
upb_Message_SetBaseField((upb_Message
|
|
1291
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1174
1292
|
}
|
|
1175
|
-
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_CreateStruct_Entry_mutable_value(
|
|
1293
|
+
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_CreateStruct_Entry_mutable_value(
|
|
1294
|
+
cel_expr_Expr_CreateStruct_Entry* msg, upb_Arena* arena) {
|
|
1176
1295
|
struct cel_expr_Expr* sub = (struct cel_expr_Expr*)cel_expr_Expr_CreateStruct_Entry_value(msg);
|
|
1177
1296
|
if (sub == NULL) {
|
|
1178
1297
|
sub = (struct cel_expr_Expr*)_upb_Message_New(&cel__expr__Expr_msg_init, arena);
|
|
@@ -1180,43 +1299,45 @@ UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_CreateStruct_Entry_mutable_value(
|
|
|
1180
1299
|
}
|
|
1181
1300
|
return sub;
|
|
1182
1301
|
}
|
|
1183
|
-
UPB_INLINE void cel_expr_Expr_CreateStruct_Entry_set_optional_entry(cel_expr_Expr_CreateStruct_Entry
|
|
1302
|
+
UPB_INLINE void cel_expr_Expr_CreateStruct_Entry_set_optional_entry(cel_expr_Expr_CreateStruct_Entry* msg, bool value) {
|
|
1184
1303
|
const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
|
1185
|
-
upb_Message_SetBaseField((upb_Message
|
|
1304
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1186
1305
|
}
|
|
1187
1306
|
|
|
1188
1307
|
/* cel.expr.Expr.Comprehension */
|
|
1189
|
-
|
|
1190
1308
|
UPB_INLINE cel_expr_Expr_Comprehension* cel_expr_Expr_Comprehension_new(upb_Arena* arena) {
|
|
1191
1309
|
return (cel_expr_Expr_Comprehension*)_upb_Message_New(&cel__expr__Expr__Comprehension_msg_init, arena);
|
|
1192
1310
|
}
|
|
1193
|
-
UPB_INLINE cel_expr_Expr_Comprehension* cel_expr_Expr_Comprehension_parse(const char* buf, size_t size,
|
|
1311
|
+
UPB_INLINE cel_expr_Expr_Comprehension* cel_expr_Expr_Comprehension_parse(const char* buf, size_t size,
|
|
1312
|
+
upb_Arena* arena) {
|
|
1194
1313
|
cel_expr_Expr_Comprehension* ret = cel_expr_Expr_Comprehension_new(arena);
|
|
1195
1314
|
if (!ret) return NULL;
|
|
1196
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__Comprehension_msg_init, NULL, 0,
|
|
1197
|
-
|
|
1315
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__Comprehension_msg_init, NULL, 0,
|
|
1316
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1198
1317
|
return NULL;
|
|
1199
1318
|
}
|
|
1200
1319
|
return ret;
|
|
1201
1320
|
}
|
|
1202
|
-
UPB_INLINE cel_expr_Expr_Comprehension* cel_expr_Expr_Comprehension_parse_ex(
|
|
1203
|
-
|
|
1204
|
-
|
|
1321
|
+
UPB_INLINE cel_expr_Expr_Comprehension* cel_expr_Expr_Comprehension_parse_ex(
|
|
1322
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1323
|
+
int options, upb_Arena* arena) {
|
|
1205
1324
|
cel_expr_Expr_Comprehension* ret = cel_expr_Expr_Comprehension_new(arena);
|
|
1206
1325
|
if (!ret) return NULL;
|
|
1207
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__Comprehension_msg_init, extreg,
|
|
1208
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1326
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Expr__Comprehension_msg_init, extreg,
|
|
1327
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1209
1328
|
return NULL;
|
|
1210
1329
|
}
|
|
1211
1330
|
return ret;
|
|
1212
1331
|
}
|
|
1213
|
-
UPB_INLINE char* cel_expr_Expr_Comprehension_serialize(const cel_expr_Expr_Comprehension* msg,
|
|
1332
|
+
UPB_INLINE char* cel_expr_Expr_Comprehension_serialize(const cel_expr_Expr_Comprehension* msg,
|
|
1333
|
+
upb_Arena* arena, size_t* len) {
|
|
1214
1334
|
char* ptr;
|
|
1215
1335
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Expr__Comprehension_msg_init, 0, arena, &ptr, len);
|
|
1216
1336
|
return ptr;
|
|
1217
1337
|
}
|
|
1218
|
-
UPB_INLINE char* cel_expr_Expr_Comprehension_serialize_ex(const cel_expr_Expr_Comprehension* msg,
|
|
1219
|
-
|
|
1338
|
+
UPB_INLINE char* cel_expr_Expr_Comprehension_serialize_ex(const cel_expr_Expr_Comprehension* msg,
|
|
1339
|
+
int options, upb_Arena* arena,
|
|
1340
|
+
size_t* len) {
|
|
1220
1341
|
char* ptr;
|
|
1221
1342
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Expr__Comprehension_msg_init, options, arena, &ptr, len);
|
|
1222
1343
|
return ptr;
|
|
@@ -1234,20 +1355,20 @@ UPB_INLINE upb_StringView cel_expr_Expr_Comprehension_iter_var(const cel_expr_Ex
|
|
|
1234
1355
|
return ret;
|
|
1235
1356
|
}
|
|
1236
1357
|
UPB_INLINE void cel_expr_Expr_Comprehension_clear_iter_range(cel_expr_Expr_Comprehension* msg) {
|
|
1237
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 64), 64,
|
|
1358
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 64), 64, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1238
1359
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1239
1360
|
}
|
|
1240
1361
|
UPB_INLINE const cel_expr_Expr* cel_expr_Expr_Comprehension_iter_range(const cel_expr_Expr_Comprehension* msg) {
|
|
1241
1362
|
const cel_expr_Expr* default_val = NULL;
|
|
1242
1363
|
const cel_expr_Expr* ret;
|
|
1243
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 64), 64,
|
|
1364
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 64), 64, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1244
1365
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1245
1366
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1246
1367
|
&default_val, &ret);
|
|
1247
1368
|
return ret;
|
|
1248
1369
|
}
|
|
1249
1370
|
UPB_INLINE bool cel_expr_Expr_Comprehension_has_iter_range(const cel_expr_Expr_Comprehension* msg) {
|
|
1250
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 64), 64,
|
|
1371
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 64), 64, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1251
1372
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1252
1373
|
}
|
|
1253
1374
|
UPB_INLINE void cel_expr_Expr_Comprehension_clear_accu_var(cel_expr_Expr_Comprehension* msg) {
|
|
@@ -1263,71 +1384,71 @@ UPB_INLINE upb_StringView cel_expr_Expr_Comprehension_accu_var(const cel_expr_Ex
|
|
|
1263
1384
|
return ret;
|
|
1264
1385
|
}
|
|
1265
1386
|
UPB_INLINE void cel_expr_Expr_Comprehension_clear_accu_init(cel_expr_Expr_Comprehension* msg) {
|
|
1266
|
-
const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 65,
|
|
1387
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1267
1388
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1268
1389
|
}
|
|
1269
1390
|
UPB_INLINE const cel_expr_Expr* cel_expr_Expr_Comprehension_accu_init(const cel_expr_Expr_Comprehension* msg) {
|
|
1270
1391
|
const cel_expr_Expr* default_val = NULL;
|
|
1271
1392
|
const cel_expr_Expr* ret;
|
|
1272
|
-
const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 65,
|
|
1393
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1273
1394
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1274
1395
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1275
1396
|
&default_val, &ret);
|
|
1276
1397
|
return ret;
|
|
1277
1398
|
}
|
|
1278
1399
|
UPB_INLINE bool cel_expr_Expr_Comprehension_has_accu_init(const cel_expr_Expr_Comprehension* msg) {
|
|
1279
|
-
const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 65,
|
|
1400
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1280
1401
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1281
1402
|
}
|
|
1282
1403
|
UPB_INLINE void cel_expr_Expr_Comprehension_clear_loop_condition(cel_expr_Expr_Comprehension* msg) {
|
|
1283
|
-
const upb_MiniTableField field = {5, UPB_SIZE(20, 80), 66,
|
|
1404
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 80), 66, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1284
1405
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1285
1406
|
}
|
|
1286
1407
|
UPB_INLINE const cel_expr_Expr* cel_expr_Expr_Comprehension_loop_condition(const cel_expr_Expr_Comprehension* msg) {
|
|
1287
1408
|
const cel_expr_Expr* default_val = NULL;
|
|
1288
1409
|
const cel_expr_Expr* ret;
|
|
1289
|
-
const upb_MiniTableField field = {5, UPB_SIZE(20, 80), 66,
|
|
1410
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 80), 66, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1290
1411
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1291
1412
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1292
1413
|
&default_val, &ret);
|
|
1293
1414
|
return ret;
|
|
1294
1415
|
}
|
|
1295
1416
|
UPB_INLINE bool cel_expr_Expr_Comprehension_has_loop_condition(const cel_expr_Expr_Comprehension* msg) {
|
|
1296
|
-
const upb_MiniTableField field = {5, UPB_SIZE(20, 80), 66,
|
|
1417
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 80), 66, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1297
1418
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1298
1419
|
}
|
|
1299
1420
|
UPB_INLINE void cel_expr_Expr_Comprehension_clear_loop_step(cel_expr_Expr_Comprehension* msg) {
|
|
1300
|
-
const upb_MiniTableField field = {6, UPB_SIZE(24, 88), 67,
|
|
1421
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 88), 67, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1301
1422
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1302
1423
|
}
|
|
1303
1424
|
UPB_INLINE const cel_expr_Expr* cel_expr_Expr_Comprehension_loop_step(const cel_expr_Expr_Comprehension* msg) {
|
|
1304
1425
|
const cel_expr_Expr* default_val = NULL;
|
|
1305
1426
|
const cel_expr_Expr* ret;
|
|
1306
|
-
const upb_MiniTableField field = {6, UPB_SIZE(24, 88), 67,
|
|
1427
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 88), 67, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1307
1428
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1308
1429
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1309
1430
|
&default_val, &ret);
|
|
1310
1431
|
return ret;
|
|
1311
1432
|
}
|
|
1312
1433
|
UPB_INLINE bool cel_expr_Expr_Comprehension_has_loop_step(const cel_expr_Expr_Comprehension* msg) {
|
|
1313
|
-
const upb_MiniTableField field = {6, UPB_SIZE(24, 88), 67,
|
|
1434
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 88), 67, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1314
1435
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1315
1436
|
}
|
|
1316
1437
|
UPB_INLINE void cel_expr_Expr_Comprehension_clear_result(cel_expr_Expr_Comprehension* msg) {
|
|
1317
|
-
const upb_MiniTableField field = {7, UPB_SIZE(28, 96), 68,
|
|
1438
|
+
const upb_MiniTableField field = {7, UPB_SIZE(28, 96), 68, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1318
1439
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1319
1440
|
}
|
|
1320
1441
|
UPB_INLINE const cel_expr_Expr* cel_expr_Expr_Comprehension_result(const cel_expr_Expr_Comprehension* msg) {
|
|
1321
1442
|
const cel_expr_Expr* default_val = NULL;
|
|
1322
1443
|
const cel_expr_Expr* ret;
|
|
1323
|
-
const upb_MiniTableField field = {7, UPB_SIZE(28, 96), 68,
|
|
1444
|
+
const upb_MiniTableField field = {7, UPB_SIZE(28, 96), 68, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1324
1445
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1325
1446
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1326
1447
|
&default_val, &ret);
|
|
1327
1448
|
return ret;
|
|
1328
1449
|
}
|
|
1329
1450
|
UPB_INLINE bool cel_expr_Expr_Comprehension_has_result(const cel_expr_Expr_Comprehension* msg) {
|
|
1330
|
-
const upb_MiniTableField field = {7, UPB_SIZE(28, 96), 68,
|
|
1451
|
+
const upb_MiniTableField field = {7, UPB_SIZE(28, 96), 68, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1331
1452
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1332
1453
|
}
|
|
1333
1454
|
UPB_INLINE void cel_expr_Expr_Comprehension_clear_iter_var2(cel_expr_Expr_Comprehension* msg) {
|
|
@@ -1343,16 +1464,17 @@ UPB_INLINE upb_StringView cel_expr_Expr_Comprehension_iter_var2(const cel_expr_E
|
|
|
1343
1464
|
return ret;
|
|
1344
1465
|
}
|
|
1345
1466
|
|
|
1346
|
-
UPB_INLINE void cel_expr_Expr_Comprehension_set_iter_var(cel_expr_Expr_Comprehension
|
|
1467
|
+
UPB_INLINE void cel_expr_Expr_Comprehension_set_iter_var(cel_expr_Expr_Comprehension* msg, upb_StringView value) {
|
|
1347
1468
|
const upb_MiniTableField field = {1, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1348
|
-
upb_Message_SetBaseField((upb_Message
|
|
1469
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1349
1470
|
}
|
|
1350
|
-
UPB_INLINE void cel_expr_Expr_Comprehension_set_iter_range(cel_expr_Expr_Comprehension
|
|
1351
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 64), 64,
|
|
1471
|
+
UPB_INLINE void cel_expr_Expr_Comprehension_set_iter_range(cel_expr_Expr_Comprehension* msg, cel_expr_Expr* value) {
|
|
1472
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 64), 64, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1352
1473
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1353
|
-
upb_Message_SetBaseField((upb_Message
|
|
1474
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1354
1475
|
}
|
|
1355
|
-
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Comprehension_mutable_iter_range(
|
|
1476
|
+
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Comprehension_mutable_iter_range(
|
|
1477
|
+
cel_expr_Expr_Comprehension* msg, upb_Arena* arena) {
|
|
1356
1478
|
struct cel_expr_Expr* sub = (struct cel_expr_Expr*)cel_expr_Expr_Comprehension_iter_range(msg);
|
|
1357
1479
|
if (sub == NULL) {
|
|
1358
1480
|
sub = (struct cel_expr_Expr*)_upb_Message_New(&cel__expr__Expr_msg_init, arena);
|
|
@@ -1360,16 +1482,17 @@ UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Comprehension_mutable_iter_range(
|
|
|
1360
1482
|
}
|
|
1361
1483
|
return sub;
|
|
1362
1484
|
}
|
|
1363
|
-
UPB_INLINE void cel_expr_Expr_Comprehension_set_accu_var(cel_expr_Expr_Comprehension
|
|
1485
|
+
UPB_INLINE void cel_expr_Expr_Comprehension_set_accu_var(cel_expr_Expr_Comprehension* msg, upb_StringView value) {
|
|
1364
1486
|
const upb_MiniTableField field = {3, UPB_SIZE(40, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1365
|
-
upb_Message_SetBaseField((upb_Message
|
|
1487
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1366
1488
|
}
|
|
1367
|
-
UPB_INLINE void cel_expr_Expr_Comprehension_set_accu_init(cel_expr_Expr_Comprehension
|
|
1368
|
-
const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 65,
|
|
1489
|
+
UPB_INLINE void cel_expr_Expr_Comprehension_set_accu_init(cel_expr_Expr_Comprehension* msg, cel_expr_Expr* value) {
|
|
1490
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1369
1491
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1370
|
-
upb_Message_SetBaseField((upb_Message
|
|
1492
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1371
1493
|
}
|
|
1372
|
-
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Comprehension_mutable_accu_init(
|
|
1494
|
+
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Comprehension_mutable_accu_init(
|
|
1495
|
+
cel_expr_Expr_Comprehension* msg, upb_Arena* arena) {
|
|
1373
1496
|
struct cel_expr_Expr* sub = (struct cel_expr_Expr*)cel_expr_Expr_Comprehension_accu_init(msg);
|
|
1374
1497
|
if (sub == NULL) {
|
|
1375
1498
|
sub = (struct cel_expr_Expr*)_upb_Message_New(&cel__expr__Expr_msg_init, arena);
|
|
@@ -1377,12 +1500,13 @@ UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Comprehension_mutable_accu_init(c
|
|
|
1377
1500
|
}
|
|
1378
1501
|
return sub;
|
|
1379
1502
|
}
|
|
1380
|
-
UPB_INLINE void cel_expr_Expr_Comprehension_set_loop_condition(cel_expr_Expr_Comprehension
|
|
1381
|
-
const upb_MiniTableField field = {5, UPB_SIZE(20, 80), 66,
|
|
1503
|
+
UPB_INLINE void cel_expr_Expr_Comprehension_set_loop_condition(cel_expr_Expr_Comprehension* msg, cel_expr_Expr* value) {
|
|
1504
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 80), 66, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1382
1505
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1383
|
-
upb_Message_SetBaseField((upb_Message
|
|
1506
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1384
1507
|
}
|
|
1385
|
-
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Comprehension_mutable_loop_condition(
|
|
1508
|
+
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Comprehension_mutable_loop_condition(
|
|
1509
|
+
cel_expr_Expr_Comprehension* msg, upb_Arena* arena) {
|
|
1386
1510
|
struct cel_expr_Expr* sub = (struct cel_expr_Expr*)cel_expr_Expr_Comprehension_loop_condition(msg);
|
|
1387
1511
|
if (sub == NULL) {
|
|
1388
1512
|
sub = (struct cel_expr_Expr*)_upb_Message_New(&cel__expr__Expr_msg_init, arena);
|
|
@@ -1390,12 +1514,13 @@ UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Comprehension_mutable_loop_condit
|
|
|
1390
1514
|
}
|
|
1391
1515
|
return sub;
|
|
1392
1516
|
}
|
|
1393
|
-
UPB_INLINE void cel_expr_Expr_Comprehension_set_loop_step(cel_expr_Expr_Comprehension
|
|
1394
|
-
const upb_MiniTableField field = {6, UPB_SIZE(24, 88), 67,
|
|
1517
|
+
UPB_INLINE void cel_expr_Expr_Comprehension_set_loop_step(cel_expr_Expr_Comprehension* msg, cel_expr_Expr* value) {
|
|
1518
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 88), 67, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1395
1519
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1396
|
-
upb_Message_SetBaseField((upb_Message
|
|
1520
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1397
1521
|
}
|
|
1398
|
-
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Comprehension_mutable_loop_step(
|
|
1522
|
+
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Comprehension_mutable_loop_step(
|
|
1523
|
+
cel_expr_Expr_Comprehension* msg, upb_Arena* arena) {
|
|
1399
1524
|
struct cel_expr_Expr* sub = (struct cel_expr_Expr*)cel_expr_Expr_Comprehension_loop_step(msg);
|
|
1400
1525
|
if (sub == NULL) {
|
|
1401
1526
|
sub = (struct cel_expr_Expr*)_upb_Message_New(&cel__expr__Expr_msg_init, arena);
|
|
@@ -1403,12 +1528,13 @@ UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Comprehension_mutable_loop_step(c
|
|
|
1403
1528
|
}
|
|
1404
1529
|
return sub;
|
|
1405
1530
|
}
|
|
1406
|
-
UPB_INLINE void cel_expr_Expr_Comprehension_set_result(cel_expr_Expr_Comprehension
|
|
1407
|
-
const upb_MiniTableField field = {7, UPB_SIZE(28, 96), 68,
|
|
1531
|
+
UPB_INLINE void cel_expr_Expr_Comprehension_set_result(cel_expr_Expr_Comprehension* msg, cel_expr_Expr* value) {
|
|
1532
|
+
const upb_MiniTableField field = {7, UPB_SIZE(28, 96), 68, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1408
1533
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1409
|
-
upb_Message_SetBaseField((upb_Message
|
|
1534
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1410
1535
|
}
|
|
1411
|
-
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Comprehension_mutable_result(
|
|
1536
|
+
UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Comprehension_mutable_result(
|
|
1537
|
+
cel_expr_Expr_Comprehension* msg, upb_Arena* arena) {
|
|
1412
1538
|
struct cel_expr_Expr* sub = (struct cel_expr_Expr*)cel_expr_Expr_Comprehension_result(msg);
|
|
1413
1539
|
if (sub == NULL) {
|
|
1414
1540
|
sub = (struct cel_expr_Expr*)_upb_Message_New(&cel__expr__Expr_msg_init, arena);
|
|
@@ -1416,43 +1542,45 @@ UPB_INLINE struct cel_expr_Expr* cel_expr_Expr_Comprehension_mutable_result(cel_
|
|
|
1416
1542
|
}
|
|
1417
1543
|
return sub;
|
|
1418
1544
|
}
|
|
1419
|
-
UPB_INLINE void cel_expr_Expr_Comprehension_set_iter_var2(cel_expr_Expr_Comprehension
|
|
1545
|
+
UPB_INLINE void cel_expr_Expr_Comprehension_set_iter_var2(cel_expr_Expr_Comprehension* msg, upb_StringView value) {
|
|
1420
1546
|
const upb_MiniTableField field = {8, 48, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1421
|
-
upb_Message_SetBaseField((upb_Message
|
|
1547
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1422
1548
|
}
|
|
1423
1549
|
|
|
1424
1550
|
/* cel.expr.Constant */
|
|
1425
|
-
|
|
1426
1551
|
UPB_INLINE cel_expr_Constant* cel_expr_Constant_new(upb_Arena* arena) {
|
|
1427
1552
|
return (cel_expr_Constant*)_upb_Message_New(&cel__expr__Constant_msg_init, arena);
|
|
1428
1553
|
}
|
|
1429
|
-
UPB_INLINE cel_expr_Constant* cel_expr_Constant_parse(const char* buf, size_t size,
|
|
1554
|
+
UPB_INLINE cel_expr_Constant* cel_expr_Constant_parse(const char* buf, size_t size,
|
|
1555
|
+
upb_Arena* arena) {
|
|
1430
1556
|
cel_expr_Constant* ret = cel_expr_Constant_new(arena);
|
|
1431
1557
|
if (!ret) return NULL;
|
|
1432
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Constant_msg_init, NULL, 0,
|
|
1433
|
-
|
|
1558
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Constant_msg_init, NULL, 0,
|
|
1559
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1434
1560
|
return NULL;
|
|
1435
1561
|
}
|
|
1436
1562
|
return ret;
|
|
1437
1563
|
}
|
|
1438
|
-
UPB_INLINE cel_expr_Constant* cel_expr_Constant_parse_ex(
|
|
1439
|
-
|
|
1440
|
-
|
|
1564
|
+
UPB_INLINE cel_expr_Constant* cel_expr_Constant_parse_ex(
|
|
1565
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1566
|
+
int options, upb_Arena* arena) {
|
|
1441
1567
|
cel_expr_Constant* ret = cel_expr_Constant_new(arena);
|
|
1442
1568
|
if (!ret) return NULL;
|
|
1443
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Constant_msg_init, extreg,
|
|
1444
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1569
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__Constant_msg_init, extreg,
|
|
1570
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1445
1571
|
return NULL;
|
|
1446
1572
|
}
|
|
1447
1573
|
return ret;
|
|
1448
1574
|
}
|
|
1449
|
-
UPB_INLINE char* cel_expr_Constant_serialize(const cel_expr_Constant* msg,
|
|
1575
|
+
UPB_INLINE char* cel_expr_Constant_serialize(const cel_expr_Constant* msg,
|
|
1576
|
+
upb_Arena* arena, size_t* len) {
|
|
1450
1577
|
char* ptr;
|
|
1451
1578
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Constant_msg_init, 0, arena, &ptr, len);
|
|
1452
1579
|
return ptr;
|
|
1453
1580
|
}
|
|
1454
|
-
UPB_INLINE char* cel_expr_Constant_serialize_ex(const cel_expr_Constant* msg,
|
|
1455
|
-
|
|
1581
|
+
UPB_INLINE char* cel_expr_Constant_serialize_ex(const cel_expr_Constant* msg,
|
|
1582
|
+
int options, upb_Arena* arena,
|
|
1583
|
+
size_t* len) {
|
|
1456
1584
|
char* ptr;
|
|
1457
1585
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__Constant_msg_init, options, arena, &ptr, len);
|
|
1458
1586
|
return ptr;
|
|
@@ -1469,7 +1597,9 @@ typedef enum {
|
|
|
1469
1597
|
cel_expr_Constant_constant_kind_timestamp_value = 9,
|
|
1470
1598
|
cel_expr_Constant_constant_kind_NOT_SET = 0
|
|
1471
1599
|
} cel_expr_Constant_constant_kind_oneofcases;
|
|
1472
|
-
|
|
1600
|
+
|
|
1601
|
+
UPB_INLINE cel_expr_Constant_constant_kind_oneofcases
|
|
1602
|
+
cel_expr_Constant_constant_kind_case(const cel_expr_Constant* msg) {
|
|
1473
1603
|
const upb_MiniTableField field = {1, 16, -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
1474
1604
|
return (cel_expr_Constant_constant_kind_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
1475
1605
|
UPB_UPCAST(msg), &field);
|
|
@@ -1591,74 +1721,75 @@ UPB_INLINE bool cel_expr_Constant_has_bytes_value(const cel_expr_Constant* msg)
|
|
|
1591
1721
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1592
1722
|
}
|
|
1593
1723
|
UPB_INLINE void cel_expr_Constant_clear_duration_value(cel_expr_Constant* msg) {
|
|
1594
|
-
const upb_MiniTableField field = {8, 16, -9,
|
|
1724
|
+
const upb_MiniTableField field = {8, 16, -9, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1595
1725
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1596
1726
|
}
|
|
1597
1727
|
UPB_INLINE const struct google_protobuf_Duration* cel_expr_Constant_duration_value(const cel_expr_Constant* msg) {
|
|
1598
1728
|
const struct google_protobuf_Duration* default_val = NULL;
|
|
1599
1729
|
const struct google_protobuf_Duration* ret;
|
|
1600
|
-
const upb_MiniTableField field = {8, 16, -9,
|
|
1730
|
+
const upb_MiniTableField field = {8, 16, -9, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1601
1731
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Duration_msg_init);
|
|
1602
1732
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1603
1733
|
&default_val, &ret);
|
|
1604
1734
|
return ret;
|
|
1605
1735
|
}
|
|
1606
1736
|
UPB_INLINE bool cel_expr_Constant_has_duration_value(const cel_expr_Constant* msg) {
|
|
1607
|
-
const upb_MiniTableField field = {8, 16, -9,
|
|
1737
|
+
const upb_MiniTableField field = {8, 16, -9, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1608
1738
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1609
1739
|
}
|
|
1610
1740
|
UPB_INLINE void cel_expr_Constant_clear_timestamp_value(cel_expr_Constant* msg) {
|
|
1611
|
-
const upb_MiniTableField field = {9, 16, -9,
|
|
1741
|
+
const upb_MiniTableField field = {9, 16, -9, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1612
1742
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1613
1743
|
}
|
|
1614
1744
|
UPB_INLINE const struct google_protobuf_Timestamp* cel_expr_Constant_timestamp_value(const cel_expr_Constant* msg) {
|
|
1615
1745
|
const struct google_protobuf_Timestamp* default_val = NULL;
|
|
1616
1746
|
const struct google_protobuf_Timestamp* ret;
|
|
1617
|
-
const upb_MiniTableField field = {9, 16, -9,
|
|
1747
|
+
const upb_MiniTableField field = {9, 16, -9, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1618
1748
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Timestamp_msg_init);
|
|
1619
1749
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1620
1750
|
&default_val, &ret);
|
|
1621
1751
|
return ret;
|
|
1622
1752
|
}
|
|
1623
1753
|
UPB_INLINE bool cel_expr_Constant_has_timestamp_value(const cel_expr_Constant* msg) {
|
|
1624
|
-
const upb_MiniTableField field = {9, 16, -9,
|
|
1754
|
+
const upb_MiniTableField field = {9, 16, -9, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1625
1755
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1626
1756
|
}
|
|
1627
1757
|
|
|
1628
|
-
UPB_INLINE void cel_expr_Constant_set_null_value(cel_expr_Constant
|
|
1758
|
+
UPB_INLINE void cel_expr_Constant_set_null_value(cel_expr_Constant* msg, int32_t value) {
|
|
1629
1759
|
const upb_MiniTableField field = {1, 16, -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
1630
|
-
upb_Message_SetBaseField((upb_Message
|
|
1760
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1631
1761
|
}
|
|
1632
|
-
UPB_INLINE void cel_expr_Constant_set_bool_value(cel_expr_Constant
|
|
1762
|
+
UPB_INLINE void cel_expr_Constant_set_bool_value(cel_expr_Constant* msg, bool value) {
|
|
1633
1763
|
const upb_MiniTableField field = {2, 16, -9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
|
1634
|
-
upb_Message_SetBaseField((upb_Message
|
|
1764
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1635
1765
|
}
|
|
1636
|
-
UPB_INLINE void cel_expr_Constant_set_int64_value(cel_expr_Constant
|
|
1766
|
+
UPB_INLINE void cel_expr_Constant_set_int64_value(cel_expr_Constant* msg, int64_t value) {
|
|
1637
1767
|
const upb_MiniTableField field = {3, 16, -9, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
|
1638
|
-
upb_Message_SetBaseField((upb_Message
|
|
1768
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1639
1769
|
}
|
|
1640
|
-
UPB_INLINE void cel_expr_Constant_set_uint64_value(cel_expr_Constant
|
|
1770
|
+
UPB_INLINE void cel_expr_Constant_set_uint64_value(cel_expr_Constant* msg, uint64_t value) {
|
|
1641
1771
|
const upb_MiniTableField field = {4, 16, -9, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
|
1642
|
-
upb_Message_SetBaseField((upb_Message
|
|
1772
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1643
1773
|
}
|
|
1644
|
-
UPB_INLINE void cel_expr_Constant_set_double_value(cel_expr_Constant
|
|
1774
|
+
UPB_INLINE void cel_expr_Constant_set_double_value(cel_expr_Constant* msg, double value) {
|
|
1645
1775
|
const upb_MiniTableField field = {5, 16, -9, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
|
1646
|
-
upb_Message_SetBaseField((upb_Message
|
|
1776
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1647
1777
|
}
|
|
1648
|
-
UPB_INLINE void cel_expr_Constant_set_string_value(cel_expr_Constant
|
|
1778
|
+
UPB_INLINE void cel_expr_Constant_set_string_value(cel_expr_Constant* msg, upb_StringView value) {
|
|
1649
1779
|
const upb_MiniTableField field = {6, 16, -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1650
|
-
upb_Message_SetBaseField((upb_Message
|
|
1780
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1651
1781
|
}
|
|
1652
|
-
UPB_INLINE void cel_expr_Constant_set_bytes_value(cel_expr_Constant
|
|
1782
|
+
UPB_INLINE void cel_expr_Constant_set_bytes_value(cel_expr_Constant* msg, upb_StringView value) {
|
|
1653
1783
|
const upb_MiniTableField field = {7, 16, -9, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1654
|
-
upb_Message_SetBaseField((upb_Message
|
|
1784
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1655
1785
|
}
|
|
1656
|
-
UPB_INLINE void cel_expr_Constant_set_duration_value(cel_expr_Constant
|
|
1657
|
-
const upb_MiniTableField field = {8, 16, -9,
|
|
1786
|
+
UPB_INLINE void cel_expr_Constant_set_duration_value(cel_expr_Constant* msg, struct google_protobuf_Duration* value) {
|
|
1787
|
+
const upb_MiniTableField field = {8, 16, -9, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1658
1788
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Duration_msg_init);
|
|
1659
|
-
upb_Message_SetBaseField((upb_Message
|
|
1789
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1660
1790
|
}
|
|
1661
|
-
UPB_INLINE struct google_protobuf_Duration* cel_expr_Constant_mutable_duration_value(
|
|
1791
|
+
UPB_INLINE struct google_protobuf_Duration* cel_expr_Constant_mutable_duration_value(
|
|
1792
|
+
cel_expr_Constant* msg, upb_Arena* arena) {
|
|
1662
1793
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)cel_expr_Constant_duration_value(msg);
|
|
1663
1794
|
if (sub == NULL) {
|
|
1664
1795
|
sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena);
|
|
@@ -1666,12 +1797,13 @@ UPB_INLINE struct google_protobuf_Duration* cel_expr_Constant_mutable_duration_v
|
|
|
1666
1797
|
}
|
|
1667
1798
|
return sub;
|
|
1668
1799
|
}
|
|
1669
|
-
UPB_INLINE void cel_expr_Constant_set_timestamp_value(cel_expr_Constant
|
|
1670
|
-
const upb_MiniTableField field = {9, 16, -9,
|
|
1800
|
+
UPB_INLINE void cel_expr_Constant_set_timestamp_value(cel_expr_Constant* msg, struct google_protobuf_Timestamp* value) {
|
|
1801
|
+
const upb_MiniTableField field = {9, 16, -9, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1671
1802
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Timestamp_msg_init);
|
|
1672
|
-
upb_Message_SetBaseField((upb_Message
|
|
1803
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1673
1804
|
}
|
|
1674
|
-
UPB_INLINE struct google_protobuf_Timestamp* cel_expr_Constant_mutable_timestamp_value(
|
|
1805
|
+
UPB_INLINE struct google_protobuf_Timestamp* cel_expr_Constant_mutable_timestamp_value(
|
|
1806
|
+
cel_expr_Constant* msg, upb_Arena* arena) {
|
|
1675
1807
|
struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)cel_expr_Constant_timestamp_value(msg);
|
|
1676
1808
|
if (sub == NULL) {
|
|
1677
1809
|
sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena);
|
|
@@ -1681,37 +1813,39 @@ UPB_INLINE struct google_protobuf_Timestamp* cel_expr_Constant_mutable_timestamp
|
|
|
1681
1813
|
}
|
|
1682
1814
|
|
|
1683
1815
|
/* cel.expr.SourceInfo */
|
|
1684
|
-
|
|
1685
1816
|
UPB_INLINE cel_expr_SourceInfo* cel_expr_SourceInfo_new(upb_Arena* arena) {
|
|
1686
1817
|
return (cel_expr_SourceInfo*)_upb_Message_New(&cel__expr__SourceInfo_msg_init, arena);
|
|
1687
1818
|
}
|
|
1688
|
-
UPB_INLINE cel_expr_SourceInfo* cel_expr_SourceInfo_parse(const char* buf, size_t size,
|
|
1819
|
+
UPB_INLINE cel_expr_SourceInfo* cel_expr_SourceInfo_parse(const char* buf, size_t size,
|
|
1820
|
+
upb_Arena* arena) {
|
|
1689
1821
|
cel_expr_SourceInfo* ret = cel_expr_SourceInfo_new(arena);
|
|
1690
1822
|
if (!ret) return NULL;
|
|
1691
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__SourceInfo_msg_init, NULL, 0,
|
|
1692
|
-
|
|
1823
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__SourceInfo_msg_init, NULL, 0,
|
|
1824
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1693
1825
|
return NULL;
|
|
1694
1826
|
}
|
|
1695
1827
|
return ret;
|
|
1696
1828
|
}
|
|
1697
|
-
UPB_INLINE cel_expr_SourceInfo* cel_expr_SourceInfo_parse_ex(
|
|
1698
|
-
|
|
1699
|
-
|
|
1829
|
+
UPB_INLINE cel_expr_SourceInfo* cel_expr_SourceInfo_parse_ex(
|
|
1830
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1831
|
+
int options, upb_Arena* arena) {
|
|
1700
1832
|
cel_expr_SourceInfo* ret = cel_expr_SourceInfo_new(arena);
|
|
1701
1833
|
if (!ret) return NULL;
|
|
1702
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__SourceInfo_msg_init, extreg,
|
|
1703
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1834
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__SourceInfo_msg_init, extreg,
|
|
1835
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1704
1836
|
return NULL;
|
|
1705
1837
|
}
|
|
1706
1838
|
return ret;
|
|
1707
1839
|
}
|
|
1708
|
-
UPB_INLINE char* cel_expr_SourceInfo_serialize(const cel_expr_SourceInfo* msg,
|
|
1840
|
+
UPB_INLINE char* cel_expr_SourceInfo_serialize(const cel_expr_SourceInfo* msg,
|
|
1841
|
+
upb_Arena* arena, size_t* len) {
|
|
1709
1842
|
char* ptr;
|
|
1710
1843
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__SourceInfo_msg_init, 0, arena, &ptr, len);
|
|
1711
1844
|
return ptr;
|
|
1712
1845
|
}
|
|
1713
|
-
UPB_INLINE char* cel_expr_SourceInfo_serialize_ex(const cel_expr_SourceInfo* msg,
|
|
1714
|
-
|
|
1846
|
+
UPB_INLINE char* cel_expr_SourceInfo_serialize_ex(const cel_expr_SourceInfo* msg,
|
|
1847
|
+
int options, upb_Arena* arena,
|
|
1848
|
+
size_t* len) {
|
|
1715
1849
|
char* ptr;
|
|
1716
1850
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__SourceInfo_msg_init, options, arena, &ptr, len);
|
|
1717
1851
|
return ptr;
|
|
@@ -1744,7 +1878,8 @@ UPB_INLINE void cel_expr_SourceInfo_clear_line_offsets(cel_expr_SourceInfo* msg)
|
|
|
1744
1878
|
const upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1745
1879
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1746
1880
|
}
|
|
1747
|
-
UPB_INLINE int32_t const* cel_expr_SourceInfo_line_offsets(const cel_expr_SourceInfo* msg,
|
|
1881
|
+
UPB_INLINE int32_t const* cel_expr_SourceInfo_line_offsets(const cel_expr_SourceInfo* msg,
|
|
1882
|
+
size_t* size) {
|
|
1748
1883
|
const upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1749
1884
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1750
1885
|
if (arr) {
|
|
@@ -1755,7 +1890,10 @@ UPB_INLINE int32_t const* cel_expr_SourceInfo_line_offsets(const cel_expr_Source
|
|
|
1755
1890
|
return NULL;
|
|
1756
1891
|
}
|
|
1757
1892
|
}
|
|
1758
|
-
|
|
1893
|
+
|
|
1894
|
+
//
|
|
1895
|
+
UPB_INLINE const upb_Array* _cel_expr_SourceInfo_line_offsets_upb_array(
|
|
1896
|
+
const cel_expr_SourceInfo* msg, size_t* size) {
|
|
1759
1897
|
const upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1760
1898
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1761
1899
|
if (size) {
|
|
@@ -1763,7 +1901,9 @@ UPB_INLINE const upb_Array* _cel_expr_SourceInfo_line_offsets_upb_array(const ce
|
|
|
1763
1901
|
}
|
|
1764
1902
|
return arr;
|
|
1765
1903
|
}
|
|
1766
|
-
|
|
1904
|
+
|
|
1905
|
+
UPB_INLINE upb_Array* _cel_expr_SourceInfo_line_offsets_mutable_upb_array(
|
|
1906
|
+
cel_expr_SourceInfo* msg, size_t* size, upb_Arena* arena) {
|
|
1767
1907
|
const upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1768
1908
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
1769
1909
|
&field, arena);
|
|
@@ -1773,24 +1913,30 @@ UPB_INLINE upb_Array* _cel_expr_SourceInfo_line_offsets_mutable_upb_array(cel_ex
|
|
|
1773
1913
|
return arr;
|
|
1774
1914
|
}
|
|
1775
1915
|
UPB_INLINE void cel_expr_SourceInfo_clear_positions(cel_expr_SourceInfo* msg) {
|
|
1776
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0,
|
|
1916
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 9, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1777
1917
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1778
1918
|
}
|
|
1779
1919
|
UPB_INLINE size_t cel_expr_SourceInfo_positions_size(const cel_expr_SourceInfo* msg) {
|
|
1780
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0,
|
|
1920
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 9, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1921
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__PositionsEntry_msg_init);
|
|
1781
1922
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1782
1923
|
return map ? _upb_Map_Size(map) : 0;
|
|
1783
1924
|
}
|
|
1784
|
-
|
|
1785
|
-
|
|
1925
|
+
|
|
1926
|
+
UPB_INLINE bool cel_expr_SourceInfo_positions_get(const cel_expr_SourceInfo* msg,
|
|
1927
|
+
int64_t key, int32_t* val) {
|
|
1928
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 9, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1786
1929
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__PositionsEntry_msg_init);
|
|
1787
1930
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1788
1931
|
if (!map) return false;
|
|
1789
|
-
return _upb_Map_Get(map, &key, sizeof(
|
|
1932
|
+
return _upb_Map_Get(map, &key, sizeof(int64_t), val, sizeof(int32_t));
|
|
1790
1933
|
}
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1934
|
+
|
|
1935
|
+
UPB_INLINE bool cel_expr_SourceInfo_positions_next(const cel_expr_SourceInfo* msg,
|
|
1936
|
+
int64_t* key,
|
|
1937
|
+
int32_t* val,
|
|
1938
|
+
size_t* iter) {
|
|
1939
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 9, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1794
1940
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__PositionsEntry_msg_init);
|
|
1795
1941
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1796
1942
|
if (!map) return false;
|
|
@@ -1801,36 +1947,49 @@ UPB_INLINE bool cel_expr_SourceInfo_positions_next(const cel_expr_SourceInfo* ms
|
|
|
1801
1947
|
memcpy(val, &v, sizeof(*val));
|
|
1802
1948
|
return true;
|
|
1803
1949
|
}
|
|
1950
|
+
|
|
1951
|
+
// and ~ a upb_Map for mutable.
|
|
1952
|
+
//
|
|
1804
1953
|
UPB_INLINE const upb_Map* _cel_expr_SourceInfo_positions_upb_map(cel_expr_SourceInfo* msg) {
|
|
1805
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0,
|
|
1954
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 9, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1806
1955
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__PositionsEntry_msg_init);
|
|
1807
1956
|
return upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1808
1957
|
}
|
|
1809
|
-
|
|
1810
|
-
|
|
1958
|
+
|
|
1959
|
+
UPB_INLINE upb_Map* _cel_expr_SourceInfo_positions_mutable_upb_map(
|
|
1960
|
+
cel_expr_SourceInfo* msg, upb_Arena* a) {
|
|
1961
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 9, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1811
1962
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__PositionsEntry_msg_init);
|
|
1812
|
-
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
1963
|
+
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
1964
|
+
sizeof(int64_t), sizeof(int32_t), a);
|
|
1813
1965
|
}
|
|
1814
1966
|
UPB_INLINE void cel_expr_SourceInfo_clear_macro_calls(cel_expr_SourceInfo* msg) {
|
|
1815
|
-
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0,
|
|
1967
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1816
1968
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1817
1969
|
}
|
|
1818
1970
|
UPB_INLINE size_t cel_expr_SourceInfo_macro_calls_size(const cel_expr_SourceInfo* msg) {
|
|
1819
|
-
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0,
|
|
1971
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1972
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__MacroCallsEntry_msg_init);
|
|
1973
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1820
1974
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1821
1975
|
return map ? _upb_Map_Size(map) : 0;
|
|
1822
1976
|
}
|
|
1823
|
-
|
|
1824
|
-
|
|
1977
|
+
|
|
1978
|
+
UPB_INLINE bool cel_expr_SourceInfo_macro_calls_get(const cel_expr_SourceInfo* msg,
|
|
1979
|
+
int64_t key, cel_expr_Expr** val) {
|
|
1980
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1825
1981
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__MacroCallsEntry_msg_init);
|
|
1826
1982
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1827
1983
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1828
1984
|
if (!map) return false;
|
|
1829
|
-
return _upb_Map_Get(map, &key, sizeof(
|
|
1985
|
+
return _upb_Map_Get(map, &key, sizeof(int64_t), val, sizeof(cel_expr_Expr*));
|
|
1830
1986
|
}
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1987
|
+
|
|
1988
|
+
UPB_INLINE bool cel_expr_SourceInfo_macro_calls_next(const cel_expr_SourceInfo* msg,
|
|
1989
|
+
int64_t* key,
|
|
1990
|
+
const cel_expr_Expr** val,
|
|
1991
|
+
size_t* iter) {
|
|
1992
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1834
1993
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__MacroCallsEntry_msg_init);
|
|
1835
1994
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1836
1995
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
@@ -1842,24 +2001,31 @@ UPB_INLINE bool cel_expr_SourceInfo_macro_calls_next(const cel_expr_SourceInfo*
|
|
|
1842
2001
|
memcpy(val, &v, sizeof(*val));
|
|
1843
2002
|
return true;
|
|
1844
2003
|
}
|
|
2004
|
+
|
|
2005
|
+
// and ~ a upb_Map for mutable.
|
|
2006
|
+
//
|
|
1845
2007
|
UPB_INLINE const upb_Map* _cel_expr_SourceInfo_macro_calls_upb_map(cel_expr_SourceInfo* msg) {
|
|
1846
|
-
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0,
|
|
2008
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1847
2009
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__MacroCallsEntry_msg_init);
|
|
1848
2010
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1849
2011
|
return upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1850
2012
|
}
|
|
1851
|
-
|
|
1852
|
-
|
|
2013
|
+
|
|
2014
|
+
UPB_INLINE upb_Map* _cel_expr_SourceInfo_macro_calls_mutable_upb_map(
|
|
2015
|
+
cel_expr_SourceInfo* msg, upb_Arena* a) {
|
|
2016
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1853
2017
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__MacroCallsEntry_msg_init);
|
|
1854
2018
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1855
|
-
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
2019
|
+
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
2020
|
+
sizeof(int64_t), sizeof(cel_expr_Expr*), a);
|
|
1856
2021
|
}
|
|
1857
2022
|
UPB_INLINE void cel_expr_SourceInfo_clear_extensions(cel_expr_SourceInfo* msg) {
|
|
1858
|
-
const upb_MiniTableField field = {6, UPB_SIZE(20, 64), 0,
|
|
2023
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 64), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1859
2024
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1860
2025
|
}
|
|
1861
|
-
UPB_INLINE const cel_expr_SourceInfo_Extension* const* cel_expr_SourceInfo_extensions(const cel_expr_SourceInfo* msg,
|
|
1862
|
-
|
|
2026
|
+
UPB_INLINE const cel_expr_SourceInfo_Extension* const* cel_expr_SourceInfo_extensions(const cel_expr_SourceInfo* msg,
|
|
2027
|
+
size_t* size) {
|
|
2028
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 64), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1863
2029
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__Extension_msg_init);
|
|
1864
2030
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1865
2031
|
if (arr) {
|
|
@@ -1870,8 +2036,11 @@ UPB_INLINE const cel_expr_SourceInfo_Extension* const* cel_expr_SourceInfo_exten
|
|
|
1870
2036
|
return NULL;
|
|
1871
2037
|
}
|
|
1872
2038
|
}
|
|
1873
|
-
|
|
1874
|
-
|
|
2039
|
+
|
|
2040
|
+
//
|
|
2041
|
+
UPB_INLINE const upb_Array* _cel_expr_SourceInfo_extensions_upb_array(
|
|
2042
|
+
const cel_expr_SourceInfo* msg, size_t* size) {
|
|
2043
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 64), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1875
2044
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__Extension_msg_init);
|
|
1876
2045
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1877
2046
|
if (size) {
|
|
@@ -1879,8 +2048,10 @@ UPB_INLINE const upb_Array* _cel_expr_SourceInfo_extensions_upb_array(const cel_
|
|
|
1879
2048
|
}
|
|
1880
2049
|
return arr;
|
|
1881
2050
|
}
|
|
1882
|
-
|
|
1883
|
-
|
|
2051
|
+
|
|
2052
|
+
UPB_INLINE upb_Array* _cel_expr_SourceInfo_extensions_mutable_upb_array(
|
|
2053
|
+
cel_expr_SourceInfo* msg, size_t* size, upb_Arena* arena) {
|
|
2054
|
+
const upb_MiniTableField field = {6, UPB_SIZE(20, 64), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1884
2055
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__Extension_msg_init);
|
|
1885
2056
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
1886
2057
|
&field, arena);
|
|
@@ -1890,15 +2061,16 @@ UPB_INLINE upb_Array* _cel_expr_SourceInfo_extensions_mutable_upb_array(cel_expr
|
|
|
1890
2061
|
return arr;
|
|
1891
2062
|
}
|
|
1892
2063
|
|
|
1893
|
-
UPB_INLINE void cel_expr_SourceInfo_set_syntax_version(cel_expr_SourceInfo
|
|
2064
|
+
UPB_INLINE void cel_expr_SourceInfo_set_syntax_version(cel_expr_SourceInfo* msg, upb_StringView value) {
|
|
1894
2065
|
const upb_MiniTableField field = {1, UPB_SIZE(24, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1895
|
-
upb_Message_SetBaseField((upb_Message
|
|
2066
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1896
2067
|
}
|
|
1897
|
-
UPB_INLINE void cel_expr_SourceInfo_set_location(cel_expr_SourceInfo
|
|
2068
|
+
UPB_INLINE void cel_expr_SourceInfo_set_location(cel_expr_SourceInfo* msg, upb_StringView value) {
|
|
1898
2069
|
const upb_MiniTableField field = {2, UPB_SIZE(32, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1899
|
-
upb_Message_SetBaseField((upb_Message
|
|
2070
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1900
2071
|
}
|
|
1901
|
-
UPB_INLINE int32_t* cel_expr_SourceInfo_mutable_line_offsets(cel_expr_SourceInfo* msg,
|
|
2072
|
+
UPB_INLINE int32_t* cel_expr_SourceInfo_mutable_line_offsets(cel_expr_SourceInfo* msg,
|
|
2073
|
+
size_t* size) {
|
|
1902
2074
|
upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1903
2075
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
1904
2076
|
if (arr) {
|
|
@@ -1909,12 +2081,16 @@ UPB_INLINE int32_t* cel_expr_SourceInfo_mutable_line_offsets(cel_expr_SourceInfo
|
|
|
1909
2081
|
return NULL;
|
|
1910
2082
|
}
|
|
1911
2083
|
}
|
|
1912
|
-
|
|
2084
|
+
|
|
2085
|
+
UPB_INLINE int32_t* cel_expr_SourceInfo_resize_line_offsets(cel_expr_SourceInfo* msg,
|
|
2086
|
+
size_t size,
|
|
2087
|
+
upb_Arena* arena) {
|
|
1913
2088
|
upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1914
|
-
return (int32_t*)upb_Message_ResizeArrayUninitialized(
|
|
1915
|
-
|
|
2089
|
+
return (int32_t*)upb_Message_ResizeArrayUninitialized(
|
|
2090
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
1916
2091
|
}
|
|
1917
|
-
UPB_INLINE bool cel_expr_SourceInfo_add_line_offsets(cel_expr_SourceInfo* msg, int32_t val,
|
|
2092
|
+
UPB_INLINE bool cel_expr_SourceInfo_add_line_offsets(cel_expr_SourceInfo* msg, int32_t val,
|
|
2093
|
+
upb_Arena* arena) {
|
|
1918
2094
|
upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1919
2095
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
1920
2096
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -1927,48 +2103,61 @@ UPB_INLINE bool cel_expr_SourceInfo_add_line_offsets(cel_expr_SourceInfo* msg, i
|
|
|
1927
2103
|
return true;
|
|
1928
2104
|
}
|
|
1929
2105
|
UPB_INLINE void cel_expr_SourceInfo_positions_clear(cel_expr_SourceInfo* msg) {
|
|
1930
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0,
|
|
2106
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 9, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2107
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__PositionsEntry_msg_init);
|
|
1931
2108
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1932
2109
|
if (!map) return;
|
|
1933
2110
|
_upb_Map_Clear(map);
|
|
1934
2111
|
}
|
|
1935
|
-
|
|
1936
|
-
|
|
2112
|
+
|
|
2113
|
+
UPB_INLINE bool cel_expr_SourceInfo_positions_set(cel_expr_SourceInfo* msg, int64_t key,
|
|
2114
|
+
int32_t val, upb_Arena* a) {
|
|
2115
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 9, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1937
2116
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__PositionsEntry_msg_init);
|
|
1938
|
-
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
1939
|
-
|
|
2117
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
2118
|
+
UPB_UPCAST(msg), &field, sizeof(key), sizeof(val), a);
|
|
1940
2119
|
return _upb_Map_Insert(map, &key, sizeof(key), &val, sizeof(val), a) !=
|
|
1941
2120
|
kUpb_MapInsertStatus_OutOfMemory;
|
|
1942
2121
|
}
|
|
2122
|
+
|
|
1943
2123
|
UPB_INLINE bool cel_expr_SourceInfo_positions_delete(cel_expr_SourceInfo* msg, int64_t key) {
|
|
1944
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0,
|
|
2124
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 9, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2125
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__PositionsEntry_msg_init);
|
|
1945
2126
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1946
2127
|
if (!map) return false;
|
|
1947
2128
|
return _upb_Map_Delete(map, &key, sizeof(key), NULL);
|
|
1948
2129
|
}
|
|
1949
2130
|
UPB_INLINE void cel_expr_SourceInfo_macro_calls_clear(cel_expr_SourceInfo* msg) {
|
|
1950
|
-
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0,
|
|
2131
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2132
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__MacroCallsEntry_msg_init);
|
|
2133
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1951
2134
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1952
2135
|
if (!map) return;
|
|
1953
2136
|
_upb_Map_Clear(map);
|
|
1954
2137
|
}
|
|
1955
|
-
|
|
1956
|
-
|
|
2138
|
+
|
|
2139
|
+
UPB_INLINE bool cel_expr_SourceInfo_macro_calls_set(cel_expr_SourceInfo* msg, int64_t key,
|
|
2140
|
+
cel_expr_Expr* val, upb_Arena* a) {
|
|
2141
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1957
2142
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__MacroCallsEntry_msg_init);
|
|
1958
2143
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1959
|
-
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
1960
|
-
|
|
2144
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
2145
|
+
UPB_UPCAST(msg), &field, sizeof(key), sizeof(val), a);
|
|
1961
2146
|
return _upb_Map_Insert(map, &key, sizeof(key), &val, sizeof(val), a) !=
|
|
1962
2147
|
kUpb_MapInsertStatus_OutOfMemory;
|
|
1963
2148
|
}
|
|
2149
|
+
|
|
1964
2150
|
UPB_INLINE bool cel_expr_SourceInfo_macro_calls_delete(cel_expr_SourceInfo* msg, int64_t key) {
|
|
1965
|
-
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0,
|
|
2151
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2152
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__MacroCallsEntry_msg_init);
|
|
2153
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__Expr_msg_init);
|
|
1966
2154
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1967
2155
|
if (!map) return false;
|
|
1968
2156
|
return _upb_Map_Delete(map, &key, sizeof(key), NULL);
|
|
1969
2157
|
}
|
|
1970
|
-
UPB_INLINE cel_expr_SourceInfo_Extension** cel_expr_SourceInfo_mutable_extensions(cel_expr_SourceInfo* msg,
|
|
1971
|
-
|
|
2158
|
+
UPB_INLINE cel_expr_SourceInfo_Extension** cel_expr_SourceInfo_mutable_extensions(cel_expr_SourceInfo* msg,
|
|
2159
|
+
size_t* size) {
|
|
2160
|
+
upb_MiniTableField field = {6, UPB_SIZE(20, 64), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1972
2161
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__Extension_msg_init);
|
|
1973
2162
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
1974
2163
|
if (arr) {
|
|
@@ -1979,13 +2168,18 @@ UPB_INLINE cel_expr_SourceInfo_Extension** cel_expr_SourceInfo_mutable_extension
|
|
|
1979
2168
|
return NULL;
|
|
1980
2169
|
}
|
|
1981
2170
|
}
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
2171
|
+
|
|
2172
|
+
UPB_INLINE cel_expr_SourceInfo_Extension** cel_expr_SourceInfo_resize_extensions(cel_expr_SourceInfo* msg,
|
|
2173
|
+
size_t size,
|
|
2174
|
+
upb_Arena* arena) {
|
|
2175
|
+
upb_MiniTableField field = {6, UPB_SIZE(20, 64), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2176
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__Extension_msg_init);
|
|
2177
|
+
return (cel_expr_SourceInfo_Extension**)upb_Message_ResizeArrayUninitialized(
|
|
2178
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
1986
2179
|
}
|
|
1987
|
-
UPB_INLINE struct cel_expr_SourceInfo_Extension* cel_expr_SourceInfo_add_extensions(
|
|
1988
|
-
|
|
2180
|
+
UPB_INLINE struct cel_expr_SourceInfo_Extension* cel_expr_SourceInfo_add_extensions(
|
|
2181
|
+
cel_expr_SourceInfo* msg, upb_Arena* arena) {
|
|
2182
|
+
upb_MiniTableField field = {6, UPB_SIZE(20, 64), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1989
2183
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__Extension_msg_init);
|
|
1990
2184
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
1991
2185
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -1993,7 +2187,8 @@ UPB_INLINE struct cel_expr_SourceInfo_Extension* cel_expr_SourceInfo_add_extensi
|
|
|
1993
2187
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
1994
2188
|
return NULL;
|
|
1995
2189
|
}
|
|
1996
|
-
struct cel_expr_SourceInfo_Extension* sub =
|
|
2190
|
+
struct cel_expr_SourceInfo_Extension* sub =
|
|
2191
|
+
(struct cel_expr_SourceInfo_Extension*)_upb_Message_New(&cel__expr__SourceInfo__Extension_msg_init, arena);
|
|
1997
2192
|
if (!arr || !sub) return NULL;
|
|
1998
2193
|
UPB_PRIVATE(_upb_Array_Set)
|
|
1999
2194
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
@@ -2001,37 +2196,39 @@ UPB_INLINE struct cel_expr_SourceInfo_Extension* cel_expr_SourceInfo_add_extensi
|
|
|
2001
2196
|
}
|
|
2002
2197
|
|
|
2003
2198
|
/* cel.expr.SourceInfo.Extension */
|
|
2004
|
-
|
|
2005
2199
|
UPB_INLINE cel_expr_SourceInfo_Extension* cel_expr_SourceInfo_Extension_new(upb_Arena* arena) {
|
|
2006
2200
|
return (cel_expr_SourceInfo_Extension*)_upb_Message_New(&cel__expr__SourceInfo__Extension_msg_init, arena);
|
|
2007
2201
|
}
|
|
2008
|
-
UPB_INLINE cel_expr_SourceInfo_Extension* cel_expr_SourceInfo_Extension_parse(const char* buf, size_t size,
|
|
2202
|
+
UPB_INLINE cel_expr_SourceInfo_Extension* cel_expr_SourceInfo_Extension_parse(const char* buf, size_t size,
|
|
2203
|
+
upb_Arena* arena) {
|
|
2009
2204
|
cel_expr_SourceInfo_Extension* ret = cel_expr_SourceInfo_Extension_new(arena);
|
|
2010
2205
|
if (!ret) return NULL;
|
|
2011
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__SourceInfo__Extension_msg_init, NULL, 0,
|
|
2012
|
-
|
|
2206
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__SourceInfo__Extension_msg_init, NULL, 0,
|
|
2207
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
2013
2208
|
return NULL;
|
|
2014
2209
|
}
|
|
2015
2210
|
return ret;
|
|
2016
2211
|
}
|
|
2017
|
-
UPB_INLINE cel_expr_SourceInfo_Extension* cel_expr_SourceInfo_Extension_parse_ex(
|
|
2018
|
-
|
|
2019
|
-
|
|
2212
|
+
UPB_INLINE cel_expr_SourceInfo_Extension* cel_expr_SourceInfo_Extension_parse_ex(
|
|
2213
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
2214
|
+
int options, upb_Arena* arena) {
|
|
2020
2215
|
cel_expr_SourceInfo_Extension* ret = cel_expr_SourceInfo_Extension_new(arena);
|
|
2021
2216
|
if (!ret) return NULL;
|
|
2022
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__SourceInfo__Extension_msg_init, extreg,
|
|
2023
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
2217
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__SourceInfo__Extension_msg_init, extreg,
|
|
2218
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
2024
2219
|
return NULL;
|
|
2025
2220
|
}
|
|
2026
2221
|
return ret;
|
|
2027
2222
|
}
|
|
2028
|
-
UPB_INLINE char* cel_expr_SourceInfo_Extension_serialize(const cel_expr_SourceInfo_Extension* msg,
|
|
2223
|
+
UPB_INLINE char* cel_expr_SourceInfo_Extension_serialize(const cel_expr_SourceInfo_Extension* msg,
|
|
2224
|
+
upb_Arena* arena, size_t* len) {
|
|
2029
2225
|
char* ptr;
|
|
2030
2226
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__SourceInfo__Extension_msg_init, 0, arena, &ptr, len);
|
|
2031
2227
|
return ptr;
|
|
2032
2228
|
}
|
|
2033
|
-
UPB_INLINE char* cel_expr_SourceInfo_Extension_serialize_ex(const cel_expr_SourceInfo_Extension* msg,
|
|
2034
|
-
|
|
2229
|
+
UPB_INLINE char* cel_expr_SourceInfo_Extension_serialize_ex(const cel_expr_SourceInfo_Extension* msg,
|
|
2230
|
+
int options, upb_Arena* arena,
|
|
2231
|
+
size_t* len) {
|
|
2035
2232
|
char* ptr;
|
|
2036
2233
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__SourceInfo__Extension_msg_init, options, arena, &ptr, len);
|
|
2037
2234
|
return ptr;
|
|
@@ -2052,7 +2249,8 @@ UPB_INLINE void cel_expr_SourceInfo_Extension_clear_affected_components(cel_expr
|
|
|
2052
2249
|
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2053
2250
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
2054
2251
|
}
|
|
2055
|
-
UPB_INLINE int32_t const* cel_expr_SourceInfo_Extension_affected_components(const cel_expr_SourceInfo_Extension* msg,
|
|
2252
|
+
UPB_INLINE int32_t const* cel_expr_SourceInfo_Extension_affected_components(const cel_expr_SourceInfo_Extension* msg,
|
|
2253
|
+
size_t* size) {
|
|
2056
2254
|
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2057
2255
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
2058
2256
|
if (arr) {
|
|
@@ -2063,7 +2261,10 @@ UPB_INLINE int32_t const* cel_expr_SourceInfo_Extension_affected_components(cons
|
|
|
2063
2261
|
return NULL;
|
|
2064
2262
|
}
|
|
2065
2263
|
}
|
|
2066
|
-
|
|
2264
|
+
|
|
2265
|
+
//
|
|
2266
|
+
UPB_INLINE const upb_Array* _cel_expr_SourceInfo_Extension_affected_components_upb_array(
|
|
2267
|
+
const cel_expr_SourceInfo_Extension* msg, size_t* size) {
|
|
2067
2268
|
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2068
2269
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
2069
2270
|
if (size) {
|
|
@@ -2071,7 +2272,9 @@ UPB_INLINE const upb_Array* _cel_expr_SourceInfo_Extension_affected_components_u
|
|
|
2071
2272
|
}
|
|
2072
2273
|
return arr;
|
|
2073
2274
|
}
|
|
2074
|
-
|
|
2275
|
+
|
|
2276
|
+
UPB_INLINE upb_Array* _cel_expr_SourceInfo_Extension_affected_components_mutable_upb_array(
|
|
2277
|
+
cel_expr_SourceInfo_Extension* msg, size_t* size, upb_Arena* arena) {
|
|
2075
2278
|
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2076
2279
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
2077
2280
|
&field, arena);
|
|
@@ -2081,28 +2284,29 @@ UPB_INLINE upb_Array* _cel_expr_SourceInfo_Extension_affected_components_mutable
|
|
|
2081
2284
|
return arr;
|
|
2082
2285
|
}
|
|
2083
2286
|
UPB_INLINE void cel_expr_SourceInfo_Extension_clear_version(cel_expr_SourceInfo_Extension* msg) {
|
|
2084
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64,
|
|
2287
|
+
const upb_MiniTableField field = {3, 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)};
|
|
2085
2288
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
2086
2289
|
}
|
|
2087
2290
|
UPB_INLINE const cel_expr_SourceInfo_Extension_Version* cel_expr_SourceInfo_Extension_version(const cel_expr_SourceInfo_Extension* msg) {
|
|
2088
2291
|
const cel_expr_SourceInfo_Extension_Version* default_val = NULL;
|
|
2089
2292
|
const cel_expr_SourceInfo_Extension_Version* ret;
|
|
2090
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64,
|
|
2293
|
+
const upb_MiniTableField field = {3, 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)};
|
|
2091
2294
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__Extension__Version_msg_init);
|
|
2092
2295
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
2093
2296
|
&default_val, &ret);
|
|
2094
2297
|
return ret;
|
|
2095
2298
|
}
|
|
2096
2299
|
UPB_INLINE bool cel_expr_SourceInfo_Extension_has_version(const cel_expr_SourceInfo_Extension* msg) {
|
|
2097
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64,
|
|
2300
|
+
const upb_MiniTableField field = {3, 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)};
|
|
2098
2301
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
2099
2302
|
}
|
|
2100
2303
|
|
|
2101
|
-
UPB_INLINE void cel_expr_SourceInfo_Extension_set_id(cel_expr_SourceInfo_Extension
|
|
2304
|
+
UPB_INLINE void cel_expr_SourceInfo_Extension_set_id(cel_expr_SourceInfo_Extension* msg, upb_StringView value) {
|
|
2102
2305
|
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
2103
|
-
upb_Message_SetBaseField((upb_Message
|
|
2306
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2104
2307
|
}
|
|
2105
|
-
UPB_INLINE int32_t* cel_expr_SourceInfo_Extension_mutable_affected_components(cel_expr_SourceInfo_Extension* msg,
|
|
2308
|
+
UPB_INLINE int32_t* cel_expr_SourceInfo_Extension_mutable_affected_components(cel_expr_SourceInfo_Extension* msg,
|
|
2309
|
+
size_t* size) {
|
|
2106
2310
|
upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2107
2311
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
2108
2312
|
if (arr) {
|
|
@@ -2113,12 +2317,16 @@ UPB_INLINE int32_t* cel_expr_SourceInfo_Extension_mutable_affected_components(ce
|
|
|
2113
2317
|
return NULL;
|
|
2114
2318
|
}
|
|
2115
2319
|
}
|
|
2116
|
-
|
|
2320
|
+
|
|
2321
|
+
UPB_INLINE int32_t* cel_expr_SourceInfo_Extension_resize_affected_components(cel_expr_SourceInfo_Extension* msg,
|
|
2322
|
+
size_t size,
|
|
2323
|
+
upb_Arena* arena) {
|
|
2117
2324
|
upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2118
|
-
return (int32_t*)upb_Message_ResizeArrayUninitialized(
|
|
2119
|
-
|
|
2325
|
+
return (int32_t*)upb_Message_ResizeArrayUninitialized(
|
|
2326
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
2120
2327
|
}
|
|
2121
|
-
UPB_INLINE bool cel_expr_SourceInfo_Extension_add_affected_components(cel_expr_SourceInfo_Extension* msg, int32_t val,
|
|
2328
|
+
UPB_INLINE bool cel_expr_SourceInfo_Extension_add_affected_components(cel_expr_SourceInfo_Extension* msg, int32_t val,
|
|
2329
|
+
upb_Arena* arena) {
|
|
2122
2330
|
upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2123
2331
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
2124
2332
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -2130,12 +2338,13 @@ UPB_INLINE bool cel_expr_SourceInfo_Extension_add_affected_components(cel_expr_S
|
|
|
2130
2338
|
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
|
2131
2339
|
return true;
|
|
2132
2340
|
}
|
|
2133
|
-
UPB_INLINE void cel_expr_SourceInfo_Extension_set_version(cel_expr_SourceInfo_Extension
|
|
2134
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64,
|
|
2341
|
+
UPB_INLINE void cel_expr_SourceInfo_Extension_set_version(cel_expr_SourceInfo_Extension* msg, cel_expr_SourceInfo_Extension_Version* value) {
|
|
2342
|
+
const upb_MiniTableField field = {3, 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)};
|
|
2135
2343
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__SourceInfo__Extension__Version_msg_init);
|
|
2136
|
-
upb_Message_SetBaseField((upb_Message
|
|
2344
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2137
2345
|
}
|
|
2138
|
-
UPB_INLINE struct cel_expr_SourceInfo_Extension_Version* cel_expr_SourceInfo_Extension_mutable_version(
|
|
2346
|
+
UPB_INLINE struct cel_expr_SourceInfo_Extension_Version* cel_expr_SourceInfo_Extension_mutable_version(
|
|
2347
|
+
cel_expr_SourceInfo_Extension* msg, upb_Arena* arena) {
|
|
2139
2348
|
struct cel_expr_SourceInfo_Extension_Version* sub = (struct cel_expr_SourceInfo_Extension_Version*)cel_expr_SourceInfo_Extension_version(msg);
|
|
2140
2349
|
if (sub == NULL) {
|
|
2141
2350
|
sub = (struct cel_expr_SourceInfo_Extension_Version*)_upb_Message_New(&cel__expr__SourceInfo__Extension__Version_msg_init, arena);
|
|
@@ -2145,37 +2354,39 @@ UPB_INLINE struct cel_expr_SourceInfo_Extension_Version* cel_expr_SourceInfo_Ext
|
|
|
2145
2354
|
}
|
|
2146
2355
|
|
|
2147
2356
|
/* cel.expr.SourceInfo.Extension.Version */
|
|
2148
|
-
|
|
2149
2357
|
UPB_INLINE cel_expr_SourceInfo_Extension_Version* cel_expr_SourceInfo_Extension_Version_new(upb_Arena* arena) {
|
|
2150
2358
|
return (cel_expr_SourceInfo_Extension_Version*)_upb_Message_New(&cel__expr__SourceInfo__Extension__Version_msg_init, arena);
|
|
2151
2359
|
}
|
|
2152
|
-
UPB_INLINE cel_expr_SourceInfo_Extension_Version* cel_expr_SourceInfo_Extension_Version_parse(const char* buf, size_t size,
|
|
2360
|
+
UPB_INLINE cel_expr_SourceInfo_Extension_Version* cel_expr_SourceInfo_Extension_Version_parse(const char* buf, size_t size,
|
|
2361
|
+
upb_Arena* arena) {
|
|
2153
2362
|
cel_expr_SourceInfo_Extension_Version* ret = cel_expr_SourceInfo_Extension_Version_new(arena);
|
|
2154
2363
|
if (!ret) return NULL;
|
|
2155
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__SourceInfo__Extension__Version_msg_init, NULL, 0,
|
|
2156
|
-
|
|
2364
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__SourceInfo__Extension__Version_msg_init, NULL, 0,
|
|
2365
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
2157
2366
|
return NULL;
|
|
2158
2367
|
}
|
|
2159
2368
|
return ret;
|
|
2160
2369
|
}
|
|
2161
|
-
UPB_INLINE cel_expr_SourceInfo_Extension_Version* cel_expr_SourceInfo_Extension_Version_parse_ex(
|
|
2162
|
-
|
|
2163
|
-
|
|
2370
|
+
UPB_INLINE cel_expr_SourceInfo_Extension_Version* cel_expr_SourceInfo_Extension_Version_parse_ex(
|
|
2371
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
2372
|
+
int options, upb_Arena* arena) {
|
|
2164
2373
|
cel_expr_SourceInfo_Extension_Version* ret = cel_expr_SourceInfo_Extension_Version_new(arena);
|
|
2165
2374
|
if (!ret) return NULL;
|
|
2166
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__SourceInfo__Extension__Version_msg_init, extreg,
|
|
2167
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
2375
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &cel__expr__SourceInfo__Extension__Version_msg_init, extreg,
|
|
2376
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
2168
2377
|
return NULL;
|
|
2169
2378
|
}
|
|
2170
2379
|
return ret;
|
|
2171
2380
|
}
|
|
2172
|
-
UPB_INLINE char* cel_expr_SourceInfo_Extension_Version_serialize(const cel_expr_SourceInfo_Extension_Version* msg,
|
|
2381
|
+
UPB_INLINE char* cel_expr_SourceInfo_Extension_Version_serialize(const cel_expr_SourceInfo_Extension_Version* msg,
|
|
2382
|
+
upb_Arena* arena, size_t* len) {
|
|
2173
2383
|
char* ptr;
|
|
2174
2384
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__SourceInfo__Extension__Version_msg_init, 0, arena, &ptr, len);
|
|
2175
2385
|
return ptr;
|
|
2176
2386
|
}
|
|
2177
|
-
UPB_INLINE char* cel_expr_SourceInfo_Extension_Version_serialize_ex(const cel_expr_SourceInfo_Extension_Version* msg,
|
|
2178
|
-
|
|
2387
|
+
UPB_INLINE char* cel_expr_SourceInfo_Extension_Version_serialize_ex(const cel_expr_SourceInfo_Extension_Version* msg,
|
|
2388
|
+
int options, upb_Arena* arena,
|
|
2389
|
+
size_t* len) {
|
|
2179
2390
|
char* ptr;
|
|
2180
2391
|
(void)upb_Encode(UPB_UPCAST(msg), &cel__expr__SourceInfo__Extension__Version_msg_init, options, arena, &ptr, len);
|
|
2181
2392
|
return ptr;
|
|
@@ -2205,19 +2416,19 @@ UPB_INLINE int64_t cel_expr_SourceInfo_Extension_Version_minor(const cel_expr_So
|
|
|
2205
2416
|
return ret;
|
|
2206
2417
|
}
|
|
2207
2418
|
|
|
2208
|
-
UPB_INLINE void cel_expr_SourceInfo_Extension_Version_set_major(cel_expr_SourceInfo_Extension_Version
|
|
2419
|
+
UPB_INLINE void cel_expr_SourceInfo_Extension_Version_set_major(cel_expr_SourceInfo_Extension_Version* msg, int64_t value) {
|
|
2209
2420
|
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
|
2210
|
-
upb_Message_SetBaseField((upb_Message
|
|
2421
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2211
2422
|
}
|
|
2212
|
-
UPB_INLINE void cel_expr_SourceInfo_Extension_Version_set_minor(cel_expr_SourceInfo_Extension_Version
|
|
2423
|
+
UPB_INLINE void cel_expr_SourceInfo_Extension_Version_set_minor(cel_expr_SourceInfo_Extension_Version* msg, int64_t value) {
|
|
2213
2424
|
const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
|
2214
|
-
upb_Message_SetBaseField((upb_Message
|
|
2425
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2215
2426
|
}
|
|
2216
2427
|
|
|
2217
2428
|
#ifdef __cplusplus
|
|
2218
|
-
}
|
|
2429
|
+
} /* extern "C" */
|
|
2219
2430
|
#endif
|
|
2220
2431
|
|
|
2221
2432
|
#include "upb/port/undef.inc"
|
|
2222
2433
|
|
|
2223
|
-
#endif
|
|
2434
|
+
#endif /* CEL_EXPR_SYNTAX_PROTO_UPB_H__UPB_H_ */
|