grpc 1.81.1 → 1.82.0.pre2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Makefile +12 -9
- data/include/grpc/grpc.h +6 -7
- data/include/grpc/impl/channel_arg_names.h +3 -1
- data/src/core/call/call_filters.h +2 -2
- data/src/core/call/client_call.cc +1 -1
- data/src/core/call/interception_chain.h +6 -9
- data/src/core/call/metadata.h +1 -1
- data/src/core/call/metadata_batch.cc +1 -1
- data/src/core/call/metadata_batch.h +17 -1
- data/src/core/call/parsed_metadata.h +7 -2
- data/src/core/call/server_call.cc +4 -2
- data/src/core/call/server_call.h +9 -2
- data/src/core/call/status_util.cc +0 -4
- data/src/core/call/status_util.h +0 -3
- data/src/core/channelz/channel_trace.cc +3 -1
- data/src/core/client_channel/backup_poller.cc +1 -1
- data/src/core/client_channel/client_channel.cc +6 -14
- data/src/core/client_channel/client_channel.h +2 -2
- data/src/core/client_channel/client_channel_filter.cc +8 -17
- data/src/core/client_channel/client_channel_filter.h +2 -2
- data/src/core/client_channel/client_channel_plugin.cc +1 -1
- data/src/core/client_channel/config_selector.h +2 -7
- data/src/core/client_channel/dynamic_filters.cc +4 -7
- data/src/core/client_channel/dynamic_filters.h +1 -3
- data/src/core/client_channel/retry_filter.cc +2 -25
- data/src/core/client_channel/retry_filter.h +3 -7
- data/src/core/client_channel/retry_filter_legacy_call_data.cc +1 -1
- data/src/core/client_channel/retry_filter_legacy_call_data.h +2 -2
- data/src/core/client_channel/retry_interceptor.cc +7 -35
- data/src/core/client_channel/retry_interceptor.h +11 -14
- data/src/core/client_channel/retry_service_config.cc +0 -2
- data/src/core/client_channel/retry_service_config.h +0 -2
- data/src/core/client_channel/retry_throttle.cc +19 -7
- data/src/core/client_channel/retry_throttle.h +24 -7
- data/src/core/client_channel/subchannel.cc +1 -1
- data/src/core/credentials/call/external/external_account_credentials.cc +125 -12
- data/src/core/credentials/call/external/external_account_credentials.h +6 -1
- data/src/core/credentials/call/jwt/jwt_credentials.cc +11 -1
- data/src/core/credentials/call/jwt/jwt_credentials.h +3 -0
- data/src/core/credentials/call/oauth2/oauth2_credentials.cc +64 -11
- data/src/core/credentials/call/oauth2/oauth2_credentials.h +0 -1
- data/src/core/credentials/call/regional_access_boundary_fetcher.cc +411 -0
- data/src/core/credentials/call/regional_access_boundary_fetcher.h +158 -0
- data/src/core/credentials/call/token_fetcher/token_fetcher_credentials.cc +1 -1
- data/src/core/credentials/call/token_fetcher/token_fetcher_credentials.h +7 -1
- data/src/core/credentials/transport/insecure/insecure_security_connector.h +1 -1
- data/src/core/credentials/transport/local/local_security_connector.cc +1 -1
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +6 -0
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +28 -66
- data/src/core/ext/filters/fault_injection/fault_injection_filter.h +0 -8
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.cc +24 -58
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.h +24 -19
- data/src/core/ext/filters/message_size/message_size_filter.cc +1 -81
- data/src/core/ext/filters/message_size/message_size_filter.h +1 -50
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +13 -56
- data/src/core/ext/filters/stateful_session/stateful_session_filter.h +0 -14
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +1 -1
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +175 -51
- data/src/core/ext/transport/chttp2/server/chttp2_server.h +10 -1
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +73 -6
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +1 -0
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/flow_control.h +11 -0
- data/src/core/ext/transport/chttp2/transport/flow_control_manager.h +2 -4
- data/src/core/ext/transport/chttp2/transport/frame.cc +63 -13
- data/src/core/ext/transport/chttp2/transport/frame.h +45 -10
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +4 -1
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +11 -3
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +4 -1
- data/src/core/ext/transport/chttp2/transport/header_assembler.h +54 -22
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +53 -5
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +22 -0
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +20 -0
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +33 -1
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +4 -1
- data/src/core/ext/transport/chttp2/transport/http2_client_transport.cc +118 -157
- data/src/core/ext/transport/chttp2/transport/http2_client_transport.h +6 -13
- data/src/core/ext/transport/chttp2/transport/http2_server_transport.cc +2187 -0
- data/src/core/ext/transport/chttp2/transport/http2_server_transport.h +748 -0
- data/src/core/ext/transport/chttp2/transport/http2_settings.h +19 -4
- data/src/core/ext/transport/chttp2/transport/http2_settings_manager.h +0 -2
- data/src/core/ext/transport/chttp2/transport/http2_settings_promises.h +50 -17
- data/src/core/ext/transport/chttp2/transport/http2_transport.cc +13 -15
- data/src/core/ext/transport/chttp2/transport/http2_transport.h +16 -48
- data/src/core/ext/transport/chttp2/transport/internal.h +14 -0
- data/src/core/ext/transport/chttp2/transport/message_assembler.h +1 -2
- data/src/core/ext/transport/chttp2/transport/parsing.cc +82 -24
- data/src/core/ext/transport/chttp2/transport/read_context.h +452 -0
- data/src/core/ext/transport/chttp2/transport/security_frame.h +12 -3
- data/src/core/ext/transport/chttp2/transport/stream.h +25 -26
- data/src/core/ext/transport/chttp2/transport/stream_data_queue.h +6 -4
- data/src/core/ext/transport/chttp2/transport/write_cycle.h +9 -1
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +16 -2
- data/src/core/ext/upb-gen/cel/expr/checked.upb.h +621 -432
- data/src/core/ext/upb-gen/cel/expr/checked.upb_minitable.c +264 -166
- data/src/core/ext/upb-gen/cel/expr/checked.upb_minitable.h +0 -13
- data/src/core/ext/upb-gen/cel/expr/syntax.upb.h +708 -497
- data/src/core/ext/upb-gen/cel/expr/syntax.upb_minitable.c +294 -176
- data/src/core/ext/upb-gen/cel/expr/syntax.upb_minitable.h +0 -15
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +262 -181
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +84 -58
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +254 -190
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +107 -53
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +271 -190
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +88 -64
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +1035 -730
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +384 -260
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +0 -19
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +87 -56
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +26 -16
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +105 -71
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +30 -22
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +31 -29
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +19 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +25 -23
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +25 -23
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +201 -165
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +79 -31
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +29 -26
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +46 -29
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +37 -19
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +4 -4
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +34 -27
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +34 -13
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +617 -452
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +221 -163
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +0 -16
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +1339 -970
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +484 -324
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +0 -23
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +181 -135
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +59 -43
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +1353 -1028
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +535 -361
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +0 -25
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +37 -33
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +19 -13
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +234 -196
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +77 -57
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +695 -502
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +246 -186
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +0 -15
- data/src/core/ext/upb-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upb.h +140 -116
- data/src/core/ext/upb-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upb_minitable.c +53 -43
- data/src/core/ext/upb-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +363 -269
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +131 -89
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +35 -31
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +1073 -769
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +515 -293
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +0 -30
- data/src/core/ext/upb-gen/envoy/config/core/v3/cel.upb.h +25 -23
- data/src/core/ext/upb-gen/envoy/config/core/v3/cel.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/cel.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +375 -267
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +142 -86
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +0 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +32 -27
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +29 -26
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +87 -56
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +26 -16
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +634 -468
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +255 -161
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +0 -14
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +672 -474
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +228 -130
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +0 -9
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +56 -40
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +34 -29
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +811 -635
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +347 -221
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +0 -16
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +174 -118
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +62 -38
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +78 -57
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +28 -18
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_cmsg_headers.upb.h +37 -33
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_cmsg_headers.upb_minitable.c +22 -14
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_cmsg_headers.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +159 -119
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +47 -35
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +101 -76
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +41 -23
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +35 -31
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +189 -127
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +79 -49
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +378 -283
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +156 -98
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +354 -255
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +125 -69
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +0 -6
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +611 -451
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +159 -119
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +0 -11
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +468 -321
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +157 -99
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +0 -6
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +146 -119
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +55 -35
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +61 -51
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +43 -39
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +25 -13
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +341 -247
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +130 -84
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +452 -313
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +144 -100
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +0 -10
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +666 -493
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +251 -181
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +0 -12
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +327 -197
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +92 -48
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +3583 -2532
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +1340 -816
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +0 -60
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +111 -82
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +48 -28
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +548 -410
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +214 -148
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +0 -12
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +59 -50
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +30 -20
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +29 -26
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +60 -49
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +28 -20
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +50 -36
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +82 -63
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +27 -19
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +70 -58
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +32 -22
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +2 -5
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +73 -62
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +39 -25
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +49 -45
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +33 -13
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +771 -588
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +383 -185
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +0 -16
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +66 -47
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +31 -17
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/common/matching/v3/extension_matcher.upb.h +69 -58
- data/src/core/ext/upb-gen/envoy/extensions/common/matching/v3/extension_matcher.upb_minitable.c +27 -23
- data/src/core/ext/upb-gen/envoy/extensions/common/matching/v3/extension_matcher.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +151 -119
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +45 -39
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/matcher/action/v3/skip_action.upb.h +19 -17
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/matcher/action/v3/skip_action.upb_minitable.c +1 -3
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/matcher/action/v3/skip_action.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/composite/v3/composite.upb.h +144 -109
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/composite/v3/composite.upb_minitable.c +46 -38
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/composite/v3/composite.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +184 -139
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +65 -35
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb.h +129 -106
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb_minitable.c +69 -41
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +83 -71
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +40 -26
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +148 -101
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +45 -27
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +62 -51
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +35 -21
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +1362 -1024
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +508 -336
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +0 -22
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/call_credentials/access_token/v3/access_token_credentials.upb.h +21 -19
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/call_credentials/access_token/v3/access_token_credentials.upb_minitable.c +13 -7
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/call_credentials/access_token/v3/access_token_credentials.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/tls/v3/tls_credentials.upb.h +35 -31
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/tls/v3/tls_credentials.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/tls/v3/tls_credentials.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/xds/v3/xds_credentials.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/xds/v3/xds_credentials.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/xds/v3/xds_credentials.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +94 -74
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +35 -23
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +231 -179
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +88 -66
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +0 -6
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +21 -19
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +13 -7
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +63 -56
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +31 -19
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +2 -5
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +538 -364
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +157 -95
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +150 -110
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +69 -49
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +517 -389
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +182 -116
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +0 -7
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +84 -62
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +30 -22
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +340 -256
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +92 -82
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +19 -17
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +1 -3
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +857 -566
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +288 -182
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +0 -15
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +105 -72
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +36 -22
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +312 -226
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +132 -78
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +82 -61
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +35 -19
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +123 -89
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +25 -25
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/address.upb.h +48 -33
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/address.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/address.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +42 -36
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +19 -13
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +101 -79
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +61 -31
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +83 -60
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +37 -19
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +56 -40
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +34 -29
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +32 -27
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +88 -71
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +48 -30
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +37 -30
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +1 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +95 -71
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +36 -22
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +79 -56
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +26 -18
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +164 -124
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +54 -40
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +200 -147
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +47 -41
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +0 -7
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +160 -130
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +89 -47
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +78 -62
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +26 -20
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +2 -5
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +21 -19
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +13 -7
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +43 -36
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +22 -12
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +67 -55
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +36 -18
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +62 -51
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +33 -19
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +2 -5
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +25 -23
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +37 -33
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +19 -13
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/api/annotations.upb.h +15 -13
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +22 -7
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +1 -1
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +619 -430
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +260 -168
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +0 -13
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +734 -518
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +312 -182
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +0 -16
- data/src/core/ext/upb-gen/google/api/http.upb.h +146 -105
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +65 -29
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/google/api/httpbody.upb.h +52 -37
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/any.upb.h +23 -21
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +2236 -1514
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +824 -406
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +0 -34
- data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +23 -21
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +19 -17
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +1 -3
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +149 -100
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +59 -43
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +23 -21
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +181 -139
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +99 -53
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +0 -9
- data/src/core/ext/upb-gen/google/rpc/status.upb.h +52 -37
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/channelz.upb.h +1553 -1157
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/channelz.upb_minitable.c +712 -410
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/channelz.upb_minitable.h +0 -39
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/channelz.upb.h +189 -125
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/channelz.upb_minitable.c +59 -35
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/channelz.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/promise.upb.h +454 -343
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/promise.upb_minitable.c +204 -130
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/promise.upb_minitable.h +0 -11
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/property_list.upb.h +369 -243
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/property_list.upb_minitable.c +109 -79
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/property_list.upb_minitable.h +0 -7
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/service.upb.h +256 -175
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/service.upb_minitable.c +122 -68
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/service.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +71 -51
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +39 -19
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +583 -407
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +259 -145
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +0 -12
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +114 -84
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +52 -30
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +41 -34
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +25 -13
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +309 -230
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +123 -79
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +0 -9
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +98 -63
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +51 -23
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +505 -312
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +159 -87
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +0 -9
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +128 -91
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +82 -41
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +5 -8
- data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +36 -29
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +36 -13
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +13 -11
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +22 -7
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +1 -1
- data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +36 -29
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +36 -13
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +34 -27
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +34 -13
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/validate/validate.upb.h +1682 -1130
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +587 -247
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +4 -27
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +128 -91
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +82 -41
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +5 -8
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +36 -29
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +36 -13
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +13 -11
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +22 -7
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +1 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +122 -90
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +82 -39
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +3 -7
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +34 -27
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +34 -13
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +21 -19
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +13 -7
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +29 -26
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +70 -58
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +32 -22
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +53 -34
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +26 -16
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +29 -26
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +37 -33
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +22 -14
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +102 -76
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +43 -23
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +33 -30
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +136 -83
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +41 -33
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +46 -32
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +20 -12
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +29 -26
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +20 -12
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +93 -61
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +28 -20
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +19 -17
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +1 -3
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +105 -71
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +32 -22
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +430 -314
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +153 -123
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +0 -10
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +307 -199
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +74 -62
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +0 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +52 -42
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +19 -13
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +95 -71
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +36 -22
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +92 -77
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +42 -28
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +67 -55
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +36 -18
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +29 -26
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +0 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +885 -855
- data/src/core/filter/composite/composite_filter.cc +10 -3
- data/src/core/filter/composite/composite_filter.h +11 -1
- data/src/core/filter/filter_args.h +4 -22
- data/src/core/handshaker/handshaker.cc +10 -2
- data/src/core/handshaker/security/secure_endpoint.cc +73 -5
- data/src/core/lib/channel/channel_args.h +12 -6
- data/src/core/lib/channel/channel_stack.cc +1 -2
- data/src/core/lib/channel/channel_stack.h +1 -7
- data/src/core/lib/channel/channel_stack_builder_impl.cc +1 -1
- data/src/core/lib/channel/channel_stack_builder_impl.h +0 -7
- data/src/core/lib/channel/promise_based_filter.cc +13 -1
- data/src/core/lib/channel/promise_based_filter.h +4 -5
- data/src/core/lib/event_engine/extensions/chaotic_good_extension.h +0 -13
- data/src/core/lib/event_engine/extensions/receive_coalescing_extension.h +48 -0
- data/src/core/lib/event_engine/posix.h +2 -0
- data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc +2 -1
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +11 -8
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +7 -6
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +1 -1
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +2 -1
- data/src/core/lib/event_engine/posix_engine/posix_interface_posix.cc +10 -10
- data/src/core/lib/event_engine/posix_engine/posix_write_event_sink.h +1 -1
- data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +1 -1
- data/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc +5 -4
- data/src/core/lib/experiments/experiments.cc +258 -87
- data/src/core/lib/experiments/experiments.h +130 -32
- data/src/core/lib/iomgr/buffer_list.h +1 -1
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +1 -1
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +2 -2
- data/src/core/lib/iomgr/tcp_posix.cc +2 -1
- data/src/core/lib/iomgr/tcp_server_posix.cc +3 -3
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +1 -1
- data/src/core/lib/promise/detail/promise_factory.h +8 -8
- data/src/core/lib/promise/interceptor_list.h +1 -1
- data/src/core/lib/promise/try_seq.h +2 -2
- data/src/core/lib/resource_quota/telemetry.cc +54 -0
- data/src/core/lib/resource_quota/telemetry.h +5 -23
- data/src/core/lib/surface/call.cc +6 -1
- data/src/core/lib/surface/call.h +9 -0
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/promise_endpoint.h +7 -5
- data/src/core/lib/transport/transport.h +31 -4
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +146 -74
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.h +88 -0
- data/src/core/mitigation_engine/mitigation_engine.h +81 -0
- data/src/core/plugin_registry/grpc_plugin_registry.cc +0 -2
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -5
- data/src/core/resolver/xds/xds_resolver.cc +23 -133
- data/src/core/server/server.cc +40 -18
- data/src/core/server/server.h +25 -14
- data/src/core/server/server_config_selector_filter.cc +122 -0
- data/src/core/server/server_config_selector_filter.h +1 -0
- data/src/core/server/xds_server_config_fetcher.cc +6 -0
- data/src/core/server/xds_server_config_fetcher_legacy.cc +1333 -0
- data/src/core/telemetry/histogram.h +10 -89
- data/src/core/telemetry/instrument.h +42 -28
- data/src/core/transport/message_size_service_config.cc +123 -0
- data/src/core/transport/message_size_service_config.h +85 -0
- data/src/core/transport/session_endpoint.cc +29 -4
- data/src/core/transport/session_endpoint.h +4 -0
- data/src/core/tsi/alts/crypt/gsec.h +4 -2
- data/src/core/tsi/ssl_transport_security.cc +6 -4
- data/src/core/util/http_client/parser.cc +1 -1
- data/src/core/util/lru_cache.h +2 -0
- data/src/core/util/ref_counted_string.h +1 -1
- data/src/core/util/tchar.cc +13 -7
- data/src/core/util/trie_lookup.h +1 -1
- data/src/core/xds/grpc/blackboard.cc +58 -0
- data/src/core/{filter → xds/grpc}/blackboard.h +30 -11
- data/src/core/xds/grpc/xds_common_types.cc +40 -0
- data/src/core/xds/grpc/xds_common_types.h +13 -0
- data/src/core/xds/grpc/xds_common_types_parser.cc +37 -34
- data/src/core/xds/grpc/xds_endpoint_parser.cc +1 -1
- data/src/core/xds/grpc/xds_http_composite_filter.cc +34 -18
- data/src/core/xds/grpc/xds_http_composite_filter.h +6 -3
- data/src/core/xds/grpc/xds_http_fault_filter.cc +0 -149
- data/src/core/xds/grpc/xds_http_fault_filter.h +19 -8
- data/src/core/xds/grpc/xds_http_filter.cc +2 -1
- data/src/core/xds/grpc/xds_http_filter.h +6 -16
- data/src/core/xds/grpc/xds_http_filter_registry.cc +0 -2
- data/src/core/xds/grpc/xds_http_gcp_authn_filter.cc +25 -119
- data/src/core/xds/grpc/xds_http_gcp_authn_filter.h +27 -15
- data/src/core/xds/grpc/xds_http_stateful_session_filter.cc +0 -149
- data/src/core/xds/grpc/xds_http_stateful_session_filter.h +19 -8
- data/src/core/xds/grpc/xds_lb_policy_registry.cc +18 -0
- data/src/core/xds/grpc/xds_listener_parser.cc +13 -9
- data/src/core/xds/grpc/xds_route_config.h +1 -1
- data/src/core/xds/grpc/xds_route_config_parser.cc +3 -5
- data/src/core/xds/grpc/xds_routing.cc +5 -11
- data/src/core/xds/grpc/xds_routing.h +2 -3
- data/src/core/xds/xds_client/lrs_client.cc +2 -2
- data/src/ruby/ext/grpc/rb_byte_buffer.c +1 -0
- data/src/ruby/ext/grpc/rb_call.c +3 -0
- data/src/ruby/ext/grpc/rb_call_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_channel.c +1 -0
- data/src/ruby/ext/grpc/rb_channel_args.c +1 -0
- data/src/ruby/ext/grpc/rb_channel_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_completion_queue.c +1 -0
- data/src/ruby/ext/grpc/rb_compression_options.c +1 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +4 -4
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +6 -6
- data/src/ruby/ext/grpc/rb_server.c +1 -0
- data/src/ruby/ext/grpc/rb_server_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_xds_server_credentials.c +1 -0
- data/src/ruby/lib/grpc/core/call_credentials.rb +86 -0
- data/src/ruby/lib/grpc/core/channel_credentials.rb +69 -0
- data/src/ruby/lib/grpc/core/credentials_helper.rb +126 -0
- data/src/ruby/lib/grpc/generic/client_stub.rb +86 -73
- data/src/ruby/lib/grpc/generic/interceptors.rb +1 -1
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/lib/grpc.rb +25 -0
- data/src/ruby/spec/call_credentials_spec.rb +52 -2
- data/src/ruby/spec/credentials_helper_spec.rb +80 -0
- data/src/ruby/spec/generic/client_stub_spec.rb +27 -4
- data/src/ruby/spec/generic/server_interceptors_spec.rb +17 -3
- data/third_party/upb/upb/base/error_handler.h +79 -0
- data/third_party/upb/upb/base/internal/log2.h +29 -5
- data/third_party/upb/upb/generated_code_support.h +1 -0
- data/third_party/upb/upb/hash/common.c +129 -14
- data/third_party/upb/upb/hash/common.h +1 -1
- data/third_party/upb/upb/hash/ext_table.h +65 -0
- data/third_party/upb/upb/lex/strtod.c +14 -5
- data/third_party/upb/upb/mem/arena.c +113 -95
- data/third_party/upb/upb/mem/internal/arena.h +13 -8
- data/third_party/upb/upb/message/accessors.c +2 -3
- data/third_party/upb/upb/message/accessors.h +32 -12
- data/third_party/upb/upb/message/array.c +51 -2
- data/third_party/upb/upb/message/array.h +10 -0
- data/third_party/upb/upb/message/copy.c +18 -34
- data/third_party/upb/upb/message/internal/accessors.h +15 -49
- data/third_party/upb/upb/message/internal/array.h +1 -1
- data/third_party/upb/upb/message/internal/map.h +1 -1
- data/third_party/upb/upb/message/internal/message.c +8 -1
- data/third_party/upb/upb/message/internal/message.h +40 -10
- data/third_party/upb/upb/message/message.c +3 -2
- data/third_party/upb/upb/message/value.h +0 -6
- data/third_party/upb/upb/mini_descriptor/decode.c +78 -59
- data/third_party/upb/upb/mini_descriptor/link.c +8 -6
- data/third_party/upb/upb/mini_table/extension_registry.c +17 -49
- data/third_party/upb/upb/mini_table/extension_registry.h +5 -17
- data/third_party/upb/upb/mini_table/generated_registry.c +180 -0
- data/third_party/upb/upb/mini_table/generated_registry.h +66 -0
- data/third_party/upb/upb/mini_table/internal/extension.h +5 -3
- data/third_party/upb/upb/mini_table/internal/field.h +7 -5
- data/third_party/upb/upb/mini_table/internal/generated_registry.h +37 -0
- data/third_party/upb/upb/mini_table/internal/message.c +0 -18
- data/third_party/upb/upb/mini_table/internal/message.h +24 -41
- data/third_party/upb/upb/mini_table/internal/size_log2.h +2 -1
- data/third_party/upb/upb/mini_table/internal/sub.h +2 -5
- data/third_party/upb/upb/mini_table/message.h +34 -13
- data/third_party/upb/upb/port/atomic.h +180 -74
- data/third_party/upb/upb/port/def.inc +194 -29
- data/third_party/upb/upb/port/sanitizers.h +15 -0
- data/third_party/upb/upb/port/undef.inc +6 -2
- data/third_party/upb/upb/reflection/common.h +0 -6
- data/third_party/upb/upb/reflection/def.hpp +8 -12
- data/third_party/upb/upb/reflection/def_pool.c +85 -33
- data/third_party/upb/upb/reflection/def_pool.h +38 -8
- data/third_party/upb/upb/reflection/def_type.h +3 -0
- data/third_party/upb/upb/reflection/enum_def.c +45 -33
- data/third_party/upb/upb/reflection/enum_def.h +8 -4
- data/third_party/upb/upb/reflection/enum_reserved_range.c +7 -3
- data/third_party/upb/upb/reflection/enum_value_def.c +14 -29
- data/third_party/upb/upb/reflection/enum_value_def.h +5 -4
- data/third_party/upb/upb/reflection/extension_range.c +15 -14
- data/third_party/upb/upb/reflection/extension_range.h +7 -4
- data/third_party/upb/upb/reflection/field_def.c +114 -96
- data/third_party/upb/upb/reflection/field_def.h +3 -3
- data/third_party/upb/upb/reflection/file_def.c +71 -65
- data/third_party/upb/upb/reflection/file_def.h +4 -5
- data/third_party/upb/upb/reflection/internal/def_builder.c +22 -14
- data/third_party/upb/upb/reflection/internal/def_builder.h +44 -38
- data/third_party/upb/upb/reflection/internal/def_pool.h +5 -1
- data/third_party/upb/upb/reflection/internal/enum_def.h +6 -4
- data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +3 -2
- data/third_party/upb/upb/reflection/internal/enum_value_def.h +7 -4
- data/third_party/upb/upb/reflection/internal/extension_range.h +4 -3
- data/third_party/upb/upb/reflection/internal/field_def.h +15 -12
- data/third_party/upb/upb/reflection/internal/file_def.h +8 -1
- data/third_party/upb/upb/reflection/internal/message_def.h +10 -7
- data/third_party/upb/upb/reflection/internal/message_reserved_range.h +3 -1
- data/third_party/upb/upb/reflection/internal/method_def.h +6 -6
- data/third_party/upb/upb/reflection/internal/oneof_def.h +6 -6
- data/third_party/upb/upb/reflection/internal/service_def.h +9 -6
- data/third_party/upb/upb/reflection/internal/upb_edition_defaults.h +1 -1
- data/third_party/upb/upb/reflection/message_def.c +46 -53
- data/third_party/upb/upb/reflection/message_def.h +6 -7
- data/third_party/upb/upb/reflection/message_reserved_range.c +7 -6
- data/third_party/upb/upb/reflection/method_def.c +22 -20
- data/third_party/upb/upb/reflection/method_def.h +4 -4
- data/third_party/upb/upb/reflection/oneof_def.c +17 -15
- data/third_party/upb/upb/reflection/oneof_def.h +6 -3
- data/third_party/upb/upb/reflection/service_def.c +50 -23
- data/third_party/upb/upb/reflection/service_def.h +7 -4
- data/third_party/upb/upb/text/internal/encode.c +7 -10
- data/third_party/upb/upb/wire/decode.c +269 -430
- data/third_party/upb/upb/wire/decode.h +6 -45
- data/third_party/upb/upb/wire/decode_fast/combinations.h +7 -3
- data/third_party/upb/upb/wire/decode_fast/select.c +7 -2
- data/third_party/upb/upb/wire/encode.c +144 -106
- data/third_party/upb/upb/wire/encode.h +6 -2
- data/third_party/upb/upb/wire/eps_copy_input_stream.c +36 -7
- data/third_party/upb/upb/wire/eps_copy_input_stream.h +94 -380
- data/third_party/upb/upb/wire/internal/decoder.c +1 -14
- data/third_party/upb/upb/wire/internal/decoder.h +84 -24
- data/third_party/upb/upb/wire/internal/eps_copy_input_stream.h +339 -0
- data/third_party/upb/upb/wire/internal/reader.h +29 -12
- data/third_party/upb/upb/wire/reader.c +35 -22
- data/third_party/upb/upb/wire/reader.h +11 -18
- data/third_party/utf8_range/utf8_range.c +1 -1
- data/third_party/utf8_range/utf8_range.h +2 -1
- metadata +27 -13
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc +0 -117
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h +0 -109
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_service_config_parser.cc +0 -80
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_service_config_parser.h +0 -86
- data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.cc +0 -83
- data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h +0 -91
- data/src/core/ext/transport/chttp2/transport/incoming_metadata_tracker.h +0 -217
- data/src/core/filter/blackboard.cc +0 -33
- data/third_party/upb/upb/message/internal/tagged_ptr.h +0 -56
- data/third_party/upb/upb/message/tagged_ptr.h +0 -48
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
#define ENVOY_CONFIG_CORE_V3_BASE_PROTO_UPB_H__UPB_H_
|
|
11
11
|
|
|
12
12
|
#include "upb/generated_code_support.h"
|
|
13
|
-
|
|
14
13
|
#include "envoy/config/core/v3/base.upb_minitable.h"
|
|
15
|
-
|
|
16
14
|
#include "envoy/config/core/v3/address.upb_minitable.h"
|
|
17
15
|
#include "envoy/config/core/v3/backoff.upb_minitable.h"
|
|
18
16
|
#include "envoy/config/core/v3/http_uri.upb_minitable.h"
|
|
@@ -34,34 +32,114 @@
|
|
|
34
32
|
#ifdef __cplusplus
|
|
35
33
|
extern "C" {
|
|
36
34
|
#endif
|
|
35
|
+
typedef struct envoy_config_core_v3_Locality {
|
|
36
|
+
upb_Message UPB_PRIVATE(base);
|
|
37
|
+
} envoy_config_core_v3_Locality;
|
|
38
|
+
|
|
39
|
+
typedef struct envoy_config_core_v3_BuildVersion {
|
|
40
|
+
upb_Message UPB_PRIVATE(base);
|
|
41
|
+
} envoy_config_core_v3_BuildVersion;
|
|
42
|
+
|
|
43
|
+
typedef struct envoy_config_core_v3_Extension {
|
|
44
|
+
upb_Message UPB_PRIVATE(base);
|
|
45
|
+
} envoy_config_core_v3_Extension;
|
|
46
|
+
|
|
47
|
+
typedef struct envoy_config_core_v3_Node {
|
|
48
|
+
upb_Message UPB_PRIVATE(base);
|
|
49
|
+
} envoy_config_core_v3_Node;
|
|
50
|
+
|
|
51
|
+
typedef struct envoy_config_core_v3_Metadata {
|
|
52
|
+
upb_Message UPB_PRIVATE(base);
|
|
53
|
+
} envoy_config_core_v3_Metadata;
|
|
54
|
+
|
|
55
|
+
typedef struct envoy_config_core_v3_RuntimeUInt32 {
|
|
56
|
+
upb_Message UPB_PRIVATE(base);
|
|
57
|
+
} envoy_config_core_v3_RuntimeUInt32;
|
|
58
|
+
|
|
59
|
+
typedef struct envoy_config_core_v3_RuntimePercent {
|
|
60
|
+
upb_Message UPB_PRIVATE(base);
|
|
61
|
+
} envoy_config_core_v3_RuntimePercent;
|
|
62
|
+
|
|
63
|
+
typedef struct envoy_config_core_v3_RuntimeDouble {
|
|
64
|
+
upb_Message UPB_PRIVATE(base);
|
|
65
|
+
} envoy_config_core_v3_RuntimeDouble;
|
|
66
|
+
|
|
67
|
+
typedef struct envoy_config_core_v3_RuntimeFeatureFlag {
|
|
68
|
+
upb_Message UPB_PRIVATE(base);
|
|
69
|
+
} envoy_config_core_v3_RuntimeFeatureFlag;
|
|
70
|
+
|
|
71
|
+
typedef struct envoy_config_core_v3_KeyValue {
|
|
72
|
+
upb_Message UPB_PRIVATE(base);
|
|
73
|
+
} envoy_config_core_v3_KeyValue;
|
|
74
|
+
|
|
75
|
+
typedef struct envoy_config_core_v3_KeyValuePair {
|
|
76
|
+
upb_Message UPB_PRIVATE(base);
|
|
77
|
+
} envoy_config_core_v3_KeyValuePair;
|
|
78
|
+
|
|
79
|
+
typedef struct envoy_config_core_v3_KeyValueAppend {
|
|
80
|
+
upb_Message UPB_PRIVATE(base);
|
|
81
|
+
} envoy_config_core_v3_KeyValueAppend;
|
|
82
|
+
|
|
83
|
+
typedef struct envoy_config_core_v3_KeyValueMutation {
|
|
84
|
+
upb_Message UPB_PRIVATE(base);
|
|
85
|
+
} envoy_config_core_v3_KeyValueMutation;
|
|
86
|
+
|
|
87
|
+
typedef struct envoy_config_core_v3_QueryParameter {
|
|
88
|
+
upb_Message UPB_PRIVATE(base);
|
|
89
|
+
} envoy_config_core_v3_QueryParameter;
|
|
90
|
+
|
|
91
|
+
typedef struct envoy_config_core_v3_HeaderValue {
|
|
92
|
+
upb_Message UPB_PRIVATE(base);
|
|
93
|
+
} envoy_config_core_v3_HeaderValue;
|
|
94
|
+
|
|
95
|
+
typedef struct envoy_config_core_v3_HeaderValueOption {
|
|
96
|
+
upb_Message UPB_PRIVATE(base);
|
|
97
|
+
} envoy_config_core_v3_HeaderValueOption;
|
|
98
|
+
|
|
99
|
+
typedef struct envoy_config_core_v3_HeaderMap {
|
|
100
|
+
upb_Message UPB_PRIVATE(base);
|
|
101
|
+
} envoy_config_core_v3_HeaderMap;
|
|
102
|
+
|
|
103
|
+
typedef struct envoy_config_core_v3_WatchedDirectory {
|
|
104
|
+
upb_Message UPB_PRIVATE(base);
|
|
105
|
+
} envoy_config_core_v3_WatchedDirectory;
|
|
106
|
+
|
|
107
|
+
typedef struct envoy_config_core_v3_DataSource {
|
|
108
|
+
upb_Message UPB_PRIVATE(base);
|
|
109
|
+
} envoy_config_core_v3_DataSource;
|
|
110
|
+
|
|
111
|
+
typedef struct envoy_config_core_v3_RetryPolicy {
|
|
112
|
+
upb_Message UPB_PRIVATE(base);
|
|
113
|
+
} envoy_config_core_v3_RetryPolicy;
|
|
114
|
+
|
|
115
|
+
typedef struct envoy_config_core_v3_RetryPolicy_RetryPriority {
|
|
116
|
+
upb_Message UPB_PRIVATE(base);
|
|
117
|
+
} envoy_config_core_v3_RetryPolicy_RetryPriority;
|
|
118
|
+
|
|
119
|
+
typedef struct envoy_config_core_v3_RetryPolicy_RetryHostPredicate {
|
|
120
|
+
upb_Message UPB_PRIVATE(base);
|
|
121
|
+
} envoy_config_core_v3_RetryPolicy_RetryHostPredicate;
|
|
122
|
+
|
|
123
|
+
typedef struct envoy_config_core_v3_RemoteDataSource {
|
|
124
|
+
upb_Message UPB_PRIVATE(base);
|
|
125
|
+
} envoy_config_core_v3_RemoteDataSource;
|
|
126
|
+
|
|
127
|
+
typedef struct envoy_config_core_v3_AsyncDataSource {
|
|
128
|
+
upb_Message UPB_PRIVATE(base);
|
|
129
|
+
} envoy_config_core_v3_AsyncDataSource;
|
|
130
|
+
|
|
131
|
+
typedef struct envoy_config_core_v3_TransportSocket {
|
|
132
|
+
upb_Message UPB_PRIVATE(base);
|
|
133
|
+
} envoy_config_core_v3_TransportSocket;
|
|
134
|
+
|
|
135
|
+
typedef struct envoy_config_core_v3_RuntimeFractionalPercent {
|
|
136
|
+
upb_Message UPB_PRIVATE(base);
|
|
137
|
+
} envoy_config_core_v3_RuntimeFractionalPercent;
|
|
138
|
+
|
|
139
|
+
typedef struct envoy_config_core_v3_ControlPlane {
|
|
140
|
+
upb_Message UPB_PRIVATE(base);
|
|
141
|
+
} envoy_config_core_v3_ControlPlane;
|
|
37
142
|
|
|
38
|
-
typedef struct envoy_config_core_v3_Locality { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_Locality;
|
|
39
|
-
typedef struct envoy_config_core_v3_BuildVersion { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_BuildVersion;
|
|
40
|
-
typedef struct envoy_config_core_v3_Extension { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_Extension;
|
|
41
|
-
typedef struct envoy_config_core_v3_Node { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_Node;
|
|
42
|
-
typedef struct envoy_config_core_v3_Metadata { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_Metadata;
|
|
43
|
-
typedef struct envoy_config_core_v3_RuntimeUInt32 { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RuntimeUInt32;
|
|
44
|
-
typedef struct envoy_config_core_v3_RuntimePercent { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RuntimePercent;
|
|
45
|
-
typedef struct envoy_config_core_v3_RuntimeDouble { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RuntimeDouble;
|
|
46
|
-
typedef struct envoy_config_core_v3_RuntimeFeatureFlag { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RuntimeFeatureFlag;
|
|
47
|
-
typedef struct envoy_config_core_v3_KeyValue { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_KeyValue;
|
|
48
|
-
typedef struct envoy_config_core_v3_KeyValuePair { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_KeyValuePair;
|
|
49
|
-
typedef struct envoy_config_core_v3_KeyValueAppend { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_KeyValueAppend;
|
|
50
|
-
typedef struct envoy_config_core_v3_KeyValueMutation { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_KeyValueMutation;
|
|
51
|
-
typedef struct envoy_config_core_v3_QueryParameter { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_QueryParameter;
|
|
52
|
-
typedef struct envoy_config_core_v3_HeaderValue { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_HeaderValue;
|
|
53
|
-
typedef struct envoy_config_core_v3_HeaderValueOption { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_HeaderValueOption;
|
|
54
|
-
typedef struct envoy_config_core_v3_HeaderMap { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_HeaderMap;
|
|
55
|
-
typedef struct envoy_config_core_v3_WatchedDirectory { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_WatchedDirectory;
|
|
56
|
-
typedef struct envoy_config_core_v3_DataSource { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_DataSource;
|
|
57
|
-
typedef struct envoy_config_core_v3_RetryPolicy { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RetryPolicy;
|
|
58
|
-
typedef struct envoy_config_core_v3_RetryPolicy_RetryPriority { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RetryPolicy_RetryPriority;
|
|
59
|
-
typedef struct envoy_config_core_v3_RetryPolicy_RetryHostPredicate { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RetryPolicy_RetryHostPredicate;
|
|
60
|
-
typedef struct envoy_config_core_v3_RemoteDataSource { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RemoteDataSource;
|
|
61
|
-
typedef struct envoy_config_core_v3_AsyncDataSource { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_AsyncDataSource;
|
|
62
|
-
typedef struct envoy_config_core_v3_TransportSocket { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_TransportSocket;
|
|
63
|
-
typedef struct envoy_config_core_v3_RuntimeFractionalPercent { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_RuntimeFractionalPercent;
|
|
64
|
-
typedef struct envoy_config_core_v3_ControlPlane { upb_Message UPB_PRIVATE(base); } envoy_config_core_v3_ControlPlane;
|
|
65
143
|
struct envoy_config_core_v3_Address;
|
|
66
144
|
struct envoy_config_core_v3_BackoffStrategy;
|
|
67
145
|
struct envoy_config_core_v3_HttpUri;
|
|
@@ -115,37 +193,39 @@ typedef enum {
|
|
|
115
193
|
|
|
116
194
|
|
|
117
195
|
/* envoy.config.core.v3.Locality */
|
|
118
|
-
|
|
119
196
|
UPB_INLINE envoy_config_core_v3_Locality* envoy_config_core_v3_Locality_new(upb_Arena* arena) {
|
|
120
197
|
return (envoy_config_core_v3_Locality*)_upb_Message_New(&envoy__config__core__v3__Locality_msg_init, arena);
|
|
121
198
|
}
|
|
122
|
-
UPB_INLINE envoy_config_core_v3_Locality* envoy_config_core_v3_Locality_parse(const char* buf, size_t size,
|
|
199
|
+
UPB_INLINE envoy_config_core_v3_Locality* envoy_config_core_v3_Locality_parse(const char* buf, size_t size,
|
|
200
|
+
upb_Arena* arena) {
|
|
123
201
|
envoy_config_core_v3_Locality* ret = envoy_config_core_v3_Locality_new(arena);
|
|
124
202
|
if (!ret) return NULL;
|
|
125
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Locality_msg_init, NULL, 0,
|
|
126
|
-
|
|
203
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Locality_msg_init, NULL, 0,
|
|
204
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
127
205
|
return NULL;
|
|
128
206
|
}
|
|
129
207
|
return ret;
|
|
130
208
|
}
|
|
131
|
-
UPB_INLINE envoy_config_core_v3_Locality* envoy_config_core_v3_Locality_parse_ex(
|
|
132
|
-
|
|
133
|
-
|
|
209
|
+
UPB_INLINE envoy_config_core_v3_Locality* envoy_config_core_v3_Locality_parse_ex(
|
|
210
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
211
|
+
int options, upb_Arena* arena) {
|
|
134
212
|
envoy_config_core_v3_Locality* ret = envoy_config_core_v3_Locality_new(arena);
|
|
135
213
|
if (!ret) return NULL;
|
|
136
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Locality_msg_init, extreg,
|
|
137
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
214
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Locality_msg_init, extreg,
|
|
215
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
138
216
|
return NULL;
|
|
139
217
|
}
|
|
140
218
|
return ret;
|
|
141
219
|
}
|
|
142
|
-
UPB_INLINE char* envoy_config_core_v3_Locality_serialize(const envoy_config_core_v3_Locality* msg,
|
|
220
|
+
UPB_INLINE char* envoy_config_core_v3_Locality_serialize(const envoy_config_core_v3_Locality* msg,
|
|
221
|
+
upb_Arena* arena, size_t* len) {
|
|
143
222
|
char* ptr;
|
|
144
223
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__Locality_msg_init, 0, arena, &ptr, len);
|
|
145
224
|
return ptr;
|
|
146
225
|
}
|
|
147
|
-
UPB_INLINE char* envoy_config_core_v3_Locality_serialize_ex(const envoy_config_core_v3_Locality* msg,
|
|
148
|
-
|
|
226
|
+
UPB_INLINE char* envoy_config_core_v3_Locality_serialize_ex(const envoy_config_core_v3_Locality* msg,
|
|
227
|
+
int options, upb_Arena* arena,
|
|
228
|
+
size_t* len) {
|
|
149
229
|
char* ptr;
|
|
150
230
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__Locality_msg_init, options, arena, &ptr, len);
|
|
151
231
|
return ptr;
|
|
@@ -187,96 +267,99 @@ UPB_INLINE upb_StringView envoy_config_core_v3_Locality_sub_zone(const envoy_con
|
|
|
187
267
|
return ret;
|
|
188
268
|
}
|
|
189
269
|
|
|
190
|
-
UPB_INLINE void envoy_config_core_v3_Locality_set_region(envoy_config_core_v3_Locality
|
|
270
|
+
UPB_INLINE void envoy_config_core_v3_Locality_set_region(envoy_config_core_v3_Locality* msg, upb_StringView value) {
|
|
191
271
|
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
192
|
-
upb_Message_SetBaseField((upb_Message
|
|
272
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
193
273
|
}
|
|
194
|
-
UPB_INLINE void envoy_config_core_v3_Locality_set_zone(envoy_config_core_v3_Locality
|
|
274
|
+
UPB_INLINE void envoy_config_core_v3_Locality_set_zone(envoy_config_core_v3_Locality* msg, upb_StringView value) {
|
|
195
275
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
196
|
-
upb_Message_SetBaseField((upb_Message
|
|
276
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
197
277
|
}
|
|
198
|
-
UPB_INLINE void envoy_config_core_v3_Locality_set_sub_zone(envoy_config_core_v3_Locality
|
|
278
|
+
UPB_INLINE void envoy_config_core_v3_Locality_set_sub_zone(envoy_config_core_v3_Locality* msg, upb_StringView value) {
|
|
199
279
|
const upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
200
|
-
upb_Message_SetBaseField((upb_Message
|
|
280
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
201
281
|
}
|
|
202
282
|
|
|
203
283
|
/* envoy.config.core.v3.BuildVersion */
|
|
204
|
-
|
|
205
284
|
UPB_INLINE envoy_config_core_v3_BuildVersion* envoy_config_core_v3_BuildVersion_new(upb_Arena* arena) {
|
|
206
285
|
return (envoy_config_core_v3_BuildVersion*)_upb_Message_New(&envoy__config__core__v3__BuildVersion_msg_init, arena);
|
|
207
286
|
}
|
|
208
|
-
UPB_INLINE envoy_config_core_v3_BuildVersion* envoy_config_core_v3_BuildVersion_parse(const char* buf, size_t size,
|
|
287
|
+
UPB_INLINE envoy_config_core_v3_BuildVersion* envoy_config_core_v3_BuildVersion_parse(const char* buf, size_t size,
|
|
288
|
+
upb_Arena* arena) {
|
|
209
289
|
envoy_config_core_v3_BuildVersion* ret = envoy_config_core_v3_BuildVersion_new(arena);
|
|
210
290
|
if (!ret) return NULL;
|
|
211
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__BuildVersion_msg_init, NULL, 0,
|
|
212
|
-
|
|
291
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__BuildVersion_msg_init, NULL, 0,
|
|
292
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
213
293
|
return NULL;
|
|
214
294
|
}
|
|
215
295
|
return ret;
|
|
216
296
|
}
|
|
217
|
-
UPB_INLINE envoy_config_core_v3_BuildVersion* envoy_config_core_v3_BuildVersion_parse_ex(
|
|
218
|
-
|
|
219
|
-
|
|
297
|
+
UPB_INLINE envoy_config_core_v3_BuildVersion* envoy_config_core_v3_BuildVersion_parse_ex(
|
|
298
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
299
|
+
int options, upb_Arena* arena) {
|
|
220
300
|
envoy_config_core_v3_BuildVersion* ret = envoy_config_core_v3_BuildVersion_new(arena);
|
|
221
301
|
if (!ret) return NULL;
|
|
222
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__BuildVersion_msg_init, extreg,
|
|
223
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
302
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__BuildVersion_msg_init, extreg,
|
|
303
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
224
304
|
return NULL;
|
|
225
305
|
}
|
|
226
306
|
return ret;
|
|
227
307
|
}
|
|
228
|
-
UPB_INLINE char* envoy_config_core_v3_BuildVersion_serialize(const envoy_config_core_v3_BuildVersion* msg,
|
|
308
|
+
UPB_INLINE char* envoy_config_core_v3_BuildVersion_serialize(const envoy_config_core_v3_BuildVersion* msg,
|
|
309
|
+
upb_Arena* arena, size_t* len) {
|
|
229
310
|
char* ptr;
|
|
230
311
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__BuildVersion_msg_init, 0, arena, &ptr, len);
|
|
231
312
|
return ptr;
|
|
232
313
|
}
|
|
233
|
-
UPB_INLINE char* envoy_config_core_v3_BuildVersion_serialize_ex(const envoy_config_core_v3_BuildVersion* msg,
|
|
234
|
-
|
|
314
|
+
UPB_INLINE char* envoy_config_core_v3_BuildVersion_serialize_ex(const envoy_config_core_v3_BuildVersion* msg,
|
|
315
|
+
int options, upb_Arena* arena,
|
|
316
|
+
size_t* len) {
|
|
235
317
|
char* ptr;
|
|
236
318
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__BuildVersion_msg_init, options, arena, &ptr, len);
|
|
237
319
|
return ptr;
|
|
238
320
|
}
|
|
239
321
|
UPB_INLINE void envoy_config_core_v3_BuildVersion_clear_version(envoy_config_core_v3_BuildVersion* msg) {
|
|
240
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
322
|
+
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)};
|
|
241
323
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
242
324
|
}
|
|
243
325
|
UPB_INLINE const struct envoy_type_v3_SemanticVersion* envoy_config_core_v3_BuildVersion_version(const envoy_config_core_v3_BuildVersion* msg) {
|
|
244
326
|
const struct envoy_type_v3_SemanticVersion* default_val = NULL;
|
|
245
327
|
const struct envoy_type_v3_SemanticVersion* ret;
|
|
246
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
328
|
+
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)};
|
|
247
329
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__type__v3__SemanticVersion_msg_init);
|
|
248
330
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
249
331
|
&default_val, &ret);
|
|
250
332
|
return ret;
|
|
251
333
|
}
|
|
252
334
|
UPB_INLINE bool envoy_config_core_v3_BuildVersion_has_version(const envoy_config_core_v3_BuildVersion* msg) {
|
|
253
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
335
|
+
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)};
|
|
254
336
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
255
337
|
}
|
|
256
338
|
UPB_INLINE void envoy_config_core_v3_BuildVersion_clear_metadata(envoy_config_core_v3_BuildVersion* msg) {
|
|
257
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65,
|
|
339
|
+
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)};
|
|
258
340
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
259
341
|
}
|
|
260
342
|
UPB_INLINE const struct google_protobuf_Struct* envoy_config_core_v3_BuildVersion_metadata(const envoy_config_core_v3_BuildVersion* msg) {
|
|
261
343
|
const struct google_protobuf_Struct* default_val = NULL;
|
|
262
344
|
const struct google_protobuf_Struct* ret;
|
|
263
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65,
|
|
345
|
+
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)};
|
|
264
346
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Struct_msg_init);
|
|
265
347
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
266
348
|
&default_val, &ret);
|
|
267
349
|
return ret;
|
|
268
350
|
}
|
|
269
351
|
UPB_INLINE bool envoy_config_core_v3_BuildVersion_has_metadata(const envoy_config_core_v3_BuildVersion* msg) {
|
|
270
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65,
|
|
352
|
+
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)};
|
|
271
353
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
272
354
|
}
|
|
273
355
|
|
|
274
|
-
UPB_INLINE void envoy_config_core_v3_BuildVersion_set_version(envoy_config_core_v3_BuildVersion
|
|
275
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
356
|
+
UPB_INLINE void envoy_config_core_v3_BuildVersion_set_version(envoy_config_core_v3_BuildVersion* msg, struct envoy_type_v3_SemanticVersion* value) {
|
|
357
|
+
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)};
|
|
276
358
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__type__v3__SemanticVersion_msg_init);
|
|
277
|
-
upb_Message_SetBaseField((upb_Message
|
|
359
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
278
360
|
}
|
|
279
|
-
UPB_INLINE struct envoy_type_v3_SemanticVersion* envoy_config_core_v3_BuildVersion_mutable_version(
|
|
361
|
+
UPB_INLINE struct envoy_type_v3_SemanticVersion* envoy_config_core_v3_BuildVersion_mutable_version(
|
|
362
|
+
envoy_config_core_v3_BuildVersion* msg, upb_Arena* arena) {
|
|
280
363
|
struct envoy_type_v3_SemanticVersion* sub = (struct envoy_type_v3_SemanticVersion*)envoy_config_core_v3_BuildVersion_version(msg);
|
|
281
364
|
if (sub == NULL) {
|
|
282
365
|
sub = (struct envoy_type_v3_SemanticVersion*)_upb_Message_New(&envoy__type__v3__SemanticVersion_msg_init, arena);
|
|
@@ -284,12 +367,13 @@ UPB_INLINE struct envoy_type_v3_SemanticVersion* envoy_config_core_v3_BuildVersi
|
|
|
284
367
|
}
|
|
285
368
|
return sub;
|
|
286
369
|
}
|
|
287
|
-
UPB_INLINE void envoy_config_core_v3_BuildVersion_set_metadata(envoy_config_core_v3_BuildVersion
|
|
288
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65,
|
|
370
|
+
UPB_INLINE void envoy_config_core_v3_BuildVersion_set_metadata(envoy_config_core_v3_BuildVersion* msg, struct google_protobuf_Struct* value) {
|
|
371
|
+
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)};
|
|
289
372
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Struct_msg_init);
|
|
290
|
-
upb_Message_SetBaseField((upb_Message
|
|
373
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
291
374
|
}
|
|
292
|
-
UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_BuildVersion_mutable_metadata(
|
|
375
|
+
UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_BuildVersion_mutable_metadata(
|
|
376
|
+
envoy_config_core_v3_BuildVersion* msg, upb_Arena* arena) {
|
|
293
377
|
struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_core_v3_BuildVersion_metadata(msg);
|
|
294
378
|
if (sub == NULL) {
|
|
295
379
|
sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena);
|
|
@@ -299,37 +383,39 @@ UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_BuildVersion_muta
|
|
|
299
383
|
}
|
|
300
384
|
|
|
301
385
|
/* envoy.config.core.v3.Extension */
|
|
302
|
-
|
|
303
386
|
UPB_INLINE envoy_config_core_v3_Extension* envoy_config_core_v3_Extension_new(upb_Arena* arena) {
|
|
304
387
|
return (envoy_config_core_v3_Extension*)_upb_Message_New(&envoy__config__core__v3__Extension_msg_init, arena);
|
|
305
388
|
}
|
|
306
|
-
UPB_INLINE envoy_config_core_v3_Extension* envoy_config_core_v3_Extension_parse(const char* buf, size_t size,
|
|
389
|
+
UPB_INLINE envoy_config_core_v3_Extension* envoy_config_core_v3_Extension_parse(const char* buf, size_t size,
|
|
390
|
+
upb_Arena* arena) {
|
|
307
391
|
envoy_config_core_v3_Extension* ret = envoy_config_core_v3_Extension_new(arena);
|
|
308
392
|
if (!ret) return NULL;
|
|
309
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Extension_msg_init, NULL, 0,
|
|
310
|
-
|
|
393
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Extension_msg_init, NULL, 0,
|
|
394
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
311
395
|
return NULL;
|
|
312
396
|
}
|
|
313
397
|
return ret;
|
|
314
398
|
}
|
|
315
|
-
UPB_INLINE envoy_config_core_v3_Extension* envoy_config_core_v3_Extension_parse_ex(
|
|
316
|
-
|
|
317
|
-
|
|
399
|
+
UPB_INLINE envoy_config_core_v3_Extension* envoy_config_core_v3_Extension_parse_ex(
|
|
400
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
401
|
+
int options, upb_Arena* arena) {
|
|
318
402
|
envoy_config_core_v3_Extension* ret = envoy_config_core_v3_Extension_new(arena);
|
|
319
403
|
if (!ret) return NULL;
|
|
320
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Extension_msg_init, extreg,
|
|
321
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
404
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Extension_msg_init, extreg,
|
|
405
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
322
406
|
return NULL;
|
|
323
407
|
}
|
|
324
408
|
return ret;
|
|
325
409
|
}
|
|
326
|
-
UPB_INLINE char* envoy_config_core_v3_Extension_serialize(const envoy_config_core_v3_Extension* msg,
|
|
410
|
+
UPB_INLINE char* envoy_config_core_v3_Extension_serialize(const envoy_config_core_v3_Extension* msg,
|
|
411
|
+
upb_Arena* arena, size_t* len) {
|
|
327
412
|
char* ptr;
|
|
328
413
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__Extension_msg_init, 0, arena, &ptr, len);
|
|
329
414
|
return ptr;
|
|
330
415
|
}
|
|
331
|
-
UPB_INLINE char* envoy_config_core_v3_Extension_serialize_ex(const envoy_config_core_v3_Extension* msg,
|
|
332
|
-
|
|
416
|
+
UPB_INLINE char* envoy_config_core_v3_Extension_serialize_ex(const envoy_config_core_v3_Extension* msg,
|
|
417
|
+
int options, upb_Arena* arena,
|
|
418
|
+
size_t* len) {
|
|
333
419
|
char* ptr;
|
|
334
420
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__Extension_msg_init, options, arena, &ptr, len);
|
|
335
421
|
return ptr;
|
|
@@ -371,20 +457,20 @@ UPB_INLINE upb_StringView envoy_config_core_v3_Extension_type_descriptor(const e
|
|
|
371
457
|
return ret;
|
|
372
458
|
}
|
|
373
459
|
UPB_INLINE void envoy_config_core_v3_Extension_clear_version(envoy_config_core_v3_Extension* msg) {
|
|
374
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64,
|
|
460
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
375
461
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
376
462
|
}
|
|
377
463
|
UPB_INLINE const envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Extension_version(const envoy_config_core_v3_Extension* msg) {
|
|
378
464
|
const envoy_config_core_v3_BuildVersion* default_val = NULL;
|
|
379
465
|
const envoy_config_core_v3_BuildVersion* ret;
|
|
380
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64,
|
|
466
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
381
467
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__BuildVersion_msg_init);
|
|
382
468
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
383
469
|
&default_val, &ret);
|
|
384
470
|
return ret;
|
|
385
471
|
}
|
|
386
472
|
UPB_INLINE bool envoy_config_core_v3_Extension_has_version(const envoy_config_core_v3_Extension* msg) {
|
|
387
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64,
|
|
473
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
388
474
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
389
475
|
}
|
|
390
476
|
UPB_INLINE void envoy_config_core_v3_Extension_clear_disabled(envoy_config_core_v3_Extension* msg) {
|
|
@@ -403,7 +489,8 @@ UPB_INLINE void envoy_config_core_v3_Extension_clear_type_urls(envoy_config_core
|
|
|
403
489
|
const upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
404
490
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
405
491
|
}
|
|
406
|
-
UPB_INLINE upb_StringView const* envoy_config_core_v3_Extension_type_urls(const envoy_config_core_v3_Extension* msg,
|
|
492
|
+
UPB_INLINE upb_StringView const* envoy_config_core_v3_Extension_type_urls(const envoy_config_core_v3_Extension* msg,
|
|
493
|
+
size_t* size) {
|
|
407
494
|
const upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
408
495
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
409
496
|
if (arr) {
|
|
@@ -414,7 +501,10 @@ UPB_INLINE upb_StringView const* envoy_config_core_v3_Extension_type_urls(const
|
|
|
414
501
|
return NULL;
|
|
415
502
|
}
|
|
416
503
|
}
|
|
417
|
-
|
|
504
|
+
|
|
505
|
+
//
|
|
506
|
+
UPB_INLINE const upb_Array* _envoy_config_core_v3_Extension_type_urls_upb_array(
|
|
507
|
+
const envoy_config_core_v3_Extension* msg, size_t* size) {
|
|
418
508
|
const upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
419
509
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
420
510
|
if (size) {
|
|
@@ -422,7 +512,9 @@ UPB_INLINE const upb_Array* _envoy_config_core_v3_Extension_type_urls_upb_array(
|
|
|
422
512
|
}
|
|
423
513
|
return arr;
|
|
424
514
|
}
|
|
425
|
-
|
|
515
|
+
|
|
516
|
+
UPB_INLINE upb_Array* _envoy_config_core_v3_Extension_type_urls_mutable_upb_array(
|
|
517
|
+
envoy_config_core_v3_Extension* msg, size_t* size, upb_Arena* arena) {
|
|
426
518
|
const upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
427
519
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
428
520
|
&field, arena);
|
|
@@ -432,24 +524,25 @@ UPB_INLINE upb_Array* _envoy_config_core_v3_Extension_type_urls_mutable_upb_arra
|
|
|
432
524
|
return arr;
|
|
433
525
|
}
|
|
434
526
|
|
|
435
|
-
UPB_INLINE void envoy_config_core_v3_Extension_set_name(envoy_config_core_v3_Extension
|
|
527
|
+
UPB_INLINE void envoy_config_core_v3_Extension_set_name(envoy_config_core_v3_Extension* msg, upb_StringView value) {
|
|
436
528
|
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
437
|
-
upb_Message_SetBaseField((upb_Message
|
|
529
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
438
530
|
}
|
|
439
|
-
UPB_INLINE void envoy_config_core_v3_Extension_set_category(envoy_config_core_v3_Extension
|
|
531
|
+
UPB_INLINE void envoy_config_core_v3_Extension_set_category(envoy_config_core_v3_Extension* msg, upb_StringView value) {
|
|
440
532
|
const upb_MiniTableField field = {2, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
441
|
-
upb_Message_SetBaseField((upb_Message
|
|
533
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
442
534
|
}
|
|
443
|
-
UPB_INLINE void envoy_config_core_v3_Extension_set_type_descriptor(envoy_config_core_v3_Extension
|
|
535
|
+
UPB_INLINE void envoy_config_core_v3_Extension_set_type_descriptor(envoy_config_core_v3_Extension* msg, upb_StringView value) {
|
|
444
536
|
const upb_MiniTableField field = {3, UPB_SIZE(36, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
445
|
-
upb_Message_SetBaseField((upb_Message
|
|
537
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
446
538
|
}
|
|
447
|
-
UPB_INLINE void envoy_config_core_v3_Extension_set_version(envoy_config_core_v3_Extension
|
|
448
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64,
|
|
539
|
+
UPB_INLINE void envoy_config_core_v3_Extension_set_version(envoy_config_core_v3_Extension* msg, envoy_config_core_v3_BuildVersion* value) {
|
|
540
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
449
541
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__BuildVersion_msg_init);
|
|
450
|
-
upb_Message_SetBaseField((upb_Message
|
|
542
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
451
543
|
}
|
|
452
|
-
UPB_INLINE struct envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Extension_mutable_version(
|
|
544
|
+
UPB_INLINE struct envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Extension_mutable_version(
|
|
545
|
+
envoy_config_core_v3_Extension* msg, upb_Arena* arena) {
|
|
453
546
|
struct envoy_config_core_v3_BuildVersion* sub = (struct envoy_config_core_v3_BuildVersion*)envoy_config_core_v3_Extension_version(msg);
|
|
454
547
|
if (sub == NULL) {
|
|
455
548
|
sub = (struct envoy_config_core_v3_BuildVersion*)_upb_Message_New(&envoy__config__core__v3__BuildVersion_msg_init, arena);
|
|
@@ -457,11 +550,12 @@ UPB_INLINE struct envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Extens
|
|
|
457
550
|
}
|
|
458
551
|
return sub;
|
|
459
552
|
}
|
|
460
|
-
UPB_INLINE void envoy_config_core_v3_Extension_set_disabled(envoy_config_core_v3_Extension
|
|
553
|
+
UPB_INLINE void envoy_config_core_v3_Extension_set_disabled(envoy_config_core_v3_Extension* msg, bool value) {
|
|
461
554
|
const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
|
462
|
-
upb_Message_SetBaseField((upb_Message
|
|
555
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
463
556
|
}
|
|
464
|
-
UPB_INLINE upb_StringView* envoy_config_core_v3_Extension_mutable_type_urls(envoy_config_core_v3_Extension* msg,
|
|
557
|
+
UPB_INLINE upb_StringView* envoy_config_core_v3_Extension_mutable_type_urls(envoy_config_core_v3_Extension* msg,
|
|
558
|
+
size_t* size) {
|
|
465
559
|
upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
466
560
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
467
561
|
if (arr) {
|
|
@@ -472,12 +566,16 @@ UPB_INLINE upb_StringView* envoy_config_core_v3_Extension_mutable_type_urls(envo
|
|
|
472
566
|
return NULL;
|
|
473
567
|
}
|
|
474
568
|
}
|
|
475
|
-
|
|
569
|
+
|
|
570
|
+
UPB_INLINE upb_StringView* envoy_config_core_v3_Extension_resize_type_urls(envoy_config_core_v3_Extension* msg,
|
|
571
|
+
size_t size,
|
|
572
|
+
upb_Arena* arena) {
|
|
476
573
|
upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
477
|
-
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(
|
|
478
|
-
|
|
574
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(
|
|
575
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
479
576
|
}
|
|
480
|
-
UPB_INLINE bool envoy_config_core_v3_Extension_add_type_urls(envoy_config_core_v3_Extension* msg, upb_StringView val,
|
|
577
|
+
UPB_INLINE bool envoy_config_core_v3_Extension_add_type_urls(envoy_config_core_v3_Extension* msg, upb_StringView val,
|
|
578
|
+
upb_Arena* arena) {
|
|
481
579
|
upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
482
580
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
483
581
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -491,37 +589,39 @@ UPB_INLINE bool envoy_config_core_v3_Extension_add_type_urls(envoy_config_core_v
|
|
|
491
589
|
}
|
|
492
590
|
|
|
493
591
|
/* envoy.config.core.v3.Node */
|
|
494
|
-
|
|
495
592
|
UPB_INLINE envoy_config_core_v3_Node* envoy_config_core_v3_Node_new(upb_Arena* arena) {
|
|
496
593
|
return (envoy_config_core_v3_Node*)_upb_Message_New(&envoy__config__core__v3__Node_msg_init, arena);
|
|
497
594
|
}
|
|
498
|
-
UPB_INLINE envoy_config_core_v3_Node* envoy_config_core_v3_Node_parse(const char* buf, size_t size,
|
|
595
|
+
UPB_INLINE envoy_config_core_v3_Node* envoy_config_core_v3_Node_parse(const char* buf, size_t size,
|
|
596
|
+
upb_Arena* arena) {
|
|
499
597
|
envoy_config_core_v3_Node* ret = envoy_config_core_v3_Node_new(arena);
|
|
500
598
|
if (!ret) return NULL;
|
|
501
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Node_msg_init, NULL, 0,
|
|
502
|
-
|
|
599
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Node_msg_init, NULL, 0,
|
|
600
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
503
601
|
return NULL;
|
|
504
602
|
}
|
|
505
603
|
return ret;
|
|
506
604
|
}
|
|
507
|
-
UPB_INLINE envoy_config_core_v3_Node* envoy_config_core_v3_Node_parse_ex(
|
|
508
|
-
|
|
509
|
-
|
|
605
|
+
UPB_INLINE envoy_config_core_v3_Node* envoy_config_core_v3_Node_parse_ex(
|
|
606
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
607
|
+
int options, upb_Arena* arena) {
|
|
510
608
|
envoy_config_core_v3_Node* ret = envoy_config_core_v3_Node_new(arena);
|
|
511
609
|
if (!ret) return NULL;
|
|
512
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Node_msg_init, extreg,
|
|
513
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
610
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Node_msg_init, extreg,
|
|
611
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
514
612
|
return NULL;
|
|
515
613
|
}
|
|
516
614
|
return ret;
|
|
517
615
|
}
|
|
518
|
-
UPB_INLINE char* envoy_config_core_v3_Node_serialize(const envoy_config_core_v3_Node* msg,
|
|
616
|
+
UPB_INLINE char* envoy_config_core_v3_Node_serialize(const envoy_config_core_v3_Node* msg,
|
|
617
|
+
upb_Arena* arena, size_t* len) {
|
|
519
618
|
char* ptr;
|
|
520
619
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__Node_msg_init, 0, arena, &ptr, len);
|
|
521
620
|
return ptr;
|
|
522
621
|
}
|
|
523
|
-
UPB_INLINE char* envoy_config_core_v3_Node_serialize_ex(const envoy_config_core_v3_Node* msg,
|
|
524
|
-
|
|
622
|
+
UPB_INLINE char* envoy_config_core_v3_Node_serialize_ex(const envoy_config_core_v3_Node* msg,
|
|
623
|
+
int options, upb_Arena* arena,
|
|
624
|
+
size_t* len) {
|
|
525
625
|
char* ptr;
|
|
526
626
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__Node_msg_init, options, arena, &ptr, len);
|
|
527
627
|
return ptr;
|
|
@@ -531,7 +631,9 @@ typedef enum {
|
|
|
531
631
|
envoy_config_core_v3_Node_user_agent_version_type_user_agent_build_version = 8,
|
|
532
632
|
envoy_config_core_v3_Node_user_agent_version_type_NOT_SET = 0
|
|
533
633
|
} envoy_config_core_v3_Node_user_agent_version_type_oneofcases;
|
|
534
|
-
|
|
634
|
+
|
|
635
|
+
UPB_INLINE envoy_config_core_v3_Node_user_agent_version_type_oneofcases
|
|
636
|
+
envoy_config_core_v3_Node_user_agent_version_type_case(const envoy_config_core_v3_Node* msg) {
|
|
535
637
|
const upb_MiniTableField field = {7, 64, UPB_SIZE(-37, -13), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
536
638
|
return (envoy_config_core_v3_Node_user_agent_version_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
537
639
|
UPB_UPCAST(msg), &field);
|
|
@@ -565,37 +667,37 @@ UPB_INLINE upb_StringView envoy_config_core_v3_Node_cluster(const envoy_config_c
|
|
|
565
667
|
return ret;
|
|
566
668
|
}
|
|
567
669
|
UPB_INLINE void envoy_config_core_v3_Node_clear_metadata(envoy_config_core_v3_Node* msg) {
|
|
568
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 80), 64,
|
|
670
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 80), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
569
671
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
570
672
|
}
|
|
571
673
|
UPB_INLINE const struct google_protobuf_Struct* envoy_config_core_v3_Node_metadata(const envoy_config_core_v3_Node* msg) {
|
|
572
674
|
const struct google_protobuf_Struct* default_val = NULL;
|
|
573
675
|
const struct google_protobuf_Struct* ret;
|
|
574
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 80), 64,
|
|
676
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 80), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
575
677
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Struct_msg_init);
|
|
576
678
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
577
679
|
&default_val, &ret);
|
|
578
680
|
return ret;
|
|
579
681
|
}
|
|
580
682
|
UPB_INLINE bool envoy_config_core_v3_Node_has_metadata(const envoy_config_core_v3_Node* msg) {
|
|
581
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 80), 64,
|
|
683
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 80), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
582
684
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
583
685
|
}
|
|
584
686
|
UPB_INLINE void envoy_config_core_v3_Node_clear_locality(envoy_config_core_v3_Node* msg) {
|
|
585
|
-
const upb_MiniTableField field = {4, UPB_SIZE(16, 88), 65,
|
|
687
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 88), 65, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
586
688
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
587
689
|
}
|
|
588
690
|
UPB_INLINE const envoy_config_core_v3_Locality* envoy_config_core_v3_Node_locality(const envoy_config_core_v3_Node* msg) {
|
|
589
691
|
const envoy_config_core_v3_Locality* default_val = NULL;
|
|
590
692
|
const envoy_config_core_v3_Locality* ret;
|
|
591
|
-
const upb_MiniTableField field = {4, UPB_SIZE(16, 88), 65,
|
|
693
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 88), 65, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
592
694
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Locality_msg_init);
|
|
593
695
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
594
696
|
&default_val, &ret);
|
|
595
697
|
return ret;
|
|
596
698
|
}
|
|
597
699
|
UPB_INLINE bool envoy_config_core_v3_Node_has_locality(const envoy_config_core_v3_Node* msg) {
|
|
598
|
-
const upb_MiniTableField field = {4, UPB_SIZE(16, 88), 65,
|
|
700
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 88), 65, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
599
701
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
600
702
|
}
|
|
601
703
|
UPB_INLINE void envoy_config_core_v3_Node_clear_user_agent_name(envoy_config_core_v3_Node* msg) {
|
|
@@ -627,28 +729,29 @@ UPB_INLINE bool envoy_config_core_v3_Node_has_user_agent_version(const envoy_con
|
|
|
627
729
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
628
730
|
}
|
|
629
731
|
UPB_INLINE void envoy_config_core_v3_Node_clear_user_agent_build_version(envoy_config_core_v3_Node* msg) {
|
|
630
|
-
const upb_MiniTableField field = {8, 64, UPB_SIZE(-37, -13),
|
|
732
|
+
const upb_MiniTableField field = {8, 64, UPB_SIZE(-37, -13), UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
631
733
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
632
734
|
}
|
|
633
735
|
UPB_INLINE const envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Node_user_agent_build_version(const envoy_config_core_v3_Node* msg) {
|
|
634
736
|
const envoy_config_core_v3_BuildVersion* default_val = NULL;
|
|
635
737
|
const envoy_config_core_v3_BuildVersion* ret;
|
|
636
|
-
const upb_MiniTableField field = {8, 64, UPB_SIZE(-37, -13),
|
|
738
|
+
const upb_MiniTableField field = {8, 64, UPB_SIZE(-37, -13), UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
637
739
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__BuildVersion_msg_init);
|
|
638
740
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
639
741
|
&default_val, &ret);
|
|
640
742
|
return ret;
|
|
641
743
|
}
|
|
642
744
|
UPB_INLINE bool envoy_config_core_v3_Node_has_user_agent_build_version(const envoy_config_core_v3_Node* msg) {
|
|
643
|
-
const upb_MiniTableField field = {8, 64, UPB_SIZE(-37, -13),
|
|
745
|
+
const upb_MiniTableField field = {8, 64, UPB_SIZE(-37, -13), UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
644
746
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
645
747
|
}
|
|
646
748
|
UPB_INLINE void envoy_config_core_v3_Node_clear_extensions(envoy_config_core_v3_Node* msg) {
|
|
647
|
-
const upb_MiniTableField field = {9, UPB_SIZE(20, 96), 0,
|
|
749
|
+
const upb_MiniTableField field = {9, UPB_SIZE(20, 96), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
648
750
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
649
751
|
}
|
|
650
|
-
UPB_INLINE const envoy_config_core_v3_Extension* const* envoy_config_core_v3_Node_extensions(const envoy_config_core_v3_Node* msg,
|
|
651
|
-
|
|
752
|
+
UPB_INLINE const envoy_config_core_v3_Extension* const* envoy_config_core_v3_Node_extensions(const envoy_config_core_v3_Node* msg,
|
|
753
|
+
size_t* size) {
|
|
754
|
+
const upb_MiniTableField field = {9, UPB_SIZE(20, 96), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
652
755
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Extension_msg_init);
|
|
653
756
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
654
757
|
if (arr) {
|
|
@@ -659,8 +762,11 @@ UPB_INLINE const envoy_config_core_v3_Extension* const* envoy_config_core_v3_Nod
|
|
|
659
762
|
return NULL;
|
|
660
763
|
}
|
|
661
764
|
}
|
|
662
|
-
|
|
663
|
-
|
|
765
|
+
|
|
766
|
+
//
|
|
767
|
+
UPB_INLINE const upb_Array* _envoy_config_core_v3_Node_extensions_upb_array(
|
|
768
|
+
const envoy_config_core_v3_Node* msg, size_t* size) {
|
|
769
|
+
const upb_MiniTableField field = {9, UPB_SIZE(20, 96), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
664
770
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Extension_msg_init);
|
|
665
771
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
666
772
|
if (size) {
|
|
@@ -668,8 +774,10 @@ UPB_INLINE const upb_Array* _envoy_config_core_v3_Node_extensions_upb_array(cons
|
|
|
668
774
|
}
|
|
669
775
|
return arr;
|
|
670
776
|
}
|
|
671
|
-
|
|
672
|
-
|
|
777
|
+
|
|
778
|
+
UPB_INLINE upb_Array* _envoy_config_core_v3_Node_extensions_mutable_upb_array(
|
|
779
|
+
envoy_config_core_v3_Node* msg, size_t* size, upb_Arena* arena) {
|
|
780
|
+
const upb_MiniTableField field = {9, UPB_SIZE(20, 96), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
673
781
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Extension_msg_init);
|
|
674
782
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
675
783
|
&field, arena);
|
|
@@ -682,7 +790,8 @@ UPB_INLINE void envoy_config_core_v3_Node_clear_client_features(envoy_config_cor
|
|
|
682
790
|
const upb_MiniTableField field = {10, UPB_SIZE(24, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
683
791
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
684
792
|
}
|
|
685
|
-
UPB_INLINE upb_StringView const* envoy_config_core_v3_Node_client_features(const envoy_config_core_v3_Node* msg,
|
|
793
|
+
UPB_INLINE upb_StringView const* envoy_config_core_v3_Node_client_features(const envoy_config_core_v3_Node* msg,
|
|
794
|
+
size_t* size) {
|
|
686
795
|
const upb_MiniTableField field = {10, UPB_SIZE(24, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
687
796
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
688
797
|
if (arr) {
|
|
@@ -693,7 +802,10 @@ UPB_INLINE upb_StringView const* envoy_config_core_v3_Node_client_features(const
|
|
|
693
802
|
return NULL;
|
|
694
803
|
}
|
|
695
804
|
}
|
|
696
|
-
|
|
805
|
+
|
|
806
|
+
//
|
|
807
|
+
UPB_INLINE const upb_Array* _envoy_config_core_v3_Node_client_features_upb_array(
|
|
808
|
+
const envoy_config_core_v3_Node* msg, size_t* size) {
|
|
697
809
|
const upb_MiniTableField field = {10, UPB_SIZE(24, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
698
810
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
699
811
|
if (size) {
|
|
@@ -701,7 +813,9 @@ UPB_INLINE const upb_Array* _envoy_config_core_v3_Node_client_features_upb_array
|
|
|
701
813
|
}
|
|
702
814
|
return arr;
|
|
703
815
|
}
|
|
704
|
-
|
|
816
|
+
|
|
817
|
+
UPB_INLINE upb_Array* _envoy_config_core_v3_Node_client_features_mutable_upb_array(
|
|
818
|
+
envoy_config_core_v3_Node* msg, size_t* size, upb_Arena* arena) {
|
|
705
819
|
const upb_MiniTableField field = {10, UPB_SIZE(24, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
706
820
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
707
821
|
&field, arena);
|
|
@@ -711,11 +825,12 @@ UPB_INLINE upb_Array* _envoy_config_core_v3_Node_client_features_mutable_upb_arr
|
|
|
711
825
|
return arr;
|
|
712
826
|
}
|
|
713
827
|
UPB_INLINE void envoy_config_core_v3_Node_clear_listening_addresses(envoy_config_core_v3_Node* msg) {
|
|
714
|
-
const upb_MiniTableField field = {11, UPB_SIZE(28, 112), 0,
|
|
828
|
+
const upb_MiniTableField field = {11, UPB_SIZE(28, 112), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
715
829
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
716
830
|
}
|
|
717
|
-
UPB_INLINE const struct envoy_config_core_v3_Address* const* envoy_config_core_v3_Node_listening_addresses(const envoy_config_core_v3_Node* msg,
|
|
718
|
-
|
|
831
|
+
UPB_INLINE const struct envoy_config_core_v3_Address* const* envoy_config_core_v3_Node_listening_addresses(const envoy_config_core_v3_Node* msg,
|
|
832
|
+
size_t* size) {
|
|
833
|
+
const upb_MiniTableField field = {11, UPB_SIZE(28, 112), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
719
834
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Address_msg_init);
|
|
720
835
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
721
836
|
if (arr) {
|
|
@@ -726,8 +841,11 @@ UPB_INLINE const struct envoy_config_core_v3_Address* const* envoy_config_core_v
|
|
|
726
841
|
return NULL;
|
|
727
842
|
}
|
|
728
843
|
}
|
|
729
|
-
|
|
730
|
-
|
|
844
|
+
|
|
845
|
+
//
|
|
846
|
+
UPB_INLINE const upb_Array* _envoy_config_core_v3_Node_listening_addresses_upb_array(
|
|
847
|
+
const envoy_config_core_v3_Node* msg, size_t* size) {
|
|
848
|
+
const upb_MiniTableField field = {11, UPB_SIZE(28, 112), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
731
849
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Address_msg_init);
|
|
732
850
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
733
851
|
if (size) {
|
|
@@ -735,8 +853,10 @@ UPB_INLINE const upb_Array* _envoy_config_core_v3_Node_listening_addresses_upb_a
|
|
|
735
853
|
}
|
|
736
854
|
return arr;
|
|
737
855
|
}
|
|
738
|
-
|
|
739
|
-
|
|
856
|
+
|
|
857
|
+
UPB_INLINE upb_Array* _envoy_config_core_v3_Node_listening_addresses_mutable_upb_array(
|
|
858
|
+
envoy_config_core_v3_Node* msg, size_t* size, upb_Arena* arena) {
|
|
859
|
+
const upb_MiniTableField field = {11, UPB_SIZE(28, 112), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
740
860
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Address_msg_init);
|
|
741
861
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
742
862
|
&field, arena);
|
|
@@ -746,25 +866,32 @@ UPB_INLINE upb_Array* _envoy_config_core_v3_Node_listening_addresses_mutable_upb
|
|
|
746
866
|
return arr;
|
|
747
867
|
}
|
|
748
868
|
UPB_INLINE void envoy_config_core_v3_Node_clear_dynamic_parameters(envoy_config_core_v3_Node* msg) {
|
|
749
|
-
const upb_MiniTableField field = {12, UPB_SIZE(32, 120), 0,
|
|
869
|
+
const upb_MiniTableField field = {12, UPB_SIZE(32, 120), 0, UPB_SIZE(8, 14), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
750
870
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
751
871
|
}
|
|
752
872
|
UPB_INLINE size_t envoy_config_core_v3_Node_dynamic_parameters_size(const envoy_config_core_v3_Node* msg) {
|
|
753
|
-
const upb_MiniTableField field = {12, UPB_SIZE(32, 120), 0,
|
|
873
|
+
const upb_MiniTableField field = {12, UPB_SIZE(32, 120), 0, UPB_SIZE(8, 14), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
874
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Node__DynamicParametersEntry_msg_init);
|
|
875
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&xds__core__v3__ContextParams_msg_init);
|
|
754
876
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
755
877
|
return map ? _upb_Map_Size(map) : 0;
|
|
756
878
|
}
|
|
757
|
-
|
|
758
|
-
|
|
879
|
+
|
|
880
|
+
UPB_INLINE bool envoy_config_core_v3_Node_dynamic_parameters_get(const envoy_config_core_v3_Node* msg,
|
|
881
|
+
upb_StringView key, struct xds_core_v3_ContextParams** val) {
|
|
882
|
+
const upb_MiniTableField field = {12, UPB_SIZE(32, 120), 0, UPB_SIZE(8, 14), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
759
883
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Node__DynamicParametersEntry_msg_init);
|
|
760
884
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&xds__core__v3__ContextParams_msg_init);
|
|
761
885
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
762
886
|
if (!map) return false;
|
|
763
|
-
return _upb_Map_Get(map, &key, 0, val, sizeof(*
|
|
887
|
+
return _upb_Map_Get(map, &key, 0, val, sizeof(struct xds_core_v3_ContextParams*));
|
|
764
888
|
}
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
889
|
+
|
|
890
|
+
UPB_INLINE bool envoy_config_core_v3_Node_dynamic_parameters_next(const envoy_config_core_v3_Node* msg,
|
|
891
|
+
upb_StringView* key,
|
|
892
|
+
const struct xds_core_v3_ContextParams** val,
|
|
893
|
+
size_t* iter) {
|
|
894
|
+
const upb_MiniTableField field = {12, UPB_SIZE(32, 120), 0, UPB_SIZE(8, 14), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
768
895
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Node__DynamicParametersEntry_msg_init);
|
|
769
896
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&xds__core__v3__ContextParams_msg_init);
|
|
770
897
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
@@ -776,33 +903,40 @@ UPB_INLINE bool envoy_config_core_v3_Node_dynamic_parameters_next(const envoy_co
|
|
|
776
903
|
memcpy(val, &v, sizeof(*val));
|
|
777
904
|
return true;
|
|
778
905
|
}
|
|
906
|
+
|
|
907
|
+
// and ~ a upb_Map for mutable.
|
|
908
|
+
//
|
|
779
909
|
UPB_INLINE const upb_Map* _envoy_config_core_v3_Node_dynamic_parameters_upb_map(envoy_config_core_v3_Node* msg) {
|
|
780
|
-
const upb_MiniTableField field = {12, UPB_SIZE(32, 120), 0,
|
|
910
|
+
const upb_MiniTableField field = {12, UPB_SIZE(32, 120), 0, UPB_SIZE(8, 14), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
781
911
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Node__DynamicParametersEntry_msg_init);
|
|
782
912
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&xds__core__v3__ContextParams_msg_init);
|
|
783
913
|
return upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
784
914
|
}
|
|
785
|
-
|
|
786
|
-
|
|
915
|
+
|
|
916
|
+
UPB_INLINE upb_Map* _envoy_config_core_v3_Node_dynamic_parameters_mutable_upb_map(
|
|
917
|
+
envoy_config_core_v3_Node* msg, upb_Arena* a) {
|
|
918
|
+
const upb_MiniTableField field = {12, UPB_SIZE(32, 120), 0, UPB_SIZE(8, 14), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
787
919
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Node__DynamicParametersEntry_msg_init);
|
|
788
920
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&xds__core__v3__ContextParams_msg_init);
|
|
789
|
-
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
921
|
+
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
922
|
+
0, sizeof(struct xds_core_v3_ContextParams*), a);
|
|
790
923
|
}
|
|
791
924
|
|
|
792
|
-
UPB_INLINE void envoy_config_core_v3_Node_set_id(envoy_config_core_v3_Node
|
|
925
|
+
UPB_INLINE void envoy_config_core_v3_Node_set_id(envoy_config_core_v3_Node* msg, upb_StringView value) {
|
|
793
926
|
const upb_MiniTableField field = {1, UPB_SIZE(40, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
794
|
-
upb_Message_SetBaseField((upb_Message
|
|
927
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
795
928
|
}
|
|
796
|
-
UPB_INLINE void envoy_config_core_v3_Node_set_cluster(envoy_config_core_v3_Node
|
|
929
|
+
UPB_INLINE void envoy_config_core_v3_Node_set_cluster(envoy_config_core_v3_Node* msg, upb_StringView value) {
|
|
797
930
|
const upb_MiniTableField field = {2, UPB_SIZE(48, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
798
|
-
upb_Message_SetBaseField((upb_Message
|
|
931
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
799
932
|
}
|
|
800
|
-
UPB_INLINE void envoy_config_core_v3_Node_set_metadata(envoy_config_core_v3_Node
|
|
801
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 80), 64,
|
|
933
|
+
UPB_INLINE void envoy_config_core_v3_Node_set_metadata(envoy_config_core_v3_Node* msg, struct google_protobuf_Struct* value) {
|
|
934
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 80), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
802
935
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Struct_msg_init);
|
|
803
|
-
upb_Message_SetBaseField((upb_Message
|
|
936
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
804
937
|
}
|
|
805
|
-
UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_Node_mutable_metadata(
|
|
938
|
+
UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_Node_mutable_metadata(
|
|
939
|
+
envoy_config_core_v3_Node* msg, upb_Arena* arena) {
|
|
806
940
|
struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_core_v3_Node_metadata(msg);
|
|
807
941
|
if (sub == NULL) {
|
|
808
942
|
sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena);
|
|
@@ -810,12 +944,13 @@ UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_Node_mutable_meta
|
|
|
810
944
|
}
|
|
811
945
|
return sub;
|
|
812
946
|
}
|
|
813
|
-
UPB_INLINE void envoy_config_core_v3_Node_set_locality(envoy_config_core_v3_Node
|
|
814
|
-
const upb_MiniTableField field = {4, UPB_SIZE(16, 88), 65,
|
|
947
|
+
UPB_INLINE void envoy_config_core_v3_Node_set_locality(envoy_config_core_v3_Node* msg, envoy_config_core_v3_Locality* value) {
|
|
948
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 88), 65, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
815
949
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Locality_msg_init);
|
|
816
|
-
upb_Message_SetBaseField((upb_Message
|
|
950
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
817
951
|
}
|
|
818
|
-
UPB_INLINE struct envoy_config_core_v3_Locality* envoy_config_core_v3_Node_mutable_locality(
|
|
952
|
+
UPB_INLINE struct envoy_config_core_v3_Locality* envoy_config_core_v3_Node_mutable_locality(
|
|
953
|
+
envoy_config_core_v3_Node* msg, upb_Arena* arena) {
|
|
819
954
|
struct envoy_config_core_v3_Locality* sub = (struct envoy_config_core_v3_Locality*)envoy_config_core_v3_Node_locality(msg);
|
|
820
955
|
if (sub == NULL) {
|
|
821
956
|
sub = (struct envoy_config_core_v3_Locality*)_upb_Message_New(&envoy__config__core__v3__Locality_msg_init, arena);
|
|
@@ -823,20 +958,21 @@ UPB_INLINE struct envoy_config_core_v3_Locality* envoy_config_core_v3_Node_mutab
|
|
|
823
958
|
}
|
|
824
959
|
return sub;
|
|
825
960
|
}
|
|
826
|
-
UPB_INLINE void envoy_config_core_v3_Node_set_user_agent_name(envoy_config_core_v3_Node
|
|
961
|
+
UPB_INLINE void envoy_config_core_v3_Node_set_user_agent_name(envoy_config_core_v3_Node* msg, upb_StringView value) {
|
|
827
962
|
const upb_MiniTableField field = {6, UPB_SIZE(56, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
828
|
-
upb_Message_SetBaseField((upb_Message
|
|
963
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
829
964
|
}
|
|
830
|
-
UPB_INLINE void envoy_config_core_v3_Node_set_user_agent_version(envoy_config_core_v3_Node
|
|
965
|
+
UPB_INLINE void envoy_config_core_v3_Node_set_user_agent_version(envoy_config_core_v3_Node* msg, upb_StringView value) {
|
|
831
966
|
const upb_MiniTableField field = {7, 64, UPB_SIZE(-37, -13), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
832
|
-
upb_Message_SetBaseField((upb_Message
|
|
967
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
833
968
|
}
|
|
834
|
-
UPB_INLINE void envoy_config_core_v3_Node_set_user_agent_build_version(envoy_config_core_v3_Node
|
|
835
|
-
const upb_MiniTableField field = {8, 64, UPB_SIZE(-37, -13),
|
|
969
|
+
UPB_INLINE void envoy_config_core_v3_Node_set_user_agent_build_version(envoy_config_core_v3_Node* msg, envoy_config_core_v3_BuildVersion* value) {
|
|
970
|
+
const upb_MiniTableField field = {8, 64, UPB_SIZE(-37, -13), UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
836
971
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__BuildVersion_msg_init);
|
|
837
|
-
upb_Message_SetBaseField((upb_Message
|
|
972
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
838
973
|
}
|
|
839
|
-
UPB_INLINE struct envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Node_mutable_user_agent_build_version(
|
|
974
|
+
UPB_INLINE struct envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Node_mutable_user_agent_build_version(
|
|
975
|
+
envoy_config_core_v3_Node* msg, upb_Arena* arena) {
|
|
840
976
|
struct envoy_config_core_v3_BuildVersion* sub = (struct envoy_config_core_v3_BuildVersion*)envoy_config_core_v3_Node_user_agent_build_version(msg);
|
|
841
977
|
if (sub == NULL) {
|
|
842
978
|
sub = (struct envoy_config_core_v3_BuildVersion*)_upb_Message_New(&envoy__config__core__v3__BuildVersion_msg_init, arena);
|
|
@@ -844,8 +980,9 @@ UPB_INLINE struct envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Node_m
|
|
|
844
980
|
}
|
|
845
981
|
return sub;
|
|
846
982
|
}
|
|
847
|
-
UPB_INLINE envoy_config_core_v3_Extension** envoy_config_core_v3_Node_mutable_extensions(envoy_config_core_v3_Node* msg,
|
|
848
|
-
|
|
983
|
+
UPB_INLINE envoy_config_core_v3_Extension** envoy_config_core_v3_Node_mutable_extensions(envoy_config_core_v3_Node* msg,
|
|
984
|
+
size_t* size) {
|
|
985
|
+
upb_MiniTableField field = {9, UPB_SIZE(20, 96), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
849
986
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Extension_msg_init);
|
|
850
987
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
851
988
|
if (arr) {
|
|
@@ -856,13 +993,18 @@ UPB_INLINE envoy_config_core_v3_Extension** envoy_config_core_v3_Node_mutable_ex
|
|
|
856
993
|
return NULL;
|
|
857
994
|
}
|
|
858
995
|
}
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
996
|
+
|
|
997
|
+
UPB_INLINE envoy_config_core_v3_Extension** envoy_config_core_v3_Node_resize_extensions(envoy_config_core_v3_Node* msg,
|
|
998
|
+
size_t size,
|
|
999
|
+
upb_Arena* arena) {
|
|
1000
|
+
upb_MiniTableField field = {9, UPB_SIZE(20, 96), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1001
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Extension_msg_init);
|
|
1002
|
+
return (envoy_config_core_v3_Extension**)upb_Message_ResizeArrayUninitialized(
|
|
1003
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
863
1004
|
}
|
|
864
|
-
UPB_INLINE struct envoy_config_core_v3_Extension* envoy_config_core_v3_Node_add_extensions(
|
|
865
|
-
|
|
1005
|
+
UPB_INLINE struct envoy_config_core_v3_Extension* envoy_config_core_v3_Node_add_extensions(
|
|
1006
|
+
envoy_config_core_v3_Node* msg, upb_Arena* arena) {
|
|
1007
|
+
upb_MiniTableField field = {9, UPB_SIZE(20, 96), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
866
1008
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Extension_msg_init);
|
|
867
1009
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
868
1010
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -870,13 +1012,15 @@ UPB_INLINE struct envoy_config_core_v3_Extension* envoy_config_core_v3_Node_add_
|
|
|
870
1012
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
871
1013
|
return NULL;
|
|
872
1014
|
}
|
|
873
|
-
struct envoy_config_core_v3_Extension* sub =
|
|
1015
|
+
struct envoy_config_core_v3_Extension* sub =
|
|
1016
|
+
(struct envoy_config_core_v3_Extension*)_upb_Message_New(&envoy__config__core__v3__Extension_msg_init, arena);
|
|
874
1017
|
if (!arr || !sub) return NULL;
|
|
875
1018
|
UPB_PRIVATE(_upb_Array_Set)
|
|
876
1019
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
877
1020
|
return sub;
|
|
878
1021
|
}
|
|
879
|
-
UPB_INLINE upb_StringView* envoy_config_core_v3_Node_mutable_client_features(envoy_config_core_v3_Node* msg,
|
|
1022
|
+
UPB_INLINE upb_StringView* envoy_config_core_v3_Node_mutable_client_features(envoy_config_core_v3_Node* msg,
|
|
1023
|
+
size_t* size) {
|
|
880
1024
|
upb_MiniTableField field = {10, UPB_SIZE(24, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
881
1025
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
882
1026
|
if (arr) {
|
|
@@ -887,12 +1031,16 @@ UPB_INLINE upb_StringView* envoy_config_core_v3_Node_mutable_client_features(env
|
|
|
887
1031
|
return NULL;
|
|
888
1032
|
}
|
|
889
1033
|
}
|
|
890
|
-
|
|
1034
|
+
|
|
1035
|
+
UPB_INLINE upb_StringView* envoy_config_core_v3_Node_resize_client_features(envoy_config_core_v3_Node* msg,
|
|
1036
|
+
size_t size,
|
|
1037
|
+
upb_Arena* arena) {
|
|
891
1038
|
upb_MiniTableField field = {10, UPB_SIZE(24, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
892
|
-
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(
|
|
893
|
-
|
|
1039
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(
|
|
1040
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
894
1041
|
}
|
|
895
|
-
UPB_INLINE bool envoy_config_core_v3_Node_add_client_features(envoy_config_core_v3_Node* msg, upb_StringView val,
|
|
1042
|
+
UPB_INLINE bool envoy_config_core_v3_Node_add_client_features(envoy_config_core_v3_Node* msg, upb_StringView val,
|
|
1043
|
+
upb_Arena* arena) {
|
|
896
1044
|
upb_MiniTableField field = {10, UPB_SIZE(24, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
897
1045
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
898
1046
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -904,8 +1052,9 @@ UPB_INLINE bool envoy_config_core_v3_Node_add_client_features(envoy_config_core_
|
|
|
904
1052
|
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
|
905
1053
|
return true;
|
|
906
1054
|
}
|
|
907
|
-
UPB_INLINE struct envoy_config_core_v3_Address** envoy_config_core_v3_Node_mutable_listening_addresses(envoy_config_core_v3_Node* msg,
|
|
908
|
-
|
|
1055
|
+
UPB_INLINE struct envoy_config_core_v3_Address** envoy_config_core_v3_Node_mutable_listening_addresses(envoy_config_core_v3_Node* msg,
|
|
1056
|
+
size_t* size) {
|
|
1057
|
+
upb_MiniTableField field = {11, UPB_SIZE(28, 112), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
909
1058
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Address_msg_init);
|
|
910
1059
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
911
1060
|
if (arr) {
|
|
@@ -916,13 +1065,18 @@ UPB_INLINE struct envoy_config_core_v3_Address** envoy_config_core_v3_Node_mutab
|
|
|
916
1065
|
return NULL;
|
|
917
1066
|
}
|
|
918
1067
|
}
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
1068
|
+
|
|
1069
|
+
UPB_INLINE struct envoy_config_core_v3_Address** envoy_config_core_v3_Node_resize_listening_addresses(envoy_config_core_v3_Node* msg,
|
|
1070
|
+
size_t size,
|
|
1071
|
+
upb_Arena* arena) {
|
|
1072
|
+
upb_MiniTableField field = {11, UPB_SIZE(28, 112), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1073
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Address_msg_init);
|
|
1074
|
+
return (struct envoy_config_core_v3_Address**)upb_Message_ResizeArrayUninitialized(
|
|
1075
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
923
1076
|
}
|
|
924
|
-
UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_core_v3_Node_add_listening_addresses(
|
|
925
|
-
|
|
1077
|
+
UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_core_v3_Node_add_listening_addresses(
|
|
1078
|
+
envoy_config_core_v3_Node* msg, upb_Arena* arena) {
|
|
1079
|
+
upb_MiniTableField field = {11, UPB_SIZE(28, 112), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
926
1080
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Address_msg_init);
|
|
927
1081
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
928
1082
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -930,90 +1084,107 @@ UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_core_v3_Node_add_li
|
|
|
930
1084
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
931
1085
|
return NULL;
|
|
932
1086
|
}
|
|
933
|
-
struct envoy_config_core_v3_Address* sub =
|
|
1087
|
+
struct envoy_config_core_v3_Address* sub =
|
|
1088
|
+
(struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena);
|
|
934
1089
|
if (!arr || !sub) return NULL;
|
|
935
1090
|
UPB_PRIVATE(_upb_Array_Set)
|
|
936
1091
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
937
1092
|
return sub;
|
|
938
1093
|
}
|
|
939
1094
|
UPB_INLINE void envoy_config_core_v3_Node_dynamic_parameters_clear(envoy_config_core_v3_Node* msg) {
|
|
940
|
-
const upb_MiniTableField field = {12, UPB_SIZE(32, 120), 0,
|
|
1095
|
+
const upb_MiniTableField field = {12, UPB_SIZE(32, 120), 0, UPB_SIZE(8, 14), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1096
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Node__DynamicParametersEntry_msg_init);
|
|
1097
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&xds__core__v3__ContextParams_msg_init);
|
|
941
1098
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
942
1099
|
if (!map) return;
|
|
943
1100
|
_upb_Map_Clear(map);
|
|
944
1101
|
}
|
|
945
|
-
|
|
946
|
-
|
|
1102
|
+
|
|
1103
|
+
UPB_INLINE bool envoy_config_core_v3_Node_dynamic_parameters_set(envoy_config_core_v3_Node* msg, upb_StringView key,
|
|
1104
|
+
struct xds_core_v3_ContextParams* val, upb_Arena* a) {
|
|
1105
|
+
const upb_MiniTableField field = {12, UPB_SIZE(32, 120), 0, UPB_SIZE(8, 14), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
947
1106
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Node__DynamicParametersEntry_msg_init);
|
|
948
1107
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&xds__core__v3__ContextParams_msg_init);
|
|
949
|
-
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
950
|
-
|
|
1108
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
1109
|
+
UPB_UPCAST(msg), &field, 0, sizeof(val), a);
|
|
951
1110
|
return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) !=
|
|
952
1111
|
kUpb_MapInsertStatus_OutOfMemory;
|
|
953
1112
|
}
|
|
1113
|
+
|
|
954
1114
|
UPB_INLINE bool envoy_config_core_v3_Node_dynamic_parameters_delete(envoy_config_core_v3_Node* msg, upb_StringView key) {
|
|
955
|
-
const upb_MiniTableField field = {12, UPB_SIZE(32, 120), 0,
|
|
1115
|
+
const upb_MiniTableField field = {12, UPB_SIZE(32, 120), 0, UPB_SIZE(8, 14), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1116
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Node__DynamicParametersEntry_msg_init);
|
|
1117
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&xds__core__v3__ContextParams_msg_init);
|
|
956
1118
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
957
1119
|
if (!map) return false;
|
|
958
1120
|
return _upb_Map_Delete(map, &key, 0, NULL);
|
|
959
1121
|
}
|
|
960
1122
|
|
|
961
1123
|
/* envoy.config.core.v3.Metadata */
|
|
962
|
-
|
|
963
1124
|
UPB_INLINE envoy_config_core_v3_Metadata* envoy_config_core_v3_Metadata_new(upb_Arena* arena) {
|
|
964
1125
|
return (envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy__config__core__v3__Metadata_msg_init, arena);
|
|
965
1126
|
}
|
|
966
|
-
UPB_INLINE envoy_config_core_v3_Metadata* envoy_config_core_v3_Metadata_parse(const char* buf, size_t size,
|
|
1127
|
+
UPB_INLINE envoy_config_core_v3_Metadata* envoy_config_core_v3_Metadata_parse(const char* buf, size_t size,
|
|
1128
|
+
upb_Arena* arena) {
|
|
967
1129
|
envoy_config_core_v3_Metadata* ret = envoy_config_core_v3_Metadata_new(arena);
|
|
968
1130
|
if (!ret) return NULL;
|
|
969
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Metadata_msg_init, NULL, 0,
|
|
970
|
-
|
|
1131
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Metadata_msg_init, NULL, 0,
|
|
1132
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
971
1133
|
return NULL;
|
|
972
1134
|
}
|
|
973
1135
|
return ret;
|
|
974
1136
|
}
|
|
975
|
-
UPB_INLINE envoy_config_core_v3_Metadata* envoy_config_core_v3_Metadata_parse_ex(
|
|
976
|
-
|
|
977
|
-
|
|
1137
|
+
UPB_INLINE envoy_config_core_v3_Metadata* envoy_config_core_v3_Metadata_parse_ex(
|
|
1138
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1139
|
+
int options, upb_Arena* arena) {
|
|
978
1140
|
envoy_config_core_v3_Metadata* ret = envoy_config_core_v3_Metadata_new(arena);
|
|
979
1141
|
if (!ret) return NULL;
|
|
980
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Metadata_msg_init, extreg,
|
|
981
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1142
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__Metadata_msg_init, extreg,
|
|
1143
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
982
1144
|
return NULL;
|
|
983
1145
|
}
|
|
984
1146
|
return ret;
|
|
985
1147
|
}
|
|
986
|
-
UPB_INLINE char* envoy_config_core_v3_Metadata_serialize(const envoy_config_core_v3_Metadata* msg,
|
|
1148
|
+
UPB_INLINE char* envoy_config_core_v3_Metadata_serialize(const envoy_config_core_v3_Metadata* msg,
|
|
1149
|
+
upb_Arena* arena, size_t* len) {
|
|
987
1150
|
char* ptr;
|
|
988
1151
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__Metadata_msg_init, 0, arena, &ptr, len);
|
|
989
1152
|
return ptr;
|
|
990
1153
|
}
|
|
991
|
-
UPB_INLINE char* envoy_config_core_v3_Metadata_serialize_ex(const envoy_config_core_v3_Metadata* msg,
|
|
992
|
-
|
|
1154
|
+
UPB_INLINE char* envoy_config_core_v3_Metadata_serialize_ex(const envoy_config_core_v3_Metadata* msg,
|
|
1155
|
+
int options, upb_Arena* arena,
|
|
1156
|
+
size_t* len) {
|
|
993
1157
|
char* ptr;
|
|
994
1158
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__Metadata_msg_init, options, arena, &ptr, len);
|
|
995
1159
|
return ptr;
|
|
996
1160
|
}
|
|
997
1161
|
UPB_INLINE void envoy_config_core_v3_Metadata_clear_filter_metadata(envoy_config_core_v3_Metadata* msg) {
|
|
998
|
-
const upb_MiniTableField field = {1, 8, 0,
|
|
1162
|
+
const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
999
1163
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1000
1164
|
}
|
|
1001
1165
|
UPB_INLINE size_t envoy_config_core_v3_Metadata_filter_metadata_size(const envoy_config_core_v3_Metadata* msg) {
|
|
1002
|
-
const upb_MiniTableField field = {1, 8, 0,
|
|
1166
|
+
const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1167
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata__FilterMetadataEntry_msg_init);
|
|
1168
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Struct_msg_init);
|
|
1003
1169
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1004
1170
|
return map ? _upb_Map_Size(map) : 0;
|
|
1005
1171
|
}
|
|
1006
|
-
|
|
1007
|
-
|
|
1172
|
+
|
|
1173
|
+
UPB_INLINE bool envoy_config_core_v3_Metadata_filter_metadata_get(const envoy_config_core_v3_Metadata* msg,
|
|
1174
|
+
upb_StringView key, struct google_protobuf_Struct** val) {
|
|
1175
|
+
const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1008
1176
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata__FilterMetadataEntry_msg_init);
|
|
1009
1177
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Struct_msg_init);
|
|
1010
1178
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1011
1179
|
if (!map) return false;
|
|
1012
|
-
return _upb_Map_Get(map, &key, 0, val, sizeof(*
|
|
1180
|
+
return _upb_Map_Get(map, &key, 0, val, sizeof(struct google_protobuf_Struct*));
|
|
1013
1181
|
}
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1182
|
+
|
|
1183
|
+
UPB_INLINE bool envoy_config_core_v3_Metadata_filter_metadata_next(const envoy_config_core_v3_Metadata* msg,
|
|
1184
|
+
upb_StringView* key,
|
|
1185
|
+
const struct google_protobuf_Struct** val,
|
|
1186
|
+
size_t* iter) {
|
|
1187
|
+
const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1017
1188
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata__FilterMetadataEntry_msg_init);
|
|
1018
1189
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Struct_msg_init);
|
|
1019
1190
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
@@ -1025,38 +1196,51 @@ UPB_INLINE bool envoy_config_core_v3_Metadata_filter_metadata_next(const envoy_c
|
|
|
1025
1196
|
memcpy(val, &v, sizeof(*val));
|
|
1026
1197
|
return true;
|
|
1027
1198
|
}
|
|
1199
|
+
|
|
1200
|
+
// and ~ a upb_Map for mutable.
|
|
1201
|
+
//
|
|
1028
1202
|
UPB_INLINE const upb_Map* _envoy_config_core_v3_Metadata_filter_metadata_upb_map(envoy_config_core_v3_Metadata* msg) {
|
|
1029
|
-
const upb_MiniTableField field = {1, 8, 0,
|
|
1203
|
+
const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1030
1204
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata__FilterMetadataEntry_msg_init);
|
|
1031
1205
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Struct_msg_init);
|
|
1032
1206
|
return upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1033
1207
|
}
|
|
1034
|
-
|
|
1035
|
-
|
|
1208
|
+
|
|
1209
|
+
UPB_INLINE upb_Map* _envoy_config_core_v3_Metadata_filter_metadata_mutable_upb_map(
|
|
1210
|
+
envoy_config_core_v3_Metadata* msg, upb_Arena* a) {
|
|
1211
|
+
const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1036
1212
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata__FilterMetadataEntry_msg_init);
|
|
1037
1213
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Struct_msg_init);
|
|
1038
|
-
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
1214
|
+
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
1215
|
+
0, sizeof(struct google_protobuf_Struct*), a);
|
|
1039
1216
|
}
|
|
1040
1217
|
UPB_INLINE void envoy_config_core_v3_Metadata_clear_typed_filter_metadata(envoy_config_core_v3_Metadata* msg) {
|
|
1041
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0,
|
|
1218
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1042
1219
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1043
1220
|
}
|
|
1044
1221
|
UPB_INLINE size_t envoy_config_core_v3_Metadata_typed_filter_metadata_size(const envoy_config_core_v3_Metadata* msg) {
|
|
1045
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0,
|
|
1222
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1223
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata__TypedFilterMetadataEntry_msg_init);
|
|
1224
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Any_msg_init);
|
|
1046
1225
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1047
1226
|
return map ? _upb_Map_Size(map) : 0;
|
|
1048
1227
|
}
|
|
1049
|
-
|
|
1050
|
-
|
|
1228
|
+
|
|
1229
|
+
UPB_INLINE bool envoy_config_core_v3_Metadata_typed_filter_metadata_get(const envoy_config_core_v3_Metadata* msg,
|
|
1230
|
+
upb_StringView key, struct google_protobuf_Any** val) {
|
|
1231
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1051
1232
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata__TypedFilterMetadataEntry_msg_init);
|
|
1052
1233
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Any_msg_init);
|
|
1053
1234
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1054
1235
|
if (!map) return false;
|
|
1055
|
-
return _upb_Map_Get(map, &key, 0, val, sizeof(*
|
|
1236
|
+
return _upb_Map_Get(map, &key, 0, val, sizeof(struct google_protobuf_Any*));
|
|
1056
1237
|
}
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1238
|
+
|
|
1239
|
+
UPB_INLINE bool envoy_config_core_v3_Metadata_typed_filter_metadata_next(const envoy_config_core_v3_Metadata* msg,
|
|
1240
|
+
upb_StringView* key,
|
|
1241
|
+
const struct google_protobuf_Any** val,
|
|
1242
|
+
size_t* iter) {
|
|
1243
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1060
1244
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata__TypedFilterMetadataEntry_msg_init);
|
|
1061
1245
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Any_msg_init);
|
|
1062
1246
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
@@ -1068,94 +1252,116 @@ UPB_INLINE bool envoy_config_core_v3_Metadata_typed_filter_metadata_next(const e
|
|
|
1068
1252
|
memcpy(val, &v, sizeof(*val));
|
|
1069
1253
|
return true;
|
|
1070
1254
|
}
|
|
1255
|
+
|
|
1256
|
+
// and ~ a upb_Map for mutable.
|
|
1257
|
+
//
|
|
1071
1258
|
UPB_INLINE const upb_Map* _envoy_config_core_v3_Metadata_typed_filter_metadata_upb_map(envoy_config_core_v3_Metadata* msg) {
|
|
1072
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0,
|
|
1259
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1073
1260
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata__TypedFilterMetadataEntry_msg_init);
|
|
1074
1261
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Any_msg_init);
|
|
1075
1262
|
return upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1076
1263
|
}
|
|
1077
|
-
|
|
1078
|
-
|
|
1264
|
+
|
|
1265
|
+
UPB_INLINE upb_Map* _envoy_config_core_v3_Metadata_typed_filter_metadata_mutable_upb_map(
|
|
1266
|
+
envoy_config_core_v3_Metadata* msg, upb_Arena* a) {
|
|
1267
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1079
1268
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata__TypedFilterMetadataEntry_msg_init);
|
|
1080
1269
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Any_msg_init);
|
|
1081
|
-
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
1270
|
+
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
1271
|
+
0, sizeof(struct google_protobuf_Any*), a);
|
|
1082
1272
|
}
|
|
1083
1273
|
|
|
1084
1274
|
UPB_INLINE void envoy_config_core_v3_Metadata_filter_metadata_clear(envoy_config_core_v3_Metadata* msg) {
|
|
1085
|
-
const upb_MiniTableField field = {1, 8, 0,
|
|
1275
|
+
const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1276
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata__FilterMetadataEntry_msg_init);
|
|
1277
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Struct_msg_init);
|
|
1086
1278
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1087
1279
|
if (!map) return;
|
|
1088
1280
|
_upb_Map_Clear(map);
|
|
1089
1281
|
}
|
|
1090
|
-
|
|
1091
|
-
|
|
1282
|
+
|
|
1283
|
+
UPB_INLINE bool envoy_config_core_v3_Metadata_filter_metadata_set(envoy_config_core_v3_Metadata* msg, upb_StringView key,
|
|
1284
|
+
struct google_protobuf_Struct* val, upb_Arena* a) {
|
|
1285
|
+
const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1092
1286
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata__FilterMetadataEntry_msg_init);
|
|
1093
1287
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Struct_msg_init);
|
|
1094
|
-
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
1095
|
-
|
|
1288
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
1289
|
+
UPB_UPCAST(msg), &field, 0, sizeof(val), a);
|
|
1096
1290
|
return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) !=
|
|
1097
1291
|
kUpb_MapInsertStatus_OutOfMemory;
|
|
1098
1292
|
}
|
|
1293
|
+
|
|
1099
1294
|
UPB_INLINE bool envoy_config_core_v3_Metadata_filter_metadata_delete(envoy_config_core_v3_Metadata* msg, upb_StringView key) {
|
|
1100
|
-
const upb_MiniTableField field = {1, 8, 0,
|
|
1295
|
+
const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1296
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata__FilterMetadataEntry_msg_init);
|
|
1297
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Struct_msg_init);
|
|
1101
1298
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1102
1299
|
if (!map) return false;
|
|
1103
1300
|
return _upb_Map_Delete(map, &key, 0, NULL);
|
|
1104
1301
|
}
|
|
1105
1302
|
UPB_INLINE void envoy_config_core_v3_Metadata_typed_filter_metadata_clear(envoy_config_core_v3_Metadata* msg) {
|
|
1106
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0,
|
|
1303
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1304
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata__TypedFilterMetadataEntry_msg_init);
|
|
1305
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Any_msg_init);
|
|
1107
1306
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1108
1307
|
if (!map) return;
|
|
1109
1308
|
_upb_Map_Clear(map);
|
|
1110
1309
|
}
|
|
1111
|
-
|
|
1112
|
-
|
|
1310
|
+
|
|
1311
|
+
UPB_INLINE bool envoy_config_core_v3_Metadata_typed_filter_metadata_set(envoy_config_core_v3_Metadata* msg, upb_StringView key,
|
|
1312
|
+
struct google_protobuf_Any* val, upb_Arena* a) {
|
|
1313
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1113
1314
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata__TypedFilterMetadataEntry_msg_init);
|
|
1114
1315
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Any_msg_init);
|
|
1115
|
-
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
1116
|
-
|
|
1316
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
1317
|
+
UPB_UPCAST(msg), &field, 0, sizeof(val), a);
|
|
1117
1318
|
return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) !=
|
|
1118
1319
|
kUpb_MapInsertStatus_OutOfMemory;
|
|
1119
1320
|
}
|
|
1321
|
+
|
|
1120
1322
|
UPB_INLINE bool envoy_config_core_v3_Metadata_typed_filter_metadata_delete(envoy_config_core_v3_Metadata* msg, upb_StringView key) {
|
|
1121
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0,
|
|
1323
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1324
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata__TypedFilterMetadataEntry_msg_init);
|
|
1325
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Any_msg_init);
|
|
1122
1326
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1123
1327
|
if (!map) return false;
|
|
1124
1328
|
return _upb_Map_Delete(map, &key, 0, NULL);
|
|
1125
1329
|
}
|
|
1126
1330
|
|
|
1127
1331
|
/* envoy.config.core.v3.RuntimeUInt32 */
|
|
1128
|
-
|
|
1129
1332
|
UPB_INLINE envoy_config_core_v3_RuntimeUInt32* envoy_config_core_v3_RuntimeUInt32_new(upb_Arena* arena) {
|
|
1130
1333
|
return (envoy_config_core_v3_RuntimeUInt32*)_upb_Message_New(&envoy__config__core__v3__RuntimeUInt32_msg_init, arena);
|
|
1131
1334
|
}
|
|
1132
|
-
UPB_INLINE envoy_config_core_v3_RuntimeUInt32* envoy_config_core_v3_RuntimeUInt32_parse(const char* buf, size_t size,
|
|
1335
|
+
UPB_INLINE envoy_config_core_v3_RuntimeUInt32* envoy_config_core_v3_RuntimeUInt32_parse(const char* buf, size_t size,
|
|
1336
|
+
upb_Arena* arena) {
|
|
1133
1337
|
envoy_config_core_v3_RuntimeUInt32* ret = envoy_config_core_v3_RuntimeUInt32_new(arena);
|
|
1134
1338
|
if (!ret) return NULL;
|
|
1135
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeUInt32_msg_init, NULL, 0,
|
|
1136
|
-
|
|
1339
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeUInt32_msg_init, NULL, 0,
|
|
1340
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1137
1341
|
return NULL;
|
|
1138
1342
|
}
|
|
1139
1343
|
return ret;
|
|
1140
1344
|
}
|
|
1141
|
-
UPB_INLINE envoy_config_core_v3_RuntimeUInt32* envoy_config_core_v3_RuntimeUInt32_parse_ex(
|
|
1142
|
-
|
|
1143
|
-
|
|
1345
|
+
UPB_INLINE envoy_config_core_v3_RuntimeUInt32* envoy_config_core_v3_RuntimeUInt32_parse_ex(
|
|
1346
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1347
|
+
int options, upb_Arena* arena) {
|
|
1144
1348
|
envoy_config_core_v3_RuntimeUInt32* ret = envoy_config_core_v3_RuntimeUInt32_new(arena);
|
|
1145
1349
|
if (!ret) return NULL;
|
|
1146
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeUInt32_msg_init, extreg,
|
|
1147
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1350
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeUInt32_msg_init, extreg,
|
|
1351
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1148
1352
|
return NULL;
|
|
1149
1353
|
}
|
|
1150
1354
|
return ret;
|
|
1151
1355
|
}
|
|
1152
|
-
UPB_INLINE char* envoy_config_core_v3_RuntimeUInt32_serialize(const envoy_config_core_v3_RuntimeUInt32* msg,
|
|
1356
|
+
UPB_INLINE char* envoy_config_core_v3_RuntimeUInt32_serialize(const envoy_config_core_v3_RuntimeUInt32* msg,
|
|
1357
|
+
upb_Arena* arena, size_t* len) {
|
|
1153
1358
|
char* ptr;
|
|
1154
1359
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimeUInt32_msg_init, 0, arena, &ptr, len);
|
|
1155
1360
|
return ptr;
|
|
1156
1361
|
}
|
|
1157
|
-
UPB_INLINE char* envoy_config_core_v3_RuntimeUInt32_serialize_ex(const envoy_config_core_v3_RuntimeUInt32* msg,
|
|
1158
|
-
|
|
1362
|
+
UPB_INLINE char* envoy_config_core_v3_RuntimeUInt32_serialize_ex(const envoy_config_core_v3_RuntimeUInt32* msg,
|
|
1363
|
+
int options, upb_Arena* arena,
|
|
1364
|
+
size_t* len) {
|
|
1159
1365
|
char* ptr;
|
|
1160
1366
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimeUInt32_msg_init, options, arena, &ptr, len);
|
|
1161
1367
|
return ptr;
|
|
@@ -1185,66 +1391,68 @@ UPB_INLINE upb_StringView envoy_config_core_v3_RuntimeUInt32_runtime_key(const e
|
|
|
1185
1391
|
return ret;
|
|
1186
1392
|
}
|
|
1187
1393
|
|
|
1188
|
-
UPB_INLINE void envoy_config_core_v3_RuntimeUInt32_set_default_value(envoy_config_core_v3_RuntimeUInt32
|
|
1394
|
+
UPB_INLINE void envoy_config_core_v3_RuntimeUInt32_set_default_value(envoy_config_core_v3_RuntimeUInt32* msg, uint32_t value) {
|
|
1189
1395
|
const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
1190
|
-
upb_Message_SetBaseField((upb_Message
|
|
1396
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1191
1397
|
}
|
|
1192
|
-
UPB_INLINE void envoy_config_core_v3_RuntimeUInt32_set_runtime_key(envoy_config_core_v3_RuntimeUInt32
|
|
1398
|
+
UPB_INLINE void envoy_config_core_v3_RuntimeUInt32_set_runtime_key(envoy_config_core_v3_RuntimeUInt32* msg, upb_StringView value) {
|
|
1193
1399
|
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1194
|
-
upb_Message_SetBaseField((upb_Message
|
|
1400
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1195
1401
|
}
|
|
1196
1402
|
|
|
1197
1403
|
/* envoy.config.core.v3.RuntimePercent */
|
|
1198
|
-
|
|
1199
1404
|
UPB_INLINE envoy_config_core_v3_RuntimePercent* envoy_config_core_v3_RuntimePercent_new(upb_Arena* arena) {
|
|
1200
1405
|
return (envoy_config_core_v3_RuntimePercent*)_upb_Message_New(&envoy__config__core__v3__RuntimePercent_msg_init, arena);
|
|
1201
1406
|
}
|
|
1202
|
-
UPB_INLINE envoy_config_core_v3_RuntimePercent* envoy_config_core_v3_RuntimePercent_parse(const char* buf, size_t size,
|
|
1407
|
+
UPB_INLINE envoy_config_core_v3_RuntimePercent* envoy_config_core_v3_RuntimePercent_parse(const char* buf, size_t size,
|
|
1408
|
+
upb_Arena* arena) {
|
|
1203
1409
|
envoy_config_core_v3_RuntimePercent* ret = envoy_config_core_v3_RuntimePercent_new(arena);
|
|
1204
1410
|
if (!ret) return NULL;
|
|
1205
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimePercent_msg_init, NULL, 0,
|
|
1206
|
-
|
|
1411
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimePercent_msg_init, NULL, 0,
|
|
1412
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1207
1413
|
return NULL;
|
|
1208
1414
|
}
|
|
1209
1415
|
return ret;
|
|
1210
1416
|
}
|
|
1211
|
-
UPB_INLINE envoy_config_core_v3_RuntimePercent* envoy_config_core_v3_RuntimePercent_parse_ex(
|
|
1212
|
-
|
|
1213
|
-
|
|
1417
|
+
UPB_INLINE envoy_config_core_v3_RuntimePercent* envoy_config_core_v3_RuntimePercent_parse_ex(
|
|
1418
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1419
|
+
int options, upb_Arena* arena) {
|
|
1214
1420
|
envoy_config_core_v3_RuntimePercent* ret = envoy_config_core_v3_RuntimePercent_new(arena);
|
|
1215
1421
|
if (!ret) return NULL;
|
|
1216
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimePercent_msg_init, extreg,
|
|
1217
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1422
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimePercent_msg_init, extreg,
|
|
1423
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1218
1424
|
return NULL;
|
|
1219
1425
|
}
|
|
1220
1426
|
return ret;
|
|
1221
1427
|
}
|
|
1222
|
-
UPB_INLINE char* envoy_config_core_v3_RuntimePercent_serialize(const envoy_config_core_v3_RuntimePercent* msg,
|
|
1428
|
+
UPB_INLINE char* envoy_config_core_v3_RuntimePercent_serialize(const envoy_config_core_v3_RuntimePercent* msg,
|
|
1429
|
+
upb_Arena* arena, size_t* len) {
|
|
1223
1430
|
char* ptr;
|
|
1224
1431
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimePercent_msg_init, 0, arena, &ptr, len);
|
|
1225
1432
|
return ptr;
|
|
1226
1433
|
}
|
|
1227
|
-
UPB_INLINE char* envoy_config_core_v3_RuntimePercent_serialize_ex(const envoy_config_core_v3_RuntimePercent* msg,
|
|
1228
|
-
|
|
1434
|
+
UPB_INLINE char* envoy_config_core_v3_RuntimePercent_serialize_ex(const envoy_config_core_v3_RuntimePercent* msg,
|
|
1435
|
+
int options, upb_Arena* arena,
|
|
1436
|
+
size_t* len) {
|
|
1229
1437
|
char* ptr;
|
|
1230
1438
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimePercent_msg_init, options, arena, &ptr, len);
|
|
1231
1439
|
return ptr;
|
|
1232
1440
|
}
|
|
1233
1441
|
UPB_INLINE void envoy_config_core_v3_RuntimePercent_clear_default_value(envoy_config_core_v3_RuntimePercent* msg) {
|
|
1234
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
1442
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1235
1443
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1236
1444
|
}
|
|
1237
1445
|
UPB_INLINE const struct envoy_type_v3_Percent* envoy_config_core_v3_RuntimePercent_default_value(const envoy_config_core_v3_RuntimePercent* msg) {
|
|
1238
1446
|
const struct envoy_type_v3_Percent* default_val = NULL;
|
|
1239
1447
|
const struct envoy_type_v3_Percent* ret;
|
|
1240
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
1448
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1241
1449
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__type__v3__Percent_msg_init);
|
|
1242
1450
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1243
1451
|
&default_val, &ret);
|
|
1244
1452
|
return ret;
|
|
1245
1453
|
}
|
|
1246
1454
|
UPB_INLINE bool envoy_config_core_v3_RuntimePercent_has_default_value(const envoy_config_core_v3_RuntimePercent* msg) {
|
|
1247
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
1455
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1248
1456
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1249
1457
|
}
|
|
1250
1458
|
UPB_INLINE void envoy_config_core_v3_RuntimePercent_clear_runtime_key(envoy_config_core_v3_RuntimePercent* msg) {
|
|
@@ -1260,12 +1468,13 @@ UPB_INLINE upb_StringView envoy_config_core_v3_RuntimePercent_runtime_key(const
|
|
|
1260
1468
|
return ret;
|
|
1261
1469
|
}
|
|
1262
1470
|
|
|
1263
|
-
UPB_INLINE void envoy_config_core_v3_RuntimePercent_set_default_value(envoy_config_core_v3_RuntimePercent
|
|
1264
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
1471
|
+
UPB_INLINE void envoy_config_core_v3_RuntimePercent_set_default_value(envoy_config_core_v3_RuntimePercent* msg, struct envoy_type_v3_Percent* value) {
|
|
1472
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1265
1473
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__type__v3__Percent_msg_init);
|
|
1266
|
-
upb_Message_SetBaseField((upb_Message
|
|
1474
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1267
1475
|
}
|
|
1268
|
-
UPB_INLINE struct envoy_type_v3_Percent* envoy_config_core_v3_RuntimePercent_mutable_default_value(
|
|
1476
|
+
UPB_INLINE struct envoy_type_v3_Percent* envoy_config_core_v3_RuntimePercent_mutable_default_value(
|
|
1477
|
+
envoy_config_core_v3_RuntimePercent* msg, upb_Arena* arena) {
|
|
1269
1478
|
struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_config_core_v3_RuntimePercent_default_value(msg);
|
|
1270
1479
|
if (sub == NULL) {
|
|
1271
1480
|
sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena);
|
|
@@ -1273,43 +1482,45 @@ UPB_INLINE struct envoy_type_v3_Percent* envoy_config_core_v3_RuntimePercent_mut
|
|
|
1273
1482
|
}
|
|
1274
1483
|
return sub;
|
|
1275
1484
|
}
|
|
1276
|
-
UPB_INLINE void envoy_config_core_v3_RuntimePercent_set_runtime_key(envoy_config_core_v3_RuntimePercent
|
|
1485
|
+
UPB_INLINE void envoy_config_core_v3_RuntimePercent_set_runtime_key(envoy_config_core_v3_RuntimePercent* msg, upb_StringView value) {
|
|
1277
1486
|
const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1278
|
-
upb_Message_SetBaseField((upb_Message
|
|
1487
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1279
1488
|
}
|
|
1280
1489
|
|
|
1281
1490
|
/* envoy.config.core.v3.RuntimeDouble */
|
|
1282
|
-
|
|
1283
1491
|
UPB_INLINE envoy_config_core_v3_RuntimeDouble* envoy_config_core_v3_RuntimeDouble_new(upb_Arena* arena) {
|
|
1284
1492
|
return (envoy_config_core_v3_RuntimeDouble*)_upb_Message_New(&envoy__config__core__v3__RuntimeDouble_msg_init, arena);
|
|
1285
1493
|
}
|
|
1286
|
-
UPB_INLINE envoy_config_core_v3_RuntimeDouble* envoy_config_core_v3_RuntimeDouble_parse(const char* buf, size_t size,
|
|
1494
|
+
UPB_INLINE envoy_config_core_v3_RuntimeDouble* envoy_config_core_v3_RuntimeDouble_parse(const char* buf, size_t size,
|
|
1495
|
+
upb_Arena* arena) {
|
|
1287
1496
|
envoy_config_core_v3_RuntimeDouble* ret = envoy_config_core_v3_RuntimeDouble_new(arena);
|
|
1288
1497
|
if (!ret) return NULL;
|
|
1289
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeDouble_msg_init, NULL, 0,
|
|
1290
|
-
|
|
1498
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeDouble_msg_init, NULL, 0,
|
|
1499
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1291
1500
|
return NULL;
|
|
1292
1501
|
}
|
|
1293
1502
|
return ret;
|
|
1294
1503
|
}
|
|
1295
|
-
UPB_INLINE envoy_config_core_v3_RuntimeDouble* envoy_config_core_v3_RuntimeDouble_parse_ex(
|
|
1296
|
-
|
|
1297
|
-
|
|
1504
|
+
UPB_INLINE envoy_config_core_v3_RuntimeDouble* envoy_config_core_v3_RuntimeDouble_parse_ex(
|
|
1505
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1506
|
+
int options, upb_Arena* arena) {
|
|
1298
1507
|
envoy_config_core_v3_RuntimeDouble* ret = envoy_config_core_v3_RuntimeDouble_new(arena);
|
|
1299
1508
|
if (!ret) return NULL;
|
|
1300
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeDouble_msg_init, extreg,
|
|
1301
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1509
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeDouble_msg_init, extreg,
|
|
1510
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1302
1511
|
return NULL;
|
|
1303
1512
|
}
|
|
1304
1513
|
return ret;
|
|
1305
1514
|
}
|
|
1306
|
-
UPB_INLINE char* envoy_config_core_v3_RuntimeDouble_serialize(const envoy_config_core_v3_RuntimeDouble* msg,
|
|
1515
|
+
UPB_INLINE char* envoy_config_core_v3_RuntimeDouble_serialize(const envoy_config_core_v3_RuntimeDouble* msg,
|
|
1516
|
+
upb_Arena* arena, size_t* len) {
|
|
1307
1517
|
char* ptr;
|
|
1308
1518
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimeDouble_msg_init, 0, arena, &ptr, len);
|
|
1309
1519
|
return ptr;
|
|
1310
1520
|
}
|
|
1311
|
-
UPB_INLINE char* envoy_config_core_v3_RuntimeDouble_serialize_ex(const envoy_config_core_v3_RuntimeDouble* msg,
|
|
1312
|
-
|
|
1521
|
+
UPB_INLINE char* envoy_config_core_v3_RuntimeDouble_serialize_ex(const envoy_config_core_v3_RuntimeDouble* msg,
|
|
1522
|
+
int options, upb_Arena* arena,
|
|
1523
|
+
size_t* len) {
|
|
1313
1524
|
char* ptr;
|
|
1314
1525
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimeDouble_msg_init, options, arena, &ptr, len);
|
|
1315
1526
|
return ptr;
|
|
@@ -1339,66 +1550,68 @@ UPB_INLINE upb_StringView envoy_config_core_v3_RuntimeDouble_runtime_key(const e
|
|
|
1339
1550
|
return ret;
|
|
1340
1551
|
}
|
|
1341
1552
|
|
|
1342
|
-
UPB_INLINE void envoy_config_core_v3_RuntimeDouble_set_default_value(envoy_config_core_v3_RuntimeDouble
|
|
1553
|
+
UPB_INLINE void envoy_config_core_v3_RuntimeDouble_set_default_value(envoy_config_core_v3_RuntimeDouble* msg, double value) {
|
|
1343
1554
|
const upb_MiniTableField field = {1, UPB_SIZE(16, 24), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
|
1344
|
-
upb_Message_SetBaseField((upb_Message
|
|
1555
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1345
1556
|
}
|
|
1346
|
-
UPB_INLINE void envoy_config_core_v3_RuntimeDouble_set_runtime_key(envoy_config_core_v3_RuntimeDouble
|
|
1557
|
+
UPB_INLINE void envoy_config_core_v3_RuntimeDouble_set_runtime_key(envoy_config_core_v3_RuntimeDouble* msg, upb_StringView value) {
|
|
1347
1558
|
const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1348
|
-
upb_Message_SetBaseField((upb_Message
|
|
1559
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1349
1560
|
}
|
|
1350
1561
|
|
|
1351
1562
|
/* envoy.config.core.v3.RuntimeFeatureFlag */
|
|
1352
|
-
|
|
1353
1563
|
UPB_INLINE envoy_config_core_v3_RuntimeFeatureFlag* envoy_config_core_v3_RuntimeFeatureFlag_new(upb_Arena* arena) {
|
|
1354
1564
|
return (envoy_config_core_v3_RuntimeFeatureFlag*)_upb_Message_New(&envoy__config__core__v3__RuntimeFeatureFlag_msg_init, arena);
|
|
1355
1565
|
}
|
|
1356
|
-
UPB_INLINE envoy_config_core_v3_RuntimeFeatureFlag* envoy_config_core_v3_RuntimeFeatureFlag_parse(const char* buf, size_t size,
|
|
1566
|
+
UPB_INLINE envoy_config_core_v3_RuntimeFeatureFlag* envoy_config_core_v3_RuntimeFeatureFlag_parse(const char* buf, size_t size,
|
|
1567
|
+
upb_Arena* arena) {
|
|
1357
1568
|
envoy_config_core_v3_RuntimeFeatureFlag* ret = envoy_config_core_v3_RuntimeFeatureFlag_new(arena);
|
|
1358
1569
|
if (!ret) return NULL;
|
|
1359
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, NULL, 0,
|
|
1360
|
-
|
|
1570
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, NULL, 0,
|
|
1571
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1361
1572
|
return NULL;
|
|
1362
1573
|
}
|
|
1363
1574
|
return ret;
|
|
1364
1575
|
}
|
|
1365
|
-
UPB_INLINE envoy_config_core_v3_RuntimeFeatureFlag* envoy_config_core_v3_RuntimeFeatureFlag_parse_ex(
|
|
1366
|
-
|
|
1367
|
-
|
|
1576
|
+
UPB_INLINE envoy_config_core_v3_RuntimeFeatureFlag* envoy_config_core_v3_RuntimeFeatureFlag_parse_ex(
|
|
1577
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1578
|
+
int options, upb_Arena* arena) {
|
|
1368
1579
|
envoy_config_core_v3_RuntimeFeatureFlag* ret = envoy_config_core_v3_RuntimeFeatureFlag_new(arena);
|
|
1369
1580
|
if (!ret) return NULL;
|
|
1370
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, extreg,
|
|
1371
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1581
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, extreg,
|
|
1582
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1372
1583
|
return NULL;
|
|
1373
1584
|
}
|
|
1374
1585
|
return ret;
|
|
1375
1586
|
}
|
|
1376
|
-
UPB_INLINE char* envoy_config_core_v3_RuntimeFeatureFlag_serialize(const envoy_config_core_v3_RuntimeFeatureFlag* msg,
|
|
1587
|
+
UPB_INLINE char* envoy_config_core_v3_RuntimeFeatureFlag_serialize(const envoy_config_core_v3_RuntimeFeatureFlag* msg,
|
|
1588
|
+
upb_Arena* arena, size_t* len) {
|
|
1377
1589
|
char* ptr;
|
|
1378
1590
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, 0, arena, &ptr, len);
|
|
1379
1591
|
return ptr;
|
|
1380
1592
|
}
|
|
1381
|
-
UPB_INLINE char* envoy_config_core_v3_RuntimeFeatureFlag_serialize_ex(const envoy_config_core_v3_RuntimeFeatureFlag* msg,
|
|
1382
|
-
|
|
1593
|
+
UPB_INLINE char* envoy_config_core_v3_RuntimeFeatureFlag_serialize_ex(const envoy_config_core_v3_RuntimeFeatureFlag* msg,
|
|
1594
|
+
int options, upb_Arena* arena,
|
|
1595
|
+
size_t* len) {
|
|
1383
1596
|
char* ptr;
|
|
1384
1597
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, options, arena, &ptr, len);
|
|
1385
1598
|
return ptr;
|
|
1386
1599
|
}
|
|
1387
1600
|
UPB_INLINE void envoy_config_core_v3_RuntimeFeatureFlag_clear_default_value(envoy_config_core_v3_RuntimeFeatureFlag* msg) {
|
|
1388
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
1601
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1389
1602
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1390
1603
|
}
|
|
1391
1604
|
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_core_v3_RuntimeFeatureFlag_default_value(const envoy_config_core_v3_RuntimeFeatureFlag* msg) {
|
|
1392
1605
|
const struct google_protobuf_BoolValue* default_val = NULL;
|
|
1393
1606
|
const struct google_protobuf_BoolValue* ret;
|
|
1394
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
1607
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1395
1608
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__BoolValue_msg_init);
|
|
1396
1609
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1397
1610
|
&default_val, &ret);
|
|
1398
1611
|
return ret;
|
|
1399
1612
|
}
|
|
1400
1613
|
UPB_INLINE bool envoy_config_core_v3_RuntimeFeatureFlag_has_default_value(const envoy_config_core_v3_RuntimeFeatureFlag* msg) {
|
|
1401
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
1614
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1402
1615
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1403
1616
|
}
|
|
1404
1617
|
UPB_INLINE void envoy_config_core_v3_RuntimeFeatureFlag_clear_runtime_key(envoy_config_core_v3_RuntimeFeatureFlag* msg) {
|
|
@@ -1414,12 +1627,13 @@ UPB_INLINE upb_StringView envoy_config_core_v3_RuntimeFeatureFlag_runtime_key(co
|
|
|
1414
1627
|
return ret;
|
|
1415
1628
|
}
|
|
1416
1629
|
|
|
1417
|
-
UPB_INLINE void envoy_config_core_v3_RuntimeFeatureFlag_set_default_value(envoy_config_core_v3_RuntimeFeatureFlag
|
|
1418
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
1630
|
+
UPB_INLINE void envoy_config_core_v3_RuntimeFeatureFlag_set_default_value(envoy_config_core_v3_RuntimeFeatureFlag* msg, struct google_protobuf_BoolValue* value) {
|
|
1631
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1419
1632
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__BoolValue_msg_init);
|
|
1420
|
-
upb_Message_SetBaseField((upb_Message
|
|
1633
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1421
1634
|
}
|
|
1422
|
-
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_RuntimeFeatureFlag_mutable_default_value(
|
|
1635
|
+
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_RuntimeFeatureFlag_mutable_default_value(
|
|
1636
|
+
envoy_config_core_v3_RuntimeFeatureFlag* msg, upb_Arena* arena) {
|
|
1423
1637
|
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_RuntimeFeatureFlag_default_value(msg);
|
|
1424
1638
|
if (sub == NULL) {
|
|
1425
1639
|
sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena);
|
|
@@ -1427,43 +1641,45 @@ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_RuntimeFeature
|
|
|
1427
1641
|
}
|
|
1428
1642
|
return sub;
|
|
1429
1643
|
}
|
|
1430
|
-
UPB_INLINE void envoy_config_core_v3_RuntimeFeatureFlag_set_runtime_key(envoy_config_core_v3_RuntimeFeatureFlag
|
|
1644
|
+
UPB_INLINE void envoy_config_core_v3_RuntimeFeatureFlag_set_runtime_key(envoy_config_core_v3_RuntimeFeatureFlag* msg, upb_StringView value) {
|
|
1431
1645
|
const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1432
|
-
upb_Message_SetBaseField((upb_Message
|
|
1646
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1433
1647
|
}
|
|
1434
1648
|
|
|
1435
1649
|
/* envoy.config.core.v3.KeyValue */
|
|
1436
|
-
|
|
1437
1650
|
UPB_INLINE envoy_config_core_v3_KeyValue* envoy_config_core_v3_KeyValue_new(upb_Arena* arena) {
|
|
1438
1651
|
return (envoy_config_core_v3_KeyValue*)_upb_Message_New(&envoy__config__core__v3__KeyValue_msg_init, arena);
|
|
1439
1652
|
}
|
|
1440
|
-
UPB_INLINE envoy_config_core_v3_KeyValue* envoy_config_core_v3_KeyValue_parse(const char* buf, size_t size,
|
|
1653
|
+
UPB_INLINE envoy_config_core_v3_KeyValue* envoy_config_core_v3_KeyValue_parse(const char* buf, size_t size,
|
|
1654
|
+
upb_Arena* arena) {
|
|
1441
1655
|
envoy_config_core_v3_KeyValue* ret = envoy_config_core_v3_KeyValue_new(arena);
|
|
1442
1656
|
if (!ret) return NULL;
|
|
1443
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValue_msg_init, NULL, 0,
|
|
1444
|
-
|
|
1657
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValue_msg_init, NULL, 0,
|
|
1658
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1445
1659
|
return NULL;
|
|
1446
1660
|
}
|
|
1447
1661
|
return ret;
|
|
1448
1662
|
}
|
|
1449
|
-
UPB_INLINE envoy_config_core_v3_KeyValue* envoy_config_core_v3_KeyValue_parse_ex(
|
|
1450
|
-
|
|
1451
|
-
|
|
1663
|
+
UPB_INLINE envoy_config_core_v3_KeyValue* envoy_config_core_v3_KeyValue_parse_ex(
|
|
1664
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1665
|
+
int options, upb_Arena* arena) {
|
|
1452
1666
|
envoy_config_core_v3_KeyValue* ret = envoy_config_core_v3_KeyValue_new(arena);
|
|
1453
1667
|
if (!ret) return NULL;
|
|
1454
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValue_msg_init, extreg,
|
|
1455
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1668
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValue_msg_init, extreg,
|
|
1669
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1456
1670
|
return NULL;
|
|
1457
1671
|
}
|
|
1458
1672
|
return ret;
|
|
1459
1673
|
}
|
|
1460
|
-
UPB_INLINE char* envoy_config_core_v3_KeyValue_serialize(const envoy_config_core_v3_KeyValue* msg,
|
|
1674
|
+
UPB_INLINE char* envoy_config_core_v3_KeyValue_serialize(const envoy_config_core_v3_KeyValue* msg,
|
|
1675
|
+
upb_Arena* arena, size_t* len) {
|
|
1461
1676
|
char* ptr;
|
|
1462
1677
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__KeyValue_msg_init, 0, arena, &ptr, len);
|
|
1463
1678
|
return ptr;
|
|
1464
1679
|
}
|
|
1465
|
-
UPB_INLINE char* envoy_config_core_v3_KeyValue_serialize_ex(const envoy_config_core_v3_KeyValue* msg,
|
|
1466
|
-
|
|
1680
|
+
UPB_INLINE char* envoy_config_core_v3_KeyValue_serialize_ex(const envoy_config_core_v3_KeyValue* msg,
|
|
1681
|
+
int options, upb_Arena* arena,
|
|
1682
|
+
size_t* len) {
|
|
1467
1683
|
char* ptr;
|
|
1468
1684
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__KeyValue_msg_init, options, arena, &ptr, len);
|
|
1469
1685
|
return ptr;
|
|
@@ -1493,47 +1709,49 @@ UPB_INLINE upb_StringView envoy_config_core_v3_KeyValue_value(const envoy_config
|
|
|
1493
1709
|
return ret;
|
|
1494
1710
|
}
|
|
1495
1711
|
|
|
1496
|
-
UPB_INLINE void envoy_config_core_v3_KeyValue_set_key(envoy_config_core_v3_KeyValue
|
|
1712
|
+
UPB_INLINE void envoy_config_core_v3_KeyValue_set_key(envoy_config_core_v3_KeyValue* msg, upb_StringView value) {
|
|
1497
1713
|
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1498
|
-
upb_Message_SetBaseField((upb_Message
|
|
1714
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1499
1715
|
}
|
|
1500
|
-
UPB_INLINE void envoy_config_core_v3_KeyValue_set_value(envoy_config_core_v3_KeyValue
|
|
1716
|
+
UPB_INLINE void envoy_config_core_v3_KeyValue_set_value(envoy_config_core_v3_KeyValue* msg, upb_StringView value) {
|
|
1501
1717
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1502
|
-
upb_Message_SetBaseField((upb_Message
|
|
1718
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1503
1719
|
}
|
|
1504
1720
|
|
|
1505
1721
|
/* envoy.config.core.v3.KeyValuePair */
|
|
1506
|
-
|
|
1507
1722
|
UPB_INLINE envoy_config_core_v3_KeyValuePair* envoy_config_core_v3_KeyValuePair_new(upb_Arena* arena) {
|
|
1508
1723
|
return (envoy_config_core_v3_KeyValuePair*)_upb_Message_New(&envoy__config__core__v3__KeyValuePair_msg_init, arena);
|
|
1509
1724
|
}
|
|
1510
|
-
UPB_INLINE envoy_config_core_v3_KeyValuePair* envoy_config_core_v3_KeyValuePair_parse(const char* buf, size_t size,
|
|
1725
|
+
UPB_INLINE envoy_config_core_v3_KeyValuePair* envoy_config_core_v3_KeyValuePair_parse(const char* buf, size_t size,
|
|
1726
|
+
upb_Arena* arena) {
|
|
1511
1727
|
envoy_config_core_v3_KeyValuePair* ret = envoy_config_core_v3_KeyValuePair_new(arena);
|
|
1512
1728
|
if (!ret) return NULL;
|
|
1513
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValuePair_msg_init, NULL, 0,
|
|
1514
|
-
|
|
1729
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValuePair_msg_init, NULL, 0,
|
|
1730
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1515
1731
|
return NULL;
|
|
1516
1732
|
}
|
|
1517
1733
|
return ret;
|
|
1518
1734
|
}
|
|
1519
|
-
UPB_INLINE envoy_config_core_v3_KeyValuePair* envoy_config_core_v3_KeyValuePair_parse_ex(
|
|
1520
|
-
|
|
1521
|
-
|
|
1735
|
+
UPB_INLINE envoy_config_core_v3_KeyValuePair* envoy_config_core_v3_KeyValuePair_parse_ex(
|
|
1736
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1737
|
+
int options, upb_Arena* arena) {
|
|
1522
1738
|
envoy_config_core_v3_KeyValuePair* ret = envoy_config_core_v3_KeyValuePair_new(arena);
|
|
1523
1739
|
if (!ret) return NULL;
|
|
1524
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValuePair_msg_init, extreg,
|
|
1525
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1740
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValuePair_msg_init, extreg,
|
|
1741
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1526
1742
|
return NULL;
|
|
1527
1743
|
}
|
|
1528
1744
|
return ret;
|
|
1529
1745
|
}
|
|
1530
|
-
UPB_INLINE char* envoy_config_core_v3_KeyValuePair_serialize(const envoy_config_core_v3_KeyValuePair* msg,
|
|
1746
|
+
UPB_INLINE char* envoy_config_core_v3_KeyValuePair_serialize(const envoy_config_core_v3_KeyValuePair* msg,
|
|
1747
|
+
upb_Arena* arena, size_t* len) {
|
|
1531
1748
|
char* ptr;
|
|
1532
1749
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__KeyValuePair_msg_init, 0, arena, &ptr, len);
|
|
1533
1750
|
return ptr;
|
|
1534
1751
|
}
|
|
1535
|
-
UPB_INLINE char* envoy_config_core_v3_KeyValuePair_serialize_ex(const envoy_config_core_v3_KeyValuePair* msg,
|
|
1536
|
-
|
|
1752
|
+
UPB_INLINE char* envoy_config_core_v3_KeyValuePair_serialize_ex(const envoy_config_core_v3_KeyValuePair* msg,
|
|
1753
|
+
int options, upb_Arena* arena,
|
|
1754
|
+
size_t* len) {
|
|
1537
1755
|
char* ptr;
|
|
1538
1756
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__KeyValuePair_msg_init, options, arena, &ptr, len);
|
|
1539
1757
|
return ptr;
|
|
@@ -1551,33 +1769,34 @@ UPB_INLINE upb_StringView envoy_config_core_v3_KeyValuePair_key(const envoy_conf
|
|
|
1551
1769
|
return ret;
|
|
1552
1770
|
}
|
|
1553
1771
|
UPB_INLINE void envoy_config_core_v3_KeyValuePair_clear_value(envoy_config_core_v3_KeyValuePair* msg) {
|
|
1554
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64,
|
|
1772
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1555
1773
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1556
1774
|
}
|
|
1557
1775
|
UPB_INLINE const struct google_protobuf_Value* envoy_config_core_v3_KeyValuePair_value(const envoy_config_core_v3_KeyValuePair* msg) {
|
|
1558
1776
|
const struct google_protobuf_Value* default_val = NULL;
|
|
1559
1777
|
const struct google_protobuf_Value* ret;
|
|
1560
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64,
|
|
1778
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1561
1779
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Value_msg_init);
|
|
1562
1780
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1563
1781
|
&default_val, &ret);
|
|
1564
1782
|
return ret;
|
|
1565
1783
|
}
|
|
1566
1784
|
UPB_INLINE bool envoy_config_core_v3_KeyValuePair_has_value(const envoy_config_core_v3_KeyValuePair* msg) {
|
|
1567
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64,
|
|
1785
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1568
1786
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1569
1787
|
}
|
|
1570
1788
|
|
|
1571
|
-
UPB_INLINE void envoy_config_core_v3_KeyValuePair_set_key(envoy_config_core_v3_KeyValuePair
|
|
1789
|
+
UPB_INLINE void envoy_config_core_v3_KeyValuePair_set_key(envoy_config_core_v3_KeyValuePair* msg, upb_StringView value) {
|
|
1572
1790
|
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1573
|
-
upb_Message_SetBaseField((upb_Message
|
|
1791
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1574
1792
|
}
|
|
1575
|
-
UPB_INLINE void envoy_config_core_v3_KeyValuePair_set_value(envoy_config_core_v3_KeyValuePair
|
|
1576
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64,
|
|
1793
|
+
UPB_INLINE void envoy_config_core_v3_KeyValuePair_set_value(envoy_config_core_v3_KeyValuePair* msg, struct google_protobuf_Value* value) {
|
|
1794
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1577
1795
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Value_msg_init);
|
|
1578
|
-
upb_Message_SetBaseField((upb_Message
|
|
1796
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1579
1797
|
}
|
|
1580
|
-
UPB_INLINE struct google_protobuf_Value* envoy_config_core_v3_KeyValuePair_mutable_value(
|
|
1798
|
+
UPB_INLINE struct google_protobuf_Value* envoy_config_core_v3_KeyValuePair_mutable_value(
|
|
1799
|
+
envoy_config_core_v3_KeyValuePair* msg, upb_Arena* arena) {
|
|
1581
1800
|
struct google_protobuf_Value* sub = (struct google_protobuf_Value*)envoy_config_core_v3_KeyValuePair_value(msg);
|
|
1582
1801
|
if (sub == NULL) {
|
|
1583
1802
|
sub = (struct google_protobuf_Value*)_upb_Message_New(&google__protobuf__Value_msg_init, arena);
|
|
@@ -1587,56 +1806,58 @@ UPB_INLINE struct google_protobuf_Value* envoy_config_core_v3_KeyValuePair_mutab
|
|
|
1587
1806
|
}
|
|
1588
1807
|
|
|
1589
1808
|
/* envoy.config.core.v3.KeyValueAppend */
|
|
1590
|
-
|
|
1591
1809
|
UPB_INLINE envoy_config_core_v3_KeyValueAppend* envoy_config_core_v3_KeyValueAppend_new(upb_Arena* arena) {
|
|
1592
1810
|
return (envoy_config_core_v3_KeyValueAppend*)_upb_Message_New(&envoy__config__core__v3__KeyValueAppend_msg_init, arena);
|
|
1593
1811
|
}
|
|
1594
|
-
UPB_INLINE envoy_config_core_v3_KeyValueAppend* envoy_config_core_v3_KeyValueAppend_parse(const char* buf, size_t size,
|
|
1812
|
+
UPB_INLINE envoy_config_core_v3_KeyValueAppend* envoy_config_core_v3_KeyValueAppend_parse(const char* buf, size_t size,
|
|
1813
|
+
upb_Arena* arena) {
|
|
1595
1814
|
envoy_config_core_v3_KeyValueAppend* ret = envoy_config_core_v3_KeyValueAppend_new(arena);
|
|
1596
1815
|
if (!ret) return NULL;
|
|
1597
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValueAppend_msg_init, NULL, 0,
|
|
1598
|
-
|
|
1816
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValueAppend_msg_init, NULL, 0,
|
|
1817
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1599
1818
|
return NULL;
|
|
1600
1819
|
}
|
|
1601
1820
|
return ret;
|
|
1602
1821
|
}
|
|
1603
|
-
UPB_INLINE envoy_config_core_v3_KeyValueAppend* envoy_config_core_v3_KeyValueAppend_parse_ex(
|
|
1604
|
-
|
|
1605
|
-
|
|
1822
|
+
UPB_INLINE envoy_config_core_v3_KeyValueAppend* envoy_config_core_v3_KeyValueAppend_parse_ex(
|
|
1823
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1824
|
+
int options, upb_Arena* arena) {
|
|
1606
1825
|
envoy_config_core_v3_KeyValueAppend* ret = envoy_config_core_v3_KeyValueAppend_new(arena);
|
|
1607
1826
|
if (!ret) return NULL;
|
|
1608
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValueAppend_msg_init, extreg,
|
|
1609
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1827
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValueAppend_msg_init, extreg,
|
|
1828
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1610
1829
|
return NULL;
|
|
1611
1830
|
}
|
|
1612
1831
|
return ret;
|
|
1613
1832
|
}
|
|
1614
|
-
UPB_INLINE char* envoy_config_core_v3_KeyValueAppend_serialize(const envoy_config_core_v3_KeyValueAppend* msg,
|
|
1833
|
+
UPB_INLINE char* envoy_config_core_v3_KeyValueAppend_serialize(const envoy_config_core_v3_KeyValueAppend* msg,
|
|
1834
|
+
upb_Arena* arena, size_t* len) {
|
|
1615
1835
|
char* ptr;
|
|
1616
1836
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__KeyValueAppend_msg_init, 0, arena, &ptr, len);
|
|
1617
1837
|
return ptr;
|
|
1618
1838
|
}
|
|
1619
|
-
UPB_INLINE char* envoy_config_core_v3_KeyValueAppend_serialize_ex(const envoy_config_core_v3_KeyValueAppend* msg,
|
|
1620
|
-
|
|
1839
|
+
UPB_INLINE char* envoy_config_core_v3_KeyValueAppend_serialize_ex(const envoy_config_core_v3_KeyValueAppend* msg,
|
|
1840
|
+
int options, upb_Arena* arena,
|
|
1841
|
+
size_t* len) {
|
|
1621
1842
|
char* ptr;
|
|
1622
1843
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__KeyValueAppend_msg_init, options, arena, &ptr, len);
|
|
1623
1844
|
return ptr;
|
|
1624
1845
|
}
|
|
1625
1846
|
UPB_INLINE void envoy_config_core_v3_KeyValueAppend_clear_entry(envoy_config_core_v3_KeyValueAppend* msg) {
|
|
1626
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
1847
|
+
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)};
|
|
1627
1848
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1628
1849
|
}
|
|
1629
1850
|
UPB_INLINE const envoy_config_core_v3_KeyValue* envoy_config_core_v3_KeyValueAppend_entry(const envoy_config_core_v3_KeyValueAppend* msg) {
|
|
1630
1851
|
const envoy_config_core_v3_KeyValue* default_val = NULL;
|
|
1631
1852
|
const envoy_config_core_v3_KeyValue* ret;
|
|
1632
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
1853
|
+
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)};
|
|
1633
1854
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__KeyValue_msg_init);
|
|
1634
1855
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1635
1856
|
&default_val, &ret);
|
|
1636
1857
|
return ret;
|
|
1637
1858
|
}
|
|
1638
1859
|
UPB_INLINE bool envoy_config_core_v3_KeyValueAppend_has_entry(const envoy_config_core_v3_KeyValueAppend* msg) {
|
|
1639
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
1860
|
+
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)};
|
|
1640
1861
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1641
1862
|
}
|
|
1642
1863
|
UPB_INLINE void envoy_config_core_v3_KeyValueAppend_clear_action(envoy_config_core_v3_KeyValueAppend* msg) {
|
|
@@ -1652,29 +1873,30 @@ UPB_INLINE int32_t envoy_config_core_v3_KeyValueAppend_action(const envoy_config
|
|
|
1652
1873
|
return ret;
|
|
1653
1874
|
}
|
|
1654
1875
|
UPB_INLINE void envoy_config_core_v3_KeyValueAppend_clear_record(envoy_config_core_v3_KeyValueAppend* msg) {
|
|
1655
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 65,
|
|
1876
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1656
1877
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1657
1878
|
}
|
|
1658
1879
|
UPB_INLINE const envoy_config_core_v3_KeyValuePair* envoy_config_core_v3_KeyValueAppend_record(const envoy_config_core_v3_KeyValueAppend* msg) {
|
|
1659
1880
|
const envoy_config_core_v3_KeyValuePair* default_val = NULL;
|
|
1660
1881
|
const envoy_config_core_v3_KeyValuePair* ret;
|
|
1661
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 65,
|
|
1882
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1662
1883
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__KeyValuePair_msg_init);
|
|
1663
1884
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1664
1885
|
&default_val, &ret);
|
|
1665
1886
|
return ret;
|
|
1666
1887
|
}
|
|
1667
1888
|
UPB_INLINE bool envoy_config_core_v3_KeyValueAppend_has_record(const envoy_config_core_v3_KeyValueAppend* msg) {
|
|
1668
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 65,
|
|
1889
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1669
1890
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1670
1891
|
}
|
|
1671
1892
|
|
|
1672
|
-
UPB_INLINE void envoy_config_core_v3_KeyValueAppend_set_entry(envoy_config_core_v3_KeyValueAppend
|
|
1673
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
1893
|
+
UPB_INLINE void envoy_config_core_v3_KeyValueAppend_set_entry(envoy_config_core_v3_KeyValueAppend* msg, envoy_config_core_v3_KeyValue* value) {
|
|
1894
|
+
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)};
|
|
1674
1895
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__KeyValue_msg_init);
|
|
1675
|
-
upb_Message_SetBaseField((upb_Message
|
|
1896
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1676
1897
|
}
|
|
1677
|
-
UPB_INLINE struct envoy_config_core_v3_KeyValue* envoy_config_core_v3_KeyValueAppend_mutable_entry(
|
|
1898
|
+
UPB_INLINE struct envoy_config_core_v3_KeyValue* envoy_config_core_v3_KeyValueAppend_mutable_entry(
|
|
1899
|
+
envoy_config_core_v3_KeyValueAppend* msg, upb_Arena* arena) {
|
|
1678
1900
|
struct envoy_config_core_v3_KeyValue* sub = (struct envoy_config_core_v3_KeyValue*)envoy_config_core_v3_KeyValueAppend_entry(msg);
|
|
1679
1901
|
if (sub == NULL) {
|
|
1680
1902
|
sub = (struct envoy_config_core_v3_KeyValue*)_upb_Message_New(&envoy__config__core__v3__KeyValue_msg_init, arena);
|
|
@@ -1682,16 +1904,17 @@ UPB_INLINE struct envoy_config_core_v3_KeyValue* envoy_config_core_v3_KeyValueAp
|
|
|
1682
1904
|
}
|
|
1683
1905
|
return sub;
|
|
1684
1906
|
}
|
|
1685
|
-
UPB_INLINE void envoy_config_core_v3_KeyValueAppend_set_action(envoy_config_core_v3_KeyValueAppend
|
|
1907
|
+
UPB_INLINE void envoy_config_core_v3_KeyValueAppend_set_action(envoy_config_core_v3_KeyValueAppend* msg, int32_t value) {
|
|
1686
1908
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
1687
|
-
upb_Message_SetBaseField((upb_Message
|
|
1909
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1688
1910
|
}
|
|
1689
|
-
UPB_INLINE void envoy_config_core_v3_KeyValueAppend_set_record(envoy_config_core_v3_KeyValueAppend
|
|
1690
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 65,
|
|
1911
|
+
UPB_INLINE void envoy_config_core_v3_KeyValueAppend_set_record(envoy_config_core_v3_KeyValueAppend* msg, envoy_config_core_v3_KeyValuePair* value) {
|
|
1912
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1691
1913
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__KeyValuePair_msg_init);
|
|
1692
|
-
upb_Message_SetBaseField((upb_Message
|
|
1914
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1693
1915
|
}
|
|
1694
|
-
UPB_INLINE struct envoy_config_core_v3_KeyValuePair* envoy_config_core_v3_KeyValueAppend_mutable_record(
|
|
1916
|
+
UPB_INLINE struct envoy_config_core_v3_KeyValuePair* envoy_config_core_v3_KeyValueAppend_mutable_record(
|
|
1917
|
+
envoy_config_core_v3_KeyValueAppend* msg, upb_Arena* arena) {
|
|
1695
1918
|
struct envoy_config_core_v3_KeyValuePair* sub = (struct envoy_config_core_v3_KeyValuePair*)envoy_config_core_v3_KeyValueAppend_record(msg);
|
|
1696
1919
|
if (sub == NULL) {
|
|
1697
1920
|
sub = (struct envoy_config_core_v3_KeyValuePair*)_upb_Message_New(&envoy__config__core__v3__KeyValuePair_msg_init, arena);
|
|
@@ -1701,56 +1924,58 @@ UPB_INLINE struct envoy_config_core_v3_KeyValuePair* envoy_config_core_v3_KeyVal
|
|
|
1701
1924
|
}
|
|
1702
1925
|
|
|
1703
1926
|
/* envoy.config.core.v3.KeyValueMutation */
|
|
1704
|
-
|
|
1705
1927
|
UPB_INLINE envoy_config_core_v3_KeyValueMutation* envoy_config_core_v3_KeyValueMutation_new(upb_Arena* arena) {
|
|
1706
1928
|
return (envoy_config_core_v3_KeyValueMutation*)_upb_Message_New(&envoy__config__core__v3__KeyValueMutation_msg_init, arena);
|
|
1707
1929
|
}
|
|
1708
|
-
UPB_INLINE envoy_config_core_v3_KeyValueMutation* envoy_config_core_v3_KeyValueMutation_parse(const char* buf, size_t size,
|
|
1930
|
+
UPB_INLINE envoy_config_core_v3_KeyValueMutation* envoy_config_core_v3_KeyValueMutation_parse(const char* buf, size_t size,
|
|
1931
|
+
upb_Arena* arena) {
|
|
1709
1932
|
envoy_config_core_v3_KeyValueMutation* ret = envoy_config_core_v3_KeyValueMutation_new(arena);
|
|
1710
1933
|
if (!ret) return NULL;
|
|
1711
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValueMutation_msg_init, NULL, 0,
|
|
1712
|
-
|
|
1934
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValueMutation_msg_init, NULL, 0,
|
|
1935
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1713
1936
|
return NULL;
|
|
1714
1937
|
}
|
|
1715
1938
|
return ret;
|
|
1716
1939
|
}
|
|
1717
|
-
UPB_INLINE envoy_config_core_v3_KeyValueMutation* envoy_config_core_v3_KeyValueMutation_parse_ex(
|
|
1718
|
-
|
|
1719
|
-
|
|
1940
|
+
UPB_INLINE envoy_config_core_v3_KeyValueMutation* envoy_config_core_v3_KeyValueMutation_parse_ex(
|
|
1941
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1942
|
+
int options, upb_Arena* arena) {
|
|
1720
1943
|
envoy_config_core_v3_KeyValueMutation* ret = envoy_config_core_v3_KeyValueMutation_new(arena);
|
|
1721
1944
|
if (!ret) return NULL;
|
|
1722
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValueMutation_msg_init, extreg,
|
|
1723
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1945
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__KeyValueMutation_msg_init, extreg,
|
|
1946
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1724
1947
|
return NULL;
|
|
1725
1948
|
}
|
|
1726
1949
|
return ret;
|
|
1727
1950
|
}
|
|
1728
|
-
UPB_INLINE char* envoy_config_core_v3_KeyValueMutation_serialize(const envoy_config_core_v3_KeyValueMutation* msg,
|
|
1951
|
+
UPB_INLINE char* envoy_config_core_v3_KeyValueMutation_serialize(const envoy_config_core_v3_KeyValueMutation* msg,
|
|
1952
|
+
upb_Arena* arena, size_t* len) {
|
|
1729
1953
|
char* ptr;
|
|
1730
1954
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__KeyValueMutation_msg_init, 0, arena, &ptr, len);
|
|
1731
1955
|
return ptr;
|
|
1732
1956
|
}
|
|
1733
|
-
UPB_INLINE char* envoy_config_core_v3_KeyValueMutation_serialize_ex(const envoy_config_core_v3_KeyValueMutation* msg,
|
|
1734
|
-
|
|
1957
|
+
UPB_INLINE char* envoy_config_core_v3_KeyValueMutation_serialize_ex(const envoy_config_core_v3_KeyValueMutation* msg,
|
|
1958
|
+
int options, upb_Arena* arena,
|
|
1959
|
+
size_t* len) {
|
|
1735
1960
|
char* ptr;
|
|
1736
1961
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__KeyValueMutation_msg_init, options, arena, &ptr, len);
|
|
1737
1962
|
return ptr;
|
|
1738
1963
|
}
|
|
1739
1964
|
UPB_INLINE void envoy_config_core_v3_KeyValueMutation_clear_append(envoy_config_core_v3_KeyValueMutation* msg) {
|
|
1740
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
1965
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1741
1966
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1742
1967
|
}
|
|
1743
1968
|
UPB_INLINE const envoy_config_core_v3_KeyValueAppend* envoy_config_core_v3_KeyValueMutation_append(const envoy_config_core_v3_KeyValueMutation* msg) {
|
|
1744
1969
|
const envoy_config_core_v3_KeyValueAppend* default_val = NULL;
|
|
1745
1970
|
const envoy_config_core_v3_KeyValueAppend* ret;
|
|
1746
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
1971
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1747
1972
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__KeyValueAppend_msg_init);
|
|
1748
1973
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1749
1974
|
&default_val, &ret);
|
|
1750
1975
|
return ret;
|
|
1751
1976
|
}
|
|
1752
1977
|
UPB_INLINE bool envoy_config_core_v3_KeyValueMutation_has_append(const envoy_config_core_v3_KeyValueMutation* msg) {
|
|
1753
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
1978
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1754
1979
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1755
1980
|
}
|
|
1756
1981
|
UPB_INLINE void envoy_config_core_v3_KeyValueMutation_clear_remove(envoy_config_core_v3_KeyValueMutation* msg) {
|
|
@@ -1766,12 +1991,13 @@ UPB_INLINE upb_StringView envoy_config_core_v3_KeyValueMutation_remove(const env
|
|
|
1766
1991
|
return ret;
|
|
1767
1992
|
}
|
|
1768
1993
|
|
|
1769
|
-
UPB_INLINE void envoy_config_core_v3_KeyValueMutation_set_append(envoy_config_core_v3_KeyValueMutation
|
|
1770
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
1994
|
+
UPB_INLINE void envoy_config_core_v3_KeyValueMutation_set_append(envoy_config_core_v3_KeyValueMutation* msg, envoy_config_core_v3_KeyValueAppend* value) {
|
|
1995
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1771
1996
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__KeyValueAppend_msg_init);
|
|
1772
|
-
upb_Message_SetBaseField((upb_Message
|
|
1997
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1773
1998
|
}
|
|
1774
|
-
UPB_INLINE struct envoy_config_core_v3_KeyValueAppend* envoy_config_core_v3_KeyValueMutation_mutable_append(
|
|
1999
|
+
UPB_INLINE struct envoy_config_core_v3_KeyValueAppend* envoy_config_core_v3_KeyValueMutation_mutable_append(
|
|
2000
|
+
envoy_config_core_v3_KeyValueMutation* msg, upb_Arena* arena) {
|
|
1775
2001
|
struct envoy_config_core_v3_KeyValueAppend* sub = (struct envoy_config_core_v3_KeyValueAppend*)envoy_config_core_v3_KeyValueMutation_append(msg);
|
|
1776
2002
|
if (sub == NULL) {
|
|
1777
2003
|
sub = (struct envoy_config_core_v3_KeyValueAppend*)_upb_Message_New(&envoy__config__core__v3__KeyValueAppend_msg_init, arena);
|
|
@@ -1779,43 +2005,45 @@ UPB_INLINE struct envoy_config_core_v3_KeyValueAppend* envoy_config_core_v3_KeyV
|
|
|
1779
2005
|
}
|
|
1780
2006
|
return sub;
|
|
1781
2007
|
}
|
|
1782
|
-
UPB_INLINE void envoy_config_core_v3_KeyValueMutation_set_remove(envoy_config_core_v3_KeyValueMutation
|
|
2008
|
+
UPB_INLINE void envoy_config_core_v3_KeyValueMutation_set_remove(envoy_config_core_v3_KeyValueMutation* msg, upb_StringView value) {
|
|
1783
2009
|
const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1784
|
-
upb_Message_SetBaseField((upb_Message
|
|
2010
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1785
2011
|
}
|
|
1786
2012
|
|
|
1787
2013
|
/* envoy.config.core.v3.QueryParameter */
|
|
1788
|
-
|
|
1789
2014
|
UPB_INLINE envoy_config_core_v3_QueryParameter* envoy_config_core_v3_QueryParameter_new(upb_Arena* arena) {
|
|
1790
2015
|
return (envoy_config_core_v3_QueryParameter*)_upb_Message_New(&envoy__config__core__v3__QueryParameter_msg_init, arena);
|
|
1791
2016
|
}
|
|
1792
|
-
UPB_INLINE envoy_config_core_v3_QueryParameter* envoy_config_core_v3_QueryParameter_parse(const char* buf, size_t size,
|
|
2017
|
+
UPB_INLINE envoy_config_core_v3_QueryParameter* envoy_config_core_v3_QueryParameter_parse(const char* buf, size_t size,
|
|
2018
|
+
upb_Arena* arena) {
|
|
1793
2019
|
envoy_config_core_v3_QueryParameter* ret = envoy_config_core_v3_QueryParameter_new(arena);
|
|
1794
2020
|
if (!ret) return NULL;
|
|
1795
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__QueryParameter_msg_init, NULL, 0,
|
|
1796
|
-
|
|
2021
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__QueryParameter_msg_init, NULL, 0,
|
|
2022
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1797
2023
|
return NULL;
|
|
1798
2024
|
}
|
|
1799
2025
|
return ret;
|
|
1800
2026
|
}
|
|
1801
|
-
UPB_INLINE envoy_config_core_v3_QueryParameter* envoy_config_core_v3_QueryParameter_parse_ex(
|
|
1802
|
-
|
|
1803
|
-
|
|
2027
|
+
UPB_INLINE envoy_config_core_v3_QueryParameter* envoy_config_core_v3_QueryParameter_parse_ex(
|
|
2028
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
2029
|
+
int options, upb_Arena* arena) {
|
|
1804
2030
|
envoy_config_core_v3_QueryParameter* ret = envoy_config_core_v3_QueryParameter_new(arena);
|
|
1805
2031
|
if (!ret) return NULL;
|
|
1806
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__QueryParameter_msg_init, extreg,
|
|
1807
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
2032
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__QueryParameter_msg_init, extreg,
|
|
2033
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1808
2034
|
return NULL;
|
|
1809
2035
|
}
|
|
1810
2036
|
return ret;
|
|
1811
2037
|
}
|
|
1812
|
-
UPB_INLINE char* envoy_config_core_v3_QueryParameter_serialize(const envoy_config_core_v3_QueryParameter* msg,
|
|
2038
|
+
UPB_INLINE char* envoy_config_core_v3_QueryParameter_serialize(const envoy_config_core_v3_QueryParameter* msg,
|
|
2039
|
+
upb_Arena* arena, size_t* len) {
|
|
1813
2040
|
char* ptr;
|
|
1814
2041
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__QueryParameter_msg_init, 0, arena, &ptr, len);
|
|
1815
2042
|
return ptr;
|
|
1816
2043
|
}
|
|
1817
|
-
UPB_INLINE char* envoy_config_core_v3_QueryParameter_serialize_ex(const envoy_config_core_v3_QueryParameter* msg,
|
|
1818
|
-
|
|
2044
|
+
UPB_INLINE char* envoy_config_core_v3_QueryParameter_serialize_ex(const envoy_config_core_v3_QueryParameter* msg,
|
|
2045
|
+
int options, upb_Arena* arena,
|
|
2046
|
+
size_t* len) {
|
|
1819
2047
|
char* ptr;
|
|
1820
2048
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__QueryParameter_msg_init, options, arena, &ptr, len);
|
|
1821
2049
|
return ptr;
|
|
@@ -1845,47 +2073,49 @@ UPB_INLINE upb_StringView envoy_config_core_v3_QueryParameter_value(const envoy_
|
|
|
1845
2073
|
return ret;
|
|
1846
2074
|
}
|
|
1847
2075
|
|
|
1848
|
-
UPB_INLINE void envoy_config_core_v3_QueryParameter_set_key(envoy_config_core_v3_QueryParameter
|
|
2076
|
+
UPB_INLINE void envoy_config_core_v3_QueryParameter_set_key(envoy_config_core_v3_QueryParameter* msg, upb_StringView value) {
|
|
1849
2077
|
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1850
|
-
upb_Message_SetBaseField((upb_Message
|
|
2078
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1851
2079
|
}
|
|
1852
|
-
UPB_INLINE void envoy_config_core_v3_QueryParameter_set_value(envoy_config_core_v3_QueryParameter
|
|
2080
|
+
UPB_INLINE void envoy_config_core_v3_QueryParameter_set_value(envoy_config_core_v3_QueryParameter* msg, upb_StringView value) {
|
|
1853
2081
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1854
|
-
upb_Message_SetBaseField((upb_Message
|
|
2082
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1855
2083
|
}
|
|
1856
2084
|
|
|
1857
2085
|
/* envoy.config.core.v3.HeaderValue */
|
|
1858
|
-
|
|
1859
2086
|
UPB_INLINE envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValue_new(upb_Arena* arena) {
|
|
1860
2087
|
return (envoy_config_core_v3_HeaderValue*)_upb_Message_New(&envoy__config__core__v3__HeaderValue_msg_init, arena);
|
|
1861
2088
|
}
|
|
1862
|
-
UPB_INLINE envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValue_parse(const char* buf, size_t size,
|
|
2089
|
+
UPB_INLINE envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValue_parse(const char* buf, size_t size,
|
|
2090
|
+
upb_Arena* arena) {
|
|
1863
2091
|
envoy_config_core_v3_HeaderValue* ret = envoy_config_core_v3_HeaderValue_new(arena);
|
|
1864
2092
|
if (!ret) return NULL;
|
|
1865
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__HeaderValue_msg_init, NULL, 0,
|
|
1866
|
-
|
|
2093
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__HeaderValue_msg_init, NULL, 0,
|
|
2094
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1867
2095
|
return NULL;
|
|
1868
2096
|
}
|
|
1869
2097
|
return ret;
|
|
1870
2098
|
}
|
|
1871
|
-
UPB_INLINE envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValue_parse_ex(
|
|
1872
|
-
|
|
1873
|
-
|
|
2099
|
+
UPB_INLINE envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValue_parse_ex(
|
|
2100
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
2101
|
+
int options, upb_Arena* arena) {
|
|
1874
2102
|
envoy_config_core_v3_HeaderValue* ret = envoy_config_core_v3_HeaderValue_new(arena);
|
|
1875
2103
|
if (!ret) return NULL;
|
|
1876
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__HeaderValue_msg_init, extreg,
|
|
1877
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
2104
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__HeaderValue_msg_init, extreg,
|
|
2105
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1878
2106
|
return NULL;
|
|
1879
2107
|
}
|
|
1880
2108
|
return ret;
|
|
1881
2109
|
}
|
|
1882
|
-
UPB_INLINE char* envoy_config_core_v3_HeaderValue_serialize(const envoy_config_core_v3_HeaderValue* msg,
|
|
2110
|
+
UPB_INLINE char* envoy_config_core_v3_HeaderValue_serialize(const envoy_config_core_v3_HeaderValue* msg,
|
|
2111
|
+
upb_Arena* arena, size_t* len) {
|
|
1883
2112
|
char* ptr;
|
|
1884
2113
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__HeaderValue_msg_init, 0, arena, &ptr, len);
|
|
1885
2114
|
return ptr;
|
|
1886
2115
|
}
|
|
1887
|
-
UPB_INLINE char* envoy_config_core_v3_HeaderValue_serialize_ex(const envoy_config_core_v3_HeaderValue* msg,
|
|
1888
|
-
|
|
2116
|
+
UPB_INLINE char* envoy_config_core_v3_HeaderValue_serialize_ex(const envoy_config_core_v3_HeaderValue* msg,
|
|
2117
|
+
int options, upb_Arena* arena,
|
|
2118
|
+
size_t* len) {
|
|
1889
2119
|
char* ptr;
|
|
1890
2120
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__HeaderValue_msg_init, options, arena, &ptr, len);
|
|
1891
2121
|
return ptr;
|
|
@@ -1927,87 +2157,89 @@ UPB_INLINE upb_StringView envoy_config_core_v3_HeaderValue_raw_value(const envoy
|
|
|
1927
2157
|
return ret;
|
|
1928
2158
|
}
|
|
1929
2159
|
|
|
1930
|
-
UPB_INLINE void envoy_config_core_v3_HeaderValue_set_key(envoy_config_core_v3_HeaderValue
|
|
2160
|
+
UPB_INLINE void envoy_config_core_v3_HeaderValue_set_key(envoy_config_core_v3_HeaderValue* msg, upb_StringView value) {
|
|
1931
2161
|
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1932
|
-
upb_Message_SetBaseField((upb_Message
|
|
2162
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1933
2163
|
}
|
|
1934
|
-
UPB_INLINE void envoy_config_core_v3_HeaderValue_set_value(envoy_config_core_v3_HeaderValue
|
|
2164
|
+
UPB_INLINE void envoy_config_core_v3_HeaderValue_set_value(envoy_config_core_v3_HeaderValue* msg, upb_StringView value) {
|
|
1935
2165
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1936
|
-
upb_Message_SetBaseField((upb_Message
|
|
2166
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1937
2167
|
}
|
|
1938
|
-
UPB_INLINE void envoy_config_core_v3_HeaderValue_set_raw_value(envoy_config_core_v3_HeaderValue
|
|
2168
|
+
UPB_INLINE void envoy_config_core_v3_HeaderValue_set_raw_value(envoy_config_core_v3_HeaderValue* msg, upb_StringView value) {
|
|
1939
2169
|
const upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1940
|
-
upb_Message_SetBaseField((upb_Message
|
|
2170
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1941
2171
|
}
|
|
1942
2172
|
|
|
1943
2173
|
/* envoy.config.core.v3.HeaderValueOption */
|
|
1944
|
-
|
|
1945
2174
|
UPB_INLINE envoy_config_core_v3_HeaderValueOption* envoy_config_core_v3_HeaderValueOption_new(upb_Arena* arena) {
|
|
1946
2175
|
return (envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy__config__core__v3__HeaderValueOption_msg_init, arena);
|
|
1947
2176
|
}
|
|
1948
|
-
UPB_INLINE envoy_config_core_v3_HeaderValueOption* envoy_config_core_v3_HeaderValueOption_parse(const char* buf, size_t size,
|
|
2177
|
+
UPB_INLINE envoy_config_core_v3_HeaderValueOption* envoy_config_core_v3_HeaderValueOption_parse(const char* buf, size_t size,
|
|
2178
|
+
upb_Arena* arena) {
|
|
1949
2179
|
envoy_config_core_v3_HeaderValueOption* ret = envoy_config_core_v3_HeaderValueOption_new(arena);
|
|
1950
2180
|
if (!ret) return NULL;
|
|
1951
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__HeaderValueOption_msg_init, NULL, 0,
|
|
1952
|
-
|
|
2181
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__HeaderValueOption_msg_init, NULL, 0,
|
|
2182
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1953
2183
|
return NULL;
|
|
1954
2184
|
}
|
|
1955
2185
|
return ret;
|
|
1956
2186
|
}
|
|
1957
|
-
UPB_INLINE envoy_config_core_v3_HeaderValueOption* envoy_config_core_v3_HeaderValueOption_parse_ex(
|
|
1958
|
-
|
|
1959
|
-
|
|
2187
|
+
UPB_INLINE envoy_config_core_v3_HeaderValueOption* envoy_config_core_v3_HeaderValueOption_parse_ex(
|
|
2188
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
2189
|
+
int options, upb_Arena* arena) {
|
|
1960
2190
|
envoy_config_core_v3_HeaderValueOption* ret = envoy_config_core_v3_HeaderValueOption_new(arena);
|
|
1961
2191
|
if (!ret) return NULL;
|
|
1962
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__HeaderValueOption_msg_init, extreg,
|
|
1963
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
2192
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__HeaderValueOption_msg_init, extreg,
|
|
2193
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1964
2194
|
return NULL;
|
|
1965
2195
|
}
|
|
1966
2196
|
return ret;
|
|
1967
2197
|
}
|
|
1968
|
-
UPB_INLINE char* envoy_config_core_v3_HeaderValueOption_serialize(const envoy_config_core_v3_HeaderValueOption* msg,
|
|
2198
|
+
UPB_INLINE char* envoy_config_core_v3_HeaderValueOption_serialize(const envoy_config_core_v3_HeaderValueOption* msg,
|
|
2199
|
+
upb_Arena* arena, size_t* len) {
|
|
1969
2200
|
char* ptr;
|
|
1970
2201
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__HeaderValueOption_msg_init, 0, arena, &ptr, len);
|
|
1971
2202
|
return ptr;
|
|
1972
2203
|
}
|
|
1973
|
-
UPB_INLINE char* envoy_config_core_v3_HeaderValueOption_serialize_ex(const envoy_config_core_v3_HeaderValueOption* msg,
|
|
1974
|
-
|
|
2204
|
+
UPB_INLINE char* envoy_config_core_v3_HeaderValueOption_serialize_ex(const envoy_config_core_v3_HeaderValueOption* msg,
|
|
2205
|
+
int options, upb_Arena* arena,
|
|
2206
|
+
size_t* len) {
|
|
1975
2207
|
char* ptr;
|
|
1976
2208
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__HeaderValueOption_msg_init, options, arena, &ptr, len);
|
|
1977
2209
|
return ptr;
|
|
1978
2210
|
}
|
|
1979
2211
|
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_clear_header(envoy_config_core_v3_HeaderValueOption* msg) {
|
|
1980
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
2212
|
+
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)};
|
|
1981
2213
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1982
2214
|
}
|
|
1983
2215
|
UPB_INLINE const envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValueOption_header(const envoy_config_core_v3_HeaderValueOption* msg) {
|
|
1984
2216
|
const envoy_config_core_v3_HeaderValue* default_val = NULL;
|
|
1985
2217
|
const envoy_config_core_v3_HeaderValue* ret;
|
|
1986
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
2218
|
+
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)};
|
|
1987
2219
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__HeaderValue_msg_init);
|
|
1988
2220
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1989
2221
|
&default_val, &ret);
|
|
1990
2222
|
return ret;
|
|
1991
2223
|
}
|
|
1992
2224
|
UPB_INLINE bool envoy_config_core_v3_HeaderValueOption_has_header(const envoy_config_core_v3_HeaderValueOption* msg) {
|
|
1993
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
2225
|
+
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)};
|
|
1994
2226
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1995
2227
|
}
|
|
1996
2228
|
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_clear_append(envoy_config_core_v3_HeaderValueOption* msg) {
|
|
1997
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65,
|
|
2229
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1998
2230
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1999
2231
|
}
|
|
2000
2232
|
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_core_v3_HeaderValueOption_append(const envoy_config_core_v3_HeaderValueOption* msg) {
|
|
2001
2233
|
const struct google_protobuf_BoolValue* default_val = NULL;
|
|
2002
2234
|
const struct google_protobuf_BoolValue* ret;
|
|
2003
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65,
|
|
2235
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2004
2236
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__BoolValue_msg_init);
|
|
2005
2237
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
2006
2238
|
&default_val, &ret);
|
|
2007
2239
|
return ret;
|
|
2008
2240
|
}
|
|
2009
2241
|
UPB_INLINE bool envoy_config_core_v3_HeaderValueOption_has_append(const envoy_config_core_v3_HeaderValueOption* msg) {
|
|
2010
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65,
|
|
2242
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2011
2243
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
2012
2244
|
}
|
|
2013
2245
|
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_clear_append_action(envoy_config_core_v3_HeaderValueOption* msg) {
|
|
@@ -2035,12 +2267,13 @@ UPB_INLINE bool envoy_config_core_v3_HeaderValueOption_keep_empty_value(const en
|
|
|
2035
2267
|
return ret;
|
|
2036
2268
|
}
|
|
2037
2269
|
|
|
2038
|
-
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_header(envoy_config_core_v3_HeaderValueOption
|
|
2039
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
2270
|
+
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_header(envoy_config_core_v3_HeaderValueOption* msg, envoy_config_core_v3_HeaderValue* value) {
|
|
2271
|
+
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)};
|
|
2040
2272
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__HeaderValue_msg_init);
|
|
2041
|
-
upb_Message_SetBaseField((upb_Message
|
|
2273
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2042
2274
|
}
|
|
2043
|
-
UPB_INLINE struct envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValueOption_mutable_header(
|
|
2275
|
+
UPB_INLINE struct envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValueOption_mutable_header(
|
|
2276
|
+
envoy_config_core_v3_HeaderValueOption* msg, upb_Arena* arena) {
|
|
2044
2277
|
struct envoy_config_core_v3_HeaderValue* sub = (struct envoy_config_core_v3_HeaderValue*)envoy_config_core_v3_HeaderValueOption_header(msg);
|
|
2045
2278
|
if (sub == NULL) {
|
|
2046
2279
|
sub = (struct envoy_config_core_v3_HeaderValue*)_upb_Message_New(&envoy__config__core__v3__HeaderValue_msg_init, arena);
|
|
@@ -2048,12 +2281,13 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderV
|
|
|
2048
2281
|
}
|
|
2049
2282
|
return sub;
|
|
2050
2283
|
}
|
|
2051
|
-
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_append(envoy_config_core_v3_HeaderValueOption
|
|
2052
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65,
|
|
2284
|
+
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_append(envoy_config_core_v3_HeaderValueOption* msg, struct google_protobuf_BoolValue* value) {
|
|
2285
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2053
2286
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__BoolValue_msg_init);
|
|
2054
|
-
upb_Message_SetBaseField((upb_Message
|
|
2287
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2055
2288
|
}
|
|
2056
|
-
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_HeaderValueOption_mutable_append(
|
|
2289
|
+
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_HeaderValueOption_mutable_append(
|
|
2290
|
+
envoy_config_core_v3_HeaderValueOption* msg, upb_Arena* arena) {
|
|
2057
2291
|
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_HeaderValueOption_append(msg);
|
|
2058
2292
|
if (sub == NULL) {
|
|
2059
2293
|
sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena);
|
|
@@ -2061,57 +2295,60 @@ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_HeaderValueOpt
|
|
|
2061
2295
|
}
|
|
2062
2296
|
return sub;
|
|
2063
2297
|
}
|
|
2064
|
-
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_append_action(envoy_config_core_v3_HeaderValueOption
|
|
2298
|
+
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_append_action(envoy_config_core_v3_HeaderValueOption* msg, int32_t value) {
|
|
2065
2299
|
const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
2066
|
-
upb_Message_SetBaseField((upb_Message
|
|
2300
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2067
2301
|
}
|
|
2068
|
-
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_keep_empty_value(envoy_config_core_v3_HeaderValueOption
|
|
2302
|
+
UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_keep_empty_value(envoy_config_core_v3_HeaderValueOption* msg, bool value) {
|
|
2069
2303
|
const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
|
2070
|
-
upb_Message_SetBaseField((upb_Message
|
|
2304
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2071
2305
|
}
|
|
2072
2306
|
|
|
2073
2307
|
/* envoy.config.core.v3.HeaderMap */
|
|
2074
|
-
|
|
2075
2308
|
UPB_INLINE envoy_config_core_v3_HeaderMap* envoy_config_core_v3_HeaderMap_new(upb_Arena* arena) {
|
|
2076
2309
|
return (envoy_config_core_v3_HeaderMap*)_upb_Message_New(&envoy__config__core__v3__HeaderMap_msg_init, arena);
|
|
2077
2310
|
}
|
|
2078
|
-
UPB_INLINE envoy_config_core_v3_HeaderMap* envoy_config_core_v3_HeaderMap_parse(const char* buf, size_t size,
|
|
2311
|
+
UPB_INLINE envoy_config_core_v3_HeaderMap* envoy_config_core_v3_HeaderMap_parse(const char* buf, size_t size,
|
|
2312
|
+
upb_Arena* arena) {
|
|
2079
2313
|
envoy_config_core_v3_HeaderMap* ret = envoy_config_core_v3_HeaderMap_new(arena);
|
|
2080
2314
|
if (!ret) return NULL;
|
|
2081
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__HeaderMap_msg_init, NULL, 0,
|
|
2082
|
-
|
|
2315
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__HeaderMap_msg_init, NULL, 0,
|
|
2316
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
2083
2317
|
return NULL;
|
|
2084
2318
|
}
|
|
2085
2319
|
return ret;
|
|
2086
2320
|
}
|
|
2087
|
-
UPB_INLINE envoy_config_core_v3_HeaderMap* envoy_config_core_v3_HeaderMap_parse_ex(
|
|
2088
|
-
|
|
2089
|
-
|
|
2321
|
+
UPB_INLINE envoy_config_core_v3_HeaderMap* envoy_config_core_v3_HeaderMap_parse_ex(
|
|
2322
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
2323
|
+
int options, upb_Arena* arena) {
|
|
2090
2324
|
envoy_config_core_v3_HeaderMap* ret = envoy_config_core_v3_HeaderMap_new(arena);
|
|
2091
2325
|
if (!ret) return NULL;
|
|
2092
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__HeaderMap_msg_init, extreg,
|
|
2093
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
2326
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__HeaderMap_msg_init, extreg,
|
|
2327
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
2094
2328
|
return NULL;
|
|
2095
2329
|
}
|
|
2096
2330
|
return ret;
|
|
2097
2331
|
}
|
|
2098
|
-
UPB_INLINE char* envoy_config_core_v3_HeaderMap_serialize(const envoy_config_core_v3_HeaderMap* msg,
|
|
2332
|
+
UPB_INLINE char* envoy_config_core_v3_HeaderMap_serialize(const envoy_config_core_v3_HeaderMap* msg,
|
|
2333
|
+
upb_Arena* arena, size_t* len) {
|
|
2099
2334
|
char* ptr;
|
|
2100
2335
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__HeaderMap_msg_init, 0, arena, &ptr, len);
|
|
2101
2336
|
return ptr;
|
|
2102
2337
|
}
|
|
2103
|
-
UPB_INLINE char* envoy_config_core_v3_HeaderMap_serialize_ex(const envoy_config_core_v3_HeaderMap* msg,
|
|
2104
|
-
|
|
2338
|
+
UPB_INLINE char* envoy_config_core_v3_HeaderMap_serialize_ex(const envoy_config_core_v3_HeaderMap* msg,
|
|
2339
|
+
int options, upb_Arena* arena,
|
|
2340
|
+
size_t* len) {
|
|
2105
2341
|
char* ptr;
|
|
2106
2342
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__HeaderMap_msg_init, options, arena, &ptr, len);
|
|
2107
2343
|
return ptr;
|
|
2108
2344
|
}
|
|
2109
2345
|
UPB_INLINE void envoy_config_core_v3_HeaderMap_clear_headers(envoy_config_core_v3_HeaderMap* msg) {
|
|
2110
|
-
const upb_MiniTableField field = {1, 8, 0,
|
|
2346
|
+
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)};
|
|
2111
2347
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
2112
2348
|
}
|
|
2113
|
-
UPB_INLINE const envoy_config_core_v3_HeaderValue* const* envoy_config_core_v3_HeaderMap_headers(const envoy_config_core_v3_HeaderMap* msg,
|
|
2114
|
-
|
|
2349
|
+
UPB_INLINE const envoy_config_core_v3_HeaderValue* const* envoy_config_core_v3_HeaderMap_headers(const envoy_config_core_v3_HeaderMap* msg,
|
|
2350
|
+
size_t* size) {
|
|
2351
|
+
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)};
|
|
2115
2352
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__HeaderValue_msg_init);
|
|
2116
2353
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
2117
2354
|
if (arr) {
|
|
@@ -2122,8 +2359,11 @@ UPB_INLINE const envoy_config_core_v3_HeaderValue* const* envoy_config_core_v3_H
|
|
|
2122
2359
|
return NULL;
|
|
2123
2360
|
}
|
|
2124
2361
|
}
|
|
2125
|
-
|
|
2126
|
-
|
|
2362
|
+
|
|
2363
|
+
//
|
|
2364
|
+
UPB_INLINE const upb_Array* _envoy_config_core_v3_HeaderMap_headers_upb_array(
|
|
2365
|
+
const envoy_config_core_v3_HeaderMap* msg, size_t* size) {
|
|
2366
|
+
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)};
|
|
2127
2367
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__HeaderValue_msg_init);
|
|
2128
2368
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
2129
2369
|
if (size) {
|
|
@@ -2131,8 +2371,10 @@ UPB_INLINE const upb_Array* _envoy_config_core_v3_HeaderMap_headers_upb_array(co
|
|
|
2131
2371
|
}
|
|
2132
2372
|
return arr;
|
|
2133
2373
|
}
|
|
2134
|
-
|
|
2135
|
-
|
|
2374
|
+
|
|
2375
|
+
UPB_INLINE upb_Array* _envoy_config_core_v3_HeaderMap_headers_mutable_upb_array(
|
|
2376
|
+
envoy_config_core_v3_HeaderMap* msg, size_t* size, upb_Arena* arena) {
|
|
2377
|
+
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)};
|
|
2136
2378
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__HeaderValue_msg_init);
|
|
2137
2379
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
2138
2380
|
&field, arena);
|
|
@@ -2142,8 +2384,9 @@ UPB_INLINE upb_Array* _envoy_config_core_v3_HeaderMap_headers_mutable_upb_array(
|
|
|
2142
2384
|
return arr;
|
|
2143
2385
|
}
|
|
2144
2386
|
|
|
2145
|
-
UPB_INLINE envoy_config_core_v3_HeaderValue** envoy_config_core_v3_HeaderMap_mutable_headers(envoy_config_core_v3_HeaderMap* msg,
|
|
2146
|
-
|
|
2387
|
+
UPB_INLINE envoy_config_core_v3_HeaderValue** envoy_config_core_v3_HeaderMap_mutable_headers(envoy_config_core_v3_HeaderMap* msg,
|
|
2388
|
+
size_t* size) {
|
|
2389
|
+
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)};
|
|
2147
2390
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__HeaderValue_msg_init);
|
|
2148
2391
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
2149
2392
|
if (arr) {
|
|
@@ -2154,13 +2397,18 @@ UPB_INLINE envoy_config_core_v3_HeaderValue** envoy_config_core_v3_HeaderMap_mut
|
|
|
2154
2397
|
return NULL;
|
|
2155
2398
|
}
|
|
2156
2399
|
}
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2400
|
+
|
|
2401
|
+
UPB_INLINE envoy_config_core_v3_HeaderValue** envoy_config_core_v3_HeaderMap_resize_headers(envoy_config_core_v3_HeaderMap* msg,
|
|
2402
|
+
size_t size,
|
|
2403
|
+
upb_Arena* arena) {
|
|
2404
|
+
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)};
|
|
2405
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__HeaderValue_msg_init);
|
|
2406
|
+
return (envoy_config_core_v3_HeaderValue**)upb_Message_ResizeArrayUninitialized(
|
|
2407
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
2161
2408
|
}
|
|
2162
|
-
UPB_INLINE struct envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderMap_add_headers(
|
|
2163
|
-
|
|
2409
|
+
UPB_INLINE struct envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderMap_add_headers(
|
|
2410
|
+
envoy_config_core_v3_HeaderMap* msg, upb_Arena* arena) {
|
|
2411
|
+
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)};
|
|
2164
2412
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__HeaderValue_msg_init);
|
|
2165
2413
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
2166
2414
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -2168,7 +2416,8 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderM
|
|
|
2168
2416
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
2169
2417
|
return NULL;
|
|
2170
2418
|
}
|
|
2171
|
-
struct envoy_config_core_v3_HeaderValue* sub =
|
|
2419
|
+
struct envoy_config_core_v3_HeaderValue* sub =
|
|
2420
|
+
(struct envoy_config_core_v3_HeaderValue*)_upb_Message_New(&envoy__config__core__v3__HeaderValue_msg_init, arena);
|
|
2172
2421
|
if (!arr || !sub) return NULL;
|
|
2173
2422
|
UPB_PRIVATE(_upb_Array_Set)
|
|
2174
2423
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
@@ -2176,37 +2425,39 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderM
|
|
|
2176
2425
|
}
|
|
2177
2426
|
|
|
2178
2427
|
/* envoy.config.core.v3.WatchedDirectory */
|
|
2179
|
-
|
|
2180
2428
|
UPB_INLINE envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_WatchedDirectory_new(upb_Arena* arena) {
|
|
2181
2429
|
return (envoy_config_core_v3_WatchedDirectory*)_upb_Message_New(&envoy__config__core__v3__WatchedDirectory_msg_init, arena);
|
|
2182
2430
|
}
|
|
2183
|
-
UPB_INLINE envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_WatchedDirectory_parse(const char* buf, size_t size,
|
|
2431
|
+
UPB_INLINE envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_WatchedDirectory_parse(const char* buf, size_t size,
|
|
2432
|
+
upb_Arena* arena) {
|
|
2184
2433
|
envoy_config_core_v3_WatchedDirectory* ret = envoy_config_core_v3_WatchedDirectory_new(arena);
|
|
2185
2434
|
if (!ret) return NULL;
|
|
2186
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__WatchedDirectory_msg_init, NULL, 0,
|
|
2187
|
-
|
|
2435
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__WatchedDirectory_msg_init, NULL, 0,
|
|
2436
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
2188
2437
|
return NULL;
|
|
2189
2438
|
}
|
|
2190
2439
|
return ret;
|
|
2191
2440
|
}
|
|
2192
|
-
UPB_INLINE envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_WatchedDirectory_parse_ex(
|
|
2193
|
-
|
|
2194
|
-
|
|
2441
|
+
UPB_INLINE envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_WatchedDirectory_parse_ex(
|
|
2442
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
2443
|
+
int options, upb_Arena* arena) {
|
|
2195
2444
|
envoy_config_core_v3_WatchedDirectory* ret = envoy_config_core_v3_WatchedDirectory_new(arena);
|
|
2196
2445
|
if (!ret) return NULL;
|
|
2197
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__WatchedDirectory_msg_init, extreg,
|
|
2198
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
2446
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__WatchedDirectory_msg_init, extreg,
|
|
2447
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
2199
2448
|
return NULL;
|
|
2200
2449
|
}
|
|
2201
2450
|
return ret;
|
|
2202
2451
|
}
|
|
2203
|
-
UPB_INLINE char* envoy_config_core_v3_WatchedDirectory_serialize(const envoy_config_core_v3_WatchedDirectory* msg,
|
|
2452
|
+
UPB_INLINE char* envoy_config_core_v3_WatchedDirectory_serialize(const envoy_config_core_v3_WatchedDirectory* msg,
|
|
2453
|
+
upb_Arena* arena, size_t* len) {
|
|
2204
2454
|
char* ptr;
|
|
2205
2455
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__WatchedDirectory_msg_init, 0, arena, &ptr, len);
|
|
2206
2456
|
return ptr;
|
|
2207
2457
|
}
|
|
2208
|
-
UPB_INLINE char* envoy_config_core_v3_WatchedDirectory_serialize_ex(const envoy_config_core_v3_WatchedDirectory* msg,
|
|
2209
|
-
|
|
2458
|
+
UPB_INLINE char* envoy_config_core_v3_WatchedDirectory_serialize_ex(const envoy_config_core_v3_WatchedDirectory* msg,
|
|
2459
|
+
int options, upb_Arena* arena,
|
|
2460
|
+
size_t* len) {
|
|
2210
2461
|
char* ptr;
|
|
2211
2462
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__WatchedDirectory_msg_init, options, arena, &ptr, len);
|
|
2212
2463
|
return ptr;
|
|
@@ -2224,43 +2475,45 @@ UPB_INLINE upb_StringView envoy_config_core_v3_WatchedDirectory_path(const envoy
|
|
|
2224
2475
|
return ret;
|
|
2225
2476
|
}
|
|
2226
2477
|
|
|
2227
|
-
UPB_INLINE void envoy_config_core_v3_WatchedDirectory_set_path(envoy_config_core_v3_WatchedDirectory
|
|
2478
|
+
UPB_INLINE void envoy_config_core_v3_WatchedDirectory_set_path(envoy_config_core_v3_WatchedDirectory* msg, upb_StringView value) {
|
|
2228
2479
|
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
2229
|
-
upb_Message_SetBaseField((upb_Message
|
|
2480
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2230
2481
|
}
|
|
2231
2482
|
|
|
2232
2483
|
/* envoy.config.core.v3.DataSource */
|
|
2233
|
-
|
|
2234
2484
|
UPB_INLINE envoy_config_core_v3_DataSource* envoy_config_core_v3_DataSource_new(upb_Arena* arena) {
|
|
2235
2485
|
return (envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena);
|
|
2236
2486
|
}
|
|
2237
|
-
UPB_INLINE envoy_config_core_v3_DataSource* envoy_config_core_v3_DataSource_parse(const char* buf, size_t size,
|
|
2487
|
+
UPB_INLINE envoy_config_core_v3_DataSource* envoy_config_core_v3_DataSource_parse(const char* buf, size_t size,
|
|
2488
|
+
upb_Arena* arena) {
|
|
2238
2489
|
envoy_config_core_v3_DataSource* ret = envoy_config_core_v3_DataSource_new(arena);
|
|
2239
2490
|
if (!ret) return NULL;
|
|
2240
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__DataSource_msg_init, NULL, 0,
|
|
2241
|
-
|
|
2491
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__DataSource_msg_init, NULL, 0,
|
|
2492
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
2242
2493
|
return NULL;
|
|
2243
2494
|
}
|
|
2244
2495
|
return ret;
|
|
2245
2496
|
}
|
|
2246
|
-
UPB_INLINE envoy_config_core_v3_DataSource* envoy_config_core_v3_DataSource_parse_ex(
|
|
2247
|
-
|
|
2248
|
-
|
|
2497
|
+
UPB_INLINE envoy_config_core_v3_DataSource* envoy_config_core_v3_DataSource_parse_ex(
|
|
2498
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
2499
|
+
int options, upb_Arena* arena) {
|
|
2249
2500
|
envoy_config_core_v3_DataSource* ret = envoy_config_core_v3_DataSource_new(arena);
|
|
2250
2501
|
if (!ret) return NULL;
|
|
2251
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__DataSource_msg_init, extreg,
|
|
2252
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
2502
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__DataSource_msg_init, extreg,
|
|
2503
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
2253
2504
|
return NULL;
|
|
2254
2505
|
}
|
|
2255
2506
|
return ret;
|
|
2256
2507
|
}
|
|
2257
|
-
UPB_INLINE char* envoy_config_core_v3_DataSource_serialize(const envoy_config_core_v3_DataSource* msg,
|
|
2508
|
+
UPB_INLINE char* envoy_config_core_v3_DataSource_serialize(const envoy_config_core_v3_DataSource* msg,
|
|
2509
|
+
upb_Arena* arena, size_t* len) {
|
|
2258
2510
|
char* ptr;
|
|
2259
2511
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__DataSource_msg_init, 0, arena, &ptr, len);
|
|
2260
2512
|
return ptr;
|
|
2261
2513
|
}
|
|
2262
|
-
UPB_INLINE char* envoy_config_core_v3_DataSource_serialize_ex(const envoy_config_core_v3_DataSource* msg,
|
|
2263
|
-
|
|
2514
|
+
UPB_INLINE char* envoy_config_core_v3_DataSource_serialize_ex(const envoy_config_core_v3_DataSource* msg,
|
|
2515
|
+
int options, upb_Arena* arena,
|
|
2516
|
+
size_t* len) {
|
|
2264
2517
|
char* ptr;
|
|
2265
2518
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__DataSource_msg_init, options, arena, &ptr, len);
|
|
2266
2519
|
return ptr;
|
|
@@ -2272,7 +2525,9 @@ typedef enum {
|
|
|
2272
2525
|
envoy_config_core_v3_DataSource_specifier_environment_variable = 4,
|
|
2273
2526
|
envoy_config_core_v3_DataSource_specifier_NOT_SET = 0
|
|
2274
2527
|
} envoy_config_core_v3_DataSource_specifier_oneofcases;
|
|
2275
|
-
|
|
2528
|
+
|
|
2529
|
+
UPB_INLINE envoy_config_core_v3_DataSource_specifier_oneofcases
|
|
2530
|
+
envoy_config_core_v3_DataSource_specifier_case(const envoy_config_core_v3_DataSource* msg) {
|
|
2276
2531
|
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), UPB_SIZE(-17, -13), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
2277
2532
|
return (envoy_config_core_v3_DataSource_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
2278
2533
|
UPB_UPCAST(msg), &field);
|
|
@@ -2346,45 +2601,46 @@ UPB_INLINE bool envoy_config_core_v3_DataSource_has_environment_variable(const e
|
|
|
2346
2601
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
2347
2602
|
}
|
|
2348
2603
|
UPB_INLINE void envoy_config_core_v3_DataSource_clear_watched_directory(envoy_config_core_v3_DataSource* msg) {
|
|
2349
|
-
const upb_MiniTableField field = {5, UPB_SIZE(12, 32), 64,
|
|
2604
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 32), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2350
2605
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
2351
2606
|
}
|
|
2352
2607
|
UPB_INLINE const envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_DataSource_watched_directory(const envoy_config_core_v3_DataSource* msg) {
|
|
2353
2608
|
const envoy_config_core_v3_WatchedDirectory* default_val = NULL;
|
|
2354
2609
|
const envoy_config_core_v3_WatchedDirectory* ret;
|
|
2355
|
-
const upb_MiniTableField field = {5, UPB_SIZE(12, 32), 64,
|
|
2610
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 32), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2356
2611
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__WatchedDirectory_msg_init);
|
|
2357
2612
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
2358
2613
|
&default_val, &ret);
|
|
2359
2614
|
return ret;
|
|
2360
2615
|
}
|
|
2361
2616
|
UPB_INLINE bool envoy_config_core_v3_DataSource_has_watched_directory(const envoy_config_core_v3_DataSource* msg) {
|
|
2362
|
-
const upb_MiniTableField field = {5, UPB_SIZE(12, 32), 64,
|
|
2617
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 32), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2363
2618
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
2364
2619
|
}
|
|
2365
2620
|
|
|
2366
|
-
UPB_INLINE void envoy_config_core_v3_DataSource_set_filename(envoy_config_core_v3_DataSource
|
|
2621
|
+
UPB_INLINE void envoy_config_core_v3_DataSource_set_filename(envoy_config_core_v3_DataSource* msg, upb_StringView value) {
|
|
2367
2622
|
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), UPB_SIZE(-17, -13), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
2368
|
-
upb_Message_SetBaseField((upb_Message
|
|
2623
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2369
2624
|
}
|
|
2370
|
-
UPB_INLINE void envoy_config_core_v3_DataSource_set_inline_bytes(envoy_config_core_v3_DataSource
|
|
2625
|
+
UPB_INLINE void envoy_config_core_v3_DataSource_set_inline_bytes(envoy_config_core_v3_DataSource* msg, upb_StringView value) {
|
|
2371
2626
|
const upb_MiniTableField field = {2, UPB_SIZE(20, 16), UPB_SIZE(-17, -13), kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
2372
|
-
upb_Message_SetBaseField((upb_Message
|
|
2627
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2373
2628
|
}
|
|
2374
|
-
UPB_INLINE void envoy_config_core_v3_DataSource_set_inline_string(envoy_config_core_v3_DataSource
|
|
2629
|
+
UPB_INLINE void envoy_config_core_v3_DataSource_set_inline_string(envoy_config_core_v3_DataSource* msg, upb_StringView value) {
|
|
2375
2630
|
const upb_MiniTableField field = {3, UPB_SIZE(20, 16), UPB_SIZE(-17, -13), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
2376
|
-
upb_Message_SetBaseField((upb_Message
|
|
2631
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2377
2632
|
}
|
|
2378
|
-
UPB_INLINE void envoy_config_core_v3_DataSource_set_environment_variable(envoy_config_core_v3_DataSource
|
|
2633
|
+
UPB_INLINE void envoy_config_core_v3_DataSource_set_environment_variable(envoy_config_core_v3_DataSource* msg, upb_StringView value) {
|
|
2379
2634
|
const upb_MiniTableField field = {4, UPB_SIZE(20, 16), UPB_SIZE(-17, -13), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
2380
|
-
upb_Message_SetBaseField((upb_Message
|
|
2635
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2381
2636
|
}
|
|
2382
|
-
UPB_INLINE void envoy_config_core_v3_DataSource_set_watched_directory(envoy_config_core_v3_DataSource
|
|
2383
|
-
const upb_MiniTableField field = {5, UPB_SIZE(12, 32), 64,
|
|
2637
|
+
UPB_INLINE void envoy_config_core_v3_DataSource_set_watched_directory(envoy_config_core_v3_DataSource* msg, envoy_config_core_v3_WatchedDirectory* value) {
|
|
2638
|
+
const upb_MiniTableField field = {5, UPB_SIZE(12, 32), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2384
2639
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__WatchedDirectory_msg_init);
|
|
2385
|
-
upb_Message_SetBaseField((upb_Message
|
|
2640
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2386
2641
|
}
|
|
2387
|
-
UPB_INLINE struct envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_DataSource_mutable_watched_directory(
|
|
2642
|
+
UPB_INLINE struct envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_DataSource_mutable_watched_directory(
|
|
2643
|
+
envoy_config_core_v3_DataSource* msg, upb_Arena* arena) {
|
|
2388
2644
|
struct envoy_config_core_v3_WatchedDirectory* sub = (struct envoy_config_core_v3_WatchedDirectory*)envoy_config_core_v3_DataSource_watched_directory(msg);
|
|
2389
2645
|
if (sub == NULL) {
|
|
2390
2646
|
sub = (struct envoy_config_core_v3_WatchedDirectory*)_upb_Message_New(&envoy__config__core__v3__WatchedDirectory_msg_init, arena);
|
|
@@ -2394,73 +2650,75 @@ UPB_INLINE struct envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_Da
|
|
|
2394
2650
|
}
|
|
2395
2651
|
|
|
2396
2652
|
/* envoy.config.core.v3.RetryPolicy */
|
|
2397
|
-
|
|
2398
2653
|
UPB_INLINE envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RetryPolicy_new(upb_Arena* arena) {
|
|
2399
2654
|
return (envoy_config_core_v3_RetryPolicy*)_upb_Message_New(&envoy__config__core__v3__RetryPolicy_msg_init, arena);
|
|
2400
2655
|
}
|
|
2401
|
-
UPB_INLINE envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RetryPolicy_parse(const char* buf, size_t size,
|
|
2656
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RetryPolicy_parse(const char* buf, size_t size,
|
|
2657
|
+
upb_Arena* arena) {
|
|
2402
2658
|
envoy_config_core_v3_RetryPolicy* ret = envoy_config_core_v3_RetryPolicy_new(arena);
|
|
2403
2659
|
if (!ret) return NULL;
|
|
2404
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RetryPolicy_msg_init, NULL, 0,
|
|
2405
|
-
|
|
2660
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RetryPolicy_msg_init, NULL, 0,
|
|
2661
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
2406
2662
|
return NULL;
|
|
2407
2663
|
}
|
|
2408
2664
|
return ret;
|
|
2409
2665
|
}
|
|
2410
|
-
UPB_INLINE envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RetryPolicy_parse_ex(
|
|
2411
|
-
|
|
2412
|
-
|
|
2666
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RetryPolicy_parse_ex(
|
|
2667
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
2668
|
+
int options, upb_Arena* arena) {
|
|
2413
2669
|
envoy_config_core_v3_RetryPolicy* ret = envoy_config_core_v3_RetryPolicy_new(arena);
|
|
2414
2670
|
if (!ret) return NULL;
|
|
2415
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RetryPolicy_msg_init, extreg,
|
|
2416
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
2671
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RetryPolicy_msg_init, extreg,
|
|
2672
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
2417
2673
|
return NULL;
|
|
2418
2674
|
}
|
|
2419
2675
|
return ret;
|
|
2420
2676
|
}
|
|
2421
|
-
UPB_INLINE char* envoy_config_core_v3_RetryPolicy_serialize(const envoy_config_core_v3_RetryPolicy* msg,
|
|
2677
|
+
UPB_INLINE char* envoy_config_core_v3_RetryPolicy_serialize(const envoy_config_core_v3_RetryPolicy* msg,
|
|
2678
|
+
upb_Arena* arena, size_t* len) {
|
|
2422
2679
|
char* ptr;
|
|
2423
2680
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RetryPolicy_msg_init, 0, arena, &ptr, len);
|
|
2424
2681
|
return ptr;
|
|
2425
2682
|
}
|
|
2426
|
-
UPB_INLINE char* envoy_config_core_v3_RetryPolicy_serialize_ex(const envoy_config_core_v3_RetryPolicy* msg,
|
|
2427
|
-
|
|
2683
|
+
UPB_INLINE char* envoy_config_core_v3_RetryPolicy_serialize_ex(const envoy_config_core_v3_RetryPolicy* msg,
|
|
2684
|
+
int options, upb_Arena* arena,
|
|
2685
|
+
size_t* len) {
|
|
2428
2686
|
char* ptr;
|
|
2429
2687
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RetryPolicy_msg_init, options, arena, &ptr, len);
|
|
2430
2688
|
return ptr;
|
|
2431
2689
|
}
|
|
2432
2690
|
UPB_INLINE void envoy_config_core_v3_RetryPolicy_clear_retry_back_off(envoy_config_core_v3_RetryPolicy* msg) {
|
|
2433
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
2691
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2434
2692
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
2435
2693
|
}
|
|
2436
2694
|
UPB_INLINE const struct envoy_config_core_v3_BackoffStrategy* envoy_config_core_v3_RetryPolicy_retry_back_off(const envoy_config_core_v3_RetryPolicy* msg) {
|
|
2437
2695
|
const struct envoy_config_core_v3_BackoffStrategy* default_val = NULL;
|
|
2438
2696
|
const struct envoy_config_core_v3_BackoffStrategy* ret;
|
|
2439
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
2697
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2440
2698
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__BackoffStrategy_msg_init);
|
|
2441
2699
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
2442
2700
|
&default_val, &ret);
|
|
2443
2701
|
return ret;
|
|
2444
2702
|
}
|
|
2445
2703
|
UPB_INLINE bool envoy_config_core_v3_RetryPolicy_has_retry_back_off(const envoy_config_core_v3_RetryPolicy* msg) {
|
|
2446
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
2704
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2447
2705
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
2448
2706
|
}
|
|
2449
2707
|
UPB_INLINE void envoy_config_core_v3_RetryPolicy_clear_num_retries(envoy_config_core_v3_RetryPolicy* msg) {
|
|
2450
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65,
|
|
2708
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2451
2709
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
2452
2710
|
}
|
|
2453
2711
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_RetryPolicy_num_retries(const envoy_config_core_v3_RetryPolicy* msg) {
|
|
2454
2712
|
const struct google_protobuf_UInt32Value* default_val = NULL;
|
|
2455
2713
|
const struct google_protobuf_UInt32Value* ret;
|
|
2456
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65,
|
|
2714
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2457
2715
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UInt32Value_msg_init);
|
|
2458
2716
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
2459
2717
|
&default_val, &ret);
|
|
2460
2718
|
return ret;
|
|
2461
2719
|
}
|
|
2462
2720
|
UPB_INLINE bool envoy_config_core_v3_RetryPolicy_has_num_retries(const envoy_config_core_v3_RetryPolicy* msg) {
|
|
2463
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65,
|
|
2721
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2464
2722
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
2465
2723
|
}
|
|
2466
2724
|
UPB_INLINE void envoy_config_core_v3_RetryPolicy_clear_retry_on(envoy_config_core_v3_RetryPolicy* msg) {
|
|
@@ -2476,28 +2734,29 @@ UPB_INLINE upb_StringView envoy_config_core_v3_RetryPolicy_retry_on(const envoy_
|
|
|
2476
2734
|
return ret;
|
|
2477
2735
|
}
|
|
2478
2736
|
UPB_INLINE void envoy_config_core_v3_RetryPolicy_clear_retry_priority(envoy_config_core_v3_RetryPolicy* msg) {
|
|
2479
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66,
|
|
2737
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2480
2738
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
2481
2739
|
}
|
|
2482
2740
|
UPB_INLINE const envoy_config_core_v3_RetryPolicy_RetryPriority* envoy_config_core_v3_RetryPolicy_retry_priority(const envoy_config_core_v3_RetryPolicy* msg) {
|
|
2483
2741
|
const envoy_config_core_v3_RetryPolicy_RetryPriority* default_val = NULL;
|
|
2484
2742
|
const envoy_config_core_v3_RetryPolicy_RetryPriority* ret;
|
|
2485
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66,
|
|
2743
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2486
2744
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__RetryPolicy__RetryPriority_msg_init);
|
|
2487
2745
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
2488
2746
|
&default_val, &ret);
|
|
2489
2747
|
return ret;
|
|
2490
2748
|
}
|
|
2491
2749
|
UPB_INLINE bool envoy_config_core_v3_RetryPolicy_has_retry_priority(const envoy_config_core_v3_RetryPolicy* msg) {
|
|
2492
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66,
|
|
2750
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2493
2751
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
2494
2752
|
}
|
|
2495
2753
|
UPB_INLINE void envoy_config_core_v3_RetryPolicy_clear_retry_host_predicate(envoy_config_core_v3_RetryPolicy* msg) {
|
|
2496
|
-
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0,
|
|
2754
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2497
2755
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
2498
2756
|
}
|
|
2499
|
-
UPB_INLINE const envoy_config_core_v3_RetryPolicy_RetryHostPredicate* const* envoy_config_core_v3_RetryPolicy_retry_host_predicate(const envoy_config_core_v3_RetryPolicy* msg,
|
|
2500
|
-
|
|
2757
|
+
UPB_INLINE const envoy_config_core_v3_RetryPolicy_RetryHostPredicate* const* envoy_config_core_v3_RetryPolicy_retry_host_predicate(const envoy_config_core_v3_RetryPolicy* msg,
|
|
2758
|
+
size_t* size) {
|
|
2759
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2501
2760
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init);
|
|
2502
2761
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
2503
2762
|
if (arr) {
|
|
@@ -2508,8 +2767,11 @@ UPB_INLINE const envoy_config_core_v3_RetryPolicy_RetryHostPredicate* const* env
|
|
|
2508
2767
|
return NULL;
|
|
2509
2768
|
}
|
|
2510
2769
|
}
|
|
2511
|
-
|
|
2512
|
-
|
|
2770
|
+
|
|
2771
|
+
//
|
|
2772
|
+
UPB_INLINE const upb_Array* _envoy_config_core_v3_RetryPolicy_retry_host_predicate_upb_array(
|
|
2773
|
+
const envoy_config_core_v3_RetryPolicy* msg, size_t* size) {
|
|
2774
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2513
2775
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init);
|
|
2514
2776
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
2515
2777
|
if (size) {
|
|
@@ -2517,8 +2779,10 @@ UPB_INLINE const upb_Array* _envoy_config_core_v3_RetryPolicy_retry_host_predica
|
|
|
2517
2779
|
}
|
|
2518
2780
|
return arr;
|
|
2519
2781
|
}
|
|
2520
|
-
|
|
2521
|
-
|
|
2782
|
+
|
|
2783
|
+
UPB_INLINE upb_Array* _envoy_config_core_v3_RetryPolicy_retry_host_predicate_mutable_upb_array(
|
|
2784
|
+
envoy_config_core_v3_RetryPolicy* msg, size_t* size, upb_Arena* arena) {
|
|
2785
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2522
2786
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init);
|
|
2523
2787
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
2524
2788
|
&field, arena);
|
|
@@ -2540,12 +2804,13 @@ UPB_INLINE int64_t envoy_config_core_v3_RetryPolicy_host_selection_retry_max_att
|
|
|
2540
2804
|
return ret;
|
|
2541
2805
|
}
|
|
2542
2806
|
|
|
2543
|
-
UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_retry_back_off(envoy_config_core_v3_RetryPolicy
|
|
2544
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
2807
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_retry_back_off(envoy_config_core_v3_RetryPolicy* msg, struct envoy_config_core_v3_BackoffStrategy* value) {
|
|
2808
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2545
2809
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__BackoffStrategy_msg_init);
|
|
2546
|
-
upb_Message_SetBaseField((upb_Message
|
|
2810
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2547
2811
|
}
|
|
2548
|
-
UPB_INLINE struct envoy_config_core_v3_BackoffStrategy* envoy_config_core_v3_RetryPolicy_mutable_retry_back_off(
|
|
2812
|
+
UPB_INLINE struct envoy_config_core_v3_BackoffStrategy* envoy_config_core_v3_RetryPolicy_mutable_retry_back_off(
|
|
2813
|
+
envoy_config_core_v3_RetryPolicy* msg, upb_Arena* arena) {
|
|
2549
2814
|
struct envoy_config_core_v3_BackoffStrategy* sub = (struct envoy_config_core_v3_BackoffStrategy*)envoy_config_core_v3_RetryPolicy_retry_back_off(msg);
|
|
2550
2815
|
if (sub == NULL) {
|
|
2551
2816
|
sub = (struct envoy_config_core_v3_BackoffStrategy*)_upb_Message_New(&envoy__config__core__v3__BackoffStrategy_msg_init, arena);
|
|
@@ -2553,12 +2818,13 @@ UPB_INLINE struct envoy_config_core_v3_BackoffStrategy* envoy_config_core_v3_Ret
|
|
|
2553
2818
|
}
|
|
2554
2819
|
return sub;
|
|
2555
2820
|
}
|
|
2556
|
-
UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_num_retries(envoy_config_core_v3_RetryPolicy
|
|
2557
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65,
|
|
2821
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_num_retries(envoy_config_core_v3_RetryPolicy* msg, struct google_protobuf_UInt32Value* value) {
|
|
2822
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2558
2823
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UInt32Value_msg_init);
|
|
2559
|
-
upb_Message_SetBaseField((upb_Message
|
|
2824
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2560
2825
|
}
|
|
2561
|
-
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_RetryPolicy_mutable_num_retries(
|
|
2826
|
+
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_RetryPolicy_mutable_num_retries(
|
|
2827
|
+
envoy_config_core_v3_RetryPolicy* msg, upb_Arena* arena) {
|
|
2562
2828
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_RetryPolicy_num_retries(msg);
|
|
2563
2829
|
if (sub == NULL) {
|
|
2564
2830
|
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena);
|
|
@@ -2566,16 +2832,17 @@ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_RetryPolicy_
|
|
|
2566
2832
|
}
|
|
2567
2833
|
return sub;
|
|
2568
2834
|
}
|
|
2569
|
-
UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_retry_on(envoy_config_core_v3_RetryPolicy
|
|
2835
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_retry_on(envoy_config_core_v3_RetryPolicy* msg, upb_StringView value) {
|
|
2570
2836
|
const upb_MiniTableField field = {3, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
2571
|
-
upb_Message_SetBaseField((upb_Message
|
|
2837
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2572
2838
|
}
|
|
2573
|
-
UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_retry_priority(envoy_config_core_v3_RetryPolicy
|
|
2574
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66,
|
|
2839
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_retry_priority(envoy_config_core_v3_RetryPolicy* msg, envoy_config_core_v3_RetryPolicy_RetryPriority* value) {
|
|
2840
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2575
2841
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__RetryPolicy__RetryPriority_msg_init);
|
|
2576
|
-
upb_Message_SetBaseField((upb_Message
|
|
2842
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2577
2843
|
}
|
|
2578
|
-
UPB_INLINE struct envoy_config_core_v3_RetryPolicy_RetryPriority* envoy_config_core_v3_RetryPolicy_mutable_retry_priority(
|
|
2844
|
+
UPB_INLINE struct envoy_config_core_v3_RetryPolicy_RetryPriority* envoy_config_core_v3_RetryPolicy_mutable_retry_priority(
|
|
2845
|
+
envoy_config_core_v3_RetryPolicy* msg, upb_Arena* arena) {
|
|
2579
2846
|
struct envoy_config_core_v3_RetryPolicy_RetryPriority* sub = (struct envoy_config_core_v3_RetryPolicy_RetryPriority*)envoy_config_core_v3_RetryPolicy_retry_priority(msg);
|
|
2580
2847
|
if (sub == NULL) {
|
|
2581
2848
|
sub = (struct envoy_config_core_v3_RetryPolicy_RetryPriority*)_upb_Message_New(&envoy__config__core__v3__RetryPolicy__RetryPriority_msg_init, arena);
|
|
@@ -2583,8 +2850,9 @@ UPB_INLINE struct envoy_config_core_v3_RetryPolicy_RetryPriority* envoy_config_c
|
|
|
2583
2850
|
}
|
|
2584
2851
|
return sub;
|
|
2585
2852
|
}
|
|
2586
|
-
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryHostPredicate** envoy_config_core_v3_RetryPolicy_mutable_retry_host_predicate(envoy_config_core_v3_RetryPolicy* msg,
|
|
2587
|
-
|
|
2853
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryHostPredicate** envoy_config_core_v3_RetryPolicy_mutable_retry_host_predicate(envoy_config_core_v3_RetryPolicy* msg,
|
|
2854
|
+
size_t* size) {
|
|
2855
|
+
upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2588
2856
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init);
|
|
2589
2857
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
2590
2858
|
if (arr) {
|
|
@@ -2595,13 +2863,18 @@ UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryHostPredicate** envoy_config_co
|
|
|
2595
2863
|
return NULL;
|
|
2596
2864
|
}
|
|
2597
2865
|
}
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2866
|
+
|
|
2867
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryHostPredicate** envoy_config_core_v3_RetryPolicy_resize_retry_host_predicate(envoy_config_core_v3_RetryPolicy* msg,
|
|
2868
|
+
size_t size,
|
|
2869
|
+
upb_Arena* arena) {
|
|
2870
|
+
upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2871
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init);
|
|
2872
|
+
return (envoy_config_core_v3_RetryPolicy_RetryHostPredicate**)upb_Message_ResizeArrayUninitialized(
|
|
2873
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
2602
2874
|
}
|
|
2603
|
-
UPB_INLINE struct envoy_config_core_v3_RetryPolicy_RetryHostPredicate* envoy_config_core_v3_RetryPolicy_add_retry_host_predicate(
|
|
2604
|
-
|
|
2875
|
+
UPB_INLINE struct envoy_config_core_v3_RetryPolicy_RetryHostPredicate* envoy_config_core_v3_RetryPolicy_add_retry_host_predicate(
|
|
2876
|
+
envoy_config_core_v3_RetryPolicy* msg, upb_Arena* arena) {
|
|
2877
|
+
upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2605
2878
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init);
|
|
2606
2879
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
2607
2880
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -2609,49 +2882,52 @@ UPB_INLINE struct envoy_config_core_v3_RetryPolicy_RetryHostPredicate* envoy_con
|
|
|
2609
2882
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
2610
2883
|
return NULL;
|
|
2611
2884
|
}
|
|
2612
|
-
struct envoy_config_core_v3_RetryPolicy_RetryHostPredicate* sub =
|
|
2885
|
+
struct envoy_config_core_v3_RetryPolicy_RetryHostPredicate* sub =
|
|
2886
|
+
(struct envoy_config_core_v3_RetryPolicy_RetryHostPredicate*)_upb_Message_New(&envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init, arena);
|
|
2613
2887
|
if (!arr || !sub) return NULL;
|
|
2614
2888
|
UPB_PRIVATE(_upb_Array_Set)
|
|
2615
2889
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
2616
2890
|
return sub;
|
|
2617
2891
|
}
|
|
2618
|
-
UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_host_selection_retry_max_attempts(envoy_config_core_v3_RetryPolicy
|
|
2892
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_host_selection_retry_max_attempts(envoy_config_core_v3_RetryPolicy* msg, int64_t value) {
|
|
2619
2893
|
const upb_MiniTableField field = {6, UPB_SIZE(40, 64), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
|
2620
|
-
upb_Message_SetBaseField((upb_Message
|
|
2894
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2621
2895
|
}
|
|
2622
2896
|
|
|
2623
2897
|
/* envoy.config.core.v3.RetryPolicy.RetryPriority */
|
|
2624
|
-
|
|
2625
2898
|
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryPriority* envoy_config_core_v3_RetryPolicy_RetryPriority_new(upb_Arena* arena) {
|
|
2626
2899
|
return (envoy_config_core_v3_RetryPolicy_RetryPriority*)_upb_Message_New(&envoy__config__core__v3__RetryPolicy__RetryPriority_msg_init, arena);
|
|
2627
2900
|
}
|
|
2628
|
-
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryPriority* envoy_config_core_v3_RetryPolicy_RetryPriority_parse(const char* buf, size_t size,
|
|
2901
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryPriority* envoy_config_core_v3_RetryPolicy_RetryPriority_parse(const char* buf, size_t size,
|
|
2902
|
+
upb_Arena* arena) {
|
|
2629
2903
|
envoy_config_core_v3_RetryPolicy_RetryPriority* ret = envoy_config_core_v3_RetryPolicy_RetryPriority_new(arena);
|
|
2630
2904
|
if (!ret) return NULL;
|
|
2631
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RetryPolicy__RetryPriority_msg_init, NULL, 0,
|
|
2632
|
-
|
|
2905
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RetryPolicy__RetryPriority_msg_init, NULL, 0,
|
|
2906
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
2633
2907
|
return NULL;
|
|
2634
2908
|
}
|
|
2635
2909
|
return ret;
|
|
2636
2910
|
}
|
|
2637
|
-
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryPriority* envoy_config_core_v3_RetryPolicy_RetryPriority_parse_ex(
|
|
2638
|
-
|
|
2639
|
-
|
|
2911
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryPriority* envoy_config_core_v3_RetryPolicy_RetryPriority_parse_ex(
|
|
2912
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
2913
|
+
int options, upb_Arena* arena) {
|
|
2640
2914
|
envoy_config_core_v3_RetryPolicy_RetryPriority* ret = envoy_config_core_v3_RetryPolicy_RetryPriority_new(arena);
|
|
2641
2915
|
if (!ret) return NULL;
|
|
2642
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RetryPolicy__RetryPriority_msg_init, extreg,
|
|
2643
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
2916
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RetryPolicy__RetryPriority_msg_init, extreg,
|
|
2917
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
2644
2918
|
return NULL;
|
|
2645
2919
|
}
|
|
2646
2920
|
return ret;
|
|
2647
2921
|
}
|
|
2648
|
-
UPB_INLINE char* envoy_config_core_v3_RetryPolicy_RetryPriority_serialize(const envoy_config_core_v3_RetryPolicy_RetryPriority* msg,
|
|
2922
|
+
UPB_INLINE char* envoy_config_core_v3_RetryPolicy_RetryPriority_serialize(const envoy_config_core_v3_RetryPolicy_RetryPriority* msg,
|
|
2923
|
+
upb_Arena* arena, size_t* len) {
|
|
2649
2924
|
char* ptr;
|
|
2650
2925
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RetryPolicy__RetryPriority_msg_init, 0, arena, &ptr, len);
|
|
2651
2926
|
return ptr;
|
|
2652
2927
|
}
|
|
2653
|
-
UPB_INLINE char* envoy_config_core_v3_RetryPolicy_RetryPriority_serialize_ex(const envoy_config_core_v3_RetryPolicy_RetryPriority* msg,
|
|
2654
|
-
|
|
2928
|
+
UPB_INLINE char* envoy_config_core_v3_RetryPolicy_RetryPriority_serialize_ex(const envoy_config_core_v3_RetryPolicy_RetryPriority* msg,
|
|
2929
|
+
int options, upb_Arena* arena,
|
|
2930
|
+
size_t* len) {
|
|
2655
2931
|
char* ptr;
|
|
2656
2932
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RetryPolicy__RetryPriority_msg_init, options, arena, &ptr, len);
|
|
2657
2933
|
return ptr;
|
|
@@ -2660,13 +2936,15 @@ typedef enum {
|
|
|
2660
2936
|
envoy_config_core_v3_RetryPolicy_RetryPriority_config_type_typed_config = 2,
|
|
2661
2937
|
envoy_config_core_v3_RetryPolicy_RetryPriority_config_type_NOT_SET = 0
|
|
2662
2938
|
} envoy_config_core_v3_RetryPolicy_RetryPriority_config_type_oneofcases;
|
|
2663
|
-
|
|
2664
|
-
|
|
2939
|
+
|
|
2940
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryPriority_config_type_oneofcases
|
|
2941
|
+
envoy_config_core_v3_RetryPolicy_RetryPriority_config_type_case(const envoy_config_core_v3_RetryPolicy_RetryPriority* msg) {
|
|
2942
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2665
2943
|
return (envoy_config_core_v3_RetryPolicy_RetryPriority_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
2666
2944
|
UPB_UPCAST(msg), &field);
|
|
2667
2945
|
}
|
|
2668
2946
|
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryPriority_clear_config_type(envoy_config_core_v3_RetryPolicy_RetryPriority* msg) {
|
|
2669
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9,
|
|
2947
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2670
2948
|
upb_Message_ClearOneof(UPB_UPCAST(msg), &envoy__config__core__v3__RetryPolicy__RetryPriority_msg_init, &field);
|
|
2671
2949
|
}
|
|
2672
2950
|
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryPriority_clear_name(envoy_config_core_v3_RetryPolicy_RetryPriority* msg) {
|
|
@@ -2682,33 +2960,34 @@ UPB_INLINE upb_StringView envoy_config_core_v3_RetryPolicy_RetryPriority_name(co
|
|
|
2682
2960
|
return ret;
|
|
2683
2961
|
}
|
|
2684
2962
|
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryPriority_clear_typed_config(envoy_config_core_v3_RetryPolicy_RetryPriority* msg) {
|
|
2685
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9,
|
|
2963
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2686
2964
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
2687
2965
|
}
|
|
2688
2966
|
UPB_INLINE const struct google_protobuf_Any* envoy_config_core_v3_RetryPolicy_RetryPriority_typed_config(const envoy_config_core_v3_RetryPolicy_RetryPriority* msg) {
|
|
2689
2967
|
const struct google_protobuf_Any* default_val = NULL;
|
|
2690
2968
|
const struct google_protobuf_Any* ret;
|
|
2691
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9,
|
|
2969
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2692
2970
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Any_msg_init);
|
|
2693
2971
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
2694
2972
|
&default_val, &ret);
|
|
2695
2973
|
return ret;
|
|
2696
2974
|
}
|
|
2697
2975
|
UPB_INLINE bool envoy_config_core_v3_RetryPolicy_RetryPriority_has_typed_config(const envoy_config_core_v3_RetryPolicy_RetryPriority* msg) {
|
|
2698
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9,
|
|
2976
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2699
2977
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
2700
2978
|
}
|
|
2701
2979
|
|
|
2702
|
-
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryPriority_set_name(envoy_config_core_v3_RetryPolicy_RetryPriority
|
|
2980
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryPriority_set_name(envoy_config_core_v3_RetryPolicy_RetryPriority* msg, upb_StringView value) {
|
|
2703
2981
|
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
2704
|
-
upb_Message_SetBaseField((upb_Message
|
|
2982
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2705
2983
|
}
|
|
2706
|
-
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryPriority_set_typed_config(envoy_config_core_v3_RetryPolicy_RetryPriority
|
|
2707
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9,
|
|
2984
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryPriority_set_typed_config(envoy_config_core_v3_RetryPolicy_RetryPriority* msg, struct google_protobuf_Any* value) {
|
|
2985
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2708
2986
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Any_msg_init);
|
|
2709
|
-
upb_Message_SetBaseField((upb_Message
|
|
2987
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2710
2988
|
}
|
|
2711
|
-
UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_RetryPolicy_RetryPriority_mutable_typed_config(
|
|
2989
|
+
UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_RetryPolicy_RetryPriority_mutable_typed_config(
|
|
2990
|
+
envoy_config_core_v3_RetryPolicy_RetryPriority* msg, upb_Arena* arena) {
|
|
2712
2991
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_core_v3_RetryPolicy_RetryPriority_typed_config(msg);
|
|
2713
2992
|
if (sub == NULL) {
|
|
2714
2993
|
sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena);
|
|
@@ -2718,37 +2997,39 @@ UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_RetryPolicy_RetryPri
|
|
|
2718
2997
|
}
|
|
2719
2998
|
|
|
2720
2999
|
/* envoy.config.core.v3.RetryPolicy.RetryHostPredicate */
|
|
2721
|
-
|
|
2722
3000
|
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryHostPredicate* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_new(upb_Arena* arena) {
|
|
2723
3001
|
return (envoy_config_core_v3_RetryPolicy_RetryHostPredicate*)_upb_Message_New(&envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init, arena);
|
|
2724
3002
|
}
|
|
2725
|
-
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryHostPredicate* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_parse(const char* buf, size_t size,
|
|
3003
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryHostPredicate* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_parse(const char* buf, size_t size,
|
|
3004
|
+
upb_Arena* arena) {
|
|
2726
3005
|
envoy_config_core_v3_RetryPolicy_RetryHostPredicate* ret = envoy_config_core_v3_RetryPolicy_RetryHostPredicate_new(arena);
|
|
2727
3006
|
if (!ret) return NULL;
|
|
2728
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init, NULL, 0,
|
|
2729
|
-
|
|
3007
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init, NULL, 0,
|
|
3008
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
2730
3009
|
return NULL;
|
|
2731
3010
|
}
|
|
2732
3011
|
return ret;
|
|
2733
3012
|
}
|
|
2734
|
-
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryHostPredicate* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_parse_ex(
|
|
2735
|
-
|
|
2736
|
-
|
|
3013
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryHostPredicate* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_parse_ex(
|
|
3014
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
3015
|
+
int options, upb_Arena* arena) {
|
|
2737
3016
|
envoy_config_core_v3_RetryPolicy_RetryHostPredicate* ret = envoy_config_core_v3_RetryPolicy_RetryHostPredicate_new(arena);
|
|
2738
3017
|
if (!ret) return NULL;
|
|
2739
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init, extreg,
|
|
2740
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
3018
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init, extreg,
|
|
3019
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
2741
3020
|
return NULL;
|
|
2742
3021
|
}
|
|
2743
3022
|
return ret;
|
|
2744
3023
|
}
|
|
2745
|
-
UPB_INLINE char* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_serialize(const envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg,
|
|
3024
|
+
UPB_INLINE char* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_serialize(const envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg,
|
|
3025
|
+
upb_Arena* arena, size_t* len) {
|
|
2746
3026
|
char* ptr;
|
|
2747
3027
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init, 0, arena, &ptr, len);
|
|
2748
3028
|
return ptr;
|
|
2749
3029
|
}
|
|
2750
|
-
UPB_INLINE char* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_serialize_ex(const envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg,
|
|
2751
|
-
|
|
3030
|
+
UPB_INLINE char* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_serialize_ex(const envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg,
|
|
3031
|
+
int options, upb_Arena* arena,
|
|
3032
|
+
size_t* len) {
|
|
2752
3033
|
char* ptr;
|
|
2753
3034
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init, options, arena, &ptr, len);
|
|
2754
3035
|
return ptr;
|
|
@@ -2757,13 +3038,15 @@ typedef enum {
|
|
|
2757
3038
|
envoy_config_core_v3_RetryPolicy_RetryHostPredicate_config_type_typed_config = 2,
|
|
2758
3039
|
envoy_config_core_v3_RetryPolicy_RetryHostPredicate_config_type_NOT_SET = 0
|
|
2759
3040
|
} envoy_config_core_v3_RetryPolicy_RetryHostPredicate_config_type_oneofcases;
|
|
2760
|
-
|
|
2761
|
-
|
|
3041
|
+
|
|
3042
|
+
UPB_INLINE envoy_config_core_v3_RetryPolicy_RetryHostPredicate_config_type_oneofcases
|
|
3043
|
+
envoy_config_core_v3_RetryPolicy_RetryHostPredicate_config_type_case(const envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg) {
|
|
3044
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2762
3045
|
return (envoy_config_core_v3_RetryPolicy_RetryHostPredicate_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
2763
3046
|
UPB_UPCAST(msg), &field);
|
|
2764
3047
|
}
|
|
2765
3048
|
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryHostPredicate_clear_config_type(envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg) {
|
|
2766
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9,
|
|
3049
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2767
3050
|
upb_Message_ClearOneof(UPB_UPCAST(msg), &envoy__config__core__v3__RetryPolicy__RetryHostPredicate_msg_init, &field);
|
|
2768
3051
|
}
|
|
2769
3052
|
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryHostPredicate_clear_name(envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg) {
|
|
@@ -2779,33 +3062,34 @@ UPB_INLINE upb_StringView envoy_config_core_v3_RetryPolicy_RetryHostPredicate_na
|
|
|
2779
3062
|
return ret;
|
|
2780
3063
|
}
|
|
2781
3064
|
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryHostPredicate_clear_typed_config(envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg) {
|
|
2782
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9,
|
|
3065
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2783
3066
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
2784
3067
|
}
|
|
2785
3068
|
UPB_INLINE const struct google_protobuf_Any* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_typed_config(const envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg) {
|
|
2786
3069
|
const struct google_protobuf_Any* default_val = NULL;
|
|
2787
3070
|
const struct google_protobuf_Any* ret;
|
|
2788
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9,
|
|
3071
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2789
3072
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Any_msg_init);
|
|
2790
3073
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
2791
3074
|
&default_val, &ret);
|
|
2792
3075
|
return ret;
|
|
2793
3076
|
}
|
|
2794
3077
|
UPB_INLINE bool envoy_config_core_v3_RetryPolicy_RetryHostPredicate_has_typed_config(const envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg) {
|
|
2795
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9,
|
|
3078
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2796
3079
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
2797
3080
|
}
|
|
2798
3081
|
|
|
2799
|
-
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryHostPredicate_set_name(envoy_config_core_v3_RetryPolicy_RetryHostPredicate
|
|
3082
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryHostPredicate_set_name(envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg, upb_StringView value) {
|
|
2800
3083
|
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
2801
|
-
upb_Message_SetBaseField((upb_Message
|
|
3084
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2802
3085
|
}
|
|
2803
|
-
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryHostPredicate_set_typed_config(envoy_config_core_v3_RetryPolicy_RetryHostPredicate
|
|
2804
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9,
|
|
3086
|
+
UPB_INLINE void envoy_config_core_v3_RetryPolicy_RetryHostPredicate_set_typed_config(envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg, struct google_protobuf_Any* value) {
|
|
3087
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2805
3088
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Any_msg_init);
|
|
2806
|
-
upb_Message_SetBaseField((upb_Message
|
|
3089
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2807
3090
|
}
|
|
2808
|
-
UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_mutable_typed_config(
|
|
3091
|
+
UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_RetryPolicy_RetryHostPredicate_mutable_typed_config(
|
|
3092
|
+
envoy_config_core_v3_RetryPolicy_RetryHostPredicate* msg, upb_Arena* arena) {
|
|
2809
3093
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_core_v3_RetryPolicy_RetryHostPredicate_typed_config(msg);
|
|
2810
3094
|
if (sub == NULL) {
|
|
2811
3095
|
sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena);
|
|
@@ -2815,56 +3099,58 @@ UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_RetryPolicy_RetryHos
|
|
|
2815
3099
|
}
|
|
2816
3100
|
|
|
2817
3101
|
/* envoy.config.core.v3.RemoteDataSource */
|
|
2818
|
-
|
|
2819
3102
|
UPB_INLINE envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_RemoteDataSource_new(upb_Arena* arena) {
|
|
2820
3103
|
return (envoy_config_core_v3_RemoteDataSource*)_upb_Message_New(&envoy__config__core__v3__RemoteDataSource_msg_init, arena);
|
|
2821
3104
|
}
|
|
2822
|
-
UPB_INLINE envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_RemoteDataSource_parse(const char* buf, size_t size,
|
|
3105
|
+
UPB_INLINE envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_RemoteDataSource_parse(const char* buf, size_t size,
|
|
3106
|
+
upb_Arena* arena) {
|
|
2823
3107
|
envoy_config_core_v3_RemoteDataSource* ret = envoy_config_core_v3_RemoteDataSource_new(arena);
|
|
2824
3108
|
if (!ret) return NULL;
|
|
2825
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RemoteDataSource_msg_init, NULL, 0,
|
|
2826
|
-
|
|
3109
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RemoteDataSource_msg_init, NULL, 0,
|
|
3110
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
2827
3111
|
return NULL;
|
|
2828
3112
|
}
|
|
2829
3113
|
return ret;
|
|
2830
3114
|
}
|
|
2831
|
-
UPB_INLINE envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_RemoteDataSource_parse_ex(
|
|
2832
|
-
|
|
2833
|
-
|
|
3115
|
+
UPB_INLINE envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_RemoteDataSource_parse_ex(
|
|
3116
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
3117
|
+
int options, upb_Arena* arena) {
|
|
2834
3118
|
envoy_config_core_v3_RemoteDataSource* ret = envoy_config_core_v3_RemoteDataSource_new(arena);
|
|
2835
3119
|
if (!ret) return NULL;
|
|
2836
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RemoteDataSource_msg_init, extreg,
|
|
2837
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
3120
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RemoteDataSource_msg_init, extreg,
|
|
3121
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
2838
3122
|
return NULL;
|
|
2839
3123
|
}
|
|
2840
3124
|
return ret;
|
|
2841
3125
|
}
|
|
2842
|
-
UPB_INLINE char* envoy_config_core_v3_RemoteDataSource_serialize(const envoy_config_core_v3_RemoteDataSource* msg,
|
|
3126
|
+
UPB_INLINE char* envoy_config_core_v3_RemoteDataSource_serialize(const envoy_config_core_v3_RemoteDataSource* msg,
|
|
3127
|
+
upb_Arena* arena, size_t* len) {
|
|
2843
3128
|
char* ptr;
|
|
2844
3129
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RemoteDataSource_msg_init, 0, arena, &ptr, len);
|
|
2845
3130
|
return ptr;
|
|
2846
3131
|
}
|
|
2847
|
-
UPB_INLINE char* envoy_config_core_v3_RemoteDataSource_serialize_ex(const envoy_config_core_v3_RemoteDataSource* msg,
|
|
2848
|
-
|
|
3132
|
+
UPB_INLINE char* envoy_config_core_v3_RemoteDataSource_serialize_ex(const envoy_config_core_v3_RemoteDataSource* msg,
|
|
3133
|
+
int options, upb_Arena* arena,
|
|
3134
|
+
size_t* len) {
|
|
2849
3135
|
char* ptr;
|
|
2850
3136
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RemoteDataSource_msg_init, options, arena, &ptr, len);
|
|
2851
3137
|
return ptr;
|
|
2852
3138
|
}
|
|
2853
3139
|
UPB_INLINE void envoy_config_core_v3_RemoteDataSource_clear_http_uri(envoy_config_core_v3_RemoteDataSource* msg) {
|
|
2854
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
3140
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2855
3141
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
2856
3142
|
}
|
|
2857
3143
|
UPB_INLINE const struct envoy_config_core_v3_HttpUri* envoy_config_core_v3_RemoteDataSource_http_uri(const envoy_config_core_v3_RemoteDataSource* msg) {
|
|
2858
3144
|
const struct envoy_config_core_v3_HttpUri* default_val = NULL;
|
|
2859
3145
|
const struct envoy_config_core_v3_HttpUri* ret;
|
|
2860
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
3146
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2861
3147
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__HttpUri_msg_init);
|
|
2862
3148
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
2863
3149
|
&default_val, &ret);
|
|
2864
3150
|
return ret;
|
|
2865
3151
|
}
|
|
2866
3152
|
UPB_INLINE bool envoy_config_core_v3_RemoteDataSource_has_http_uri(const envoy_config_core_v3_RemoteDataSource* msg) {
|
|
2867
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
3153
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2868
3154
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
2869
3155
|
}
|
|
2870
3156
|
UPB_INLINE void envoy_config_core_v3_RemoteDataSource_clear_sha256(envoy_config_core_v3_RemoteDataSource* msg) {
|
|
@@ -2880,29 +3166,30 @@ UPB_INLINE upb_StringView envoy_config_core_v3_RemoteDataSource_sha256(const env
|
|
|
2880
3166
|
return ret;
|
|
2881
3167
|
}
|
|
2882
3168
|
UPB_INLINE void envoy_config_core_v3_RemoteDataSource_clear_retry_policy(envoy_config_core_v3_RemoteDataSource* msg) {
|
|
2883
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65,
|
|
3169
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2884
3170
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
2885
3171
|
}
|
|
2886
3172
|
UPB_INLINE const envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RemoteDataSource_retry_policy(const envoy_config_core_v3_RemoteDataSource* msg) {
|
|
2887
3173
|
const envoy_config_core_v3_RetryPolicy* default_val = NULL;
|
|
2888
3174
|
const envoy_config_core_v3_RetryPolicy* ret;
|
|
2889
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65,
|
|
3175
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2890
3176
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__RetryPolicy_msg_init);
|
|
2891
3177
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
2892
3178
|
&default_val, &ret);
|
|
2893
3179
|
return ret;
|
|
2894
3180
|
}
|
|
2895
3181
|
UPB_INLINE bool envoy_config_core_v3_RemoteDataSource_has_retry_policy(const envoy_config_core_v3_RemoteDataSource* msg) {
|
|
2896
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65,
|
|
3182
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2897
3183
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
2898
3184
|
}
|
|
2899
3185
|
|
|
2900
|
-
UPB_INLINE void envoy_config_core_v3_RemoteDataSource_set_http_uri(envoy_config_core_v3_RemoteDataSource
|
|
2901
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
3186
|
+
UPB_INLINE void envoy_config_core_v3_RemoteDataSource_set_http_uri(envoy_config_core_v3_RemoteDataSource* msg, struct envoy_config_core_v3_HttpUri* value) {
|
|
3187
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2902
3188
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__HttpUri_msg_init);
|
|
2903
|
-
upb_Message_SetBaseField((upb_Message
|
|
3189
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2904
3190
|
}
|
|
2905
|
-
UPB_INLINE struct envoy_config_core_v3_HttpUri* envoy_config_core_v3_RemoteDataSource_mutable_http_uri(
|
|
3191
|
+
UPB_INLINE struct envoy_config_core_v3_HttpUri* envoy_config_core_v3_RemoteDataSource_mutable_http_uri(
|
|
3192
|
+
envoy_config_core_v3_RemoteDataSource* msg, upb_Arena* arena) {
|
|
2906
3193
|
struct envoy_config_core_v3_HttpUri* sub = (struct envoy_config_core_v3_HttpUri*)envoy_config_core_v3_RemoteDataSource_http_uri(msg);
|
|
2907
3194
|
if (sub == NULL) {
|
|
2908
3195
|
sub = (struct envoy_config_core_v3_HttpUri*)_upb_Message_New(&envoy__config__core__v3__HttpUri_msg_init, arena);
|
|
@@ -2910,16 +3197,17 @@ UPB_INLINE struct envoy_config_core_v3_HttpUri* envoy_config_core_v3_RemoteDataS
|
|
|
2910
3197
|
}
|
|
2911
3198
|
return sub;
|
|
2912
3199
|
}
|
|
2913
|
-
UPB_INLINE void envoy_config_core_v3_RemoteDataSource_set_sha256(envoy_config_core_v3_RemoteDataSource
|
|
3200
|
+
UPB_INLINE void envoy_config_core_v3_RemoteDataSource_set_sha256(envoy_config_core_v3_RemoteDataSource* msg, upb_StringView value) {
|
|
2914
3201
|
const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
2915
|
-
upb_Message_SetBaseField((upb_Message
|
|
3202
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2916
3203
|
}
|
|
2917
|
-
UPB_INLINE void envoy_config_core_v3_RemoteDataSource_set_retry_policy(envoy_config_core_v3_RemoteDataSource
|
|
2918
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65,
|
|
3204
|
+
UPB_INLINE void envoy_config_core_v3_RemoteDataSource_set_retry_policy(envoy_config_core_v3_RemoteDataSource* msg, envoy_config_core_v3_RetryPolicy* value) {
|
|
3205
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2919
3206
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__RetryPolicy_msg_init);
|
|
2920
|
-
upb_Message_SetBaseField((upb_Message
|
|
3207
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
2921
3208
|
}
|
|
2922
|
-
UPB_INLINE struct envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RemoteDataSource_mutable_retry_policy(
|
|
3209
|
+
UPB_INLINE struct envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RemoteDataSource_mutable_retry_policy(
|
|
3210
|
+
envoy_config_core_v3_RemoteDataSource* msg, upb_Arena* arena) {
|
|
2923
3211
|
struct envoy_config_core_v3_RetryPolicy* sub = (struct envoy_config_core_v3_RetryPolicy*)envoy_config_core_v3_RemoteDataSource_retry_policy(msg);
|
|
2924
3212
|
if (sub == NULL) {
|
|
2925
3213
|
sub = (struct envoy_config_core_v3_RetryPolicy*)_upb_Message_New(&envoy__config__core__v3__RetryPolicy_msg_init, arena);
|
|
@@ -2929,37 +3217,39 @@ UPB_INLINE struct envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RemoteD
|
|
|
2929
3217
|
}
|
|
2930
3218
|
|
|
2931
3219
|
/* envoy.config.core.v3.AsyncDataSource */
|
|
2932
|
-
|
|
2933
3220
|
UPB_INLINE envoy_config_core_v3_AsyncDataSource* envoy_config_core_v3_AsyncDataSource_new(upb_Arena* arena) {
|
|
2934
3221
|
return (envoy_config_core_v3_AsyncDataSource*)_upb_Message_New(&envoy__config__core__v3__AsyncDataSource_msg_init, arena);
|
|
2935
3222
|
}
|
|
2936
|
-
UPB_INLINE envoy_config_core_v3_AsyncDataSource* envoy_config_core_v3_AsyncDataSource_parse(const char* buf, size_t size,
|
|
3223
|
+
UPB_INLINE envoy_config_core_v3_AsyncDataSource* envoy_config_core_v3_AsyncDataSource_parse(const char* buf, size_t size,
|
|
3224
|
+
upb_Arena* arena) {
|
|
2937
3225
|
envoy_config_core_v3_AsyncDataSource* ret = envoy_config_core_v3_AsyncDataSource_new(arena);
|
|
2938
3226
|
if (!ret) return NULL;
|
|
2939
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__AsyncDataSource_msg_init, NULL, 0,
|
|
2940
|
-
|
|
3227
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__AsyncDataSource_msg_init, NULL, 0,
|
|
3228
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
2941
3229
|
return NULL;
|
|
2942
3230
|
}
|
|
2943
3231
|
return ret;
|
|
2944
3232
|
}
|
|
2945
|
-
UPB_INLINE envoy_config_core_v3_AsyncDataSource* envoy_config_core_v3_AsyncDataSource_parse_ex(
|
|
2946
|
-
|
|
2947
|
-
|
|
3233
|
+
UPB_INLINE envoy_config_core_v3_AsyncDataSource* envoy_config_core_v3_AsyncDataSource_parse_ex(
|
|
3234
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
3235
|
+
int options, upb_Arena* arena) {
|
|
2948
3236
|
envoy_config_core_v3_AsyncDataSource* ret = envoy_config_core_v3_AsyncDataSource_new(arena);
|
|
2949
3237
|
if (!ret) return NULL;
|
|
2950
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__AsyncDataSource_msg_init, extreg,
|
|
2951
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
3238
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__AsyncDataSource_msg_init, extreg,
|
|
3239
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
2952
3240
|
return NULL;
|
|
2953
3241
|
}
|
|
2954
3242
|
return ret;
|
|
2955
3243
|
}
|
|
2956
|
-
UPB_INLINE char* envoy_config_core_v3_AsyncDataSource_serialize(const envoy_config_core_v3_AsyncDataSource* msg,
|
|
3244
|
+
UPB_INLINE char* envoy_config_core_v3_AsyncDataSource_serialize(const envoy_config_core_v3_AsyncDataSource* msg,
|
|
3245
|
+
upb_Arena* arena, size_t* len) {
|
|
2957
3246
|
char* ptr;
|
|
2958
3247
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__AsyncDataSource_msg_init, 0, arena, &ptr, len);
|
|
2959
3248
|
return ptr;
|
|
2960
3249
|
}
|
|
2961
|
-
UPB_INLINE char* envoy_config_core_v3_AsyncDataSource_serialize_ex(const envoy_config_core_v3_AsyncDataSource* msg,
|
|
2962
|
-
|
|
3250
|
+
UPB_INLINE char* envoy_config_core_v3_AsyncDataSource_serialize_ex(const envoy_config_core_v3_AsyncDataSource* msg,
|
|
3251
|
+
int options, upb_Arena* arena,
|
|
3252
|
+
size_t* len) {
|
|
2963
3253
|
char* ptr;
|
|
2964
3254
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__AsyncDataSource_msg_init, options, arena, &ptr, len);
|
|
2965
3255
|
return ptr;
|
|
@@ -2969,56 +3259,59 @@ typedef enum {
|
|
|
2969
3259
|
envoy_config_core_v3_AsyncDataSource_specifier_remote = 2,
|
|
2970
3260
|
envoy_config_core_v3_AsyncDataSource_specifier_NOT_SET = 0
|
|
2971
3261
|
} envoy_config_core_v3_AsyncDataSource_specifier_oneofcases;
|
|
2972
|
-
|
|
2973
|
-
|
|
3262
|
+
|
|
3263
|
+
UPB_INLINE envoy_config_core_v3_AsyncDataSource_specifier_oneofcases
|
|
3264
|
+
envoy_config_core_v3_AsyncDataSource_specifier_case(const envoy_config_core_v3_AsyncDataSource* msg) {
|
|
3265
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2974
3266
|
return (envoy_config_core_v3_AsyncDataSource_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
2975
3267
|
UPB_UPCAST(msg), &field);
|
|
2976
3268
|
}
|
|
2977
3269
|
UPB_INLINE void envoy_config_core_v3_AsyncDataSource_clear_specifier(envoy_config_core_v3_AsyncDataSource* msg) {
|
|
2978
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
3270
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2979
3271
|
upb_Message_ClearOneof(UPB_UPCAST(msg), &envoy__config__core__v3__AsyncDataSource_msg_init, &field);
|
|
2980
3272
|
}
|
|
2981
3273
|
UPB_INLINE void envoy_config_core_v3_AsyncDataSource_clear_local(envoy_config_core_v3_AsyncDataSource* msg) {
|
|
2982
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
3274
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2983
3275
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
2984
3276
|
}
|
|
2985
3277
|
UPB_INLINE const envoy_config_core_v3_DataSource* envoy_config_core_v3_AsyncDataSource_local(const envoy_config_core_v3_AsyncDataSource* msg) {
|
|
2986
3278
|
const envoy_config_core_v3_DataSource* default_val = NULL;
|
|
2987
3279
|
const envoy_config_core_v3_DataSource* ret;
|
|
2988
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
3280
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2989
3281
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__DataSource_msg_init);
|
|
2990
3282
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
2991
3283
|
&default_val, &ret);
|
|
2992
3284
|
return ret;
|
|
2993
3285
|
}
|
|
2994
3286
|
UPB_INLINE bool envoy_config_core_v3_AsyncDataSource_has_local(const envoy_config_core_v3_AsyncDataSource* msg) {
|
|
2995
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
3287
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
2996
3288
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
2997
3289
|
}
|
|
2998
3290
|
UPB_INLINE void envoy_config_core_v3_AsyncDataSource_clear_remote(envoy_config_core_v3_AsyncDataSource* msg) {
|
|
2999
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9,
|
|
3291
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
3000
3292
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
3001
3293
|
}
|
|
3002
3294
|
UPB_INLINE const envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_AsyncDataSource_remote(const envoy_config_core_v3_AsyncDataSource* msg) {
|
|
3003
3295
|
const envoy_config_core_v3_RemoteDataSource* default_val = NULL;
|
|
3004
3296
|
const envoy_config_core_v3_RemoteDataSource* ret;
|
|
3005
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9,
|
|
3297
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
3006
3298
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__RemoteDataSource_msg_init);
|
|
3007
3299
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
3008
3300
|
&default_val, &ret);
|
|
3009
3301
|
return ret;
|
|
3010
3302
|
}
|
|
3011
3303
|
UPB_INLINE bool envoy_config_core_v3_AsyncDataSource_has_remote(const envoy_config_core_v3_AsyncDataSource* msg) {
|
|
3012
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9,
|
|
3304
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
3013
3305
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
3014
3306
|
}
|
|
3015
3307
|
|
|
3016
|
-
UPB_INLINE void envoy_config_core_v3_AsyncDataSource_set_local(envoy_config_core_v3_AsyncDataSource
|
|
3017
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
3308
|
+
UPB_INLINE void envoy_config_core_v3_AsyncDataSource_set_local(envoy_config_core_v3_AsyncDataSource* msg, envoy_config_core_v3_DataSource* value) {
|
|
3309
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
3018
3310
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__DataSource_msg_init);
|
|
3019
|
-
upb_Message_SetBaseField((upb_Message
|
|
3311
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
3020
3312
|
}
|
|
3021
|
-
UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_config_core_v3_AsyncDataSource_mutable_local(
|
|
3313
|
+
UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_config_core_v3_AsyncDataSource_mutable_local(
|
|
3314
|
+
envoy_config_core_v3_AsyncDataSource* msg, upb_Arena* arena) {
|
|
3022
3315
|
struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_config_core_v3_AsyncDataSource_local(msg);
|
|
3023
3316
|
if (sub == NULL) {
|
|
3024
3317
|
sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena);
|
|
@@ -3026,12 +3319,13 @@ UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_config_core_v3_AsyncDat
|
|
|
3026
3319
|
}
|
|
3027
3320
|
return sub;
|
|
3028
3321
|
}
|
|
3029
|
-
UPB_INLINE void envoy_config_core_v3_AsyncDataSource_set_remote(envoy_config_core_v3_AsyncDataSource
|
|
3030
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9,
|
|
3322
|
+
UPB_INLINE void envoy_config_core_v3_AsyncDataSource_set_remote(envoy_config_core_v3_AsyncDataSource* msg, envoy_config_core_v3_RemoteDataSource* value) {
|
|
3323
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
3031
3324
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__RemoteDataSource_msg_init);
|
|
3032
|
-
upb_Message_SetBaseField((upb_Message
|
|
3325
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
3033
3326
|
}
|
|
3034
|
-
UPB_INLINE struct envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_AsyncDataSource_mutable_remote(
|
|
3327
|
+
UPB_INLINE struct envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_AsyncDataSource_mutable_remote(
|
|
3328
|
+
envoy_config_core_v3_AsyncDataSource* msg, upb_Arena* arena) {
|
|
3035
3329
|
struct envoy_config_core_v3_RemoteDataSource* sub = (struct envoy_config_core_v3_RemoteDataSource*)envoy_config_core_v3_AsyncDataSource_remote(msg);
|
|
3036
3330
|
if (sub == NULL) {
|
|
3037
3331
|
sub = (struct envoy_config_core_v3_RemoteDataSource*)_upb_Message_New(&envoy__config__core__v3__RemoteDataSource_msg_init, arena);
|
|
@@ -3041,37 +3335,39 @@ UPB_INLINE struct envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_As
|
|
|
3041
3335
|
}
|
|
3042
3336
|
|
|
3043
3337
|
/* envoy.config.core.v3.TransportSocket */
|
|
3044
|
-
|
|
3045
3338
|
UPB_INLINE envoy_config_core_v3_TransportSocket* envoy_config_core_v3_TransportSocket_new(upb_Arena* arena) {
|
|
3046
3339
|
return (envoy_config_core_v3_TransportSocket*)_upb_Message_New(&envoy__config__core__v3__TransportSocket_msg_init, arena);
|
|
3047
3340
|
}
|
|
3048
|
-
UPB_INLINE envoy_config_core_v3_TransportSocket* envoy_config_core_v3_TransportSocket_parse(const char* buf, size_t size,
|
|
3341
|
+
UPB_INLINE envoy_config_core_v3_TransportSocket* envoy_config_core_v3_TransportSocket_parse(const char* buf, size_t size,
|
|
3342
|
+
upb_Arena* arena) {
|
|
3049
3343
|
envoy_config_core_v3_TransportSocket* ret = envoy_config_core_v3_TransportSocket_new(arena);
|
|
3050
3344
|
if (!ret) return NULL;
|
|
3051
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__TransportSocket_msg_init, NULL, 0,
|
|
3052
|
-
|
|
3345
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__TransportSocket_msg_init, NULL, 0,
|
|
3346
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
3053
3347
|
return NULL;
|
|
3054
3348
|
}
|
|
3055
3349
|
return ret;
|
|
3056
3350
|
}
|
|
3057
|
-
UPB_INLINE envoy_config_core_v3_TransportSocket* envoy_config_core_v3_TransportSocket_parse_ex(
|
|
3058
|
-
|
|
3059
|
-
|
|
3351
|
+
UPB_INLINE envoy_config_core_v3_TransportSocket* envoy_config_core_v3_TransportSocket_parse_ex(
|
|
3352
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
3353
|
+
int options, upb_Arena* arena) {
|
|
3060
3354
|
envoy_config_core_v3_TransportSocket* ret = envoy_config_core_v3_TransportSocket_new(arena);
|
|
3061
3355
|
if (!ret) return NULL;
|
|
3062
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__TransportSocket_msg_init, extreg,
|
|
3063
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
3356
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__TransportSocket_msg_init, extreg,
|
|
3357
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
3064
3358
|
return NULL;
|
|
3065
3359
|
}
|
|
3066
3360
|
return ret;
|
|
3067
3361
|
}
|
|
3068
|
-
UPB_INLINE char* envoy_config_core_v3_TransportSocket_serialize(const envoy_config_core_v3_TransportSocket* msg,
|
|
3362
|
+
UPB_INLINE char* envoy_config_core_v3_TransportSocket_serialize(const envoy_config_core_v3_TransportSocket* msg,
|
|
3363
|
+
upb_Arena* arena, size_t* len) {
|
|
3069
3364
|
char* ptr;
|
|
3070
3365
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__TransportSocket_msg_init, 0, arena, &ptr, len);
|
|
3071
3366
|
return ptr;
|
|
3072
3367
|
}
|
|
3073
|
-
UPB_INLINE char* envoy_config_core_v3_TransportSocket_serialize_ex(const envoy_config_core_v3_TransportSocket* msg,
|
|
3074
|
-
|
|
3368
|
+
UPB_INLINE char* envoy_config_core_v3_TransportSocket_serialize_ex(const envoy_config_core_v3_TransportSocket* msg,
|
|
3369
|
+
int options, upb_Arena* arena,
|
|
3370
|
+
size_t* len) {
|
|
3075
3371
|
char* ptr;
|
|
3076
3372
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__TransportSocket_msg_init, options, arena, &ptr, len);
|
|
3077
3373
|
return ptr;
|
|
@@ -3080,13 +3376,15 @@ typedef enum {
|
|
|
3080
3376
|
envoy_config_core_v3_TransportSocket_config_type_typed_config = 3,
|
|
3081
3377
|
envoy_config_core_v3_TransportSocket_config_type_NOT_SET = 0
|
|
3082
3378
|
} envoy_config_core_v3_TransportSocket_config_type_oneofcases;
|
|
3083
|
-
|
|
3084
|
-
|
|
3379
|
+
|
|
3380
|
+
UPB_INLINE envoy_config_core_v3_TransportSocket_config_type_oneofcases
|
|
3381
|
+
envoy_config_core_v3_TransportSocket_config_type_case(const envoy_config_core_v3_TransportSocket* msg) {
|
|
3382
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
3085
3383
|
return (envoy_config_core_v3_TransportSocket_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
3086
3384
|
UPB_UPCAST(msg), &field);
|
|
3087
3385
|
}
|
|
3088
3386
|
UPB_INLINE void envoy_config_core_v3_TransportSocket_clear_config_type(envoy_config_core_v3_TransportSocket* msg) {
|
|
3089
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9,
|
|
3387
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
3090
3388
|
upb_Message_ClearOneof(UPB_UPCAST(msg), &envoy__config__core__v3__TransportSocket_msg_init, &field);
|
|
3091
3389
|
}
|
|
3092
3390
|
UPB_INLINE void envoy_config_core_v3_TransportSocket_clear_name(envoy_config_core_v3_TransportSocket* msg) {
|
|
@@ -3102,33 +3400,34 @@ UPB_INLINE upb_StringView envoy_config_core_v3_TransportSocket_name(const envoy_
|
|
|
3102
3400
|
return ret;
|
|
3103
3401
|
}
|
|
3104
3402
|
UPB_INLINE void envoy_config_core_v3_TransportSocket_clear_typed_config(envoy_config_core_v3_TransportSocket* msg) {
|
|
3105
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9,
|
|
3403
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
3106
3404
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
3107
3405
|
}
|
|
3108
3406
|
UPB_INLINE const struct google_protobuf_Any* envoy_config_core_v3_TransportSocket_typed_config(const envoy_config_core_v3_TransportSocket* msg) {
|
|
3109
3407
|
const struct google_protobuf_Any* default_val = NULL;
|
|
3110
3408
|
const struct google_protobuf_Any* ret;
|
|
3111
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9,
|
|
3409
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
3112
3410
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Any_msg_init);
|
|
3113
3411
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
3114
3412
|
&default_val, &ret);
|
|
3115
3413
|
return ret;
|
|
3116
3414
|
}
|
|
3117
3415
|
UPB_INLINE bool envoy_config_core_v3_TransportSocket_has_typed_config(const envoy_config_core_v3_TransportSocket* msg) {
|
|
3118
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9,
|
|
3416
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
3119
3417
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
3120
3418
|
}
|
|
3121
3419
|
|
|
3122
|
-
UPB_INLINE void envoy_config_core_v3_TransportSocket_set_name(envoy_config_core_v3_TransportSocket
|
|
3420
|
+
UPB_INLINE void envoy_config_core_v3_TransportSocket_set_name(envoy_config_core_v3_TransportSocket* msg, upb_StringView value) {
|
|
3123
3421
|
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
3124
|
-
upb_Message_SetBaseField((upb_Message
|
|
3422
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
3125
3423
|
}
|
|
3126
|
-
UPB_INLINE void envoy_config_core_v3_TransportSocket_set_typed_config(envoy_config_core_v3_TransportSocket
|
|
3127
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9,
|
|
3424
|
+
UPB_INLINE void envoy_config_core_v3_TransportSocket_set_typed_config(envoy_config_core_v3_TransportSocket* msg, struct google_protobuf_Any* value) {
|
|
3425
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
3128
3426
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__Any_msg_init);
|
|
3129
|
-
upb_Message_SetBaseField((upb_Message
|
|
3427
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
3130
3428
|
}
|
|
3131
|
-
UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_TransportSocket_mutable_typed_config(
|
|
3429
|
+
UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_TransportSocket_mutable_typed_config(
|
|
3430
|
+
envoy_config_core_v3_TransportSocket* msg, upb_Arena* arena) {
|
|
3132
3431
|
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_core_v3_TransportSocket_typed_config(msg);
|
|
3133
3432
|
if (sub == NULL) {
|
|
3134
3433
|
sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena);
|
|
@@ -3138,56 +3437,58 @@ UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_TransportSocket_muta
|
|
|
3138
3437
|
}
|
|
3139
3438
|
|
|
3140
3439
|
/* envoy.config.core.v3.RuntimeFractionalPercent */
|
|
3141
|
-
|
|
3142
3440
|
UPB_INLINE envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_core_v3_RuntimeFractionalPercent_new(upb_Arena* arena) {
|
|
3143
3441
|
return (envoy_config_core_v3_RuntimeFractionalPercent*)_upb_Message_New(&envoy__config__core__v3__RuntimeFractionalPercent_msg_init, arena);
|
|
3144
3442
|
}
|
|
3145
|
-
UPB_INLINE envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_core_v3_RuntimeFractionalPercent_parse(const char* buf, size_t size,
|
|
3443
|
+
UPB_INLINE envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_core_v3_RuntimeFractionalPercent_parse(const char* buf, size_t size,
|
|
3444
|
+
upb_Arena* arena) {
|
|
3146
3445
|
envoy_config_core_v3_RuntimeFractionalPercent* ret = envoy_config_core_v3_RuntimeFractionalPercent_new(arena);
|
|
3147
3446
|
if (!ret) return NULL;
|
|
3148
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, NULL, 0,
|
|
3149
|
-
|
|
3447
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, NULL, 0,
|
|
3448
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
3150
3449
|
return NULL;
|
|
3151
3450
|
}
|
|
3152
3451
|
return ret;
|
|
3153
3452
|
}
|
|
3154
|
-
UPB_INLINE envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_core_v3_RuntimeFractionalPercent_parse_ex(
|
|
3155
|
-
|
|
3156
|
-
|
|
3453
|
+
UPB_INLINE envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_core_v3_RuntimeFractionalPercent_parse_ex(
|
|
3454
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
3455
|
+
int options, upb_Arena* arena) {
|
|
3157
3456
|
envoy_config_core_v3_RuntimeFractionalPercent* ret = envoy_config_core_v3_RuntimeFractionalPercent_new(arena);
|
|
3158
3457
|
if (!ret) return NULL;
|
|
3159
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, extreg,
|
|
3160
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
3458
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, extreg,
|
|
3459
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
3161
3460
|
return NULL;
|
|
3162
3461
|
}
|
|
3163
3462
|
return ret;
|
|
3164
3463
|
}
|
|
3165
|
-
UPB_INLINE char* envoy_config_core_v3_RuntimeFractionalPercent_serialize(const envoy_config_core_v3_RuntimeFractionalPercent* msg,
|
|
3464
|
+
UPB_INLINE char* envoy_config_core_v3_RuntimeFractionalPercent_serialize(const envoy_config_core_v3_RuntimeFractionalPercent* msg,
|
|
3465
|
+
upb_Arena* arena, size_t* len) {
|
|
3166
3466
|
char* ptr;
|
|
3167
3467
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, 0, arena, &ptr, len);
|
|
3168
3468
|
return ptr;
|
|
3169
3469
|
}
|
|
3170
|
-
UPB_INLINE char* envoy_config_core_v3_RuntimeFractionalPercent_serialize_ex(const envoy_config_core_v3_RuntimeFractionalPercent* msg,
|
|
3171
|
-
|
|
3470
|
+
UPB_INLINE char* envoy_config_core_v3_RuntimeFractionalPercent_serialize_ex(const envoy_config_core_v3_RuntimeFractionalPercent* msg,
|
|
3471
|
+
int options, upb_Arena* arena,
|
|
3472
|
+
size_t* len) {
|
|
3172
3473
|
char* ptr;
|
|
3173
3474
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, options, arena, &ptr, len);
|
|
3174
3475
|
return ptr;
|
|
3175
3476
|
}
|
|
3176
3477
|
UPB_INLINE void envoy_config_core_v3_RuntimeFractionalPercent_clear_default_value(envoy_config_core_v3_RuntimeFractionalPercent* msg) {
|
|
3177
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
3478
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
3178
3479
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
3179
3480
|
}
|
|
3180
3481
|
UPB_INLINE const struct envoy_type_v3_FractionalPercent* envoy_config_core_v3_RuntimeFractionalPercent_default_value(const envoy_config_core_v3_RuntimeFractionalPercent* msg) {
|
|
3181
3482
|
const struct envoy_type_v3_FractionalPercent* default_val = NULL;
|
|
3182
3483
|
const struct envoy_type_v3_FractionalPercent* ret;
|
|
3183
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
3484
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
3184
3485
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__type__v3__FractionalPercent_msg_init);
|
|
3185
3486
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
3186
3487
|
&default_val, &ret);
|
|
3187
3488
|
return ret;
|
|
3188
3489
|
}
|
|
3189
3490
|
UPB_INLINE bool envoy_config_core_v3_RuntimeFractionalPercent_has_default_value(const envoy_config_core_v3_RuntimeFractionalPercent* msg) {
|
|
3190
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
3491
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
3191
3492
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
3192
3493
|
}
|
|
3193
3494
|
UPB_INLINE void envoy_config_core_v3_RuntimeFractionalPercent_clear_runtime_key(envoy_config_core_v3_RuntimeFractionalPercent* msg) {
|
|
@@ -3203,12 +3504,13 @@ UPB_INLINE upb_StringView envoy_config_core_v3_RuntimeFractionalPercent_runtime_
|
|
|
3203
3504
|
return ret;
|
|
3204
3505
|
}
|
|
3205
3506
|
|
|
3206
|
-
UPB_INLINE void envoy_config_core_v3_RuntimeFractionalPercent_set_default_value(envoy_config_core_v3_RuntimeFractionalPercent
|
|
3207
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
3507
|
+
UPB_INLINE void envoy_config_core_v3_RuntimeFractionalPercent_set_default_value(envoy_config_core_v3_RuntimeFractionalPercent* msg, struct envoy_type_v3_FractionalPercent* value) {
|
|
3508
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
3208
3509
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__type__v3__FractionalPercent_msg_init);
|
|
3209
|
-
upb_Message_SetBaseField((upb_Message
|
|
3510
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
3210
3511
|
}
|
|
3211
|
-
UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_config_core_v3_RuntimeFractionalPercent_mutable_default_value(
|
|
3512
|
+
UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_config_core_v3_RuntimeFractionalPercent_mutable_default_value(
|
|
3513
|
+
envoy_config_core_v3_RuntimeFractionalPercent* msg, upb_Arena* arena) {
|
|
3212
3514
|
struct envoy_type_v3_FractionalPercent* sub = (struct envoy_type_v3_FractionalPercent*)envoy_config_core_v3_RuntimeFractionalPercent_default_value(msg);
|
|
3213
3515
|
if (sub == NULL) {
|
|
3214
3516
|
sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy__type__v3__FractionalPercent_msg_init, arena);
|
|
@@ -3216,43 +3518,45 @@ UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_config_core_v3_RuntimeF
|
|
|
3216
3518
|
}
|
|
3217
3519
|
return sub;
|
|
3218
3520
|
}
|
|
3219
|
-
UPB_INLINE void envoy_config_core_v3_RuntimeFractionalPercent_set_runtime_key(envoy_config_core_v3_RuntimeFractionalPercent
|
|
3521
|
+
UPB_INLINE void envoy_config_core_v3_RuntimeFractionalPercent_set_runtime_key(envoy_config_core_v3_RuntimeFractionalPercent* msg, upb_StringView value) {
|
|
3220
3522
|
const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
3221
|
-
upb_Message_SetBaseField((upb_Message
|
|
3523
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
3222
3524
|
}
|
|
3223
3525
|
|
|
3224
3526
|
/* envoy.config.core.v3.ControlPlane */
|
|
3225
|
-
|
|
3226
3527
|
UPB_INLINE envoy_config_core_v3_ControlPlane* envoy_config_core_v3_ControlPlane_new(upb_Arena* arena) {
|
|
3227
3528
|
return (envoy_config_core_v3_ControlPlane*)_upb_Message_New(&envoy__config__core__v3__ControlPlane_msg_init, arena);
|
|
3228
3529
|
}
|
|
3229
|
-
UPB_INLINE envoy_config_core_v3_ControlPlane* envoy_config_core_v3_ControlPlane_parse(const char* buf, size_t size,
|
|
3530
|
+
UPB_INLINE envoy_config_core_v3_ControlPlane* envoy_config_core_v3_ControlPlane_parse(const char* buf, size_t size,
|
|
3531
|
+
upb_Arena* arena) {
|
|
3230
3532
|
envoy_config_core_v3_ControlPlane* ret = envoy_config_core_v3_ControlPlane_new(arena);
|
|
3231
3533
|
if (!ret) return NULL;
|
|
3232
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__ControlPlane_msg_init, NULL, 0,
|
|
3233
|
-
|
|
3534
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__ControlPlane_msg_init, NULL, 0,
|
|
3535
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
3234
3536
|
return NULL;
|
|
3235
3537
|
}
|
|
3236
3538
|
return ret;
|
|
3237
3539
|
}
|
|
3238
|
-
UPB_INLINE envoy_config_core_v3_ControlPlane* envoy_config_core_v3_ControlPlane_parse_ex(
|
|
3239
|
-
|
|
3240
|
-
|
|
3540
|
+
UPB_INLINE envoy_config_core_v3_ControlPlane* envoy_config_core_v3_ControlPlane_parse_ex(
|
|
3541
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
3542
|
+
int options, upb_Arena* arena) {
|
|
3241
3543
|
envoy_config_core_v3_ControlPlane* ret = envoy_config_core_v3_ControlPlane_new(arena);
|
|
3242
3544
|
if (!ret) return NULL;
|
|
3243
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__ControlPlane_msg_init, extreg,
|
|
3244
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
3545
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__core__v3__ControlPlane_msg_init, extreg,
|
|
3546
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
3245
3547
|
return NULL;
|
|
3246
3548
|
}
|
|
3247
3549
|
return ret;
|
|
3248
3550
|
}
|
|
3249
|
-
UPB_INLINE char* envoy_config_core_v3_ControlPlane_serialize(const envoy_config_core_v3_ControlPlane* msg,
|
|
3551
|
+
UPB_INLINE char* envoy_config_core_v3_ControlPlane_serialize(const envoy_config_core_v3_ControlPlane* msg,
|
|
3552
|
+
upb_Arena* arena, size_t* len) {
|
|
3250
3553
|
char* ptr;
|
|
3251
3554
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__ControlPlane_msg_init, 0, arena, &ptr, len);
|
|
3252
3555
|
return ptr;
|
|
3253
3556
|
}
|
|
3254
|
-
UPB_INLINE char* envoy_config_core_v3_ControlPlane_serialize_ex(const envoy_config_core_v3_ControlPlane* msg,
|
|
3255
|
-
|
|
3557
|
+
UPB_INLINE char* envoy_config_core_v3_ControlPlane_serialize_ex(const envoy_config_core_v3_ControlPlane* msg,
|
|
3558
|
+
int options, upb_Arena* arena,
|
|
3559
|
+
size_t* len) {
|
|
3256
3560
|
char* ptr;
|
|
3257
3561
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__core__v3__ControlPlane_msg_init, options, arena, &ptr, len);
|
|
3258
3562
|
return ptr;
|
|
@@ -3270,15 +3574,15 @@ UPB_INLINE upb_StringView envoy_config_core_v3_ControlPlane_identifier(const env
|
|
|
3270
3574
|
return ret;
|
|
3271
3575
|
}
|
|
3272
3576
|
|
|
3273
|
-
UPB_INLINE void envoy_config_core_v3_ControlPlane_set_identifier(envoy_config_core_v3_ControlPlane
|
|
3577
|
+
UPB_INLINE void envoy_config_core_v3_ControlPlane_set_identifier(envoy_config_core_v3_ControlPlane* msg, upb_StringView value) {
|
|
3274
3578
|
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
3275
|
-
upb_Message_SetBaseField((upb_Message
|
|
3579
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
3276
3580
|
}
|
|
3277
3581
|
|
|
3278
3582
|
#ifdef __cplusplus
|
|
3279
|
-
}
|
|
3583
|
+
} /* extern "C" */
|
|
3280
3584
|
#endif
|
|
3281
3585
|
|
|
3282
3586
|
#include "upb/port/undef.inc"
|
|
3283
3587
|
|
|
3284
|
-
#endif
|
|
3588
|
+
#endif /* ENVOY_CONFIG_CORE_V3_BASE_PROTO_UPB_H__UPB_H_ */
|