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 ENVOY_CONFIG_COMMON_MATCHER_V3_MATCHER_PROTO_UPB_H__UPB_H_
|
|
11
11
|
|
|
12
12
|
#include "upb/generated_code_support.h"
|
|
13
|
-
|
|
14
13
|
#include "envoy/config/common/matcher/v3/matcher.upb_minitable.h"
|
|
15
|
-
|
|
16
14
|
#include "envoy/config/core/v3/extension.upb_minitable.h"
|
|
17
15
|
#include "envoy/config/route/v3/route_components.upb_minitable.h"
|
|
18
16
|
#include "envoy/type/matcher/v3/string.upb_minitable.h"
|
|
@@ -25,21 +23,62 @@
|
|
|
25
23
|
#ifdef __cplusplus
|
|
26
24
|
extern "C" {
|
|
27
25
|
#endif
|
|
26
|
+
typedef struct envoy_config_common_matcher_v3_Matcher {
|
|
27
|
+
upb_Message UPB_PRIVATE(base);
|
|
28
|
+
} envoy_config_common_matcher_v3_Matcher;
|
|
29
|
+
|
|
30
|
+
typedef struct envoy_config_common_matcher_v3_Matcher_OnMatch {
|
|
31
|
+
upb_Message UPB_PRIVATE(base);
|
|
32
|
+
} envoy_config_common_matcher_v3_Matcher_OnMatch;
|
|
33
|
+
|
|
34
|
+
typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList {
|
|
35
|
+
upb_Message UPB_PRIVATE(base);
|
|
36
|
+
} envoy_config_common_matcher_v3_Matcher_MatcherList;
|
|
37
|
+
|
|
38
|
+
typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate {
|
|
39
|
+
upb_Message UPB_PRIVATE(base);
|
|
40
|
+
} envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate;
|
|
41
|
+
|
|
42
|
+
typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate {
|
|
43
|
+
upb_Message UPB_PRIVATE(base);
|
|
44
|
+
} envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate;
|
|
45
|
+
|
|
46
|
+
typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList {
|
|
47
|
+
upb_Message UPB_PRIVATE(base);
|
|
48
|
+
} envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList;
|
|
49
|
+
|
|
50
|
+
typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher {
|
|
51
|
+
upb_Message UPB_PRIVATE(base);
|
|
52
|
+
} envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher;
|
|
53
|
+
|
|
54
|
+
typedef struct envoy_config_common_matcher_v3_Matcher_MatcherTree {
|
|
55
|
+
upb_Message UPB_PRIVATE(base);
|
|
56
|
+
} envoy_config_common_matcher_v3_Matcher_MatcherTree;
|
|
57
|
+
|
|
58
|
+
typedef struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap {
|
|
59
|
+
upb_Message UPB_PRIVATE(base);
|
|
60
|
+
} envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap;
|
|
61
|
+
|
|
62
|
+
typedef struct envoy_config_common_matcher_v3_MatchPredicate {
|
|
63
|
+
upb_Message UPB_PRIVATE(base);
|
|
64
|
+
} envoy_config_common_matcher_v3_MatchPredicate;
|
|
65
|
+
|
|
66
|
+
typedef struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet {
|
|
67
|
+
upb_Message UPB_PRIVATE(base);
|
|
68
|
+
} envoy_config_common_matcher_v3_MatchPredicate_MatchSet;
|
|
69
|
+
|
|
70
|
+
typedef struct envoy_config_common_matcher_v3_HttpHeadersMatch {
|
|
71
|
+
upb_Message UPB_PRIVATE(base);
|
|
72
|
+
} envoy_config_common_matcher_v3_HttpHeadersMatch;
|
|
73
|
+
|
|
74
|
+
typedef struct envoy_config_common_matcher_v3_HttpGenericBodyMatch {
|
|
75
|
+
upb_Message UPB_PRIVATE(base);
|
|
76
|
+
} envoy_config_common_matcher_v3_HttpGenericBodyMatch;
|
|
77
|
+
|
|
78
|
+
typedef struct envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch {
|
|
79
|
+
upb_Message UPB_PRIVATE(base);
|
|
80
|
+
} envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch;
|
|
28
81
|
|
|
29
|
-
typedef struct envoy_config_common_matcher_v3_Matcher { upb_Message UPB_PRIVATE(base); } envoy_config_common_matcher_v3_Matcher;
|
|
30
|
-
typedef struct envoy_config_common_matcher_v3_Matcher_OnMatch { upb_Message UPB_PRIVATE(base); } envoy_config_common_matcher_v3_Matcher_OnMatch;
|
|
31
|
-
typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList { upb_Message UPB_PRIVATE(base); } envoy_config_common_matcher_v3_Matcher_MatcherList;
|
|
32
|
-
typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate { upb_Message UPB_PRIVATE(base); } envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate;
|
|
33
|
-
typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate { upb_Message UPB_PRIVATE(base); } envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate;
|
|
34
|
-
typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList { upb_Message UPB_PRIVATE(base); } envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList;
|
|
35
|
-
typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher { upb_Message UPB_PRIVATE(base); } envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher;
|
|
36
|
-
typedef struct envoy_config_common_matcher_v3_Matcher_MatcherTree { upb_Message UPB_PRIVATE(base); } envoy_config_common_matcher_v3_Matcher_MatcherTree;
|
|
37
|
-
typedef struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap { upb_Message UPB_PRIVATE(base); } envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap;
|
|
38
|
-
typedef struct envoy_config_common_matcher_v3_MatchPredicate { upb_Message UPB_PRIVATE(base); } envoy_config_common_matcher_v3_MatchPredicate;
|
|
39
|
-
typedef struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet { upb_Message UPB_PRIVATE(base); } envoy_config_common_matcher_v3_MatchPredicate_MatchSet;
|
|
40
|
-
typedef struct envoy_config_common_matcher_v3_HttpHeadersMatch { upb_Message UPB_PRIVATE(base); } envoy_config_common_matcher_v3_HttpHeadersMatch;
|
|
41
|
-
typedef struct envoy_config_common_matcher_v3_HttpGenericBodyMatch { upb_Message UPB_PRIVATE(base); } envoy_config_common_matcher_v3_HttpGenericBodyMatch;
|
|
42
|
-
typedef struct envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch { upb_Message UPB_PRIVATE(base); } envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch;
|
|
43
82
|
struct envoy_config_core_v3_TypedExtensionConfig;
|
|
44
83
|
struct envoy_config_route_v3_HeaderMatcher;
|
|
45
84
|
struct envoy_type_matcher_v3_StringMatcher;
|
|
@@ -47,37 +86,39 @@ struct envoy_type_matcher_v3_StringMatcher;
|
|
|
47
86
|
|
|
48
87
|
|
|
49
88
|
/* envoy.config.common.matcher.v3.Matcher */
|
|
50
|
-
|
|
51
89
|
UPB_INLINE envoy_config_common_matcher_v3_Matcher* envoy_config_common_matcher_v3_Matcher_new(upb_Arena* arena) {
|
|
52
90
|
return (envoy_config_common_matcher_v3_Matcher*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher_msg_init, arena);
|
|
53
91
|
}
|
|
54
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher* envoy_config_common_matcher_v3_Matcher_parse(const char* buf, size_t size,
|
|
92
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher* envoy_config_common_matcher_v3_Matcher_parse(const char* buf, size_t size,
|
|
93
|
+
upb_Arena* arena) {
|
|
55
94
|
envoy_config_common_matcher_v3_Matcher* ret = envoy_config_common_matcher_v3_Matcher_new(arena);
|
|
56
95
|
if (!ret) return NULL;
|
|
57
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher_msg_init, NULL, 0,
|
|
58
|
-
|
|
96
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher_msg_init, NULL, 0,
|
|
97
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
59
98
|
return NULL;
|
|
60
99
|
}
|
|
61
100
|
return ret;
|
|
62
101
|
}
|
|
63
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher* envoy_config_common_matcher_v3_Matcher_parse_ex(
|
|
64
|
-
|
|
65
|
-
|
|
102
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher* envoy_config_common_matcher_v3_Matcher_parse_ex(
|
|
103
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
104
|
+
int options, upb_Arena* arena) {
|
|
66
105
|
envoy_config_common_matcher_v3_Matcher* ret = envoy_config_common_matcher_v3_Matcher_new(arena);
|
|
67
106
|
if (!ret) return NULL;
|
|
68
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher_msg_init, extreg,
|
|
69
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
107
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher_msg_init, extreg,
|
|
108
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
70
109
|
return NULL;
|
|
71
110
|
}
|
|
72
111
|
return ret;
|
|
73
112
|
}
|
|
74
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_serialize(const envoy_config_common_matcher_v3_Matcher* msg,
|
|
113
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_serialize(const envoy_config_common_matcher_v3_Matcher* msg,
|
|
114
|
+
upb_Arena* arena, size_t* len) {
|
|
75
115
|
char* ptr;
|
|
76
116
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher_msg_init, 0, arena, &ptr, len);
|
|
77
117
|
return ptr;
|
|
78
118
|
}
|
|
79
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_serialize_ex(const envoy_config_common_matcher_v3_Matcher* msg,
|
|
80
|
-
|
|
119
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_serialize_ex(const envoy_config_common_matcher_v3_Matcher* msg,
|
|
120
|
+
int options, upb_Arena* arena,
|
|
121
|
+
size_t* len) {
|
|
81
122
|
char* ptr;
|
|
82
123
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher_msg_init, options, arena, &ptr, len);
|
|
83
124
|
return ptr;
|
|
@@ -87,73 +128,76 @@ typedef enum {
|
|
|
87
128
|
envoy_config_common_matcher_v3_Matcher_matcher_type_matcher_tree = 2,
|
|
88
129
|
envoy_config_common_matcher_v3_Matcher_matcher_type_NOT_SET = 0
|
|
89
130
|
} envoy_config_common_matcher_v3_Matcher_matcher_type_oneofcases;
|
|
90
|
-
|
|
91
|
-
|
|
131
|
+
|
|
132
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_matcher_type_oneofcases
|
|
133
|
+
envoy_config_common_matcher_v3_Matcher_matcher_type_case(const envoy_config_common_matcher_v3_Matcher* msg) {
|
|
134
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 24), 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)};
|
|
92
135
|
return (envoy_config_common_matcher_v3_Matcher_matcher_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
93
136
|
UPB_UPCAST(msg), &field);
|
|
94
137
|
}
|
|
95
138
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_clear_matcher_type(envoy_config_common_matcher_v3_Matcher* msg) {
|
|
96
|
-
const upb_MiniTableField field = {1, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
139
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 24), 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)};
|
|
97
140
|
upb_Message_ClearOneof(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher_msg_init, &field);
|
|
98
141
|
}
|
|
99
142
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_clear_matcher_list(envoy_config_common_matcher_v3_Matcher* msg) {
|
|
100
|
-
const upb_MiniTableField field = {1, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
143
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 24), 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)};
|
|
101
144
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
102
145
|
}
|
|
103
146
|
UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_config_common_matcher_v3_Matcher_matcher_list(const envoy_config_common_matcher_v3_Matcher* msg) {
|
|
104
147
|
const envoy_config_common_matcher_v3_Matcher_MatcherList* default_val = NULL;
|
|
105
148
|
const envoy_config_common_matcher_v3_Matcher_MatcherList* ret;
|
|
106
|
-
const upb_MiniTableField field = {1, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
149
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 24), 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)};
|
|
107
150
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init);
|
|
108
151
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
109
152
|
&default_val, &ret);
|
|
110
153
|
return ret;
|
|
111
154
|
}
|
|
112
155
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_has_matcher_list(const envoy_config_common_matcher_v3_Matcher* msg) {
|
|
113
|
-
const upb_MiniTableField field = {1, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
156
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 24), 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)};
|
|
114
157
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
115
158
|
}
|
|
116
159
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_clear_matcher_tree(envoy_config_common_matcher_v3_Matcher* msg) {
|
|
117
|
-
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
160
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
118
161
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
119
162
|
}
|
|
120
163
|
UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_config_common_matcher_v3_Matcher_matcher_tree(const envoy_config_common_matcher_v3_Matcher* msg) {
|
|
121
164
|
const envoy_config_common_matcher_v3_Matcher_MatcherTree* default_val = NULL;
|
|
122
165
|
const envoy_config_common_matcher_v3_Matcher_MatcherTree* ret;
|
|
123
|
-
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
166
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
124
167
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init);
|
|
125
168
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
126
169
|
&default_val, &ret);
|
|
127
170
|
return ret;
|
|
128
171
|
}
|
|
129
172
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_has_matcher_tree(const envoy_config_common_matcher_v3_Matcher* msg) {
|
|
130
|
-
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
173
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
131
174
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
132
175
|
}
|
|
133
176
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_clear_on_no_match(envoy_config_common_matcher_v3_Matcher* msg) {
|
|
134
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 64,
|
|
177
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 64, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
135
178
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
136
179
|
}
|
|
137
180
|
UPB_INLINE const envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_on_no_match(const envoy_config_common_matcher_v3_Matcher* msg) {
|
|
138
181
|
const envoy_config_common_matcher_v3_Matcher_OnMatch* default_val = NULL;
|
|
139
182
|
const envoy_config_common_matcher_v3_Matcher_OnMatch* ret;
|
|
140
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 64,
|
|
183
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 64, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
141
184
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init);
|
|
142
185
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
143
186
|
&default_val, &ret);
|
|
144
187
|
return ret;
|
|
145
188
|
}
|
|
146
189
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_has_on_no_match(const envoy_config_common_matcher_v3_Matcher* msg) {
|
|
147
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 64,
|
|
190
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 64, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
148
191
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
149
192
|
}
|
|
150
193
|
|
|
151
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_set_matcher_list(envoy_config_common_matcher_v3_Matcher
|
|
152
|
-
const upb_MiniTableField field = {1, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
194
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_set_matcher_list(envoy_config_common_matcher_v3_Matcher* msg, envoy_config_common_matcher_v3_Matcher_MatcherList* value) {
|
|
195
|
+
const upb_MiniTableField field = {1, UPB_SIZE(20, 24), 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)};
|
|
153
196
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init);
|
|
154
|
-
upb_Message_SetBaseField((upb_Message
|
|
197
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
155
198
|
}
|
|
156
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_config_common_matcher_v3_Matcher_mutable_matcher_list(
|
|
199
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_config_common_matcher_v3_Matcher_mutable_matcher_list(
|
|
200
|
+
envoy_config_common_matcher_v3_Matcher* msg, upb_Arena* arena) {
|
|
157
201
|
struct envoy_config_common_matcher_v3_Matcher_MatcherList* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList*)envoy_config_common_matcher_v3_Matcher_matcher_list(msg);
|
|
158
202
|
if (sub == NULL) {
|
|
159
203
|
sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init, arena);
|
|
@@ -161,12 +205,13 @@ UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_conf
|
|
|
161
205
|
}
|
|
162
206
|
return sub;
|
|
163
207
|
}
|
|
164
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_set_matcher_tree(envoy_config_common_matcher_v3_Matcher
|
|
165
|
-
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
208
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_set_matcher_tree(envoy_config_common_matcher_v3_Matcher* msg, envoy_config_common_matcher_v3_Matcher_MatcherTree* value) {
|
|
209
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
166
210
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init);
|
|
167
|
-
upb_Message_SetBaseField((upb_Message
|
|
211
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
168
212
|
}
|
|
169
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_config_common_matcher_v3_Matcher_mutable_matcher_tree(
|
|
213
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_config_common_matcher_v3_Matcher_mutable_matcher_tree(
|
|
214
|
+
envoy_config_common_matcher_v3_Matcher* msg, upb_Arena* arena) {
|
|
170
215
|
struct envoy_config_common_matcher_v3_Matcher_MatcherTree* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherTree*)envoy_config_common_matcher_v3_Matcher_matcher_tree(msg);
|
|
171
216
|
if (sub == NULL) {
|
|
172
217
|
sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherTree*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init, arena);
|
|
@@ -174,12 +219,13 @@ UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_conf
|
|
|
174
219
|
}
|
|
175
220
|
return sub;
|
|
176
221
|
}
|
|
177
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_set_on_no_match(envoy_config_common_matcher_v3_Matcher
|
|
178
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 64,
|
|
222
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_set_on_no_match(envoy_config_common_matcher_v3_Matcher* msg, envoy_config_common_matcher_v3_Matcher_OnMatch* value) {
|
|
223
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 64, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
179
224
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init);
|
|
180
|
-
upb_Message_SetBaseField((upb_Message
|
|
225
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
181
226
|
}
|
|
182
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_mutable_on_no_match(
|
|
227
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_mutable_on_no_match(
|
|
228
|
+
envoy_config_common_matcher_v3_Matcher* msg, upb_Arena* arena) {
|
|
183
229
|
struct envoy_config_common_matcher_v3_Matcher_OnMatch* sub = (struct envoy_config_common_matcher_v3_Matcher_OnMatch*)envoy_config_common_matcher_v3_Matcher_on_no_match(msg);
|
|
184
230
|
if (sub == NULL) {
|
|
185
231
|
sub = (struct envoy_config_common_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init, arena);
|
|
@@ -189,37 +235,39 @@ UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_c
|
|
|
189
235
|
}
|
|
190
236
|
|
|
191
237
|
/* envoy.config.common.matcher.v3.Matcher.OnMatch */
|
|
192
|
-
|
|
193
238
|
UPB_INLINE envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_OnMatch_new(upb_Arena* arena) {
|
|
194
239
|
return (envoy_config_common_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init, arena);
|
|
195
240
|
}
|
|
196
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_OnMatch_parse(const char* buf, size_t size,
|
|
241
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_OnMatch_parse(const char* buf, size_t size,
|
|
242
|
+
upb_Arena* arena) {
|
|
197
243
|
envoy_config_common_matcher_v3_Matcher_OnMatch* ret = envoy_config_common_matcher_v3_Matcher_OnMatch_new(arena);
|
|
198
244
|
if (!ret) return NULL;
|
|
199
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init, NULL, 0,
|
|
200
|
-
|
|
245
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init, NULL, 0,
|
|
246
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
201
247
|
return NULL;
|
|
202
248
|
}
|
|
203
249
|
return ret;
|
|
204
250
|
}
|
|
205
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_OnMatch_parse_ex(
|
|
206
|
-
|
|
207
|
-
|
|
251
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_OnMatch_parse_ex(
|
|
252
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
253
|
+
int options, upb_Arena* arena) {
|
|
208
254
|
envoy_config_common_matcher_v3_Matcher_OnMatch* ret = envoy_config_common_matcher_v3_Matcher_OnMatch_new(arena);
|
|
209
255
|
if (!ret) return NULL;
|
|
210
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init, extreg,
|
|
211
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
256
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init, extreg,
|
|
257
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
212
258
|
return NULL;
|
|
213
259
|
}
|
|
214
260
|
return ret;
|
|
215
261
|
}
|
|
216
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_OnMatch_serialize(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg,
|
|
262
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_OnMatch_serialize(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg,
|
|
263
|
+
upb_Arena* arena, size_t* len) {
|
|
217
264
|
char* ptr;
|
|
218
265
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init, 0, arena, &ptr, len);
|
|
219
266
|
return ptr;
|
|
220
267
|
}
|
|
221
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_OnMatch_serialize_ex(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg,
|
|
222
|
-
|
|
268
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_OnMatch_serialize_ex(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg,
|
|
269
|
+
int options, upb_Arena* arena,
|
|
270
|
+
size_t* len) {
|
|
223
271
|
char* ptr;
|
|
224
272
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init, options, arena, &ptr, len);
|
|
225
273
|
return ptr;
|
|
@@ -229,47 +277,49 @@ typedef enum {
|
|
|
229
277
|
envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_action = 2,
|
|
230
278
|
envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_NOT_SET = 0
|
|
231
279
|
} envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_oneofcases;
|
|
232
|
-
|
|
233
|
-
|
|
280
|
+
|
|
281
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_oneofcases
|
|
282
|
+
envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_case(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg) {
|
|
283
|
+
const upb_MiniTableField field = {1, 16, -13, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
234
284
|
return (envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
235
285
|
UPB_UPCAST(msg), &field);
|
|
236
286
|
}
|
|
237
287
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_OnMatch_clear_on_match(envoy_config_common_matcher_v3_Matcher_OnMatch* msg) {
|
|
238
|
-
const upb_MiniTableField field = {1, 16, -13,
|
|
288
|
+
const upb_MiniTableField field = {1, 16, -13, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
239
289
|
upb_Message_ClearOneof(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init, &field);
|
|
240
290
|
}
|
|
241
291
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_OnMatch_clear_matcher(envoy_config_common_matcher_v3_Matcher_OnMatch* msg) {
|
|
242
|
-
const upb_MiniTableField field = {1, 16, -13,
|
|
292
|
+
const upb_MiniTableField field = {1, 16, -13, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
243
293
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
244
294
|
}
|
|
245
295
|
UPB_INLINE const envoy_config_common_matcher_v3_Matcher* envoy_config_common_matcher_v3_Matcher_OnMatch_matcher(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg) {
|
|
246
296
|
const envoy_config_common_matcher_v3_Matcher* default_val = NULL;
|
|
247
297
|
const envoy_config_common_matcher_v3_Matcher* ret;
|
|
248
|
-
const upb_MiniTableField field = {1, 16, -13,
|
|
298
|
+
const upb_MiniTableField field = {1, 16, -13, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
249
299
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher_msg_init);
|
|
250
300
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
251
301
|
&default_val, &ret);
|
|
252
302
|
return ret;
|
|
253
303
|
}
|
|
254
304
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_OnMatch_has_matcher(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg) {
|
|
255
|
-
const upb_MiniTableField field = {1, 16, -13,
|
|
305
|
+
const upb_MiniTableField field = {1, 16, -13, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
256
306
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
257
307
|
}
|
|
258
308
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_OnMatch_clear_action(envoy_config_common_matcher_v3_Matcher_OnMatch* msg) {
|
|
259
|
-
const upb_MiniTableField field = {2, 16, -13,
|
|
309
|
+
const upb_MiniTableField field = {2, 16, -13, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
260
310
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
261
311
|
}
|
|
262
312
|
UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_OnMatch_action(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg) {
|
|
263
313
|
const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
|
|
264
314
|
const struct envoy_config_core_v3_TypedExtensionConfig* ret;
|
|
265
|
-
const upb_MiniTableField field = {2, 16, -13,
|
|
315
|
+
const upb_MiniTableField field = {2, 16, -13, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
266
316
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__TypedExtensionConfig_msg_init);
|
|
267
317
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
268
318
|
&default_val, &ret);
|
|
269
319
|
return ret;
|
|
270
320
|
}
|
|
271
321
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_OnMatch_has_action(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg) {
|
|
272
|
-
const upb_MiniTableField field = {2, 16, -13,
|
|
322
|
+
const upb_MiniTableField field = {2, 16, -13, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
273
323
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
274
324
|
}
|
|
275
325
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_OnMatch_clear_keep_matching(envoy_config_common_matcher_v3_Matcher_OnMatch* msg) {
|
|
@@ -285,12 +335,13 @@ UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_OnMatch_keep_matching(con
|
|
|
285
335
|
return ret;
|
|
286
336
|
}
|
|
287
337
|
|
|
288
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_OnMatch_set_matcher(envoy_config_common_matcher_v3_Matcher_OnMatch
|
|
289
|
-
const upb_MiniTableField field = {1, 16, -13,
|
|
338
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_OnMatch_set_matcher(envoy_config_common_matcher_v3_Matcher_OnMatch* msg, envoy_config_common_matcher_v3_Matcher* value) {
|
|
339
|
+
const upb_MiniTableField field = {1, 16, -13, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
290
340
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher_msg_init);
|
|
291
|
-
upb_Message_SetBaseField((upb_Message
|
|
341
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
292
342
|
}
|
|
293
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher* envoy_config_common_matcher_v3_Matcher_OnMatch_mutable_matcher(
|
|
343
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher* envoy_config_common_matcher_v3_Matcher_OnMatch_mutable_matcher(
|
|
344
|
+
envoy_config_common_matcher_v3_Matcher_OnMatch* msg, upb_Arena* arena) {
|
|
294
345
|
struct envoy_config_common_matcher_v3_Matcher* sub = (struct envoy_config_common_matcher_v3_Matcher*)envoy_config_common_matcher_v3_Matcher_OnMatch_matcher(msg);
|
|
295
346
|
if (sub == NULL) {
|
|
296
347
|
sub = (struct envoy_config_common_matcher_v3_Matcher*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher_msg_init, arena);
|
|
@@ -298,12 +349,13 @@ UPB_INLINE struct envoy_config_common_matcher_v3_Matcher* envoy_config_common_ma
|
|
|
298
349
|
}
|
|
299
350
|
return sub;
|
|
300
351
|
}
|
|
301
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_OnMatch_set_action(envoy_config_common_matcher_v3_Matcher_OnMatch
|
|
302
|
-
const upb_MiniTableField field = {2, 16, -13,
|
|
352
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_OnMatch_set_action(envoy_config_common_matcher_v3_Matcher_OnMatch* msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
|
|
353
|
+
const upb_MiniTableField field = {2, 16, -13, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
303
354
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__TypedExtensionConfig_msg_init);
|
|
304
|
-
upb_Message_SetBaseField((upb_Message
|
|
355
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
305
356
|
}
|
|
306
|
-
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_OnMatch_mutable_action(
|
|
357
|
+
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_OnMatch_mutable_action(
|
|
358
|
+
envoy_config_common_matcher_v3_Matcher_OnMatch* msg, upb_Arena* arena) {
|
|
307
359
|
struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_common_matcher_v3_Matcher_OnMatch_action(msg);
|
|
308
360
|
if (sub == NULL) {
|
|
309
361
|
sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena);
|
|
@@ -311,53 +363,56 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common
|
|
|
311
363
|
}
|
|
312
364
|
return sub;
|
|
313
365
|
}
|
|
314
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_OnMatch_set_keep_matching(envoy_config_common_matcher_v3_Matcher_OnMatch
|
|
366
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_OnMatch_set_keep_matching(envoy_config_common_matcher_v3_Matcher_OnMatch* msg, bool value) {
|
|
315
367
|
const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
|
316
|
-
upb_Message_SetBaseField((upb_Message
|
|
368
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
317
369
|
}
|
|
318
370
|
|
|
319
371
|
/* envoy.config.common.matcher.v3.Matcher.MatcherList */
|
|
320
|
-
|
|
321
372
|
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_config_common_matcher_v3_Matcher_MatcherList_new(upb_Arena* arena) {
|
|
322
373
|
return (envoy_config_common_matcher_v3_Matcher_MatcherList*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init, arena);
|
|
323
374
|
}
|
|
324
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_config_common_matcher_v3_Matcher_MatcherList_parse(const char* buf, size_t size,
|
|
375
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_config_common_matcher_v3_Matcher_MatcherList_parse(const char* buf, size_t size,
|
|
376
|
+
upb_Arena* arena) {
|
|
325
377
|
envoy_config_common_matcher_v3_Matcher_MatcherList* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_new(arena);
|
|
326
378
|
if (!ret) return NULL;
|
|
327
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init, NULL, 0,
|
|
328
|
-
|
|
379
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init, NULL, 0,
|
|
380
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
329
381
|
return NULL;
|
|
330
382
|
}
|
|
331
383
|
return ret;
|
|
332
384
|
}
|
|
333
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_config_common_matcher_v3_Matcher_MatcherList_parse_ex(
|
|
334
|
-
|
|
335
|
-
|
|
385
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_config_common_matcher_v3_Matcher_MatcherList_parse_ex(
|
|
386
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
387
|
+
int options, upb_Arena* arena) {
|
|
336
388
|
envoy_config_common_matcher_v3_Matcher_MatcherList* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_new(arena);
|
|
337
389
|
if (!ret) return NULL;
|
|
338
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init, extreg,
|
|
339
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
390
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init, extreg,
|
|
391
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
340
392
|
return NULL;
|
|
341
393
|
}
|
|
342
394
|
return ret;
|
|
343
395
|
}
|
|
344
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList* msg,
|
|
396
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList* msg,
|
|
397
|
+
upb_Arena* arena, size_t* len) {
|
|
345
398
|
char* ptr;
|
|
346
399
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init, 0, arena, &ptr, len);
|
|
347
400
|
return ptr;
|
|
348
401
|
}
|
|
349
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList* msg,
|
|
350
|
-
|
|
402
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList* msg,
|
|
403
|
+
int options, upb_Arena* arena,
|
|
404
|
+
size_t* len) {
|
|
351
405
|
char* ptr;
|
|
352
406
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init, options, arena, &ptr, len);
|
|
353
407
|
return ptr;
|
|
354
408
|
}
|
|
355
409
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_clear_matchers(envoy_config_common_matcher_v3_Matcher_MatcherList* msg) {
|
|
356
|
-
const upb_MiniTableField field = {1, 8, 0,
|
|
410
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
357
411
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
358
412
|
}
|
|
359
|
-
UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* const* envoy_config_common_matcher_v3_Matcher_MatcherList_matchers(const envoy_config_common_matcher_v3_Matcher_MatcherList* msg,
|
|
360
|
-
|
|
413
|
+
UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* const* envoy_config_common_matcher_v3_Matcher_MatcherList_matchers(const envoy_config_common_matcher_v3_Matcher_MatcherList* msg,
|
|
414
|
+
size_t* size) {
|
|
415
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
361
416
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init);
|
|
362
417
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
363
418
|
if (arr) {
|
|
@@ -368,8 +423,11 @@ UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher
|
|
|
368
423
|
return NULL;
|
|
369
424
|
}
|
|
370
425
|
}
|
|
371
|
-
|
|
372
|
-
|
|
426
|
+
|
|
427
|
+
//
|
|
428
|
+
UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_Matcher_MatcherList_matchers_upb_array(
|
|
429
|
+
const envoy_config_common_matcher_v3_Matcher_MatcherList* msg, size_t* size) {
|
|
430
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
373
431
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init);
|
|
374
432
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
375
433
|
if (size) {
|
|
@@ -377,8 +435,10 @@ UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_Matcher_MatcherList_
|
|
|
377
435
|
}
|
|
378
436
|
return arr;
|
|
379
437
|
}
|
|
380
|
-
|
|
381
|
-
|
|
438
|
+
|
|
439
|
+
UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_Matcher_MatcherList_matchers_mutable_upb_array(
|
|
440
|
+
envoy_config_common_matcher_v3_Matcher_MatcherList* msg, size_t* size, upb_Arena* arena) {
|
|
441
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
382
442
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init);
|
|
383
443
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
384
444
|
&field, arena);
|
|
@@ -388,8 +448,9 @@ UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_Matcher_MatcherList_matche
|
|
|
388
448
|
return arr;
|
|
389
449
|
}
|
|
390
450
|
|
|
391
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher** envoy_config_common_matcher_v3_Matcher_MatcherList_mutable_matchers(envoy_config_common_matcher_v3_Matcher_MatcherList* msg,
|
|
392
|
-
|
|
451
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher** envoy_config_common_matcher_v3_Matcher_MatcherList_mutable_matchers(envoy_config_common_matcher_v3_Matcher_MatcherList* msg,
|
|
452
|
+
size_t* size) {
|
|
453
|
+
upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
393
454
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init);
|
|
394
455
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
395
456
|
if (arr) {
|
|
@@ -400,13 +461,18 @@ UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher** env
|
|
|
400
461
|
return NULL;
|
|
401
462
|
}
|
|
402
463
|
}
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
464
|
+
|
|
465
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher** envoy_config_common_matcher_v3_Matcher_MatcherList_resize_matchers(envoy_config_common_matcher_v3_Matcher_MatcherList* msg,
|
|
466
|
+
size_t size,
|
|
467
|
+
upb_Arena* arena) {
|
|
468
|
+
upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
469
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init);
|
|
470
|
+
return (envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher**)upb_Message_ResizeArrayUninitialized(
|
|
471
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
407
472
|
}
|
|
408
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_add_matchers(
|
|
409
|
-
|
|
473
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_add_matchers(
|
|
474
|
+
envoy_config_common_matcher_v3_Matcher_MatcherList* msg, upb_Arena* arena) {
|
|
475
|
+
upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
410
476
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init);
|
|
411
477
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
412
478
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -414,7 +480,8 @@ UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatche
|
|
|
414
480
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
415
481
|
return NULL;
|
|
416
482
|
}
|
|
417
|
-
struct envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* sub =
|
|
483
|
+
struct envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* sub =
|
|
484
|
+
(struct envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, arena);
|
|
418
485
|
if (!arr || !sub) return NULL;
|
|
419
486
|
UPB_PRIVATE(_upb_Array_Set)
|
|
420
487
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
@@ -422,37 +489,39 @@ UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatche
|
|
|
422
489
|
}
|
|
423
490
|
|
|
424
491
|
/* envoy.config.common.matcher.v3.Matcher.MatcherList.Predicate */
|
|
425
|
-
|
|
426
492
|
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_new(upb_Arena* arena) {
|
|
427
493
|
return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, arena);
|
|
428
494
|
}
|
|
429
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_parse(const char* buf, size_t size,
|
|
495
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_parse(const char* buf, size_t size,
|
|
496
|
+
upb_Arena* arena) {
|
|
430
497
|
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_new(arena);
|
|
431
498
|
if (!ret) return NULL;
|
|
432
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, NULL, 0,
|
|
433
|
-
|
|
499
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, NULL, 0,
|
|
500
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
434
501
|
return NULL;
|
|
435
502
|
}
|
|
436
503
|
return ret;
|
|
437
504
|
}
|
|
438
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_parse_ex(
|
|
439
|
-
|
|
440
|
-
|
|
505
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_parse_ex(
|
|
506
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
507
|
+
int options, upb_Arena* arena) {
|
|
441
508
|
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_new(arena);
|
|
442
509
|
if (!ret) return NULL;
|
|
443
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, extreg,
|
|
444
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
510
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, extreg,
|
|
511
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
445
512
|
return NULL;
|
|
446
513
|
}
|
|
447
514
|
return ret;
|
|
448
515
|
}
|
|
449
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg,
|
|
516
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg,
|
|
517
|
+
upb_Arena* arena, size_t* len) {
|
|
450
518
|
char* ptr;
|
|
451
519
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, 0, arena, &ptr, len);
|
|
452
520
|
return ptr;
|
|
453
521
|
}
|
|
454
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg,
|
|
455
|
-
|
|
522
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg,
|
|
523
|
+
int options, upb_Arena* arena,
|
|
524
|
+
size_t* len) {
|
|
456
525
|
char* ptr;
|
|
457
526
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, options, arena, &ptr, len);
|
|
458
527
|
return ptr;
|
|
@@ -464,90 +533,93 @@ typedef enum {
|
|
|
464
533
|
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_not_matcher = 4,
|
|
465
534
|
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_NOT_SET = 0
|
|
466
535
|
} envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_oneofcases;
|
|
467
|
-
|
|
468
|
-
|
|
536
|
+
|
|
537
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_oneofcases
|
|
538
|
+
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_case(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) {
|
|
539
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
469
540
|
return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
470
541
|
UPB_UPCAST(msg), &field);
|
|
471
542
|
}
|
|
472
543
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_clear_match_type(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) {
|
|
473
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
544
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
474
545
|
upb_Message_ClearOneof(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, &field);
|
|
475
546
|
}
|
|
476
547
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_clear_single_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) {
|
|
477
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
548
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
478
549
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
479
550
|
}
|
|
480
551
|
UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_single_predicate(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) {
|
|
481
552
|
const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* default_val = NULL;
|
|
482
553
|
const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* ret;
|
|
483
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
554
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
484
555
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init);
|
|
485
556
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
486
557
|
&default_val, &ret);
|
|
487
558
|
return ret;
|
|
488
559
|
}
|
|
489
560
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_has_single_predicate(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) {
|
|
490
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
561
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
491
562
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
492
563
|
}
|
|
493
564
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_clear_or_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) {
|
|
494
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9,
|
|
565
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
495
566
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
496
567
|
}
|
|
497
568
|
UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_or_matcher(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) {
|
|
498
569
|
const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* default_val = NULL;
|
|
499
570
|
const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret;
|
|
500
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9,
|
|
571
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
501
572
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init);
|
|
502
573
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
503
574
|
&default_val, &ret);
|
|
504
575
|
return ret;
|
|
505
576
|
}
|
|
506
577
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_has_or_matcher(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) {
|
|
507
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9,
|
|
578
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
508
579
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
509
580
|
}
|
|
510
581
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_clear_and_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) {
|
|
511
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9,
|
|
582
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
512
583
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
513
584
|
}
|
|
514
585
|
UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_and_matcher(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) {
|
|
515
586
|
const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* default_val = NULL;
|
|
516
587
|
const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret;
|
|
517
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9,
|
|
588
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
518
589
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init);
|
|
519
590
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
520
591
|
&default_val, &ret);
|
|
521
592
|
return ret;
|
|
522
593
|
}
|
|
523
594
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_has_and_matcher(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) {
|
|
524
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9,
|
|
595
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
525
596
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
526
597
|
}
|
|
527
598
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_clear_not_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) {
|
|
528
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9,
|
|
599
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
529
600
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
530
601
|
}
|
|
531
602
|
UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_not_matcher(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) {
|
|
532
603
|
const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* default_val = NULL;
|
|
533
604
|
const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* ret;
|
|
534
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9,
|
|
605
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
535
606
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init);
|
|
536
607
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
537
608
|
&default_val, &ret);
|
|
538
609
|
return ret;
|
|
539
610
|
}
|
|
540
611
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_has_not_matcher(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) {
|
|
541
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9,
|
|
612
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
542
613
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
543
614
|
}
|
|
544
615
|
|
|
545
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_single_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate
|
|
546
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
616
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_single_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* value) {
|
|
617
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
547
618
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init);
|
|
548
|
-
upb_Message_SetBaseField((upb_Message
|
|
619
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
549
620
|
}
|
|
550
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_mutable_single_predicate(
|
|
621
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_mutable_single_predicate(
|
|
622
|
+
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) {
|
|
551
623
|
struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_single_predicate(msg);
|
|
552
624
|
if (sub == NULL) {
|
|
553
625
|
sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, arena);
|
|
@@ -555,12 +627,13 @@ UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_S
|
|
|
555
627
|
}
|
|
556
628
|
return sub;
|
|
557
629
|
}
|
|
558
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_or_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate
|
|
559
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9,
|
|
630
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_or_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* value) {
|
|
631
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
560
632
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init);
|
|
561
|
-
upb_Message_SetBaseField((upb_Message
|
|
633
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
562
634
|
}
|
|
563
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_mutable_or_matcher(
|
|
635
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_mutable_or_matcher(
|
|
636
|
+
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) {
|
|
564
637
|
struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_or_matcher(msg);
|
|
565
638
|
if (sub == NULL) {
|
|
566
639
|
sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, arena);
|
|
@@ -568,12 +641,13 @@ UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_P
|
|
|
568
641
|
}
|
|
569
642
|
return sub;
|
|
570
643
|
}
|
|
571
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_and_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate
|
|
572
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9,
|
|
644
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_and_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* value) {
|
|
645
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
573
646
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init);
|
|
574
|
-
upb_Message_SetBaseField((upb_Message
|
|
647
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
575
648
|
}
|
|
576
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_mutable_and_matcher(
|
|
649
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_mutable_and_matcher(
|
|
650
|
+
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) {
|
|
577
651
|
struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_and_matcher(msg);
|
|
578
652
|
if (sub == NULL) {
|
|
579
653
|
sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, arena);
|
|
@@ -581,12 +655,13 @@ UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_P
|
|
|
581
655
|
}
|
|
582
656
|
return sub;
|
|
583
657
|
}
|
|
584
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_not_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate
|
|
585
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9,
|
|
658
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_not_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* value) {
|
|
659
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
586
660
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init);
|
|
587
|
-
upb_Message_SetBaseField((upb_Message
|
|
661
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
588
662
|
}
|
|
589
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_mutable_not_matcher(
|
|
663
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_mutable_not_matcher(
|
|
664
|
+
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) {
|
|
590
665
|
struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_not_matcher(msg);
|
|
591
666
|
if (sub == NULL) {
|
|
592
667
|
sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, arena);
|
|
@@ -596,37 +671,39 @@ UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*
|
|
|
596
671
|
}
|
|
597
672
|
|
|
598
673
|
/* envoy.config.common.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate */
|
|
599
|
-
|
|
600
674
|
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_new(upb_Arena* arena) {
|
|
601
675
|
return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, arena);
|
|
602
676
|
}
|
|
603
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_parse(const char* buf, size_t size,
|
|
677
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_parse(const char* buf, size_t size,
|
|
678
|
+
upb_Arena* arena) {
|
|
604
679
|
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_new(arena);
|
|
605
680
|
if (!ret) return NULL;
|
|
606
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, NULL, 0,
|
|
607
|
-
|
|
681
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, NULL, 0,
|
|
682
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
608
683
|
return NULL;
|
|
609
684
|
}
|
|
610
685
|
return ret;
|
|
611
686
|
}
|
|
612
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_parse_ex(
|
|
613
|
-
|
|
614
|
-
|
|
687
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_parse_ex(
|
|
688
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
689
|
+
int options, upb_Arena* arena) {
|
|
615
690
|
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_new(arena);
|
|
616
691
|
if (!ret) return NULL;
|
|
617
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, extreg,
|
|
618
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
692
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, extreg,
|
|
693
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
619
694
|
return NULL;
|
|
620
695
|
}
|
|
621
696
|
return ret;
|
|
622
697
|
}
|
|
623
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg,
|
|
698
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg,
|
|
699
|
+
upb_Arena* arena, size_t* len) {
|
|
624
700
|
char* ptr;
|
|
625
701
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, 0, arena, &ptr, len);
|
|
626
702
|
return ptr;
|
|
627
703
|
}
|
|
628
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg,
|
|
629
|
-
|
|
704
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg,
|
|
705
|
+
int options, upb_Arena* arena,
|
|
706
|
+
size_t* len) {
|
|
630
707
|
char* ptr;
|
|
631
708
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, options, arena, &ptr, len);
|
|
632
709
|
return ptr;
|
|
@@ -636,73 +713,76 @@ typedef enum {
|
|
|
636
713
|
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_custom_match = 3,
|
|
637
714
|
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_NOT_SET = 0
|
|
638
715
|
} envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_oneofcases;
|
|
639
|
-
|
|
640
|
-
|
|
716
|
+
|
|
717
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_oneofcases
|
|
718
|
+
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_case(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) {
|
|
719
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
641
720
|
return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
642
721
|
UPB_UPCAST(msg), &field);
|
|
643
722
|
}
|
|
644
723
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_clear_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) {
|
|
645
|
-
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
724
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
646
725
|
upb_Message_ClearOneof(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, &field);
|
|
647
726
|
}
|
|
648
727
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_clear_input(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) {
|
|
649
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
728
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
650
729
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
651
730
|
}
|
|
652
731
|
UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_input(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) {
|
|
653
732
|
const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
|
|
654
733
|
const struct envoy_config_core_v3_TypedExtensionConfig* ret;
|
|
655
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
734
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
656
735
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__TypedExtensionConfig_msg_init);
|
|
657
736
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
658
737
|
&default_val, &ret);
|
|
659
738
|
return ret;
|
|
660
739
|
}
|
|
661
740
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_has_input(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) {
|
|
662
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
741
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
663
742
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
664
743
|
}
|
|
665
744
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_clear_value_match(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) {
|
|
666
|
-
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
745
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
667
746
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
668
747
|
}
|
|
669
748
|
UPB_INLINE const struct envoy_type_matcher_v3_StringMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_value_match(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) {
|
|
670
749
|
const struct envoy_type_matcher_v3_StringMatcher* default_val = NULL;
|
|
671
750
|
const struct envoy_type_matcher_v3_StringMatcher* ret;
|
|
672
|
-
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
751
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
673
752
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__type__matcher__v3__StringMatcher_msg_init);
|
|
674
753
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
675
754
|
&default_val, &ret);
|
|
676
755
|
return ret;
|
|
677
756
|
}
|
|
678
757
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_has_value_match(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) {
|
|
679
|
-
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
758
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
680
759
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
681
760
|
}
|
|
682
761
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_clear_custom_match(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) {
|
|
683
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
762
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
684
763
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
685
764
|
}
|
|
686
765
|
UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_custom_match(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) {
|
|
687
766
|
const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
|
|
688
767
|
const struct envoy_config_core_v3_TypedExtensionConfig* ret;
|
|
689
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
768
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
690
769
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__TypedExtensionConfig_msg_init);
|
|
691
770
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
692
771
|
&default_val, &ret);
|
|
693
772
|
return ret;
|
|
694
773
|
}
|
|
695
774
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_has_custom_match(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) {
|
|
696
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
775
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
697
776
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
698
777
|
}
|
|
699
778
|
|
|
700
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_input(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate
|
|
701
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
779
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_input(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
|
|
780
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
702
781
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__TypedExtensionConfig_msg_init);
|
|
703
|
-
upb_Message_SetBaseField((upb_Message
|
|
782
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
704
783
|
}
|
|
705
|
-
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_mutable_input(
|
|
784
|
+
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_mutable_input(
|
|
785
|
+
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena) {
|
|
706
786
|
struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_input(msg);
|
|
707
787
|
if (sub == NULL) {
|
|
708
788
|
sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena);
|
|
@@ -710,12 +790,13 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common
|
|
|
710
790
|
}
|
|
711
791
|
return sub;
|
|
712
792
|
}
|
|
713
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_value_match(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate
|
|
714
|
-
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
793
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_value_match(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, struct envoy_type_matcher_v3_StringMatcher* value) {
|
|
794
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
715
795
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__type__matcher__v3__StringMatcher_msg_init);
|
|
716
|
-
upb_Message_SetBaseField((upb_Message
|
|
796
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
717
797
|
}
|
|
718
|
-
UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_mutable_value_match(
|
|
798
|
+
UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_mutable_value_match(
|
|
799
|
+
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena) {
|
|
719
800
|
struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_value_match(msg);
|
|
720
801
|
if (sub == NULL) {
|
|
721
802
|
sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StringMatcher_msg_init, arena);
|
|
@@ -723,12 +804,13 @@ UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_config_common_match
|
|
|
723
804
|
}
|
|
724
805
|
return sub;
|
|
725
806
|
}
|
|
726
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_custom_match(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate
|
|
727
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
807
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_custom_match(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
|
|
808
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
728
809
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__TypedExtensionConfig_msg_init);
|
|
729
|
-
upb_Message_SetBaseField((upb_Message
|
|
810
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
730
811
|
}
|
|
731
|
-
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_mutable_custom_match(
|
|
812
|
+
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_mutable_custom_match(
|
|
813
|
+
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena) {
|
|
732
814
|
struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_custom_match(msg);
|
|
733
815
|
if (sub == NULL) {
|
|
734
816
|
sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena);
|
|
@@ -738,47 +820,50 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common
|
|
|
738
820
|
}
|
|
739
821
|
|
|
740
822
|
/* envoy.config.common.matcher.v3.Matcher.MatcherList.Predicate.PredicateList */
|
|
741
|
-
|
|
742
823
|
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_new(upb_Arena* arena) {
|
|
743
824
|
return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, arena);
|
|
744
825
|
}
|
|
745
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_parse(const char* buf, size_t size,
|
|
826
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_parse(const char* buf, size_t size,
|
|
827
|
+
upb_Arena* arena) {
|
|
746
828
|
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_new(arena);
|
|
747
829
|
if (!ret) return NULL;
|
|
748
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, NULL, 0,
|
|
749
|
-
|
|
830
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, NULL, 0,
|
|
831
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
750
832
|
return NULL;
|
|
751
833
|
}
|
|
752
834
|
return ret;
|
|
753
835
|
}
|
|
754
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_parse_ex(
|
|
755
|
-
|
|
756
|
-
|
|
836
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_parse_ex(
|
|
837
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
838
|
+
int options, upb_Arena* arena) {
|
|
757
839
|
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_new(arena);
|
|
758
840
|
if (!ret) return NULL;
|
|
759
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, extreg,
|
|
760
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
841
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, extreg,
|
|
842
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
761
843
|
return NULL;
|
|
762
844
|
}
|
|
763
845
|
return ret;
|
|
764
846
|
}
|
|
765
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg,
|
|
847
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg,
|
|
848
|
+
upb_Arena* arena, size_t* len) {
|
|
766
849
|
char* ptr;
|
|
767
850
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, 0, arena, &ptr, len);
|
|
768
851
|
return ptr;
|
|
769
852
|
}
|
|
770
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg,
|
|
771
|
-
|
|
853
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg,
|
|
854
|
+
int options, upb_Arena* arena,
|
|
855
|
+
size_t* len) {
|
|
772
856
|
char* ptr;
|
|
773
857
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, options, arena, &ptr, len);
|
|
774
858
|
return ptr;
|
|
775
859
|
}
|
|
776
860
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_clear_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg) {
|
|
777
|
-
const upb_MiniTableField field = {1, 8, 0,
|
|
861
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
778
862
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
779
863
|
}
|
|
780
|
-
UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* const* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg,
|
|
781
|
-
|
|
864
|
+
UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* const* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg,
|
|
865
|
+
size_t* size) {
|
|
866
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
782
867
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init);
|
|
783
868
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
784
869
|
if (arr) {
|
|
@@ -789,8 +874,11 @@ UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* c
|
|
|
789
874
|
return NULL;
|
|
790
875
|
}
|
|
791
876
|
}
|
|
792
|
-
|
|
793
|
-
|
|
877
|
+
|
|
878
|
+
//
|
|
879
|
+
UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate_upb_array(
|
|
880
|
+
const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t* size) {
|
|
881
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
794
882
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init);
|
|
795
883
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
796
884
|
if (size) {
|
|
@@ -798,8 +886,10 @@ UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_Matcher_MatcherList_
|
|
|
798
886
|
}
|
|
799
887
|
return arr;
|
|
800
888
|
}
|
|
801
|
-
|
|
802
|
-
|
|
889
|
+
|
|
890
|
+
UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate_mutable_upb_array(
|
|
891
|
+
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t* size, upb_Arena* arena) {
|
|
892
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
803
893
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init);
|
|
804
894
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
805
895
|
&field, arena);
|
|
@@ -809,8 +899,9 @@ UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_Matcher_MatcherList_Predic
|
|
|
809
899
|
return arr;
|
|
810
900
|
}
|
|
811
901
|
|
|
812
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate** envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_mutable_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg,
|
|
813
|
-
|
|
902
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate** envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_mutable_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg,
|
|
903
|
+
size_t* size) {
|
|
904
|
+
upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
814
905
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init);
|
|
815
906
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
816
907
|
if (arr) {
|
|
@@ -821,13 +912,18 @@ UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate** envoy_
|
|
|
821
912
|
return NULL;
|
|
822
913
|
}
|
|
823
914
|
}
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
915
|
+
|
|
916
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate** envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_resize_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg,
|
|
917
|
+
size_t size,
|
|
918
|
+
upb_Arena* arena) {
|
|
919
|
+
upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
920
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init);
|
|
921
|
+
return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate**)upb_Message_ResizeArrayUninitialized(
|
|
922
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
828
923
|
}
|
|
829
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_add_predicate(
|
|
830
|
-
|
|
924
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_add_predicate(
|
|
925
|
+
envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, upb_Arena* arena) {
|
|
926
|
+
upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
831
927
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init);
|
|
832
928
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
833
929
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -835,7 +931,8 @@ UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*
|
|
|
835
931
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
836
932
|
return NULL;
|
|
837
933
|
}
|
|
838
|
-
struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* sub =
|
|
934
|
+
struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* sub =
|
|
935
|
+
(struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, arena);
|
|
839
936
|
if (!arr || !sub) return NULL;
|
|
840
937
|
UPB_PRIVATE(_upb_Array_Set)
|
|
841
938
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
@@ -843,82 +940,85 @@ UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*
|
|
|
843
940
|
}
|
|
844
941
|
|
|
845
942
|
/* envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher */
|
|
846
|
-
|
|
847
943
|
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_new(upb_Arena* arena) {
|
|
848
944
|
return (envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, arena);
|
|
849
945
|
}
|
|
850
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_parse(const char* buf, size_t size,
|
|
946
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_parse(const char* buf, size_t size,
|
|
947
|
+
upb_Arena* arena) {
|
|
851
948
|
envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_new(arena);
|
|
852
949
|
if (!ret) return NULL;
|
|
853
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, NULL, 0,
|
|
854
|
-
|
|
950
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, NULL, 0,
|
|
951
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
855
952
|
return NULL;
|
|
856
953
|
}
|
|
857
954
|
return ret;
|
|
858
955
|
}
|
|
859
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_parse_ex(
|
|
860
|
-
|
|
861
|
-
|
|
956
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_parse_ex(
|
|
957
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
958
|
+
int options, upb_Arena* arena) {
|
|
862
959
|
envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_new(arena);
|
|
863
960
|
if (!ret) return NULL;
|
|
864
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, extreg,
|
|
865
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
961
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, extreg,
|
|
962
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
866
963
|
return NULL;
|
|
867
964
|
}
|
|
868
965
|
return ret;
|
|
869
966
|
}
|
|
870
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg,
|
|
967
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg,
|
|
968
|
+
upb_Arena* arena, size_t* len) {
|
|
871
969
|
char* ptr;
|
|
872
970
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, 0, arena, &ptr, len);
|
|
873
971
|
return ptr;
|
|
874
972
|
}
|
|
875
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg,
|
|
876
|
-
|
|
973
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg,
|
|
974
|
+
int options, upb_Arena* arena,
|
|
975
|
+
size_t* len) {
|
|
877
976
|
char* ptr;
|
|
878
977
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, options, arena, &ptr, len);
|
|
879
978
|
return ptr;
|
|
880
979
|
}
|
|
881
980
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_clear_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) {
|
|
882
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
981
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
883
982
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
884
983
|
}
|
|
885
984
|
UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_predicate(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) {
|
|
886
985
|
const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* default_val = NULL;
|
|
887
986
|
const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* ret;
|
|
888
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
987
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
889
988
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init);
|
|
890
989
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
891
990
|
&default_val, &ret);
|
|
892
991
|
return ret;
|
|
893
992
|
}
|
|
894
993
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_has_predicate(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) {
|
|
895
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
994
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
896
995
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
897
996
|
}
|
|
898
997
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_clear_on_match(envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) {
|
|
899
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65,
|
|
998
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
900
999
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
901
1000
|
}
|
|
902
1001
|
UPB_INLINE const envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_on_match(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) {
|
|
903
1002
|
const envoy_config_common_matcher_v3_Matcher_OnMatch* default_val = NULL;
|
|
904
1003
|
const envoy_config_common_matcher_v3_Matcher_OnMatch* ret;
|
|
905
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65,
|
|
1004
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
906
1005
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init);
|
|
907
1006
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
908
1007
|
&default_val, &ret);
|
|
909
1008
|
return ret;
|
|
910
1009
|
}
|
|
911
1010
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_has_on_match(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) {
|
|
912
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65,
|
|
1011
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
913
1012
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
914
1013
|
}
|
|
915
1014
|
|
|
916
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_set_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher
|
|
917
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
1015
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_set_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* value) {
|
|
1016
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
918
1017
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init);
|
|
919
|
-
upb_Message_SetBaseField((upb_Message
|
|
1018
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
920
1019
|
}
|
|
921
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_mutable_predicate(
|
|
1020
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_mutable_predicate(
|
|
1021
|
+
envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, upb_Arena* arena) {
|
|
922
1022
|
struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*)envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_predicate(msg);
|
|
923
1023
|
if (sub == NULL) {
|
|
924
1024
|
sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, arena);
|
|
@@ -926,12 +1026,13 @@ UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*
|
|
|
926
1026
|
}
|
|
927
1027
|
return sub;
|
|
928
1028
|
}
|
|
929
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_set_on_match(envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher
|
|
930
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65,
|
|
1029
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_set_on_match(envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, envoy_config_common_matcher_v3_Matcher_OnMatch* value) {
|
|
1030
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
931
1031
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init);
|
|
932
|
-
upb_Message_SetBaseField((upb_Message
|
|
1032
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
933
1033
|
}
|
|
934
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_mutable_on_match(
|
|
1034
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_mutable_on_match(
|
|
1035
|
+
envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, upb_Arena* arena) {
|
|
935
1036
|
struct envoy_config_common_matcher_v3_Matcher_OnMatch* sub = (struct envoy_config_common_matcher_v3_Matcher_OnMatch*)envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_on_match(msg);
|
|
936
1037
|
if (sub == NULL) {
|
|
937
1038
|
sub = (struct envoy_config_common_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init, arena);
|
|
@@ -941,37 +1042,39 @@ UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_c
|
|
|
941
1042
|
}
|
|
942
1043
|
|
|
943
1044
|
/* envoy.config.common.matcher.v3.Matcher.MatcherTree */
|
|
944
|
-
|
|
945
1045
|
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_config_common_matcher_v3_Matcher_MatcherTree_new(upb_Arena* arena) {
|
|
946
1046
|
return (envoy_config_common_matcher_v3_Matcher_MatcherTree*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init, arena);
|
|
947
1047
|
}
|
|
948
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_config_common_matcher_v3_Matcher_MatcherTree_parse(const char* buf, size_t size,
|
|
1048
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_config_common_matcher_v3_Matcher_MatcherTree_parse(const char* buf, size_t size,
|
|
1049
|
+
upb_Arena* arena) {
|
|
949
1050
|
envoy_config_common_matcher_v3_Matcher_MatcherTree* ret = envoy_config_common_matcher_v3_Matcher_MatcherTree_new(arena);
|
|
950
1051
|
if (!ret) return NULL;
|
|
951
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init, NULL, 0,
|
|
952
|
-
|
|
1052
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init, NULL, 0,
|
|
1053
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
953
1054
|
return NULL;
|
|
954
1055
|
}
|
|
955
1056
|
return ret;
|
|
956
1057
|
}
|
|
957
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_config_common_matcher_v3_Matcher_MatcherTree_parse_ex(
|
|
958
|
-
|
|
959
|
-
|
|
1058
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_config_common_matcher_v3_Matcher_MatcherTree_parse_ex(
|
|
1059
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1060
|
+
int options, upb_Arena* arena) {
|
|
960
1061
|
envoy_config_common_matcher_v3_Matcher_MatcherTree* ret = envoy_config_common_matcher_v3_Matcher_MatcherTree_new(arena);
|
|
961
1062
|
if (!ret) return NULL;
|
|
962
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init, extreg,
|
|
963
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1063
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init, extreg,
|
|
1064
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
964
1065
|
return NULL;
|
|
965
1066
|
}
|
|
966
1067
|
return ret;
|
|
967
1068
|
}
|
|
968
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherTree_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg,
|
|
1069
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherTree_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg,
|
|
1070
|
+
upb_Arena* arena, size_t* len) {
|
|
969
1071
|
char* ptr;
|
|
970
1072
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init, 0, arena, &ptr, len);
|
|
971
1073
|
return ptr;
|
|
972
1074
|
}
|
|
973
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherTree_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg,
|
|
974
|
-
|
|
1075
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherTree_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg,
|
|
1076
|
+
int options, upb_Arena* arena,
|
|
1077
|
+
size_t* len) {
|
|
975
1078
|
char* ptr;
|
|
976
1079
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init, options, arena, &ptr, len);
|
|
977
1080
|
return ptr;
|
|
@@ -982,90 +1085,93 @@ typedef enum {
|
|
|
982
1085
|
envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_custom_match = 4,
|
|
983
1086
|
envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_NOT_SET = 0
|
|
984
1087
|
} envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_oneofcases;
|
|
985
|
-
|
|
986
|
-
|
|
1088
|
+
|
|
1089
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_oneofcases
|
|
1090
|
+
envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_case(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) {
|
|
1091
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
987
1092
|
return (envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
988
1093
|
UPB_UPCAST(msg), &field);
|
|
989
1094
|
}
|
|
990
1095
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_clear_tree_type(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) {
|
|
991
|
-
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
1096
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
992
1097
|
upb_Message_ClearOneof(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init, &field);
|
|
993
1098
|
}
|
|
994
1099
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_clear_input(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) {
|
|
995
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
1100
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
996
1101
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
997
1102
|
}
|
|
998
1103
|
UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherTree_input(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) {
|
|
999
1104
|
const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
|
|
1000
1105
|
const struct envoy_config_core_v3_TypedExtensionConfig* ret;
|
|
1001
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
1106
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1002
1107
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__TypedExtensionConfig_msg_init);
|
|
1003
1108
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1004
1109
|
&default_val, &ret);
|
|
1005
1110
|
return ret;
|
|
1006
1111
|
}
|
|
1007
1112
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_has_input(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) {
|
|
1008
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
1113
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1009
1114
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1010
1115
|
}
|
|
1011
1116
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_clear_exact_match_map(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) {
|
|
1012
|
-
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
1117
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1013
1118
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1014
1119
|
}
|
|
1015
1120
|
UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_exact_match_map(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) {
|
|
1016
1121
|
const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* default_val = NULL;
|
|
1017
1122
|
const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* ret;
|
|
1018
|
-
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
1123
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1019
1124
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init);
|
|
1020
1125
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1021
1126
|
&default_val, &ret);
|
|
1022
1127
|
return ret;
|
|
1023
1128
|
}
|
|
1024
1129
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_has_exact_match_map(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) {
|
|
1025
|
-
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
1130
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1026
1131
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1027
1132
|
}
|
|
1028
1133
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_clear_prefix_match_map(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) {
|
|
1029
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
1134
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1030
1135
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1031
1136
|
}
|
|
1032
1137
|
UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_prefix_match_map(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) {
|
|
1033
1138
|
const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* default_val = NULL;
|
|
1034
1139
|
const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* ret;
|
|
1035
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
1140
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1036
1141
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init);
|
|
1037
1142
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1038
1143
|
&default_val, &ret);
|
|
1039
1144
|
return ret;
|
|
1040
1145
|
}
|
|
1041
1146
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_has_prefix_match_map(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) {
|
|
1042
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
1147
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1043
1148
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1044
1149
|
}
|
|
1045
1150
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_clear_custom_match(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) {
|
|
1046
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
1151
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1047
1152
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1048
1153
|
}
|
|
1049
1154
|
UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherTree_custom_match(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) {
|
|
1050
1155
|
const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
|
|
1051
1156
|
const struct envoy_config_core_v3_TypedExtensionConfig* ret;
|
|
1052
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
1157
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1053
1158
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__TypedExtensionConfig_msg_init);
|
|
1054
1159
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1055
1160
|
&default_val, &ret);
|
|
1056
1161
|
return ret;
|
|
1057
1162
|
}
|
|
1058
1163
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_has_custom_match(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) {
|
|
1059
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
1164
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1060
1165
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1061
1166
|
}
|
|
1062
1167
|
|
|
1063
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_set_input(envoy_config_common_matcher_v3_Matcher_MatcherTree
|
|
1064
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
1168
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_set_input(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
|
|
1169
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1065
1170
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__TypedExtensionConfig_msg_init);
|
|
1066
|
-
upb_Message_SetBaseField((upb_Message
|
|
1171
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1067
1172
|
}
|
|
1068
|
-
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherTree_mutable_input(
|
|
1173
|
+
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherTree_mutable_input(
|
|
1174
|
+
envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) {
|
|
1069
1175
|
struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_common_matcher_v3_Matcher_MatcherTree_input(msg);
|
|
1070
1176
|
if (sub == NULL) {
|
|
1071
1177
|
sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena);
|
|
@@ -1073,12 +1179,13 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common
|
|
|
1073
1179
|
}
|
|
1074
1180
|
return sub;
|
|
1075
1181
|
}
|
|
1076
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_set_exact_match_map(envoy_config_common_matcher_v3_Matcher_MatcherTree
|
|
1077
|
-
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
1182
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_set_exact_match_map(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* value) {
|
|
1183
|
+
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1078
1184
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init);
|
|
1079
|
-
upb_Message_SetBaseField((upb_Message
|
|
1185
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1080
1186
|
}
|
|
1081
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_mutable_exact_match_map(
|
|
1187
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_mutable_exact_match_map(
|
|
1188
|
+
envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) {
|
|
1082
1189
|
struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap*)envoy_config_common_matcher_v3_Matcher_MatcherTree_exact_match_map(msg);
|
|
1083
1190
|
if (sub == NULL) {
|
|
1084
1191
|
sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, arena);
|
|
@@ -1086,12 +1193,13 @@ UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* e
|
|
|
1086
1193
|
}
|
|
1087
1194
|
return sub;
|
|
1088
1195
|
}
|
|
1089
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_set_prefix_match_map(envoy_config_common_matcher_v3_Matcher_MatcherTree
|
|
1090
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
1196
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_set_prefix_match_map(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* value) {
|
|
1197
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1091
1198
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init);
|
|
1092
|
-
upb_Message_SetBaseField((upb_Message
|
|
1199
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1093
1200
|
}
|
|
1094
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_mutable_prefix_match_map(
|
|
1201
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_mutable_prefix_match_map(
|
|
1202
|
+
envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) {
|
|
1095
1203
|
struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap*)envoy_config_common_matcher_v3_Matcher_MatcherTree_prefix_match_map(msg);
|
|
1096
1204
|
if (sub == NULL) {
|
|
1097
1205
|
sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, arena);
|
|
@@ -1099,12 +1207,13 @@ UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* e
|
|
|
1099
1207
|
}
|
|
1100
1208
|
return sub;
|
|
1101
1209
|
}
|
|
1102
|
-
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_set_custom_match(envoy_config_common_matcher_v3_Matcher_MatcherTree
|
|
1103
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 24), UPB_SIZE(-17, -13),
|
|
1210
|
+
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_set_custom_match(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
|
|
1211
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 24), UPB_SIZE(-17, -13), UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1104
1212
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__TypedExtensionConfig_msg_init);
|
|
1105
|
-
upb_Message_SetBaseField((upb_Message
|
|
1213
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1106
1214
|
}
|
|
1107
|
-
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherTree_mutable_custom_match(
|
|
1215
|
+
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherTree_mutable_custom_match(
|
|
1216
|
+
envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) {
|
|
1108
1217
|
struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_common_matcher_v3_Matcher_MatcherTree_custom_match(msg);
|
|
1109
1218
|
if (sub == NULL) {
|
|
1110
1219
|
sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena);
|
|
@@ -1114,61 +1223,70 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common
|
|
|
1114
1223
|
}
|
|
1115
1224
|
|
|
1116
1225
|
/* envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap */
|
|
1117
|
-
|
|
1118
1226
|
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_new(upb_Arena* arena) {
|
|
1119
1227
|
return (envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, arena);
|
|
1120
1228
|
}
|
|
1121
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_parse(const char* buf, size_t size,
|
|
1229
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_parse(const char* buf, size_t size,
|
|
1230
|
+
upb_Arena* arena) {
|
|
1122
1231
|
envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* ret = envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_new(arena);
|
|
1123
1232
|
if (!ret) return NULL;
|
|
1124
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, NULL, 0,
|
|
1125
|
-
|
|
1233
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, NULL, 0,
|
|
1234
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1126
1235
|
return NULL;
|
|
1127
1236
|
}
|
|
1128
1237
|
return ret;
|
|
1129
1238
|
}
|
|
1130
|
-
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_parse_ex(
|
|
1131
|
-
|
|
1132
|
-
|
|
1239
|
+
UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_parse_ex(
|
|
1240
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1241
|
+
int options, upb_Arena* arena) {
|
|
1133
1242
|
envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* ret = envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_new(arena);
|
|
1134
1243
|
if (!ret) return NULL;
|
|
1135
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, extreg,
|
|
1136
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1244
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, extreg,
|
|
1245
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1137
1246
|
return NULL;
|
|
1138
1247
|
}
|
|
1139
1248
|
return ret;
|
|
1140
1249
|
}
|
|
1141
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg,
|
|
1250
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg,
|
|
1251
|
+
upb_Arena* arena, size_t* len) {
|
|
1142
1252
|
char* ptr;
|
|
1143
1253
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, 0, arena, &ptr, len);
|
|
1144
1254
|
return ptr;
|
|
1145
1255
|
}
|
|
1146
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg,
|
|
1147
|
-
|
|
1256
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg,
|
|
1257
|
+
int options, upb_Arena* arena,
|
|
1258
|
+
size_t* len) {
|
|
1148
1259
|
char* ptr;
|
|
1149
1260
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, options, arena, &ptr, len);
|
|
1150
1261
|
return ptr;
|
|
1151
1262
|
}
|
|
1152
1263
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_clear_map(envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg) {
|
|
1153
|
-
const upb_MiniTableField field = {1, 8, 0,
|
|
1264
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1154
1265
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1155
1266
|
}
|
|
1156
1267
|
UPB_INLINE size_t envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_size(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg) {
|
|
1157
|
-
const upb_MiniTableField field = {1, 8, 0,
|
|
1268
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1269
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init);
|
|
1270
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init);
|
|
1158
1271
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1159
1272
|
return map ? _upb_Map_Size(map) : 0;
|
|
1160
1273
|
}
|
|
1161
|
-
|
|
1162
|
-
|
|
1274
|
+
|
|
1275
|
+
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_get(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg,
|
|
1276
|
+
upb_StringView key, envoy_config_common_matcher_v3_Matcher_OnMatch** val) {
|
|
1277
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1163
1278
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init);
|
|
1164
1279
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init);
|
|
1165
1280
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1166
1281
|
if (!map) return false;
|
|
1167
|
-
return _upb_Map_Get(map, &key, 0, val, sizeof(*
|
|
1282
|
+
return _upb_Map_Get(map, &key, 0, val, sizeof(envoy_config_common_matcher_v3_Matcher_OnMatch*));
|
|
1168
1283
|
}
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1284
|
+
|
|
1285
|
+
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_next(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg,
|
|
1286
|
+
upb_StringView* key,
|
|
1287
|
+
const envoy_config_common_matcher_v3_Matcher_OnMatch** val,
|
|
1288
|
+
size_t* iter) {
|
|
1289
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1172
1290
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init);
|
|
1173
1291
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init);
|
|
1174
1292
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
@@ -1180,73 +1298,88 @@ UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_
|
|
|
1180
1298
|
memcpy(val, &v, sizeof(*val));
|
|
1181
1299
|
return true;
|
|
1182
1300
|
}
|
|
1301
|
+
|
|
1302
|
+
// and ~ a upb_Map for mutable.
|
|
1303
|
+
//
|
|
1183
1304
|
UPB_INLINE const upb_Map* _envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_upb_map(envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg) {
|
|
1184
|
-
const upb_MiniTableField field = {1, 8, 0,
|
|
1305
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1185
1306
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init);
|
|
1186
1307
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init);
|
|
1187
1308
|
return upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1188
1309
|
}
|
|
1189
|
-
|
|
1190
|
-
|
|
1310
|
+
|
|
1311
|
+
UPB_INLINE upb_Map* _envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_mutable_upb_map(
|
|
1312
|
+
envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_Arena* a) {
|
|
1313
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1191
1314
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init);
|
|
1192
1315
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init);
|
|
1193
|
-
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
1316
|
+
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
1317
|
+
0, sizeof(envoy_config_common_matcher_v3_Matcher_OnMatch*), a);
|
|
1194
1318
|
}
|
|
1195
1319
|
|
|
1196
1320
|
UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_clear(envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg) {
|
|
1197
|
-
const upb_MiniTableField field = {1, 8, 0,
|
|
1321
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1322
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init);
|
|
1323
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init);
|
|
1198
1324
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1199
1325
|
if (!map) return;
|
|
1200
1326
|
_upb_Map_Clear(map);
|
|
1201
1327
|
}
|
|
1202
|
-
|
|
1203
|
-
|
|
1328
|
+
|
|
1329
|
+
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_set(envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_StringView key,
|
|
1330
|
+
envoy_config_common_matcher_v3_Matcher_OnMatch* val, upb_Arena* a) {
|
|
1331
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1204
1332
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init);
|
|
1205
1333
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init);
|
|
1206
|
-
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
1207
|
-
|
|
1334
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
1335
|
+
UPB_UPCAST(msg), &field, 0, sizeof(val), a);
|
|
1208
1336
|
return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) !=
|
|
1209
1337
|
kUpb_MapInsertStatus_OutOfMemory;
|
|
1210
1338
|
}
|
|
1339
|
+
|
|
1211
1340
|
UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_delete(envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_StringView key) {
|
|
1212
|
-
const upb_MiniTableField field = {1, 8, 0,
|
|
1341
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1342
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init);
|
|
1343
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init);
|
|
1213
1344
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1214
1345
|
if (!map) return false;
|
|
1215
1346
|
return _upb_Map_Delete(map, &key, 0, NULL);
|
|
1216
1347
|
}
|
|
1217
1348
|
|
|
1218
1349
|
/* envoy.config.common.matcher.v3.MatchPredicate */
|
|
1219
|
-
|
|
1220
1350
|
UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_new(upb_Arena* arena) {
|
|
1221
1351
|
return (envoy_config_common_matcher_v3_MatchPredicate*)_upb_Message_New(&envoy__config__common__matcher__v3__MatchPredicate_msg_init, arena);
|
|
1222
1352
|
}
|
|
1223
|
-
UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_parse(const char* buf, size_t size,
|
|
1353
|
+
UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_parse(const char* buf, size_t size,
|
|
1354
|
+
upb_Arena* arena) {
|
|
1224
1355
|
envoy_config_common_matcher_v3_MatchPredicate* ret = envoy_config_common_matcher_v3_MatchPredicate_new(arena);
|
|
1225
1356
|
if (!ret) return NULL;
|
|
1226
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__MatchPredicate_msg_init, NULL, 0,
|
|
1227
|
-
|
|
1357
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__MatchPredicate_msg_init, NULL, 0,
|
|
1358
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1228
1359
|
return NULL;
|
|
1229
1360
|
}
|
|
1230
1361
|
return ret;
|
|
1231
1362
|
}
|
|
1232
|
-
UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_parse_ex(
|
|
1233
|
-
|
|
1234
|
-
|
|
1363
|
+
UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_parse_ex(
|
|
1364
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1365
|
+
int options, upb_Arena* arena) {
|
|
1235
1366
|
envoy_config_common_matcher_v3_MatchPredicate* ret = envoy_config_common_matcher_v3_MatchPredicate_new(arena);
|
|
1236
1367
|
if (!ret) return NULL;
|
|
1237
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__MatchPredicate_msg_init, extreg,
|
|
1238
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1368
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__MatchPredicate_msg_init, extreg,
|
|
1369
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1239
1370
|
return NULL;
|
|
1240
1371
|
}
|
|
1241
1372
|
return ret;
|
|
1242
1373
|
}
|
|
1243
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_MatchPredicate_serialize(const envoy_config_common_matcher_v3_MatchPredicate* msg,
|
|
1374
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_MatchPredicate_serialize(const envoy_config_common_matcher_v3_MatchPredicate* msg,
|
|
1375
|
+
upb_Arena* arena, size_t* len) {
|
|
1244
1376
|
char* ptr;
|
|
1245
1377
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__MatchPredicate_msg_init, 0, arena, &ptr, len);
|
|
1246
1378
|
return ptr;
|
|
1247
1379
|
}
|
|
1248
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_MatchPredicate_serialize_ex(const envoy_config_common_matcher_v3_MatchPredicate* msg,
|
|
1249
|
-
|
|
1380
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_MatchPredicate_serialize_ex(const envoy_config_common_matcher_v3_MatchPredicate* msg,
|
|
1381
|
+
int options, upb_Arena* arena,
|
|
1382
|
+
size_t* len) {
|
|
1250
1383
|
char* ptr;
|
|
1251
1384
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__MatchPredicate_msg_init, options, arena, &ptr, len);
|
|
1252
1385
|
return ptr;
|
|
@@ -1264,64 +1397,66 @@ typedef enum {
|
|
|
1264
1397
|
envoy_config_common_matcher_v3_MatchPredicate_rule_http_response_generic_body_match = 10,
|
|
1265
1398
|
envoy_config_common_matcher_v3_MatchPredicate_rule_NOT_SET = 0
|
|
1266
1399
|
} envoy_config_common_matcher_v3_MatchPredicate_rule_oneofcases;
|
|
1267
|
-
|
|
1268
|
-
|
|
1400
|
+
|
|
1401
|
+
UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate_rule_oneofcases
|
|
1402
|
+
envoy_config_common_matcher_v3_MatchPredicate_rule_case(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1403
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1269
1404
|
return (envoy_config_common_matcher_v3_MatchPredicate_rule_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
1270
1405
|
UPB_UPCAST(msg), &field);
|
|
1271
1406
|
}
|
|
1272
1407
|
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_rule(envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1273
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
1408
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1274
1409
|
upb_Message_ClearOneof(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__MatchPredicate_msg_init, &field);
|
|
1275
1410
|
}
|
|
1276
1411
|
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_or_match(envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1277
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
1412
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1278
1413
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1279
1414
|
}
|
|
1280
1415
|
UPB_INLINE const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_or_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1281
1416
|
const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* default_val = NULL;
|
|
1282
1417
|
const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* ret;
|
|
1283
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
1418
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1284
1419
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init);
|
|
1285
1420
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1286
1421
|
&default_val, &ret);
|
|
1287
1422
|
return ret;
|
|
1288
1423
|
}
|
|
1289
1424
|
UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_or_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1290
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
1425
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1291
1426
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1292
1427
|
}
|
|
1293
1428
|
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_and_match(envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1294
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9,
|
|
1429
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(28, 29), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1295
1430
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1296
1431
|
}
|
|
1297
1432
|
UPB_INLINE const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_and_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1298
1433
|
const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* default_val = NULL;
|
|
1299
1434
|
const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* ret;
|
|
1300
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9,
|
|
1435
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(28, 29), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1301
1436
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init);
|
|
1302
1437
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1303
1438
|
&default_val, &ret);
|
|
1304
1439
|
return ret;
|
|
1305
1440
|
}
|
|
1306
1441
|
UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_and_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1307
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9,
|
|
1442
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(28, 29), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1308
1443
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1309
1444
|
}
|
|
1310
1445
|
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_not_match(envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1311
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9,
|
|
1446
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, UPB_SIZE(26, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1312
1447
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1313
1448
|
}
|
|
1314
1449
|
UPB_INLINE const envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_not_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1315
1450
|
const envoy_config_common_matcher_v3_MatchPredicate* default_val = NULL;
|
|
1316
1451
|
const envoy_config_common_matcher_v3_MatchPredicate* ret;
|
|
1317
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9,
|
|
1452
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, UPB_SIZE(26, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1318
1453
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__MatchPredicate_msg_init);
|
|
1319
1454
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1320
1455
|
&default_val, &ret);
|
|
1321
1456
|
return ret;
|
|
1322
1457
|
}
|
|
1323
1458
|
UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_not_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1324
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9,
|
|
1459
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, UPB_SIZE(26, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1325
1460
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1326
1461
|
}
|
|
1327
1462
|
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_any_match(envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
@@ -1341,114 +1476,115 @@ UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_any_match(cons
|
|
|
1341
1476
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1342
1477
|
}
|
|
1343
1478
|
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_http_request_headers_match(envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1344
|
-
const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9,
|
|
1479
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, UPB_SIZE(21, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1345
1480
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1346
1481
|
}
|
|
1347
1482
|
UPB_INLINE const envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_http_request_headers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1348
1483
|
const envoy_config_common_matcher_v3_HttpHeadersMatch* default_val = NULL;
|
|
1349
1484
|
const envoy_config_common_matcher_v3_HttpHeadersMatch* ret;
|
|
1350
|
-
const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9,
|
|
1485
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, UPB_SIZE(21, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1351
1486
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init);
|
|
1352
1487
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1353
1488
|
&default_val, &ret);
|
|
1354
1489
|
return ret;
|
|
1355
1490
|
}
|
|
1356
1491
|
UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_http_request_headers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1357
|
-
const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9,
|
|
1492
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, UPB_SIZE(21, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1358
1493
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1359
1494
|
}
|
|
1360
1495
|
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_http_request_trailers_match(envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1361
|
-
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9,
|
|
1496
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, UPB_SIZE(19, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1362
1497
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1363
1498
|
}
|
|
1364
1499
|
UPB_INLINE const envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_http_request_trailers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1365
1500
|
const envoy_config_common_matcher_v3_HttpHeadersMatch* default_val = NULL;
|
|
1366
1501
|
const envoy_config_common_matcher_v3_HttpHeadersMatch* ret;
|
|
1367
|
-
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9,
|
|
1502
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, UPB_SIZE(19, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1368
1503
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init);
|
|
1369
1504
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1370
1505
|
&default_val, &ret);
|
|
1371
1506
|
return ret;
|
|
1372
1507
|
}
|
|
1373
1508
|
UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_http_request_trailers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1374
|
-
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9,
|
|
1509
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, UPB_SIZE(19, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1375
1510
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1376
1511
|
}
|
|
1377
1512
|
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_http_response_headers_match(envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1378
|
-
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9,
|
|
1513
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, UPB_SIZE(17, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1379
1514
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1380
1515
|
}
|
|
1381
1516
|
UPB_INLINE const envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_http_response_headers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1382
1517
|
const envoy_config_common_matcher_v3_HttpHeadersMatch* default_val = NULL;
|
|
1383
1518
|
const envoy_config_common_matcher_v3_HttpHeadersMatch* ret;
|
|
1384
|
-
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9,
|
|
1519
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, UPB_SIZE(17, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1385
1520
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init);
|
|
1386
1521
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1387
1522
|
&default_val, &ret);
|
|
1388
1523
|
return ret;
|
|
1389
1524
|
}
|
|
1390
1525
|
UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_http_response_headers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1391
|
-
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9,
|
|
1526
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, UPB_SIZE(17, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1392
1527
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1393
1528
|
}
|
|
1394
1529
|
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_http_response_trailers_match(envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1395
|
-
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9,
|
|
1530
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, UPB_SIZE(15, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1396
1531
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1397
1532
|
}
|
|
1398
1533
|
UPB_INLINE const envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_http_response_trailers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1399
1534
|
const envoy_config_common_matcher_v3_HttpHeadersMatch* default_val = NULL;
|
|
1400
1535
|
const envoy_config_common_matcher_v3_HttpHeadersMatch* ret;
|
|
1401
|
-
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9,
|
|
1536
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, UPB_SIZE(15, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1402
1537
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init);
|
|
1403
1538
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1404
1539
|
&default_val, &ret);
|
|
1405
1540
|
return ret;
|
|
1406
1541
|
}
|
|
1407
1542
|
UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_http_response_trailers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1408
|
-
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9,
|
|
1543
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, UPB_SIZE(15, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1409
1544
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1410
1545
|
}
|
|
1411
1546
|
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_http_request_generic_body_match(envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1412
|
-
const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9,
|
|
1547
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, UPB_SIZE(13, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1413
1548
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1414
1549
|
}
|
|
1415
1550
|
UPB_INLINE const envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_MatchPredicate_http_request_generic_body_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1416
1551
|
const envoy_config_common_matcher_v3_HttpGenericBodyMatch* default_val = NULL;
|
|
1417
1552
|
const envoy_config_common_matcher_v3_HttpGenericBodyMatch* ret;
|
|
1418
|
-
const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9,
|
|
1553
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, UPB_SIZE(13, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1419
1554
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init);
|
|
1420
1555
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1421
1556
|
&default_val, &ret);
|
|
1422
1557
|
return ret;
|
|
1423
1558
|
}
|
|
1424
1559
|
UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_http_request_generic_body_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1425
|
-
const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9,
|
|
1560
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, UPB_SIZE(13, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1426
1561
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1427
1562
|
}
|
|
1428
1563
|
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_http_response_generic_body_match(envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1429
|
-
const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9,
|
|
1564
|
+
const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, UPB_SIZE(11, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1430
1565
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1431
1566
|
}
|
|
1432
1567
|
UPB_INLINE const envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_MatchPredicate_http_response_generic_body_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1433
1568
|
const envoy_config_common_matcher_v3_HttpGenericBodyMatch* default_val = NULL;
|
|
1434
1569
|
const envoy_config_common_matcher_v3_HttpGenericBodyMatch* ret;
|
|
1435
|
-
const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9,
|
|
1570
|
+
const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, UPB_SIZE(11, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1436
1571
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init);
|
|
1437
1572
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1438
1573
|
&default_val, &ret);
|
|
1439
1574
|
return ret;
|
|
1440
1575
|
}
|
|
1441
1576
|
UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_http_response_generic_body_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) {
|
|
1442
|
-
const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9,
|
|
1577
|
+
const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, UPB_SIZE(11, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1443
1578
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1444
1579
|
}
|
|
1445
1580
|
|
|
1446
|
-
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_or_match(envoy_config_common_matcher_v3_MatchPredicate
|
|
1447
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
1581
|
+
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_or_match(envoy_config_common_matcher_v3_MatchPredicate* msg, envoy_config_common_matcher_v3_MatchPredicate_MatchSet* value) {
|
|
1582
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1448
1583
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init);
|
|
1449
|
-
upb_Message_SetBaseField((upb_Message
|
|
1584
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1450
1585
|
}
|
|
1451
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_mutable_or_match(
|
|
1586
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_mutable_or_match(
|
|
1587
|
+
envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) {
|
|
1452
1588
|
struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet* sub = (struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet*)envoy_config_common_matcher_v3_MatchPredicate_or_match(msg);
|
|
1453
1589
|
if (sub == NULL) {
|
|
1454
1590
|
sub = (struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet*)_upb_Message_New(&envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init, arena);
|
|
@@ -1456,12 +1592,13 @@ UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_
|
|
|
1456
1592
|
}
|
|
1457
1593
|
return sub;
|
|
1458
1594
|
}
|
|
1459
|
-
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_and_match(envoy_config_common_matcher_v3_MatchPredicate
|
|
1460
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9,
|
|
1595
|
+
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_and_match(envoy_config_common_matcher_v3_MatchPredicate* msg, envoy_config_common_matcher_v3_MatchPredicate_MatchSet* value) {
|
|
1596
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(28, 29), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1461
1597
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init);
|
|
1462
|
-
upb_Message_SetBaseField((upb_Message
|
|
1598
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1463
1599
|
}
|
|
1464
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_mutable_and_match(
|
|
1600
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_mutable_and_match(
|
|
1601
|
+
envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) {
|
|
1465
1602
|
struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet* sub = (struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet*)envoy_config_common_matcher_v3_MatchPredicate_and_match(msg);
|
|
1466
1603
|
if (sub == NULL) {
|
|
1467
1604
|
sub = (struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet*)_upb_Message_New(&envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init, arena);
|
|
@@ -1469,12 +1606,13 @@ UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_
|
|
|
1469
1606
|
}
|
|
1470
1607
|
return sub;
|
|
1471
1608
|
}
|
|
1472
|
-
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_not_match(envoy_config_common_matcher_v3_MatchPredicate
|
|
1473
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9,
|
|
1609
|
+
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_not_match(envoy_config_common_matcher_v3_MatchPredicate* msg, envoy_config_common_matcher_v3_MatchPredicate* value) {
|
|
1610
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, UPB_SIZE(26, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1474
1611
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__MatchPredicate_msg_init);
|
|
1475
|
-
upb_Message_SetBaseField((upb_Message
|
|
1612
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1476
1613
|
}
|
|
1477
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_mutable_not_match(
|
|
1614
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_mutable_not_match(
|
|
1615
|
+
envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) {
|
|
1478
1616
|
struct envoy_config_common_matcher_v3_MatchPredicate* sub = (struct envoy_config_common_matcher_v3_MatchPredicate*)envoy_config_common_matcher_v3_MatchPredicate_not_match(msg);
|
|
1479
1617
|
if (sub == NULL) {
|
|
1480
1618
|
sub = (struct envoy_config_common_matcher_v3_MatchPredicate*)_upb_Message_New(&envoy__config__common__matcher__v3__MatchPredicate_msg_init, arena);
|
|
@@ -1482,16 +1620,17 @@ UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate* envoy_config_co
|
|
|
1482
1620
|
}
|
|
1483
1621
|
return sub;
|
|
1484
1622
|
}
|
|
1485
|
-
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_any_match(envoy_config_common_matcher_v3_MatchPredicate
|
|
1623
|
+
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_any_match(envoy_config_common_matcher_v3_MatchPredicate* msg, bool value) {
|
|
1486
1624
|
const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
|
1487
|
-
upb_Message_SetBaseField((upb_Message
|
|
1625
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1488
1626
|
}
|
|
1489
|
-
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_request_headers_match(envoy_config_common_matcher_v3_MatchPredicate
|
|
1490
|
-
const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9,
|
|
1627
|
+
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_request_headers_match(envoy_config_common_matcher_v3_MatchPredicate* msg, envoy_config_common_matcher_v3_HttpHeadersMatch* value) {
|
|
1628
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, UPB_SIZE(21, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1491
1629
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init);
|
|
1492
|
-
upb_Message_SetBaseField((upb_Message
|
|
1630
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1493
1631
|
}
|
|
1494
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_request_headers_match(
|
|
1632
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_request_headers_match(
|
|
1633
|
+
envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) {
|
|
1495
1634
|
struct envoy_config_common_matcher_v3_HttpHeadersMatch* sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)envoy_config_common_matcher_v3_MatchPredicate_http_request_headers_match(msg);
|
|
1496
1635
|
if (sub == NULL) {
|
|
1497
1636
|
sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, arena);
|
|
@@ -1499,12 +1638,13 @@ UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_
|
|
|
1499
1638
|
}
|
|
1500
1639
|
return sub;
|
|
1501
1640
|
}
|
|
1502
|
-
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_request_trailers_match(envoy_config_common_matcher_v3_MatchPredicate
|
|
1503
|
-
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9,
|
|
1641
|
+
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_request_trailers_match(envoy_config_common_matcher_v3_MatchPredicate* msg, envoy_config_common_matcher_v3_HttpHeadersMatch* value) {
|
|
1642
|
+
const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, UPB_SIZE(19, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1504
1643
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init);
|
|
1505
|
-
upb_Message_SetBaseField((upb_Message
|
|
1644
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1506
1645
|
}
|
|
1507
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_request_trailers_match(
|
|
1646
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_request_trailers_match(
|
|
1647
|
+
envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) {
|
|
1508
1648
|
struct envoy_config_common_matcher_v3_HttpHeadersMatch* sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)envoy_config_common_matcher_v3_MatchPredicate_http_request_trailers_match(msg);
|
|
1509
1649
|
if (sub == NULL) {
|
|
1510
1650
|
sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, arena);
|
|
@@ -1512,12 +1652,13 @@ UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_
|
|
|
1512
1652
|
}
|
|
1513
1653
|
return sub;
|
|
1514
1654
|
}
|
|
1515
|
-
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_response_headers_match(envoy_config_common_matcher_v3_MatchPredicate
|
|
1516
|
-
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9,
|
|
1655
|
+
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_response_headers_match(envoy_config_common_matcher_v3_MatchPredicate* msg, envoy_config_common_matcher_v3_HttpHeadersMatch* value) {
|
|
1656
|
+
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, UPB_SIZE(17, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1517
1657
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init);
|
|
1518
|
-
upb_Message_SetBaseField((upb_Message
|
|
1658
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1519
1659
|
}
|
|
1520
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_response_headers_match(
|
|
1660
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_response_headers_match(
|
|
1661
|
+
envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) {
|
|
1521
1662
|
struct envoy_config_common_matcher_v3_HttpHeadersMatch* sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)envoy_config_common_matcher_v3_MatchPredicate_http_response_headers_match(msg);
|
|
1522
1663
|
if (sub == NULL) {
|
|
1523
1664
|
sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, arena);
|
|
@@ -1525,12 +1666,13 @@ UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_
|
|
|
1525
1666
|
}
|
|
1526
1667
|
return sub;
|
|
1527
1668
|
}
|
|
1528
|
-
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_response_trailers_match(envoy_config_common_matcher_v3_MatchPredicate
|
|
1529
|
-
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9,
|
|
1669
|
+
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_response_trailers_match(envoy_config_common_matcher_v3_MatchPredicate* msg, envoy_config_common_matcher_v3_HttpHeadersMatch* value) {
|
|
1670
|
+
const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, UPB_SIZE(15, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1530
1671
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init);
|
|
1531
|
-
upb_Message_SetBaseField((upb_Message
|
|
1672
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1532
1673
|
}
|
|
1533
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_response_trailers_match(
|
|
1674
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_response_trailers_match(
|
|
1675
|
+
envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) {
|
|
1534
1676
|
struct envoy_config_common_matcher_v3_HttpHeadersMatch* sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)envoy_config_common_matcher_v3_MatchPredicate_http_response_trailers_match(msg);
|
|
1535
1677
|
if (sub == NULL) {
|
|
1536
1678
|
sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, arena);
|
|
@@ -1538,12 +1680,13 @@ UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_
|
|
|
1538
1680
|
}
|
|
1539
1681
|
return sub;
|
|
1540
1682
|
}
|
|
1541
|
-
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_request_generic_body_match(envoy_config_common_matcher_v3_MatchPredicate
|
|
1542
|
-
const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9,
|
|
1683
|
+
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_request_generic_body_match(envoy_config_common_matcher_v3_MatchPredicate* msg, envoy_config_common_matcher_v3_HttpGenericBodyMatch* value) {
|
|
1684
|
+
const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, UPB_SIZE(13, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1543
1685
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init);
|
|
1544
|
-
upb_Message_SetBaseField((upb_Message
|
|
1686
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1545
1687
|
}
|
|
1546
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_request_generic_body_match(
|
|
1688
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_request_generic_body_match(
|
|
1689
|
+
envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) {
|
|
1547
1690
|
struct envoy_config_common_matcher_v3_HttpGenericBodyMatch* sub = (struct envoy_config_common_matcher_v3_HttpGenericBodyMatch*)envoy_config_common_matcher_v3_MatchPredicate_http_request_generic_body_match(msg);
|
|
1548
1691
|
if (sub == NULL) {
|
|
1549
1692
|
sub = (struct envoy_config_common_matcher_v3_HttpGenericBodyMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init, arena);
|
|
@@ -1551,12 +1694,13 @@ UPB_INLINE struct envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_con
|
|
|
1551
1694
|
}
|
|
1552
1695
|
return sub;
|
|
1553
1696
|
}
|
|
1554
|
-
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_response_generic_body_match(envoy_config_common_matcher_v3_MatchPredicate
|
|
1555
|
-
const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9,
|
|
1697
|
+
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_response_generic_body_match(envoy_config_common_matcher_v3_MatchPredicate* msg, envoy_config_common_matcher_v3_HttpGenericBodyMatch* value) {
|
|
1698
|
+
const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, UPB_SIZE(11, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1556
1699
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init);
|
|
1557
|
-
upb_Message_SetBaseField((upb_Message
|
|
1700
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1558
1701
|
}
|
|
1559
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_response_generic_body_match(
|
|
1702
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_response_generic_body_match(
|
|
1703
|
+
envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) {
|
|
1560
1704
|
struct envoy_config_common_matcher_v3_HttpGenericBodyMatch* sub = (struct envoy_config_common_matcher_v3_HttpGenericBodyMatch*)envoy_config_common_matcher_v3_MatchPredicate_http_response_generic_body_match(msg);
|
|
1561
1705
|
if (sub == NULL) {
|
|
1562
1706
|
sub = (struct envoy_config_common_matcher_v3_HttpGenericBodyMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init, arena);
|
|
@@ -1566,47 +1710,50 @@ UPB_INLINE struct envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_con
|
|
|
1566
1710
|
}
|
|
1567
1711
|
|
|
1568
1712
|
/* envoy.config.common.matcher.v3.MatchPredicate.MatchSet */
|
|
1569
|
-
|
|
1570
1713
|
UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_new(upb_Arena* arena) {
|
|
1571
1714
|
return (envoy_config_common_matcher_v3_MatchPredicate_MatchSet*)_upb_Message_New(&envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init, arena);
|
|
1572
1715
|
}
|
|
1573
|
-
UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_parse(const char* buf, size_t size,
|
|
1716
|
+
UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_parse(const char* buf, size_t size,
|
|
1717
|
+
upb_Arena* arena) {
|
|
1574
1718
|
envoy_config_common_matcher_v3_MatchPredicate_MatchSet* ret = envoy_config_common_matcher_v3_MatchPredicate_MatchSet_new(arena);
|
|
1575
1719
|
if (!ret) return NULL;
|
|
1576
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init, NULL, 0,
|
|
1577
|
-
|
|
1720
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init, NULL, 0,
|
|
1721
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1578
1722
|
return NULL;
|
|
1579
1723
|
}
|
|
1580
1724
|
return ret;
|
|
1581
1725
|
}
|
|
1582
|
-
UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_parse_ex(
|
|
1583
|
-
|
|
1584
|
-
|
|
1726
|
+
UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_parse_ex(
|
|
1727
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1728
|
+
int options, upb_Arena* arena) {
|
|
1585
1729
|
envoy_config_common_matcher_v3_MatchPredicate_MatchSet* ret = envoy_config_common_matcher_v3_MatchPredicate_MatchSet_new(arena);
|
|
1586
1730
|
if (!ret) return NULL;
|
|
1587
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init, extreg,
|
|
1588
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1731
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init, extreg,
|
|
1732
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1589
1733
|
return NULL;
|
|
1590
1734
|
}
|
|
1591
1735
|
return ret;
|
|
1592
1736
|
}
|
|
1593
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_serialize(const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg,
|
|
1737
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_serialize(const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg,
|
|
1738
|
+
upb_Arena* arena, size_t* len) {
|
|
1594
1739
|
char* ptr;
|
|
1595
1740
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init, 0, arena, &ptr, len);
|
|
1596
1741
|
return ptr;
|
|
1597
1742
|
}
|
|
1598
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_serialize_ex(const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg,
|
|
1599
|
-
|
|
1743
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_serialize_ex(const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg,
|
|
1744
|
+
int options, upb_Arena* arena,
|
|
1745
|
+
size_t* len) {
|
|
1600
1746
|
char* ptr;
|
|
1601
1747
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init, options, arena, &ptr, len);
|
|
1602
1748
|
return ptr;
|
|
1603
1749
|
}
|
|
1604
1750
|
UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_MatchSet_clear_rules(envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg) {
|
|
1605
|
-
const upb_MiniTableField field = {1, 8, 0,
|
|
1751
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1606
1752
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1607
1753
|
}
|
|
1608
|
-
UPB_INLINE const envoy_config_common_matcher_v3_MatchPredicate* const* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_rules(const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg,
|
|
1609
|
-
|
|
1754
|
+
UPB_INLINE const envoy_config_common_matcher_v3_MatchPredicate* const* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_rules(const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg,
|
|
1755
|
+
size_t* size) {
|
|
1756
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1610
1757
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__MatchPredicate_msg_init);
|
|
1611
1758
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1612
1759
|
if (arr) {
|
|
@@ -1617,8 +1764,11 @@ UPB_INLINE const envoy_config_common_matcher_v3_MatchPredicate* const* envoy_con
|
|
|
1617
1764
|
return NULL;
|
|
1618
1765
|
}
|
|
1619
1766
|
}
|
|
1620
|
-
|
|
1621
|
-
|
|
1767
|
+
|
|
1768
|
+
//
|
|
1769
|
+
UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_MatchPredicate_MatchSet_rules_upb_array(
|
|
1770
|
+
const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, size_t* size) {
|
|
1771
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1622
1772
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__MatchPredicate_msg_init);
|
|
1623
1773
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1624
1774
|
if (size) {
|
|
@@ -1626,8 +1776,10 @@ UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_MatchPredicate_Match
|
|
|
1626
1776
|
}
|
|
1627
1777
|
return arr;
|
|
1628
1778
|
}
|
|
1629
|
-
|
|
1630
|
-
|
|
1779
|
+
|
|
1780
|
+
UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_MatchPredicate_MatchSet_rules_mutable_upb_array(
|
|
1781
|
+
envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, size_t* size, upb_Arena* arena) {
|
|
1782
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1631
1783
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__MatchPredicate_msg_init);
|
|
1632
1784
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
1633
1785
|
&field, arena);
|
|
@@ -1637,8 +1789,9 @@ UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_MatchPredicate_MatchSet_ru
|
|
|
1637
1789
|
return arr;
|
|
1638
1790
|
}
|
|
1639
1791
|
|
|
1640
|
-
UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate** envoy_config_common_matcher_v3_MatchPredicate_MatchSet_mutable_rules(envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg,
|
|
1641
|
-
|
|
1792
|
+
UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate** envoy_config_common_matcher_v3_MatchPredicate_MatchSet_mutable_rules(envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg,
|
|
1793
|
+
size_t* size) {
|
|
1794
|
+
upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1642
1795
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__MatchPredicate_msg_init);
|
|
1643
1796
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
1644
1797
|
if (arr) {
|
|
@@ -1649,13 +1802,18 @@ UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate** envoy_config_common_m
|
|
|
1649
1802
|
return NULL;
|
|
1650
1803
|
}
|
|
1651
1804
|
}
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1805
|
+
|
|
1806
|
+
UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate** envoy_config_common_matcher_v3_MatchPredicate_MatchSet_resize_rules(envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg,
|
|
1807
|
+
size_t size,
|
|
1808
|
+
upb_Arena* arena) {
|
|
1809
|
+
upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1810
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__MatchPredicate_msg_init);
|
|
1811
|
+
return (envoy_config_common_matcher_v3_MatchPredicate**)upb_Message_ResizeArrayUninitialized(
|
|
1812
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
1656
1813
|
}
|
|
1657
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_add_rules(
|
|
1658
|
-
|
|
1814
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_add_rules(
|
|
1815
|
+
envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, upb_Arena* arena) {
|
|
1816
|
+
upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1659
1817
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__MatchPredicate_msg_init);
|
|
1660
1818
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
1661
1819
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -1663,7 +1821,8 @@ UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate* envoy_config_co
|
|
|
1663
1821
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
1664
1822
|
return NULL;
|
|
1665
1823
|
}
|
|
1666
|
-
struct envoy_config_common_matcher_v3_MatchPredicate* sub =
|
|
1824
|
+
struct envoy_config_common_matcher_v3_MatchPredicate* sub =
|
|
1825
|
+
(struct envoy_config_common_matcher_v3_MatchPredicate*)_upb_Message_New(&envoy__config__common__matcher__v3__MatchPredicate_msg_init, arena);
|
|
1667
1826
|
if (!arr || !sub) return NULL;
|
|
1668
1827
|
UPB_PRIVATE(_upb_Array_Set)
|
|
1669
1828
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
@@ -1671,47 +1830,50 @@ UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate* envoy_config_co
|
|
|
1671
1830
|
}
|
|
1672
1831
|
|
|
1673
1832
|
/* envoy.config.common.matcher.v3.HttpHeadersMatch */
|
|
1674
|
-
|
|
1675
1833
|
UPB_INLINE envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_HttpHeadersMatch_new(upb_Arena* arena) {
|
|
1676
1834
|
return (envoy_config_common_matcher_v3_HttpHeadersMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, arena);
|
|
1677
1835
|
}
|
|
1678
|
-
UPB_INLINE envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_HttpHeadersMatch_parse(const char* buf, size_t size,
|
|
1836
|
+
UPB_INLINE envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_HttpHeadersMatch_parse(const char* buf, size_t size,
|
|
1837
|
+
upb_Arena* arena) {
|
|
1679
1838
|
envoy_config_common_matcher_v3_HttpHeadersMatch* ret = envoy_config_common_matcher_v3_HttpHeadersMatch_new(arena);
|
|
1680
1839
|
if (!ret) return NULL;
|
|
1681
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, NULL, 0,
|
|
1682
|
-
|
|
1840
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, NULL, 0,
|
|
1841
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1683
1842
|
return NULL;
|
|
1684
1843
|
}
|
|
1685
1844
|
return ret;
|
|
1686
1845
|
}
|
|
1687
|
-
UPB_INLINE envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_HttpHeadersMatch_parse_ex(
|
|
1688
|
-
|
|
1689
|
-
|
|
1846
|
+
UPB_INLINE envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_HttpHeadersMatch_parse_ex(
|
|
1847
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1848
|
+
int options, upb_Arena* arena) {
|
|
1690
1849
|
envoy_config_common_matcher_v3_HttpHeadersMatch* ret = envoy_config_common_matcher_v3_HttpHeadersMatch_new(arena);
|
|
1691
1850
|
if (!ret) return NULL;
|
|
1692
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, extreg,
|
|
1693
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1851
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, extreg,
|
|
1852
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1694
1853
|
return NULL;
|
|
1695
1854
|
}
|
|
1696
1855
|
return ret;
|
|
1697
1856
|
}
|
|
1698
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_HttpHeadersMatch_serialize(const envoy_config_common_matcher_v3_HttpHeadersMatch* msg,
|
|
1857
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_HttpHeadersMatch_serialize(const envoy_config_common_matcher_v3_HttpHeadersMatch* msg,
|
|
1858
|
+
upb_Arena* arena, size_t* len) {
|
|
1699
1859
|
char* ptr;
|
|
1700
1860
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, 0, arena, &ptr, len);
|
|
1701
1861
|
return ptr;
|
|
1702
1862
|
}
|
|
1703
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_HttpHeadersMatch_serialize_ex(const envoy_config_common_matcher_v3_HttpHeadersMatch* msg,
|
|
1704
|
-
|
|
1863
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_HttpHeadersMatch_serialize_ex(const envoy_config_common_matcher_v3_HttpHeadersMatch* msg,
|
|
1864
|
+
int options, upb_Arena* arena,
|
|
1865
|
+
size_t* len) {
|
|
1705
1866
|
char* ptr;
|
|
1706
1867
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, options, arena, &ptr, len);
|
|
1707
1868
|
return ptr;
|
|
1708
1869
|
}
|
|
1709
1870
|
UPB_INLINE void envoy_config_common_matcher_v3_HttpHeadersMatch_clear_headers(envoy_config_common_matcher_v3_HttpHeadersMatch* msg) {
|
|
1710
|
-
const upb_MiniTableField field = {1, 8, 0,
|
|
1871
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1711
1872
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1712
1873
|
}
|
|
1713
|
-
UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* const* envoy_config_common_matcher_v3_HttpHeadersMatch_headers(const envoy_config_common_matcher_v3_HttpHeadersMatch* msg,
|
|
1714
|
-
|
|
1874
|
+
UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* const* envoy_config_common_matcher_v3_HttpHeadersMatch_headers(const envoy_config_common_matcher_v3_HttpHeadersMatch* msg,
|
|
1875
|
+
size_t* size) {
|
|
1876
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1715
1877
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__route__v3__HeaderMatcher_msg_init);
|
|
1716
1878
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1717
1879
|
if (arr) {
|
|
@@ -1722,8 +1884,11 @@ UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* const* envoy_config
|
|
|
1722
1884
|
return NULL;
|
|
1723
1885
|
}
|
|
1724
1886
|
}
|
|
1725
|
-
|
|
1726
|
-
|
|
1887
|
+
|
|
1888
|
+
//
|
|
1889
|
+
UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_HttpHeadersMatch_headers_upb_array(
|
|
1890
|
+
const envoy_config_common_matcher_v3_HttpHeadersMatch* msg, size_t* size) {
|
|
1891
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1727
1892
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__route__v3__HeaderMatcher_msg_init);
|
|
1728
1893
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1729
1894
|
if (size) {
|
|
@@ -1731,8 +1896,10 @@ UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_HttpHeadersMatch_hea
|
|
|
1731
1896
|
}
|
|
1732
1897
|
return arr;
|
|
1733
1898
|
}
|
|
1734
|
-
|
|
1735
|
-
|
|
1899
|
+
|
|
1900
|
+
UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_HttpHeadersMatch_headers_mutable_upb_array(
|
|
1901
|
+
envoy_config_common_matcher_v3_HttpHeadersMatch* msg, size_t* size, upb_Arena* arena) {
|
|
1902
|
+
const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1736
1903
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__route__v3__HeaderMatcher_msg_init);
|
|
1737
1904
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
1738
1905
|
&field, arena);
|
|
@@ -1742,8 +1909,9 @@ UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_HttpHeadersMatch_headers_m
|
|
|
1742
1909
|
return arr;
|
|
1743
1910
|
}
|
|
1744
1911
|
|
|
1745
|
-
UPB_INLINE struct envoy_config_route_v3_HeaderMatcher** envoy_config_common_matcher_v3_HttpHeadersMatch_mutable_headers(envoy_config_common_matcher_v3_HttpHeadersMatch* msg,
|
|
1746
|
-
|
|
1912
|
+
UPB_INLINE struct envoy_config_route_v3_HeaderMatcher** envoy_config_common_matcher_v3_HttpHeadersMatch_mutable_headers(envoy_config_common_matcher_v3_HttpHeadersMatch* msg,
|
|
1913
|
+
size_t* size) {
|
|
1914
|
+
upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1747
1915
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__route__v3__HeaderMatcher_msg_init);
|
|
1748
1916
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
1749
1917
|
if (arr) {
|
|
@@ -1754,13 +1922,18 @@ UPB_INLINE struct envoy_config_route_v3_HeaderMatcher** envoy_config_common_matc
|
|
|
1754
1922
|
return NULL;
|
|
1755
1923
|
}
|
|
1756
1924
|
}
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1925
|
+
|
|
1926
|
+
UPB_INLINE struct envoy_config_route_v3_HeaderMatcher** envoy_config_common_matcher_v3_HttpHeadersMatch_resize_headers(envoy_config_common_matcher_v3_HttpHeadersMatch* msg,
|
|
1927
|
+
size_t size,
|
|
1928
|
+
upb_Arena* arena) {
|
|
1929
|
+
upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1930
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__route__v3__HeaderMatcher_msg_init);
|
|
1931
|
+
return (struct envoy_config_route_v3_HeaderMatcher**)upb_Message_ResizeArrayUninitialized(
|
|
1932
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
1761
1933
|
}
|
|
1762
|
-
UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_common_matcher_v3_HttpHeadersMatch_add_headers(
|
|
1763
|
-
|
|
1934
|
+
UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_common_matcher_v3_HttpHeadersMatch_add_headers(
|
|
1935
|
+
envoy_config_common_matcher_v3_HttpHeadersMatch* msg, upb_Arena* arena) {
|
|
1936
|
+
upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1764
1937
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__route__v3__HeaderMatcher_msg_init);
|
|
1765
1938
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
1766
1939
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -1768,7 +1941,8 @@ UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_common_match
|
|
|
1768
1941
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
1769
1942
|
return NULL;
|
|
1770
1943
|
}
|
|
1771
|
-
struct envoy_config_route_v3_HeaderMatcher* sub =
|
|
1944
|
+
struct envoy_config_route_v3_HeaderMatcher* sub =
|
|
1945
|
+
(struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy__config__route__v3__HeaderMatcher_msg_init, arena);
|
|
1772
1946
|
if (!arr || !sub) return NULL;
|
|
1773
1947
|
UPB_PRIVATE(_upb_Array_Set)
|
|
1774
1948
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
@@ -1776,37 +1950,39 @@ UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_common_match
|
|
|
1776
1950
|
}
|
|
1777
1951
|
|
|
1778
1952
|
/* envoy.config.common.matcher.v3.HttpGenericBodyMatch */
|
|
1779
|
-
|
|
1780
1953
|
UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_new(upb_Arena* arena) {
|
|
1781
1954
|
return (envoy_config_common_matcher_v3_HttpGenericBodyMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init, arena);
|
|
1782
1955
|
}
|
|
1783
|
-
UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_parse(const char* buf, size_t size,
|
|
1956
|
+
UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_parse(const char* buf, size_t size,
|
|
1957
|
+
upb_Arena* arena) {
|
|
1784
1958
|
envoy_config_common_matcher_v3_HttpGenericBodyMatch* ret = envoy_config_common_matcher_v3_HttpGenericBodyMatch_new(arena);
|
|
1785
1959
|
if (!ret) return NULL;
|
|
1786
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init, NULL, 0,
|
|
1787
|
-
|
|
1960
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init, NULL, 0,
|
|
1961
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1788
1962
|
return NULL;
|
|
1789
1963
|
}
|
|
1790
1964
|
return ret;
|
|
1791
1965
|
}
|
|
1792
|
-
UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_parse_ex(
|
|
1793
|
-
|
|
1794
|
-
|
|
1966
|
+
UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_parse_ex(
|
|
1967
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1968
|
+
int options, upb_Arena* arena) {
|
|
1795
1969
|
envoy_config_common_matcher_v3_HttpGenericBodyMatch* ret = envoy_config_common_matcher_v3_HttpGenericBodyMatch_new(arena);
|
|
1796
1970
|
if (!ret) return NULL;
|
|
1797
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init, extreg,
|
|
1798
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1971
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init, extreg,
|
|
1972
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1799
1973
|
return NULL;
|
|
1800
1974
|
}
|
|
1801
1975
|
return ret;
|
|
1802
1976
|
}
|
|
1803
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_HttpGenericBodyMatch_serialize(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg,
|
|
1977
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_HttpGenericBodyMatch_serialize(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg,
|
|
1978
|
+
upb_Arena* arena, size_t* len) {
|
|
1804
1979
|
char* ptr;
|
|
1805
1980
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init, 0, arena, &ptr, len);
|
|
1806
1981
|
return ptr;
|
|
1807
1982
|
}
|
|
1808
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_HttpGenericBodyMatch_serialize_ex(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg,
|
|
1809
|
-
|
|
1983
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_HttpGenericBodyMatch_serialize_ex(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg,
|
|
1984
|
+
int options, upb_Arena* arena,
|
|
1985
|
+
size_t* len) {
|
|
1810
1986
|
char* ptr;
|
|
1811
1987
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init, options, arena, &ptr, len);
|
|
1812
1988
|
return ptr;
|
|
@@ -1824,11 +2000,12 @@ UPB_INLINE uint32_t envoy_config_common_matcher_v3_HttpGenericBodyMatch_bytes_li
|
|
|
1824
2000
|
return ret;
|
|
1825
2001
|
}
|
|
1826
2002
|
UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_clear_patterns(envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg) {
|
|
1827
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0,
|
|
2003
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1828
2004
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1829
2005
|
}
|
|
1830
|
-
UPB_INLINE const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* const* envoy_config_common_matcher_v3_HttpGenericBodyMatch_patterns(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg,
|
|
1831
|
-
|
|
2006
|
+
UPB_INLINE const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* const* envoy_config_common_matcher_v3_HttpGenericBodyMatch_patterns(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg,
|
|
2007
|
+
size_t* size) {
|
|
2008
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1832
2009
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init);
|
|
1833
2010
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1834
2011
|
if (arr) {
|
|
@@ -1839,8 +2016,11 @@ UPB_INLINE const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericText
|
|
|
1839
2016
|
return NULL;
|
|
1840
2017
|
}
|
|
1841
2018
|
}
|
|
1842
|
-
|
|
1843
|
-
|
|
2019
|
+
|
|
2020
|
+
//
|
|
2021
|
+
UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_HttpGenericBodyMatch_patterns_upb_array(
|
|
2022
|
+
const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, size_t* size) {
|
|
2023
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1844
2024
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init);
|
|
1845
2025
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1846
2026
|
if (size) {
|
|
@@ -1848,8 +2028,10 @@ UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_HttpGenericBodyMatch
|
|
|
1848
2028
|
}
|
|
1849
2029
|
return arr;
|
|
1850
2030
|
}
|
|
1851
|
-
|
|
1852
|
-
|
|
2031
|
+
|
|
2032
|
+
UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_HttpGenericBodyMatch_patterns_mutable_upb_array(
|
|
2033
|
+
envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, size_t* size, upb_Arena* arena) {
|
|
2034
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1853
2035
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init);
|
|
1854
2036
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
1855
2037
|
&field, arena);
|
|
@@ -1859,12 +2041,13 @@ UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_HttpGenericBodyMatch_patte
|
|
|
1859
2041
|
return arr;
|
|
1860
2042
|
}
|
|
1861
2043
|
|
|
1862
|
-
UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_set_bytes_limit(envoy_config_common_matcher_v3_HttpGenericBodyMatch
|
|
2044
|
+
UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_set_bytes_limit(envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, uint32_t value) {
|
|
1863
2045
|
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
1864
|
-
upb_Message_SetBaseField((upb_Message
|
|
2046
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1865
2047
|
}
|
|
1866
|
-
UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch** envoy_config_common_matcher_v3_HttpGenericBodyMatch_mutable_patterns(envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg,
|
|
1867
|
-
|
|
2048
|
+
UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch** envoy_config_common_matcher_v3_HttpGenericBodyMatch_mutable_patterns(envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg,
|
|
2049
|
+
size_t* size) {
|
|
2050
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1868
2051
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init);
|
|
1869
2052
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
1870
2053
|
if (arr) {
|
|
@@ -1875,13 +2058,18 @@ UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch*
|
|
|
1875
2058
|
return NULL;
|
|
1876
2059
|
}
|
|
1877
2060
|
}
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
2061
|
+
|
|
2062
|
+
UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch** envoy_config_common_matcher_v3_HttpGenericBodyMatch_resize_patterns(envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg,
|
|
2063
|
+
size_t size,
|
|
2064
|
+
upb_Arena* arena) {
|
|
2065
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2066
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init);
|
|
2067
|
+
return (envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch**)upb_Message_ResizeArrayUninitialized(
|
|
2068
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
1882
2069
|
}
|
|
1883
|
-
UPB_INLINE struct envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_add_patterns(
|
|
1884
|
-
|
|
2070
|
+
UPB_INLINE struct envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_add_patterns(
|
|
2071
|
+
envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, upb_Arena* arena) {
|
|
2072
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1885
2073
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init);
|
|
1886
2074
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
1887
2075
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -1889,7 +2077,8 @@ UPB_INLINE struct envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTex
|
|
|
1889
2077
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
1890
2078
|
return NULL;
|
|
1891
2079
|
}
|
|
1892
|
-
struct envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* sub =
|
|
2080
|
+
struct envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* sub =
|
|
2081
|
+
(struct envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, arena);
|
|
1893
2082
|
if (!arr || !sub) return NULL;
|
|
1894
2083
|
UPB_PRIVATE(_upb_Array_Set)
|
|
1895
2084
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
@@ -1897,37 +2086,39 @@ UPB_INLINE struct envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTex
|
|
|
1897
2086
|
}
|
|
1898
2087
|
|
|
1899
2088
|
/* envoy.config.common.matcher.v3.HttpGenericBodyMatch.GenericTextMatch */
|
|
1900
|
-
|
|
1901
2089
|
UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_new(upb_Arena* arena) {
|
|
1902
2090
|
return (envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, arena);
|
|
1903
2091
|
}
|
|
1904
|
-
UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_parse(const char* buf, size_t size,
|
|
2092
|
+
UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_parse(const char* buf, size_t size,
|
|
2093
|
+
upb_Arena* arena) {
|
|
1905
2094
|
envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* ret = envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_new(arena);
|
|
1906
2095
|
if (!ret) return NULL;
|
|
1907
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, NULL, 0,
|
|
1908
|
-
|
|
2096
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, NULL, 0,
|
|
2097
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1909
2098
|
return NULL;
|
|
1910
2099
|
}
|
|
1911
2100
|
return ret;
|
|
1912
2101
|
}
|
|
1913
|
-
UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_parse_ex(
|
|
1914
|
-
|
|
1915
|
-
|
|
2102
|
+
UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_parse_ex(
|
|
2103
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
2104
|
+
int options, upb_Arena* arena) {
|
|
1916
2105
|
envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* ret = envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_new(arena);
|
|
1917
2106
|
if (!ret) return NULL;
|
|
1918
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, extreg,
|
|
1919
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
2107
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, extreg,
|
|
2108
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1920
2109
|
return NULL;
|
|
1921
2110
|
}
|
|
1922
2111
|
return ret;
|
|
1923
2112
|
}
|
|
1924
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_serialize(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg,
|
|
2113
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_serialize(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg,
|
|
2114
|
+
upb_Arena* arena, size_t* len) {
|
|
1925
2115
|
char* ptr;
|
|
1926
2116
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, 0, arena, &ptr, len);
|
|
1927
2117
|
return ptr;
|
|
1928
2118
|
}
|
|
1929
|
-
UPB_INLINE char* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_serialize_ex(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg,
|
|
1930
|
-
|
|
2119
|
+
UPB_INLINE char* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_serialize_ex(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg,
|
|
2120
|
+
int options, upb_Arena* arena,
|
|
2121
|
+
size_t* len) {
|
|
1931
2122
|
char* ptr;
|
|
1932
2123
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, options, arena, &ptr, len);
|
|
1933
2124
|
return ptr;
|
|
@@ -1937,7 +2128,9 @@ typedef enum {
|
|
|
1937
2128
|
envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_binary_match = 2,
|
|
1938
2129
|
envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_NOT_SET = 0
|
|
1939
2130
|
} envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases;
|
|
1940
|
-
|
|
2131
|
+
|
|
2132
|
+
UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases
|
|
2133
|
+
envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_case(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg) {
|
|
1941
2134
|
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1942
2135
|
return (envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
1943
2136
|
UPB_UPCAST(msg), &field);
|
|
@@ -1979,19 +2172,19 @@ UPB_INLINE bool envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextM
|
|
|
1979
2172
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1980
2173
|
}
|
|
1981
2174
|
|
|
1982
|
-
UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_set_string_match(envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch
|
|
2175
|
+
UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_set_string_match(envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg, upb_StringView value) {
|
|
1983
2176
|
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1984
|
-
upb_Message_SetBaseField((upb_Message
|
|
2177
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1985
2178
|
}
|
|
1986
|
-
UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_set_binary_match(envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch
|
|
2179
|
+
UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_set_binary_match(envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg, upb_StringView value) {
|
|
1987
2180
|
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1988
|
-
upb_Message_SetBaseField((upb_Message
|
|
2181
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1989
2182
|
}
|
|
1990
2183
|
|
|
1991
2184
|
#ifdef __cplusplus
|
|
1992
|
-
}
|
|
2185
|
+
} /* extern "C" */
|
|
1993
2186
|
#endif
|
|
1994
2187
|
|
|
1995
2188
|
#include "upb/port/undef.inc"
|
|
1996
2189
|
|
|
1997
|
-
#endif
|
|
2190
|
+
#endif /* ENVOY_CONFIG_COMMON_MATCHER_V3_MATCHER_PROTO_UPB_H__UPB_H_ */
|