grpc 1.78.0 → 1.80.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 +22 -8
- data/include/grpc/credentials.h +47 -37
- data/include/grpc/credentials_cpp.h +39 -0
- data/include/grpc/event_engine/event_engine.h +8 -3
- data/include/grpc/grpc.h +4 -0
- data/include/grpc/impl/call.h +9 -0
- data/include/grpc/impl/channel_arg_names.h +7 -0
- data/include/grpc/module.modulemap +2 -0
- data/include/grpc/private_key_signer.h +104 -0
- data/include/grpc/support/port_platform.h +6 -0
- data/src/core/call/call_filters.h +101 -78
- data/src/core/call/call_spine.h +91 -68
- data/src/core/call/call_state.h +60 -4
- data/src/core/call/client_call.cc +9 -9
- data/src/core/call/client_call.h +1 -1
- data/src/core/call/metadata_batch.cc +2 -0
- data/src/core/call/metadata_batch.h +48 -1
- data/src/core/call/metadata_info.cc +35 -0
- data/src/core/call/metadata_info.h +2 -0
- data/src/core/call/simple_slice_based_metadata.h +2 -1
- data/src/core/channelz/channelz.cc +9 -6
- data/src/core/channelz/channelz.h +7 -4
- data/src/core/channelz/property_list.h +5 -0
- data/src/core/channelz/v2tov1/convert.cc +1 -1
- data/src/core/channelz/v2tov1/legacy_api.cc +164 -307
- data/src/core/client_channel/buffered_call.cc +7 -3
- data/src/core/client_channel/buffered_call.h +11 -5
- data/src/core/client_channel/client_channel.cc +106 -44
- data/src/core/client_channel/client_channel.h +3 -6
- data/src/core/client_channel/client_channel_filter.cc +90 -64
- data/src/core/client_channel/client_channel_filter.h +3 -6
- data/src/core/client_channel/client_channel_internal.h +5 -0
- data/src/core/client_channel/config_selector.h +17 -12
- data/src/core/client_channel/dynamic_filters.cc +8 -7
- data/src/core/client_channel/dynamic_filters.h +7 -5
- data/src/core/client_channel/retry_filter.cc +1 -1
- data/src/core/client_channel/retry_filter.h +2 -2
- data/src/core/client_channel/subchannel.cc +1682 -266
- data/src/core/client_channel/subchannel.h +411 -134
- data/src/core/client_channel/subchannel_stream_client.cc +22 -18
- data/src/core/client_channel/subchannel_stream_client.h +8 -9
- data/src/core/client_channel/subchannel_stream_limiter.cc +76 -0
- data/src/core/client_channel/subchannel_stream_limiter.h +51 -0
- data/src/core/config/config_vars.cc +9 -1
- data/src/core/config/config_vars.h +6 -0
- data/src/core/credentials/call/call_creds_registry.h +51 -22
- data/src/core/credentials/call/call_creds_registry_init.cc +86 -2
- data/src/core/credentials/call/external/aws_external_account_credentials.cc +2 -2
- data/src/core/credentials/call/external/external_account_credentials.cc +11 -4
- data/src/core/credentials/call/external/file_external_account_credentials.cc +2 -2
- data/src/core/credentials/transport/channel_creds_registry.h +71 -20
- data/src/core/credentials/transport/channel_creds_registry_init.cc +338 -29
- data/src/core/credentials/transport/ssl/ssl_credentials.cc +43 -24
- data/src/core/credentials/transport/ssl/ssl_credentials.h +7 -1
- data/src/core/credentials/transport/ssl/ssl_security_connector.cc +2 -8
- data/src/core/credentials/transport/ssl/ssl_security_connector.h +4 -3
- data/src/core/credentials/transport/tls/grpc_tls_certificate_distributor.cc +25 -5
- data/src/core/credentials/transport/tls/grpc_tls_certificate_distributor.h +7 -5
- data/src/core/credentials/transport/tls/grpc_tls_certificate_provider.cc +181 -109
- data/src/core/credentials/transport/tls/grpc_tls_certificate_provider.h +55 -42
- data/src/core/credentials/transport/tls/grpc_tls_credentials_options.cc +28 -23
- data/src/core/credentials/transport/tls/grpc_tls_credentials_options.h +26 -23
- data/src/core/credentials/transport/tls/spiffe_utils.cc +2 -2
- data/src/core/credentials/transport/tls/ssl_utils.cc +18 -18
- data/src/core/credentials/transport/tls/ssl_utils.h +12 -10
- data/src/core/credentials/transport/tls/tls_security_connector.cc +106 -74
- data/src/core/credentials/transport/tls/tls_security_connector.h +12 -8
- data/src/core/credentials/transport/xds/xds_credentials.cc +76 -32
- data/src/core/credentials/transport/xds/xds_credentials.h +4 -2
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +117 -35
- data/src/core/ext/filters/fault_injection/fault_injection_filter.h +42 -4
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.cc +58 -29
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.h +19 -11
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +82 -25
- data/src/core/ext/filters/stateful_session/stateful_session_filter.h +28 -3
- data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.cc +9 -7
- data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h +1 -1
- data/src/core/ext/transport/chttp2/transport/call_tracer_wrapper.h +7 -1
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +117 -67
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +2 -0
- data/src/core/ext/transport/chttp2/transport/flow_control.h +11 -1
- data/src/core/ext/transport/chttp2/transport/frame.cc +2 -15
- data/src/core/ext/transport/chttp2/transport/frame.h +0 -4
- data/src/core/ext/transport/chttp2/transport/goaway.cc +17 -2
- data/src/core/ext/transport/chttp2/transport/goaway.h +27 -6
- data/src/core/ext/transport/chttp2/transport/header_assembler.h +8 -21
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +101 -40
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +95 -0
- data/src/core/ext/transport/chttp2/transport/http2_client_transport.cc +923 -772
- data/src/core/ext/transport/chttp2/transport/http2_client_transport.h +406 -423
- data/src/core/ext/transport/chttp2/transport/http2_settings.cc +1 -0
- data/src/core/ext/transport/chttp2/transport/http2_settings.h +8 -1
- data/src/core/ext/transport/chttp2/transport/http2_settings_promises.h +25 -13
- data/src/core/ext/transport/chttp2/transport/http2_transport.cc +71 -24
- data/src/core/ext/transport/chttp2/transport/http2_transport.h +25 -49
- data/src/core/ext/transport/chttp2/transport/http2_ztrace_collector.h +2 -2
- data/src/core/ext/transport/chttp2/transport/incoming_metadata_tracker.h +29 -9
- data/src/core/ext/transport/chttp2/transport/internal.h +6 -2
- data/src/core/ext/transport/chttp2/transport/keepalive.cc +14 -20
- data/src/core/ext/transport/chttp2/transport/keepalive.h +9 -6
- data/src/core/ext/transport/chttp2/transport/parsing.cc +11 -0
- data/src/core/ext/transport/chttp2/transport/ping_promise.cc +34 -74
- data/src/core/ext/transport/chttp2/transport/ping_promise.h +123 -79
- data/src/core/ext/transport/chttp2/transport/security_frame.h +233 -3
- data/src/core/ext/transport/chttp2/transport/stream.h +152 -73
- data/src/core/ext/transport/chttp2/transport/stream_data_queue.h +155 -85
- data/src/core/ext/transport/chttp2/transport/transport_common.h +0 -5
- data/src/core/ext/transport/chttp2/transport/writable_streams.h +8 -7
- data/src/core/ext/transport/chttp2/transport/write_cycle.cc +86 -0
- data/src/core/ext/transport/chttp2/transport/write_cycle.h +355 -0
- data/src/core/ext/transport/chttp2/transport/writing.cc +31 -29
- data/src/core/ext/upb-gen/cel/expr/checked.upb.h +1875 -0
- data/src/core/ext/upb-gen/cel/expr/checked.upb_minitable.c +409 -0
- data/src/core/ext/upb-gen/cel/expr/checked.upb_minitable.h +56 -0
- data/src/core/ext/upb-gen/cel/expr/syntax.upb.h +2223 -0
- data/src/core/ext/upb-gen/cel/expr/syntax.upb_minitable.c +489 -0
- data/src/core/ext/upb-gen/cel/expr/syntax.upb_minitable.h +60 -0
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +130 -18
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +18 -13
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +70 -38
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +20 -17
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +26 -10
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +8 -7
- data/src/core/ext/upb-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upb.h +495 -0
- data/src/core/ext/upb-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upb_minitable.c +114 -0
- data/src/core/ext/upb-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +26 -10
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +8 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/cel.upb.h +121 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/cel.upb_minitable.c +54 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/cel.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +143 -9
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +18 -6
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +112 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +22 -9
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +276 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +60 -5
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +4 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +72 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +23 -2
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +2 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +129 -13
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +36 -10
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +2 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +5 -3
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +16 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +4 -3
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +5 -3
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +2 -1
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +63 -0
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +12 -7
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +97 -81
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +40 -23
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +604 -228
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +146 -100
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +5 -3
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +35 -3
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +66 -14
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +22 -11
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +87 -0
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +29 -2
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +2 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +20 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +5 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +239 -60
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +59 -28
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +2 -0
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/call_credentials/access_token/v3/access_token_credentials.upb.h +89 -0
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/call_credentials/access_token/v3/access_token_credentials.upb_minitable.c +50 -0
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/call_credentials/access_token/v3/access_token_credentials.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/tls/v3/tls_credentials.upb.h +135 -0
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/tls/v3/tls_credentials.upb_minitable.c +53 -0
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/tls/v3/tls_credentials.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/xds/v3/xds_credentials.upb.h +105 -0
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/xds/v3/xds_credentials.upb_minitable.c +51 -0
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/xds/v3/xds_credentials.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +32 -0
- 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 +6 -3
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +206 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +41 -8
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +2 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +64 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +4 -3
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +64 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +31 -5
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +2 -0
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +283 -14
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +48 -11
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h +2 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +144 -6
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +35 -7
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +2 -0
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +42 -21
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +9 -8
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/promise.upb.h +164 -1
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/promise.upb_minitable.c +37 -6
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/promise.upb_minitable.h +2 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +0 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +0 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +0 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +0 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +26 -11
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +33 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +14 -3
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +90 -10
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +18 -7
- data/src/core/ext/upbdefs-gen/cel/expr/checked.upbdefs.c +248 -0
- data/src/core/ext/upbdefs-gen/cel/expr/checked.upbdefs.h +97 -0
- data/src/core/ext/upbdefs-gen/cel/expr/syntax.upbdefs.c +283 -0
- data/src/core/ext/upbdefs-gen/cel/expr/syntax.upbdefs.h +107 -0
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c +213 -211
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +635 -614
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c +1012 -1000
- data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c +276 -273
- data/src/core/ext/upbdefs-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upbdefs.c +152 -0
- data/src/core/ext/upbdefs-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upbdefs.h +47 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c +149 -144
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c +367 -370
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/cel.upbdefs.c +63 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/cel.upbdefs.h +37 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c +297 -284
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c +492 -469
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c +74 -43
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +10 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c +60 -59
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +202 -184
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c +354 -339
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c +28 -19
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c +30 -27
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c +71 -66
- data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c +94 -91
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c +386 -369
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c +60 -57
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c +1974 -1884
- data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c +119 -112
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c +62 -51
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c +109 -88
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +54 -36
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +78 -84
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +48 -46
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +1041 -984
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +304 -290
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +94 -77
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c +246 -193
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c +37 -23
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c +5 -3
- data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c +4 -4
- data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c +4 -5
- data/src/core/ext/upbdefs-gen/src/proto/grpc/channelz/v2/promise.upbdefs.c +113 -87
- data/src/core/ext/upbdefs-gen/src/proto/grpc/channelz/v2/promise.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c +5 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c +6 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c +5 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c +5 -5
- data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c +5 -5
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c +25 -30
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c +14 -20
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c +180 -183
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c +56 -47
- data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c +69 -47
- data/src/core/filter/filter_chain.h +95 -0
- data/src/core/handshaker/http_connect/{http_connect_handshaker.cc → http_connect_client_handshaker.cc} +32 -31
- data/src/core/handshaker/http_connect/{http_connect_handshaker.h → http_connect_client_handshaker.h} +4 -4
- data/src/core/handshaker/http_connect/http_proxy_mapper.cc +1 -1
- data/src/core/handshaker/http_connect/xds_http_proxy_mapper.cc +1 -1
- data/src/core/handshaker/security/pipelined_secure_endpoint.cc +14 -13
- data/src/core/handshaker/security/secure_endpoint.cc +282 -68
- data/src/core/handshaker/security/secure_endpoint.h +0 -7
- data/src/core/lib/channel/channel_args.h +1 -1
- data/src/core/lib/channel/promise_based_filter.cc +17 -4
- data/src/core/lib/channel/promise_based_filter.h +3 -2
- data/src/core/lib/debug/trace_flags.cc +2 -0
- data/src/core/lib/debug/trace_flags.h +1 -0
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +35 -8
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.h +1 -2
- data/src/core/lib/event_engine/event_engine.cc +9 -0
- data/src/core/lib/event_engine/extensions/tcp_trace.h +0 -3
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +2 -2
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +1 -1
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +34 -9
- data/src/core/lib/event_engine/posix_engine/posix_engine.h +24 -2
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +1 -3
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +141 -14
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.h +19 -2
- data/src/core/lib/event_engine/posix_engine/posix_interface.h +7 -0
- data/src/core/lib/event_engine/posix_engine/posix_interface_posix.cc +21 -3
- data/src/core/lib/event_engine/posix_engine/posix_interface_windows.cc +16 -0
- data/src/core/lib/experiments/experiments.cc +309 -201
- data/src/core/lib/experiments/experiments.h +141 -80
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +2 -2
- data/src/core/lib/iomgr/resolve_address.h +0 -2
- data/src/core/lib/iomgr/resolved_address.h +0 -2
- data/src/core/lib/iomgr/tcp_posix.cc +13 -5
- data/src/core/lib/iomgr/tcp_server.cc +0 -5
- data/src/core/lib/iomgr/tcp_server.h +0 -7
- data/src/core/lib/iomgr/tcp_server_posix.cc +0 -17
- data/src/core/lib/iomgr/tcp_server_utils_posix.h +0 -3
- data/src/core/lib/iomgr/tcp_server_windows.cc +12 -51
- data/src/core/lib/promise/all_ok.h +17 -12
- data/src/core/lib/promise/cancel_callback.h +12 -13
- data/src/core/lib/promise/detail/join_state.h +626 -0
- data/src/core/lib/promise/detail/promise_factory.h +14 -14
- data/src/core/lib/promise/for_each.h +32 -8
- data/src/core/lib/promise/if.h +9 -7
- data/src/core/lib/promise/loop.h +18 -16
- data/src/core/lib/promise/map.h +54 -47
- data/src/core/lib/promise/mpsc.h +11 -10
- data/src/core/lib/promise/observable.h +6 -6
- data/src/core/lib/promise/party.h +25 -19
- data/src/core/lib/promise/poll.h +5 -5
- data/src/core/lib/promise/prioritized_race.h +10 -7
- data/src/core/lib/promise/promise.h +16 -11
- data/src/core/lib/promise/race.h +6 -5
- data/src/core/lib/promise/seq.h +109 -74
- data/src/core/lib/promise/try_join.h +14 -6
- data/src/core/lib/promise/try_seq.h +76 -60
- data/src/core/lib/resource_quota/api.cc +7 -0
- data/src/core/lib/resource_quota/arena.h +1 -1
- data/src/core/lib/resource_quota/memory_quota.cc +4 -1
- data/src/core/lib/resource_quota/resource_quota.cc +2 -1
- data/src/core/lib/resource_quota/resource_quota.h +3 -0
- data/src/core/lib/resource_quota/stream_quota.cc +77 -1
- data/src/core/lib/resource_quota/stream_quota.h +64 -1
- data/src/core/lib/resource_quota/telemetry.h +1 -1
- data/src/core/lib/surface/call.cc +13 -0
- data/src/core/lib/surface/call_utils.h +58 -43
- data/src/core/lib/surface/channel.h +1 -4
- data/src/core/lib/surface/completion_queue.cc +13 -6
- data/src/core/lib/surface/validate_metadata.cc +20 -15
- data/src/core/lib/surface/validate_metadata.h +3 -1
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/promise_endpoint.cc +1 -1
- data/src/core/lib/transport/promise_endpoint.h +1 -1
- data/src/core/lib/transport/transport.h +5 -0
- data/src/core/load_balancing/health_check_client.cc +1 -15
- data/src/core/load_balancing/health_check_client_internal.h +0 -2
- data/src/core/load_balancing/oob_backend_metric.cc +1 -5
- data/src/core/load_balancing/oob_backend_metric_internal.h +0 -1
- data/src/core/load_balancing/xds/xds_cluster_impl.cc +12 -9
- data/src/core/plugin_registry/grpc_plugin_registry.cc +3 -2
- data/src/core/resolver/xds/xds_resolver.cc +162 -116
- data/src/core/server/server.cc +18 -1
- data/src/core/server/server.h +2 -0
- data/src/core/server/xds_server_config_fetcher.cc +4 -4
- data/src/core/telemetry/call_tracer.cc +87 -2
- data/src/core/telemetry/call_tracer.h +46 -8
- data/src/core/telemetry/instrument.cc +102 -40
- data/src/core/telemetry/instrument.h +246 -65
- data/src/core/tsi/fake_transport_security.cc +3 -1
- data/src/core/tsi/ssl_transport_security.cc +516 -137
- data/src/core/tsi/ssl_transport_security.h +28 -22
- data/src/core/tsi/ssl_transport_security_utils.cc +2 -2
- data/src/core/tsi/ssl_transport_security_utils.h +2 -2
- data/src/core/util/bitset.h +6 -0
- data/src/core/util/function_signature.h +3 -1
- data/src/core/util/http_client/httpcli_security_connector.cc +2 -1
- data/src/core/util/json/json_reader.cc +0 -4
- data/src/core/xds/grpc/certificate_provider_store.cc +2 -1
- data/src/core/xds/grpc/certificate_provider_store.h +3 -17
- data/src/core/xds/grpc/certificate_provider_store_interface.h +61 -0
- data/src/core/xds/grpc/xds_bootstrap_grpc.cc +48 -0
- data/src/core/xds/grpc/xds_bootstrap_grpc.h +18 -0
- data/src/core/xds/grpc/xds_certificate_provider.cc +7 -2
- data/src/core/xds/grpc/xds_certificate_provider.h +13 -2
- data/src/core/xds/grpc/xds_client_grpc.cc +13 -6
- data/src/core/xds/grpc/xds_client_grpc.h +10 -7
- data/src/core/xds/grpc/xds_cluster.cc +18 -4
- data/src/core/xds/grpc/xds_cluster.h +17 -2
- data/src/core/xds/grpc/xds_cluster_parser.cc +36 -11
- data/src/core/xds/grpc/xds_common_types.cc +45 -0
- data/src/core/xds/grpc/xds_common_types.h +31 -0
- data/src/core/xds/grpc/xds_common_types_parser.cc +274 -16
- data/src/core/xds/grpc/xds_common_types_parser.h +12 -0
- data/src/core/xds/grpc/xds_http_fault_filter.cc +128 -24
- data/src/core/xds/grpc/xds_http_fault_filter.h +19 -10
- data/src/core/xds/grpc/xds_http_filter.cc +38 -0
- data/src/core/xds/grpc/xds_http_filter.h +70 -47
- data/src/core/xds/grpc/xds_http_filter_registry.cc +48 -14
- data/src/core/xds/grpc/xds_http_filter_registry.h +29 -15
- data/src/core/xds/grpc/xds_http_gcp_authn_filter.cc +88 -22
- data/src/core/xds/grpc/xds_http_gcp_authn_filter.h +22 -11
- data/src/core/xds/grpc/xds_http_rbac_filter.cc +36 -20
- data/src/core/xds/grpc/xds_http_rbac_filter.h +19 -10
- data/src/core/xds/grpc/xds_http_stateful_session_filter.cc +143 -26
- data/src/core/xds/grpc/xds_http_stateful_session_filter.h +19 -10
- data/src/core/xds/grpc/xds_listener.cc +4 -1
- data/src/core/xds/grpc/xds_listener.h +10 -2
- data/src/core/xds/grpc/xds_listener_parser.cc +23 -18
- data/src/core/xds/grpc/xds_matcher.cc +40 -5
- data/src/core/xds/grpc/xds_matcher.h +13 -0
- data/src/core/xds/grpc/xds_matcher_action.h +1 -1
- data/src/core/xds/grpc/xds_matcher_parse.cc +60 -40
- data/src/core/xds/grpc/xds_matcher_parse.h +2 -1
- data/src/core/xds/grpc/xds_route_config.cc +12 -1
- data/src/core/xds/grpc/xds_route_config.h +15 -2
- data/src/core/xds/grpc/xds_route_config_parser.cc +11 -5
- data/src/core/xds/grpc/xds_routing.cc +181 -6
- data/src/core/xds/grpc/xds_routing.h +57 -0
- data/src/core/xds/grpc/xds_server_grpc.cc +55 -43
- data/src/core/xds/grpc/xds_server_grpc.h +13 -6
- data/src/core/xds/grpc/xds_server_grpc_interface.h +3 -2
- data/src/core/xds/grpc/xds_transport_grpc.cc +12 -6
- data/src/core/xds/grpc/xds_transport_grpc.h +5 -1
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +12 -8
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +18 -12
- data/src/ruby/lib/grpc/grpc.rb +7 -9
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/generate_proto_ruby.sh +1 -1
- data/src/ruby/spec/client_server_spec.rb +1 -1
- data/src/ruby/spec/generic/rpc_server_pool_spec.rb +1 -1
- data/src/ruby/spec/generic/rpc_server_spec.rb +3 -4
- data/src/ruby/spec/spec_helper.rb +1 -1
- metadata +64 -14
- data/src/core/ext/transport/chttp2/transport/security_frame.cc +0 -31
- data/src/core/handshaker/security/legacy_secure_endpoint.cc +0 -597
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
|
|
16
16
|
#include "google/api/expr/v1alpha1/checked.upb_minitable.h"
|
|
17
17
|
#include "google/api/expr/v1alpha1/syntax.upb_minitable.h"
|
|
18
|
+
#include "cel/expr/checked.upb_minitable.h"
|
|
19
|
+
#include "cel/expr/syntax.upb_minitable.h"
|
|
18
20
|
#include "google/protobuf/wrappers.upb_minitable.h"
|
|
19
21
|
#include "xds/annotations/v3/status.upb_minitable.h"
|
|
20
22
|
#include "validate/validate.upb_minitable.h"
|
|
@@ -28,6 +30,8 @@ extern "C" {
|
|
|
28
30
|
|
|
29
31
|
typedef struct xds_type_v3_CelExpression { upb_Message UPB_PRIVATE(base); } xds_type_v3_CelExpression;
|
|
30
32
|
typedef struct xds_type_v3_CelExtractString { upb_Message UPB_PRIVATE(base); } xds_type_v3_CelExtractString;
|
|
33
|
+
struct cel_expr_CheckedExpr;
|
|
34
|
+
struct cel_expr_ParsedExpr;
|
|
31
35
|
struct google_api_expr_v1alpha1_CheckedExpr;
|
|
32
36
|
struct google_api_expr_v1alpha1_ParsedExpr;
|
|
33
37
|
struct google_protobuf_StringValue;
|
|
@@ -76,51 +80,97 @@ typedef enum {
|
|
|
76
80
|
xds_type_v3_CelExpression_expr_specifier_NOT_SET = 0
|
|
77
81
|
} xds_type_v3_CelExpression_expr_specifier_oneofcases;
|
|
78
82
|
UPB_INLINE xds_type_v3_CelExpression_expr_specifier_oneofcases xds_type_v3_CelExpression_expr_specifier_case(const xds_type_v3_CelExpression* msg) {
|
|
79
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
|
83
|
+
const upb_MiniTableField field = {1, UPB_SIZE(24, 48), UPB_SIZE(-21, -13), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
80
84
|
return (xds_type_v3_CelExpression_expr_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
81
85
|
UPB_UPCAST(msg), &field);
|
|
82
86
|
}
|
|
83
87
|
UPB_INLINE void xds_type_v3_CelExpression_clear_expr_specifier(xds_type_v3_CelExpression* msg) {
|
|
84
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
|
88
|
+
const upb_MiniTableField field = {1, UPB_SIZE(24, 48), UPB_SIZE(-21, -13), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
85
89
|
upb_Message_ClearOneof(UPB_UPCAST(msg), &xds__type__v3__CelExpression_msg_init, &field);
|
|
86
90
|
}
|
|
87
91
|
UPB_INLINE void xds_type_v3_CelExpression_clear_parsed_expr(xds_type_v3_CelExpression* msg) {
|
|
88
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
|
92
|
+
const upb_MiniTableField field = {1, UPB_SIZE(24, 48), UPB_SIZE(-21, -13), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
89
93
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
90
94
|
}
|
|
91
95
|
UPB_INLINE const struct google_api_expr_v1alpha1_ParsedExpr* xds_type_v3_CelExpression_parsed_expr(const xds_type_v3_CelExpression* msg) {
|
|
92
96
|
const struct google_api_expr_v1alpha1_ParsedExpr* default_val = NULL;
|
|
93
97
|
const struct google_api_expr_v1alpha1_ParsedExpr* ret;
|
|
94
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
|
98
|
+
const upb_MiniTableField field = {1, UPB_SIZE(24, 48), UPB_SIZE(-21, -13), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
95
99
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__api__expr__v1alpha1__ParsedExpr_msg_init);
|
|
96
100
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
97
101
|
&default_val, &ret);
|
|
98
102
|
return ret;
|
|
99
103
|
}
|
|
100
104
|
UPB_INLINE bool xds_type_v3_CelExpression_has_parsed_expr(const xds_type_v3_CelExpression* msg) {
|
|
101
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
|
105
|
+
const upb_MiniTableField field = {1, UPB_SIZE(24, 48), UPB_SIZE(-21, -13), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
102
106
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
103
107
|
}
|
|
104
108
|
UPB_INLINE void xds_type_v3_CelExpression_clear_checked_expr(xds_type_v3_CelExpression* msg) {
|
|
105
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
|
109
|
+
const upb_MiniTableField field = {2, UPB_SIZE(24, 48), UPB_SIZE(-21, -13), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
106
110
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
107
111
|
}
|
|
108
112
|
UPB_INLINE const struct google_api_expr_v1alpha1_CheckedExpr* xds_type_v3_CelExpression_checked_expr(const xds_type_v3_CelExpression* msg) {
|
|
109
113
|
const struct google_api_expr_v1alpha1_CheckedExpr* default_val = NULL;
|
|
110
114
|
const struct google_api_expr_v1alpha1_CheckedExpr* ret;
|
|
111
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
|
115
|
+
const upb_MiniTableField field = {2, UPB_SIZE(24, 48), UPB_SIZE(-21, -13), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
112
116
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__api__expr__v1alpha1__CheckedExpr_msg_init);
|
|
113
117
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
114
118
|
&default_val, &ret);
|
|
115
119
|
return ret;
|
|
116
120
|
}
|
|
117
121
|
UPB_INLINE bool xds_type_v3_CelExpression_has_checked_expr(const xds_type_v3_CelExpression* msg) {
|
|
118
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
|
122
|
+
const upb_MiniTableField field = {2, UPB_SIZE(24, 48), UPB_SIZE(-21, -13), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
119
123
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
120
124
|
}
|
|
125
|
+
UPB_INLINE void xds_type_v3_CelExpression_clear_cel_expr_parsed(xds_type_v3_CelExpression* msg) {
|
|
126
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 64, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
127
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
128
|
+
}
|
|
129
|
+
UPB_INLINE const struct cel_expr_ParsedExpr* xds_type_v3_CelExpression_cel_expr_parsed(const xds_type_v3_CelExpression* msg) {
|
|
130
|
+
const struct cel_expr_ParsedExpr* default_val = NULL;
|
|
131
|
+
const struct cel_expr_ParsedExpr* ret;
|
|
132
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 64, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
133
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__ParsedExpr_msg_init);
|
|
134
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
135
|
+
&default_val, &ret);
|
|
136
|
+
return ret;
|
|
137
|
+
}
|
|
138
|
+
UPB_INLINE bool xds_type_v3_CelExpression_has_cel_expr_parsed(const xds_type_v3_CelExpression* msg) {
|
|
139
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 64, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
140
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
141
|
+
}
|
|
142
|
+
UPB_INLINE void xds_type_v3_CelExpression_clear_cel_expr_checked(xds_type_v3_CelExpression* msg) {
|
|
143
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 65, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
144
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
145
|
+
}
|
|
146
|
+
UPB_INLINE const struct cel_expr_CheckedExpr* xds_type_v3_CelExpression_cel_expr_checked(const xds_type_v3_CelExpression* msg) {
|
|
147
|
+
const struct cel_expr_CheckedExpr* default_val = NULL;
|
|
148
|
+
const struct cel_expr_CheckedExpr* ret;
|
|
149
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 65, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
150
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__CheckedExpr_msg_init);
|
|
151
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
152
|
+
&default_val, &ret);
|
|
153
|
+
return ret;
|
|
154
|
+
}
|
|
155
|
+
UPB_INLINE bool xds_type_v3_CelExpression_has_cel_expr_checked(const xds_type_v3_CelExpression* msg) {
|
|
156
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 65, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
157
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
158
|
+
}
|
|
159
|
+
UPB_INLINE void xds_type_v3_CelExpression_clear_cel_expr_string(xds_type_v3_CelExpression* msg) {
|
|
160
|
+
const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
161
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
162
|
+
}
|
|
163
|
+
UPB_INLINE upb_StringView xds_type_v3_CelExpression_cel_expr_string(const xds_type_v3_CelExpression* msg) {
|
|
164
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
|
165
|
+
upb_StringView ret;
|
|
166
|
+
const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
167
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
168
|
+
&default_val, &ret);
|
|
169
|
+
return ret;
|
|
170
|
+
}
|
|
121
171
|
|
|
122
172
|
UPB_INLINE void xds_type_v3_CelExpression_set_parsed_expr(xds_type_v3_CelExpression *msg, struct google_api_expr_v1alpha1_ParsedExpr* value) {
|
|
123
|
-
const upb_MiniTableField field = {1, UPB_SIZE(
|
|
173
|
+
const upb_MiniTableField field = {1, UPB_SIZE(24, 48), UPB_SIZE(-21, -13), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
124
174
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__api__expr__v1alpha1__ParsedExpr_msg_init);
|
|
125
175
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
|
126
176
|
}
|
|
@@ -133,7 +183,7 @@ UPB_INLINE struct google_api_expr_v1alpha1_ParsedExpr* xds_type_v3_CelExpression
|
|
|
133
183
|
return sub;
|
|
134
184
|
}
|
|
135
185
|
UPB_INLINE void xds_type_v3_CelExpression_set_checked_expr(xds_type_v3_CelExpression *msg, struct google_api_expr_v1alpha1_CheckedExpr* value) {
|
|
136
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
|
186
|
+
const upb_MiniTableField field = {2, UPB_SIZE(24, 48), UPB_SIZE(-21, -13), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
137
187
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__api__expr__v1alpha1__CheckedExpr_msg_init);
|
|
138
188
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
|
139
189
|
}
|
|
@@ -145,6 +195,36 @@ UPB_INLINE struct google_api_expr_v1alpha1_CheckedExpr* xds_type_v3_CelExpressio
|
|
|
145
195
|
}
|
|
146
196
|
return sub;
|
|
147
197
|
}
|
|
198
|
+
UPB_INLINE void xds_type_v3_CelExpression_set_cel_expr_parsed(xds_type_v3_CelExpression *msg, struct cel_expr_ParsedExpr* value) {
|
|
199
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 64, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
200
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__ParsedExpr_msg_init);
|
|
201
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
|
202
|
+
}
|
|
203
|
+
UPB_INLINE struct cel_expr_ParsedExpr* xds_type_v3_CelExpression_mutable_cel_expr_parsed(xds_type_v3_CelExpression* msg, upb_Arena* arena) {
|
|
204
|
+
struct cel_expr_ParsedExpr* sub = (struct cel_expr_ParsedExpr*)xds_type_v3_CelExpression_cel_expr_parsed(msg);
|
|
205
|
+
if (sub == NULL) {
|
|
206
|
+
sub = (struct cel_expr_ParsedExpr*)_upb_Message_New(&cel__expr__ParsedExpr_msg_init, arena);
|
|
207
|
+
if (sub) xds_type_v3_CelExpression_set_cel_expr_parsed(msg, sub);
|
|
208
|
+
}
|
|
209
|
+
return sub;
|
|
210
|
+
}
|
|
211
|
+
UPB_INLINE void xds_type_v3_CelExpression_set_cel_expr_checked(xds_type_v3_CelExpression *msg, struct cel_expr_CheckedExpr* value) {
|
|
212
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 65, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
213
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&cel__expr__CheckedExpr_msg_init);
|
|
214
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
|
215
|
+
}
|
|
216
|
+
UPB_INLINE struct cel_expr_CheckedExpr* xds_type_v3_CelExpression_mutable_cel_expr_checked(xds_type_v3_CelExpression* msg, upb_Arena* arena) {
|
|
217
|
+
struct cel_expr_CheckedExpr* sub = (struct cel_expr_CheckedExpr*)xds_type_v3_CelExpression_cel_expr_checked(msg);
|
|
218
|
+
if (sub == NULL) {
|
|
219
|
+
sub = (struct cel_expr_CheckedExpr*)_upb_Message_New(&cel__expr__CheckedExpr_msg_init, arena);
|
|
220
|
+
if (sub) xds_type_v3_CelExpression_set_cel_expr_checked(msg, sub);
|
|
221
|
+
}
|
|
222
|
+
return sub;
|
|
223
|
+
}
|
|
224
|
+
UPB_INLINE void xds_type_v3_CelExpression_set_cel_expr_string(xds_type_v3_CelExpression *msg, upb_StringView value) {
|
|
225
|
+
const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
226
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
|
227
|
+
}
|
|
148
228
|
|
|
149
229
|
/* xds.type.v3.CelExtractString */
|
|
150
230
|
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
#include "xds/type/v3/cel.upb_minitable.h"
|
|
12
12
|
#include "google/api/expr/v1alpha1/checked.upb_minitable.h"
|
|
13
13
|
#include "google/api/expr/v1alpha1/syntax.upb_minitable.h"
|
|
14
|
+
#include "cel/expr/checked.upb_minitable.h"
|
|
15
|
+
#include "cel/expr/syntax.upb_minitable.h"
|
|
14
16
|
#include "google/protobuf/wrappers.upb_minitable.h"
|
|
15
17
|
#include "xds/annotations/v3/status.upb_minitable.h"
|
|
16
18
|
#include "validate/validate.upb_minitable.h"
|
|
@@ -19,27 +21,36 @@
|
|
|
19
21
|
#include "upb/port/def.inc"
|
|
20
22
|
|
|
21
23
|
extern const struct upb_MiniTable UPB_PRIVATE(_kUpb_MiniTable_StaticallyTreeShaken);
|
|
22
|
-
static const upb_MiniTableSubInternal xds_type_v3_CelExpression__submsgs[
|
|
24
|
+
static const upb_MiniTableSubInternal xds_type_v3_CelExpression__submsgs[4] = {
|
|
23
25
|
{.UPB_PRIVATE(submsg) = &google__api__expr__v1alpha1__ParsedExpr_msg_init_ptr},
|
|
24
26
|
{.UPB_PRIVATE(submsg) = &google__api__expr__v1alpha1__CheckedExpr_msg_init_ptr},
|
|
27
|
+
{.UPB_PRIVATE(submsg) = &cel__expr__ParsedExpr_msg_init_ptr},
|
|
28
|
+
{.UPB_PRIVATE(submsg) = &cel__expr__CheckedExpr_msg_init_ptr},
|
|
25
29
|
};
|
|
26
30
|
|
|
27
|
-
static const upb_MiniTableField xds_type_v3_CelExpression__fields[
|
|
28
|
-
{1, UPB_SIZE(
|
|
29
|
-
{2, UPB_SIZE(
|
|
31
|
+
static const upb_MiniTableField xds_type_v3_CelExpression__fields[5] = {
|
|
32
|
+
{1, UPB_SIZE(24, 48), UPB_SIZE(-21, -13), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
|
|
33
|
+
{2, UPB_SIZE(24, 48), UPB_SIZE(-21, -13), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
|
|
34
|
+
{3, UPB_SIZE(12, 32), 64, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
|
|
35
|
+
{4, UPB_SIZE(16, 40), 65, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
|
|
36
|
+
{5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
|
|
30
37
|
};
|
|
31
38
|
|
|
32
39
|
const upb_MiniTable xds__type__v3__CelExpression_msg_init = {
|
|
33
40
|
&xds_type_v3_CelExpression__submsgs[0],
|
|
34
41
|
&xds_type_v3_CelExpression__fields[0],
|
|
35
|
-
UPB_SIZE(
|
|
42
|
+
UPB_SIZE(40, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0,
|
|
36
43
|
#ifdef UPB_TRACING_ENABLED
|
|
37
44
|
"xds.type.v3.CelExpression",
|
|
38
45
|
#endif
|
|
39
46
|
UPB_FASTTABLE_INIT({
|
|
40
47
|
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
|
|
41
|
-
{
|
|
42
|
-
{
|
|
48
|
+
{0x0030000c0100000a, &upb_pom_1bt_maxmaxb},
|
|
49
|
+
{0x0030000c02010012, &upb_pom_1bt_maxmaxb},
|
|
50
|
+
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
|
|
51
|
+
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
|
|
52
|
+
{0x001000003f00002a, &upb_pss_1bt},
|
|
53
|
+
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
|
|
43
54
|
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
|
|
44
55
|
})
|
|
45
56
|
};
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
/* This file was generated by upb_generator from the input file:
|
|
2
|
+
*
|
|
3
|
+
* cel/expr/checked.proto
|
|
4
|
+
*
|
|
5
|
+
* Do not edit -- your changes will be discarded when the file is
|
|
6
|
+
* regenerated.
|
|
7
|
+
* NO CHECKED-IN PROTOBUF GENCODE */
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
#include "upb/reflection/def.h"
|
|
11
|
+
#include "cel/expr/checked.upbdefs.h"
|
|
12
|
+
#include "cel/expr/checked.upb_minitable.h"
|
|
13
|
+
|
|
14
|
+
extern _upb_DefPool_Init cel_expr_syntax_proto_upbdefinit;
|
|
15
|
+
extern _upb_DefPool_Init google_protobuf_empty_proto_upbdefinit;
|
|
16
|
+
extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit;
|
|
17
|
+
|
|
18
|
+
static const char descriptor[2579] = {
|
|
19
|
+
'\n', '\026', 'c', 'e', 'l', '/', 'e', 'x', 'p', 'r', '/', 'c',
|
|
20
|
+
'h', 'e', 'c', 'k', 'e', 'd', '.', 'p', 'r', 'o', 't', 'o',
|
|
21
|
+
'\022', '\010', 'c', 'e', 'l', '.', 'e', 'x', 'p', 'r', '\032', '\025',
|
|
22
|
+
'c', 'e', 'l', '/', 'e', 'x', 'p', 'r', '/', 's', 'y', 'n',
|
|
23
|
+
't', 'a', 'x', '.', 'p', 'r', 'o', 't', 'o', '\032', '\033', 'g',
|
|
24
|
+
'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b',
|
|
25
|
+
'u', 'f', '/', 'e', 'm', 'p', 't', 'y', '.', 'p', 'r', 'o',
|
|
26
|
+
't', 'o', '\032', '\034', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p',
|
|
27
|
+
'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 's', 't', 'r', 'u',
|
|
28
|
+
'c', 't', '.', 'p', 'r', 'o', 't', 'o', '\"', '\272', '\003', '\n',
|
|
29
|
+
'\013', 'C', 'h', 'e', 'c', 'k', 'e', 'd', 'E', 'x', 'p', 'r',
|
|
30
|
+
'\022', 'L', '\n', '\r', 'r', 'e', 'f', 'e', 'r', 'e', 'n', 'c',
|
|
31
|
+
'e', '_', 'm', 'a', 'p', '\030', '\002', ' ', '\003', '(', '\013', '2',
|
|
32
|
+
'\'', '.', 'c', 'e', 'l', '.', 'e', 'x', 'p', 'r', '.', 'C',
|
|
33
|
+
'h', 'e', 'c', 'k', 'e', 'd', 'E', 'x', 'p', 'r', '.', 'R',
|
|
34
|
+
'e', 'f', 'e', 'r', 'e', 'n', 'c', 'e', 'M', 'a', 'p', 'E',
|
|
35
|
+
'n', 't', 'r', 'y', 'R', '\014', 'r', 'e', 'f', 'e', 'r', 'e',
|
|
36
|
+
'n', 'c', 'e', 'M', 'a', 'p', '\022', '=', '\n', '\010', 't', 'y',
|
|
37
|
+
'p', 'e', '_', 'm', 'a', 'p', '\030', '\003', ' ', '\003', '(', '\013',
|
|
38
|
+
'2', '\"', '.', 'c', 'e', 'l', '.', 'e', 'x', 'p', 'r', '.',
|
|
39
|
+
'C', 'h', 'e', 'c', 'k', 'e', 'd', 'E', 'x', 'p', 'r', '.',
|
|
40
|
+
'T', 'y', 'p', 'e', 'M', 'a', 'p', 'E', 'n', 't', 'r', 'y',
|
|
41
|
+
'R', '\007', 't', 'y', 'p', 'e', 'M', 'a', 'p', '\022', '5', '\n',
|
|
42
|
+
'\013', 's', 'o', 'u', 'r', 'c', 'e', '_', 'i', 'n', 'f', 'o',
|
|
43
|
+
'\030', '\005', ' ', '\001', '(', '\013', '2', '\024', '.', 'c', 'e', 'l',
|
|
44
|
+
'.', 'e', 'x', 'p', 'r', '.', 'S', 'o', 'u', 'r', 'c', 'e',
|
|
45
|
+
'I', 'n', 'f', 'o', 'R', '\n', 's', 'o', 'u', 'r', 'c', 'e',
|
|
46
|
+
'I', 'n', 'f', 'o', '\022', '!', '\n', '\014', 'e', 'x', 'p', 'r',
|
|
47
|
+
'_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '\030', '\006', ' ', '\001',
|
|
48
|
+
'(', '\t', 'R', '\013', 'e', 'x', 'p', 'r', 'V', 'e', 'r', 's',
|
|
49
|
+
'i', 'o', 'n', '\022', '\"', '\n', '\004', 'e', 'x', 'p', 'r', '\030',
|
|
50
|
+
'\004', ' ', '\001', '(', '\013', '2', '\016', '.', 'c', 'e', 'l', '.',
|
|
51
|
+
'e', 'x', 'p', 'r', '.', 'E', 'x', 'p', 'r', 'R', '\004', 'e',
|
|
52
|
+
'x', 'p', 'r', '\032', 'T', '\n', '\021', 'R', 'e', 'f', 'e', 'r',
|
|
53
|
+
'e', 'n', 'c', 'e', 'M', 'a', 'p', 'E', 'n', 't', 'r', 'y',
|
|
54
|
+
'\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(',
|
|
55
|
+
'\003', 'R', '\003', 'k', 'e', 'y', '\022', ')', '\n', '\005', 'v', 'a',
|
|
56
|
+
'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\023', '.',
|
|
57
|
+
'c', 'e', 'l', '.', 'e', 'x', 'p', 'r', '.', 'R', 'e', 'f',
|
|
58
|
+
'e', 'r', 'e', 'n', 'c', 'e', 'R', '\005', 'v', 'a', 'l', 'u',
|
|
59
|
+
'e', ':', '\002', '8', '\001', '\032', 'J', '\n', '\014', 'T', 'y', 'p',
|
|
60
|
+
'e', 'M', 'a', 'p', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n',
|
|
61
|
+
'\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\003', 'R', '\003',
|
|
62
|
+
'k', 'e', 'y', '\022', '$', '\n', '\005', 'v', 'a', 'l', 'u', 'e',
|
|
63
|
+
'\030', '\002', ' ', '\001', '(', '\013', '2', '\016', '.', 'c', 'e', 'l',
|
|
64
|
+
'.', 'e', 'x', 'p', 'r', '.', 'T', 'y', 'p', 'e', 'R', '\005',
|
|
65
|
+
'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', '\"', '\346', '\t',
|
|
66
|
+
'\n', '\004', 'T', 'y', 'p', 'e', '\022', '*', '\n', '\003', 'd', 'y',
|
|
67
|
+
'n', '\030', '\001', ' ', '\001', '(', '\013', '2', '\026', '.', 'g', 'o',
|
|
68
|
+
'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u',
|
|
69
|
+
'f', '.', 'E', 'm', 'p', 't', 'y', 'H', '\000', 'R', '\003', 'd',
|
|
70
|
+
'y', 'n', '\022', '0', '\n', '\004', 'n', 'u', 'l', 'l', '\030', '\002',
|
|
71
|
+
' ', '\001', '(', '\016', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l',
|
|
72
|
+
'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'N',
|
|
73
|
+
'u', 'l', 'l', 'V', 'a', 'l', 'u', 'e', 'H', '\000', 'R', '\004',
|
|
74
|
+
'n', 'u', 'l', 'l', '\022', '<', '\n', '\t', 'p', 'r', 'i', 'm',
|
|
75
|
+
'i', 't', 'i', 'v', 'e', '\030', '\003', ' ', '\001', '(', '\016', '2',
|
|
76
|
+
'\034', '.', 'c', 'e', 'l', '.', 'e', 'x', 'p', 'r', '.', 'T',
|
|
77
|
+
'y', 'p', 'e', '.', 'P', 'r', 'i', 'm', 'i', 't', 'i', 'v',
|
|
78
|
+
'e', 'T', 'y', 'p', 'e', 'H', '\000', 'R', '\t', 'p', 'r', 'i',
|
|
79
|
+
'm', 'i', 't', 'i', 'v', 'e', '\022', '8', '\n', '\007', 'w', 'r',
|
|
80
|
+
'a', 'p', 'p', 'e', 'r', '\030', '\004', ' ', '\001', '(', '\016', '2',
|
|
81
|
+
'\034', '.', 'c', 'e', 'l', '.', 'e', 'x', 'p', 'r', '.', 'T',
|
|
82
|
+
'y', 'p', 'e', '.', 'P', 'r', 'i', 'm', 'i', 't', 'i', 'v',
|
|
83
|
+
'e', 'T', 'y', 'p', 'e', 'H', '\000', 'R', '\007', 'w', 'r', 'a',
|
|
84
|
+
'p', 'p', 'e', 'r', '\022', '=', '\n', '\n', 'w', 'e', 'l', 'l',
|
|
85
|
+
'_', 'k', 'n', 'o', 'w', 'n', '\030', '\005', ' ', '\001', '(', '\016',
|
|
86
|
+
'2', '\034', '.', 'c', 'e', 'l', '.', 'e', 'x', 'p', 'r', '.',
|
|
87
|
+
'T', 'y', 'p', 'e', '.', 'W', 'e', 'l', 'l', 'K', 'n', 'o',
|
|
88
|
+
'w', 'n', 'T', 'y', 'p', 'e', 'H', '\000', 'R', '\t', 'w', 'e',
|
|
89
|
+
'l', 'l', 'K', 'n', 'o', 'w', 'n', '\022', '6', '\n', '\t', 'l',
|
|
90
|
+
'i', 's', 't', '_', 't', 'y', 'p', 'e', '\030', '\006', ' ', '\001',
|
|
91
|
+
'(', '\013', '2', '\027', '.', 'c', 'e', 'l', '.', 'e', 'x', 'p',
|
|
92
|
+
'r', '.', 'T', 'y', 'p', 'e', '.', 'L', 'i', 's', 't', 'T',
|
|
93
|
+
'y', 'p', 'e', 'H', '\000', 'R', '\010', 'l', 'i', 's', 't', 'T',
|
|
94
|
+
'y', 'p', 'e', '\022', '3', '\n', '\010', 'm', 'a', 'p', '_', 't',
|
|
95
|
+
'y', 'p', 'e', '\030', '\007', ' ', '\001', '(', '\013', '2', '\026', '.',
|
|
96
|
+
'c', 'e', 'l', '.', 'e', 'x', 'p', 'r', '.', 'T', 'y', 'p',
|
|
97
|
+
'e', '.', 'M', 'a', 'p', 'T', 'y', 'p', 'e', 'H', '\000', 'R',
|
|
98
|
+
'\007', 'm', 'a', 'p', 'T', 'y', 'p', 'e', '\022', '9', '\n', '\010',
|
|
99
|
+
'f', 'u', 'n', 'c', 't', 'i', 'o', 'n', '\030', '\010', ' ', '\001',
|
|
100
|
+
'(', '\013', '2', '\033', '.', 'c', 'e', 'l', '.', 'e', 'x', 'p',
|
|
101
|
+
'r', '.', 'T', 'y', 'p', 'e', '.', 'F', 'u', 'n', 'c', 't',
|
|
102
|
+
'i', 'o', 'n', 'T', 'y', 'p', 'e', 'H', '\000', 'R', '\010', 'f',
|
|
103
|
+
'u', 'n', 'c', 't', 'i', 'o', 'n', '\022', '#', '\n', '\014', 'm',
|
|
104
|
+
'e', 's', 's', 'a', 'g', 'e', '_', 't', 'y', 'p', 'e', '\030',
|
|
105
|
+
'\t', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\013', 'm', 'e', 's',
|
|
106
|
+
's', 'a', 'g', 'e', 'T', 'y', 'p', 'e', '\022', '\037', '\n', '\n',
|
|
107
|
+
't', 'y', 'p', 'e', '_', 'p', 'a', 'r', 'a', 'm', '\030', '\n',
|
|
108
|
+
' ', '\001', '(', '\t', 'H', '\000', 'R', '\t', 't', 'y', 'p', 'e',
|
|
109
|
+
'P', 'a', 'r', 'a', 'm', '\022', '$', '\n', '\004', 't', 'y', 'p',
|
|
110
|
+
'e', '\030', '\013', ' ', '\001', '(', '\013', '2', '\016', '.', 'c', 'e',
|
|
111
|
+
'l', '.', 'e', 'x', 'p', 'r', '.', 'T', 'y', 'p', 'e', 'H',
|
|
112
|
+
'\000', 'R', '\004', 't', 'y', 'p', 'e', '\022', '.', '\n', '\005', 'e',
|
|
113
|
+
'r', 'r', 'o', 'r', '\030', '\014', ' ', '\001', '(', '\013', '2', '\026',
|
|
114
|
+
'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't',
|
|
115
|
+
'o', 'b', 'u', 'f', '.', 'E', 'm', 'p', 't', 'y', 'H', '\000',
|
|
116
|
+
'R', '\005', 'e', 'r', 'r', 'o', 'r', '\022', 'B', '\n', '\r', 'a',
|
|
117
|
+
'b', 's', 't', 'r', 'a', 'c', 't', '_', 't', 'y', 'p', 'e',
|
|
118
|
+
'\030', '\016', ' ', '\001', '(', '\013', '2', '\033', '.', 'c', 'e', 'l',
|
|
119
|
+
'.', 'e', 'x', 'p', 'r', '.', 'T', 'y', 'p', 'e', '.', 'A',
|
|
120
|
+
'b', 's', 't', 'r', 'a', 'c', 't', 'T', 'y', 'p', 'e', 'H',
|
|
121
|
+
'\000', 'R', '\014', 'a', 'b', 's', 't', 'r', 'a', 'c', 't', 'T',
|
|
122
|
+
'y', 'p', 'e', '\032', '7', '\n', '\010', 'L', 'i', 's', 't', 'T',
|
|
123
|
+
'y', 'p', 'e', '\022', '+', '\n', '\t', 'e', 'l', 'e', 'm', '_',
|
|
124
|
+
't', 'y', 'p', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\016',
|
|
125
|
+
'.', 'c', 'e', 'l', '.', 'e', 'x', 'p', 'r', '.', 'T', 'y',
|
|
126
|
+
'p', 'e', 'R', '\010', 'e', 'l', 'e', 'm', 'T', 'y', 'p', 'e',
|
|
127
|
+
'\032', 'c', '\n', '\007', 'M', 'a', 'p', 'T', 'y', 'p', 'e', '\022',
|
|
128
|
+
')', '\n', '\010', 'k', 'e', 'y', '_', 't', 'y', 'p', 'e', '\030',
|
|
129
|
+
'\001', ' ', '\001', '(', '\013', '2', '\016', '.', 'c', 'e', 'l', '.',
|
|
130
|
+
'e', 'x', 'p', 'r', '.', 'T', 'y', 'p', 'e', 'R', '\007', 'k',
|
|
131
|
+
'e', 'y', 'T', 'y', 'p', 'e', '\022', '-', '\n', '\n', 'v', 'a',
|
|
132
|
+
'l', 'u', 'e', '_', 't', 'y', 'p', 'e', '\030', '\002', ' ', '\001',
|
|
133
|
+
'(', '\013', '2', '\016', '.', 'c', 'e', 'l', '.', 'e', 'x', 'p',
|
|
134
|
+
'r', '.', 'T', 'y', 'p', 'e', 'R', '\t', 'v', 'a', 'l', 'u',
|
|
135
|
+
'e', 'T', 'y', 'p', 'e', '\032', 'l', '\n', '\014', 'F', 'u', 'n',
|
|
136
|
+
'c', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', '\022', '/', '\n',
|
|
137
|
+
'\013', 'r', 'e', 's', 'u', 'l', 't', '_', 't', 'y', 'p', 'e',
|
|
138
|
+
'\030', '\001', ' ', '\001', '(', '\013', '2', '\016', '.', 'c', 'e', 'l',
|
|
139
|
+
'.', 'e', 'x', 'p', 'r', '.', 'T', 'y', 'p', 'e', 'R', '\n',
|
|
140
|
+
'r', 'e', 's', 'u', 'l', 't', 'T', 'y', 'p', 'e', '\022', '+',
|
|
141
|
+
'\n', '\t', 'a', 'r', 'g', '_', 't', 'y', 'p', 'e', 's', '\030',
|
|
142
|
+
'\002', ' ', '\003', '(', '\013', '2', '\016', '.', 'c', 'e', 'l', '.',
|
|
143
|
+
'e', 'x', 'p', 'r', '.', 'T', 'y', 'p', 'e', 'R', '\010', 'a',
|
|
144
|
+
'r', 'g', 'T', 'y', 'p', 'e', 's', '\032', '[', '\n', '\014', 'A',
|
|
145
|
+
'b', 's', 't', 'r', 'a', 'c', 't', 'T', 'y', 'p', 'e', '\022',
|
|
146
|
+
'\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(',
|
|
147
|
+
'\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '7', '\n', '\017', 'p',
|
|
148
|
+
'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', '_', 't', 'y', 'p',
|
|
149
|
+
'e', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', '\016', '.', 'c',
|
|
150
|
+
'e', 'l', '.', 'e', 'x', 'p', 'r', '.', 'T', 'y', 'p', 'e',
|
|
151
|
+
'R', '\016', 'p', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'T',
|
|
152
|
+
'y', 'p', 'e', 's', '\"', 's', '\n', '\r', 'P', 'r', 'i', 'm',
|
|
153
|
+
'i', 't', 'i', 'v', 'e', 'T', 'y', 'p', 'e', '\022', '\036', '\n',
|
|
154
|
+
'\032', 'P', 'R', 'I', 'M', 'I', 'T', 'I', 'V', 'E', '_', 'T',
|
|
155
|
+
'Y', 'P', 'E', '_', 'U', 'N', 'S', 'P', 'E', 'C', 'I', 'F',
|
|
156
|
+
'I', 'E', 'D', '\020', '\000', '\022', '\010', '\n', '\004', 'B', 'O', 'O',
|
|
157
|
+
'L', '\020', '\001', '\022', '\t', '\n', '\005', 'I', 'N', 'T', '6', '4',
|
|
158
|
+
'\020', '\002', '\022', '\n', '\n', '\006', 'U', 'I', 'N', 'T', '6', '4',
|
|
159
|
+
'\020', '\003', '\022', '\n', '\n', '\006', 'D', 'O', 'U', 'B', 'L', 'E',
|
|
160
|
+
'\020', '\004', '\022', '\n', '\n', '\006', 'S', 'T', 'R', 'I', 'N', 'G',
|
|
161
|
+
'\020', '\005', '\022', '\t', '\n', '\005', 'B', 'Y', 'T', 'E', 'S', '\020',
|
|
162
|
+
'\006', '\"', 'V', '\n', '\r', 'W', 'e', 'l', 'l', 'K', 'n', 'o',
|
|
163
|
+
'w', 'n', 'T', 'y', 'p', 'e', '\022', '\037', '\n', '\033', 'W', 'E',
|
|
164
|
+
'L', 'L', '_', 'K', 'N', 'O', 'W', 'N', '_', 'T', 'Y', 'P',
|
|
165
|
+
'E', '_', 'U', 'N', 'S', 'P', 'E', 'C', 'I', 'F', 'I', 'E',
|
|
166
|
+
'D', '\020', '\000', '\022', '\007', '\n', '\003', 'A', 'N', 'Y', '\020', '\001',
|
|
167
|
+
'\022', '\r', '\n', '\t', 'T', 'I', 'M', 'E', 'S', 'T', 'A', 'M',
|
|
168
|
+
'P', '\020', '\002', '\022', '\014', '\n', '\010', 'D', 'U', 'R', 'A', 'T',
|
|
169
|
+
'I', 'O', 'N', '\020', '\003', 'B', '\013', '\n', '\t', 't', 'y', 'p',
|
|
170
|
+
'e', '_', 'k', 'i', 'n', 'd', '\"', '\324', '\004', '\n', '\004', 'D',
|
|
171
|
+
'e', 'c', 'l', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030',
|
|
172
|
+
'\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022',
|
|
173
|
+
'0', '\n', '\005', 'i', 'd', 'e', 'n', 't', '\030', '\002', ' ', '\001',
|
|
174
|
+
'(', '\013', '2', '\030', '.', 'c', 'e', 'l', '.', 'e', 'x', 'p',
|
|
175
|
+
'r', '.', 'D', 'e', 'c', 'l', '.', 'I', 'd', 'e', 'n', 't',
|
|
176
|
+
'D', 'e', 'c', 'l', 'H', '\000', 'R', '\005', 'i', 'd', 'e', 'n',
|
|
177
|
+
't', '\022', '9', '\n', '\010', 'f', 'u', 'n', 'c', 't', 'i', 'o',
|
|
178
|
+
'n', '\030', '\003', ' ', '\001', '(', '\013', '2', '\033', '.', 'c', 'e',
|
|
179
|
+
'l', '.', 'e', 'x', 'p', 'r', '.', 'D', 'e', 'c', 'l', '.',
|
|
180
|
+
'F', 'u', 'n', 'c', 't', 'i', 'o', 'n', 'D', 'e', 'c', 'l',
|
|
181
|
+
'H', '\000', 'R', '\010', 'f', 'u', 'n', 'c', 't', 'i', 'o', 'n',
|
|
182
|
+
'\032', 'k', '\n', '\t', 'I', 'd', 'e', 'n', 't', 'D', 'e', 'c',
|
|
183
|
+
'l', '\022', '\"', '\n', '\004', 't', 'y', 'p', 'e', '\030', '\001', ' ',
|
|
184
|
+
'\001', '(', '\013', '2', '\016', '.', 'c', 'e', 'l', '.', 'e', 'x',
|
|
185
|
+
'p', 'r', '.', 'T', 'y', 'p', 'e', 'R', '\004', 't', 'y', 'p',
|
|
186
|
+
'e', '\022', '(', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002',
|
|
187
|
+
' ', '\001', '(', '\013', '2', '\022', '.', 'c', 'e', 'l', '.', 'e',
|
|
188
|
+
'x', 'p', 'r', '.', 'C', 'o', 'n', 's', 't', 'a', 'n', 't',
|
|
189
|
+
'R', '\005', 'v', 'a', 'l', 'u', 'e', '\022', '\020', '\n', '\003', 'd',
|
|
190
|
+
'o', 'c', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\003', 'd', 'o',
|
|
191
|
+
'c', '\032', '\320', '\002', '\n', '\014', 'F', 'u', 'n', 'c', 't', 'i',
|
|
192
|
+
'o', 'n', 'D', 'e', 'c', 'l', '\022', 'B', '\n', '\t', 'o', 'v',
|
|
193
|
+
'e', 'r', 'l', 'o', 'a', 'd', 's', '\030', '\001', ' ', '\003', '(',
|
|
194
|
+
'\013', '2', '$', '.', 'c', 'e', 'l', '.', 'e', 'x', 'p', 'r',
|
|
195
|
+
'.', 'D', 'e', 'c', 'l', '.', 'F', 'u', 'n', 'c', 't', 'i',
|
|
196
|
+
'o', 'n', 'D', 'e', 'c', 'l', '.', 'O', 'v', 'e', 'r', 'l',
|
|
197
|
+
'o', 'a', 'd', 'R', '\t', 'o', 'v', 'e', 'r', 'l', 'o', 'a',
|
|
198
|
+
'd', 's', '\022', '\020', '\n', '\003', 'd', 'o', 'c', '\030', '\002', ' ',
|
|
199
|
+
'\001', '(', '\t', 'R', '\003', 'd', 'o', 'c', '\032', '\351', '\001', '\n',
|
|
200
|
+
'\010', 'O', 'v', 'e', 'r', 'l', 'o', 'a', 'd', '\022', '\037', '\n',
|
|
201
|
+
'\013', 'o', 'v', 'e', 'r', 'l', 'o', 'a', 'd', '_', 'i', 'd',
|
|
202
|
+
'\030', '\001', ' ', '\001', '(', '\t', 'R', '\n', 'o', 'v', 'e', 'r',
|
|
203
|
+
'l', 'o', 'a', 'd', 'I', 'd', '\022', '&', '\n', '\006', 'p', 'a',
|
|
204
|
+
'r', 'a', 'm', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', '\016',
|
|
205
|
+
'.', 'c', 'e', 'l', '.', 'e', 'x', 'p', 'r', '.', 'T', 'y',
|
|
206
|
+
'p', 'e', 'R', '\006', 'p', 'a', 'r', 'a', 'm', 's', '\022', '\037',
|
|
207
|
+
'\n', '\013', 't', 'y', 'p', 'e', '_', 'p', 'a', 'r', 'a', 'm',
|
|
208
|
+
's', '\030', '\003', ' ', '\003', '(', '\t', 'R', '\n', 't', 'y', 'p',
|
|
209
|
+
'e', 'P', 'a', 'r', 'a', 'm', 's', '\022', '/', '\n', '\013', 'r',
|
|
210
|
+
'e', 's', 'u', 'l', 't', '_', 't', 'y', 'p', 'e', '\030', '\004',
|
|
211
|
+
' ', '\001', '(', '\013', '2', '\016', '.', 'c', 'e', 'l', '.', 'e',
|
|
212
|
+
'x', 'p', 'r', '.', 'T', 'y', 'p', 'e', 'R', '\n', 'r', 'e',
|
|
213
|
+
's', 'u', 'l', 't', 'T', 'y', 'p', 'e', '\022', '0', '\n', '\024',
|
|
214
|
+
'i', 's', '_', 'i', 'n', 's', 't', 'a', 'n', 'c', 'e', '_',
|
|
215
|
+
'f', 'u', 'n', 'c', 't', 'i', 'o', 'n', '\030', '\005', ' ', '\001',
|
|
216
|
+
'(', '\010', 'R', '\022', 'i', 's', 'I', 'n', 's', 't', 'a', 'n',
|
|
217
|
+
'c', 'e', 'F', 'u', 'n', 'c', 't', 'i', 'o', 'n', '\022', '\020',
|
|
218
|
+
'\n', '\003', 'd', 'o', 'c', '\030', '\006', ' ', '\001', '(', '\t', 'R',
|
|
219
|
+
'\003', 'd', 'o', 'c', 'B', '\013', '\n', '\t', 'd', 'e', 'c', 'l',
|
|
220
|
+
'_', 'k', 'i', 'n', 'd', '\"', 'j', '\n', '\t', 'R', 'e', 'f',
|
|
221
|
+
'e', 'r', 'e', 'n', 'c', 'e', '\022', '\022', '\n', '\004', 'n', 'a',
|
|
222
|
+
'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a',
|
|
223
|
+
'm', 'e', '\022', '\037', '\n', '\013', 'o', 'v', 'e', 'r', 'l', 'o',
|
|
224
|
+
'a', 'd', '_', 'i', 'd', '\030', '\003', ' ', '\003', '(', '\t', 'R',
|
|
225
|
+
'\n', 'o', 'v', 'e', 'r', 'l', 'o', 'a', 'd', 'I', 'd', '\022',
|
|
226
|
+
'(', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\004', ' ', '\001',
|
|
227
|
+
'(', '\013', '2', '\022', '.', 'c', 'e', 'l', '.', 'e', 'x', 'p',
|
|
228
|
+
'r', '.', 'C', 'o', 'n', 's', 't', 'a', 'n', 't', 'R', '\005',
|
|
229
|
+
'v', 'a', 'l', 'u', 'e', 'B', ',', '\n', '\014', 'd', 'e', 'v',
|
|
230
|
+
'.', 'c', 'e', 'l', '.', 'e', 'x', 'p', 'r', 'B', '\t', 'D',
|
|
231
|
+
'e', 'c', 'l', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '\014',
|
|
232
|
+
'c', 'e', 'l', '.', 'd', 'e', 'v', '/', 'e', 'x', 'p', 'r',
|
|
233
|
+
'\370', '\001', '\001', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3',
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
static _upb_DefPool_Init *deps[4] = {
|
|
237
|
+
&cel_expr_syntax_proto_upbdefinit,
|
|
238
|
+
&google_protobuf_empty_proto_upbdefinit,
|
|
239
|
+
&google_protobuf_struct_proto_upbdefinit,
|
|
240
|
+
NULL,
|
|
241
|
+
};
|
|
242
|
+
|
|
243
|
+
_upb_DefPool_Init cel_expr_checked_proto_upbdefinit = {
|
|
244
|
+
deps,
|
|
245
|
+
&cel_expr_checked_proto_upb_file_layout,
|
|
246
|
+
"cel/expr/checked.proto",
|
|
247
|
+
UPB_STRINGVIEW_INIT(descriptor, sizeof(descriptor)),
|
|
248
|
+
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/* This file was generated by upb_generator from the input file:
|
|
2
|
+
*
|
|
3
|
+
* cel/expr/checked.proto
|
|
4
|
+
*
|
|
5
|
+
* Do not edit -- your changes will be discarded when the file is
|
|
6
|
+
* regenerated.
|
|
7
|
+
* NO CHECKED-IN PROTOBUF GENCODE */
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
#ifndef CEL_EXPR_CHECKED_PROTO_UPB_H__UPBDEFS_H_
|
|
12
|
+
#define CEL_EXPR_CHECKED_PROTO_UPB_H__UPBDEFS_H_
|
|
13
|
+
|
|
14
|
+
#include "upb/reflection/def.h"
|
|
15
|
+
#include "upb/reflection/internal/def_pool.h"
|
|
16
|
+
|
|
17
|
+
#include "upb/port/def.inc"
|
|
18
|
+
|
|
19
|
+
#ifdef __cplusplus
|
|
20
|
+
extern "C" {
|
|
21
|
+
#endif
|
|
22
|
+
|
|
23
|
+
extern _upb_DefPool_Init cel_expr_checked_proto_upbdefinit;
|
|
24
|
+
|
|
25
|
+
UPB_INLINE const upb_MessageDef *cel_expr_CheckedExpr_getmsgdef(upb_DefPool *s) {
|
|
26
|
+
_upb_DefPool_LoadDefInit(s, &cel_expr_checked_proto_upbdefinit);
|
|
27
|
+
return upb_DefPool_FindMessageByName(s, "cel.expr.CheckedExpr");
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
UPB_INLINE const upb_MessageDef *cel_expr_CheckedExpr_ReferenceMapEntry_getmsgdef(upb_DefPool *s) {
|
|
31
|
+
_upb_DefPool_LoadDefInit(s, &cel_expr_checked_proto_upbdefinit);
|
|
32
|
+
return upb_DefPool_FindMessageByName(s, "cel.expr.CheckedExpr.ReferenceMapEntry");
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
UPB_INLINE const upb_MessageDef *cel_expr_CheckedExpr_TypeMapEntry_getmsgdef(upb_DefPool *s) {
|
|
36
|
+
_upb_DefPool_LoadDefInit(s, &cel_expr_checked_proto_upbdefinit);
|
|
37
|
+
return upb_DefPool_FindMessageByName(s, "cel.expr.CheckedExpr.TypeMapEntry");
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
UPB_INLINE const upb_MessageDef *cel_expr_Type_getmsgdef(upb_DefPool *s) {
|
|
41
|
+
_upb_DefPool_LoadDefInit(s, &cel_expr_checked_proto_upbdefinit);
|
|
42
|
+
return upb_DefPool_FindMessageByName(s, "cel.expr.Type");
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
UPB_INLINE const upb_MessageDef *cel_expr_Type_ListType_getmsgdef(upb_DefPool *s) {
|
|
46
|
+
_upb_DefPool_LoadDefInit(s, &cel_expr_checked_proto_upbdefinit);
|
|
47
|
+
return upb_DefPool_FindMessageByName(s, "cel.expr.Type.ListType");
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
UPB_INLINE const upb_MessageDef *cel_expr_Type_MapType_getmsgdef(upb_DefPool *s) {
|
|
51
|
+
_upb_DefPool_LoadDefInit(s, &cel_expr_checked_proto_upbdefinit);
|
|
52
|
+
return upb_DefPool_FindMessageByName(s, "cel.expr.Type.MapType");
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
UPB_INLINE const upb_MessageDef *cel_expr_Type_FunctionType_getmsgdef(upb_DefPool *s) {
|
|
56
|
+
_upb_DefPool_LoadDefInit(s, &cel_expr_checked_proto_upbdefinit);
|
|
57
|
+
return upb_DefPool_FindMessageByName(s, "cel.expr.Type.FunctionType");
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
UPB_INLINE const upb_MessageDef *cel_expr_Type_AbstractType_getmsgdef(upb_DefPool *s) {
|
|
61
|
+
_upb_DefPool_LoadDefInit(s, &cel_expr_checked_proto_upbdefinit);
|
|
62
|
+
return upb_DefPool_FindMessageByName(s, "cel.expr.Type.AbstractType");
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
UPB_INLINE const upb_MessageDef *cel_expr_Decl_getmsgdef(upb_DefPool *s) {
|
|
66
|
+
_upb_DefPool_LoadDefInit(s, &cel_expr_checked_proto_upbdefinit);
|
|
67
|
+
return upb_DefPool_FindMessageByName(s, "cel.expr.Decl");
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
UPB_INLINE const upb_MessageDef *cel_expr_Decl_IdentDecl_getmsgdef(upb_DefPool *s) {
|
|
71
|
+
_upb_DefPool_LoadDefInit(s, &cel_expr_checked_proto_upbdefinit);
|
|
72
|
+
return upb_DefPool_FindMessageByName(s, "cel.expr.Decl.IdentDecl");
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
UPB_INLINE const upb_MessageDef *cel_expr_Decl_FunctionDecl_getmsgdef(upb_DefPool *s) {
|
|
76
|
+
_upb_DefPool_LoadDefInit(s, &cel_expr_checked_proto_upbdefinit);
|
|
77
|
+
return upb_DefPool_FindMessageByName(s, "cel.expr.Decl.FunctionDecl");
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
UPB_INLINE const upb_MessageDef *cel_expr_Decl_FunctionDecl_Overload_getmsgdef(upb_DefPool *s) {
|
|
81
|
+
_upb_DefPool_LoadDefInit(s, &cel_expr_checked_proto_upbdefinit);
|
|
82
|
+
return upb_DefPool_FindMessageByName(s, "cel.expr.Decl.FunctionDecl.Overload");
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
UPB_INLINE const upb_MessageDef *cel_expr_Reference_getmsgdef(upb_DefPool *s) {
|
|
86
|
+
_upb_DefPool_LoadDefInit(s, &cel_expr_checked_proto_upbdefinit);
|
|
87
|
+
return upb_DefPool_FindMessageByName(s, "cel.expr.Reference");
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
#ifdef __cplusplus
|
|
92
|
+
} /* extern "C" */
|
|
93
|
+
#endif
|
|
94
|
+
|
|
95
|
+
#include "upb/port/undef.inc"
|
|
96
|
+
|
|
97
|
+
#endif /* CEL_EXPR_CHECKED_PROTO_UPB_H__UPBDEFS_H_ */
|