grpc 1.81.0 → 1.82.0.pre1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Makefile +12 -9
- data/include/grpc/grpc.h +6 -7
- data/include/grpc/impl/channel_arg_names.h +3 -1
- data/src/core/call/call_filters.h +2 -2
- data/src/core/call/client_call.cc +1 -1
- data/src/core/call/interception_chain.h +6 -9
- data/src/core/call/metadata.h +1 -1
- data/src/core/call/metadata_batch.cc +1 -1
- data/src/core/call/metadata_batch.h +17 -1
- data/src/core/call/parsed_metadata.h +7 -2
- data/src/core/call/server_call.cc +4 -2
- data/src/core/call/server_call.h +9 -2
- data/src/core/call/status_util.cc +0 -4
- data/src/core/call/status_util.h +0 -3
- data/src/core/channelz/channel_trace.cc +3 -1
- data/src/core/client_channel/backup_poller.cc +1 -1
- data/src/core/client_channel/client_channel.cc +6 -14
- data/src/core/client_channel/client_channel.h +2 -2
- data/src/core/client_channel/client_channel_filter.cc +8 -17
- data/src/core/client_channel/client_channel_filter.h +2 -2
- data/src/core/client_channel/client_channel_plugin.cc +1 -1
- data/src/core/client_channel/config_selector.h +2 -7
- data/src/core/client_channel/dynamic_filters.cc +4 -7
- data/src/core/client_channel/dynamic_filters.h +1 -3
- data/src/core/client_channel/retry_filter.cc +2 -25
- data/src/core/client_channel/retry_filter.h +3 -7
- data/src/core/client_channel/retry_filter_legacy_call_data.cc +1 -1
- data/src/core/client_channel/retry_filter_legacy_call_data.h +2 -2
- data/src/core/client_channel/retry_interceptor.cc +7 -35
- data/src/core/client_channel/retry_interceptor.h +11 -14
- data/src/core/client_channel/retry_service_config.cc +0 -2
- data/src/core/client_channel/retry_service_config.h +0 -2
- data/src/core/client_channel/retry_throttle.cc +19 -7
- data/src/core/client_channel/retry_throttle.h +24 -7
- data/src/core/client_channel/subchannel.cc +1 -1
- data/src/core/credentials/call/external/external_account_credentials.cc +125 -12
- data/src/core/credentials/call/external/external_account_credentials.h +6 -1
- data/src/core/credentials/call/jwt/jwt_credentials.cc +11 -1
- data/src/core/credentials/call/jwt/jwt_credentials.h +3 -0
- data/src/core/credentials/call/oauth2/oauth2_credentials.cc +64 -11
- data/src/core/credentials/call/oauth2/oauth2_credentials.h +0 -1
- data/src/core/credentials/call/regional_access_boundary_fetcher.cc +411 -0
- data/src/core/credentials/call/regional_access_boundary_fetcher.h +158 -0
- data/src/core/credentials/call/token_fetcher/token_fetcher_credentials.cc +1 -1
- data/src/core/credentials/call/token_fetcher/token_fetcher_credentials.h +7 -1
- data/src/core/credentials/transport/insecure/insecure_security_connector.h +1 -1
- data/src/core/credentials/transport/local/local_security_connector.cc +1 -1
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +6 -0
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +28 -66
- data/src/core/ext/filters/fault_injection/fault_injection_filter.h +0 -8
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.cc +24 -58
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.h +24 -19
- data/src/core/ext/filters/message_size/message_size_filter.cc +1 -81
- data/src/core/ext/filters/message_size/message_size_filter.h +1 -50
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +13 -56
- data/src/core/ext/filters/stateful_session/stateful_session_filter.h +0 -14
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +1 -1
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +175 -51
- data/src/core/ext/transport/chttp2/server/chttp2_server.h +10 -1
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +73 -6
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +1 -0
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/flow_control.h +11 -0
- data/src/core/ext/transport/chttp2/transport/flow_control_manager.h +2 -4
- data/src/core/ext/transport/chttp2/transport/frame.cc +63 -13
- data/src/core/ext/transport/chttp2/transport/frame.h +45 -10
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +4 -1
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +11 -3
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +4 -1
- data/src/core/ext/transport/chttp2/transport/header_assembler.h +54 -22
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +53 -5
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +22 -0
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +20 -0
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +33 -1
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +4 -1
- data/src/core/ext/transport/chttp2/transport/http2_client_transport.cc +118 -157
- data/src/core/ext/transport/chttp2/transport/http2_client_transport.h +6 -13
- data/src/core/ext/transport/chttp2/transport/http2_server_transport.cc +2187 -0
- data/src/core/ext/transport/chttp2/transport/http2_server_transport.h +748 -0
- data/src/core/ext/transport/chttp2/transport/http2_settings.h +19 -4
- data/src/core/ext/transport/chttp2/transport/http2_settings_manager.h +0 -2
- data/src/core/ext/transport/chttp2/transport/http2_settings_promises.h +50 -17
- data/src/core/ext/transport/chttp2/transport/http2_transport.cc +13 -15
- data/src/core/ext/transport/chttp2/transport/http2_transport.h +16 -48
- data/src/core/ext/transport/chttp2/transport/internal.h +14 -0
- data/src/core/ext/transport/chttp2/transport/message_assembler.h +1 -2
- data/src/core/ext/transport/chttp2/transport/parsing.cc +82 -24
- data/src/core/ext/transport/chttp2/transport/read_context.h +452 -0
- data/src/core/ext/transport/chttp2/transport/security_frame.h +12 -3
- data/src/core/ext/transport/chttp2/transport/stream.h +25 -26
- data/src/core/ext/transport/chttp2/transport/stream_data_queue.h +6 -4
- data/src/core/ext/transport/chttp2/transport/write_cycle.h +9 -1
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +16 -2
- data/src/core/ext/upb-gen/cel/expr/checked.upb.h +621 -432
- data/src/core/ext/upb-gen/cel/expr/checked.upb_minitable.c +264 -166
- data/src/core/ext/upb-gen/cel/expr/checked.upb_minitable.h +0 -13
- data/src/core/ext/upb-gen/cel/expr/syntax.upb.h +708 -497
- data/src/core/ext/upb-gen/cel/expr/syntax.upb_minitable.c +294 -176
- data/src/core/ext/upb-gen/cel/expr/syntax.upb_minitable.h +0 -15
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +262 -181
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +84 -58
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +254 -190
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +107 -53
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +271 -190
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +88 -64
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +1035 -730
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +384 -260
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +0 -19
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +87 -56
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +26 -16
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +105 -71
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +30 -22
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +31 -29
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +19 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +25 -23
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +25 -23
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +201 -165
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +79 -31
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +29 -26
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +46 -29
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +37 -19
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +4 -4
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +34 -27
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +34 -13
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +617 -452
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +221 -163
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +0 -16
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +1339 -970
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +484 -324
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +0 -23
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +181 -135
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +59 -43
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +1353 -1028
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +535 -361
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +0 -25
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +37 -33
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +19 -13
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +234 -196
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +77 -57
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +695 -502
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +246 -186
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +0 -15
- data/src/core/ext/upb-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upb.h +140 -116
- data/src/core/ext/upb-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upb_minitable.c +53 -43
- data/src/core/ext/upb-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +363 -269
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +131 -89
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +35 -31
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +1073 -769
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +515 -293
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +0 -30
- data/src/core/ext/upb-gen/envoy/config/core/v3/cel.upb.h +25 -23
- data/src/core/ext/upb-gen/envoy/config/core/v3/cel.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/cel.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +375 -267
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +142 -86
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +0 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +32 -27
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +29 -26
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +87 -56
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +26 -16
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +634 -468
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +255 -161
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +0 -14
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +672 -474
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +228 -130
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +0 -9
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +56 -40
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +34 -29
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +811 -635
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +347 -221
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +0 -16
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +174 -118
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +62 -38
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +78 -57
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +28 -18
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_cmsg_headers.upb.h +37 -33
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_cmsg_headers.upb_minitable.c +22 -14
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_cmsg_headers.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +159 -119
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +47 -35
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +101 -76
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +41 -23
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +35 -31
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +189 -127
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +79 -49
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +378 -283
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +156 -98
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +354 -255
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +125 -69
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +0 -6
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +611 -451
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +159 -119
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +0 -11
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +468 -321
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +157 -99
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +0 -6
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +146 -119
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +55 -35
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +61 -51
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +43 -39
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +25 -13
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +341 -247
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +130 -84
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +452 -313
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +144 -100
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +0 -10
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +666 -493
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +251 -181
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +0 -12
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +327 -197
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +92 -48
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +3583 -2532
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +1340 -816
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +0 -60
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +111 -82
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +48 -28
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +548 -410
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +214 -148
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +0 -12
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +59 -50
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +30 -20
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +29 -26
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +60 -49
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +28 -20
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +50 -36
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +82 -63
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +27 -19
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +70 -58
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +32 -22
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +2 -5
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +73 -62
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +39 -25
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +49 -45
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +33 -13
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +771 -588
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +383 -185
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +0 -16
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +66 -47
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +31 -17
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/common/matching/v3/extension_matcher.upb.h +69 -58
- data/src/core/ext/upb-gen/envoy/extensions/common/matching/v3/extension_matcher.upb_minitable.c +27 -23
- data/src/core/ext/upb-gen/envoy/extensions/common/matching/v3/extension_matcher.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +151 -119
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +45 -39
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/matcher/action/v3/skip_action.upb.h +19 -17
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/matcher/action/v3/skip_action.upb_minitable.c +1 -3
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/matcher/action/v3/skip_action.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/composite/v3/composite.upb.h +144 -109
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/composite/v3/composite.upb_minitable.c +46 -38
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/composite/v3/composite.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +184 -139
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +65 -35
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb.h +129 -106
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb_minitable.c +69 -41
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +83 -71
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +40 -26
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +148 -101
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +45 -27
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +62 -51
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +35 -21
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +1362 -1024
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +508 -336
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +0 -22
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/call_credentials/access_token/v3/access_token_credentials.upb.h +21 -19
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/call_credentials/access_token/v3/access_token_credentials.upb_minitable.c +13 -7
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/call_credentials/access_token/v3/access_token_credentials.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/tls/v3/tls_credentials.upb.h +35 -31
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/tls/v3/tls_credentials.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/tls/v3/tls_credentials.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/xds/v3/xds_credentials.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/xds/v3/xds_credentials.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/xds/v3/xds_credentials.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +94 -74
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +35 -23
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +231 -179
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +88 -66
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +0 -6
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +21 -19
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +13 -7
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +63 -56
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +31 -19
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +2 -5
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +538 -364
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +157 -95
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +150 -110
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +69 -49
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +517 -389
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +182 -116
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +0 -7
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +84 -62
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +30 -22
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +340 -256
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +92 -82
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +19 -17
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +1 -3
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +857 -566
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +288 -182
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +0 -15
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +105 -72
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +36 -22
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +312 -226
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +132 -78
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +82 -61
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +35 -19
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +123 -89
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +25 -25
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/address.upb.h +48 -33
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/address.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/address.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +42 -36
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +19 -13
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +101 -79
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +61 -31
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +83 -60
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +37 -19
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +56 -40
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +34 -29
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +32 -27
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +88 -71
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +48 -30
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +37 -30
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +1 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +95 -71
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +36 -22
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +79 -56
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +26 -18
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +164 -124
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +54 -40
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +200 -147
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +47 -41
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +0 -7
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +160 -130
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +89 -47
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +78 -62
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +26 -20
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +2 -5
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +21 -19
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +13 -7
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +43 -36
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +22 -12
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +67 -55
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +36 -18
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +62 -51
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +33 -19
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +2 -5
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +25 -23
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +37 -33
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +19 -13
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/api/annotations.upb.h +15 -13
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +22 -7
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +1 -1
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +619 -430
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +260 -168
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +0 -13
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +734 -518
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +312 -182
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +0 -16
- data/src/core/ext/upb-gen/google/api/http.upb.h +146 -105
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +65 -29
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/google/api/httpbody.upb.h +52 -37
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/any.upb.h +23 -21
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +2236 -1514
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +824 -406
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +0 -34
- data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +23 -21
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +19 -17
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +1 -3
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +149 -100
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +59 -43
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +23 -21
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +181 -139
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +99 -53
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +0 -9
- data/src/core/ext/upb-gen/google/rpc/status.upb.h +52 -37
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/channelz.upb.h +1553 -1157
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/channelz.upb_minitable.c +712 -410
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/channelz.upb_minitable.h +0 -39
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/channelz.upb.h +189 -125
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/channelz.upb_minitable.c +59 -35
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/channelz.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/promise.upb.h +454 -343
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/promise.upb_minitable.c +204 -130
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/promise.upb_minitable.h +0 -11
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/property_list.upb.h +369 -243
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/property_list.upb_minitable.c +109 -79
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/property_list.upb_minitable.h +0 -7
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/service.upb.h +256 -175
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/service.upb_minitable.c +122 -68
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/service.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +71 -51
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +39 -19
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +583 -407
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +259 -145
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +0 -12
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +114 -84
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +52 -30
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +41 -34
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +25 -13
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +309 -230
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +123 -79
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +0 -9
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +98 -63
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +51 -23
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +505 -312
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +159 -87
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +0 -9
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +128 -91
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +82 -41
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +5 -8
- data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +36 -29
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +36 -13
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +13 -11
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +22 -7
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +1 -1
- data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +36 -29
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +36 -13
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +34 -27
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +34 -13
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/validate/validate.upb.h +1682 -1130
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +587 -247
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +4 -27
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +128 -91
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +82 -41
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +5 -8
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +36 -29
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +36 -13
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +13 -11
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +22 -7
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +1 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +122 -90
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +82 -39
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +3 -7
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +34 -27
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +34 -13
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +21 -19
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +13 -7
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +29 -26
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +70 -58
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +32 -22
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +53 -34
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +26 -16
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +29 -26
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +37 -33
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +22 -14
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +102 -76
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +43 -23
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +33 -30
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +136 -83
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +41 -33
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +46 -32
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +20 -12
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +29 -26
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +20 -12
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +93 -61
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +28 -20
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +19 -17
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +1 -3
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +105 -71
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +32 -22
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +430 -314
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +153 -123
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +0 -10
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +307 -199
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +74 -62
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +0 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +52 -42
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +19 -13
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +95 -71
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +36 -22
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +92 -77
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +42 -28
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +67 -55
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +36 -18
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +29 -26
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +0 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +885 -855
- data/src/core/filter/composite/composite_filter.cc +10 -3
- data/src/core/filter/composite/composite_filter.h +11 -1
- data/src/core/filter/filter_args.h +4 -22
- data/src/core/handshaker/handshaker.cc +10 -2
- data/src/core/handshaker/security/secure_endpoint.cc +73 -5
- data/src/core/lib/channel/channel_args.h +12 -6
- data/src/core/lib/channel/channel_stack.cc +1 -2
- data/src/core/lib/channel/channel_stack.h +1 -7
- data/src/core/lib/channel/channel_stack_builder_impl.cc +1 -1
- data/src/core/lib/channel/channel_stack_builder_impl.h +0 -7
- data/src/core/lib/channel/promise_based_filter.cc +13 -1
- data/src/core/lib/channel/promise_based_filter.h +4 -5
- data/src/core/lib/event_engine/extensions/chaotic_good_extension.h +0 -13
- data/src/core/lib/event_engine/extensions/receive_coalescing_extension.h +48 -0
- data/src/core/lib/event_engine/posix.h +2 -0
- data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc +2 -1
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +11 -8
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +7 -6
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +1 -1
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +2 -1
- data/src/core/lib/event_engine/posix_engine/posix_interface_posix.cc +10 -10
- data/src/core/lib/event_engine/posix_engine/posix_write_event_sink.h +1 -1
- data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +1 -1
- data/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc +5 -4
- data/src/core/lib/experiments/experiments.cc +261 -90
- data/src/core/lib/experiments/experiments.h +136 -35
- data/src/core/lib/iomgr/buffer_list.h +1 -1
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +1 -1
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +2 -2
- data/src/core/lib/iomgr/tcp_posix.cc +2 -1
- data/src/core/lib/iomgr/tcp_server_posix.cc +3 -3
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +1 -1
- data/src/core/lib/promise/detail/promise_factory.h +8 -8
- data/src/core/lib/promise/interceptor_list.h +1 -1
- data/src/core/lib/promise/try_seq.h +2 -2
- data/src/core/lib/resource_quota/telemetry.cc +54 -0
- data/src/core/lib/resource_quota/telemetry.h +5 -23
- data/src/core/lib/surface/call.cc +6 -1
- data/src/core/lib/surface/call.h +9 -0
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/promise_endpoint.h +7 -5
- data/src/core/lib/transport/transport.h +31 -4
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +146 -74
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.h +88 -0
- data/src/core/mitigation_engine/mitigation_engine.h +81 -0
- data/src/core/plugin_registry/grpc_plugin_registry.cc +0 -2
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -5
- data/src/core/resolver/xds/xds_resolver.cc +23 -133
- data/src/core/server/server.cc +40 -18
- data/src/core/server/server.h +25 -14
- data/src/core/server/server_config_selector_filter.cc +122 -0
- data/src/core/server/server_config_selector_filter.h +1 -0
- data/src/core/server/xds_server_config_fetcher.cc +6 -0
- data/src/core/server/xds_server_config_fetcher_legacy.cc +1333 -0
- data/src/core/telemetry/histogram.h +10 -89
- data/src/core/telemetry/instrument.h +42 -28
- data/src/core/transport/message_size_service_config.cc +123 -0
- data/src/core/transport/message_size_service_config.h +85 -0
- data/src/core/transport/session_endpoint.cc +29 -4
- data/src/core/transport/session_endpoint.h +4 -0
- data/src/core/tsi/alts/crypt/gsec.h +4 -2
- data/src/core/tsi/ssl_transport_security.cc +6 -4
- data/src/core/util/http_client/parser.cc +1 -1
- data/src/core/util/lru_cache.h +2 -0
- data/src/core/util/ref_counted_string.h +1 -1
- data/src/core/util/tchar.cc +13 -7
- data/src/core/util/trie_lookup.h +1 -1
- data/src/core/xds/grpc/blackboard.cc +58 -0
- data/src/core/{filter → xds/grpc}/blackboard.h +30 -11
- data/src/core/xds/grpc/xds_client_grpc.cc +14 -1
- data/src/core/xds/grpc/xds_client_grpc.h +1 -0
- data/src/core/xds/grpc/xds_common_types.cc +40 -0
- data/src/core/xds/grpc/xds_common_types.h +13 -0
- data/src/core/xds/grpc/xds_common_types_parser.cc +37 -34
- data/src/core/xds/grpc/xds_endpoint_parser.cc +1 -1
- data/src/core/xds/grpc/xds_http_composite_filter.cc +34 -18
- data/src/core/xds/grpc/xds_http_composite_filter.h +6 -3
- data/src/core/xds/grpc/xds_http_fault_filter.cc +0 -149
- data/src/core/xds/grpc/xds_http_fault_filter.h +19 -8
- data/src/core/xds/grpc/xds_http_filter.cc +2 -1
- data/src/core/xds/grpc/xds_http_filter.h +6 -16
- data/src/core/xds/grpc/xds_http_filter_registry.cc +0 -2
- data/src/core/xds/grpc/xds_http_gcp_authn_filter.cc +25 -119
- data/src/core/xds/grpc/xds_http_gcp_authn_filter.h +27 -15
- data/src/core/xds/grpc/xds_http_stateful_session_filter.cc +0 -149
- data/src/core/xds/grpc/xds_http_stateful_session_filter.h +19 -8
- data/src/core/xds/grpc/xds_lb_policy_registry.cc +18 -0
- data/src/core/xds/grpc/xds_listener_parser.cc +13 -9
- data/src/core/xds/grpc/xds_route_config.h +1 -1
- data/src/core/xds/grpc/xds_route_config_parser.cc +3 -5
- data/src/core/xds/grpc/xds_routing.cc +5 -11
- data/src/core/xds/grpc/xds_routing.h +2 -3
- data/src/core/xds/xds_client/lrs_client.cc +2 -2
- data/src/ruby/ext/grpc/rb_byte_buffer.c +1 -0
- data/src/ruby/ext/grpc/rb_call.c +3 -0
- data/src/ruby/ext/grpc/rb_call_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_channel.c +1 -0
- data/src/ruby/ext/grpc/rb_channel_args.c +1 -0
- data/src/ruby/ext/grpc/rb_channel_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_completion_queue.c +1 -0
- data/src/ruby/ext/grpc/rb_compression_options.c +1 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +4 -4
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +6 -6
- data/src/ruby/ext/grpc/rb_server.c +1 -0
- data/src/ruby/ext/grpc/rb_server_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_xds_server_credentials.c +1 -0
- data/src/ruby/lib/grpc/core/call_credentials.rb +86 -0
- data/src/ruby/lib/grpc/core/channel_credentials.rb +69 -0
- data/src/ruby/lib/grpc/core/credentials_helper.rb +126 -0
- data/src/ruby/lib/grpc/generic/client_stub.rb +86 -73
- data/src/ruby/lib/grpc/generic/interceptors.rb +1 -1
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/lib/grpc.rb +25 -0
- data/src/ruby/spec/call_credentials_spec.rb +52 -2
- data/src/ruby/spec/credentials_helper_spec.rb +80 -0
- data/src/ruby/spec/generic/client_stub_spec.rb +27 -4
- data/src/ruby/spec/generic/server_interceptors_spec.rb +17 -3
- data/third_party/upb/upb/base/error_handler.h +79 -0
- data/third_party/upb/upb/base/internal/log2.h +29 -5
- data/third_party/upb/upb/generated_code_support.h +1 -0
- data/third_party/upb/upb/hash/common.c +129 -14
- data/third_party/upb/upb/hash/common.h +1 -1
- data/third_party/upb/upb/hash/ext_table.h +65 -0
- data/third_party/upb/upb/lex/strtod.c +14 -5
- data/third_party/upb/upb/mem/arena.c +113 -95
- data/third_party/upb/upb/mem/internal/arena.h +13 -8
- data/third_party/upb/upb/message/accessors.c +2 -3
- data/third_party/upb/upb/message/accessors.h +32 -12
- data/third_party/upb/upb/message/array.c +51 -2
- data/third_party/upb/upb/message/array.h +10 -0
- data/third_party/upb/upb/message/copy.c +18 -34
- data/third_party/upb/upb/message/internal/accessors.h +15 -49
- data/third_party/upb/upb/message/internal/array.h +1 -1
- data/third_party/upb/upb/message/internal/map.h +1 -1
- data/third_party/upb/upb/message/internal/message.c +8 -1
- data/third_party/upb/upb/message/internal/message.h +40 -10
- data/third_party/upb/upb/message/message.c +3 -2
- data/third_party/upb/upb/message/value.h +0 -6
- data/third_party/upb/upb/mini_descriptor/decode.c +78 -59
- data/third_party/upb/upb/mini_descriptor/link.c +8 -6
- data/third_party/upb/upb/mini_table/extension_registry.c +17 -49
- data/third_party/upb/upb/mini_table/extension_registry.h +5 -17
- data/third_party/upb/upb/mini_table/generated_registry.c +180 -0
- data/third_party/upb/upb/mini_table/generated_registry.h +66 -0
- data/third_party/upb/upb/mini_table/internal/extension.h +5 -3
- data/third_party/upb/upb/mini_table/internal/field.h +7 -5
- data/third_party/upb/upb/mini_table/internal/generated_registry.h +37 -0
- data/third_party/upb/upb/mini_table/internal/message.c +0 -18
- data/third_party/upb/upb/mini_table/internal/message.h +24 -41
- data/third_party/upb/upb/mini_table/internal/size_log2.h +2 -1
- data/third_party/upb/upb/mini_table/internal/sub.h +2 -5
- data/third_party/upb/upb/mini_table/message.h +34 -13
- data/third_party/upb/upb/port/atomic.h +180 -74
- data/third_party/upb/upb/port/def.inc +194 -29
- data/third_party/upb/upb/port/sanitizers.h +15 -0
- data/third_party/upb/upb/port/undef.inc +6 -2
- data/third_party/upb/upb/reflection/common.h +0 -6
- data/third_party/upb/upb/reflection/def.hpp +8 -12
- data/third_party/upb/upb/reflection/def_pool.c +85 -33
- data/third_party/upb/upb/reflection/def_pool.h +38 -8
- data/third_party/upb/upb/reflection/def_type.h +3 -0
- data/third_party/upb/upb/reflection/enum_def.c +45 -33
- data/third_party/upb/upb/reflection/enum_def.h +8 -4
- data/third_party/upb/upb/reflection/enum_reserved_range.c +7 -3
- data/third_party/upb/upb/reflection/enum_value_def.c +14 -29
- data/third_party/upb/upb/reflection/enum_value_def.h +5 -4
- data/third_party/upb/upb/reflection/extension_range.c +15 -14
- data/third_party/upb/upb/reflection/extension_range.h +7 -4
- data/third_party/upb/upb/reflection/field_def.c +114 -96
- data/third_party/upb/upb/reflection/field_def.h +3 -3
- data/third_party/upb/upb/reflection/file_def.c +71 -65
- data/third_party/upb/upb/reflection/file_def.h +4 -5
- data/third_party/upb/upb/reflection/internal/def_builder.c +22 -14
- data/third_party/upb/upb/reflection/internal/def_builder.h +44 -38
- data/third_party/upb/upb/reflection/internal/def_pool.h +5 -1
- data/third_party/upb/upb/reflection/internal/enum_def.h +6 -4
- data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +3 -2
- data/third_party/upb/upb/reflection/internal/enum_value_def.h +7 -4
- data/third_party/upb/upb/reflection/internal/extension_range.h +4 -3
- data/third_party/upb/upb/reflection/internal/field_def.h +15 -12
- data/third_party/upb/upb/reflection/internal/file_def.h +8 -1
- data/third_party/upb/upb/reflection/internal/message_def.h +10 -7
- data/third_party/upb/upb/reflection/internal/message_reserved_range.h +3 -1
- data/third_party/upb/upb/reflection/internal/method_def.h +6 -6
- data/third_party/upb/upb/reflection/internal/oneof_def.h +6 -6
- data/third_party/upb/upb/reflection/internal/service_def.h +9 -6
- data/third_party/upb/upb/reflection/internal/upb_edition_defaults.h +1 -1
- data/third_party/upb/upb/reflection/message_def.c +46 -53
- data/third_party/upb/upb/reflection/message_def.h +6 -7
- data/third_party/upb/upb/reflection/message_reserved_range.c +7 -6
- data/third_party/upb/upb/reflection/method_def.c +22 -20
- data/third_party/upb/upb/reflection/method_def.h +4 -4
- data/third_party/upb/upb/reflection/oneof_def.c +17 -15
- data/third_party/upb/upb/reflection/oneof_def.h +6 -3
- data/third_party/upb/upb/reflection/service_def.c +50 -23
- data/third_party/upb/upb/reflection/service_def.h +7 -4
- data/third_party/upb/upb/text/internal/encode.c +7 -10
- data/third_party/upb/upb/wire/decode.c +269 -430
- data/third_party/upb/upb/wire/decode.h +6 -45
- data/third_party/upb/upb/wire/decode_fast/combinations.h +7 -3
- data/third_party/upb/upb/wire/decode_fast/select.c +7 -2
- data/third_party/upb/upb/wire/encode.c +144 -106
- data/third_party/upb/upb/wire/encode.h +6 -2
- data/third_party/upb/upb/wire/eps_copy_input_stream.c +36 -7
- data/third_party/upb/upb/wire/eps_copy_input_stream.h +94 -380
- data/third_party/upb/upb/wire/internal/decoder.c +1 -14
- data/third_party/upb/upb/wire/internal/decoder.h +84 -24
- data/third_party/upb/upb/wire/internal/eps_copy_input_stream.h +339 -0
- data/third_party/upb/upb/wire/internal/reader.h +29 -12
- data/third_party/upb/upb/wire/reader.c +35 -22
- data/third_party/upb/upb/wire/reader.h +11 -18
- data/third_party/utf8_range/utf8_range.c +1 -1
- data/third_party/utf8_range/utf8_range.h +2 -1
- metadata +27 -13
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc +0 -117
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h +0 -109
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_service_config_parser.cc +0 -80
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_service_config_parser.h +0 -86
- data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.cc +0 -83
- data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h +0 -91
- data/src/core/ext/transport/chttp2/transport/incoming_metadata_tracker.h +0 -217
- data/src/core/filter/blackboard.cc +0 -33
- data/third_party/upb/upb/message/internal/tagged_ptr.h +0 -56
- data/third_party/upb/upb/message/tagged_ptr.h +0 -48
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
#define ENVOY_CONFIG_ENDPOINT_V3_ENDPOINT_COMPONENTS_PROTO_UPB_H__UPB_H_
|
|
11
11
|
|
|
12
12
|
#include "upb/generated_code_support.h"
|
|
13
|
-
|
|
14
13
|
#include "envoy/config/endpoint/v3/endpoint_components.upb_minitable.h"
|
|
15
|
-
|
|
16
14
|
#include "envoy/config/core/v3/address.upb_minitable.h"
|
|
17
15
|
#include "envoy/config/core/v3/base.upb_minitable.h"
|
|
18
16
|
#include "envoy/config/core/v3/config_source.upb_minitable.h"
|
|
@@ -30,15 +28,38 @@
|
|
|
30
28
|
#ifdef __cplusplus
|
|
31
29
|
extern "C" {
|
|
32
30
|
#endif
|
|
31
|
+
typedef struct envoy_config_endpoint_v3_Endpoint {
|
|
32
|
+
upb_Message UPB_PRIVATE(base);
|
|
33
|
+
} envoy_config_endpoint_v3_Endpoint;
|
|
34
|
+
|
|
35
|
+
typedef struct envoy_config_endpoint_v3_Endpoint_HealthCheckConfig {
|
|
36
|
+
upb_Message UPB_PRIVATE(base);
|
|
37
|
+
} envoy_config_endpoint_v3_Endpoint_HealthCheckConfig;
|
|
38
|
+
|
|
39
|
+
typedef struct envoy_config_endpoint_v3_Endpoint_AdditionalAddress {
|
|
40
|
+
upb_Message UPB_PRIVATE(base);
|
|
41
|
+
} envoy_config_endpoint_v3_Endpoint_AdditionalAddress;
|
|
42
|
+
|
|
43
|
+
typedef struct envoy_config_endpoint_v3_LbEndpoint {
|
|
44
|
+
upb_Message UPB_PRIVATE(base);
|
|
45
|
+
} envoy_config_endpoint_v3_LbEndpoint;
|
|
46
|
+
|
|
47
|
+
typedef struct envoy_config_endpoint_v3_LbEndpointCollection {
|
|
48
|
+
upb_Message UPB_PRIVATE(base);
|
|
49
|
+
} envoy_config_endpoint_v3_LbEndpointCollection;
|
|
50
|
+
|
|
51
|
+
typedef struct envoy_config_endpoint_v3_LedsClusterLocalityConfig {
|
|
52
|
+
upb_Message UPB_PRIVATE(base);
|
|
53
|
+
} envoy_config_endpoint_v3_LedsClusterLocalityConfig;
|
|
54
|
+
|
|
55
|
+
typedef struct envoy_config_endpoint_v3_LocalityLbEndpoints {
|
|
56
|
+
upb_Message UPB_PRIVATE(base);
|
|
57
|
+
} envoy_config_endpoint_v3_LocalityLbEndpoints;
|
|
58
|
+
|
|
59
|
+
typedef struct envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList {
|
|
60
|
+
upb_Message UPB_PRIVATE(base);
|
|
61
|
+
} envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList;
|
|
33
62
|
|
|
34
|
-
typedef struct envoy_config_endpoint_v3_Endpoint { upb_Message UPB_PRIVATE(base); } envoy_config_endpoint_v3_Endpoint;
|
|
35
|
-
typedef struct envoy_config_endpoint_v3_Endpoint_HealthCheckConfig { upb_Message UPB_PRIVATE(base); } envoy_config_endpoint_v3_Endpoint_HealthCheckConfig;
|
|
36
|
-
typedef struct envoy_config_endpoint_v3_Endpoint_AdditionalAddress { upb_Message UPB_PRIVATE(base); } envoy_config_endpoint_v3_Endpoint_AdditionalAddress;
|
|
37
|
-
typedef struct envoy_config_endpoint_v3_LbEndpoint { upb_Message UPB_PRIVATE(base); } envoy_config_endpoint_v3_LbEndpoint;
|
|
38
|
-
typedef struct envoy_config_endpoint_v3_LbEndpointCollection { upb_Message UPB_PRIVATE(base); } envoy_config_endpoint_v3_LbEndpointCollection;
|
|
39
|
-
typedef struct envoy_config_endpoint_v3_LedsClusterLocalityConfig { upb_Message UPB_PRIVATE(base); } envoy_config_endpoint_v3_LedsClusterLocalityConfig;
|
|
40
|
-
typedef struct envoy_config_endpoint_v3_LocalityLbEndpoints { upb_Message UPB_PRIVATE(base); } envoy_config_endpoint_v3_LocalityLbEndpoints;
|
|
41
|
-
typedef struct envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList { upb_Message UPB_PRIVATE(base); } envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList;
|
|
42
63
|
struct envoy_config_core_v3_Address;
|
|
43
64
|
struct envoy_config_core_v3_ConfigSource;
|
|
44
65
|
struct envoy_config_core_v3_Locality;
|
|
@@ -49,73 +70,75 @@ struct xds_core_v3_CollectionEntry;
|
|
|
49
70
|
|
|
50
71
|
|
|
51
72
|
/* envoy.config.endpoint.v3.Endpoint */
|
|
52
|
-
|
|
53
73
|
UPB_INLINE envoy_config_endpoint_v3_Endpoint* envoy_config_endpoint_v3_Endpoint_new(upb_Arena* arena) {
|
|
54
74
|
return (envoy_config_endpoint_v3_Endpoint*)_upb_Message_New(&envoy__config__endpoint__v3__Endpoint_msg_init, arena);
|
|
55
75
|
}
|
|
56
|
-
UPB_INLINE envoy_config_endpoint_v3_Endpoint* envoy_config_endpoint_v3_Endpoint_parse(const char* buf, size_t size,
|
|
76
|
+
UPB_INLINE envoy_config_endpoint_v3_Endpoint* envoy_config_endpoint_v3_Endpoint_parse(const char* buf, size_t size,
|
|
77
|
+
upb_Arena* arena) {
|
|
57
78
|
envoy_config_endpoint_v3_Endpoint* ret = envoy_config_endpoint_v3_Endpoint_new(arena);
|
|
58
79
|
if (!ret) return NULL;
|
|
59
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__Endpoint_msg_init, NULL, 0,
|
|
60
|
-
|
|
80
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__Endpoint_msg_init, NULL, 0,
|
|
81
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
61
82
|
return NULL;
|
|
62
83
|
}
|
|
63
84
|
return ret;
|
|
64
85
|
}
|
|
65
|
-
UPB_INLINE envoy_config_endpoint_v3_Endpoint* envoy_config_endpoint_v3_Endpoint_parse_ex(
|
|
66
|
-
|
|
67
|
-
|
|
86
|
+
UPB_INLINE envoy_config_endpoint_v3_Endpoint* envoy_config_endpoint_v3_Endpoint_parse_ex(
|
|
87
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
88
|
+
int options, upb_Arena* arena) {
|
|
68
89
|
envoy_config_endpoint_v3_Endpoint* ret = envoy_config_endpoint_v3_Endpoint_new(arena);
|
|
69
90
|
if (!ret) return NULL;
|
|
70
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__Endpoint_msg_init, extreg,
|
|
71
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
91
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__Endpoint_msg_init, extreg,
|
|
92
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
72
93
|
return NULL;
|
|
73
94
|
}
|
|
74
95
|
return ret;
|
|
75
96
|
}
|
|
76
|
-
UPB_INLINE char* envoy_config_endpoint_v3_Endpoint_serialize(const envoy_config_endpoint_v3_Endpoint* msg,
|
|
97
|
+
UPB_INLINE char* envoy_config_endpoint_v3_Endpoint_serialize(const envoy_config_endpoint_v3_Endpoint* msg,
|
|
98
|
+
upb_Arena* arena, size_t* len) {
|
|
77
99
|
char* ptr;
|
|
78
100
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__endpoint__v3__Endpoint_msg_init, 0, arena, &ptr, len);
|
|
79
101
|
return ptr;
|
|
80
102
|
}
|
|
81
|
-
UPB_INLINE char* envoy_config_endpoint_v3_Endpoint_serialize_ex(const envoy_config_endpoint_v3_Endpoint* msg,
|
|
82
|
-
|
|
103
|
+
UPB_INLINE char* envoy_config_endpoint_v3_Endpoint_serialize_ex(const envoy_config_endpoint_v3_Endpoint* msg,
|
|
104
|
+
int options, upb_Arena* arena,
|
|
105
|
+
size_t* len) {
|
|
83
106
|
char* ptr;
|
|
84
107
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__endpoint__v3__Endpoint_msg_init, options, arena, &ptr, len);
|
|
85
108
|
return ptr;
|
|
86
109
|
}
|
|
87
110
|
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_clear_address(envoy_config_endpoint_v3_Endpoint* msg) {
|
|
88
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
111
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
89
112
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
90
113
|
}
|
|
91
114
|
UPB_INLINE const struct envoy_config_core_v3_Address* envoy_config_endpoint_v3_Endpoint_address(const envoy_config_endpoint_v3_Endpoint* msg) {
|
|
92
115
|
const struct envoy_config_core_v3_Address* default_val = NULL;
|
|
93
116
|
const struct envoy_config_core_v3_Address* ret;
|
|
94
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
117
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
95
118
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Address_msg_init);
|
|
96
119
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
97
120
|
&default_val, &ret);
|
|
98
121
|
return ret;
|
|
99
122
|
}
|
|
100
123
|
UPB_INLINE bool envoy_config_endpoint_v3_Endpoint_has_address(const envoy_config_endpoint_v3_Endpoint* msg) {
|
|
101
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
124
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
102
125
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
103
126
|
}
|
|
104
127
|
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_clear_health_check_config(envoy_config_endpoint_v3_Endpoint* msg) {
|
|
105
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65,
|
|
128
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
106
129
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
107
130
|
}
|
|
108
131
|
UPB_INLINE const envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* envoy_config_endpoint_v3_Endpoint_health_check_config(const envoy_config_endpoint_v3_Endpoint* msg) {
|
|
109
132
|
const envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* default_val = NULL;
|
|
110
133
|
const envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* ret;
|
|
111
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65,
|
|
134
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
112
135
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init);
|
|
113
136
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
114
137
|
&default_val, &ret);
|
|
115
138
|
return ret;
|
|
116
139
|
}
|
|
117
140
|
UPB_INLINE bool envoy_config_endpoint_v3_Endpoint_has_health_check_config(const envoy_config_endpoint_v3_Endpoint* msg) {
|
|
118
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65,
|
|
141
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
119
142
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
120
143
|
}
|
|
121
144
|
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_clear_hostname(envoy_config_endpoint_v3_Endpoint* msg) {
|
|
@@ -131,11 +154,12 @@ UPB_INLINE upb_StringView envoy_config_endpoint_v3_Endpoint_hostname(const envoy
|
|
|
131
154
|
return ret;
|
|
132
155
|
}
|
|
133
156
|
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_clear_additional_addresses(envoy_config_endpoint_v3_Endpoint* msg) {
|
|
134
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0,
|
|
157
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
135
158
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
136
159
|
}
|
|
137
|
-
UPB_INLINE const envoy_config_endpoint_v3_Endpoint_AdditionalAddress* const* envoy_config_endpoint_v3_Endpoint_additional_addresses(const envoy_config_endpoint_v3_Endpoint* msg,
|
|
138
|
-
|
|
160
|
+
UPB_INLINE const envoy_config_endpoint_v3_Endpoint_AdditionalAddress* const* envoy_config_endpoint_v3_Endpoint_additional_addresses(const envoy_config_endpoint_v3_Endpoint* msg,
|
|
161
|
+
size_t* size) {
|
|
162
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
139
163
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init);
|
|
140
164
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
141
165
|
if (arr) {
|
|
@@ -146,8 +170,11 @@ UPB_INLINE const envoy_config_endpoint_v3_Endpoint_AdditionalAddress* const* env
|
|
|
146
170
|
return NULL;
|
|
147
171
|
}
|
|
148
172
|
}
|
|
149
|
-
|
|
150
|
-
|
|
173
|
+
|
|
174
|
+
//
|
|
175
|
+
UPB_INLINE const upb_Array* _envoy_config_endpoint_v3_Endpoint_additional_addresses_upb_array(
|
|
176
|
+
const envoy_config_endpoint_v3_Endpoint* msg, size_t* size) {
|
|
177
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
151
178
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init);
|
|
152
179
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
153
180
|
if (size) {
|
|
@@ -155,8 +182,10 @@ UPB_INLINE const upb_Array* _envoy_config_endpoint_v3_Endpoint_additional_addres
|
|
|
155
182
|
}
|
|
156
183
|
return arr;
|
|
157
184
|
}
|
|
158
|
-
|
|
159
|
-
|
|
185
|
+
|
|
186
|
+
UPB_INLINE upb_Array* _envoy_config_endpoint_v3_Endpoint_additional_addresses_mutable_upb_array(
|
|
187
|
+
envoy_config_endpoint_v3_Endpoint* msg, size_t* size, upb_Arena* arena) {
|
|
188
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
160
189
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init);
|
|
161
190
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
162
191
|
&field, arena);
|
|
@@ -166,12 +195,13 @@ UPB_INLINE upb_Array* _envoy_config_endpoint_v3_Endpoint_additional_addresses_mu
|
|
|
166
195
|
return arr;
|
|
167
196
|
}
|
|
168
197
|
|
|
169
|
-
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_set_address(envoy_config_endpoint_v3_Endpoint
|
|
170
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
198
|
+
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_set_address(envoy_config_endpoint_v3_Endpoint* msg, struct envoy_config_core_v3_Address* value) {
|
|
199
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
171
200
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Address_msg_init);
|
|
172
|
-
upb_Message_SetBaseField((upb_Message
|
|
201
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
173
202
|
}
|
|
174
|
-
UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_endpoint_v3_Endpoint_mutable_address(
|
|
203
|
+
UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_endpoint_v3_Endpoint_mutable_address(
|
|
204
|
+
envoy_config_endpoint_v3_Endpoint* msg, upb_Arena* arena) {
|
|
175
205
|
struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_config_endpoint_v3_Endpoint_address(msg);
|
|
176
206
|
if (sub == NULL) {
|
|
177
207
|
sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena);
|
|
@@ -179,12 +209,13 @@ UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_endpoint_v3_Endpoin
|
|
|
179
209
|
}
|
|
180
210
|
return sub;
|
|
181
211
|
}
|
|
182
|
-
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_set_health_check_config(envoy_config_endpoint_v3_Endpoint
|
|
183
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65,
|
|
212
|
+
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_set_health_check_config(envoy_config_endpoint_v3_Endpoint* msg, envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* value) {
|
|
213
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
184
214
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init);
|
|
185
|
-
upb_Message_SetBaseField((upb_Message
|
|
215
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
186
216
|
}
|
|
187
|
-
UPB_INLINE struct envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* envoy_config_endpoint_v3_Endpoint_mutable_health_check_config(
|
|
217
|
+
UPB_INLINE struct envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* envoy_config_endpoint_v3_Endpoint_mutable_health_check_config(
|
|
218
|
+
envoy_config_endpoint_v3_Endpoint* msg, upb_Arena* arena) {
|
|
188
219
|
struct envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* sub = (struct envoy_config_endpoint_v3_Endpoint_HealthCheckConfig*)envoy_config_endpoint_v3_Endpoint_health_check_config(msg);
|
|
189
220
|
if (sub == NULL) {
|
|
190
221
|
sub = (struct envoy_config_endpoint_v3_Endpoint_HealthCheckConfig*)_upb_Message_New(&envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init, arena);
|
|
@@ -192,12 +223,13 @@ UPB_INLINE struct envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* envoy_con
|
|
|
192
223
|
}
|
|
193
224
|
return sub;
|
|
194
225
|
}
|
|
195
|
-
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_set_hostname(envoy_config_endpoint_v3_Endpoint
|
|
226
|
+
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_set_hostname(envoy_config_endpoint_v3_Endpoint* msg, upb_StringView value) {
|
|
196
227
|
const upb_MiniTableField field = {3, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
197
|
-
upb_Message_SetBaseField((upb_Message
|
|
228
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
198
229
|
}
|
|
199
|
-
UPB_INLINE envoy_config_endpoint_v3_Endpoint_AdditionalAddress** envoy_config_endpoint_v3_Endpoint_mutable_additional_addresses(envoy_config_endpoint_v3_Endpoint* msg,
|
|
200
|
-
|
|
230
|
+
UPB_INLINE envoy_config_endpoint_v3_Endpoint_AdditionalAddress** envoy_config_endpoint_v3_Endpoint_mutable_additional_addresses(envoy_config_endpoint_v3_Endpoint* msg,
|
|
231
|
+
size_t* size) {
|
|
232
|
+
upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
201
233
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init);
|
|
202
234
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
203
235
|
if (arr) {
|
|
@@ -208,13 +240,18 @@ UPB_INLINE envoy_config_endpoint_v3_Endpoint_AdditionalAddress** envoy_config_en
|
|
|
208
240
|
return NULL;
|
|
209
241
|
}
|
|
210
242
|
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
243
|
+
|
|
244
|
+
UPB_INLINE envoy_config_endpoint_v3_Endpoint_AdditionalAddress** envoy_config_endpoint_v3_Endpoint_resize_additional_addresses(envoy_config_endpoint_v3_Endpoint* msg,
|
|
245
|
+
size_t size,
|
|
246
|
+
upb_Arena* arena) {
|
|
247
|
+
upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
248
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init);
|
|
249
|
+
return (envoy_config_endpoint_v3_Endpoint_AdditionalAddress**)upb_Message_ResizeArrayUninitialized(
|
|
250
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
215
251
|
}
|
|
216
|
-
UPB_INLINE struct envoy_config_endpoint_v3_Endpoint_AdditionalAddress* envoy_config_endpoint_v3_Endpoint_add_additional_addresses(
|
|
217
|
-
|
|
252
|
+
UPB_INLINE struct envoy_config_endpoint_v3_Endpoint_AdditionalAddress* envoy_config_endpoint_v3_Endpoint_add_additional_addresses(
|
|
253
|
+
envoy_config_endpoint_v3_Endpoint* msg, upb_Arena* arena) {
|
|
254
|
+
upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
218
255
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init);
|
|
219
256
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
220
257
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -222,7 +259,8 @@ UPB_INLINE struct envoy_config_endpoint_v3_Endpoint_AdditionalAddress* envoy_con
|
|
|
222
259
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
223
260
|
return NULL;
|
|
224
261
|
}
|
|
225
|
-
struct envoy_config_endpoint_v3_Endpoint_AdditionalAddress* sub =
|
|
262
|
+
struct envoy_config_endpoint_v3_Endpoint_AdditionalAddress* sub =
|
|
263
|
+
(struct envoy_config_endpoint_v3_Endpoint_AdditionalAddress*)_upb_Message_New(&envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init, arena);
|
|
226
264
|
if (!arr || !sub) return NULL;
|
|
227
265
|
UPB_PRIVATE(_upb_Array_Set)
|
|
228
266
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
@@ -230,37 +268,39 @@ UPB_INLINE struct envoy_config_endpoint_v3_Endpoint_AdditionalAddress* envoy_con
|
|
|
230
268
|
}
|
|
231
269
|
|
|
232
270
|
/* envoy.config.endpoint.v3.Endpoint.HealthCheckConfig */
|
|
233
|
-
|
|
234
271
|
UPB_INLINE envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_new(upb_Arena* arena) {
|
|
235
272
|
return (envoy_config_endpoint_v3_Endpoint_HealthCheckConfig*)_upb_Message_New(&envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init, arena);
|
|
236
273
|
}
|
|
237
|
-
UPB_INLINE envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_parse(const char* buf, size_t size,
|
|
274
|
+
UPB_INLINE envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_parse(const char* buf, size_t size,
|
|
275
|
+
upb_Arena* arena) {
|
|
238
276
|
envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* ret = envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_new(arena);
|
|
239
277
|
if (!ret) return NULL;
|
|
240
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init, NULL, 0,
|
|
241
|
-
|
|
278
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init, NULL, 0,
|
|
279
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
242
280
|
return NULL;
|
|
243
281
|
}
|
|
244
282
|
return ret;
|
|
245
283
|
}
|
|
246
|
-
UPB_INLINE envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_parse_ex(
|
|
247
|
-
|
|
248
|
-
|
|
284
|
+
UPB_INLINE envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_parse_ex(
|
|
285
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
286
|
+
int options, upb_Arena* arena) {
|
|
249
287
|
envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* ret = envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_new(arena);
|
|
250
288
|
if (!ret) return NULL;
|
|
251
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init, extreg,
|
|
252
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
289
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init, extreg,
|
|
290
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
253
291
|
return NULL;
|
|
254
292
|
}
|
|
255
293
|
return ret;
|
|
256
294
|
}
|
|
257
|
-
UPB_INLINE char* envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_serialize(const envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* msg,
|
|
295
|
+
UPB_INLINE char* envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_serialize(const envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* msg,
|
|
296
|
+
upb_Arena* arena, size_t* len) {
|
|
258
297
|
char* ptr;
|
|
259
298
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init, 0, arena, &ptr, len);
|
|
260
299
|
return ptr;
|
|
261
300
|
}
|
|
262
|
-
UPB_INLINE char* envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_serialize_ex(const envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* msg,
|
|
263
|
-
|
|
301
|
+
UPB_INLINE char* envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_serialize_ex(const envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* msg,
|
|
302
|
+
int options, upb_Arena* arena,
|
|
303
|
+
size_t* len) {
|
|
264
304
|
char* ptr;
|
|
265
305
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init, options, arena, &ptr, len);
|
|
266
306
|
return ptr;
|
|
@@ -290,20 +330,20 @@ UPB_INLINE upb_StringView envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_ho
|
|
|
290
330
|
return ret;
|
|
291
331
|
}
|
|
292
332
|
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_clear_address(envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* msg) {
|
|
293
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 64,
|
|
333
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
294
334
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
295
335
|
}
|
|
296
336
|
UPB_INLINE const struct envoy_config_core_v3_Address* envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_address(const envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* msg) {
|
|
297
337
|
const struct envoy_config_core_v3_Address* default_val = NULL;
|
|
298
338
|
const struct envoy_config_core_v3_Address* ret;
|
|
299
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 64,
|
|
339
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
300
340
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Address_msg_init);
|
|
301
341
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
302
342
|
&default_val, &ret);
|
|
303
343
|
return ret;
|
|
304
344
|
}
|
|
305
345
|
UPB_INLINE bool envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_has_address(const envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* msg) {
|
|
306
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 64,
|
|
346
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
307
347
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
308
348
|
}
|
|
309
349
|
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_clear_disable_active_health_check(envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* msg) {
|
|
@@ -319,20 +359,21 @@ UPB_INLINE bool envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_disable_acti
|
|
|
319
359
|
return ret;
|
|
320
360
|
}
|
|
321
361
|
|
|
322
|
-
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_set_port_value(envoy_config_endpoint_v3_Endpoint_HealthCheckConfig
|
|
362
|
+
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_set_port_value(envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* msg, uint32_t value) {
|
|
323
363
|
const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
324
|
-
upb_Message_SetBaseField((upb_Message
|
|
364
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
325
365
|
}
|
|
326
|
-
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_set_hostname(envoy_config_endpoint_v3_Endpoint_HealthCheckConfig
|
|
366
|
+
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_set_hostname(envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* msg, upb_StringView value) {
|
|
327
367
|
const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
328
|
-
upb_Message_SetBaseField((upb_Message
|
|
368
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
329
369
|
}
|
|
330
|
-
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_set_address(envoy_config_endpoint_v3_Endpoint_HealthCheckConfig
|
|
331
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 64,
|
|
370
|
+
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_set_address(envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* msg, struct envoy_config_core_v3_Address* value) {
|
|
371
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
332
372
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Address_msg_init);
|
|
333
|
-
upb_Message_SetBaseField((upb_Message
|
|
373
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
334
374
|
}
|
|
335
|
-
UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_mutable_address(
|
|
375
|
+
UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_mutable_address(
|
|
376
|
+
envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* msg, upb_Arena* arena) {
|
|
336
377
|
struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_address(msg);
|
|
337
378
|
if (sub == NULL) {
|
|
338
379
|
sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena);
|
|
@@ -340,71 +381,74 @@ UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_endpoint_v3_Endpoin
|
|
|
340
381
|
}
|
|
341
382
|
return sub;
|
|
342
383
|
}
|
|
343
|
-
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_set_disable_active_health_check(envoy_config_endpoint_v3_Endpoint_HealthCheckConfig
|
|
384
|
+
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_set_disable_active_health_check(envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* msg, bool value) {
|
|
344
385
|
const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
|
345
|
-
upb_Message_SetBaseField((upb_Message
|
|
386
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
346
387
|
}
|
|
347
388
|
|
|
348
389
|
/* envoy.config.endpoint.v3.Endpoint.AdditionalAddress */
|
|
349
|
-
|
|
350
390
|
UPB_INLINE envoy_config_endpoint_v3_Endpoint_AdditionalAddress* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_new(upb_Arena* arena) {
|
|
351
391
|
return (envoy_config_endpoint_v3_Endpoint_AdditionalAddress*)_upb_Message_New(&envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init, arena);
|
|
352
392
|
}
|
|
353
|
-
UPB_INLINE envoy_config_endpoint_v3_Endpoint_AdditionalAddress* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_parse(const char* buf, size_t size,
|
|
393
|
+
UPB_INLINE envoy_config_endpoint_v3_Endpoint_AdditionalAddress* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_parse(const char* buf, size_t size,
|
|
394
|
+
upb_Arena* arena) {
|
|
354
395
|
envoy_config_endpoint_v3_Endpoint_AdditionalAddress* ret = envoy_config_endpoint_v3_Endpoint_AdditionalAddress_new(arena);
|
|
355
396
|
if (!ret) return NULL;
|
|
356
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init, NULL, 0,
|
|
357
|
-
|
|
397
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init, NULL, 0,
|
|
398
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
358
399
|
return NULL;
|
|
359
400
|
}
|
|
360
401
|
return ret;
|
|
361
402
|
}
|
|
362
|
-
UPB_INLINE envoy_config_endpoint_v3_Endpoint_AdditionalAddress* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_parse_ex(
|
|
363
|
-
|
|
364
|
-
|
|
403
|
+
UPB_INLINE envoy_config_endpoint_v3_Endpoint_AdditionalAddress* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_parse_ex(
|
|
404
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
405
|
+
int options, upb_Arena* arena) {
|
|
365
406
|
envoy_config_endpoint_v3_Endpoint_AdditionalAddress* ret = envoy_config_endpoint_v3_Endpoint_AdditionalAddress_new(arena);
|
|
366
407
|
if (!ret) return NULL;
|
|
367
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init, extreg,
|
|
368
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
408
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init, extreg,
|
|
409
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
369
410
|
return NULL;
|
|
370
411
|
}
|
|
371
412
|
return ret;
|
|
372
413
|
}
|
|
373
|
-
UPB_INLINE char* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_serialize(const envoy_config_endpoint_v3_Endpoint_AdditionalAddress* msg,
|
|
414
|
+
UPB_INLINE char* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_serialize(const envoy_config_endpoint_v3_Endpoint_AdditionalAddress* msg,
|
|
415
|
+
upb_Arena* arena, size_t* len) {
|
|
374
416
|
char* ptr;
|
|
375
417
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init, 0, arena, &ptr, len);
|
|
376
418
|
return ptr;
|
|
377
419
|
}
|
|
378
|
-
UPB_INLINE char* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_serialize_ex(const envoy_config_endpoint_v3_Endpoint_AdditionalAddress* msg,
|
|
379
|
-
|
|
420
|
+
UPB_INLINE char* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_serialize_ex(const envoy_config_endpoint_v3_Endpoint_AdditionalAddress* msg,
|
|
421
|
+
int options, upb_Arena* arena,
|
|
422
|
+
size_t* len) {
|
|
380
423
|
char* ptr;
|
|
381
424
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init, options, arena, &ptr, len);
|
|
382
425
|
return ptr;
|
|
383
426
|
}
|
|
384
427
|
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_AdditionalAddress_clear_address(envoy_config_endpoint_v3_Endpoint_AdditionalAddress* msg) {
|
|
385
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
428
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
386
429
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
387
430
|
}
|
|
388
431
|
UPB_INLINE const struct envoy_config_core_v3_Address* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_address(const envoy_config_endpoint_v3_Endpoint_AdditionalAddress* msg) {
|
|
389
432
|
const struct envoy_config_core_v3_Address* default_val = NULL;
|
|
390
433
|
const struct envoy_config_core_v3_Address* ret;
|
|
391
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
434
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
392
435
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Address_msg_init);
|
|
393
436
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
394
437
|
&default_val, &ret);
|
|
395
438
|
return ret;
|
|
396
439
|
}
|
|
397
440
|
UPB_INLINE bool envoy_config_endpoint_v3_Endpoint_AdditionalAddress_has_address(const envoy_config_endpoint_v3_Endpoint_AdditionalAddress* msg) {
|
|
398
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
441
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
399
442
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
400
443
|
}
|
|
401
444
|
|
|
402
|
-
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_AdditionalAddress_set_address(envoy_config_endpoint_v3_Endpoint_AdditionalAddress
|
|
403
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
445
|
+
UPB_INLINE void envoy_config_endpoint_v3_Endpoint_AdditionalAddress_set_address(envoy_config_endpoint_v3_Endpoint_AdditionalAddress* msg, struct envoy_config_core_v3_Address* value) {
|
|
446
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
404
447
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Address_msg_init);
|
|
405
|
-
upb_Message_SetBaseField((upb_Message
|
|
448
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
406
449
|
}
|
|
407
|
-
UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_mutable_address(
|
|
450
|
+
UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_mutable_address(
|
|
451
|
+
envoy_config_endpoint_v3_Endpoint_AdditionalAddress* msg, upb_Arena* arena) {
|
|
408
452
|
struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_config_endpoint_v3_Endpoint_AdditionalAddress_address(msg);
|
|
409
453
|
if (sub == NULL) {
|
|
410
454
|
sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena);
|
|
@@ -414,37 +458,39 @@ UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_endpoint_v3_Endpoin
|
|
|
414
458
|
}
|
|
415
459
|
|
|
416
460
|
/* envoy.config.endpoint.v3.LbEndpoint */
|
|
417
|
-
|
|
418
461
|
UPB_INLINE envoy_config_endpoint_v3_LbEndpoint* envoy_config_endpoint_v3_LbEndpoint_new(upb_Arena* arena) {
|
|
419
462
|
return (envoy_config_endpoint_v3_LbEndpoint*)_upb_Message_New(&envoy__config__endpoint__v3__LbEndpoint_msg_init, arena);
|
|
420
463
|
}
|
|
421
|
-
UPB_INLINE envoy_config_endpoint_v3_LbEndpoint* envoy_config_endpoint_v3_LbEndpoint_parse(const char* buf, size_t size,
|
|
464
|
+
UPB_INLINE envoy_config_endpoint_v3_LbEndpoint* envoy_config_endpoint_v3_LbEndpoint_parse(const char* buf, size_t size,
|
|
465
|
+
upb_Arena* arena) {
|
|
422
466
|
envoy_config_endpoint_v3_LbEndpoint* ret = envoy_config_endpoint_v3_LbEndpoint_new(arena);
|
|
423
467
|
if (!ret) return NULL;
|
|
424
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LbEndpoint_msg_init, NULL, 0,
|
|
425
|
-
|
|
468
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LbEndpoint_msg_init, NULL, 0,
|
|
469
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
426
470
|
return NULL;
|
|
427
471
|
}
|
|
428
472
|
return ret;
|
|
429
473
|
}
|
|
430
|
-
UPB_INLINE envoy_config_endpoint_v3_LbEndpoint* envoy_config_endpoint_v3_LbEndpoint_parse_ex(
|
|
431
|
-
|
|
432
|
-
|
|
474
|
+
UPB_INLINE envoy_config_endpoint_v3_LbEndpoint* envoy_config_endpoint_v3_LbEndpoint_parse_ex(
|
|
475
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
476
|
+
int options, upb_Arena* arena) {
|
|
433
477
|
envoy_config_endpoint_v3_LbEndpoint* ret = envoy_config_endpoint_v3_LbEndpoint_new(arena);
|
|
434
478
|
if (!ret) return NULL;
|
|
435
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LbEndpoint_msg_init, extreg,
|
|
436
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
479
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LbEndpoint_msg_init, extreg,
|
|
480
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
437
481
|
return NULL;
|
|
438
482
|
}
|
|
439
483
|
return ret;
|
|
440
484
|
}
|
|
441
|
-
UPB_INLINE char* envoy_config_endpoint_v3_LbEndpoint_serialize(const envoy_config_endpoint_v3_LbEndpoint* msg,
|
|
485
|
+
UPB_INLINE char* envoy_config_endpoint_v3_LbEndpoint_serialize(const envoy_config_endpoint_v3_LbEndpoint* msg,
|
|
486
|
+
upb_Arena* arena, size_t* len) {
|
|
442
487
|
char* ptr;
|
|
443
488
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__endpoint__v3__LbEndpoint_msg_init, 0, arena, &ptr, len);
|
|
444
489
|
return ptr;
|
|
445
490
|
}
|
|
446
|
-
UPB_INLINE char* envoy_config_endpoint_v3_LbEndpoint_serialize_ex(const envoy_config_endpoint_v3_LbEndpoint* msg,
|
|
447
|
-
|
|
491
|
+
UPB_INLINE char* envoy_config_endpoint_v3_LbEndpoint_serialize_ex(const envoy_config_endpoint_v3_LbEndpoint* msg,
|
|
492
|
+
int options, upb_Arena* arena,
|
|
493
|
+
size_t* len) {
|
|
448
494
|
char* ptr;
|
|
449
495
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__endpoint__v3__LbEndpoint_msg_init, options, arena, &ptr, len);
|
|
450
496
|
return ptr;
|
|
@@ -454,30 +500,32 @@ typedef enum {
|
|
|
454
500
|
envoy_config_endpoint_v3_LbEndpoint_host_identifier_endpoint_name = 5,
|
|
455
501
|
envoy_config_endpoint_v3_LbEndpoint_host_identifier_NOT_SET = 0
|
|
456
502
|
} envoy_config_endpoint_v3_LbEndpoint_host_identifier_oneofcases;
|
|
457
|
-
|
|
458
|
-
|
|
503
|
+
|
|
504
|
+
UPB_INLINE envoy_config_endpoint_v3_LbEndpoint_host_identifier_oneofcases
|
|
505
|
+
envoy_config_endpoint_v3_LbEndpoint_host_identifier_case(const envoy_config_endpoint_v3_LbEndpoint* msg) {
|
|
506
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 24), UPB_SIZE(-25, -17), UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
459
507
|
return (envoy_config_endpoint_v3_LbEndpoint_host_identifier_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
460
508
|
UPB_UPCAST(msg), &field);
|
|
461
509
|
}
|
|
462
510
|
UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_clear_host_identifier(envoy_config_endpoint_v3_LbEndpoint* msg) {
|
|
463
|
-
const upb_MiniTableField field = {1, UPB_SIZE(28, 24), UPB_SIZE(-25, -17),
|
|
511
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 24), UPB_SIZE(-25, -17), UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
464
512
|
upb_Message_ClearOneof(UPB_UPCAST(msg), &envoy__config__endpoint__v3__LbEndpoint_msg_init, &field);
|
|
465
513
|
}
|
|
466
514
|
UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_clear_endpoint(envoy_config_endpoint_v3_LbEndpoint* msg) {
|
|
467
|
-
const upb_MiniTableField field = {1, UPB_SIZE(28, 24), UPB_SIZE(-25, -17),
|
|
515
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 24), UPB_SIZE(-25, -17), UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
468
516
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
469
517
|
}
|
|
470
518
|
UPB_INLINE const envoy_config_endpoint_v3_Endpoint* envoy_config_endpoint_v3_LbEndpoint_endpoint(const envoy_config_endpoint_v3_LbEndpoint* msg) {
|
|
471
519
|
const envoy_config_endpoint_v3_Endpoint* default_val = NULL;
|
|
472
520
|
const envoy_config_endpoint_v3_Endpoint* ret;
|
|
473
|
-
const upb_MiniTableField field = {1, UPB_SIZE(28, 24), UPB_SIZE(-25, -17),
|
|
521
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 24), UPB_SIZE(-25, -17), UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
474
522
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__Endpoint_msg_init);
|
|
475
523
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
476
524
|
&default_val, &ret);
|
|
477
525
|
return ret;
|
|
478
526
|
}
|
|
479
527
|
UPB_INLINE bool envoy_config_endpoint_v3_LbEndpoint_has_endpoint(const envoy_config_endpoint_v3_LbEndpoint* msg) {
|
|
480
|
-
const upb_MiniTableField field = {1, UPB_SIZE(28, 24), UPB_SIZE(-25, -17),
|
|
528
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 24), UPB_SIZE(-25, -17), UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
481
529
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
482
530
|
}
|
|
483
531
|
UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_clear_health_status(envoy_config_endpoint_v3_LbEndpoint* msg) {
|
|
@@ -493,37 +541,37 @@ UPB_INLINE int32_t envoy_config_endpoint_v3_LbEndpoint_health_status(const envoy
|
|
|
493
541
|
return ret;
|
|
494
542
|
}
|
|
495
543
|
UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_clear_metadata(envoy_config_endpoint_v3_LbEndpoint* msg) {
|
|
496
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64,
|
|
544
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
497
545
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
498
546
|
}
|
|
499
547
|
UPB_INLINE const struct envoy_config_core_v3_Metadata* envoy_config_endpoint_v3_LbEndpoint_metadata(const envoy_config_endpoint_v3_LbEndpoint* msg) {
|
|
500
548
|
const struct envoy_config_core_v3_Metadata* default_val = NULL;
|
|
501
549
|
const struct envoy_config_core_v3_Metadata* ret;
|
|
502
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64,
|
|
550
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
503
551
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata_msg_init);
|
|
504
552
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
505
553
|
&default_val, &ret);
|
|
506
554
|
return ret;
|
|
507
555
|
}
|
|
508
556
|
UPB_INLINE bool envoy_config_endpoint_v3_LbEndpoint_has_metadata(const envoy_config_endpoint_v3_LbEndpoint* msg) {
|
|
509
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64,
|
|
557
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
510
558
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
511
559
|
}
|
|
512
560
|
UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_clear_load_balancing_weight(envoy_config_endpoint_v3_LbEndpoint* msg) {
|
|
513
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 65,
|
|
561
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
514
562
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
515
563
|
}
|
|
516
564
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_endpoint_v3_LbEndpoint_load_balancing_weight(const envoy_config_endpoint_v3_LbEndpoint* msg) {
|
|
517
565
|
const struct google_protobuf_UInt32Value* default_val = NULL;
|
|
518
566
|
const struct google_protobuf_UInt32Value* ret;
|
|
519
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 65,
|
|
567
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
520
568
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UInt32Value_msg_init);
|
|
521
569
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
522
570
|
&default_val, &ret);
|
|
523
571
|
return ret;
|
|
524
572
|
}
|
|
525
573
|
UPB_INLINE bool envoy_config_endpoint_v3_LbEndpoint_has_load_balancing_weight(const envoy_config_endpoint_v3_LbEndpoint* msg) {
|
|
526
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 65,
|
|
574
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
527
575
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
528
576
|
}
|
|
529
577
|
UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_clear_endpoint_name(envoy_config_endpoint_v3_LbEndpoint* msg) {
|
|
@@ -543,12 +591,13 @@ UPB_INLINE bool envoy_config_endpoint_v3_LbEndpoint_has_endpoint_name(const envo
|
|
|
543
591
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
544
592
|
}
|
|
545
593
|
|
|
546
|
-
UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_set_endpoint(envoy_config_endpoint_v3_LbEndpoint
|
|
547
|
-
const upb_MiniTableField field = {1, UPB_SIZE(28, 24), UPB_SIZE(-25, -17),
|
|
594
|
+
UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_set_endpoint(envoy_config_endpoint_v3_LbEndpoint* msg, envoy_config_endpoint_v3_Endpoint* value) {
|
|
595
|
+
const upb_MiniTableField field = {1, UPB_SIZE(28, 24), UPB_SIZE(-25, -17), UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
548
596
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__Endpoint_msg_init);
|
|
549
|
-
upb_Message_SetBaseField((upb_Message
|
|
597
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
550
598
|
}
|
|
551
|
-
UPB_INLINE struct envoy_config_endpoint_v3_Endpoint* envoy_config_endpoint_v3_LbEndpoint_mutable_endpoint(
|
|
599
|
+
UPB_INLINE struct envoy_config_endpoint_v3_Endpoint* envoy_config_endpoint_v3_LbEndpoint_mutable_endpoint(
|
|
600
|
+
envoy_config_endpoint_v3_LbEndpoint* msg, upb_Arena* arena) {
|
|
552
601
|
struct envoy_config_endpoint_v3_Endpoint* sub = (struct envoy_config_endpoint_v3_Endpoint*)envoy_config_endpoint_v3_LbEndpoint_endpoint(msg);
|
|
553
602
|
if (sub == NULL) {
|
|
554
603
|
sub = (struct envoy_config_endpoint_v3_Endpoint*)_upb_Message_New(&envoy__config__endpoint__v3__Endpoint_msg_init, arena);
|
|
@@ -556,16 +605,17 @@ UPB_INLINE struct envoy_config_endpoint_v3_Endpoint* envoy_config_endpoint_v3_Lb
|
|
|
556
605
|
}
|
|
557
606
|
return sub;
|
|
558
607
|
}
|
|
559
|
-
UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_set_health_status(envoy_config_endpoint_v3_LbEndpoint
|
|
608
|
+
UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_set_health_status(envoy_config_endpoint_v3_LbEndpoint* msg, int32_t value) {
|
|
560
609
|
const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
561
|
-
upb_Message_SetBaseField((upb_Message
|
|
610
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
562
611
|
}
|
|
563
|
-
UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_set_metadata(envoy_config_endpoint_v3_LbEndpoint
|
|
564
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64,
|
|
612
|
+
UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_set_metadata(envoy_config_endpoint_v3_LbEndpoint* msg, struct envoy_config_core_v3_Metadata* value) {
|
|
613
|
+
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
565
614
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata_msg_init);
|
|
566
|
-
upb_Message_SetBaseField((upb_Message
|
|
615
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
567
616
|
}
|
|
568
|
-
UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_endpoint_v3_LbEndpoint_mutable_metadata(
|
|
617
|
+
UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_endpoint_v3_LbEndpoint_mutable_metadata(
|
|
618
|
+
envoy_config_endpoint_v3_LbEndpoint* msg, upb_Arena* arena) {
|
|
569
619
|
struct envoy_config_core_v3_Metadata* sub = (struct envoy_config_core_v3_Metadata*)envoy_config_endpoint_v3_LbEndpoint_metadata(msg);
|
|
570
620
|
if (sub == NULL) {
|
|
571
621
|
sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy__config__core__v3__Metadata_msg_init, arena);
|
|
@@ -573,12 +623,13 @@ UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_endpoint_v3_LbEndp
|
|
|
573
623
|
}
|
|
574
624
|
return sub;
|
|
575
625
|
}
|
|
576
|
-
UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_set_load_balancing_weight(envoy_config_endpoint_v3_LbEndpoint
|
|
577
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 65,
|
|
626
|
+
UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_set_load_balancing_weight(envoy_config_endpoint_v3_LbEndpoint* msg, struct google_protobuf_UInt32Value* value) {
|
|
627
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
578
628
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UInt32Value_msg_init);
|
|
579
|
-
upb_Message_SetBaseField((upb_Message
|
|
629
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
580
630
|
}
|
|
581
|
-
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_endpoint_v3_LbEndpoint_mutable_load_balancing_weight(
|
|
631
|
+
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_endpoint_v3_LbEndpoint_mutable_load_balancing_weight(
|
|
632
|
+
envoy_config_endpoint_v3_LbEndpoint* msg, upb_Arena* arena) {
|
|
582
633
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_endpoint_v3_LbEndpoint_load_balancing_weight(msg);
|
|
583
634
|
if (sub == NULL) {
|
|
584
635
|
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena);
|
|
@@ -586,71 +637,74 @@ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_endpoint_v3_LbEndpoi
|
|
|
586
637
|
}
|
|
587
638
|
return sub;
|
|
588
639
|
}
|
|
589
|
-
UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_set_endpoint_name(envoy_config_endpoint_v3_LbEndpoint
|
|
640
|
+
UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_set_endpoint_name(envoy_config_endpoint_v3_LbEndpoint* msg, upb_StringView value) {
|
|
590
641
|
const upb_MiniTableField field = {5, UPB_SIZE(28, 24), UPB_SIZE(-25, -17), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
591
|
-
upb_Message_SetBaseField((upb_Message
|
|
642
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
592
643
|
}
|
|
593
644
|
|
|
594
645
|
/* envoy.config.endpoint.v3.LbEndpointCollection */
|
|
595
|
-
|
|
596
646
|
UPB_INLINE envoy_config_endpoint_v3_LbEndpointCollection* envoy_config_endpoint_v3_LbEndpointCollection_new(upb_Arena* arena) {
|
|
597
647
|
return (envoy_config_endpoint_v3_LbEndpointCollection*)_upb_Message_New(&envoy__config__endpoint__v3__LbEndpointCollection_msg_init, arena);
|
|
598
648
|
}
|
|
599
|
-
UPB_INLINE envoy_config_endpoint_v3_LbEndpointCollection* envoy_config_endpoint_v3_LbEndpointCollection_parse(const char* buf, size_t size,
|
|
649
|
+
UPB_INLINE envoy_config_endpoint_v3_LbEndpointCollection* envoy_config_endpoint_v3_LbEndpointCollection_parse(const char* buf, size_t size,
|
|
650
|
+
upb_Arena* arena) {
|
|
600
651
|
envoy_config_endpoint_v3_LbEndpointCollection* ret = envoy_config_endpoint_v3_LbEndpointCollection_new(arena);
|
|
601
652
|
if (!ret) return NULL;
|
|
602
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LbEndpointCollection_msg_init, NULL, 0,
|
|
603
|
-
|
|
653
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LbEndpointCollection_msg_init, NULL, 0,
|
|
654
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
604
655
|
return NULL;
|
|
605
656
|
}
|
|
606
657
|
return ret;
|
|
607
658
|
}
|
|
608
|
-
UPB_INLINE envoy_config_endpoint_v3_LbEndpointCollection* envoy_config_endpoint_v3_LbEndpointCollection_parse_ex(
|
|
609
|
-
|
|
610
|
-
|
|
659
|
+
UPB_INLINE envoy_config_endpoint_v3_LbEndpointCollection* envoy_config_endpoint_v3_LbEndpointCollection_parse_ex(
|
|
660
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
661
|
+
int options, upb_Arena* arena) {
|
|
611
662
|
envoy_config_endpoint_v3_LbEndpointCollection* ret = envoy_config_endpoint_v3_LbEndpointCollection_new(arena);
|
|
612
663
|
if (!ret) return NULL;
|
|
613
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LbEndpointCollection_msg_init, extreg,
|
|
614
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
664
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LbEndpointCollection_msg_init, extreg,
|
|
665
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
615
666
|
return NULL;
|
|
616
667
|
}
|
|
617
668
|
return ret;
|
|
618
669
|
}
|
|
619
|
-
UPB_INLINE char* envoy_config_endpoint_v3_LbEndpointCollection_serialize(const envoy_config_endpoint_v3_LbEndpointCollection* msg,
|
|
670
|
+
UPB_INLINE char* envoy_config_endpoint_v3_LbEndpointCollection_serialize(const envoy_config_endpoint_v3_LbEndpointCollection* msg,
|
|
671
|
+
upb_Arena* arena, size_t* len) {
|
|
620
672
|
char* ptr;
|
|
621
673
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__endpoint__v3__LbEndpointCollection_msg_init, 0, arena, &ptr, len);
|
|
622
674
|
return ptr;
|
|
623
675
|
}
|
|
624
|
-
UPB_INLINE char* envoy_config_endpoint_v3_LbEndpointCollection_serialize_ex(const envoy_config_endpoint_v3_LbEndpointCollection* msg,
|
|
625
|
-
|
|
676
|
+
UPB_INLINE char* envoy_config_endpoint_v3_LbEndpointCollection_serialize_ex(const envoy_config_endpoint_v3_LbEndpointCollection* msg,
|
|
677
|
+
int options, upb_Arena* arena,
|
|
678
|
+
size_t* len) {
|
|
626
679
|
char* ptr;
|
|
627
680
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__endpoint__v3__LbEndpointCollection_msg_init, options, arena, &ptr, len);
|
|
628
681
|
return ptr;
|
|
629
682
|
}
|
|
630
683
|
UPB_INLINE void envoy_config_endpoint_v3_LbEndpointCollection_clear_entries(envoy_config_endpoint_v3_LbEndpointCollection* msg) {
|
|
631
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
684
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
632
685
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
633
686
|
}
|
|
634
687
|
UPB_INLINE const struct xds_core_v3_CollectionEntry* envoy_config_endpoint_v3_LbEndpointCollection_entries(const envoy_config_endpoint_v3_LbEndpointCollection* msg) {
|
|
635
688
|
const struct xds_core_v3_CollectionEntry* default_val = NULL;
|
|
636
689
|
const struct xds_core_v3_CollectionEntry* ret;
|
|
637
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
690
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
638
691
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&xds__core__v3__CollectionEntry_msg_init);
|
|
639
692
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
640
693
|
&default_val, &ret);
|
|
641
694
|
return ret;
|
|
642
695
|
}
|
|
643
696
|
UPB_INLINE bool envoy_config_endpoint_v3_LbEndpointCollection_has_entries(const envoy_config_endpoint_v3_LbEndpointCollection* msg) {
|
|
644
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
697
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
645
698
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
646
699
|
}
|
|
647
700
|
|
|
648
|
-
UPB_INLINE void envoy_config_endpoint_v3_LbEndpointCollection_set_entries(envoy_config_endpoint_v3_LbEndpointCollection
|
|
649
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64,
|
|
701
|
+
UPB_INLINE void envoy_config_endpoint_v3_LbEndpointCollection_set_entries(envoy_config_endpoint_v3_LbEndpointCollection* msg, struct xds_core_v3_CollectionEntry* value) {
|
|
702
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
650
703
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&xds__core__v3__CollectionEntry_msg_init);
|
|
651
|
-
upb_Message_SetBaseField((upb_Message
|
|
704
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
652
705
|
}
|
|
653
|
-
UPB_INLINE struct xds_core_v3_CollectionEntry* envoy_config_endpoint_v3_LbEndpointCollection_mutable_entries(
|
|
706
|
+
UPB_INLINE struct xds_core_v3_CollectionEntry* envoy_config_endpoint_v3_LbEndpointCollection_mutable_entries(
|
|
707
|
+
envoy_config_endpoint_v3_LbEndpointCollection* msg, upb_Arena* arena) {
|
|
654
708
|
struct xds_core_v3_CollectionEntry* sub = (struct xds_core_v3_CollectionEntry*)envoy_config_endpoint_v3_LbEndpointCollection_entries(msg);
|
|
655
709
|
if (sub == NULL) {
|
|
656
710
|
sub = (struct xds_core_v3_CollectionEntry*)_upb_Message_New(&xds__core__v3__CollectionEntry_msg_init, arena);
|
|
@@ -660,56 +714,58 @@ UPB_INLINE struct xds_core_v3_CollectionEntry* envoy_config_endpoint_v3_LbEndpoi
|
|
|
660
714
|
}
|
|
661
715
|
|
|
662
716
|
/* envoy.config.endpoint.v3.LedsClusterLocalityConfig */
|
|
663
|
-
|
|
664
717
|
UPB_INLINE envoy_config_endpoint_v3_LedsClusterLocalityConfig* envoy_config_endpoint_v3_LedsClusterLocalityConfig_new(upb_Arena* arena) {
|
|
665
718
|
return (envoy_config_endpoint_v3_LedsClusterLocalityConfig*)_upb_Message_New(&envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init, arena);
|
|
666
719
|
}
|
|
667
|
-
UPB_INLINE envoy_config_endpoint_v3_LedsClusterLocalityConfig* envoy_config_endpoint_v3_LedsClusterLocalityConfig_parse(const char* buf, size_t size,
|
|
720
|
+
UPB_INLINE envoy_config_endpoint_v3_LedsClusterLocalityConfig* envoy_config_endpoint_v3_LedsClusterLocalityConfig_parse(const char* buf, size_t size,
|
|
721
|
+
upb_Arena* arena) {
|
|
668
722
|
envoy_config_endpoint_v3_LedsClusterLocalityConfig* ret = envoy_config_endpoint_v3_LedsClusterLocalityConfig_new(arena);
|
|
669
723
|
if (!ret) return NULL;
|
|
670
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init, NULL, 0,
|
|
671
|
-
|
|
724
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init, NULL, 0,
|
|
725
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
672
726
|
return NULL;
|
|
673
727
|
}
|
|
674
728
|
return ret;
|
|
675
729
|
}
|
|
676
|
-
UPB_INLINE envoy_config_endpoint_v3_LedsClusterLocalityConfig* envoy_config_endpoint_v3_LedsClusterLocalityConfig_parse_ex(
|
|
677
|
-
|
|
678
|
-
|
|
730
|
+
UPB_INLINE envoy_config_endpoint_v3_LedsClusterLocalityConfig* envoy_config_endpoint_v3_LedsClusterLocalityConfig_parse_ex(
|
|
731
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
732
|
+
int options, upb_Arena* arena) {
|
|
679
733
|
envoy_config_endpoint_v3_LedsClusterLocalityConfig* ret = envoy_config_endpoint_v3_LedsClusterLocalityConfig_new(arena);
|
|
680
734
|
if (!ret) return NULL;
|
|
681
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init, extreg,
|
|
682
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
735
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init, extreg,
|
|
736
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
683
737
|
return NULL;
|
|
684
738
|
}
|
|
685
739
|
return ret;
|
|
686
740
|
}
|
|
687
|
-
UPB_INLINE char* envoy_config_endpoint_v3_LedsClusterLocalityConfig_serialize(const envoy_config_endpoint_v3_LedsClusterLocalityConfig* msg,
|
|
741
|
+
UPB_INLINE char* envoy_config_endpoint_v3_LedsClusterLocalityConfig_serialize(const envoy_config_endpoint_v3_LedsClusterLocalityConfig* msg,
|
|
742
|
+
upb_Arena* arena, size_t* len) {
|
|
688
743
|
char* ptr;
|
|
689
744
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init, 0, arena, &ptr, len);
|
|
690
745
|
return ptr;
|
|
691
746
|
}
|
|
692
|
-
UPB_INLINE char* envoy_config_endpoint_v3_LedsClusterLocalityConfig_serialize_ex(const envoy_config_endpoint_v3_LedsClusterLocalityConfig* msg,
|
|
693
|
-
|
|
747
|
+
UPB_INLINE char* envoy_config_endpoint_v3_LedsClusterLocalityConfig_serialize_ex(const envoy_config_endpoint_v3_LedsClusterLocalityConfig* msg,
|
|
748
|
+
int options, upb_Arena* arena,
|
|
749
|
+
size_t* len) {
|
|
694
750
|
char* ptr;
|
|
695
751
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init, options, arena, &ptr, len);
|
|
696
752
|
return ptr;
|
|
697
753
|
}
|
|
698
754
|
UPB_INLINE void envoy_config_endpoint_v3_LedsClusterLocalityConfig_clear_leds_config(envoy_config_endpoint_v3_LedsClusterLocalityConfig* msg) {
|
|
699
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
755
|
+
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)};
|
|
700
756
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
701
757
|
}
|
|
702
758
|
UPB_INLINE const struct envoy_config_core_v3_ConfigSource* envoy_config_endpoint_v3_LedsClusterLocalityConfig_leds_config(const envoy_config_endpoint_v3_LedsClusterLocalityConfig* msg) {
|
|
703
759
|
const struct envoy_config_core_v3_ConfigSource* default_val = NULL;
|
|
704
760
|
const struct envoy_config_core_v3_ConfigSource* ret;
|
|
705
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
761
|
+
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)};
|
|
706
762
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__ConfigSource_msg_init);
|
|
707
763
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
708
764
|
&default_val, &ret);
|
|
709
765
|
return ret;
|
|
710
766
|
}
|
|
711
767
|
UPB_INLINE bool envoy_config_endpoint_v3_LedsClusterLocalityConfig_has_leds_config(const envoy_config_endpoint_v3_LedsClusterLocalityConfig* msg) {
|
|
712
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
768
|
+
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)};
|
|
713
769
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
714
770
|
}
|
|
715
771
|
UPB_INLINE void envoy_config_endpoint_v3_LedsClusterLocalityConfig_clear_leds_collection_name(envoy_config_endpoint_v3_LedsClusterLocalityConfig* msg) {
|
|
@@ -725,12 +781,13 @@ UPB_INLINE upb_StringView envoy_config_endpoint_v3_LedsClusterLocalityConfig_led
|
|
|
725
781
|
return ret;
|
|
726
782
|
}
|
|
727
783
|
|
|
728
|
-
UPB_INLINE void envoy_config_endpoint_v3_LedsClusterLocalityConfig_set_leds_config(envoy_config_endpoint_v3_LedsClusterLocalityConfig
|
|
729
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64,
|
|
784
|
+
UPB_INLINE void envoy_config_endpoint_v3_LedsClusterLocalityConfig_set_leds_config(envoy_config_endpoint_v3_LedsClusterLocalityConfig* msg, struct envoy_config_core_v3_ConfigSource* value) {
|
|
785
|
+
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)};
|
|
730
786
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__ConfigSource_msg_init);
|
|
731
|
-
upb_Message_SetBaseField((upb_Message
|
|
787
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
732
788
|
}
|
|
733
|
-
UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_endpoint_v3_LedsClusterLocalityConfig_mutable_leds_config(
|
|
789
|
+
UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_endpoint_v3_LedsClusterLocalityConfig_mutable_leds_config(
|
|
790
|
+
envoy_config_endpoint_v3_LedsClusterLocalityConfig* msg, upb_Arena* arena) {
|
|
734
791
|
struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_endpoint_v3_LedsClusterLocalityConfig_leds_config(msg);
|
|
735
792
|
if (sub == NULL) {
|
|
736
793
|
sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena);
|
|
@@ -738,43 +795,45 @@ UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_endpoint_v3_Le
|
|
|
738
795
|
}
|
|
739
796
|
return sub;
|
|
740
797
|
}
|
|
741
|
-
UPB_INLINE void envoy_config_endpoint_v3_LedsClusterLocalityConfig_set_leds_collection_name(envoy_config_endpoint_v3_LedsClusterLocalityConfig
|
|
798
|
+
UPB_INLINE void envoy_config_endpoint_v3_LedsClusterLocalityConfig_set_leds_collection_name(envoy_config_endpoint_v3_LedsClusterLocalityConfig* msg, upb_StringView value) {
|
|
742
799
|
const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
743
|
-
upb_Message_SetBaseField((upb_Message
|
|
800
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
744
801
|
}
|
|
745
802
|
|
|
746
803
|
/* envoy.config.endpoint.v3.LocalityLbEndpoints */
|
|
747
|
-
|
|
748
804
|
UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints* envoy_config_endpoint_v3_LocalityLbEndpoints_new(upb_Arena* arena) {
|
|
749
805
|
return (envoy_config_endpoint_v3_LocalityLbEndpoints*)_upb_Message_New(&envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init, arena);
|
|
750
806
|
}
|
|
751
|
-
UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints* envoy_config_endpoint_v3_LocalityLbEndpoints_parse(const char* buf, size_t size,
|
|
807
|
+
UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints* envoy_config_endpoint_v3_LocalityLbEndpoints_parse(const char* buf, size_t size,
|
|
808
|
+
upb_Arena* arena) {
|
|
752
809
|
envoy_config_endpoint_v3_LocalityLbEndpoints* ret = envoy_config_endpoint_v3_LocalityLbEndpoints_new(arena);
|
|
753
810
|
if (!ret) return NULL;
|
|
754
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init, NULL, 0,
|
|
755
|
-
|
|
811
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init, NULL, 0,
|
|
812
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
756
813
|
return NULL;
|
|
757
814
|
}
|
|
758
815
|
return ret;
|
|
759
816
|
}
|
|
760
|
-
UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints* envoy_config_endpoint_v3_LocalityLbEndpoints_parse_ex(
|
|
761
|
-
|
|
762
|
-
|
|
817
|
+
UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints* envoy_config_endpoint_v3_LocalityLbEndpoints_parse_ex(
|
|
818
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
819
|
+
int options, upb_Arena* arena) {
|
|
763
820
|
envoy_config_endpoint_v3_LocalityLbEndpoints* ret = envoy_config_endpoint_v3_LocalityLbEndpoints_new(arena);
|
|
764
821
|
if (!ret) return NULL;
|
|
765
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init, extreg,
|
|
766
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
822
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init, extreg,
|
|
823
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
767
824
|
return NULL;
|
|
768
825
|
}
|
|
769
826
|
return ret;
|
|
770
827
|
}
|
|
771
|
-
UPB_INLINE char* envoy_config_endpoint_v3_LocalityLbEndpoints_serialize(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg,
|
|
828
|
+
UPB_INLINE char* envoy_config_endpoint_v3_LocalityLbEndpoints_serialize(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg,
|
|
829
|
+
upb_Arena* arena, size_t* len) {
|
|
772
830
|
char* ptr;
|
|
773
831
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init, 0, arena, &ptr, len);
|
|
774
832
|
return ptr;
|
|
775
833
|
}
|
|
776
|
-
UPB_INLINE char* envoy_config_endpoint_v3_LocalityLbEndpoints_serialize_ex(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg,
|
|
777
|
-
|
|
834
|
+
UPB_INLINE char* envoy_config_endpoint_v3_LocalityLbEndpoints_serialize_ex(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg,
|
|
835
|
+
int options, upb_Arena* arena,
|
|
836
|
+
size_t* len) {
|
|
778
837
|
char* ptr;
|
|
779
838
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init, options, arena, &ptr, len);
|
|
780
839
|
return ptr;
|
|
@@ -784,38 +843,41 @@ typedef enum {
|
|
|
784
843
|
envoy_config_endpoint_v3_LocalityLbEndpoints_lb_config_leds_cluster_locality_config = 8,
|
|
785
844
|
envoy_config_endpoint_v3_LocalityLbEndpoints_lb_config_NOT_SET = 0
|
|
786
845
|
} envoy_config_endpoint_v3_LocalityLbEndpoints_lb_config_oneofcases;
|
|
787
|
-
|
|
788
|
-
|
|
846
|
+
|
|
847
|
+
UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints_lb_config_oneofcases
|
|
848
|
+
envoy_config_endpoint_v3_LocalityLbEndpoints_lb_config_case(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
849
|
+
const upb_MiniTableField field = {7, UPB_SIZE(40, 64), UPB_SIZE(-37, -17), UPB_SIZE(13, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
789
850
|
return (envoy_config_endpoint_v3_LocalityLbEndpoints_lb_config_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
790
851
|
UPB_UPCAST(msg), &field);
|
|
791
852
|
}
|
|
792
853
|
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_clear_lb_config(envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
793
|
-
const upb_MiniTableField field = {7, UPB_SIZE(40, 64), UPB_SIZE(-37, -17),
|
|
854
|
+
const upb_MiniTableField field = {7, UPB_SIZE(40, 64), UPB_SIZE(-37, -17), UPB_SIZE(13, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
794
855
|
upb_Message_ClearOneof(UPB_UPCAST(msg), &envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init, &field);
|
|
795
856
|
}
|
|
796
857
|
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_clear_locality(envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
797
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64,
|
|
858
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
798
859
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
799
860
|
}
|
|
800
861
|
UPB_INLINE const struct envoy_config_core_v3_Locality* envoy_config_endpoint_v3_LocalityLbEndpoints_locality(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
801
862
|
const struct envoy_config_core_v3_Locality* default_val = NULL;
|
|
802
863
|
const struct envoy_config_core_v3_Locality* ret;
|
|
803
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64,
|
|
864
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
804
865
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Locality_msg_init);
|
|
805
866
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
806
867
|
&default_val, &ret);
|
|
807
868
|
return ret;
|
|
808
869
|
}
|
|
809
870
|
UPB_INLINE bool envoy_config_endpoint_v3_LocalityLbEndpoints_has_locality(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
810
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64,
|
|
871
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
811
872
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
812
873
|
}
|
|
813
874
|
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_clear_lb_endpoints(envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
814
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0,
|
|
875
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
815
876
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
816
877
|
}
|
|
817
|
-
UPB_INLINE const envoy_config_endpoint_v3_LbEndpoint* const* envoy_config_endpoint_v3_LocalityLbEndpoints_lb_endpoints(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg,
|
|
818
|
-
|
|
878
|
+
UPB_INLINE const envoy_config_endpoint_v3_LbEndpoint* const* envoy_config_endpoint_v3_LocalityLbEndpoints_lb_endpoints(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg,
|
|
879
|
+
size_t* size) {
|
|
880
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
819
881
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__LbEndpoint_msg_init);
|
|
820
882
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
821
883
|
if (arr) {
|
|
@@ -826,8 +888,11 @@ UPB_INLINE const envoy_config_endpoint_v3_LbEndpoint* const* envoy_config_endpoi
|
|
|
826
888
|
return NULL;
|
|
827
889
|
}
|
|
828
890
|
}
|
|
829
|
-
|
|
830
|
-
|
|
891
|
+
|
|
892
|
+
//
|
|
893
|
+
UPB_INLINE const upb_Array* _envoy_config_endpoint_v3_LocalityLbEndpoints_lb_endpoints_upb_array(
|
|
894
|
+
const envoy_config_endpoint_v3_LocalityLbEndpoints* msg, size_t* size) {
|
|
895
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
831
896
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__LbEndpoint_msg_init);
|
|
832
897
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
833
898
|
if (size) {
|
|
@@ -835,8 +900,10 @@ UPB_INLINE const upb_Array* _envoy_config_endpoint_v3_LocalityLbEndpoints_lb_end
|
|
|
835
900
|
}
|
|
836
901
|
return arr;
|
|
837
902
|
}
|
|
838
|
-
|
|
839
|
-
|
|
903
|
+
|
|
904
|
+
UPB_INLINE upb_Array* _envoy_config_endpoint_v3_LocalityLbEndpoints_lb_endpoints_mutable_upb_array(
|
|
905
|
+
envoy_config_endpoint_v3_LocalityLbEndpoints* msg, size_t* size, upb_Arena* arena) {
|
|
906
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
840
907
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__LbEndpoint_msg_init);
|
|
841
908
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
842
909
|
&field, arena);
|
|
@@ -846,20 +913,20 @@ UPB_INLINE upb_Array* _envoy_config_endpoint_v3_LocalityLbEndpoints_lb_endpoints
|
|
|
846
913
|
return arr;
|
|
847
914
|
}
|
|
848
915
|
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_clear_load_balancing_weight(envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
849
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 65,
|
|
916
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 65, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
850
917
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
851
918
|
}
|
|
852
919
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_endpoint_v3_LocalityLbEndpoints_load_balancing_weight(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
853
920
|
const struct google_protobuf_UInt32Value* default_val = NULL;
|
|
854
921
|
const struct google_protobuf_UInt32Value* ret;
|
|
855
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 65,
|
|
922
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 65, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
856
923
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UInt32Value_msg_init);
|
|
857
924
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
858
925
|
&default_val, &ret);
|
|
859
926
|
return ret;
|
|
860
927
|
}
|
|
861
928
|
UPB_INLINE bool envoy_config_endpoint_v3_LocalityLbEndpoints_has_load_balancing_weight(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
862
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 65,
|
|
929
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 65, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
863
930
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
864
931
|
}
|
|
865
932
|
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_clear_priority(envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
@@ -875,80 +942,81 @@ UPB_INLINE uint32_t envoy_config_endpoint_v3_LocalityLbEndpoints_priority(const
|
|
|
875
942
|
return ret;
|
|
876
943
|
}
|
|
877
944
|
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_clear_proximity(envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
878
|
-
const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 66,
|
|
945
|
+
const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 66, UPB_SIZE(15, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
879
946
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
880
947
|
}
|
|
881
948
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_endpoint_v3_LocalityLbEndpoints_proximity(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
882
949
|
const struct google_protobuf_UInt32Value* default_val = NULL;
|
|
883
950
|
const struct google_protobuf_UInt32Value* ret;
|
|
884
|
-
const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 66,
|
|
951
|
+
const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 66, UPB_SIZE(15, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
885
952
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UInt32Value_msg_init);
|
|
886
953
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
887
954
|
&default_val, &ret);
|
|
888
955
|
return ret;
|
|
889
956
|
}
|
|
890
957
|
UPB_INLINE bool envoy_config_endpoint_v3_LocalityLbEndpoints_has_proximity(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
891
|
-
const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 66,
|
|
958
|
+
const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 66, UPB_SIZE(15, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
892
959
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
893
960
|
}
|
|
894
961
|
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_clear_load_balancer_endpoints(envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
895
|
-
const upb_MiniTableField field = {7, UPB_SIZE(40, 64), UPB_SIZE(-37, -17),
|
|
962
|
+
const upb_MiniTableField field = {7, UPB_SIZE(40, 64), UPB_SIZE(-37, -17), UPB_SIZE(13, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
896
963
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
897
964
|
}
|
|
898
965
|
UPB_INLINE const envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* envoy_config_endpoint_v3_LocalityLbEndpoints_load_balancer_endpoints(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
899
966
|
const envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* default_val = NULL;
|
|
900
967
|
const envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* ret;
|
|
901
|
-
const upb_MiniTableField field = {7, UPB_SIZE(40, 64), UPB_SIZE(-37, -17),
|
|
968
|
+
const upb_MiniTableField field = {7, UPB_SIZE(40, 64), UPB_SIZE(-37, -17), UPB_SIZE(13, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
902
969
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init);
|
|
903
970
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
904
971
|
&default_val, &ret);
|
|
905
972
|
return ret;
|
|
906
973
|
}
|
|
907
974
|
UPB_INLINE bool envoy_config_endpoint_v3_LocalityLbEndpoints_has_load_balancer_endpoints(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
908
|
-
const upb_MiniTableField field = {7, UPB_SIZE(40, 64), UPB_SIZE(-37, -17),
|
|
975
|
+
const upb_MiniTableField field = {7, UPB_SIZE(40, 64), UPB_SIZE(-37, -17), UPB_SIZE(13, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
909
976
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
910
977
|
}
|
|
911
978
|
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_clear_leds_cluster_locality_config(envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
912
|
-
const upb_MiniTableField field = {8, UPB_SIZE(40, 64), UPB_SIZE(-37, -17),
|
|
979
|
+
const upb_MiniTableField field = {8, UPB_SIZE(40, 64), UPB_SIZE(-37, -17), UPB_SIZE(11, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
913
980
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
914
981
|
}
|
|
915
982
|
UPB_INLINE const envoy_config_endpoint_v3_LedsClusterLocalityConfig* envoy_config_endpoint_v3_LocalityLbEndpoints_leds_cluster_locality_config(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
916
983
|
const envoy_config_endpoint_v3_LedsClusterLocalityConfig* default_val = NULL;
|
|
917
984
|
const envoy_config_endpoint_v3_LedsClusterLocalityConfig* ret;
|
|
918
|
-
const upb_MiniTableField field = {8, UPB_SIZE(40, 64), UPB_SIZE(-37, -17),
|
|
985
|
+
const upb_MiniTableField field = {8, UPB_SIZE(40, 64), UPB_SIZE(-37, -17), UPB_SIZE(11, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
919
986
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init);
|
|
920
987
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
921
988
|
&default_val, &ret);
|
|
922
989
|
return ret;
|
|
923
990
|
}
|
|
924
991
|
UPB_INLINE bool envoy_config_endpoint_v3_LocalityLbEndpoints_has_leds_cluster_locality_config(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
925
|
-
const upb_MiniTableField field = {8, UPB_SIZE(40, 64), UPB_SIZE(-37, -17),
|
|
992
|
+
const upb_MiniTableField field = {8, UPB_SIZE(40, 64), UPB_SIZE(-37, -17), UPB_SIZE(11, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
926
993
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
927
994
|
}
|
|
928
995
|
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_clear_metadata(envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
929
|
-
const upb_MiniTableField field = {9, UPB_SIZE(32, 56), 67,
|
|
996
|
+
const upb_MiniTableField field = {9, UPB_SIZE(32, 56), 67, UPB_SIZE(9, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
930
997
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
931
998
|
}
|
|
932
999
|
UPB_INLINE const struct envoy_config_core_v3_Metadata* envoy_config_endpoint_v3_LocalityLbEndpoints_metadata(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
933
1000
|
const struct envoy_config_core_v3_Metadata* default_val = NULL;
|
|
934
1001
|
const struct envoy_config_core_v3_Metadata* ret;
|
|
935
|
-
const upb_MiniTableField field = {9, UPB_SIZE(32, 56), 67,
|
|
1002
|
+
const upb_MiniTableField field = {9, UPB_SIZE(32, 56), 67, UPB_SIZE(9, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
936
1003
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata_msg_init);
|
|
937
1004
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
938
1005
|
&default_val, &ret);
|
|
939
1006
|
return ret;
|
|
940
1007
|
}
|
|
941
1008
|
UPB_INLINE bool envoy_config_endpoint_v3_LocalityLbEndpoints_has_metadata(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg) {
|
|
942
|
-
const upb_MiniTableField field = {9, UPB_SIZE(32, 56), 67,
|
|
1009
|
+
const upb_MiniTableField field = {9, UPB_SIZE(32, 56), 67, UPB_SIZE(9, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
943
1010
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
944
1011
|
}
|
|
945
1012
|
|
|
946
|
-
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_locality(envoy_config_endpoint_v3_LocalityLbEndpoints
|
|
947
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64,
|
|
1013
|
+
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_locality(envoy_config_endpoint_v3_LocalityLbEndpoints* msg, struct envoy_config_core_v3_Locality* value) {
|
|
1014
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
948
1015
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Locality_msg_init);
|
|
949
|
-
upb_Message_SetBaseField((upb_Message
|
|
1016
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
950
1017
|
}
|
|
951
|
-
UPB_INLINE struct envoy_config_core_v3_Locality* envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_locality(
|
|
1018
|
+
UPB_INLINE struct envoy_config_core_v3_Locality* envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_locality(
|
|
1019
|
+
envoy_config_endpoint_v3_LocalityLbEndpoints* msg, upb_Arena* arena) {
|
|
952
1020
|
struct envoy_config_core_v3_Locality* sub = (struct envoy_config_core_v3_Locality*)envoy_config_endpoint_v3_LocalityLbEndpoints_locality(msg);
|
|
953
1021
|
if (sub == NULL) {
|
|
954
1022
|
sub = (struct envoy_config_core_v3_Locality*)_upb_Message_New(&envoy__config__core__v3__Locality_msg_init, arena);
|
|
@@ -956,8 +1024,9 @@ UPB_INLINE struct envoy_config_core_v3_Locality* envoy_config_endpoint_v3_Locali
|
|
|
956
1024
|
}
|
|
957
1025
|
return sub;
|
|
958
1026
|
}
|
|
959
|
-
UPB_INLINE envoy_config_endpoint_v3_LbEndpoint** envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_lb_endpoints(envoy_config_endpoint_v3_LocalityLbEndpoints* msg,
|
|
960
|
-
|
|
1027
|
+
UPB_INLINE envoy_config_endpoint_v3_LbEndpoint** envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_lb_endpoints(envoy_config_endpoint_v3_LocalityLbEndpoints* msg,
|
|
1028
|
+
size_t* size) {
|
|
1029
|
+
upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
961
1030
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__LbEndpoint_msg_init);
|
|
962
1031
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
963
1032
|
if (arr) {
|
|
@@ -968,13 +1037,18 @@ UPB_INLINE envoy_config_endpoint_v3_LbEndpoint** envoy_config_endpoint_v3_Locali
|
|
|
968
1037
|
return NULL;
|
|
969
1038
|
}
|
|
970
1039
|
}
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
1040
|
+
|
|
1041
|
+
UPB_INLINE envoy_config_endpoint_v3_LbEndpoint** envoy_config_endpoint_v3_LocalityLbEndpoints_resize_lb_endpoints(envoy_config_endpoint_v3_LocalityLbEndpoints* msg,
|
|
1042
|
+
size_t size,
|
|
1043
|
+
upb_Arena* arena) {
|
|
1044
|
+
upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1045
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__LbEndpoint_msg_init);
|
|
1046
|
+
return (envoy_config_endpoint_v3_LbEndpoint**)upb_Message_ResizeArrayUninitialized(
|
|
1047
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
975
1048
|
}
|
|
976
|
-
UPB_INLINE struct envoy_config_endpoint_v3_LbEndpoint* envoy_config_endpoint_v3_LocalityLbEndpoints_add_lb_endpoints(
|
|
977
|
-
|
|
1049
|
+
UPB_INLINE struct envoy_config_endpoint_v3_LbEndpoint* envoy_config_endpoint_v3_LocalityLbEndpoints_add_lb_endpoints(
|
|
1050
|
+
envoy_config_endpoint_v3_LocalityLbEndpoints* msg, upb_Arena* arena) {
|
|
1051
|
+
upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
978
1052
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__LbEndpoint_msg_init);
|
|
979
1053
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
980
1054
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -982,18 +1056,20 @@ UPB_INLINE struct envoy_config_endpoint_v3_LbEndpoint* envoy_config_endpoint_v3_
|
|
|
982
1056
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
983
1057
|
return NULL;
|
|
984
1058
|
}
|
|
985
|
-
struct envoy_config_endpoint_v3_LbEndpoint* sub =
|
|
1059
|
+
struct envoy_config_endpoint_v3_LbEndpoint* sub =
|
|
1060
|
+
(struct envoy_config_endpoint_v3_LbEndpoint*)_upb_Message_New(&envoy__config__endpoint__v3__LbEndpoint_msg_init, arena);
|
|
986
1061
|
if (!arr || !sub) return NULL;
|
|
987
1062
|
UPB_PRIVATE(_upb_Array_Set)
|
|
988
1063
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
989
1064
|
return sub;
|
|
990
1065
|
}
|
|
991
|
-
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_load_balancing_weight(envoy_config_endpoint_v3_LocalityLbEndpoints
|
|
992
|
-
const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 65,
|
|
1066
|
+
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_load_balancing_weight(envoy_config_endpoint_v3_LocalityLbEndpoints* msg, struct google_protobuf_UInt32Value* value) {
|
|
1067
|
+
const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 65, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
993
1068
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UInt32Value_msg_init);
|
|
994
|
-
upb_Message_SetBaseField((upb_Message
|
|
1069
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
995
1070
|
}
|
|
996
|
-
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_load_balancing_weight(
|
|
1071
|
+
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_load_balancing_weight(
|
|
1072
|
+
envoy_config_endpoint_v3_LocalityLbEndpoints* msg, upb_Arena* arena) {
|
|
997
1073
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_endpoint_v3_LocalityLbEndpoints_load_balancing_weight(msg);
|
|
998
1074
|
if (sub == NULL) {
|
|
999
1075
|
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena);
|
|
@@ -1001,16 +1077,17 @@ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_endpoint_v3_Locality
|
|
|
1001
1077
|
}
|
|
1002
1078
|
return sub;
|
|
1003
1079
|
}
|
|
1004
|
-
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_priority(envoy_config_endpoint_v3_LocalityLbEndpoints
|
|
1080
|
+
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_priority(envoy_config_endpoint_v3_LocalityLbEndpoints* msg, uint32_t value) {
|
|
1005
1081
|
const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
1006
|
-
upb_Message_SetBaseField((upb_Message
|
|
1082
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1007
1083
|
}
|
|
1008
|
-
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_proximity(envoy_config_endpoint_v3_LocalityLbEndpoints
|
|
1009
|
-
const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 66,
|
|
1084
|
+
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_proximity(envoy_config_endpoint_v3_LocalityLbEndpoints* msg, struct google_protobuf_UInt32Value* value) {
|
|
1085
|
+
const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 66, UPB_SIZE(15, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1010
1086
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UInt32Value_msg_init);
|
|
1011
|
-
upb_Message_SetBaseField((upb_Message
|
|
1087
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1012
1088
|
}
|
|
1013
|
-
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_proximity(
|
|
1089
|
+
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_proximity(
|
|
1090
|
+
envoy_config_endpoint_v3_LocalityLbEndpoints* msg, upb_Arena* arena) {
|
|
1014
1091
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_endpoint_v3_LocalityLbEndpoints_proximity(msg);
|
|
1015
1092
|
if (sub == NULL) {
|
|
1016
1093
|
sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena);
|
|
@@ -1018,12 +1095,13 @@ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_endpoint_v3_Locality
|
|
|
1018
1095
|
}
|
|
1019
1096
|
return sub;
|
|
1020
1097
|
}
|
|
1021
|
-
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_load_balancer_endpoints(envoy_config_endpoint_v3_LocalityLbEndpoints
|
|
1022
|
-
const upb_MiniTableField field = {7, UPB_SIZE(40, 64), UPB_SIZE(-37, -17),
|
|
1098
|
+
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_load_balancer_endpoints(envoy_config_endpoint_v3_LocalityLbEndpoints* msg, envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* value) {
|
|
1099
|
+
const upb_MiniTableField field = {7, UPB_SIZE(40, 64), UPB_SIZE(-37, -17), UPB_SIZE(13, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1023
1100
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init);
|
|
1024
|
-
upb_Message_SetBaseField((upb_Message
|
|
1101
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1025
1102
|
}
|
|
1026
|
-
UPB_INLINE struct envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_load_balancer_endpoints(
|
|
1103
|
+
UPB_INLINE struct envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_load_balancer_endpoints(
|
|
1104
|
+
envoy_config_endpoint_v3_LocalityLbEndpoints* msg, upb_Arena* arena) {
|
|
1027
1105
|
struct envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* sub = (struct envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList*)envoy_config_endpoint_v3_LocalityLbEndpoints_load_balancer_endpoints(msg);
|
|
1028
1106
|
if (sub == NULL) {
|
|
1029
1107
|
sub = (struct envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList*)_upb_Message_New(&envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init, arena);
|
|
@@ -1031,12 +1109,13 @@ UPB_INLINE struct envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* e
|
|
|
1031
1109
|
}
|
|
1032
1110
|
return sub;
|
|
1033
1111
|
}
|
|
1034
|
-
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_leds_cluster_locality_config(envoy_config_endpoint_v3_LocalityLbEndpoints
|
|
1035
|
-
const upb_MiniTableField field = {8, UPB_SIZE(40, 64), UPB_SIZE(-37, -17),
|
|
1112
|
+
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_leds_cluster_locality_config(envoy_config_endpoint_v3_LocalityLbEndpoints* msg, envoy_config_endpoint_v3_LedsClusterLocalityConfig* value) {
|
|
1113
|
+
const upb_MiniTableField field = {8, UPB_SIZE(40, 64), UPB_SIZE(-37, -17), UPB_SIZE(11, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1036
1114
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init);
|
|
1037
|
-
upb_Message_SetBaseField((upb_Message
|
|
1115
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1038
1116
|
}
|
|
1039
|
-
UPB_INLINE struct envoy_config_endpoint_v3_LedsClusterLocalityConfig* envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_leds_cluster_locality_config(
|
|
1117
|
+
UPB_INLINE struct envoy_config_endpoint_v3_LedsClusterLocalityConfig* envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_leds_cluster_locality_config(
|
|
1118
|
+
envoy_config_endpoint_v3_LocalityLbEndpoints* msg, upb_Arena* arena) {
|
|
1040
1119
|
struct envoy_config_endpoint_v3_LedsClusterLocalityConfig* sub = (struct envoy_config_endpoint_v3_LedsClusterLocalityConfig*)envoy_config_endpoint_v3_LocalityLbEndpoints_leds_cluster_locality_config(msg);
|
|
1041
1120
|
if (sub == NULL) {
|
|
1042
1121
|
sub = (struct envoy_config_endpoint_v3_LedsClusterLocalityConfig*)_upb_Message_New(&envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init, arena);
|
|
@@ -1044,12 +1123,13 @@ UPB_INLINE struct envoy_config_endpoint_v3_LedsClusterLocalityConfig* envoy_conf
|
|
|
1044
1123
|
}
|
|
1045
1124
|
return sub;
|
|
1046
1125
|
}
|
|
1047
|
-
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_metadata(envoy_config_endpoint_v3_LocalityLbEndpoints
|
|
1048
|
-
const upb_MiniTableField field = {9, UPB_SIZE(32, 56), 67,
|
|
1126
|
+
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_metadata(envoy_config_endpoint_v3_LocalityLbEndpoints* msg, struct envoy_config_core_v3_Metadata* value) {
|
|
1127
|
+
const upb_MiniTableField field = {9, UPB_SIZE(32, 56), 67, UPB_SIZE(9, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1049
1128
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__core__v3__Metadata_msg_init);
|
|
1050
|
-
upb_Message_SetBaseField((upb_Message
|
|
1129
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1051
1130
|
}
|
|
1052
|
-
UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_metadata(
|
|
1131
|
+
UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_metadata(
|
|
1132
|
+
envoy_config_endpoint_v3_LocalityLbEndpoints* msg, upb_Arena* arena) {
|
|
1053
1133
|
struct envoy_config_core_v3_Metadata* sub = (struct envoy_config_core_v3_Metadata*)envoy_config_endpoint_v3_LocalityLbEndpoints_metadata(msg);
|
|
1054
1134
|
if (sub == NULL) {
|
|
1055
1135
|
sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy__config__core__v3__Metadata_msg_init, arena);
|
|
@@ -1059,47 +1139,50 @@ UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_endpoint_v3_Locali
|
|
|
1059
1139
|
}
|
|
1060
1140
|
|
|
1061
1141
|
/* envoy.config.endpoint.v3.LocalityLbEndpoints.LbEndpointList */
|
|
1062
|
-
|
|
1063
1142
|
UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_new(upb_Arena* arena) {
|
|
1064
1143
|
return (envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList*)_upb_Message_New(&envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init, arena);
|
|
1065
1144
|
}
|
|
1066
|
-
UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_parse(const char* buf, size_t size,
|
|
1145
|
+
UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_parse(const char* buf, size_t size,
|
|
1146
|
+
upb_Arena* arena) {
|
|
1067
1147
|
envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* ret = envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_new(arena);
|
|
1068
1148
|
if (!ret) return NULL;
|
|
1069
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init, NULL, 0,
|
|
1070
|
-
|
|
1149
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init, NULL, 0,
|
|
1150
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1071
1151
|
return NULL;
|
|
1072
1152
|
}
|
|
1073
1153
|
return ret;
|
|
1074
1154
|
}
|
|
1075
|
-
UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_parse_ex(
|
|
1076
|
-
|
|
1077
|
-
|
|
1155
|
+
UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_parse_ex(
|
|
1156
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1157
|
+
int options, upb_Arena* arena) {
|
|
1078
1158
|
envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* ret = envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_new(arena);
|
|
1079
1159
|
if (!ret) return NULL;
|
|
1080
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init, extreg,
|
|
1081
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1160
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init, extreg,
|
|
1161
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1082
1162
|
return NULL;
|
|
1083
1163
|
}
|
|
1084
1164
|
return ret;
|
|
1085
1165
|
}
|
|
1086
|
-
UPB_INLINE char* envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_serialize(const envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* msg,
|
|
1166
|
+
UPB_INLINE char* envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_serialize(const envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* msg,
|
|
1167
|
+
upb_Arena* arena, size_t* len) {
|
|
1087
1168
|
char* ptr;
|
|
1088
1169
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init, 0, arena, &ptr, len);
|
|
1089
1170
|
return ptr;
|
|
1090
1171
|
}
|
|
1091
|
-
UPB_INLINE char* envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_serialize_ex(const envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* msg,
|
|
1092
|
-
|
|
1172
|
+
UPB_INLINE char* envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_serialize_ex(const envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* msg,
|
|
1173
|
+
int options, upb_Arena* arena,
|
|
1174
|
+
size_t* len) {
|
|
1093
1175
|
char* ptr;
|
|
1094
1176
|
(void)upb_Encode(UPB_UPCAST(msg), &envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init, options, arena, &ptr, len);
|
|
1095
1177
|
return ptr;
|
|
1096
1178
|
}
|
|
1097
1179
|
UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_clear_lb_endpoints(envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* msg) {
|
|
1098
|
-
const upb_MiniTableField field = {1, 8, 0,
|
|
1180
|
+
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)};
|
|
1099
1181
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1100
1182
|
}
|
|
1101
|
-
UPB_INLINE const envoy_config_endpoint_v3_LbEndpoint* const* envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_lb_endpoints(const envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* msg,
|
|
1102
|
-
|
|
1183
|
+
UPB_INLINE const envoy_config_endpoint_v3_LbEndpoint* const* envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_lb_endpoints(const envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* msg,
|
|
1184
|
+
size_t* size) {
|
|
1185
|
+
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)};
|
|
1103
1186
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__LbEndpoint_msg_init);
|
|
1104
1187
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1105
1188
|
if (arr) {
|
|
@@ -1110,8 +1193,11 @@ UPB_INLINE const envoy_config_endpoint_v3_LbEndpoint* const* envoy_config_endpoi
|
|
|
1110
1193
|
return NULL;
|
|
1111
1194
|
}
|
|
1112
1195
|
}
|
|
1113
|
-
|
|
1114
|
-
|
|
1196
|
+
|
|
1197
|
+
//
|
|
1198
|
+
UPB_INLINE const upb_Array* _envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_lb_endpoints_upb_array(
|
|
1199
|
+
const envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* msg, size_t* size) {
|
|
1200
|
+
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)};
|
|
1115
1201
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__LbEndpoint_msg_init);
|
|
1116
1202
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
1117
1203
|
if (size) {
|
|
@@ -1119,8 +1205,10 @@ UPB_INLINE const upb_Array* _envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndp
|
|
|
1119
1205
|
}
|
|
1120
1206
|
return arr;
|
|
1121
1207
|
}
|
|
1122
|
-
|
|
1123
|
-
|
|
1208
|
+
|
|
1209
|
+
UPB_INLINE upb_Array* _envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_lb_endpoints_mutable_upb_array(
|
|
1210
|
+
envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* msg, size_t* size, upb_Arena* arena) {
|
|
1211
|
+
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)};
|
|
1124
1212
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__LbEndpoint_msg_init);
|
|
1125
1213
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
1126
1214
|
&field, arena);
|
|
@@ -1130,8 +1218,9 @@ UPB_INLINE upb_Array* _envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointLi
|
|
|
1130
1218
|
return arr;
|
|
1131
1219
|
}
|
|
1132
1220
|
|
|
1133
|
-
UPB_INLINE envoy_config_endpoint_v3_LbEndpoint** envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_mutable_lb_endpoints(envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* msg,
|
|
1134
|
-
|
|
1221
|
+
UPB_INLINE envoy_config_endpoint_v3_LbEndpoint** envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_mutable_lb_endpoints(envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* msg,
|
|
1222
|
+
size_t* size) {
|
|
1223
|
+
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)};
|
|
1135
1224
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__LbEndpoint_msg_init);
|
|
1136
1225
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
1137
1226
|
if (arr) {
|
|
@@ -1142,13 +1231,18 @@ UPB_INLINE envoy_config_endpoint_v3_LbEndpoint** envoy_config_endpoint_v3_Locali
|
|
|
1142
1231
|
return NULL;
|
|
1143
1232
|
}
|
|
1144
1233
|
}
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1234
|
+
|
|
1235
|
+
UPB_INLINE envoy_config_endpoint_v3_LbEndpoint** envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_resize_lb_endpoints(envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* msg,
|
|
1236
|
+
size_t size,
|
|
1237
|
+
upb_Arena* arena) {
|
|
1238
|
+
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)};
|
|
1239
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__LbEndpoint_msg_init);
|
|
1240
|
+
return (envoy_config_endpoint_v3_LbEndpoint**)upb_Message_ResizeArrayUninitialized(
|
|
1241
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
1149
1242
|
}
|
|
1150
|
-
UPB_INLINE struct envoy_config_endpoint_v3_LbEndpoint* envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_add_lb_endpoints(
|
|
1151
|
-
|
|
1243
|
+
UPB_INLINE struct envoy_config_endpoint_v3_LbEndpoint* envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_add_lb_endpoints(
|
|
1244
|
+
envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* msg, upb_Arena* arena) {
|
|
1245
|
+
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)};
|
|
1152
1246
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&envoy__config__endpoint__v3__LbEndpoint_msg_init);
|
|
1153
1247
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
1154
1248
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -1156,7 +1250,8 @@ UPB_INLINE struct envoy_config_endpoint_v3_LbEndpoint* envoy_config_endpoint_v3_
|
|
|
1156
1250
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
1157
1251
|
return NULL;
|
|
1158
1252
|
}
|
|
1159
|
-
struct envoy_config_endpoint_v3_LbEndpoint* sub =
|
|
1253
|
+
struct envoy_config_endpoint_v3_LbEndpoint* sub =
|
|
1254
|
+
(struct envoy_config_endpoint_v3_LbEndpoint*)_upb_Message_New(&envoy__config__endpoint__v3__LbEndpoint_msg_init, arena);
|
|
1160
1255
|
if (!arr || !sub) return NULL;
|
|
1161
1256
|
UPB_PRIVATE(_upb_Array_Set)
|
|
1162
1257
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
@@ -1164,9 +1259,9 @@ UPB_INLINE struct envoy_config_endpoint_v3_LbEndpoint* envoy_config_endpoint_v3_
|
|
|
1164
1259
|
}
|
|
1165
1260
|
|
|
1166
1261
|
#ifdef __cplusplus
|
|
1167
|
-
}
|
|
1262
|
+
} /* extern "C" */
|
|
1168
1263
|
#endif
|
|
1169
1264
|
|
|
1170
1265
|
#include "upb/port/undef.inc"
|
|
1171
1266
|
|
|
1172
|
-
#endif
|
|
1267
|
+
#endif /* ENVOY_CONFIG_ENDPOINT_V3_ENDPOINT_COMPONENTS_PROTO_UPB_H__UPB_H_ */
|